@sbb-esta/lyne-elements-dev 4.13.0-dev.1780984177 → 4.13.1-dev.1781017607
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
|
@@ -106618,27 +106618,23 @@
|
|
|
106618
106618
|
},
|
|
106619
106619
|
{
|
|
106620
106620
|
"kind": "javascript-module",
|
|
106621
|
-
"path": "menu/menu
|
|
106621
|
+
"path": "menu/menu/menu.component.js",
|
|
106622
106622
|
"declarations": [
|
|
106623
106623
|
{
|
|
106624
106624
|
"kind": "class",
|
|
106625
|
-
"description": "It displays a
|
|
106626
|
-
"name": "
|
|
106625
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
106626
|
+
"name": "SbbMenuElement",
|
|
106627
106627
|
"cssProperties": [
|
|
106628
106628
|
{
|
|
106629
|
-
"description": "
|
|
106630
|
-
"name": "--sbb-menu-
|
|
106631
|
-
"default": "var(--sbb-
|
|
106629
|
+
"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`.",
|
|
106630
|
+
"name": "--sbb-menu-z-index",
|
|
106631
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
106632
106632
|
}
|
|
106633
106633
|
],
|
|
106634
106634
|
"slots": [
|
|
106635
106635
|
{
|
|
106636
|
-
"description": "Use the unnamed slot to add
|
|
106636
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
106637
106637
|
"name": ""
|
|
106638
|
-
},
|
|
106639
|
-
{
|
|
106640
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
106641
|
-
"name": "icon"
|
|
106642
106638
|
}
|
|
106643
106639
|
],
|
|
106644
106640
|
"members": [
|
|
@@ -106655,261 +106651,274 @@
|
|
|
106655
106651
|
"name": "SbbElement",
|
|
106656
106652
|
"module": "core/base-elements/element.js"
|
|
106657
106653
|
},
|
|
106658
|
-
"default": "'sbb-menu
|
|
106654
|
+
"default": "'sbb-menu'"
|
|
106659
106655
|
},
|
|
106660
106656
|
{
|
|
106661
106657
|
"kind": "field",
|
|
106662
106658
|
"name": "role",
|
|
106663
106659
|
"type": {
|
|
106664
|
-
"text": "
|
|
106660
|
+
"text": "string"
|
|
106665
106661
|
},
|
|
106666
106662
|
"privacy": "public",
|
|
106667
106663
|
"static": true,
|
|
106668
106664
|
"readonly": true,
|
|
106669
|
-
"default": "'
|
|
106670
|
-
"inheritedFrom": {
|
|
106671
|
-
"name": "SbbButtonLikeBaseElement",
|
|
106672
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106673
|
-
}
|
|
106665
|
+
"default": "'menu'"
|
|
106674
106666
|
},
|
|
106675
106667
|
{
|
|
106676
106668
|
"kind": "field",
|
|
106677
|
-
"name": "
|
|
106669
|
+
"name": "trigger",
|
|
106678
106670
|
"type": {
|
|
106679
|
-
"text": "
|
|
106671
|
+
"text": "HTMLElement | null"
|
|
106680
106672
|
},
|
|
106681
106673
|
"privacy": "public",
|
|
106682
|
-
"default": "
|
|
106683
|
-
"description": "
|
|
106684
|
-
"attribute": "
|
|
106685
|
-
"reflects": true,
|
|
106686
|
-
"inheritedFrom": {
|
|
106687
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
106688
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106689
|
-
}
|
|
106674
|
+
"default": "null",
|
|
106675
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106676
|
+
"attribute": "trigger"
|
|
106690
106677
|
},
|
|
106691
106678
|
{
|
|
106692
106679
|
"kind": "field",
|
|
106693
|
-
"name": "
|
|
106694
|
-
"privacy": "public",
|
|
106695
|
-
"description": "Whether the component is disabled.",
|
|
106696
|
-
"default": "false",
|
|
106680
|
+
"name": "_menu",
|
|
106697
106681
|
"type": {
|
|
106698
|
-
"text": "
|
|
106682
|
+
"text": "HTMLDivElement"
|
|
106699
106683
|
},
|
|
106700
|
-
"
|
|
106701
|
-
"reflects": true,
|
|
106702
|
-
"inheritedFrom": {
|
|
106703
|
-
"name": "SbbDisabledMixin",
|
|
106704
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106705
|
-
}
|
|
106684
|
+
"privacy": "private"
|
|
106706
106685
|
},
|
|
106707
106686
|
{
|
|
106708
106687
|
"kind": "field",
|
|
106709
|
-
"name": "
|
|
106688
|
+
"name": "_triggerElement",
|
|
106689
|
+
"type": {
|
|
106690
|
+
"text": "HTMLElement | null"
|
|
106691
|
+
},
|
|
106710
106692
|
"privacy": "private",
|
|
106693
|
+
"default": "null"
|
|
106694
|
+
},
|
|
106695
|
+
{
|
|
106696
|
+
"kind": "field",
|
|
106697
|
+
"name": "_triggerAbortController",
|
|
106698
|
+
"type": {
|
|
106699
|
+
"text": "AbortController"
|
|
106700
|
+
},
|
|
106701
|
+
"privacy": "private"
|
|
106702
|
+
},
|
|
106703
|
+
{
|
|
106704
|
+
"kind": "field",
|
|
106705
|
+
"name": "_isPointerDownEventOnMenu",
|
|
106711
106706
|
"type": {
|
|
106712
106707
|
"text": "boolean"
|
|
106713
106708
|
},
|
|
106714
|
-
"
|
|
106715
|
-
"
|
|
106716
|
-
|
|
106717
|
-
|
|
106718
|
-
|
|
106709
|
+
"privacy": "private",
|
|
106710
|
+
"default": "false"
|
|
106711
|
+
},
|
|
106712
|
+
{
|
|
106713
|
+
"kind": "field",
|
|
106714
|
+
"name": "_windowEventsController",
|
|
106715
|
+
"type": {
|
|
106716
|
+
"text": "AbortController"
|
|
106717
|
+
},
|
|
106718
|
+
"privacy": "private"
|
|
106719
|
+
},
|
|
106720
|
+
{
|
|
106721
|
+
"kind": "field",
|
|
106722
|
+
"name": "_escapableOverlayController",
|
|
106723
|
+
"privacy": "private",
|
|
106724
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
106725
|
+
},
|
|
106726
|
+
{
|
|
106727
|
+
"kind": "field",
|
|
106728
|
+
"name": "_focusTrapController",
|
|
106729
|
+
"privacy": "private",
|
|
106730
|
+
"default": "new SbbFocusTrapController(this)"
|
|
106731
|
+
},
|
|
106732
|
+
{
|
|
106733
|
+
"kind": "field",
|
|
106734
|
+
"name": "_scrollHandler",
|
|
106735
|
+
"privacy": "private",
|
|
106736
|
+
"default": "new SbbScrollHandler()"
|
|
106737
|
+
},
|
|
106738
|
+
{
|
|
106739
|
+
"kind": "field",
|
|
106740
|
+
"name": "_inertController",
|
|
106741
|
+
"privacy": "private",
|
|
106742
|
+
"default": "new SbbInertController(this)"
|
|
106743
|
+
},
|
|
106744
|
+
{
|
|
106745
|
+
"kind": "field",
|
|
106746
|
+
"name": "_mobileBreakpoint",
|
|
106747
|
+
"privacy": "private",
|
|
106748
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
106749
|
+
},
|
|
106750
|
+
{
|
|
106751
|
+
"kind": "field",
|
|
106752
|
+
"name": "_mediaMatcher",
|
|
106753
|
+
"privacy": "private",
|
|
106754
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
106755
|
+
},
|
|
106756
|
+
{
|
|
106757
|
+
"kind": "field",
|
|
106758
|
+
"name": "_darkModeController",
|
|
106759
|
+
"privacy": "private",
|
|
106760
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
106761
|
+
},
|
|
106762
|
+
{
|
|
106763
|
+
"kind": "field",
|
|
106764
|
+
"name": "_language",
|
|
106765
|
+
"privacy": "private",
|
|
106766
|
+
"default": "new SbbLanguageController(this)"
|
|
106767
|
+
},
|
|
106768
|
+
{
|
|
106769
|
+
"kind": "field",
|
|
106770
|
+
"name": "_nestedMenu",
|
|
106771
|
+
"type": {
|
|
106772
|
+
"text": "SbbMenuElement | null"
|
|
106773
|
+
},
|
|
106774
|
+
"privacy": "private",
|
|
106775
|
+
"default": "null"
|
|
106719
106776
|
},
|
|
106720
106777
|
{
|
|
106721
106778
|
"kind": "method",
|
|
106722
|
-
"name": "
|
|
106723
|
-
"privacy": "
|
|
106779
|
+
"name": "escapeStrategy",
|
|
106780
|
+
"privacy": "public",
|
|
106724
106781
|
"return": {
|
|
106725
106782
|
"type": {
|
|
106726
|
-
"text": "
|
|
106783
|
+
"text": "void"
|
|
106727
106784
|
}
|
|
106728
106785
|
},
|
|
106729
|
-
"description": "
|
|
106786
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
106730
106787
|
"inheritedFrom": {
|
|
106731
|
-
"name": "
|
|
106732
|
-
"module": "core/
|
|
106788
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106789
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106733
106790
|
}
|
|
106734
106791
|
},
|
|
106735
106792
|
{
|
|
106736
|
-
"kind": "
|
|
106737
|
-
"name": "
|
|
106738
|
-
"type": {
|
|
106739
|
-
"text": "CSSResultGroup"
|
|
106740
|
-
},
|
|
106793
|
+
"kind": "method",
|
|
106794
|
+
"name": "open",
|
|
106741
106795
|
"privacy": "public",
|
|
106742
|
-
"
|
|
106743
|
-
|
|
106796
|
+
"return": {
|
|
106797
|
+
"type": {
|
|
106798
|
+
"text": "void"
|
|
106799
|
+
}
|
|
106800
|
+
},
|
|
106801
|
+
"description": "Opens the menu on trigger click.",
|
|
106744
106802
|
"inheritedFrom": {
|
|
106745
|
-
"name": "
|
|
106746
|
-
"module": "
|
|
106803
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106804
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106747
106805
|
}
|
|
106748
106806
|
},
|
|
106749
106807
|
{
|
|
106750
106808
|
"kind": "method",
|
|
106751
|
-
"name": "
|
|
106752
|
-
"privacy": "
|
|
106809
|
+
"name": "close",
|
|
106810
|
+
"privacy": "public",
|
|
106753
106811
|
"return": {
|
|
106754
106812
|
"type": {
|
|
106755
|
-
"text": "
|
|
106813
|
+
"text": "void"
|
|
106756
106814
|
}
|
|
106757
106815
|
},
|
|
106758
|
-
"description": "
|
|
106816
|
+
"description": "Closes the menu and all its nested menus.",
|
|
106759
106817
|
"inheritedFrom": {
|
|
106760
|
-
"name": "
|
|
106761
|
-
"module": "core/base-elements/
|
|
106818
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106819
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106762
106820
|
}
|
|
106763
106821
|
},
|
|
106764
106822
|
{
|
|
106765
|
-
"kind": "
|
|
106766
|
-
"name": "
|
|
106767
|
-
"type": {
|
|
106768
|
-
"text": "string"
|
|
106769
|
-
},
|
|
106823
|
+
"kind": "method",
|
|
106824
|
+
"name": "closeAll",
|
|
106770
106825
|
"privacy": "public",
|
|
106771
|
-
"
|
|
106772
|
-
|
|
106773
|
-
|
|
106774
|
-
|
|
106775
|
-
|
|
106776
|
-
|
|
106777
|
-
}
|
|
106826
|
+
"return": {
|
|
106827
|
+
"type": {
|
|
106828
|
+
"text": "void"
|
|
106829
|
+
}
|
|
106830
|
+
},
|
|
106831
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
106778
106832
|
},
|
|
106779
106833
|
{
|
|
106780
106834
|
"kind": "method",
|
|
106781
|
-
"name": "
|
|
106782
|
-
"privacy": "
|
|
106835
|
+
"name": "_close",
|
|
106836
|
+
"privacy": "private",
|
|
106783
106837
|
"return": {
|
|
106784
106838
|
"type": {
|
|
106785
|
-
"text": "
|
|
106839
|
+
"text": "void"
|
|
106786
106840
|
}
|
|
106787
106841
|
},
|
|
106788
106842
|
"parameters": [
|
|
106789
106843
|
{
|
|
106790
|
-
"name": "
|
|
106791
|
-
"
|
|
106792
|
-
"
|
|
106793
|
-
|
|
106794
|
-
}
|
|
106844
|
+
"name": "closeAll",
|
|
106845
|
+
"default": "false",
|
|
106846
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
106847
|
+
"optional": true
|
|
106795
106848
|
}
|
|
106796
|
-
]
|
|
106797
|
-
"inheritedFrom": {
|
|
106798
|
-
"name": "SbbIconNameMixin",
|
|
106799
|
-
"module": "icon/icon-name-mixin.js"
|
|
106800
|
-
}
|
|
106849
|
+
]
|
|
106801
106850
|
},
|
|
106802
106851
|
{
|
|
106803
106852
|
"kind": "method",
|
|
106804
|
-
"name": "
|
|
106805
|
-
"privacy": "
|
|
106853
|
+
"name": "_isZeroAnimationDuration",
|
|
106854
|
+
"privacy": "private",
|
|
106806
106855
|
"return": {
|
|
106807
106856
|
"type": {
|
|
106808
|
-
"text": "
|
|
106857
|
+
"text": "boolean"
|
|
106809
106858
|
}
|
|
106810
|
-
},
|
|
106811
|
-
"inheritedFrom": {
|
|
106812
|
-
"name": "SbbIconNameMixin",
|
|
106813
|
-
"module": "icon/icon-name-mixin.js"
|
|
106814
106859
|
}
|
|
106815
106860
|
},
|
|
106816
106861
|
{
|
|
106817
106862
|
"kind": "method",
|
|
106818
|
-
"name": "
|
|
106863
|
+
"name": "_handleOpening",
|
|
106819
106864
|
"privacy": "private",
|
|
106820
106865
|
"return": {
|
|
106821
106866
|
"type": {
|
|
106822
|
-
"text": "
|
|
106867
|
+
"text": "void"
|
|
106823
106868
|
}
|
|
106824
|
-
},
|
|
106825
|
-
"inheritedFrom": {
|
|
106826
|
-
"name": "SbbIconNameMixin",
|
|
106827
|
-
"module": "icon/icon-name-mixin.js"
|
|
106828
106869
|
}
|
|
106829
106870
|
},
|
|
106830
106871
|
{
|
|
106831
|
-
"kind": "
|
|
106832
|
-
"name": "
|
|
106833
|
-
"type": {
|
|
106834
|
-
"text": "array"
|
|
106835
|
-
},
|
|
106872
|
+
"kind": "method",
|
|
106873
|
+
"name": "_handleClosing",
|
|
106836
106874
|
"privacy": "private",
|
|
106837
|
-
"
|
|
106838
|
-
|
|
106839
|
-
|
|
106840
|
-
|
|
106841
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106842
|
-
}
|
|
106843
|
-
},
|
|
106844
|
-
{
|
|
106845
|
-
"kind": "field",
|
|
106846
|
-
"name": "value",
|
|
106847
|
-
"type": {
|
|
106848
|
-
"text": "string"
|
|
106849
|
-
},
|
|
106850
|
-
"privacy": "public",
|
|
106851
|
-
"inheritedFrom": {
|
|
106852
|
-
"name": "SbbButtonBaseElement",
|
|
106853
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106854
|
-
},
|
|
106855
|
-
"default": "''",
|
|
106856
|
-
"description": "Value of the form element.",
|
|
106857
|
-
"attribute": "value"
|
|
106858
|
-
},
|
|
106859
|
-
{
|
|
106860
|
-
"kind": "field",
|
|
106861
|
-
"name": "type",
|
|
106862
|
-
"privacy": "public",
|
|
106863
|
-
"description": "The type attribute to use for the button.",
|
|
106864
|
-
"default": "'button'",
|
|
106865
|
-
"type": {
|
|
106866
|
-
"text": "SbbButtonType"
|
|
106867
|
-
},
|
|
106868
|
-
"attribute": "type",
|
|
106869
|
-
"inheritedFrom": {
|
|
106870
|
-
"name": "SbbButtonBaseElement",
|
|
106871
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106875
|
+
"return": {
|
|
106876
|
+
"type": {
|
|
106877
|
+
"text": "void"
|
|
106878
|
+
}
|
|
106872
106879
|
}
|
|
106873
106880
|
},
|
|
106874
106881
|
{
|
|
106875
|
-
"kind": "
|
|
106876
|
-
"name": "
|
|
106877
|
-
"
|
|
106878
|
-
|
|
106879
|
-
|
|
106880
|
-
|
|
106881
|
-
|
|
106882
|
-
"inheritedFrom": {
|
|
106883
|
-
"name": "SbbButtonBaseElement",
|
|
106884
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106882
|
+
"kind": "method",
|
|
106883
|
+
"name": "_handleKeyDown",
|
|
106884
|
+
"privacy": "private",
|
|
106885
|
+
"return": {
|
|
106886
|
+
"type": {
|
|
106887
|
+
"text": "void"
|
|
106888
|
+
}
|
|
106885
106889
|
},
|
|
106886
|
-
"
|
|
106890
|
+
"parameters": [
|
|
106891
|
+
{
|
|
106892
|
+
"name": "evt",
|
|
106893
|
+
"type": {
|
|
106894
|
+
"text": "KeyboardEvent"
|
|
106895
|
+
}
|
|
106896
|
+
}
|
|
106897
|
+
]
|
|
106887
106898
|
},
|
|
106888
106899
|
{
|
|
106889
|
-
"kind": "
|
|
106890
|
-
"name": "
|
|
106891
|
-
"type": {
|
|
106892
|
-
"text": "string"
|
|
106893
|
-
},
|
|
106900
|
+
"kind": "method",
|
|
106901
|
+
"name": "_configureTrigger",
|
|
106894
106902
|
"privacy": "private",
|
|
106895
|
-
"
|
|
106896
|
-
|
|
106897
|
-
|
|
106898
|
-
|
|
106903
|
+
"return": {
|
|
106904
|
+
"type": {
|
|
106905
|
+
"text": "void"
|
|
106906
|
+
}
|
|
106899
106907
|
}
|
|
106900
106908
|
},
|
|
106901
106909
|
{
|
|
106902
|
-
"kind": "
|
|
106903
|
-
"name": "
|
|
106910
|
+
"kind": "method",
|
|
106911
|
+
"name": "_attachWindowEvents",
|
|
106904
106912
|
"privacy": "private",
|
|
106905
|
-
"
|
|
106906
|
-
"
|
|
106907
|
-
|
|
106913
|
+
"return": {
|
|
106914
|
+
"type": {
|
|
106915
|
+
"text": "void"
|
|
106916
|
+
}
|
|
106908
106917
|
}
|
|
106909
106918
|
},
|
|
106910
106919
|
{
|
|
106911
106920
|
"kind": "method",
|
|
106912
|
-
"name": "
|
|
106921
|
+
"name": "_interactiveElementClick",
|
|
106913
106922
|
"privacy": "private",
|
|
106914
106923
|
"return": {
|
|
106915
106924
|
"type": {
|
|
@@ -106918,154 +106927,79 @@
|
|
|
106918
106927
|
},
|
|
106919
106928
|
"parameters": [
|
|
106920
106929
|
{
|
|
106921
|
-
"name": "
|
|
106930
|
+
"name": "event",
|
|
106922
106931
|
"type": {
|
|
106923
|
-
"text": "
|
|
106932
|
+
"text": "Event"
|
|
106924
106933
|
}
|
|
106925
106934
|
}
|
|
106926
|
-
]
|
|
106927
|
-
"inheritedFrom": {
|
|
106928
|
-
"name": "SbbButtonBaseElement",
|
|
106929
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106930
|
-
}
|
|
106931
|
-
},
|
|
106932
|
-
{
|
|
106933
|
-
"kind": "field",
|
|
106934
|
-
"name": "_formKeyDown",
|
|
106935
|
-
"privacy": "private",
|
|
106936
|
-
"inheritedFrom": {
|
|
106937
|
-
"name": "SbbButtonBaseElement",
|
|
106938
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106939
|
-
}
|
|
106940
|
-
},
|
|
106941
|
-
{
|
|
106942
|
-
"kind": "field",
|
|
106943
|
-
"name": "formAssociated",
|
|
106944
|
-
"type": {
|
|
106945
|
-
"text": "boolean"
|
|
106946
|
-
},
|
|
106947
|
-
"privacy": "public",
|
|
106948
|
-
"static": true,
|
|
106949
|
-
"default": "true",
|
|
106950
|
-
"inheritedFrom": {
|
|
106951
|
-
"name": "SbbFormAssociatedMixin",
|
|
106952
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106953
|
-
}
|
|
106954
|
-
},
|
|
106955
|
-
{
|
|
106956
|
-
"kind": "field",
|
|
106957
|
-
"name": "name",
|
|
106958
|
-
"privacy": "public",
|
|
106959
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
106960
|
-
"type": {
|
|
106961
|
-
"text": "string"
|
|
106962
|
-
},
|
|
106963
|
-
"attribute": "name",
|
|
106964
|
-
"inheritedFrom": {
|
|
106965
|
-
"name": "SbbFormAssociatedMixin",
|
|
106966
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106967
|
-
}
|
|
106935
|
+
]
|
|
106968
106936
|
},
|
|
106969
106937
|
{
|
|
106970
106938
|
"kind": "field",
|
|
106971
|
-
"name": "
|
|
106972
|
-
"
|
|
106973
|
-
"text": "ValidityState"
|
|
106974
|
-
},
|
|
106975
|
-
"privacy": "public",
|
|
106976
|
-
"description": "Returns the ValidityState object for this element.",
|
|
106977
|
-
"readonly": true,
|
|
106978
|
-
"inheritedFrom": {
|
|
106979
|
-
"name": "SbbFormAssociatedMixin",
|
|
106980
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106981
|
-
}
|
|
106939
|
+
"name": "_pointerDownListener",
|
|
106940
|
+
"privacy": "private"
|
|
106982
106941
|
},
|
|
106983
106942
|
{
|
|
106984
106943
|
"kind": "field",
|
|
106985
|
-
"name": "
|
|
106986
|
-
"
|
|
106987
|
-
"text": "string"
|
|
106988
|
-
},
|
|
106989
|
-
"privacy": "public",
|
|
106990
|
-
"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.",
|
|
106991
|
-
"readonly": true,
|
|
106992
|
-
"inheritedFrom": {
|
|
106993
|
-
"name": "SbbFormAssociatedMixin",
|
|
106994
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106995
|
-
}
|
|
106944
|
+
"name": "_closeOnBackdropClick",
|
|
106945
|
+
"privacy": "private"
|
|
106996
106946
|
},
|
|
106997
106947
|
{
|
|
106998
|
-
"kind": "
|
|
106999
|
-
"name": "
|
|
107000
|
-
"
|
|
107001
|
-
|
|
106948
|
+
"kind": "method",
|
|
106949
|
+
"name": "_nestedMenus",
|
|
106950
|
+
"privacy": "private",
|
|
106951
|
+
"return": {
|
|
106952
|
+
"type": {
|
|
106953
|
+
"text": "SbbMenuElement[]"
|
|
106954
|
+
}
|
|
107002
106955
|
},
|
|
107003
|
-
"
|
|
107004
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
107005
|
-
"readonly": true,
|
|
107006
|
-
"inheritedFrom": {
|
|
107007
|
-
"name": "SbbFormAssociatedMixin",
|
|
107008
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107009
|
-
}
|
|
106956
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
107010
106957
|
},
|
|
107011
106958
|
{
|
|
107012
|
-
"kind": "
|
|
107013
|
-
"name": "
|
|
106959
|
+
"kind": "method",
|
|
106960
|
+
"name": "_parentMenu",
|
|
107014
106961
|
"privacy": "private",
|
|
107015
|
-
"
|
|
107016
|
-
|
|
107017
|
-
|
|
107018
|
-
|
|
106962
|
+
"return": {
|
|
106963
|
+
"type": {
|
|
106964
|
+
"text": "SbbMenuElement | null"
|
|
106965
|
+
}
|
|
107019
106966
|
}
|
|
107020
106967
|
},
|
|
107021
106968
|
{
|
|
107022
|
-
"kind": "
|
|
107023
|
-
"name": "
|
|
107024
|
-
"
|
|
107025
|
-
|
|
106969
|
+
"kind": "method",
|
|
106970
|
+
"name": "_mainMenu",
|
|
106971
|
+
"privacy": "private",
|
|
106972
|
+
"return": {
|
|
106973
|
+
"type": {
|
|
106974
|
+
"text": "SbbMenuElement"
|
|
106975
|
+
}
|
|
107026
106976
|
},
|
|
107027
|
-
"
|
|
107028
|
-
"default": "false",
|
|
107029
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107030
|
-
"inheritedFrom": {
|
|
107031
|
-
"name": "SbbFormAssociatedMixin",
|
|
107032
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107033
|
-
}
|
|
106977
|
+
"description": "The outermost menu."
|
|
107034
106978
|
},
|
|
107035
106979
|
{
|
|
107036
106980
|
"kind": "method",
|
|
107037
|
-
"name": "
|
|
107038
|
-
"privacy": "
|
|
106981
|
+
"name": "_isNested",
|
|
106982
|
+
"privacy": "private",
|
|
107039
106983
|
"return": {
|
|
107040
106984
|
"type": {
|
|
107041
106985
|
"text": "boolean"
|
|
107042
106986
|
}
|
|
107043
|
-
},
|
|
107044
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
107045
|
-
"inheritedFrom": {
|
|
107046
|
-
"name": "SbbFormAssociatedMixin",
|
|
107047
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107048
106987
|
}
|
|
107049
106988
|
},
|
|
107050
106989
|
{
|
|
107051
106990
|
"kind": "method",
|
|
107052
|
-
"name": "
|
|
107053
|
-
"privacy": "
|
|
106991
|
+
"name": "_updateNestedInert",
|
|
106992
|
+
"privacy": "private",
|
|
107054
106993
|
"return": {
|
|
107055
106994
|
"type": {
|
|
107056
|
-
"text": "
|
|
106995
|
+
"text": "void"
|
|
107057
106996
|
}
|
|
107058
|
-
},
|
|
107059
|
-
"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.",
|
|
107060
|
-
"inheritedFrom": {
|
|
107061
|
-
"name": "SbbFormAssociatedMixin",
|
|
107062
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107063
106997
|
}
|
|
107064
106998
|
},
|
|
107065
106999
|
{
|
|
107066
107000
|
"kind": "method",
|
|
107067
|
-
"name": "
|
|
107068
|
-
"privacy": "
|
|
107001
|
+
"name": "_handleMouseOver",
|
|
107002
|
+
"privacy": "private",
|
|
107069
107003
|
"return": {
|
|
107070
107004
|
"type": {
|
|
107071
107005
|
"text": "void"
|
|
@@ -107073,260 +107007,170 @@
|
|
|
107073
107007
|
},
|
|
107074
107008
|
"parameters": [
|
|
107075
107009
|
{
|
|
107076
|
-
"name": "
|
|
107010
|
+
"name": "event",
|
|
107077
107011
|
"type": {
|
|
107078
|
-
"text": "
|
|
107012
|
+
"text": "MouseEvent"
|
|
107079
107013
|
}
|
|
107080
107014
|
}
|
|
107081
|
-
]
|
|
107082
|
-
"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.",
|
|
107083
|
-
"inheritedFrom": {
|
|
107084
|
-
"name": "SbbFormAssociatedMixin",
|
|
107085
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107086
|
-
}
|
|
107015
|
+
]
|
|
107087
107016
|
},
|
|
107088
107017
|
{
|
|
107089
107018
|
"kind": "method",
|
|
107090
|
-
"name": "
|
|
107019
|
+
"name": "_onMenuAnimationEnd",
|
|
107091
107020
|
"privacy": "private",
|
|
107092
107021
|
"return": {
|
|
107093
107022
|
"type": {
|
|
107094
|
-
"text": "
|
|
107095
|
-
}
|
|
107096
|
-
},
|
|
107097
|
-
"inheritedFrom": {
|
|
107098
|
-
"name": "SbbFormAssociatedMixin",
|
|
107099
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107100
|
-
}
|
|
107101
|
-
},
|
|
107102
|
-
{
|
|
107103
|
-
"kind": "method",
|
|
107104
|
-
"name": "updateFormValue",
|
|
107105
|
-
"privacy": "protected",
|
|
107106
|
-
"return": {
|
|
107107
|
-
"type": {
|
|
107108
|
-
"text": "void"
|
|
107109
|
-
}
|
|
107110
|
-
},
|
|
107111
|
-
"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",
|
|
107112
|
-
"inheritedFrom": {
|
|
107113
|
-
"name": "SbbFormAssociatedMixin",
|
|
107114
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107115
|
-
}
|
|
107116
|
-
},
|
|
107117
|
-
{
|
|
107118
|
-
"kind": "method",
|
|
107119
|
-
"name": "formState",
|
|
107120
|
-
"privacy": "protected",
|
|
107121
|
-
"return": {
|
|
107122
|
-
"type": {
|
|
107123
|
-
"text": "FormRestoreState"
|
|
107124
|
-
}
|
|
107125
|
-
},
|
|
107126
|
-
"inheritedFrom": {
|
|
107127
|
-
"name": "SbbFormAssociatedMixin",
|
|
107128
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107129
|
-
}
|
|
107130
|
-
},
|
|
107131
|
-
{
|
|
107132
|
-
"kind": "method",
|
|
107133
|
-
"name": "setValidityFlag",
|
|
107134
|
-
"privacy": "protected",
|
|
107135
|
-
"return": {
|
|
107136
|
-
"type": {
|
|
107137
|
-
"text": "void"
|
|
107023
|
+
"text": "void"
|
|
107138
107024
|
}
|
|
107139
107025
|
},
|
|
107140
107026
|
"parameters": [
|
|
107141
107027
|
{
|
|
107142
|
-
"name": "
|
|
107143
|
-
"type": {
|
|
107144
|
-
"text": "T"
|
|
107145
|
-
}
|
|
107146
|
-
},
|
|
107147
|
-
{
|
|
107148
|
-
"name": "message",
|
|
107149
|
-
"type": {
|
|
107150
|
-
"text": "string"
|
|
107151
|
-
}
|
|
107152
|
-
},
|
|
107153
|
-
{
|
|
107154
|
-
"name": "flagValue",
|
|
107155
|
-
"optional": true,
|
|
107028
|
+
"name": "event",
|
|
107156
107029
|
"type": {
|
|
107157
|
-
"text": "
|
|
107030
|
+
"text": "AnimationEvent"
|
|
107158
107031
|
}
|
|
107159
107032
|
}
|
|
107160
|
-
]
|
|
107161
|
-
"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).",
|
|
107162
|
-
"inheritedFrom": {
|
|
107163
|
-
"name": "SbbFormAssociatedMixin",
|
|
107164
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107165
|
-
}
|
|
107033
|
+
]
|
|
107166
107034
|
},
|
|
107167
107035
|
{
|
|
107168
107036
|
"kind": "method",
|
|
107169
|
-
"name": "
|
|
107170
|
-
"privacy": "
|
|
107037
|
+
"name": "_setMenuPosition",
|
|
107038
|
+
"privacy": "private",
|
|
107171
107039
|
"return": {
|
|
107172
107040
|
"type": {
|
|
107173
107041
|
"text": "void"
|
|
107174
107042
|
}
|
|
107175
|
-
},
|
|
107176
|
-
"parameters": [
|
|
107177
|
-
{
|
|
107178
|
-
"name": "flag",
|
|
107179
|
-
"type": {
|
|
107180
|
-
"text": "T"
|
|
107181
|
-
}
|
|
107182
|
-
}
|
|
107183
|
-
],
|
|
107184
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107185
|
-
"inheritedFrom": {
|
|
107186
|
-
"name": "SbbFormAssociatedMixin",
|
|
107187
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107188
107043
|
}
|
|
107189
107044
|
},
|
|
107190
107045
|
{
|
|
107191
107046
|
"kind": "method",
|
|
107192
|
-
"name": "
|
|
107193
|
-
"privacy": "
|
|
107047
|
+
"name": "_syncNegative",
|
|
107048
|
+
"privacy": "private",
|
|
107194
107049
|
"return": {
|
|
107195
107050
|
"type": {
|
|
107196
107051
|
"text": "void"
|
|
107197
107052
|
}
|
|
107198
|
-
},
|
|
107199
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
107200
|
-
"inheritedFrom": {
|
|
107201
|
-
"name": "SbbFormAssociatedMixin",
|
|
107202
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107203
107053
|
}
|
|
107204
107054
|
},
|
|
107205
107055
|
{
|
|
107206
107056
|
"kind": "method",
|
|
107207
|
-
"name": "
|
|
107208
|
-
"privacy": "
|
|
107057
|
+
"name": "_isMobile",
|
|
107058
|
+
"privacy": "private",
|
|
107209
107059
|
"return": {
|
|
107210
107060
|
"type": {
|
|
107211
107061
|
"text": "boolean"
|
|
107212
107062
|
}
|
|
107213
|
-
},
|
|
107214
|
-
"parameters": [
|
|
107215
|
-
{
|
|
107216
|
-
"name": "name",
|
|
107217
|
-
"type": {
|
|
107218
|
-
"text": "PropertyKey | undefined"
|
|
107219
|
-
}
|
|
107220
|
-
}
|
|
107221
|
-
],
|
|
107222
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
107223
|
-
"inheritedFrom": {
|
|
107224
|
-
"name": "SbbFormAssociatedMixin",
|
|
107225
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107226
107063
|
}
|
|
107227
107064
|
},
|
|
107228
107065
|
{
|
|
107229
|
-
"kind": "
|
|
107230
|
-
"name": "
|
|
107231
|
-
"privacy": "
|
|
107232
|
-
"
|
|
107233
|
-
|
|
107234
|
-
|
|
107235
|
-
|
|
107066
|
+
"kind": "field",
|
|
107067
|
+
"name": "events",
|
|
107068
|
+
"privacy": "public",
|
|
107069
|
+
"static": true,
|
|
107070
|
+
"readonly": true,
|
|
107071
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
107072
|
+
"type": {
|
|
107073
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
107236
107074
|
},
|
|
107237
107075
|
"inheritedFrom": {
|
|
107238
|
-
"name": "
|
|
107239
|
-
"module": "core/
|
|
107076
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107077
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107240
107078
|
}
|
|
107241
107079
|
},
|
|
107242
107080
|
{
|
|
107243
107081
|
"kind": "field",
|
|
107244
|
-
"name": "
|
|
107245
|
-
"privacy": "
|
|
107246
|
-
"description": "
|
|
107247
|
-
"
|
|
107248
|
-
|
|
107249
|
-
|
|
107250
|
-
|
|
107251
|
-
}
|
|
107252
|
-
],
|
|
107082
|
+
"name": "state",
|
|
107083
|
+
"privacy": "protected",
|
|
107084
|
+
"description": "The state of the component.",
|
|
107085
|
+
"type": {
|
|
107086
|
+
"text": "SbbOpenedClosedState"
|
|
107087
|
+
},
|
|
107088
|
+
"default": "'closed'",
|
|
107253
107089
|
"inheritedFrom": {
|
|
107254
|
-
"name": "
|
|
107255
|
-
"module": "core/base-elements/
|
|
107090
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107091
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107256
107092
|
}
|
|
107257
107093
|
},
|
|
107258
107094
|
{
|
|
107259
107095
|
"kind": "field",
|
|
107260
|
-
"name": "
|
|
107096
|
+
"name": "_state",
|
|
107097
|
+
"type": {
|
|
107098
|
+
"text": "SbbOpenedClosedState"
|
|
107099
|
+
},
|
|
107261
107100
|
"privacy": "private",
|
|
107262
107101
|
"inheritedFrom": {
|
|
107263
|
-
"name": "
|
|
107264
|
-
"module": "core/base-elements/
|
|
107102
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107103
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107265
107104
|
}
|
|
107266
107105
|
},
|
|
107267
107106
|
{
|
|
107268
107107
|
"kind": "field",
|
|
107269
|
-
"name": "
|
|
107270
|
-
"
|
|
107271
|
-
|
|
107272
|
-
|
|
107273
|
-
|
|
107274
|
-
|
|
107275
|
-
|
|
107276
|
-
}
|
|
107277
|
-
],
|
|
107108
|
+
"name": "isOpen",
|
|
107109
|
+
"type": {
|
|
107110
|
+
"text": "boolean"
|
|
107111
|
+
},
|
|
107112
|
+
"privacy": "public",
|
|
107113
|
+
"description": "Whether the element is open.",
|
|
107114
|
+
"readonly": true,
|
|
107278
107115
|
"inheritedFrom": {
|
|
107279
|
-
"name": "
|
|
107280
|
-
"module": "core/base-elements/
|
|
107116
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107117
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107281
107118
|
}
|
|
107282
107119
|
},
|
|
107283
107120
|
{
|
|
107284
|
-
"kind": "
|
|
107285
|
-
"name": "
|
|
107286
|
-
"privacy": "
|
|
107121
|
+
"kind": "method",
|
|
107122
|
+
"name": "dispatchBeforeOpenEvent",
|
|
107123
|
+
"privacy": "protected",
|
|
107124
|
+
"return": {
|
|
107125
|
+
"type": {
|
|
107126
|
+
"text": "boolean"
|
|
107127
|
+
}
|
|
107128
|
+
},
|
|
107287
107129
|
"inheritedFrom": {
|
|
107288
|
-
"name": "
|
|
107289
|
-
"module": "core/base-elements/
|
|
107130
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107131
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107290
107132
|
}
|
|
107291
107133
|
},
|
|
107292
107134
|
{
|
|
107293
|
-
"kind": "
|
|
107294
|
-
"name": "
|
|
107295
|
-
"type": {
|
|
107296
|
-
"text": "boolean | undefined"
|
|
107297
|
-
},
|
|
107135
|
+
"kind": "method",
|
|
107136
|
+
"name": "dispatchOpenEvent",
|
|
107298
107137
|
"privacy": "protected",
|
|
107299
|
-
"
|
|
107138
|
+
"return": {
|
|
107139
|
+
"type": {
|
|
107140
|
+
"text": "boolean"
|
|
107141
|
+
}
|
|
107142
|
+
},
|
|
107300
107143
|
"inheritedFrom": {
|
|
107301
|
-
"name": "
|
|
107302
|
-
"module": "core/base-elements/
|
|
107144
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107145
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107303
107146
|
}
|
|
107304
107147
|
},
|
|
107305
107148
|
{
|
|
107306
|
-
"kind": "
|
|
107307
|
-
"name": "
|
|
107308
|
-
"type": {
|
|
107309
|
-
"text": "boolean | undefined"
|
|
107310
|
-
},
|
|
107149
|
+
"kind": "method",
|
|
107150
|
+
"name": "dispatchBeforeCloseEvent",
|
|
107311
107151
|
"privacy": "protected",
|
|
107312
|
-
"
|
|
107152
|
+
"return": {
|
|
107153
|
+
"type": {
|
|
107154
|
+
"text": "boolean"
|
|
107155
|
+
}
|
|
107156
|
+
},
|
|
107313
107157
|
"inheritedFrom": {
|
|
107314
|
-
"name": "
|
|
107315
|
-
"module": "core/base-elements/
|
|
107158
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107159
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107316
107160
|
}
|
|
107317
107161
|
},
|
|
107318
107162
|
{
|
|
107319
107163
|
"kind": "method",
|
|
107320
|
-
"name": "
|
|
107164
|
+
"name": "dispatchCloseEvent",
|
|
107321
107165
|
"privacy": "protected",
|
|
107322
107166
|
"return": {
|
|
107323
107167
|
"type": {
|
|
107324
|
-
"text": "
|
|
107168
|
+
"text": "boolean"
|
|
107325
107169
|
}
|
|
107326
107170
|
},
|
|
107327
107171
|
"inheritedFrom": {
|
|
107328
|
-
"name": "
|
|
107329
|
-
"module": "core/base-elements/
|
|
107172
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107173
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107330
107174
|
}
|
|
107331
107175
|
},
|
|
107332
107176
|
{
|
|
@@ -107435,110 +107279,66 @@
|
|
|
107435
107279
|
}
|
|
107436
107280
|
}
|
|
107437
107281
|
],
|
|
107438
|
-
"
|
|
107439
|
-
{
|
|
107440
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
107441
|
-
"module": "core/mixins.js"
|
|
107442
|
-
},
|
|
107282
|
+
"attributes": [
|
|
107443
107283
|
{
|
|
107444
|
-
"name": "
|
|
107445
|
-
"
|
|
107284
|
+
"name": "trigger",
|
|
107285
|
+
"type": {
|
|
107286
|
+
"text": "HTMLElement | null"
|
|
107287
|
+
},
|
|
107288
|
+
"default": "null",
|
|
107289
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
107290
|
+
"fieldName": "trigger"
|
|
107446
107291
|
}
|
|
107447
107292
|
],
|
|
107448
107293
|
"superclass": {
|
|
107449
|
-
"name": "
|
|
107294
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107450
107295
|
"module": "core/base-elements.js"
|
|
107451
107296
|
},
|
|
107452
|
-
"tagName": "sbb-menu
|
|
107297
|
+
"tagName": "sbb-menu",
|
|
107453
107298
|
"customElement": true,
|
|
107454
|
-
"
|
|
107299
|
+
"events": [
|
|
107455
107300
|
{
|
|
107456
|
-
"name": "
|
|
107457
|
-
"type": {
|
|
107458
|
-
"text": "boolean"
|
|
107459
|
-
},
|
|
107460
|
-
"default": "false",
|
|
107461
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107462
|
-
"fieldName": "disabledInteractive",
|
|
107463
|
-
"inheritedFrom": {
|
|
107464
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
107465
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107466
|
-
}
|
|
107467
|
-
},
|
|
107468
|
-
{
|
|
107469
|
-
"name": "disabled",
|
|
107470
|
-
"description": "Whether the component is disabled.",
|
|
107471
|
-
"default": "false",
|
|
107472
|
-
"type": {
|
|
107473
|
-
"text": "boolean"
|
|
107474
|
-
},
|
|
107475
|
-
"fieldName": "disabled",
|
|
107476
|
-
"inheritedFrom": {
|
|
107477
|
-
"name": "SbbDisabledMixin",
|
|
107478
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107479
|
-
}
|
|
107480
|
-
},
|
|
107481
|
-
{
|
|
107482
|
-
"name": "icon-name",
|
|
107483
|
-
"type": {
|
|
107484
|
-
"text": "string"
|
|
107485
|
-
},
|
|
107486
|
-
"default": "''",
|
|
107487
|
-
"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.",
|
|
107488
|
-
"fieldName": "iconName",
|
|
107489
|
-
"inheritedFrom": {
|
|
107490
|
-
"name": "SbbIconNameMixin",
|
|
107491
|
-
"module": "icon/icon-name-mixin.js"
|
|
107492
|
-
}
|
|
107493
|
-
},
|
|
107494
|
-
{
|
|
107495
|
-
"name": "value",
|
|
107301
|
+
"name": "beforeopen",
|
|
107496
107302
|
"type": {
|
|
107497
|
-
"text": "
|
|
107303
|
+
"text": "Event"
|
|
107498
107304
|
},
|
|
107499
|
-
"
|
|
107500
|
-
"description": "Value of the form element.",
|
|
107501
|
-
"fieldName": "value",
|
|
107305
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
107502
107306
|
"inheritedFrom": {
|
|
107503
|
-
"name": "
|
|
107504
|
-
"module": "core/base-elements/
|
|
107307
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107308
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107505
107309
|
}
|
|
107506
107310
|
},
|
|
107507
107311
|
{
|
|
107508
|
-
"name": "
|
|
107509
|
-
"description": "The type attribute to use for the button.",
|
|
107510
|
-
"default": "'button'",
|
|
107312
|
+
"name": "open",
|
|
107511
107313
|
"type": {
|
|
107512
|
-
"text": "
|
|
107314
|
+
"text": "Event"
|
|
107513
107315
|
},
|
|
107514
|
-
"
|
|
107316
|
+
"description": "Emits whenever the component is opened.",
|
|
107515
107317
|
"inheritedFrom": {
|
|
107516
|
-
"name": "
|
|
107517
|
-
"module": "core/base-elements/
|
|
107318
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107319
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107518
107320
|
}
|
|
107519
107321
|
},
|
|
107520
107322
|
{
|
|
107521
|
-
"name": "
|
|
107522
|
-
"description": "The `<form>` element to associate the button with.",
|
|
107323
|
+
"name": "beforeclose",
|
|
107523
107324
|
"type": {
|
|
107524
|
-
"text": "
|
|
107325
|
+
"text": "Event"
|
|
107525
107326
|
},
|
|
107526
|
-
"
|
|
107327
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
107527
107328
|
"inheritedFrom": {
|
|
107528
|
-
"name": "
|
|
107529
|
-
"module": "core/base-elements/
|
|
107329
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107330
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107530
107331
|
}
|
|
107531
107332
|
},
|
|
107532
107333
|
{
|
|
107533
|
-
"name": "
|
|
107534
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
107334
|
+
"name": "close",
|
|
107535
107335
|
"type": {
|
|
107536
|
-
"text": "
|
|
107336
|
+
"text": "Event"
|
|
107537
107337
|
},
|
|
107538
|
-
"
|
|
107338
|
+
"description": "Emits whenever the component is closed.",
|
|
107539
107339
|
"inheritedFrom": {
|
|
107540
|
-
"name": "
|
|
107541
|
-
"module": "core/
|
|
107340
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107341
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107542
107342
|
}
|
|
107543
107343
|
}
|
|
107544
107344
|
]
|
|
@@ -107547,33 +107347,37 @@
|
|
|
107547
107347
|
"exports": [
|
|
107548
107348
|
{
|
|
107549
107349
|
"kind": "js",
|
|
107550
|
-
"name": "
|
|
107350
|
+
"name": "SbbMenuElement",
|
|
107551
107351
|
"declaration": {
|
|
107552
|
-
"name": "
|
|
107553
|
-
"module": "menu/menu
|
|
107352
|
+
"name": "SbbMenuElement",
|
|
107353
|
+
"module": "menu/menu/menu.component.js"
|
|
107554
107354
|
}
|
|
107555
107355
|
}
|
|
107556
107356
|
]
|
|
107557
107357
|
},
|
|
107558
107358
|
{
|
|
107559
107359
|
"kind": "javascript-module",
|
|
107560
|
-
"path": "menu/menu/menu.component.js",
|
|
107360
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
107561
107361
|
"declarations": [
|
|
107562
107362
|
{
|
|
107563
107363
|
"kind": "class",
|
|
107564
|
-
"description": "It displays a
|
|
107565
|
-
"name": "
|
|
107364
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
107365
|
+
"name": "SbbMenuButtonElement",
|
|
107566
107366
|
"cssProperties": [
|
|
107567
107367
|
{
|
|
107568
|
-
"description": "
|
|
107569
|
-
"name": "--sbb-menu-
|
|
107570
|
-
"default": "var(--sbb-
|
|
107368
|
+
"description": "Can be used to modify horizontal padding.",
|
|
107369
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
107370
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
107571
107371
|
}
|
|
107572
107372
|
],
|
|
107573
107373
|
"slots": [
|
|
107574
107374
|
{
|
|
107575
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
107375
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
107576
107376
|
"name": ""
|
|
107377
|
+
},
|
|
107378
|
+
{
|
|
107379
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
107380
|
+
"name": "icon"
|
|
107577
107381
|
}
|
|
107578
107382
|
],
|
|
107579
107383
|
"members": [
|
|
@@ -107590,236 +107394,261 @@
|
|
|
107590
107394
|
"name": "SbbElement",
|
|
107591
107395
|
"module": "core/base-elements/element.js"
|
|
107592
107396
|
},
|
|
107593
|
-
"default": "'sbb-menu'"
|
|
107397
|
+
"default": "'sbb-menu-button'"
|
|
107594
107398
|
},
|
|
107595
107399
|
{
|
|
107596
107400
|
"kind": "field",
|
|
107597
107401
|
"name": "role",
|
|
107598
107402
|
"type": {
|
|
107599
|
-
"text": "
|
|
107403
|
+
"text": "ElementInternals['role']"
|
|
107600
107404
|
},
|
|
107601
107405
|
"privacy": "public",
|
|
107602
107406
|
"static": true,
|
|
107603
107407
|
"readonly": true,
|
|
107604
|
-
"default": "'
|
|
107408
|
+
"default": "'menuitem'",
|
|
107409
|
+
"inheritedFrom": {
|
|
107410
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107411
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107412
|
+
}
|
|
107605
107413
|
},
|
|
107606
107414
|
{
|
|
107607
107415
|
"kind": "field",
|
|
107608
|
-
"name": "
|
|
107416
|
+
"name": "disabledInteractive",
|
|
107609
107417
|
"type": {
|
|
107610
|
-
"text": "
|
|
107418
|
+
"text": "boolean"
|
|
107611
107419
|
},
|
|
107612
107420
|
"privacy": "public",
|
|
107613
|
-
"default": "
|
|
107614
|
-
"description": "
|
|
107615
|
-
"attribute": "
|
|
107421
|
+
"default": "false",
|
|
107422
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107423
|
+
"attribute": "disabled-interactive",
|
|
107424
|
+
"reflects": true,
|
|
107425
|
+
"inheritedFrom": {
|
|
107426
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107427
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107428
|
+
}
|
|
107616
107429
|
},
|
|
107617
107430
|
{
|
|
107618
107431
|
"kind": "field",
|
|
107619
|
-
"name": "
|
|
107432
|
+
"name": "disabled",
|
|
107433
|
+
"privacy": "public",
|
|
107434
|
+
"description": "Whether the component is disabled.",
|
|
107435
|
+
"default": "false",
|
|
107620
107436
|
"type": {
|
|
107621
|
-
"text": "
|
|
107437
|
+
"text": "boolean"
|
|
107622
107438
|
},
|
|
107623
|
-
"
|
|
107439
|
+
"attribute": "disabled",
|
|
107440
|
+
"reflects": true,
|
|
107441
|
+
"inheritedFrom": {
|
|
107442
|
+
"name": "SbbDisabledMixin",
|
|
107443
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107444
|
+
}
|
|
107624
107445
|
},
|
|
107625
107446
|
{
|
|
107626
107447
|
"kind": "field",
|
|
107627
|
-
"name": "
|
|
107628
|
-
"type": {
|
|
107629
|
-
"text": "HTMLElement | null"
|
|
107630
|
-
},
|
|
107448
|
+
"name": "#disabled",
|
|
107631
107449
|
"privacy": "private",
|
|
107632
|
-
"default": "null"
|
|
107633
|
-
},
|
|
107634
|
-
{
|
|
107635
|
-
"kind": "field",
|
|
107636
|
-
"name": "_triggerAbortController",
|
|
107637
|
-
"type": {
|
|
107638
|
-
"text": "AbortController"
|
|
107639
|
-
},
|
|
107640
|
-
"privacy": "private"
|
|
107641
|
-
},
|
|
107642
|
-
{
|
|
107643
|
-
"kind": "field",
|
|
107644
|
-
"name": "_isPointerDownEventOnMenu",
|
|
107645
107450
|
"type": {
|
|
107646
107451
|
"text": "boolean"
|
|
107647
107452
|
},
|
|
107648
|
-
"
|
|
107649
|
-
"
|
|
107453
|
+
"default": "false",
|
|
107454
|
+
"inheritedFrom": {
|
|
107455
|
+
"name": "SbbDisabledMixin",
|
|
107456
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107457
|
+
}
|
|
107650
107458
|
},
|
|
107651
107459
|
{
|
|
107652
|
-
"kind": "
|
|
107653
|
-
"name": "
|
|
107654
|
-
"
|
|
107655
|
-
|
|
107460
|
+
"kind": "method",
|
|
107461
|
+
"name": "isDisabledExternally",
|
|
107462
|
+
"privacy": "protected",
|
|
107463
|
+
"return": {
|
|
107464
|
+
"type": {
|
|
107465
|
+
"text": "boolean"
|
|
107466
|
+
}
|
|
107656
107467
|
},
|
|
107657
|
-
"
|
|
107658
|
-
|
|
107659
|
-
|
|
107660
|
-
|
|
107661
|
-
|
|
107662
|
-
"privacy": "private",
|
|
107663
|
-
"default": "new SbbEscapableOverlayController(this)"
|
|
107664
|
-
},
|
|
107665
|
-
{
|
|
107666
|
-
"kind": "field",
|
|
107667
|
-
"name": "_focusTrapController",
|
|
107668
|
-
"privacy": "private",
|
|
107669
|
-
"default": "new SbbFocusTrapController(this)"
|
|
107670
|
-
},
|
|
107671
|
-
{
|
|
107672
|
-
"kind": "field",
|
|
107673
|
-
"name": "_scrollHandler",
|
|
107674
|
-
"privacy": "private",
|
|
107675
|
-
"default": "new SbbScrollHandler()"
|
|
107676
|
-
},
|
|
107677
|
-
{
|
|
107678
|
-
"kind": "field",
|
|
107679
|
-
"name": "_inertController",
|
|
107680
|
-
"privacy": "private",
|
|
107681
|
-
"default": "new SbbInertController(this)"
|
|
107682
|
-
},
|
|
107683
|
-
{
|
|
107684
|
-
"kind": "field",
|
|
107685
|
-
"name": "_mobileBreakpoint",
|
|
107686
|
-
"privacy": "private",
|
|
107687
|
-
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
107688
|
-
},
|
|
107689
|
-
{
|
|
107690
|
-
"kind": "field",
|
|
107691
|
-
"name": "_mediaMatcher",
|
|
107692
|
-
"privacy": "private",
|
|
107693
|
-
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
107694
|
-
},
|
|
107695
|
-
{
|
|
107696
|
-
"kind": "field",
|
|
107697
|
-
"name": "_darkModeController",
|
|
107698
|
-
"privacy": "private",
|
|
107699
|
-
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
107700
|
-
},
|
|
107701
|
-
{
|
|
107702
|
-
"kind": "field",
|
|
107703
|
-
"name": "_language",
|
|
107704
|
-
"privacy": "private",
|
|
107705
|
-
"default": "new SbbLanguageController(this)"
|
|
107468
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107469
|
+
"inheritedFrom": {
|
|
107470
|
+
"name": "SbbDisabledMixin",
|
|
107471
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107472
|
+
}
|
|
107706
107473
|
},
|
|
107707
107474
|
{
|
|
107708
107475
|
"kind": "field",
|
|
107709
|
-
"name": "
|
|
107476
|
+
"name": "styles",
|
|
107710
107477
|
"type": {
|
|
107711
|
-
"text": "
|
|
107478
|
+
"text": "CSSResultGroup"
|
|
107712
107479
|
},
|
|
107713
|
-
"privacy": "
|
|
107714
|
-
"
|
|
107480
|
+
"privacy": "public",
|
|
107481
|
+
"static": true,
|
|
107482
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
107483
|
+
"inheritedFrom": {
|
|
107484
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107485
|
+
"module": "menu/common/menu-action-common.js"
|
|
107486
|
+
}
|
|
107715
107487
|
},
|
|
107716
107488
|
{
|
|
107717
107489
|
"kind": "method",
|
|
107718
|
-
"name": "
|
|
107719
|
-
"privacy": "
|
|
107490
|
+
"name": "renderTemplate",
|
|
107491
|
+
"privacy": "protected",
|
|
107720
107492
|
"return": {
|
|
107721
107493
|
"type": {
|
|
107722
|
-
"text": "
|
|
107494
|
+
"text": "TemplateResult"
|
|
107723
107495
|
}
|
|
107724
107496
|
},
|
|
107725
|
-
"description": "
|
|
107497
|
+
"description": "Override this method to render the component template.",
|
|
107726
107498
|
"inheritedFrom": {
|
|
107727
|
-
"name": "
|
|
107728
|
-
"module": "core/base-elements/
|
|
107499
|
+
"name": "SbbActionBaseElement",
|
|
107500
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107729
107501
|
}
|
|
107730
107502
|
},
|
|
107731
107503
|
{
|
|
107732
|
-
"kind": "
|
|
107733
|
-
"name": "
|
|
107734
|
-
"
|
|
107735
|
-
|
|
107736
|
-
"type": {
|
|
107737
|
-
"text": "void"
|
|
107738
|
-
}
|
|
107504
|
+
"kind": "field",
|
|
107505
|
+
"name": "iconName",
|
|
107506
|
+
"type": {
|
|
107507
|
+
"text": "string"
|
|
107739
107508
|
},
|
|
107740
|
-
"
|
|
107509
|
+
"privacy": "public",
|
|
107510
|
+
"default": "''",
|
|
107511
|
+
"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.",
|
|
107512
|
+
"attribute": "icon-name",
|
|
107741
107513
|
"inheritedFrom": {
|
|
107742
|
-
"name": "
|
|
107743
|
-
"module": "
|
|
107514
|
+
"name": "SbbIconNameMixin",
|
|
107515
|
+
"module": "icon/icon-name-mixin.js"
|
|
107744
107516
|
}
|
|
107745
107517
|
},
|
|
107746
107518
|
{
|
|
107747
107519
|
"kind": "method",
|
|
107748
|
-
"name": "
|
|
107749
|
-
"privacy": "
|
|
107520
|
+
"name": "renderIconSlot",
|
|
107521
|
+
"privacy": "protected",
|
|
107750
107522
|
"return": {
|
|
107751
107523
|
"type": {
|
|
107752
|
-
"text": "
|
|
107524
|
+
"text": "TemplateResult"
|
|
107753
107525
|
}
|
|
107754
107526
|
},
|
|
107755
|
-
"
|
|
107527
|
+
"parameters": [
|
|
107528
|
+
{
|
|
107529
|
+
"name": "classname",
|
|
107530
|
+
"optional": true,
|
|
107531
|
+
"type": {
|
|
107532
|
+
"text": "string"
|
|
107533
|
+
}
|
|
107534
|
+
}
|
|
107535
|
+
],
|
|
107756
107536
|
"inheritedFrom": {
|
|
107757
|
-
"name": "
|
|
107758
|
-
"module": "
|
|
107537
|
+
"name": "SbbIconNameMixin",
|
|
107538
|
+
"module": "icon/icon-name-mixin.js"
|
|
107759
107539
|
}
|
|
107760
107540
|
},
|
|
107761
107541
|
{
|
|
107762
107542
|
"kind": "method",
|
|
107763
|
-
"name": "
|
|
107764
|
-
"privacy": "
|
|
107543
|
+
"name": "renderIconName",
|
|
107544
|
+
"privacy": "protected",
|
|
107765
107545
|
"return": {
|
|
107766
107546
|
"type": {
|
|
107767
|
-
"text": "
|
|
107547
|
+
"text": "string"
|
|
107768
107548
|
}
|
|
107769
107549
|
},
|
|
107770
|
-
"
|
|
107550
|
+
"inheritedFrom": {
|
|
107551
|
+
"name": "SbbIconNameMixin",
|
|
107552
|
+
"module": "icon/icon-name-mixin.js"
|
|
107553
|
+
}
|
|
107771
107554
|
},
|
|
107772
107555
|
{
|
|
107773
107556
|
"kind": "method",
|
|
107774
|
-
"name": "
|
|
107557
|
+
"name": "_renderIconName",
|
|
107775
107558
|
"privacy": "private",
|
|
107776
107559
|
"return": {
|
|
107777
107560
|
"type": {
|
|
107778
|
-
"text": "
|
|
107561
|
+
"text": "string"
|
|
107779
107562
|
}
|
|
107780
107563
|
},
|
|
107781
|
-
"
|
|
107782
|
-
|
|
107783
|
-
|
|
107784
|
-
|
|
107785
|
-
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
107786
|
-
"optional": true
|
|
107787
|
-
}
|
|
107788
|
-
]
|
|
107564
|
+
"inheritedFrom": {
|
|
107565
|
+
"name": "SbbIconNameMixin",
|
|
107566
|
+
"module": "icon/icon-name-mixin.js"
|
|
107567
|
+
}
|
|
107789
107568
|
},
|
|
107790
107569
|
{
|
|
107791
|
-
"kind": "
|
|
107792
|
-
"name": "
|
|
107570
|
+
"kind": "field",
|
|
107571
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
107572
|
+
"type": {
|
|
107573
|
+
"text": "array"
|
|
107574
|
+
},
|
|
107793
107575
|
"privacy": "private",
|
|
107794
|
-
"
|
|
107795
|
-
|
|
107796
|
-
|
|
107797
|
-
|
|
107576
|
+
"readonly": true,
|
|
107577
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
107578
|
+
"inheritedFrom": {
|
|
107579
|
+
"name": "SbbButtonBaseElement",
|
|
107580
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107798
107581
|
}
|
|
107799
107582
|
},
|
|
107800
107583
|
{
|
|
107801
|
-
"kind": "
|
|
107802
|
-
"name": "
|
|
107584
|
+
"kind": "field",
|
|
107585
|
+
"name": "value",
|
|
107586
|
+
"type": {
|
|
107587
|
+
"text": "string"
|
|
107588
|
+
},
|
|
107589
|
+
"privacy": "public",
|
|
107590
|
+
"inheritedFrom": {
|
|
107591
|
+
"name": "SbbButtonBaseElement",
|
|
107592
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107593
|
+
},
|
|
107594
|
+
"default": "''",
|
|
107595
|
+
"description": "Value of the form element.",
|
|
107596
|
+
"attribute": "value"
|
|
107597
|
+
},
|
|
107598
|
+
{
|
|
107599
|
+
"kind": "field",
|
|
107600
|
+
"name": "type",
|
|
107601
|
+
"privacy": "public",
|
|
107602
|
+
"description": "The type attribute to use for the button.",
|
|
107603
|
+
"default": "'button'",
|
|
107604
|
+
"type": {
|
|
107605
|
+
"text": "SbbButtonType"
|
|
107606
|
+
},
|
|
107607
|
+
"attribute": "type",
|
|
107608
|
+
"inheritedFrom": {
|
|
107609
|
+
"name": "SbbButtonBaseElement",
|
|
107610
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107611
|
+
}
|
|
107612
|
+
},
|
|
107613
|
+
{
|
|
107614
|
+
"kind": "field",
|
|
107615
|
+
"name": "form",
|
|
107616
|
+
"type": {
|
|
107617
|
+
"text": "HTMLFormElement | null"
|
|
107618
|
+
},
|
|
107619
|
+
"privacy": "public",
|
|
107620
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107621
|
+
"inheritedFrom": {
|
|
107622
|
+
"name": "SbbButtonBaseElement",
|
|
107623
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107624
|
+
},
|
|
107625
|
+
"attribute": "form"
|
|
107626
|
+
},
|
|
107627
|
+
{
|
|
107628
|
+
"kind": "field",
|
|
107629
|
+
"name": "_formId",
|
|
107630
|
+
"type": {
|
|
107631
|
+
"text": "string"
|
|
107632
|
+
},
|
|
107803
107633
|
"privacy": "private",
|
|
107804
|
-
"
|
|
107805
|
-
|
|
107806
|
-
|
|
107807
|
-
|
|
107634
|
+
"default": "''",
|
|
107635
|
+
"inheritedFrom": {
|
|
107636
|
+
"name": "SbbButtonBaseElement",
|
|
107637
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107808
107638
|
}
|
|
107809
107639
|
},
|
|
107810
107640
|
{
|
|
107811
|
-
"kind": "
|
|
107812
|
-
"name": "
|
|
107641
|
+
"kind": "field",
|
|
107642
|
+
"name": "_handleButtonClick",
|
|
107813
107643
|
"privacy": "private",
|
|
107814
|
-
"
|
|
107815
|
-
"
|
|
107816
|
-
|
|
107817
|
-
}
|
|
107644
|
+
"inheritedFrom": {
|
|
107645
|
+
"name": "SbbButtonBaseElement",
|
|
107646
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107818
107647
|
}
|
|
107819
107648
|
},
|
|
107820
107649
|
{
|
|
107821
107650
|
"kind": "method",
|
|
107822
|
-
"name": "
|
|
107651
|
+
"name": "_requestSubmit",
|
|
107823
107652
|
"privacy": "private",
|
|
107824
107653
|
"return": {
|
|
107825
107654
|
"type": {
|
|
@@ -107828,117 +107657,220 @@
|
|
|
107828
107657
|
},
|
|
107829
107658
|
"parameters": [
|
|
107830
107659
|
{
|
|
107831
|
-
"name": "
|
|
107660
|
+
"name": "form",
|
|
107832
107661
|
"type": {
|
|
107833
|
-
"text": "
|
|
107662
|
+
"text": "HTMLFormElement"
|
|
107834
107663
|
}
|
|
107835
107664
|
}
|
|
107836
|
-
]
|
|
107665
|
+
],
|
|
107666
|
+
"inheritedFrom": {
|
|
107667
|
+
"name": "SbbButtonBaseElement",
|
|
107668
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107669
|
+
}
|
|
107837
107670
|
},
|
|
107838
107671
|
{
|
|
107839
|
-
"kind": "
|
|
107840
|
-
"name": "
|
|
107672
|
+
"kind": "field",
|
|
107673
|
+
"name": "_formKeyDown",
|
|
107841
107674
|
"privacy": "private",
|
|
107842
|
-
"
|
|
107843
|
-
"
|
|
107844
|
-
|
|
107845
|
-
}
|
|
107675
|
+
"inheritedFrom": {
|
|
107676
|
+
"name": "SbbButtonBaseElement",
|
|
107677
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107846
107678
|
}
|
|
107847
107679
|
},
|
|
107848
107680
|
{
|
|
107849
|
-
"kind": "
|
|
107850
|
-
"name": "
|
|
107851
|
-
"
|
|
107852
|
-
|
|
107853
|
-
|
|
107854
|
-
|
|
107855
|
-
|
|
107681
|
+
"kind": "field",
|
|
107682
|
+
"name": "formAssociated",
|
|
107683
|
+
"type": {
|
|
107684
|
+
"text": "boolean"
|
|
107685
|
+
},
|
|
107686
|
+
"privacy": "public",
|
|
107687
|
+
"static": true,
|
|
107688
|
+
"default": "true",
|
|
107689
|
+
"inheritedFrom": {
|
|
107690
|
+
"name": "SbbFormAssociatedMixin",
|
|
107691
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107856
107692
|
}
|
|
107857
107693
|
},
|
|
107858
107694
|
{
|
|
107859
|
-
"kind": "
|
|
107860
|
-
"name": "
|
|
107861
|
-
"privacy": "
|
|
107862
|
-
"
|
|
107863
|
-
|
|
107864
|
-
|
|
107865
|
-
}
|
|
107695
|
+
"kind": "field",
|
|
107696
|
+
"name": "name",
|
|
107697
|
+
"privacy": "public",
|
|
107698
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107699
|
+
"type": {
|
|
107700
|
+
"text": "string"
|
|
107866
107701
|
},
|
|
107867
|
-
"
|
|
107868
|
-
|
|
107869
|
-
|
|
107870
|
-
|
|
107871
|
-
|
|
107872
|
-
}
|
|
107873
|
-
}
|
|
107874
|
-
]
|
|
107702
|
+
"attribute": "name",
|
|
107703
|
+
"inheritedFrom": {
|
|
107704
|
+
"name": "SbbFormAssociatedMixin",
|
|
107705
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107706
|
+
}
|
|
107875
107707
|
},
|
|
107876
107708
|
{
|
|
107877
107709
|
"kind": "field",
|
|
107878
|
-
"name": "
|
|
107879
|
-
"
|
|
107710
|
+
"name": "validity",
|
|
107711
|
+
"type": {
|
|
107712
|
+
"text": "ValidityState"
|
|
107713
|
+
},
|
|
107714
|
+
"privacy": "public",
|
|
107715
|
+
"description": "Returns the ValidityState object for this element.",
|
|
107716
|
+
"readonly": true,
|
|
107717
|
+
"inheritedFrom": {
|
|
107718
|
+
"name": "SbbFormAssociatedMixin",
|
|
107719
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107720
|
+
}
|
|
107880
107721
|
},
|
|
107881
107722
|
{
|
|
107882
107723
|
"kind": "field",
|
|
107883
|
-
"name": "
|
|
107884
|
-
"
|
|
107724
|
+
"name": "validationMessage",
|
|
107725
|
+
"type": {
|
|
107726
|
+
"text": "string"
|
|
107727
|
+
},
|
|
107728
|
+
"privacy": "public",
|
|
107729
|
+
"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.",
|
|
107730
|
+
"readonly": true,
|
|
107731
|
+
"inheritedFrom": {
|
|
107732
|
+
"name": "SbbFormAssociatedMixin",
|
|
107733
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107734
|
+
}
|
|
107885
107735
|
},
|
|
107886
107736
|
{
|
|
107887
|
-
"kind": "
|
|
107888
|
-
"name": "
|
|
107737
|
+
"kind": "field",
|
|
107738
|
+
"name": "willValidate",
|
|
107739
|
+
"type": {
|
|
107740
|
+
"text": "boolean"
|
|
107741
|
+
},
|
|
107742
|
+
"privacy": "public",
|
|
107743
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
107744
|
+
"readonly": true,
|
|
107745
|
+
"inheritedFrom": {
|
|
107746
|
+
"name": "SbbFormAssociatedMixin",
|
|
107747
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107748
|
+
}
|
|
107749
|
+
},
|
|
107750
|
+
{
|
|
107751
|
+
"kind": "field",
|
|
107752
|
+
"name": "_validityStates",
|
|
107889
107753
|
"privacy": "private",
|
|
107754
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
107755
|
+
"inheritedFrom": {
|
|
107756
|
+
"name": "SbbFormAssociatedMixin",
|
|
107757
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107758
|
+
}
|
|
107759
|
+
},
|
|
107760
|
+
{
|
|
107761
|
+
"kind": "field",
|
|
107762
|
+
"name": "formDisabled",
|
|
107763
|
+
"type": {
|
|
107764
|
+
"text": "boolean"
|
|
107765
|
+
},
|
|
107766
|
+
"privacy": "protected",
|
|
107767
|
+
"default": "false",
|
|
107768
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107769
|
+
"inheritedFrom": {
|
|
107770
|
+
"name": "SbbFormAssociatedMixin",
|
|
107771
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107772
|
+
}
|
|
107773
|
+
},
|
|
107774
|
+
{
|
|
107775
|
+
"kind": "method",
|
|
107776
|
+
"name": "checkValidity",
|
|
107777
|
+
"privacy": "public",
|
|
107890
107778
|
"return": {
|
|
107891
107779
|
"type": {
|
|
107892
|
-
"text": "
|
|
107780
|
+
"text": "boolean"
|
|
107893
107781
|
}
|
|
107894
107782
|
},
|
|
107895
|
-
"description": "
|
|
107783
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
107784
|
+
"inheritedFrom": {
|
|
107785
|
+
"name": "SbbFormAssociatedMixin",
|
|
107786
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107787
|
+
}
|
|
107896
107788
|
},
|
|
107897
107789
|
{
|
|
107898
107790
|
"kind": "method",
|
|
107899
|
-
"name": "
|
|
107900
|
-
"privacy": "
|
|
107791
|
+
"name": "reportValidity",
|
|
107792
|
+
"privacy": "public",
|
|
107901
107793
|
"return": {
|
|
107902
107794
|
"type": {
|
|
107903
|
-
"text": "
|
|
107795
|
+
"text": "boolean"
|
|
107904
107796
|
}
|
|
107797
|
+
},
|
|
107798
|
+
"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.",
|
|
107799
|
+
"inheritedFrom": {
|
|
107800
|
+
"name": "SbbFormAssociatedMixin",
|
|
107801
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107905
107802
|
}
|
|
107906
107803
|
},
|
|
107907
107804
|
{
|
|
107908
107805
|
"kind": "method",
|
|
107909
|
-
"name": "
|
|
107910
|
-
"privacy": "
|
|
107806
|
+
"name": "setCustomValidity",
|
|
107807
|
+
"privacy": "public",
|
|
107911
107808
|
"return": {
|
|
107912
107809
|
"type": {
|
|
107913
|
-
"text": "
|
|
107810
|
+
"text": "void"
|
|
107914
107811
|
}
|
|
107915
107812
|
},
|
|
107916
|
-
"
|
|
107813
|
+
"parameters": [
|
|
107814
|
+
{
|
|
107815
|
+
"name": "message",
|
|
107816
|
+
"type": {
|
|
107817
|
+
"text": "string"
|
|
107818
|
+
}
|
|
107819
|
+
}
|
|
107820
|
+
],
|
|
107821
|
+
"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.",
|
|
107822
|
+
"inheritedFrom": {
|
|
107823
|
+
"name": "SbbFormAssociatedMixin",
|
|
107824
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107825
|
+
}
|
|
107917
107826
|
},
|
|
107918
107827
|
{
|
|
107919
107828
|
"kind": "method",
|
|
107920
|
-
"name": "
|
|
107829
|
+
"name": "_hasDisabledAncestor",
|
|
107921
107830
|
"privacy": "private",
|
|
107922
107831
|
"return": {
|
|
107923
107832
|
"type": {
|
|
107924
107833
|
"text": "boolean"
|
|
107925
107834
|
}
|
|
107835
|
+
},
|
|
107836
|
+
"inheritedFrom": {
|
|
107837
|
+
"name": "SbbFormAssociatedMixin",
|
|
107838
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107926
107839
|
}
|
|
107927
107840
|
},
|
|
107928
107841
|
{
|
|
107929
107842
|
"kind": "method",
|
|
107930
|
-
"name": "
|
|
107931
|
-
"privacy": "
|
|
107843
|
+
"name": "updateFormValue",
|
|
107844
|
+
"privacy": "protected",
|
|
107932
107845
|
"return": {
|
|
107933
107846
|
"type": {
|
|
107934
107847
|
"text": "void"
|
|
107935
107848
|
}
|
|
107849
|
+
},
|
|
107850
|
+
"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",
|
|
107851
|
+
"inheritedFrom": {
|
|
107852
|
+
"name": "SbbFormAssociatedMixin",
|
|
107853
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107936
107854
|
}
|
|
107937
107855
|
},
|
|
107938
107856
|
{
|
|
107939
107857
|
"kind": "method",
|
|
107940
|
-
"name": "
|
|
107941
|
-
"privacy": "
|
|
107858
|
+
"name": "formState",
|
|
107859
|
+
"privacy": "protected",
|
|
107860
|
+
"return": {
|
|
107861
|
+
"type": {
|
|
107862
|
+
"text": "FormRestoreState"
|
|
107863
|
+
}
|
|
107864
|
+
},
|
|
107865
|
+
"inheritedFrom": {
|
|
107866
|
+
"name": "SbbFormAssociatedMixin",
|
|
107867
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107868
|
+
}
|
|
107869
|
+
},
|
|
107870
|
+
{
|
|
107871
|
+
"kind": "method",
|
|
107872
|
+
"name": "setValidityFlag",
|
|
107873
|
+
"privacy": "protected",
|
|
107942
107874
|
"return": {
|
|
107943
107875
|
"type": {
|
|
107944
107876
|
"text": "void"
|
|
@@ -107946,17 +107878,35 @@
|
|
|
107946
107878
|
},
|
|
107947
107879
|
"parameters": [
|
|
107948
107880
|
{
|
|
107949
|
-
"name": "
|
|
107881
|
+
"name": "flag",
|
|
107950
107882
|
"type": {
|
|
107951
|
-
"text": "
|
|
107883
|
+
"text": "T"
|
|
107884
|
+
}
|
|
107885
|
+
},
|
|
107886
|
+
{
|
|
107887
|
+
"name": "message",
|
|
107888
|
+
"type": {
|
|
107889
|
+
"text": "string"
|
|
107890
|
+
}
|
|
107891
|
+
},
|
|
107892
|
+
{
|
|
107893
|
+
"name": "flagValue",
|
|
107894
|
+
"optional": true,
|
|
107895
|
+
"type": {
|
|
107896
|
+
"text": "ValidityStateFlags[T]"
|
|
107952
107897
|
}
|
|
107953
107898
|
}
|
|
107954
|
-
]
|
|
107899
|
+
],
|
|
107900
|
+
"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).",
|
|
107901
|
+
"inheritedFrom": {
|
|
107902
|
+
"name": "SbbFormAssociatedMixin",
|
|
107903
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107904
|
+
}
|
|
107955
107905
|
},
|
|
107956
107906
|
{
|
|
107957
107907
|
"kind": "method",
|
|
107958
|
-
"name": "
|
|
107959
|
-
"privacy": "
|
|
107908
|
+
"name": "removeValidityFlag",
|
|
107909
|
+
"privacy": "protected",
|
|
107960
107910
|
"return": {
|
|
107961
107911
|
"type": {
|
|
107962
107912
|
"text": "void"
|
|
@@ -107964,152 +107914,158 @@
|
|
|
107964
107914
|
},
|
|
107965
107915
|
"parameters": [
|
|
107966
107916
|
{
|
|
107967
|
-
"name": "
|
|
107917
|
+
"name": "flag",
|
|
107968
107918
|
"type": {
|
|
107969
|
-
"text": "
|
|
107919
|
+
"text": "T"
|
|
107970
107920
|
}
|
|
107971
107921
|
}
|
|
107972
|
-
]
|
|
107922
|
+
],
|
|
107923
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107924
|
+
"inheritedFrom": {
|
|
107925
|
+
"name": "SbbFormAssociatedMixin",
|
|
107926
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107927
|
+
}
|
|
107973
107928
|
},
|
|
107974
107929
|
{
|
|
107975
107930
|
"kind": "method",
|
|
107976
|
-
"name": "
|
|
107977
|
-
"privacy": "
|
|
107931
|
+
"name": "validate",
|
|
107932
|
+
"privacy": "protected",
|
|
107978
107933
|
"return": {
|
|
107979
107934
|
"type": {
|
|
107980
107935
|
"text": "void"
|
|
107981
107936
|
}
|
|
107937
|
+
},
|
|
107938
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
107939
|
+
"inheritedFrom": {
|
|
107940
|
+
"name": "SbbFormAssociatedMixin",
|
|
107941
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107982
107942
|
}
|
|
107983
107943
|
},
|
|
107984
107944
|
{
|
|
107985
107945
|
"kind": "method",
|
|
107986
|
-
"name": "
|
|
107987
|
-
"privacy": "
|
|
107946
|
+
"name": "shouldValidate",
|
|
107947
|
+
"privacy": "protected",
|
|
107988
107948
|
"return": {
|
|
107989
107949
|
"type": {
|
|
107990
|
-
"text": "
|
|
107950
|
+
"text": "boolean"
|
|
107951
|
+
}
|
|
107952
|
+
},
|
|
107953
|
+
"parameters": [
|
|
107954
|
+
{
|
|
107955
|
+
"name": "name",
|
|
107956
|
+
"type": {
|
|
107957
|
+
"text": "PropertyKey | undefined"
|
|
107958
|
+
}
|
|
107991
107959
|
}
|
|
107960
|
+
],
|
|
107961
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
107962
|
+
"inheritedFrom": {
|
|
107963
|
+
"name": "SbbFormAssociatedMixin",
|
|
107964
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107992
107965
|
}
|
|
107993
107966
|
},
|
|
107994
107967
|
{
|
|
107995
107968
|
"kind": "method",
|
|
107996
|
-
"name": "
|
|
107969
|
+
"name": "_setInternalValidity",
|
|
107997
107970
|
"privacy": "private",
|
|
107998
107971
|
"return": {
|
|
107999
107972
|
"type": {
|
|
108000
|
-
"text": "
|
|
107973
|
+
"text": "void"
|
|
108001
107974
|
}
|
|
108002
|
-
}
|
|
108003
|
-
},
|
|
108004
|
-
{
|
|
108005
|
-
"kind": "field",
|
|
108006
|
-
"name": "events",
|
|
108007
|
-
"privacy": "public",
|
|
108008
|
-
"static": true,
|
|
108009
|
-
"readonly": true,
|
|
108010
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
108011
|
-
"type": {
|
|
108012
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
108013
107975
|
},
|
|
108014
107976
|
"inheritedFrom": {
|
|
108015
|
-
"name": "
|
|
108016
|
-
"module": "core/
|
|
107977
|
+
"name": "SbbFormAssociatedMixin",
|
|
107978
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108017
107979
|
}
|
|
108018
107980
|
},
|
|
108019
107981
|
{
|
|
108020
107982
|
"kind": "field",
|
|
108021
|
-
"name": "
|
|
108022
|
-
"privacy": "
|
|
108023
|
-
"description": "
|
|
108024
|
-
"
|
|
108025
|
-
|
|
108026
|
-
|
|
108027
|
-
|
|
107983
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
107984
|
+
"privacy": "private",
|
|
107985
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
107986
|
+
"parameters": [
|
|
107987
|
+
{
|
|
107988
|
+
"description": "The origin event.",
|
|
107989
|
+
"name": "event"
|
|
107990
|
+
}
|
|
107991
|
+
],
|
|
108028
107992
|
"inheritedFrom": {
|
|
108029
|
-
"name": "
|
|
108030
|
-
"module": "core/base-elements/
|
|
107993
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107994
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108031
107995
|
}
|
|
108032
107996
|
},
|
|
108033
107997
|
{
|
|
108034
107998
|
"kind": "field",
|
|
108035
|
-
"name": "
|
|
108036
|
-
"type": {
|
|
108037
|
-
"text": "SbbOpenedClosedState"
|
|
108038
|
-
},
|
|
107999
|
+
"name": "_removeActiveMarker",
|
|
108039
108000
|
"privacy": "private",
|
|
108040
108001
|
"inheritedFrom": {
|
|
108041
|
-
"name": "
|
|
108042
|
-
"module": "core/base-elements/
|
|
108002
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108003
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108043
108004
|
}
|
|
108044
108005
|
},
|
|
108045
108006
|
{
|
|
108046
108007
|
"kind": "field",
|
|
108047
|
-
"name": "
|
|
108048
|
-
"
|
|
108049
|
-
|
|
108050
|
-
|
|
108051
|
-
|
|
108052
|
-
|
|
108053
|
-
|
|
108008
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
108009
|
+
"privacy": "private",
|
|
108010
|
+
"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.",
|
|
108011
|
+
"parameters": [
|
|
108012
|
+
{
|
|
108013
|
+
"description": "The origin event.",
|
|
108014
|
+
"name": "event"
|
|
108015
|
+
}
|
|
108016
|
+
],
|
|
108054
108017
|
"inheritedFrom": {
|
|
108055
|
-
"name": "
|
|
108056
|
-
"module": "core/base-elements/
|
|
108018
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108019
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108057
108020
|
}
|
|
108058
108021
|
},
|
|
108059
108022
|
{
|
|
108060
|
-
"kind": "
|
|
108061
|
-
"name": "
|
|
108062
|
-
"privacy": "
|
|
108063
|
-
"return": {
|
|
108064
|
-
"type": {
|
|
108065
|
-
"text": "boolean"
|
|
108066
|
-
}
|
|
108067
|
-
},
|
|
108023
|
+
"kind": "field",
|
|
108024
|
+
"name": "_dispatchClickEvent",
|
|
108025
|
+
"privacy": "private",
|
|
108068
108026
|
"inheritedFrom": {
|
|
108069
|
-
"name": "
|
|
108070
|
-
"module": "core/base-elements/
|
|
108027
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108028
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108071
108029
|
}
|
|
108072
108030
|
},
|
|
108073
108031
|
{
|
|
108074
|
-
"kind": "
|
|
108075
|
-
"name": "
|
|
108076
|
-
"
|
|
108077
|
-
|
|
108078
|
-
"type": {
|
|
108079
|
-
"text": "boolean"
|
|
108080
|
-
}
|
|
108032
|
+
"kind": "field",
|
|
108033
|
+
"name": "maybeDisabled",
|
|
108034
|
+
"type": {
|
|
108035
|
+
"text": "boolean | undefined"
|
|
108081
108036
|
},
|
|
108037
|
+
"privacy": "protected",
|
|
108038
|
+
"readonly": true,
|
|
108082
108039
|
"inheritedFrom": {
|
|
108083
|
-
"name": "
|
|
108084
|
-
"module": "core/base-elements/
|
|
108040
|
+
"name": "SbbActionBaseElement",
|
|
108041
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108085
108042
|
}
|
|
108086
108043
|
},
|
|
108087
108044
|
{
|
|
108088
|
-
"kind": "
|
|
108089
|
-
"name": "
|
|
108090
|
-
"
|
|
108091
|
-
|
|
108092
|
-
"type": {
|
|
108093
|
-
"text": "boolean"
|
|
108094
|
-
}
|
|
108045
|
+
"kind": "field",
|
|
108046
|
+
"name": "maybeDisabledInteractive",
|
|
108047
|
+
"type": {
|
|
108048
|
+
"text": "boolean | undefined"
|
|
108095
108049
|
},
|
|
108050
|
+
"privacy": "protected",
|
|
108051
|
+
"readonly": true,
|
|
108096
108052
|
"inheritedFrom": {
|
|
108097
|
-
"name": "
|
|
108098
|
-
"module": "core/base-elements/
|
|
108053
|
+
"name": "SbbActionBaseElement",
|
|
108054
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108099
108055
|
}
|
|
108100
108056
|
},
|
|
108101
108057
|
{
|
|
108102
108058
|
"kind": "method",
|
|
108103
|
-
"name": "
|
|
108059
|
+
"name": "setupBaseEventHandlers",
|
|
108104
108060
|
"privacy": "protected",
|
|
108105
108061
|
"return": {
|
|
108106
108062
|
"type": {
|
|
108107
|
-
"text": "
|
|
108063
|
+
"text": "void"
|
|
108108
108064
|
}
|
|
108109
108065
|
},
|
|
108110
108066
|
"inheritedFrom": {
|
|
108111
|
-
"name": "
|
|
108112
|
-
"module": "core/base-elements/
|
|
108067
|
+
"name": "SbbActionBaseElement",
|
|
108068
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108113
108069
|
}
|
|
108114
108070
|
},
|
|
108115
108071
|
{
|
|
@@ -108218,66 +108174,110 @@
|
|
|
108218
108174
|
}
|
|
108219
108175
|
}
|
|
108220
108176
|
],
|
|
108221
|
-
"
|
|
108177
|
+
"mixins": [
|
|
108222
108178
|
{
|
|
108223
|
-
"name": "
|
|
108224
|
-
"
|
|
108225
|
-
|
|
108226
|
-
|
|
108227
|
-
"
|
|
108228
|
-
"
|
|
108229
|
-
"fieldName": "trigger"
|
|
108179
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
108180
|
+
"module": "core/mixins.js"
|
|
108181
|
+
},
|
|
108182
|
+
{
|
|
108183
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
108184
|
+
"module": "menu/common/menu-action-common.js"
|
|
108230
108185
|
}
|
|
108231
108186
|
],
|
|
108232
108187
|
"superclass": {
|
|
108233
|
-
"name": "
|
|
108188
|
+
"name": "SbbButtonBaseElement",
|
|
108234
108189
|
"module": "core/base-elements.js"
|
|
108235
108190
|
},
|
|
108236
|
-
"tagName": "sbb-menu",
|
|
108191
|
+
"tagName": "sbb-menu-button",
|
|
108237
108192
|
"customElement": true,
|
|
108238
|
-
"
|
|
108193
|
+
"attributes": [
|
|
108239
108194
|
{
|
|
108240
|
-
"name": "
|
|
108195
|
+
"name": "disabled-interactive",
|
|
108241
108196
|
"type": {
|
|
108242
|
-
"text": "
|
|
108197
|
+
"text": "boolean"
|
|
108243
108198
|
},
|
|
108244
|
-
"
|
|
108199
|
+
"default": "false",
|
|
108200
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108201
|
+
"fieldName": "disabledInteractive",
|
|
108245
108202
|
"inheritedFrom": {
|
|
108246
|
-
"name": "
|
|
108247
|
-
"module": "core/
|
|
108203
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108204
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108248
108205
|
}
|
|
108249
108206
|
},
|
|
108250
108207
|
{
|
|
108251
|
-
"name": "
|
|
108208
|
+
"name": "disabled",
|
|
108209
|
+
"description": "Whether the component is disabled.",
|
|
108210
|
+
"default": "false",
|
|
108252
108211
|
"type": {
|
|
108253
|
-
"text": "
|
|
108212
|
+
"text": "boolean"
|
|
108254
108213
|
},
|
|
108255
|
-
"
|
|
108214
|
+
"fieldName": "disabled",
|
|
108256
108215
|
"inheritedFrom": {
|
|
108257
|
-
"name": "
|
|
108258
|
-
"module": "core/
|
|
108216
|
+
"name": "SbbDisabledMixin",
|
|
108217
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108259
108218
|
}
|
|
108260
108219
|
},
|
|
108261
108220
|
{
|
|
108262
|
-
"name": "
|
|
108221
|
+
"name": "icon-name",
|
|
108263
108222
|
"type": {
|
|
108264
|
-
"text": "
|
|
108223
|
+
"text": "string"
|
|
108265
108224
|
},
|
|
108266
|
-
"
|
|
108225
|
+
"default": "''",
|
|
108226
|
+
"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.",
|
|
108227
|
+
"fieldName": "iconName",
|
|
108267
108228
|
"inheritedFrom": {
|
|
108268
|
-
"name": "
|
|
108269
|
-
"module": "
|
|
108229
|
+
"name": "SbbIconNameMixin",
|
|
108230
|
+
"module": "icon/icon-name-mixin.js"
|
|
108270
108231
|
}
|
|
108271
108232
|
},
|
|
108272
108233
|
{
|
|
108273
|
-
"name": "
|
|
108234
|
+
"name": "value",
|
|
108274
108235
|
"type": {
|
|
108275
|
-
"text": "
|
|
108236
|
+
"text": "string"
|
|
108276
108237
|
},
|
|
108277
|
-
"
|
|
108238
|
+
"default": "''",
|
|
108239
|
+
"description": "Value of the form element.",
|
|
108240
|
+
"fieldName": "value",
|
|
108278
108241
|
"inheritedFrom": {
|
|
108279
|
-
"name": "
|
|
108280
|
-
"module": "core/base-elements/
|
|
108242
|
+
"name": "SbbButtonBaseElement",
|
|
108243
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108244
|
+
}
|
|
108245
|
+
},
|
|
108246
|
+
{
|
|
108247
|
+
"name": "type",
|
|
108248
|
+
"description": "The type attribute to use for the button.",
|
|
108249
|
+
"default": "'button'",
|
|
108250
|
+
"type": {
|
|
108251
|
+
"text": "SbbButtonType"
|
|
108252
|
+
},
|
|
108253
|
+
"fieldName": "type",
|
|
108254
|
+
"inheritedFrom": {
|
|
108255
|
+
"name": "SbbButtonBaseElement",
|
|
108256
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108257
|
+
}
|
|
108258
|
+
},
|
|
108259
|
+
{
|
|
108260
|
+
"name": "form",
|
|
108261
|
+
"description": "The `<form>` element to associate the button with.",
|
|
108262
|
+
"type": {
|
|
108263
|
+
"text": "HTMLFormElement | null"
|
|
108264
|
+
},
|
|
108265
|
+
"fieldName": "form",
|
|
108266
|
+
"inheritedFrom": {
|
|
108267
|
+
"name": "SbbButtonBaseElement",
|
|
108268
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108269
|
+
}
|
|
108270
|
+
},
|
|
108271
|
+
{
|
|
108272
|
+
"name": "name",
|
|
108273
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
108274
|
+
"type": {
|
|
108275
|
+
"text": "string"
|
|
108276
|
+
},
|
|
108277
|
+
"fieldName": "name",
|
|
108278
|
+
"inheritedFrom": {
|
|
108279
|
+
"name": "SbbFormAssociatedMixin",
|
|
108280
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108281
108281
|
}
|
|
108282
108282
|
}
|
|
108283
108283
|
]
|
|
@@ -108286,10 +108286,10 @@
|
|
|
108286
108286
|
"exports": [
|
|
108287
108287
|
{
|
|
108288
108288
|
"kind": "js",
|
|
108289
|
-
"name": "
|
|
108289
|
+
"name": "SbbMenuButtonElement",
|
|
108290
108290
|
"declaration": {
|
|
108291
|
-
"name": "
|
|
108292
|
-
"module": "menu/menu/menu.component.js"
|
|
108291
|
+
"name": "SbbMenuButtonElement",
|
|
108292
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
108293
108293
|
}
|
|
108294
108294
|
}
|
|
108295
108295
|
]
|