@sbb-esta/lyne-elements-dev 4.8.1-dev.1774250628 → 4.8.1-dev.1774266605
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 +847 -847
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -105434,27 +105434,23 @@
|
|
|
105434
105434
|
},
|
|
105435
105435
|
{
|
|
105436
105436
|
"kind": "javascript-module",
|
|
105437
|
-
"path": "menu/menu
|
|
105437
|
+
"path": "menu/menu/menu.component.js",
|
|
105438
105438
|
"declarations": [
|
|
105439
105439
|
{
|
|
105440
105440
|
"kind": "class",
|
|
105441
|
-
"description": "It displays a
|
|
105442
|
-
"name": "
|
|
105441
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
105442
|
+
"name": "SbbMenuElement",
|
|
105443
105443
|
"cssProperties": [
|
|
105444
105444
|
{
|
|
105445
|
-
"description": "
|
|
105446
|
-
"name": "--sbb-menu-
|
|
105447
|
-
"default": "var(--sbb-
|
|
105445
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
|
|
105446
|
+
"name": "--sbb-menu-z-index",
|
|
105447
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
105448
105448
|
}
|
|
105449
105449
|
],
|
|
105450
105450
|
"slots": [
|
|
105451
105451
|
{
|
|
105452
|
-
"description": "Use the unnamed slot to add
|
|
105452
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
105453
105453
|
"name": ""
|
|
105454
|
-
},
|
|
105455
|
-
{
|
|
105456
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
105457
|
-
"name": "icon"
|
|
105458
105454
|
}
|
|
105459
105455
|
],
|
|
105460
105456
|
"members": [
|
|
@@ -105471,261 +105467,274 @@
|
|
|
105471
105467
|
"name": "SbbElement",
|
|
105472
105468
|
"module": "core/base-elements/element.js"
|
|
105473
105469
|
},
|
|
105474
|
-
"default": "'sbb-menu
|
|
105470
|
+
"default": "'sbb-menu'"
|
|
105475
105471
|
},
|
|
105476
105472
|
{
|
|
105477
105473
|
"kind": "field",
|
|
105478
105474
|
"name": "role",
|
|
105479
105475
|
"type": {
|
|
105480
|
-
"text": "
|
|
105476
|
+
"text": "string"
|
|
105481
105477
|
},
|
|
105482
105478
|
"privacy": "public",
|
|
105483
105479
|
"static": true,
|
|
105484
105480
|
"readonly": true,
|
|
105485
|
-
"default": "'
|
|
105486
|
-
"inheritedFrom": {
|
|
105487
|
-
"name": "SbbButtonLikeBaseElement",
|
|
105488
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105489
|
-
}
|
|
105481
|
+
"default": "'menu'"
|
|
105490
105482
|
},
|
|
105491
105483
|
{
|
|
105492
105484
|
"kind": "field",
|
|
105493
|
-
"name": "
|
|
105485
|
+
"name": "trigger",
|
|
105494
105486
|
"type": {
|
|
105495
|
-
"text": "
|
|
105487
|
+
"text": "HTMLElement | null"
|
|
105496
105488
|
},
|
|
105497
105489
|
"privacy": "public",
|
|
105498
|
-
"default": "
|
|
105499
|
-
"description": "
|
|
105500
|
-
"attribute": "
|
|
105501
|
-
"reflects": true,
|
|
105502
|
-
"inheritedFrom": {
|
|
105503
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
105504
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105505
|
-
}
|
|
105490
|
+
"default": "null",
|
|
105491
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
105492
|
+
"attribute": "trigger"
|
|
105506
105493
|
},
|
|
105507
105494
|
{
|
|
105508
105495
|
"kind": "field",
|
|
105509
|
-
"name": "
|
|
105510
|
-
"privacy": "public",
|
|
105511
|
-
"description": "Whether the component is disabled.",
|
|
105512
|
-
"default": "false",
|
|
105496
|
+
"name": "_menu",
|
|
105513
105497
|
"type": {
|
|
105514
|
-
"text": "
|
|
105498
|
+
"text": "HTMLDivElement"
|
|
105515
105499
|
},
|
|
105516
|
-
"
|
|
105517
|
-
"reflects": true,
|
|
105518
|
-
"inheritedFrom": {
|
|
105519
|
-
"name": "SbbDisabledMixin",
|
|
105520
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105521
|
-
}
|
|
105500
|
+
"privacy": "private"
|
|
105522
105501
|
},
|
|
105523
105502
|
{
|
|
105524
105503
|
"kind": "field",
|
|
105525
|
-
"name": "
|
|
105504
|
+
"name": "_triggerElement",
|
|
105505
|
+
"type": {
|
|
105506
|
+
"text": "HTMLElement | null"
|
|
105507
|
+
},
|
|
105526
105508
|
"privacy": "private",
|
|
105509
|
+
"default": "null"
|
|
105510
|
+
},
|
|
105511
|
+
{
|
|
105512
|
+
"kind": "field",
|
|
105513
|
+
"name": "_triggerAbortController",
|
|
105514
|
+
"type": {
|
|
105515
|
+
"text": "AbortController"
|
|
105516
|
+
},
|
|
105517
|
+
"privacy": "private"
|
|
105518
|
+
},
|
|
105519
|
+
{
|
|
105520
|
+
"kind": "field",
|
|
105521
|
+
"name": "_isPointerDownEventOnMenu",
|
|
105527
105522
|
"type": {
|
|
105528
105523
|
"text": "boolean"
|
|
105529
105524
|
},
|
|
105530
|
-
"
|
|
105531
|
-
"
|
|
105532
|
-
|
|
105533
|
-
|
|
105534
|
-
|
|
105525
|
+
"privacy": "private",
|
|
105526
|
+
"default": "false"
|
|
105527
|
+
},
|
|
105528
|
+
{
|
|
105529
|
+
"kind": "field",
|
|
105530
|
+
"name": "_windowEventsController",
|
|
105531
|
+
"type": {
|
|
105532
|
+
"text": "AbortController"
|
|
105533
|
+
},
|
|
105534
|
+
"privacy": "private"
|
|
105535
|
+
},
|
|
105536
|
+
{
|
|
105537
|
+
"kind": "field",
|
|
105538
|
+
"name": "_escapableOverlayController",
|
|
105539
|
+
"privacy": "private",
|
|
105540
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
105541
|
+
},
|
|
105542
|
+
{
|
|
105543
|
+
"kind": "field",
|
|
105544
|
+
"name": "_focusTrapController",
|
|
105545
|
+
"privacy": "private",
|
|
105546
|
+
"default": "new SbbFocusTrapController(this)"
|
|
105547
|
+
},
|
|
105548
|
+
{
|
|
105549
|
+
"kind": "field",
|
|
105550
|
+
"name": "_scrollHandler",
|
|
105551
|
+
"privacy": "private",
|
|
105552
|
+
"default": "new SbbScrollHandler()"
|
|
105553
|
+
},
|
|
105554
|
+
{
|
|
105555
|
+
"kind": "field",
|
|
105556
|
+
"name": "_inertController",
|
|
105557
|
+
"privacy": "private",
|
|
105558
|
+
"default": "new SbbInertController(this)"
|
|
105559
|
+
},
|
|
105560
|
+
{
|
|
105561
|
+
"kind": "field",
|
|
105562
|
+
"name": "_mobileBreakpoint",
|
|
105563
|
+
"privacy": "private",
|
|
105564
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
105565
|
+
},
|
|
105566
|
+
{
|
|
105567
|
+
"kind": "field",
|
|
105568
|
+
"name": "_mediaMatcher",
|
|
105569
|
+
"privacy": "private",
|
|
105570
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
105571
|
+
},
|
|
105572
|
+
{
|
|
105573
|
+
"kind": "field",
|
|
105574
|
+
"name": "_darkModeController",
|
|
105575
|
+
"privacy": "private",
|
|
105576
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
105577
|
+
},
|
|
105578
|
+
{
|
|
105579
|
+
"kind": "field",
|
|
105580
|
+
"name": "_language",
|
|
105581
|
+
"privacy": "private",
|
|
105582
|
+
"default": "new SbbLanguageController(this)"
|
|
105583
|
+
},
|
|
105584
|
+
{
|
|
105585
|
+
"kind": "field",
|
|
105586
|
+
"name": "_nestedMenu",
|
|
105587
|
+
"type": {
|
|
105588
|
+
"text": "SbbMenuElement | null"
|
|
105589
|
+
},
|
|
105590
|
+
"privacy": "private",
|
|
105591
|
+
"default": "null"
|
|
105535
105592
|
},
|
|
105536
105593
|
{
|
|
105537
105594
|
"kind": "method",
|
|
105538
|
-
"name": "
|
|
105539
|
-
"privacy": "
|
|
105595
|
+
"name": "escapeStrategy",
|
|
105596
|
+
"privacy": "public",
|
|
105540
105597
|
"return": {
|
|
105541
105598
|
"type": {
|
|
105542
|
-
"text": "
|
|
105599
|
+
"text": "void"
|
|
105543
105600
|
}
|
|
105544
105601
|
},
|
|
105545
|
-
"description": "
|
|
105602
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
105546
105603
|
"inheritedFrom": {
|
|
105547
|
-
"name": "
|
|
105548
|
-
"module": "core/
|
|
105604
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105605
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
105549
105606
|
}
|
|
105550
105607
|
},
|
|
105551
105608
|
{
|
|
105552
|
-
"kind": "
|
|
105553
|
-
"name": "
|
|
105554
|
-
"type": {
|
|
105555
|
-
"text": "CSSResultGroup"
|
|
105556
|
-
},
|
|
105609
|
+
"kind": "method",
|
|
105610
|
+
"name": "open",
|
|
105557
105611
|
"privacy": "public",
|
|
105558
|
-
"
|
|
105559
|
-
|
|
105612
|
+
"return": {
|
|
105613
|
+
"type": {
|
|
105614
|
+
"text": "void"
|
|
105615
|
+
}
|
|
105616
|
+
},
|
|
105617
|
+
"description": "Opens the menu on trigger click.",
|
|
105560
105618
|
"inheritedFrom": {
|
|
105561
|
-
"name": "
|
|
105562
|
-
"module": "
|
|
105619
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105620
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
105563
105621
|
}
|
|
105564
105622
|
},
|
|
105565
105623
|
{
|
|
105566
105624
|
"kind": "method",
|
|
105567
|
-
"name": "
|
|
105568
|
-
"privacy": "
|
|
105625
|
+
"name": "close",
|
|
105626
|
+
"privacy": "public",
|
|
105569
105627
|
"return": {
|
|
105570
105628
|
"type": {
|
|
105571
|
-
"text": "
|
|
105629
|
+
"text": "void"
|
|
105572
105630
|
}
|
|
105573
105631
|
},
|
|
105574
|
-
"description": "
|
|
105632
|
+
"description": "Closes the menu and all its nested menus.",
|
|
105575
105633
|
"inheritedFrom": {
|
|
105576
|
-
"name": "
|
|
105577
|
-
"module": "core/base-elements/
|
|
105634
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105635
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
105578
105636
|
}
|
|
105579
105637
|
},
|
|
105580
105638
|
{
|
|
105581
|
-
"kind": "
|
|
105582
|
-
"name": "
|
|
105583
|
-
"type": {
|
|
105584
|
-
"text": "string"
|
|
105585
|
-
},
|
|
105639
|
+
"kind": "method",
|
|
105640
|
+
"name": "closeAll",
|
|
105586
105641
|
"privacy": "public",
|
|
105587
|
-
"
|
|
105588
|
-
|
|
105589
|
-
|
|
105590
|
-
|
|
105591
|
-
|
|
105592
|
-
|
|
105593
|
-
}
|
|
105642
|
+
"return": {
|
|
105643
|
+
"type": {
|
|
105644
|
+
"text": "void"
|
|
105645
|
+
}
|
|
105646
|
+
},
|
|
105647
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
105594
105648
|
},
|
|
105595
105649
|
{
|
|
105596
105650
|
"kind": "method",
|
|
105597
|
-
"name": "
|
|
105598
|
-
"privacy": "
|
|
105651
|
+
"name": "_close",
|
|
105652
|
+
"privacy": "private",
|
|
105599
105653
|
"return": {
|
|
105600
105654
|
"type": {
|
|
105601
|
-
"text": "
|
|
105655
|
+
"text": "void"
|
|
105602
105656
|
}
|
|
105603
105657
|
},
|
|
105604
105658
|
"parameters": [
|
|
105605
105659
|
{
|
|
105606
|
-
"name": "
|
|
105607
|
-
"
|
|
105608
|
-
"
|
|
105609
|
-
|
|
105610
|
-
}
|
|
105660
|
+
"name": "closeAll",
|
|
105661
|
+
"default": "false",
|
|
105662
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
105663
|
+
"optional": true
|
|
105611
105664
|
}
|
|
105612
|
-
]
|
|
105613
|
-
"inheritedFrom": {
|
|
105614
|
-
"name": "SbbIconNameMixin",
|
|
105615
|
-
"module": "icon/icon-name-mixin.js"
|
|
105616
|
-
}
|
|
105665
|
+
]
|
|
105617
105666
|
},
|
|
105618
105667
|
{
|
|
105619
105668
|
"kind": "method",
|
|
105620
|
-
"name": "
|
|
105621
|
-
"privacy": "
|
|
105669
|
+
"name": "_isZeroAnimationDuration",
|
|
105670
|
+
"privacy": "private",
|
|
105622
105671
|
"return": {
|
|
105623
105672
|
"type": {
|
|
105624
|
-
"text": "
|
|
105673
|
+
"text": "boolean"
|
|
105625
105674
|
}
|
|
105626
|
-
},
|
|
105627
|
-
"inheritedFrom": {
|
|
105628
|
-
"name": "SbbIconNameMixin",
|
|
105629
|
-
"module": "icon/icon-name-mixin.js"
|
|
105630
105675
|
}
|
|
105631
105676
|
},
|
|
105632
105677
|
{
|
|
105633
105678
|
"kind": "method",
|
|
105634
|
-
"name": "
|
|
105679
|
+
"name": "_handleOpening",
|
|
105635
105680
|
"privacy": "private",
|
|
105636
105681
|
"return": {
|
|
105637
105682
|
"type": {
|
|
105638
|
-
"text": "
|
|
105683
|
+
"text": "void"
|
|
105639
105684
|
}
|
|
105640
|
-
},
|
|
105641
|
-
"inheritedFrom": {
|
|
105642
|
-
"name": "SbbIconNameMixin",
|
|
105643
|
-
"module": "icon/icon-name-mixin.js"
|
|
105644
105685
|
}
|
|
105645
105686
|
},
|
|
105646
105687
|
{
|
|
105647
|
-
"kind": "
|
|
105648
|
-
"name": "
|
|
105649
|
-
"type": {
|
|
105650
|
-
"text": "array"
|
|
105651
|
-
},
|
|
105688
|
+
"kind": "method",
|
|
105689
|
+
"name": "_handleClosing",
|
|
105652
105690
|
"privacy": "private",
|
|
105653
|
-
"
|
|
105654
|
-
|
|
105655
|
-
|
|
105656
|
-
|
|
105657
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105658
|
-
}
|
|
105659
|
-
},
|
|
105660
|
-
{
|
|
105661
|
-
"kind": "field",
|
|
105662
|
-
"name": "value",
|
|
105663
|
-
"type": {
|
|
105664
|
-
"text": "string"
|
|
105665
|
-
},
|
|
105666
|
-
"privacy": "public",
|
|
105667
|
-
"inheritedFrom": {
|
|
105668
|
-
"name": "SbbButtonBaseElement",
|
|
105669
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105670
|
-
},
|
|
105671
|
-
"default": "''",
|
|
105672
|
-
"description": "Value of the form element.",
|
|
105673
|
-
"attribute": "value"
|
|
105674
|
-
},
|
|
105675
|
-
{
|
|
105676
|
-
"kind": "field",
|
|
105677
|
-
"name": "type",
|
|
105678
|
-
"privacy": "public",
|
|
105679
|
-
"description": "The type attribute to use for the button.",
|
|
105680
|
-
"default": "'button'",
|
|
105681
|
-
"type": {
|
|
105682
|
-
"text": "SbbButtonType"
|
|
105683
|
-
},
|
|
105684
|
-
"attribute": "type",
|
|
105685
|
-
"inheritedFrom": {
|
|
105686
|
-
"name": "SbbButtonBaseElement",
|
|
105687
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105691
|
+
"return": {
|
|
105692
|
+
"type": {
|
|
105693
|
+
"text": "void"
|
|
105694
|
+
}
|
|
105688
105695
|
}
|
|
105689
105696
|
},
|
|
105690
105697
|
{
|
|
105691
|
-
"kind": "
|
|
105692
|
-
"name": "
|
|
105693
|
-
"
|
|
105694
|
-
|
|
105695
|
-
|
|
105696
|
-
|
|
105697
|
-
|
|
105698
|
-
"inheritedFrom": {
|
|
105699
|
-
"name": "SbbButtonBaseElement",
|
|
105700
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105698
|
+
"kind": "method",
|
|
105699
|
+
"name": "_handleKeyDown",
|
|
105700
|
+
"privacy": "private",
|
|
105701
|
+
"return": {
|
|
105702
|
+
"type": {
|
|
105703
|
+
"text": "void"
|
|
105704
|
+
}
|
|
105701
105705
|
},
|
|
105702
|
-
"
|
|
105706
|
+
"parameters": [
|
|
105707
|
+
{
|
|
105708
|
+
"name": "evt",
|
|
105709
|
+
"type": {
|
|
105710
|
+
"text": "KeyboardEvent"
|
|
105711
|
+
}
|
|
105712
|
+
}
|
|
105713
|
+
]
|
|
105703
105714
|
},
|
|
105704
105715
|
{
|
|
105705
|
-
"kind": "
|
|
105706
|
-
"name": "
|
|
105707
|
-
"type": {
|
|
105708
|
-
"text": "string"
|
|
105709
|
-
},
|
|
105716
|
+
"kind": "method",
|
|
105717
|
+
"name": "_configureTrigger",
|
|
105710
105718
|
"privacy": "private",
|
|
105711
|
-
"
|
|
105712
|
-
|
|
105713
|
-
|
|
105714
|
-
|
|
105719
|
+
"return": {
|
|
105720
|
+
"type": {
|
|
105721
|
+
"text": "void"
|
|
105722
|
+
}
|
|
105715
105723
|
}
|
|
105716
105724
|
},
|
|
105717
105725
|
{
|
|
105718
|
-
"kind": "
|
|
105719
|
-
"name": "
|
|
105726
|
+
"kind": "method",
|
|
105727
|
+
"name": "_attachWindowEvents",
|
|
105720
105728
|
"privacy": "private",
|
|
105721
|
-
"
|
|
105722
|
-
"
|
|
105723
|
-
|
|
105729
|
+
"return": {
|
|
105730
|
+
"type": {
|
|
105731
|
+
"text": "void"
|
|
105732
|
+
}
|
|
105724
105733
|
}
|
|
105725
105734
|
},
|
|
105726
105735
|
{
|
|
105727
105736
|
"kind": "method",
|
|
105728
|
-
"name": "
|
|
105737
|
+
"name": "_interactiveElementClick",
|
|
105729
105738
|
"privacy": "private",
|
|
105730
105739
|
"return": {
|
|
105731
105740
|
"type": {
|
|
@@ -105734,154 +105743,79 @@
|
|
|
105734
105743
|
},
|
|
105735
105744
|
"parameters": [
|
|
105736
105745
|
{
|
|
105737
|
-
"name": "
|
|
105746
|
+
"name": "event",
|
|
105738
105747
|
"type": {
|
|
105739
|
-
"text": "
|
|
105748
|
+
"text": "Event"
|
|
105740
105749
|
}
|
|
105741
105750
|
}
|
|
105742
|
-
]
|
|
105743
|
-
"inheritedFrom": {
|
|
105744
|
-
"name": "SbbButtonBaseElement",
|
|
105745
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105746
|
-
}
|
|
105747
|
-
},
|
|
105748
|
-
{
|
|
105749
|
-
"kind": "field",
|
|
105750
|
-
"name": "_formKeyDown",
|
|
105751
|
-
"privacy": "private",
|
|
105752
|
-
"inheritedFrom": {
|
|
105753
|
-
"name": "SbbButtonBaseElement",
|
|
105754
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105755
|
-
}
|
|
105756
|
-
},
|
|
105757
|
-
{
|
|
105758
|
-
"kind": "field",
|
|
105759
|
-
"name": "formAssociated",
|
|
105760
|
-
"type": {
|
|
105761
|
-
"text": "boolean"
|
|
105762
|
-
},
|
|
105763
|
-
"privacy": "public",
|
|
105764
|
-
"static": true,
|
|
105765
|
-
"default": "true",
|
|
105766
|
-
"inheritedFrom": {
|
|
105767
|
-
"name": "SbbFormAssociatedMixin",
|
|
105768
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105769
|
-
}
|
|
105770
|
-
},
|
|
105771
|
-
{
|
|
105772
|
-
"kind": "field",
|
|
105773
|
-
"name": "name",
|
|
105774
|
-
"privacy": "public",
|
|
105775
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
105776
|
-
"type": {
|
|
105777
|
-
"text": "string"
|
|
105778
|
-
},
|
|
105779
|
-
"attribute": "name",
|
|
105780
|
-
"inheritedFrom": {
|
|
105781
|
-
"name": "SbbFormAssociatedMixin",
|
|
105782
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105783
|
-
}
|
|
105751
|
+
]
|
|
105784
105752
|
},
|
|
105785
105753
|
{
|
|
105786
105754
|
"kind": "field",
|
|
105787
|
-
"name": "
|
|
105788
|
-
"
|
|
105789
|
-
"text": "ValidityState"
|
|
105790
|
-
},
|
|
105791
|
-
"privacy": "public",
|
|
105792
|
-
"description": "Returns the ValidityState object for this element.",
|
|
105793
|
-
"readonly": true,
|
|
105794
|
-
"inheritedFrom": {
|
|
105795
|
-
"name": "SbbFormAssociatedMixin",
|
|
105796
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105797
|
-
}
|
|
105755
|
+
"name": "_pointerDownListener",
|
|
105756
|
+
"privacy": "private"
|
|
105798
105757
|
},
|
|
105799
105758
|
{
|
|
105800
105759
|
"kind": "field",
|
|
105801
|
-
"name": "
|
|
105802
|
-
"
|
|
105803
|
-
"text": "string"
|
|
105804
|
-
},
|
|
105805
|
-
"privacy": "public",
|
|
105806
|
-
"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.",
|
|
105807
|
-
"readonly": true,
|
|
105808
|
-
"inheritedFrom": {
|
|
105809
|
-
"name": "SbbFormAssociatedMixin",
|
|
105810
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105811
|
-
}
|
|
105760
|
+
"name": "_closeOnBackdropClick",
|
|
105761
|
+
"privacy": "private"
|
|
105812
105762
|
},
|
|
105813
105763
|
{
|
|
105814
|
-
"kind": "
|
|
105815
|
-
"name": "
|
|
105816
|
-
"
|
|
105817
|
-
|
|
105764
|
+
"kind": "method",
|
|
105765
|
+
"name": "_nestedMenus",
|
|
105766
|
+
"privacy": "private",
|
|
105767
|
+
"return": {
|
|
105768
|
+
"type": {
|
|
105769
|
+
"text": "SbbMenuElement[]"
|
|
105770
|
+
}
|
|
105818
105771
|
},
|
|
105819
|
-
"
|
|
105820
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
105821
|
-
"readonly": true,
|
|
105822
|
-
"inheritedFrom": {
|
|
105823
|
-
"name": "SbbFormAssociatedMixin",
|
|
105824
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105825
|
-
}
|
|
105772
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
105826
105773
|
},
|
|
105827
105774
|
{
|
|
105828
|
-
"kind": "
|
|
105829
|
-
"name": "
|
|
105775
|
+
"kind": "method",
|
|
105776
|
+
"name": "_parentMenu",
|
|
105830
105777
|
"privacy": "private",
|
|
105831
|
-
"
|
|
105832
|
-
|
|
105833
|
-
|
|
105834
|
-
|
|
105778
|
+
"return": {
|
|
105779
|
+
"type": {
|
|
105780
|
+
"text": "SbbMenuElement | null"
|
|
105781
|
+
}
|
|
105835
105782
|
}
|
|
105836
105783
|
},
|
|
105837
105784
|
{
|
|
105838
|
-
"kind": "
|
|
105839
|
-
"name": "
|
|
105840
|
-
"
|
|
105841
|
-
|
|
105785
|
+
"kind": "method",
|
|
105786
|
+
"name": "_mainMenu",
|
|
105787
|
+
"privacy": "private",
|
|
105788
|
+
"return": {
|
|
105789
|
+
"type": {
|
|
105790
|
+
"text": "SbbMenuElement"
|
|
105791
|
+
}
|
|
105842
105792
|
},
|
|
105843
|
-
"
|
|
105844
|
-
"default": "false",
|
|
105845
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
105846
|
-
"inheritedFrom": {
|
|
105847
|
-
"name": "SbbFormAssociatedMixin",
|
|
105848
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105849
|
-
}
|
|
105793
|
+
"description": "The outermost menu."
|
|
105850
105794
|
},
|
|
105851
105795
|
{
|
|
105852
105796
|
"kind": "method",
|
|
105853
|
-
"name": "
|
|
105854
|
-
"privacy": "
|
|
105797
|
+
"name": "_isNested",
|
|
105798
|
+
"privacy": "private",
|
|
105855
105799
|
"return": {
|
|
105856
105800
|
"type": {
|
|
105857
105801
|
"text": "boolean"
|
|
105858
105802
|
}
|
|
105859
|
-
},
|
|
105860
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
105861
|
-
"inheritedFrom": {
|
|
105862
|
-
"name": "SbbFormAssociatedMixin",
|
|
105863
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105864
105803
|
}
|
|
105865
105804
|
},
|
|
105866
105805
|
{
|
|
105867
105806
|
"kind": "method",
|
|
105868
|
-
"name": "
|
|
105869
|
-
"privacy": "
|
|
105807
|
+
"name": "_updateNestedInert",
|
|
105808
|
+
"privacy": "private",
|
|
105870
105809
|
"return": {
|
|
105871
105810
|
"type": {
|
|
105872
|
-
"text": "
|
|
105811
|
+
"text": "void"
|
|
105873
105812
|
}
|
|
105874
|
-
},
|
|
105875
|
-
"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.",
|
|
105876
|
-
"inheritedFrom": {
|
|
105877
|
-
"name": "SbbFormAssociatedMixin",
|
|
105878
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105879
105813
|
}
|
|
105880
105814
|
},
|
|
105881
105815
|
{
|
|
105882
105816
|
"kind": "method",
|
|
105883
|
-
"name": "
|
|
105884
|
-
"privacy": "
|
|
105817
|
+
"name": "_handleMouseOver",
|
|
105818
|
+
"privacy": "private",
|
|
105885
105819
|
"return": {
|
|
105886
105820
|
"type": {
|
|
105887
105821
|
"text": "void"
|
|
@@ -105889,260 +105823,170 @@
|
|
|
105889
105823
|
},
|
|
105890
105824
|
"parameters": [
|
|
105891
105825
|
{
|
|
105892
|
-
"name": "
|
|
105826
|
+
"name": "event",
|
|
105893
105827
|
"type": {
|
|
105894
|
-
"text": "
|
|
105828
|
+
"text": "MouseEvent"
|
|
105895
105829
|
}
|
|
105896
105830
|
}
|
|
105897
|
-
]
|
|
105898
|
-
"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.",
|
|
105899
|
-
"inheritedFrom": {
|
|
105900
|
-
"name": "SbbFormAssociatedMixin",
|
|
105901
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105902
|
-
}
|
|
105831
|
+
]
|
|
105903
105832
|
},
|
|
105904
105833
|
{
|
|
105905
105834
|
"kind": "method",
|
|
105906
|
-
"name": "
|
|
105835
|
+
"name": "_onMenuAnimationEnd",
|
|
105907
105836
|
"privacy": "private",
|
|
105908
105837
|
"return": {
|
|
105909
105838
|
"type": {
|
|
105910
|
-
"text": "
|
|
105911
|
-
}
|
|
105912
|
-
},
|
|
105913
|
-
"inheritedFrom": {
|
|
105914
|
-
"name": "SbbFormAssociatedMixin",
|
|
105915
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105916
|
-
}
|
|
105917
|
-
},
|
|
105918
|
-
{
|
|
105919
|
-
"kind": "method",
|
|
105920
|
-
"name": "updateFormValue",
|
|
105921
|
-
"privacy": "protected",
|
|
105922
|
-
"return": {
|
|
105923
|
-
"type": {
|
|
105924
|
-
"text": "void"
|
|
105925
|
-
}
|
|
105926
|
-
},
|
|
105927
|
-
"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",
|
|
105928
|
-
"inheritedFrom": {
|
|
105929
|
-
"name": "SbbFormAssociatedMixin",
|
|
105930
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105931
|
-
}
|
|
105932
|
-
},
|
|
105933
|
-
{
|
|
105934
|
-
"kind": "method",
|
|
105935
|
-
"name": "formState",
|
|
105936
|
-
"privacy": "protected",
|
|
105937
|
-
"return": {
|
|
105938
|
-
"type": {
|
|
105939
|
-
"text": "FormRestoreState"
|
|
105940
|
-
}
|
|
105941
|
-
},
|
|
105942
|
-
"inheritedFrom": {
|
|
105943
|
-
"name": "SbbFormAssociatedMixin",
|
|
105944
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105945
|
-
}
|
|
105946
|
-
},
|
|
105947
|
-
{
|
|
105948
|
-
"kind": "method",
|
|
105949
|
-
"name": "setValidityFlag",
|
|
105950
|
-
"privacy": "protected",
|
|
105951
|
-
"return": {
|
|
105952
|
-
"type": {
|
|
105953
|
-
"text": "void"
|
|
105839
|
+
"text": "void"
|
|
105954
105840
|
}
|
|
105955
105841
|
},
|
|
105956
105842
|
"parameters": [
|
|
105957
105843
|
{
|
|
105958
|
-
"name": "
|
|
105959
|
-
"type": {
|
|
105960
|
-
"text": "T"
|
|
105961
|
-
}
|
|
105962
|
-
},
|
|
105963
|
-
{
|
|
105964
|
-
"name": "message",
|
|
105965
|
-
"type": {
|
|
105966
|
-
"text": "string"
|
|
105967
|
-
}
|
|
105968
|
-
},
|
|
105969
|
-
{
|
|
105970
|
-
"name": "flagValue",
|
|
105971
|
-
"optional": true,
|
|
105844
|
+
"name": "event",
|
|
105972
105845
|
"type": {
|
|
105973
|
-
"text": "
|
|
105846
|
+
"text": "AnimationEvent"
|
|
105974
105847
|
}
|
|
105975
105848
|
}
|
|
105976
|
-
]
|
|
105977
|
-
"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).",
|
|
105978
|
-
"inheritedFrom": {
|
|
105979
|
-
"name": "SbbFormAssociatedMixin",
|
|
105980
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105981
|
-
}
|
|
105849
|
+
]
|
|
105982
105850
|
},
|
|
105983
105851
|
{
|
|
105984
105852
|
"kind": "method",
|
|
105985
|
-
"name": "
|
|
105986
|
-
"privacy": "
|
|
105853
|
+
"name": "_setMenuPosition",
|
|
105854
|
+
"privacy": "private",
|
|
105987
105855
|
"return": {
|
|
105988
105856
|
"type": {
|
|
105989
105857
|
"text": "void"
|
|
105990
105858
|
}
|
|
105991
|
-
},
|
|
105992
|
-
"parameters": [
|
|
105993
|
-
{
|
|
105994
|
-
"name": "flag",
|
|
105995
|
-
"type": {
|
|
105996
|
-
"text": "T"
|
|
105997
|
-
}
|
|
105998
|
-
}
|
|
105999
|
-
],
|
|
106000
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
106001
|
-
"inheritedFrom": {
|
|
106002
|
-
"name": "SbbFormAssociatedMixin",
|
|
106003
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106004
105859
|
}
|
|
106005
105860
|
},
|
|
106006
105861
|
{
|
|
106007
105862
|
"kind": "method",
|
|
106008
|
-
"name": "
|
|
106009
|
-
"privacy": "
|
|
105863
|
+
"name": "_syncNegative",
|
|
105864
|
+
"privacy": "private",
|
|
106010
105865
|
"return": {
|
|
106011
105866
|
"type": {
|
|
106012
105867
|
"text": "void"
|
|
106013
105868
|
}
|
|
106014
|
-
},
|
|
106015
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
106016
|
-
"inheritedFrom": {
|
|
106017
|
-
"name": "SbbFormAssociatedMixin",
|
|
106018
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106019
105869
|
}
|
|
106020
105870
|
},
|
|
106021
105871
|
{
|
|
106022
105872
|
"kind": "method",
|
|
106023
|
-
"name": "
|
|
106024
|
-
"privacy": "
|
|
105873
|
+
"name": "_isMobile",
|
|
105874
|
+
"privacy": "private",
|
|
106025
105875
|
"return": {
|
|
106026
105876
|
"type": {
|
|
106027
105877
|
"text": "boolean"
|
|
106028
105878
|
}
|
|
106029
|
-
},
|
|
106030
|
-
"parameters": [
|
|
106031
|
-
{
|
|
106032
|
-
"name": "name",
|
|
106033
|
-
"type": {
|
|
106034
|
-
"text": "PropertyKey | undefined"
|
|
106035
|
-
}
|
|
106036
|
-
}
|
|
106037
|
-
],
|
|
106038
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
106039
|
-
"inheritedFrom": {
|
|
106040
|
-
"name": "SbbFormAssociatedMixin",
|
|
106041
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106042
105879
|
}
|
|
106043
105880
|
},
|
|
106044
105881
|
{
|
|
106045
|
-
"kind": "
|
|
106046
|
-
"name": "
|
|
106047
|
-
"privacy": "
|
|
106048
|
-
"
|
|
106049
|
-
|
|
106050
|
-
|
|
106051
|
-
|
|
105882
|
+
"kind": "field",
|
|
105883
|
+
"name": "events",
|
|
105884
|
+
"privacy": "public",
|
|
105885
|
+
"static": true,
|
|
105886
|
+
"readonly": true,
|
|
105887
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
105888
|
+
"type": {
|
|
105889
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106052
105890
|
},
|
|
106053
105891
|
"inheritedFrom": {
|
|
106054
|
-
"name": "
|
|
106055
|
-
"module": "core/
|
|
105892
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105893
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106056
105894
|
}
|
|
106057
105895
|
},
|
|
106058
105896
|
{
|
|
106059
105897
|
"kind": "field",
|
|
106060
|
-
"name": "
|
|
106061
|
-
"privacy": "
|
|
106062
|
-
"description": "
|
|
106063
|
-
"
|
|
106064
|
-
|
|
106065
|
-
|
|
106066
|
-
|
|
106067
|
-
}
|
|
106068
|
-
],
|
|
105898
|
+
"name": "state",
|
|
105899
|
+
"privacy": "protected",
|
|
105900
|
+
"description": "The state of the component.",
|
|
105901
|
+
"type": {
|
|
105902
|
+
"text": "SbbOpenedClosedState"
|
|
105903
|
+
},
|
|
105904
|
+
"default": "'closed'",
|
|
106069
105905
|
"inheritedFrom": {
|
|
106070
|
-
"name": "
|
|
106071
|
-
"module": "core/base-elements/
|
|
105906
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105907
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106072
105908
|
}
|
|
106073
105909
|
},
|
|
106074
105910
|
{
|
|
106075
105911
|
"kind": "field",
|
|
106076
|
-
"name": "
|
|
105912
|
+
"name": "_state",
|
|
105913
|
+
"type": {
|
|
105914
|
+
"text": "SbbOpenedClosedState"
|
|
105915
|
+
},
|
|
106077
105916
|
"privacy": "private",
|
|
106078
105917
|
"inheritedFrom": {
|
|
106079
|
-
"name": "
|
|
106080
|
-
"module": "core/base-elements/
|
|
105918
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105919
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106081
105920
|
}
|
|
106082
105921
|
},
|
|
106083
105922
|
{
|
|
106084
105923
|
"kind": "field",
|
|
106085
|
-
"name": "
|
|
106086
|
-
"
|
|
106087
|
-
|
|
106088
|
-
|
|
106089
|
-
|
|
106090
|
-
|
|
106091
|
-
|
|
106092
|
-
}
|
|
106093
|
-
],
|
|
105924
|
+
"name": "isOpen",
|
|
105925
|
+
"type": {
|
|
105926
|
+
"text": "boolean"
|
|
105927
|
+
},
|
|
105928
|
+
"privacy": "public",
|
|
105929
|
+
"description": "Whether the element is open.",
|
|
105930
|
+
"readonly": true,
|
|
106094
105931
|
"inheritedFrom": {
|
|
106095
|
-
"name": "
|
|
106096
|
-
"module": "core/base-elements/
|
|
105932
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105933
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106097
105934
|
}
|
|
106098
105935
|
},
|
|
106099
105936
|
{
|
|
106100
|
-
"kind": "
|
|
106101
|
-
"name": "
|
|
106102
|
-
"privacy": "
|
|
105937
|
+
"kind": "method",
|
|
105938
|
+
"name": "dispatchBeforeOpenEvent",
|
|
105939
|
+
"privacy": "protected",
|
|
105940
|
+
"return": {
|
|
105941
|
+
"type": {
|
|
105942
|
+
"text": "boolean"
|
|
105943
|
+
}
|
|
105944
|
+
},
|
|
106103
105945
|
"inheritedFrom": {
|
|
106104
|
-
"name": "
|
|
106105
|
-
"module": "core/base-elements/
|
|
105946
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105947
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106106
105948
|
}
|
|
106107
105949
|
},
|
|
106108
105950
|
{
|
|
106109
|
-
"kind": "
|
|
106110
|
-
"name": "
|
|
106111
|
-
"type": {
|
|
106112
|
-
"text": "boolean | undefined"
|
|
106113
|
-
},
|
|
105951
|
+
"kind": "method",
|
|
105952
|
+
"name": "dispatchOpenEvent",
|
|
106114
105953
|
"privacy": "protected",
|
|
106115
|
-
"
|
|
105954
|
+
"return": {
|
|
105955
|
+
"type": {
|
|
105956
|
+
"text": "boolean"
|
|
105957
|
+
}
|
|
105958
|
+
},
|
|
106116
105959
|
"inheritedFrom": {
|
|
106117
|
-
"name": "
|
|
106118
|
-
"module": "core/base-elements/
|
|
105960
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105961
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106119
105962
|
}
|
|
106120
105963
|
},
|
|
106121
105964
|
{
|
|
106122
|
-
"kind": "
|
|
106123
|
-
"name": "
|
|
106124
|
-
"type": {
|
|
106125
|
-
"text": "boolean | undefined"
|
|
106126
|
-
},
|
|
105965
|
+
"kind": "method",
|
|
105966
|
+
"name": "dispatchBeforeCloseEvent",
|
|
106127
105967
|
"privacy": "protected",
|
|
106128
|
-
"
|
|
105968
|
+
"return": {
|
|
105969
|
+
"type": {
|
|
105970
|
+
"text": "boolean"
|
|
105971
|
+
}
|
|
105972
|
+
},
|
|
106129
105973
|
"inheritedFrom": {
|
|
106130
|
-
"name": "
|
|
106131
|
-
"module": "core/base-elements/
|
|
105974
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105975
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106132
105976
|
}
|
|
106133
105977
|
},
|
|
106134
105978
|
{
|
|
106135
105979
|
"kind": "method",
|
|
106136
|
-
"name": "
|
|
105980
|
+
"name": "dispatchCloseEvent",
|
|
106137
105981
|
"privacy": "protected",
|
|
106138
105982
|
"return": {
|
|
106139
105983
|
"type": {
|
|
106140
|
-
"text": "
|
|
105984
|
+
"text": "boolean"
|
|
106141
105985
|
}
|
|
106142
105986
|
},
|
|
106143
105987
|
"inheritedFrom": {
|
|
106144
|
-
"name": "
|
|
106145
|
-
"module": "core/base-elements/
|
|
105988
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105989
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106146
105990
|
}
|
|
106147
105991
|
},
|
|
106148
105992
|
{
|
|
@@ -106251,110 +106095,66 @@
|
|
|
106251
106095
|
}
|
|
106252
106096
|
}
|
|
106253
106097
|
],
|
|
106254
|
-
"
|
|
106255
|
-
{
|
|
106256
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
106257
|
-
"module": "core/mixins.js"
|
|
106258
|
-
},
|
|
106098
|
+
"attributes": [
|
|
106259
106099
|
{
|
|
106260
|
-
"name": "
|
|
106261
|
-
"
|
|
106100
|
+
"name": "trigger",
|
|
106101
|
+
"type": {
|
|
106102
|
+
"text": "HTMLElement | null"
|
|
106103
|
+
},
|
|
106104
|
+
"default": "null",
|
|
106105
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106106
|
+
"fieldName": "trigger"
|
|
106262
106107
|
}
|
|
106263
106108
|
],
|
|
106264
106109
|
"superclass": {
|
|
106265
|
-
"name": "
|
|
106110
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106266
106111
|
"module": "core/base-elements.js"
|
|
106267
106112
|
},
|
|
106268
|
-
"tagName": "sbb-menu
|
|
106113
|
+
"tagName": "sbb-menu",
|
|
106269
106114
|
"customElement": true,
|
|
106270
|
-
"
|
|
106115
|
+
"events": [
|
|
106271
106116
|
{
|
|
106272
|
-
"name": "
|
|
106273
|
-
"type": {
|
|
106274
|
-
"text": "boolean"
|
|
106275
|
-
},
|
|
106276
|
-
"default": "false",
|
|
106277
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
106278
|
-
"fieldName": "disabledInteractive",
|
|
106279
|
-
"inheritedFrom": {
|
|
106280
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
106281
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106282
|
-
}
|
|
106283
|
-
},
|
|
106284
|
-
{
|
|
106285
|
-
"name": "disabled",
|
|
106286
|
-
"description": "Whether the component is disabled.",
|
|
106287
|
-
"default": "false",
|
|
106288
|
-
"type": {
|
|
106289
|
-
"text": "boolean"
|
|
106290
|
-
},
|
|
106291
|
-
"fieldName": "disabled",
|
|
106292
|
-
"inheritedFrom": {
|
|
106293
|
-
"name": "SbbDisabledMixin",
|
|
106294
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106295
|
-
}
|
|
106296
|
-
},
|
|
106297
|
-
{
|
|
106298
|
-
"name": "icon-name",
|
|
106299
|
-
"type": {
|
|
106300
|
-
"text": "string"
|
|
106301
|
-
},
|
|
106302
|
-
"default": "''",
|
|
106303
|
-
"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.",
|
|
106304
|
-
"fieldName": "iconName",
|
|
106305
|
-
"inheritedFrom": {
|
|
106306
|
-
"name": "SbbIconNameMixin",
|
|
106307
|
-
"module": "icon/icon-name-mixin.js"
|
|
106308
|
-
}
|
|
106309
|
-
},
|
|
106310
|
-
{
|
|
106311
|
-
"name": "value",
|
|
106117
|
+
"name": "beforeopen",
|
|
106312
106118
|
"type": {
|
|
106313
|
-
"text": "
|
|
106119
|
+
"text": "Event"
|
|
106314
106120
|
},
|
|
106315
|
-
"
|
|
106316
|
-
"description": "Value of the form element.",
|
|
106317
|
-
"fieldName": "value",
|
|
106121
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
106318
106122
|
"inheritedFrom": {
|
|
106319
|
-
"name": "
|
|
106320
|
-
"module": "core/base-elements/
|
|
106123
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106124
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106321
106125
|
}
|
|
106322
106126
|
},
|
|
106323
106127
|
{
|
|
106324
|
-
"name": "
|
|
106325
|
-
"description": "The type attribute to use for the button.",
|
|
106326
|
-
"default": "'button'",
|
|
106128
|
+
"name": "open",
|
|
106327
106129
|
"type": {
|
|
106328
|
-
"text": "
|
|
106130
|
+
"text": "Event"
|
|
106329
106131
|
},
|
|
106330
|
-
"
|
|
106132
|
+
"description": "Emits whenever the component is opened.",
|
|
106331
106133
|
"inheritedFrom": {
|
|
106332
|
-
"name": "
|
|
106333
|
-
"module": "core/base-elements/
|
|
106134
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106135
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106334
106136
|
}
|
|
106335
106137
|
},
|
|
106336
106138
|
{
|
|
106337
|
-
"name": "
|
|
106338
|
-
"description": "The `<form>` element to associate the button with.",
|
|
106139
|
+
"name": "beforeclose",
|
|
106339
106140
|
"type": {
|
|
106340
|
-
"text": "
|
|
106141
|
+
"text": "Event"
|
|
106341
106142
|
},
|
|
106342
|
-
"
|
|
106143
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
106343
106144
|
"inheritedFrom": {
|
|
106344
|
-
"name": "
|
|
106345
|
-
"module": "core/base-elements/
|
|
106145
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106146
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106346
106147
|
}
|
|
106347
106148
|
},
|
|
106348
106149
|
{
|
|
106349
|
-
"name": "
|
|
106350
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
106150
|
+
"name": "close",
|
|
106351
106151
|
"type": {
|
|
106352
|
-
"text": "
|
|
106152
|
+
"text": "Event"
|
|
106353
106153
|
},
|
|
106354
|
-
"
|
|
106154
|
+
"description": "Emits whenever the component is closed.",
|
|
106355
106155
|
"inheritedFrom": {
|
|
106356
|
-
"name": "
|
|
106357
|
-
"module": "core/
|
|
106156
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106157
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106358
106158
|
}
|
|
106359
106159
|
}
|
|
106360
106160
|
]
|
|
@@ -106363,33 +106163,37 @@
|
|
|
106363
106163
|
"exports": [
|
|
106364
106164
|
{
|
|
106365
106165
|
"kind": "js",
|
|
106366
|
-
"name": "
|
|
106166
|
+
"name": "SbbMenuElement",
|
|
106367
106167
|
"declaration": {
|
|
106368
|
-
"name": "
|
|
106369
|
-
"module": "menu/menu
|
|
106168
|
+
"name": "SbbMenuElement",
|
|
106169
|
+
"module": "menu/menu/menu.component.js"
|
|
106370
106170
|
}
|
|
106371
106171
|
}
|
|
106372
106172
|
]
|
|
106373
106173
|
},
|
|
106374
106174
|
{
|
|
106375
106175
|
"kind": "javascript-module",
|
|
106376
|
-
"path": "menu/menu/menu.component.js",
|
|
106176
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
106377
106177
|
"declarations": [
|
|
106378
106178
|
{
|
|
106379
106179
|
"kind": "class",
|
|
106380
|
-
"description": "It displays a
|
|
106381
|
-
"name": "
|
|
106180
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
106181
|
+
"name": "SbbMenuButtonElement",
|
|
106382
106182
|
"cssProperties": [
|
|
106383
106183
|
{
|
|
106384
|
-
"description": "
|
|
106385
|
-
"name": "--sbb-menu-
|
|
106386
|
-
"default": "var(--sbb-
|
|
106184
|
+
"description": "Can be used to modify horizontal padding.",
|
|
106185
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
106186
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
106387
106187
|
}
|
|
106388
106188
|
],
|
|
106389
106189
|
"slots": [
|
|
106390
106190
|
{
|
|
106391
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
106191
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
106392
106192
|
"name": ""
|
|
106193
|
+
},
|
|
106194
|
+
{
|
|
106195
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
106196
|
+
"name": "icon"
|
|
106393
106197
|
}
|
|
106394
106198
|
],
|
|
106395
106199
|
"members": [
|
|
@@ -106406,236 +106210,261 @@
|
|
|
106406
106210
|
"name": "SbbElement",
|
|
106407
106211
|
"module": "core/base-elements/element.js"
|
|
106408
106212
|
},
|
|
106409
|
-
"default": "'sbb-menu'"
|
|
106213
|
+
"default": "'sbb-menu-button'"
|
|
106410
106214
|
},
|
|
106411
106215
|
{
|
|
106412
106216
|
"kind": "field",
|
|
106413
106217
|
"name": "role",
|
|
106414
106218
|
"type": {
|
|
106415
|
-
"text": "
|
|
106219
|
+
"text": "ElementInternals['role']"
|
|
106416
106220
|
},
|
|
106417
106221
|
"privacy": "public",
|
|
106418
106222
|
"static": true,
|
|
106419
106223
|
"readonly": true,
|
|
106420
|
-
"default": "'
|
|
106224
|
+
"default": "'menuitem'",
|
|
106225
|
+
"inheritedFrom": {
|
|
106226
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106227
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106228
|
+
}
|
|
106421
106229
|
},
|
|
106422
106230
|
{
|
|
106423
106231
|
"kind": "field",
|
|
106424
|
-
"name": "
|
|
106232
|
+
"name": "disabledInteractive",
|
|
106425
106233
|
"type": {
|
|
106426
|
-
"text": "
|
|
106234
|
+
"text": "boolean"
|
|
106427
106235
|
},
|
|
106428
106236
|
"privacy": "public",
|
|
106429
|
-
"default": "
|
|
106430
|
-
"description": "
|
|
106431
|
-
"attribute": "
|
|
106237
|
+
"default": "false",
|
|
106238
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
106239
|
+
"attribute": "disabled-interactive",
|
|
106240
|
+
"reflects": true,
|
|
106241
|
+
"inheritedFrom": {
|
|
106242
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
106243
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106244
|
+
}
|
|
106432
106245
|
},
|
|
106433
106246
|
{
|
|
106434
106247
|
"kind": "field",
|
|
106435
|
-
"name": "
|
|
106248
|
+
"name": "disabled",
|
|
106249
|
+
"privacy": "public",
|
|
106250
|
+
"description": "Whether the component is disabled.",
|
|
106251
|
+
"default": "false",
|
|
106436
106252
|
"type": {
|
|
106437
|
-
"text": "
|
|
106253
|
+
"text": "boolean"
|
|
106438
106254
|
},
|
|
106439
|
-
"
|
|
106255
|
+
"attribute": "disabled",
|
|
106256
|
+
"reflects": true,
|
|
106257
|
+
"inheritedFrom": {
|
|
106258
|
+
"name": "SbbDisabledMixin",
|
|
106259
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106260
|
+
}
|
|
106440
106261
|
},
|
|
106441
106262
|
{
|
|
106442
106263
|
"kind": "field",
|
|
106443
|
-
"name": "
|
|
106444
|
-
"type": {
|
|
106445
|
-
"text": "HTMLElement | null"
|
|
106446
|
-
},
|
|
106264
|
+
"name": "#disabled",
|
|
106447
106265
|
"privacy": "private",
|
|
106448
|
-
"default": "null"
|
|
106449
|
-
},
|
|
106450
|
-
{
|
|
106451
|
-
"kind": "field",
|
|
106452
|
-
"name": "_triggerAbortController",
|
|
106453
|
-
"type": {
|
|
106454
|
-
"text": "AbortController"
|
|
106455
|
-
},
|
|
106456
|
-
"privacy": "private"
|
|
106457
|
-
},
|
|
106458
|
-
{
|
|
106459
|
-
"kind": "field",
|
|
106460
|
-
"name": "_isPointerDownEventOnMenu",
|
|
106461
106266
|
"type": {
|
|
106462
106267
|
"text": "boolean"
|
|
106463
106268
|
},
|
|
106464
|
-
"
|
|
106465
|
-
"
|
|
106269
|
+
"default": "false",
|
|
106270
|
+
"inheritedFrom": {
|
|
106271
|
+
"name": "SbbDisabledMixin",
|
|
106272
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106273
|
+
}
|
|
106466
106274
|
},
|
|
106467
106275
|
{
|
|
106468
|
-
"kind": "
|
|
106469
|
-
"name": "
|
|
106470
|
-
"
|
|
106471
|
-
|
|
106276
|
+
"kind": "method",
|
|
106277
|
+
"name": "isDisabledExternally",
|
|
106278
|
+
"privacy": "protected",
|
|
106279
|
+
"return": {
|
|
106280
|
+
"type": {
|
|
106281
|
+
"text": "boolean"
|
|
106282
|
+
}
|
|
106472
106283
|
},
|
|
106473
|
-
"
|
|
106474
|
-
|
|
106475
|
-
|
|
106476
|
-
|
|
106477
|
-
|
|
106478
|
-
"privacy": "private",
|
|
106479
|
-
"default": "new SbbEscapableOverlayController(this)"
|
|
106480
|
-
},
|
|
106481
|
-
{
|
|
106482
|
-
"kind": "field",
|
|
106483
|
-
"name": "_focusTrapController",
|
|
106484
|
-
"privacy": "private",
|
|
106485
|
-
"default": "new SbbFocusTrapController(this)"
|
|
106486
|
-
},
|
|
106487
|
-
{
|
|
106488
|
-
"kind": "field",
|
|
106489
|
-
"name": "_scrollHandler",
|
|
106490
|
-
"privacy": "private",
|
|
106491
|
-
"default": "new SbbScrollHandler()"
|
|
106492
|
-
},
|
|
106493
|
-
{
|
|
106494
|
-
"kind": "field",
|
|
106495
|
-
"name": "_inertController",
|
|
106496
|
-
"privacy": "private",
|
|
106497
|
-
"default": "new SbbInertController(this)"
|
|
106498
|
-
},
|
|
106499
|
-
{
|
|
106500
|
-
"kind": "field",
|
|
106501
|
-
"name": "_mobileBreakpoint",
|
|
106502
|
-
"privacy": "private",
|
|
106503
|
-
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
106504
|
-
},
|
|
106505
|
-
{
|
|
106506
|
-
"kind": "field",
|
|
106507
|
-
"name": "_mediaMatcher",
|
|
106508
|
-
"privacy": "private",
|
|
106509
|
-
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
106510
|
-
},
|
|
106511
|
-
{
|
|
106512
|
-
"kind": "field",
|
|
106513
|
-
"name": "_darkModeController",
|
|
106514
|
-
"privacy": "private",
|
|
106515
|
-
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
106516
|
-
},
|
|
106517
|
-
{
|
|
106518
|
-
"kind": "field",
|
|
106519
|
-
"name": "_language",
|
|
106520
|
-
"privacy": "private",
|
|
106521
|
-
"default": "new SbbLanguageController(this)"
|
|
106284
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106285
|
+
"inheritedFrom": {
|
|
106286
|
+
"name": "SbbDisabledMixin",
|
|
106287
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106288
|
+
}
|
|
106522
106289
|
},
|
|
106523
106290
|
{
|
|
106524
106291
|
"kind": "field",
|
|
106525
|
-
"name": "
|
|
106292
|
+
"name": "styles",
|
|
106526
106293
|
"type": {
|
|
106527
|
-
"text": "
|
|
106294
|
+
"text": "CSSResultGroup"
|
|
106528
106295
|
},
|
|
106529
|
-
"privacy": "
|
|
106530
|
-
"
|
|
106296
|
+
"privacy": "public",
|
|
106297
|
+
"static": true,
|
|
106298
|
+
"default": "[boxSizingStyles, style]",
|
|
106299
|
+
"inheritedFrom": {
|
|
106300
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
106301
|
+
"module": "menu/common/menu-action-common.js"
|
|
106302
|
+
}
|
|
106531
106303
|
},
|
|
106532
106304
|
{
|
|
106533
106305
|
"kind": "method",
|
|
106534
|
-
"name": "
|
|
106535
|
-
"privacy": "
|
|
106306
|
+
"name": "renderTemplate",
|
|
106307
|
+
"privacy": "protected",
|
|
106536
106308
|
"return": {
|
|
106537
106309
|
"type": {
|
|
106538
|
-
"text": "
|
|
106310
|
+
"text": "TemplateResult"
|
|
106539
106311
|
}
|
|
106540
106312
|
},
|
|
106541
|
-
"description": "
|
|
106313
|
+
"description": "Override this method to render the component template.",
|
|
106542
106314
|
"inheritedFrom": {
|
|
106543
|
-
"name": "
|
|
106544
|
-
"module": "core/base-elements/
|
|
106315
|
+
"name": "SbbActionBaseElement",
|
|
106316
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106545
106317
|
}
|
|
106546
106318
|
},
|
|
106547
106319
|
{
|
|
106548
|
-
"kind": "
|
|
106549
|
-
"name": "
|
|
106550
|
-
"
|
|
106551
|
-
|
|
106552
|
-
"type": {
|
|
106553
|
-
"text": "void"
|
|
106554
|
-
}
|
|
106320
|
+
"kind": "field",
|
|
106321
|
+
"name": "iconName",
|
|
106322
|
+
"type": {
|
|
106323
|
+
"text": "string"
|
|
106555
106324
|
},
|
|
106556
|
-
"
|
|
106325
|
+
"privacy": "public",
|
|
106326
|
+
"default": "''",
|
|
106327
|
+
"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.",
|
|
106328
|
+
"attribute": "icon-name",
|
|
106557
106329
|
"inheritedFrom": {
|
|
106558
|
-
"name": "
|
|
106559
|
-
"module": "
|
|
106330
|
+
"name": "SbbIconNameMixin",
|
|
106331
|
+
"module": "icon/icon-name-mixin.js"
|
|
106560
106332
|
}
|
|
106561
106333
|
},
|
|
106562
106334
|
{
|
|
106563
106335
|
"kind": "method",
|
|
106564
|
-
"name": "
|
|
106565
|
-
"privacy": "
|
|
106336
|
+
"name": "renderIconSlot",
|
|
106337
|
+
"privacy": "protected",
|
|
106566
106338
|
"return": {
|
|
106567
106339
|
"type": {
|
|
106568
|
-
"text": "
|
|
106340
|
+
"text": "TemplateResult"
|
|
106569
106341
|
}
|
|
106570
106342
|
},
|
|
106571
|
-
"
|
|
106343
|
+
"parameters": [
|
|
106344
|
+
{
|
|
106345
|
+
"name": "classname",
|
|
106346
|
+
"optional": true,
|
|
106347
|
+
"type": {
|
|
106348
|
+
"text": "string"
|
|
106349
|
+
}
|
|
106350
|
+
}
|
|
106351
|
+
],
|
|
106572
106352
|
"inheritedFrom": {
|
|
106573
|
-
"name": "
|
|
106574
|
-
"module": "
|
|
106353
|
+
"name": "SbbIconNameMixin",
|
|
106354
|
+
"module": "icon/icon-name-mixin.js"
|
|
106575
106355
|
}
|
|
106576
106356
|
},
|
|
106577
106357
|
{
|
|
106578
106358
|
"kind": "method",
|
|
106579
|
-
"name": "
|
|
106580
|
-
"privacy": "
|
|
106359
|
+
"name": "renderIconName",
|
|
106360
|
+
"privacy": "protected",
|
|
106581
106361
|
"return": {
|
|
106582
106362
|
"type": {
|
|
106583
|
-
"text": "
|
|
106363
|
+
"text": "string"
|
|
106584
106364
|
}
|
|
106585
106365
|
},
|
|
106586
|
-
"
|
|
106366
|
+
"inheritedFrom": {
|
|
106367
|
+
"name": "SbbIconNameMixin",
|
|
106368
|
+
"module": "icon/icon-name-mixin.js"
|
|
106369
|
+
}
|
|
106587
106370
|
},
|
|
106588
106371
|
{
|
|
106589
106372
|
"kind": "method",
|
|
106590
|
-
"name": "
|
|
106373
|
+
"name": "_renderIconName",
|
|
106591
106374
|
"privacy": "private",
|
|
106592
106375
|
"return": {
|
|
106593
106376
|
"type": {
|
|
106594
|
-
"text": "
|
|
106377
|
+
"text": "string"
|
|
106595
106378
|
}
|
|
106596
106379
|
},
|
|
106597
|
-
"
|
|
106598
|
-
|
|
106599
|
-
|
|
106600
|
-
|
|
106601
|
-
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
106602
|
-
"optional": true
|
|
106603
|
-
}
|
|
106604
|
-
]
|
|
106380
|
+
"inheritedFrom": {
|
|
106381
|
+
"name": "SbbIconNameMixin",
|
|
106382
|
+
"module": "icon/icon-name-mixin.js"
|
|
106383
|
+
}
|
|
106605
106384
|
},
|
|
106606
106385
|
{
|
|
106607
|
-
"kind": "
|
|
106608
|
-
"name": "
|
|
106386
|
+
"kind": "field",
|
|
106387
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
106388
|
+
"type": {
|
|
106389
|
+
"text": "array"
|
|
106390
|
+
},
|
|
106609
106391
|
"privacy": "private",
|
|
106610
|
-
"
|
|
106611
|
-
|
|
106612
|
-
|
|
106613
|
-
|
|
106392
|
+
"readonly": true,
|
|
106393
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
106394
|
+
"inheritedFrom": {
|
|
106395
|
+
"name": "SbbButtonBaseElement",
|
|
106396
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106614
106397
|
}
|
|
106615
106398
|
},
|
|
106616
106399
|
{
|
|
106617
|
-
"kind": "
|
|
106618
|
-
"name": "
|
|
106400
|
+
"kind": "field",
|
|
106401
|
+
"name": "value",
|
|
106402
|
+
"type": {
|
|
106403
|
+
"text": "string"
|
|
106404
|
+
},
|
|
106405
|
+
"privacy": "public",
|
|
106406
|
+
"inheritedFrom": {
|
|
106407
|
+
"name": "SbbButtonBaseElement",
|
|
106408
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106409
|
+
},
|
|
106410
|
+
"default": "''",
|
|
106411
|
+
"description": "Value of the form element.",
|
|
106412
|
+
"attribute": "value"
|
|
106413
|
+
},
|
|
106414
|
+
{
|
|
106415
|
+
"kind": "field",
|
|
106416
|
+
"name": "type",
|
|
106417
|
+
"privacy": "public",
|
|
106418
|
+
"description": "The type attribute to use for the button.",
|
|
106419
|
+
"default": "'button'",
|
|
106420
|
+
"type": {
|
|
106421
|
+
"text": "SbbButtonType"
|
|
106422
|
+
},
|
|
106423
|
+
"attribute": "type",
|
|
106424
|
+
"inheritedFrom": {
|
|
106425
|
+
"name": "SbbButtonBaseElement",
|
|
106426
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106427
|
+
}
|
|
106428
|
+
},
|
|
106429
|
+
{
|
|
106430
|
+
"kind": "field",
|
|
106431
|
+
"name": "form",
|
|
106432
|
+
"type": {
|
|
106433
|
+
"text": "HTMLFormElement | null"
|
|
106434
|
+
},
|
|
106435
|
+
"privacy": "public",
|
|
106436
|
+
"description": "The `<form>` element to associate the button with.",
|
|
106437
|
+
"inheritedFrom": {
|
|
106438
|
+
"name": "SbbButtonBaseElement",
|
|
106439
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106440
|
+
},
|
|
106441
|
+
"attribute": "form"
|
|
106442
|
+
},
|
|
106443
|
+
{
|
|
106444
|
+
"kind": "field",
|
|
106445
|
+
"name": "_formId",
|
|
106446
|
+
"type": {
|
|
106447
|
+
"text": "string"
|
|
106448
|
+
},
|
|
106619
106449
|
"privacy": "private",
|
|
106620
|
-
"
|
|
106621
|
-
|
|
106622
|
-
|
|
106623
|
-
|
|
106450
|
+
"default": "''",
|
|
106451
|
+
"inheritedFrom": {
|
|
106452
|
+
"name": "SbbButtonBaseElement",
|
|
106453
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106624
106454
|
}
|
|
106625
106455
|
},
|
|
106626
106456
|
{
|
|
106627
|
-
"kind": "
|
|
106628
|
-
"name": "
|
|
106457
|
+
"kind": "field",
|
|
106458
|
+
"name": "_handleButtonClick",
|
|
106629
106459
|
"privacy": "private",
|
|
106630
|
-
"
|
|
106631
|
-
"
|
|
106632
|
-
|
|
106633
|
-
}
|
|
106460
|
+
"inheritedFrom": {
|
|
106461
|
+
"name": "SbbButtonBaseElement",
|
|
106462
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106634
106463
|
}
|
|
106635
106464
|
},
|
|
106636
106465
|
{
|
|
106637
106466
|
"kind": "method",
|
|
106638
|
-
"name": "
|
|
106467
|
+
"name": "_requestSubmit",
|
|
106639
106468
|
"privacy": "private",
|
|
106640
106469
|
"return": {
|
|
106641
106470
|
"type": {
|
|
@@ -106644,117 +106473,220 @@
|
|
|
106644
106473
|
},
|
|
106645
106474
|
"parameters": [
|
|
106646
106475
|
{
|
|
106647
|
-
"name": "
|
|
106476
|
+
"name": "form",
|
|
106648
106477
|
"type": {
|
|
106649
|
-
"text": "
|
|
106478
|
+
"text": "HTMLFormElement"
|
|
106650
106479
|
}
|
|
106651
106480
|
}
|
|
106652
|
-
]
|
|
106481
|
+
],
|
|
106482
|
+
"inheritedFrom": {
|
|
106483
|
+
"name": "SbbButtonBaseElement",
|
|
106484
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106485
|
+
}
|
|
106653
106486
|
},
|
|
106654
106487
|
{
|
|
106655
|
-
"kind": "
|
|
106656
|
-
"name": "
|
|
106488
|
+
"kind": "field",
|
|
106489
|
+
"name": "_formKeyDown",
|
|
106657
106490
|
"privacy": "private",
|
|
106658
|
-
"
|
|
106659
|
-
"
|
|
106660
|
-
|
|
106661
|
-
}
|
|
106491
|
+
"inheritedFrom": {
|
|
106492
|
+
"name": "SbbButtonBaseElement",
|
|
106493
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106662
106494
|
}
|
|
106663
106495
|
},
|
|
106664
106496
|
{
|
|
106665
|
-
"kind": "
|
|
106666
|
-
"name": "
|
|
106667
|
-
"
|
|
106668
|
-
|
|
106669
|
-
|
|
106670
|
-
|
|
106671
|
-
|
|
106497
|
+
"kind": "field",
|
|
106498
|
+
"name": "formAssociated",
|
|
106499
|
+
"type": {
|
|
106500
|
+
"text": "boolean"
|
|
106501
|
+
},
|
|
106502
|
+
"privacy": "public",
|
|
106503
|
+
"static": true,
|
|
106504
|
+
"default": "true",
|
|
106505
|
+
"inheritedFrom": {
|
|
106506
|
+
"name": "SbbFormAssociatedMixin",
|
|
106507
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106672
106508
|
}
|
|
106673
106509
|
},
|
|
106674
106510
|
{
|
|
106675
|
-
"kind": "
|
|
106676
|
-
"name": "
|
|
106677
|
-
"privacy": "
|
|
106678
|
-
"
|
|
106679
|
-
|
|
106680
|
-
|
|
106681
|
-
}
|
|
106511
|
+
"kind": "field",
|
|
106512
|
+
"name": "name",
|
|
106513
|
+
"privacy": "public",
|
|
106514
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
106515
|
+
"type": {
|
|
106516
|
+
"text": "string"
|
|
106682
106517
|
},
|
|
106683
|
-
"
|
|
106684
|
-
|
|
106685
|
-
|
|
106686
|
-
|
|
106687
|
-
|
|
106688
|
-
}
|
|
106689
|
-
}
|
|
106690
|
-
]
|
|
106518
|
+
"attribute": "name",
|
|
106519
|
+
"inheritedFrom": {
|
|
106520
|
+
"name": "SbbFormAssociatedMixin",
|
|
106521
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106522
|
+
}
|
|
106691
106523
|
},
|
|
106692
106524
|
{
|
|
106693
106525
|
"kind": "field",
|
|
106694
|
-
"name": "
|
|
106695
|
-
"
|
|
106526
|
+
"name": "validity",
|
|
106527
|
+
"type": {
|
|
106528
|
+
"text": "ValidityState"
|
|
106529
|
+
},
|
|
106530
|
+
"privacy": "public",
|
|
106531
|
+
"description": "Returns the ValidityState object for this element.",
|
|
106532
|
+
"readonly": true,
|
|
106533
|
+
"inheritedFrom": {
|
|
106534
|
+
"name": "SbbFormAssociatedMixin",
|
|
106535
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106536
|
+
}
|
|
106696
106537
|
},
|
|
106697
106538
|
{
|
|
106698
106539
|
"kind": "field",
|
|
106699
|
-
"name": "
|
|
106700
|
-
"
|
|
106540
|
+
"name": "validationMessage",
|
|
106541
|
+
"type": {
|
|
106542
|
+
"text": "string"
|
|
106543
|
+
},
|
|
106544
|
+
"privacy": "public",
|
|
106545
|
+
"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.",
|
|
106546
|
+
"readonly": true,
|
|
106547
|
+
"inheritedFrom": {
|
|
106548
|
+
"name": "SbbFormAssociatedMixin",
|
|
106549
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106550
|
+
}
|
|
106701
106551
|
},
|
|
106702
106552
|
{
|
|
106703
|
-
"kind": "
|
|
106704
|
-
"name": "
|
|
106553
|
+
"kind": "field",
|
|
106554
|
+
"name": "willValidate",
|
|
106555
|
+
"type": {
|
|
106556
|
+
"text": "boolean"
|
|
106557
|
+
},
|
|
106558
|
+
"privacy": "public",
|
|
106559
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
106560
|
+
"readonly": true,
|
|
106561
|
+
"inheritedFrom": {
|
|
106562
|
+
"name": "SbbFormAssociatedMixin",
|
|
106563
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106564
|
+
}
|
|
106565
|
+
},
|
|
106566
|
+
{
|
|
106567
|
+
"kind": "field",
|
|
106568
|
+
"name": "_validityStates",
|
|
106705
106569
|
"privacy": "private",
|
|
106570
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
106571
|
+
"inheritedFrom": {
|
|
106572
|
+
"name": "SbbFormAssociatedMixin",
|
|
106573
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106574
|
+
}
|
|
106575
|
+
},
|
|
106576
|
+
{
|
|
106577
|
+
"kind": "field",
|
|
106578
|
+
"name": "formDisabled",
|
|
106579
|
+
"type": {
|
|
106580
|
+
"text": "boolean"
|
|
106581
|
+
},
|
|
106582
|
+
"privacy": "protected",
|
|
106583
|
+
"default": "false",
|
|
106584
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
106585
|
+
"inheritedFrom": {
|
|
106586
|
+
"name": "SbbFormAssociatedMixin",
|
|
106587
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106588
|
+
}
|
|
106589
|
+
},
|
|
106590
|
+
{
|
|
106591
|
+
"kind": "method",
|
|
106592
|
+
"name": "checkValidity",
|
|
106593
|
+
"privacy": "public",
|
|
106706
106594
|
"return": {
|
|
106707
106595
|
"type": {
|
|
106708
|
-
"text": "
|
|
106596
|
+
"text": "boolean"
|
|
106709
106597
|
}
|
|
106710
106598
|
},
|
|
106711
|
-
"description": "
|
|
106599
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
106600
|
+
"inheritedFrom": {
|
|
106601
|
+
"name": "SbbFormAssociatedMixin",
|
|
106602
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106603
|
+
}
|
|
106712
106604
|
},
|
|
106713
106605
|
{
|
|
106714
106606
|
"kind": "method",
|
|
106715
|
-
"name": "
|
|
106716
|
-
"privacy": "
|
|
106607
|
+
"name": "reportValidity",
|
|
106608
|
+
"privacy": "public",
|
|
106717
106609
|
"return": {
|
|
106718
106610
|
"type": {
|
|
106719
|
-
"text": "
|
|
106611
|
+
"text": "boolean"
|
|
106720
106612
|
}
|
|
106613
|
+
},
|
|
106614
|
+
"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.",
|
|
106615
|
+
"inheritedFrom": {
|
|
106616
|
+
"name": "SbbFormAssociatedMixin",
|
|
106617
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106721
106618
|
}
|
|
106722
106619
|
},
|
|
106723
106620
|
{
|
|
106724
106621
|
"kind": "method",
|
|
106725
|
-
"name": "
|
|
106726
|
-
"privacy": "
|
|
106622
|
+
"name": "setCustomValidity",
|
|
106623
|
+
"privacy": "public",
|
|
106727
106624
|
"return": {
|
|
106728
106625
|
"type": {
|
|
106729
|
-
"text": "
|
|
106626
|
+
"text": "void"
|
|
106730
106627
|
}
|
|
106731
106628
|
},
|
|
106732
|
-
"
|
|
106629
|
+
"parameters": [
|
|
106630
|
+
{
|
|
106631
|
+
"name": "message",
|
|
106632
|
+
"type": {
|
|
106633
|
+
"text": "string"
|
|
106634
|
+
}
|
|
106635
|
+
}
|
|
106636
|
+
],
|
|
106637
|
+
"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.",
|
|
106638
|
+
"inheritedFrom": {
|
|
106639
|
+
"name": "SbbFormAssociatedMixin",
|
|
106640
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106641
|
+
}
|
|
106733
106642
|
},
|
|
106734
106643
|
{
|
|
106735
106644
|
"kind": "method",
|
|
106736
|
-
"name": "
|
|
106645
|
+
"name": "_hasDisabledAncestor",
|
|
106737
106646
|
"privacy": "private",
|
|
106738
106647
|
"return": {
|
|
106739
106648
|
"type": {
|
|
106740
106649
|
"text": "boolean"
|
|
106741
106650
|
}
|
|
106651
|
+
},
|
|
106652
|
+
"inheritedFrom": {
|
|
106653
|
+
"name": "SbbFormAssociatedMixin",
|
|
106654
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106742
106655
|
}
|
|
106743
106656
|
},
|
|
106744
106657
|
{
|
|
106745
106658
|
"kind": "method",
|
|
106746
|
-
"name": "
|
|
106747
|
-
"privacy": "
|
|
106659
|
+
"name": "updateFormValue",
|
|
106660
|
+
"privacy": "protected",
|
|
106748
106661
|
"return": {
|
|
106749
106662
|
"type": {
|
|
106750
106663
|
"text": "void"
|
|
106751
106664
|
}
|
|
106665
|
+
},
|
|
106666
|
+
"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",
|
|
106667
|
+
"inheritedFrom": {
|
|
106668
|
+
"name": "SbbFormAssociatedMixin",
|
|
106669
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106752
106670
|
}
|
|
106753
106671
|
},
|
|
106754
106672
|
{
|
|
106755
106673
|
"kind": "method",
|
|
106756
|
-
"name": "
|
|
106757
|
-
"privacy": "
|
|
106674
|
+
"name": "formState",
|
|
106675
|
+
"privacy": "protected",
|
|
106676
|
+
"return": {
|
|
106677
|
+
"type": {
|
|
106678
|
+
"text": "FormRestoreState"
|
|
106679
|
+
}
|
|
106680
|
+
},
|
|
106681
|
+
"inheritedFrom": {
|
|
106682
|
+
"name": "SbbFormAssociatedMixin",
|
|
106683
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106684
|
+
}
|
|
106685
|
+
},
|
|
106686
|
+
{
|
|
106687
|
+
"kind": "method",
|
|
106688
|
+
"name": "setValidityFlag",
|
|
106689
|
+
"privacy": "protected",
|
|
106758
106690
|
"return": {
|
|
106759
106691
|
"type": {
|
|
106760
106692
|
"text": "void"
|
|
@@ -106762,17 +106694,35 @@
|
|
|
106762
106694
|
},
|
|
106763
106695
|
"parameters": [
|
|
106764
106696
|
{
|
|
106765
|
-
"name": "
|
|
106697
|
+
"name": "flag",
|
|
106766
106698
|
"type": {
|
|
106767
|
-
"text": "
|
|
106699
|
+
"text": "T"
|
|
106700
|
+
}
|
|
106701
|
+
},
|
|
106702
|
+
{
|
|
106703
|
+
"name": "message",
|
|
106704
|
+
"type": {
|
|
106705
|
+
"text": "string"
|
|
106706
|
+
}
|
|
106707
|
+
},
|
|
106708
|
+
{
|
|
106709
|
+
"name": "flagValue",
|
|
106710
|
+
"optional": true,
|
|
106711
|
+
"type": {
|
|
106712
|
+
"text": "ValidityStateFlags[T]"
|
|
106768
106713
|
}
|
|
106769
106714
|
}
|
|
106770
|
-
]
|
|
106715
|
+
],
|
|
106716
|
+
"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).",
|
|
106717
|
+
"inheritedFrom": {
|
|
106718
|
+
"name": "SbbFormAssociatedMixin",
|
|
106719
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106720
|
+
}
|
|
106771
106721
|
},
|
|
106772
106722
|
{
|
|
106773
106723
|
"kind": "method",
|
|
106774
|
-
"name": "
|
|
106775
|
-
"privacy": "
|
|
106724
|
+
"name": "removeValidityFlag",
|
|
106725
|
+
"privacy": "protected",
|
|
106776
106726
|
"return": {
|
|
106777
106727
|
"type": {
|
|
106778
106728
|
"text": "void"
|
|
@@ -106780,152 +106730,158 @@
|
|
|
106780
106730
|
},
|
|
106781
106731
|
"parameters": [
|
|
106782
106732
|
{
|
|
106783
|
-
"name": "
|
|
106733
|
+
"name": "flag",
|
|
106784
106734
|
"type": {
|
|
106785
|
-
"text": "
|
|
106735
|
+
"text": "T"
|
|
106786
106736
|
}
|
|
106787
106737
|
}
|
|
106788
|
-
]
|
|
106738
|
+
],
|
|
106739
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
106740
|
+
"inheritedFrom": {
|
|
106741
|
+
"name": "SbbFormAssociatedMixin",
|
|
106742
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106743
|
+
}
|
|
106789
106744
|
},
|
|
106790
106745
|
{
|
|
106791
106746
|
"kind": "method",
|
|
106792
|
-
"name": "
|
|
106793
|
-
"privacy": "
|
|
106747
|
+
"name": "validate",
|
|
106748
|
+
"privacy": "protected",
|
|
106794
106749
|
"return": {
|
|
106795
106750
|
"type": {
|
|
106796
106751
|
"text": "void"
|
|
106797
106752
|
}
|
|
106753
|
+
},
|
|
106754
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
106755
|
+
"inheritedFrom": {
|
|
106756
|
+
"name": "SbbFormAssociatedMixin",
|
|
106757
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106798
106758
|
}
|
|
106799
106759
|
},
|
|
106800
106760
|
{
|
|
106801
106761
|
"kind": "method",
|
|
106802
|
-
"name": "
|
|
106803
|
-
"privacy": "
|
|
106762
|
+
"name": "shouldValidate",
|
|
106763
|
+
"privacy": "protected",
|
|
106804
106764
|
"return": {
|
|
106805
106765
|
"type": {
|
|
106806
|
-
"text": "
|
|
106766
|
+
"text": "boolean"
|
|
106767
|
+
}
|
|
106768
|
+
},
|
|
106769
|
+
"parameters": [
|
|
106770
|
+
{
|
|
106771
|
+
"name": "name",
|
|
106772
|
+
"type": {
|
|
106773
|
+
"text": "PropertyKey | undefined"
|
|
106774
|
+
}
|
|
106807
106775
|
}
|
|
106776
|
+
],
|
|
106777
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
106778
|
+
"inheritedFrom": {
|
|
106779
|
+
"name": "SbbFormAssociatedMixin",
|
|
106780
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106808
106781
|
}
|
|
106809
106782
|
},
|
|
106810
106783
|
{
|
|
106811
106784
|
"kind": "method",
|
|
106812
|
-
"name": "
|
|
106785
|
+
"name": "_setInternalValidity",
|
|
106813
106786
|
"privacy": "private",
|
|
106814
106787
|
"return": {
|
|
106815
106788
|
"type": {
|
|
106816
|
-
"text": "
|
|
106789
|
+
"text": "void"
|
|
106817
106790
|
}
|
|
106818
|
-
}
|
|
106819
|
-
},
|
|
106820
|
-
{
|
|
106821
|
-
"kind": "field",
|
|
106822
|
-
"name": "events",
|
|
106823
|
-
"privacy": "public",
|
|
106824
|
-
"static": true,
|
|
106825
|
-
"readonly": true,
|
|
106826
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106827
|
-
"type": {
|
|
106828
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106829
106791
|
},
|
|
106830
106792
|
"inheritedFrom": {
|
|
106831
|
-
"name": "
|
|
106832
|
-
"module": "core/
|
|
106793
|
+
"name": "SbbFormAssociatedMixin",
|
|
106794
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
106833
106795
|
}
|
|
106834
106796
|
},
|
|
106835
106797
|
{
|
|
106836
106798
|
"kind": "field",
|
|
106837
|
-
"name": "
|
|
106838
|
-
"privacy": "
|
|
106839
|
-
"description": "
|
|
106840
|
-
"
|
|
106841
|
-
|
|
106842
|
-
|
|
106843
|
-
|
|
106799
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
106800
|
+
"privacy": "private",
|
|
106801
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
106802
|
+
"parameters": [
|
|
106803
|
+
{
|
|
106804
|
+
"description": "The origin event.",
|
|
106805
|
+
"name": "event"
|
|
106806
|
+
}
|
|
106807
|
+
],
|
|
106844
106808
|
"inheritedFrom": {
|
|
106845
|
-
"name": "
|
|
106846
|
-
"module": "core/base-elements/
|
|
106809
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106810
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106847
106811
|
}
|
|
106848
106812
|
},
|
|
106849
106813
|
{
|
|
106850
106814
|
"kind": "field",
|
|
106851
|
-
"name": "
|
|
106852
|
-
"type": {
|
|
106853
|
-
"text": "SbbOpenedClosedState"
|
|
106854
|
-
},
|
|
106815
|
+
"name": "_removeActiveMarker",
|
|
106855
106816
|
"privacy": "private",
|
|
106856
106817
|
"inheritedFrom": {
|
|
106857
|
-
"name": "
|
|
106858
|
-
"module": "core/base-elements/
|
|
106818
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106819
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106859
106820
|
}
|
|
106860
106821
|
},
|
|
106861
106822
|
{
|
|
106862
106823
|
"kind": "field",
|
|
106863
|
-
"name": "
|
|
106864
|
-
"
|
|
106865
|
-
|
|
106866
|
-
|
|
106867
|
-
|
|
106868
|
-
|
|
106869
|
-
|
|
106824
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
106825
|
+
"privacy": "private",
|
|
106826
|
+
"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.",
|
|
106827
|
+
"parameters": [
|
|
106828
|
+
{
|
|
106829
|
+
"description": "The origin event.",
|
|
106830
|
+
"name": "event"
|
|
106831
|
+
}
|
|
106832
|
+
],
|
|
106870
106833
|
"inheritedFrom": {
|
|
106871
|
-
"name": "
|
|
106872
|
-
"module": "core/base-elements/
|
|
106834
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106835
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106873
106836
|
}
|
|
106874
106837
|
},
|
|
106875
106838
|
{
|
|
106876
|
-
"kind": "
|
|
106877
|
-
"name": "
|
|
106878
|
-
"privacy": "
|
|
106879
|
-
"return": {
|
|
106880
|
-
"type": {
|
|
106881
|
-
"text": "boolean"
|
|
106882
|
-
}
|
|
106883
|
-
},
|
|
106839
|
+
"kind": "field",
|
|
106840
|
+
"name": "_dispatchClickEvent",
|
|
106841
|
+
"privacy": "private",
|
|
106884
106842
|
"inheritedFrom": {
|
|
106885
|
-
"name": "
|
|
106886
|
-
"module": "core/base-elements/
|
|
106843
|
+
"name": "SbbButtonLikeBaseElement",
|
|
106844
|
+
"module": "core/base-elements/button-base-element.js"
|
|
106887
106845
|
}
|
|
106888
106846
|
},
|
|
106889
106847
|
{
|
|
106890
|
-
"kind": "
|
|
106891
|
-
"name": "
|
|
106892
|
-
"
|
|
106893
|
-
|
|
106894
|
-
"type": {
|
|
106895
|
-
"text": "boolean"
|
|
106896
|
-
}
|
|
106848
|
+
"kind": "field",
|
|
106849
|
+
"name": "maybeDisabled",
|
|
106850
|
+
"type": {
|
|
106851
|
+
"text": "boolean | undefined"
|
|
106897
106852
|
},
|
|
106853
|
+
"privacy": "protected",
|
|
106854
|
+
"readonly": true,
|
|
106898
106855
|
"inheritedFrom": {
|
|
106899
|
-
"name": "
|
|
106900
|
-
"module": "core/base-elements/
|
|
106856
|
+
"name": "SbbActionBaseElement",
|
|
106857
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106901
106858
|
}
|
|
106902
106859
|
},
|
|
106903
106860
|
{
|
|
106904
|
-
"kind": "
|
|
106905
|
-
"name": "
|
|
106906
|
-
"
|
|
106907
|
-
|
|
106908
|
-
"type": {
|
|
106909
|
-
"text": "boolean"
|
|
106910
|
-
}
|
|
106861
|
+
"kind": "field",
|
|
106862
|
+
"name": "maybeDisabledInteractive",
|
|
106863
|
+
"type": {
|
|
106864
|
+
"text": "boolean | undefined"
|
|
106911
106865
|
},
|
|
106866
|
+
"privacy": "protected",
|
|
106867
|
+
"readonly": true,
|
|
106912
106868
|
"inheritedFrom": {
|
|
106913
|
-
"name": "
|
|
106914
|
-
"module": "core/base-elements/
|
|
106869
|
+
"name": "SbbActionBaseElement",
|
|
106870
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106915
106871
|
}
|
|
106916
106872
|
},
|
|
106917
106873
|
{
|
|
106918
106874
|
"kind": "method",
|
|
106919
|
-
"name": "
|
|
106875
|
+
"name": "setupBaseEventHandlers",
|
|
106920
106876
|
"privacy": "protected",
|
|
106921
106877
|
"return": {
|
|
106922
106878
|
"type": {
|
|
106923
|
-
"text": "
|
|
106879
|
+
"text": "void"
|
|
106924
106880
|
}
|
|
106925
106881
|
},
|
|
106926
106882
|
"inheritedFrom": {
|
|
106927
|
-
"name": "
|
|
106928
|
-
"module": "core/base-elements/
|
|
106883
|
+
"name": "SbbActionBaseElement",
|
|
106884
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106929
106885
|
}
|
|
106930
106886
|
},
|
|
106931
106887
|
{
|
|
@@ -107034,66 +106990,110 @@
|
|
|
107034
106990
|
}
|
|
107035
106991
|
}
|
|
107036
106992
|
],
|
|
107037
|
-
"
|
|
106993
|
+
"mixins": [
|
|
107038
106994
|
{
|
|
107039
|
-
"name": "
|
|
107040
|
-
"
|
|
107041
|
-
|
|
107042
|
-
|
|
107043
|
-
"
|
|
107044
|
-
"
|
|
107045
|
-
"fieldName": "trigger"
|
|
106995
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
106996
|
+
"module": "core/mixins.js"
|
|
106997
|
+
},
|
|
106998
|
+
{
|
|
106999
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107000
|
+
"module": "menu/common/menu-action-common.js"
|
|
107046
107001
|
}
|
|
107047
107002
|
],
|
|
107048
107003
|
"superclass": {
|
|
107049
|
-
"name": "
|
|
107004
|
+
"name": "SbbButtonBaseElement",
|
|
107050
107005
|
"module": "core/base-elements.js"
|
|
107051
107006
|
},
|
|
107052
|
-
"tagName": "sbb-menu",
|
|
107007
|
+
"tagName": "sbb-menu-button",
|
|
107053
107008
|
"customElement": true,
|
|
107054
|
-
"
|
|
107009
|
+
"attributes": [
|
|
107055
107010
|
{
|
|
107056
|
-
"name": "
|
|
107011
|
+
"name": "disabled-interactive",
|
|
107057
107012
|
"type": {
|
|
107058
|
-
"text": "
|
|
107013
|
+
"text": "boolean"
|
|
107059
107014
|
},
|
|
107060
|
-
"
|
|
107015
|
+
"default": "false",
|
|
107016
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107017
|
+
"fieldName": "disabledInteractive",
|
|
107061
107018
|
"inheritedFrom": {
|
|
107062
|
-
"name": "
|
|
107063
|
-
"module": "core/
|
|
107019
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107020
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107064
107021
|
}
|
|
107065
107022
|
},
|
|
107066
107023
|
{
|
|
107067
|
-
"name": "
|
|
107024
|
+
"name": "disabled",
|
|
107025
|
+
"description": "Whether the component is disabled.",
|
|
107026
|
+
"default": "false",
|
|
107068
107027
|
"type": {
|
|
107069
|
-
"text": "
|
|
107028
|
+
"text": "boolean"
|
|
107070
107029
|
},
|
|
107071
|
-
"
|
|
107030
|
+
"fieldName": "disabled",
|
|
107072
107031
|
"inheritedFrom": {
|
|
107073
|
-
"name": "
|
|
107074
|
-
"module": "core/
|
|
107032
|
+
"name": "SbbDisabledMixin",
|
|
107033
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107075
107034
|
}
|
|
107076
107035
|
},
|
|
107077
107036
|
{
|
|
107078
|
-
"name": "
|
|
107037
|
+
"name": "icon-name",
|
|
107079
107038
|
"type": {
|
|
107080
|
-
"text": "
|
|
107039
|
+
"text": "string"
|
|
107081
107040
|
},
|
|
107082
|
-
"
|
|
107041
|
+
"default": "''",
|
|
107042
|
+
"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.",
|
|
107043
|
+
"fieldName": "iconName",
|
|
107083
107044
|
"inheritedFrom": {
|
|
107084
|
-
"name": "
|
|
107085
|
-
"module": "
|
|
107045
|
+
"name": "SbbIconNameMixin",
|
|
107046
|
+
"module": "icon/icon-name-mixin.js"
|
|
107086
107047
|
}
|
|
107087
107048
|
},
|
|
107088
107049
|
{
|
|
107089
|
-
"name": "
|
|
107050
|
+
"name": "value",
|
|
107090
107051
|
"type": {
|
|
107091
|
-
"text": "
|
|
107052
|
+
"text": "string"
|
|
107092
107053
|
},
|
|
107093
|
-
"
|
|
107054
|
+
"default": "''",
|
|
107055
|
+
"description": "Value of the form element.",
|
|
107056
|
+
"fieldName": "value",
|
|
107094
107057
|
"inheritedFrom": {
|
|
107095
|
-
"name": "
|
|
107096
|
-
"module": "core/base-elements/
|
|
107058
|
+
"name": "SbbButtonBaseElement",
|
|
107059
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107060
|
+
}
|
|
107061
|
+
},
|
|
107062
|
+
{
|
|
107063
|
+
"name": "type",
|
|
107064
|
+
"description": "The type attribute to use for the button.",
|
|
107065
|
+
"default": "'button'",
|
|
107066
|
+
"type": {
|
|
107067
|
+
"text": "SbbButtonType"
|
|
107068
|
+
},
|
|
107069
|
+
"fieldName": "type",
|
|
107070
|
+
"inheritedFrom": {
|
|
107071
|
+
"name": "SbbButtonBaseElement",
|
|
107072
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107073
|
+
}
|
|
107074
|
+
},
|
|
107075
|
+
{
|
|
107076
|
+
"name": "form",
|
|
107077
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107078
|
+
"type": {
|
|
107079
|
+
"text": "HTMLFormElement | null"
|
|
107080
|
+
},
|
|
107081
|
+
"fieldName": "form",
|
|
107082
|
+
"inheritedFrom": {
|
|
107083
|
+
"name": "SbbButtonBaseElement",
|
|
107084
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107085
|
+
}
|
|
107086
|
+
},
|
|
107087
|
+
{
|
|
107088
|
+
"name": "name",
|
|
107089
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107090
|
+
"type": {
|
|
107091
|
+
"text": "string"
|
|
107092
|
+
},
|
|
107093
|
+
"fieldName": "name",
|
|
107094
|
+
"inheritedFrom": {
|
|
107095
|
+
"name": "SbbFormAssociatedMixin",
|
|
107096
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107097
107097
|
}
|
|
107098
107098
|
}
|
|
107099
107099
|
]
|
|
@@ -107102,10 +107102,10 @@
|
|
|
107102
107102
|
"exports": [
|
|
107103
107103
|
{
|
|
107104
107104
|
"kind": "js",
|
|
107105
|
-
"name": "
|
|
107105
|
+
"name": "SbbMenuButtonElement",
|
|
107106
107106
|
"declaration": {
|
|
107107
|
-
"name": "
|
|
107108
|
-
"module": "menu/menu/menu.component.js"
|
|
107107
|
+
"name": "SbbMenuButtonElement",
|
|
107108
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
107109
107109
|
}
|
|
107110
107110
|
}
|
|
107111
107111
|
]
|