@sbb-esta/lyne-elements-dev 4.6.0-dev.1772526455 → 4.6.0-dev.1772527171
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
CHANGED
|
@@ -45544,6 +45544,163 @@
|
|
|
45544
45544
|
}
|
|
45545
45545
|
]
|
|
45546
45546
|
},
|
|
45547
|
+
{
|
|
45548
|
+
"kind": "javascript-module",
|
|
45549
|
+
"path": "container/container/container.component.js",
|
|
45550
|
+
"declarations": [
|
|
45551
|
+
{
|
|
45552
|
+
"kind": "class",
|
|
45553
|
+
"description": "It displays its content with the default page spacing.",
|
|
45554
|
+
"name": "SbbContainerElement",
|
|
45555
|
+
"cssProperties": [
|
|
45556
|
+
{
|
|
45557
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
45558
|
+
"name": "--sbb-page-spacing-padding"
|
|
45559
|
+
}
|
|
45560
|
+
],
|
|
45561
|
+
"slots": [
|
|
45562
|
+
{
|
|
45563
|
+
"description": "Use the unnamed slot to add anything to the container.",
|
|
45564
|
+
"name": ""
|
|
45565
|
+
},
|
|
45566
|
+
{
|
|
45567
|
+
"description": "The slot used by the sbb-sticky-bar component.",
|
|
45568
|
+
"name": "sticky-bar"
|
|
45569
|
+
},
|
|
45570
|
+
{
|
|
45571
|
+
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
45572
|
+
"name": "image"
|
|
45573
|
+
}
|
|
45574
|
+
],
|
|
45575
|
+
"members": [
|
|
45576
|
+
{
|
|
45577
|
+
"kind": "field",
|
|
45578
|
+
"name": "expanded",
|
|
45579
|
+
"type": {
|
|
45580
|
+
"text": "boolean"
|
|
45581
|
+
},
|
|
45582
|
+
"privacy": "public",
|
|
45583
|
+
"default": "false",
|
|
45584
|
+
"description": "Whether the container is expanded.",
|
|
45585
|
+
"attribute": "expanded",
|
|
45586
|
+
"reflects": true
|
|
45587
|
+
},
|
|
45588
|
+
{
|
|
45589
|
+
"kind": "field",
|
|
45590
|
+
"name": "backgroundExpanded",
|
|
45591
|
+
"type": {
|
|
45592
|
+
"text": "boolean"
|
|
45593
|
+
},
|
|
45594
|
+
"privacy": "public",
|
|
45595
|
+
"default": "false",
|
|
45596
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
45597
|
+
"attribute": "background-expanded",
|
|
45598
|
+
"reflects": true
|
|
45599
|
+
},
|
|
45600
|
+
{
|
|
45601
|
+
"kind": "field",
|
|
45602
|
+
"name": "color",
|
|
45603
|
+
"type": {
|
|
45604
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
45605
|
+
},
|
|
45606
|
+
"privacy": "public",
|
|
45607
|
+
"default": "'white'",
|
|
45608
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
45609
|
+
"attribute": "color",
|
|
45610
|
+
"reflects": true
|
|
45611
|
+
},
|
|
45612
|
+
{
|
|
45613
|
+
"kind": "method",
|
|
45614
|
+
"name": "toggleState",
|
|
45615
|
+
"privacy": "protected",
|
|
45616
|
+
"return": {
|
|
45617
|
+
"type": {
|
|
45618
|
+
"text": "void"
|
|
45619
|
+
}
|
|
45620
|
+
},
|
|
45621
|
+
"parameters": [
|
|
45622
|
+
{
|
|
45623
|
+
"name": "value",
|
|
45624
|
+
"type": {
|
|
45625
|
+
"text": "string"
|
|
45626
|
+
}
|
|
45627
|
+
},
|
|
45628
|
+
{
|
|
45629
|
+
"name": "force",
|
|
45630
|
+
"optional": true,
|
|
45631
|
+
"type": {
|
|
45632
|
+
"text": "boolean"
|
|
45633
|
+
}
|
|
45634
|
+
}
|
|
45635
|
+
],
|
|
45636
|
+
"inheritedFrom": {
|
|
45637
|
+
"name": "SbbElementInternalsMixin",
|
|
45638
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
45639
|
+
}
|
|
45640
|
+
}
|
|
45641
|
+
],
|
|
45642
|
+
"attributes": [
|
|
45643
|
+
{
|
|
45644
|
+
"name": "expanded",
|
|
45645
|
+
"type": {
|
|
45646
|
+
"text": "boolean"
|
|
45647
|
+
},
|
|
45648
|
+
"default": "false",
|
|
45649
|
+
"description": "Whether the container is expanded.",
|
|
45650
|
+
"fieldName": "expanded"
|
|
45651
|
+
},
|
|
45652
|
+
{
|
|
45653
|
+
"name": "background-expanded",
|
|
45654
|
+
"type": {
|
|
45655
|
+
"text": "boolean"
|
|
45656
|
+
},
|
|
45657
|
+
"default": "false",
|
|
45658
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
45659
|
+
"fieldName": "backgroundExpanded"
|
|
45660
|
+
},
|
|
45661
|
+
{
|
|
45662
|
+
"name": "color",
|
|
45663
|
+
"type": {
|
|
45664
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
45665
|
+
},
|
|
45666
|
+
"default": "'white'",
|
|
45667
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
45668
|
+
"fieldName": "color"
|
|
45669
|
+
}
|
|
45670
|
+
],
|
|
45671
|
+
"mixins": [
|
|
45672
|
+
{
|
|
45673
|
+
"name": "SbbElementInternalsMixin",
|
|
45674
|
+
"module": "core/mixins.js"
|
|
45675
|
+
}
|
|
45676
|
+
],
|
|
45677
|
+
"superclass": {
|
|
45678
|
+
"name": "LitElement",
|
|
45679
|
+
"package": "lit"
|
|
45680
|
+
},
|
|
45681
|
+
"tagName": "sbb-container",
|
|
45682
|
+
"customElement": true
|
|
45683
|
+
}
|
|
45684
|
+
],
|
|
45685
|
+
"exports": [
|
|
45686
|
+
{
|
|
45687
|
+
"kind": "js",
|
|
45688
|
+
"name": "SbbContainerElement",
|
|
45689
|
+
"declaration": {
|
|
45690
|
+
"name": "SbbContainerElement",
|
|
45691
|
+
"module": "container/container/container.component.js"
|
|
45692
|
+
}
|
|
45693
|
+
},
|
|
45694
|
+
{
|
|
45695
|
+
"kind": "custom-element-definition",
|
|
45696
|
+
"name": "sbb-container",
|
|
45697
|
+
"declaration": {
|
|
45698
|
+
"name": "SbbContainerElement",
|
|
45699
|
+
"module": "container/container/container.component.js"
|
|
45700
|
+
}
|
|
45701
|
+
}
|
|
45702
|
+
]
|
|
45703
|
+
},
|
|
45547
45704
|
{
|
|
45548
45705
|
"kind": "javascript-module",
|
|
45549
45706
|
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
@@ -45927,163 +46084,6 @@
|
|
|
45927
46084
|
}
|
|
45928
46085
|
]
|
|
45929
46086
|
},
|
|
45930
|
-
{
|
|
45931
|
-
"kind": "javascript-module",
|
|
45932
|
-
"path": "container/container/container.component.js",
|
|
45933
|
-
"declarations": [
|
|
45934
|
-
{
|
|
45935
|
-
"kind": "class",
|
|
45936
|
-
"description": "It displays its content with the default page spacing.",
|
|
45937
|
-
"name": "SbbContainerElement",
|
|
45938
|
-
"cssProperties": [
|
|
45939
|
-
{
|
|
45940
|
-
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
45941
|
-
"name": "--sbb-page-spacing-padding"
|
|
45942
|
-
}
|
|
45943
|
-
],
|
|
45944
|
-
"slots": [
|
|
45945
|
-
{
|
|
45946
|
-
"description": "Use the unnamed slot to add anything to the container.",
|
|
45947
|
-
"name": ""
|
|
45948
|
-
},
|
|
45949
|
-
{
|
|
45950
|
-
"description": "The slot used by the sbb-sticky-bar component.",
|
|
45951
|
-
"name": "sticky-bar"
|
|
45952
|
-
},
|
|
45953
|
-
{
|
|
45954
|
-
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
45955
|
-
"name": "image"
|
|
45956
|
-
}
|
|
45957
|
-
],
|
|
45958
|
-
"members": [
|
|
45959
|
-
{
|
|
45960
|
-
"kind": "field",
|
|
45961
|
-
"name": "expanded",
|
|
45962
|
-
"type": {
|
|
45963
|
-
"text": "boolean"
|
|
45964
|
-
},
|
|
45965
|
-
"privacy": "public",
|
|
45966
|
-
"default": "false",
|
|
45967
|
-
"description": "Whether the container is expanded.",
|
|
45968
|
-
"attribute": "expanded",
|
|
45969
|
-
"reflects": true
|
|
45970
|
-
},
|
|
45971
|
-
{
|
|
45972
|
-
"kind": "field",
|
|
45973
|
-
"name": "backgroundExpanded",
|
|
45974
|
-
"type": {
|
|
45975
|
-
"text": "boolean"
|
|
45976
|
-
},
|
|
45977
|
-
"privacy": "public",
|
|
45978
|
-
"default": "false",
|
|
45979
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
45980
|
-
"attribute": "background-expanded",
|
|
45981
|
-
"reflects": true
|
|
45982
|
-
},
|
|
45983
|
-
{
|
|
45984
|
-
"kind": "field",
|
|
45985
|
-
"name": "color",
|
|
45986
|
-
"type": {
|
|
45987
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
45988
|
-
},
|
|
45989
|
-
"privacy": "public",
|
|
45990
|
-
"default": "'white'",
|
|
45991
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
45992
|
-
"attribute": "color",
|
|
45993
|
-
"reflects": true
|
|
45994
|
-
},
|
|
45995
|
-
{
|
|
45996
|
-
"kind": "method",
|
|
45997
|
-
"name": "toggleState",
|
|
45998
|
-
"privacy": "protected",
|
|
45999
|
-
"return": {
|
|
46000
|
-
"type": {
|
|
46001
|
-
"text": "void"
|
|
46002
|
-
}
|
|
46003
|
-
},
|
|
46004
|
-
"parameters": [
|
|
46005
|
-
{
|
|
46006
|
-
"name": "value",
|
|
46007
|
-
"type": {
|
|
46008
|
-
"text": "string"
|
|
46009
|
-
}
|
|
46010
|
-
},
|
|
46011
|
-
{
|
|
46012
|
-
"name": "force",
|
|
46013
|
-
"optional": true,
|
|
46014
|
-
"type": {
|
|
46015
|
-
"text": "boolean"
|
|
46016
|
-
}
|
|
46017
|
-
}
|
|
46018
|
-
],
|
|
46019
|
-
"inheritedFrom": {
|
|
46020
|
-
"name": "SbbElementInternalsMixin",
|
|
46021
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
46022
|
-
}
|
|
46023
|
-
}
|
|
46024
|
-
],
|
|
46025
|
-
"attributes": [
|
|
46026
|
-
{
|
|
46027
|
-
"name": "expanded",
|
|
46028
|
-
"type": {
|
|
46029
|
-
"text": "boolean"
|
|
46030
|
-
},
|
|
46031
|
-
"default": "false",
|
|
46032
|
-
"description": "Whether the container is expanded.",
|
|
46033
|
-
"fieldName": "expanded"
|
|
46034
|
-
},
|
|
46035
|
-
{
|
|
46036
|
-
"name": "background-expanded",
|
|
46037
|
-
"type": {
|
|
46038
|
-
"text": "boolean"
|
|
46039
|
-
},
|
|
46040
|
-
"default": "false",
|
|
46041
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
46042
|
-
"fieldName": "backgroundExpanded"
|
|
46043
|
-
},
|
|
46044
|
-
{
|
|
46045
|
-
"name": "color",
|
|
46046
|
-
"type": {
|
|
46047
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
46048
|
-
},
|
|
46049
|
-
"default": "'white'",
|
|
46050
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
46051
|
-
"fieldName": "color"
|
|
46052
|
-
}
|
|
46053
|
-
],
|
|
46054
|
-
"mixins": [
|
|
46055
|
-
{
|
|
46056
|
-
"name": "SbbElementInternalsMixin",
|
|
46057
|
-
"module": "core/mixins.js"
|
|
46058
|
-
}
|
|
46059
|
-
],
|
|
46060
|
-
"superclass": {
|
|
46061
|
-
"name": "LitElement",
|
|
46062
|
-
"package": "lit"
|
|
46063
|
-
},
|
|
46064
|
-
"tagName": "sbb-container",
|
|
46065
|
-
"customElement": true
|
|
46066
|
-
}
|
|
46067
|
-
],
|
|
46068
|
-
"exports": [
|
|
46069
|
-
{
|
|
46070
|
-
"kind": "js",
|
|
46071
|
-
"name": "SbbContainerElement",
|
|
46072
|
-
"declaration": {
|
|
46073
|
-
"name": "SbbContainerElement",
|
|
46074
|
-
"module": "container/container/container.component.js"
|
|
46075
|
-
}
|
|
46076
|
-
},
|
|
46077
|
-
{
|
|
46078
|
-
"kind": "custom-element-definition",
|
|
46079
|
-
"name": "sbb-container",
|
|
46080
|
-
"declaration": {
|
|
46081
|
-
"name": "SbbContainerElement",
|
|
46082
|
-
"module": "container/container/container.component.js"
|
|
46083
|
-
}
|
|
46084
|
-
}
|
|
46085
|
-
]
|
|
46086
|
-
},
|
|
46087
46087
|
{
|
|
46088
46088
|
"kind": "javascript-module",
|
|
46089
46089
|
"path": "core/a11y/arrow-navigation.js",
|
|
@@ -64709,12 +64709,12 @@
|
|
|
64709
64709
|
},
|
|
64710
64710
|
{
|
|
64711
64711
|
"kind": "javascript-module",
|
|
64712
|
-
"path": "datepicker/datepicker-
|
|
64712
|
+
"path": "datepicker/datepicker-next-day/datepicker-next-day.component.js",
|
|
64713
64713
|
"declarations": [
|
|
64714
64714
|
{
|
|
64715
64715
|
"kind": "class",
|
|
64716
|
-
"description": "Combined with a `sbb-datepicker`, it can be used to move the date
|
|
64717
|
-
"name": "
|
|
64716
|
+
"description": "Combined with a `sbb-datepicker`, it can be used to move the date ahead.",
|
|
64717
|
+
"name": "SbbDatepickerNextDayElement",
|
|
64718
64718
|
"members": [
|
|
64719
64719
|
{
|
|
64720
64720
|
"kind": "field",
|
|
@@ -64727,7 +64727,7 @@
|
|
|
64727
64727
|
"name": "SbbDatepickerButtonBase",
|
|
64728
64728
|
"module": "datepicker/common/datepicker-button.js"
|
|
64729
64729
|
},
|
|
64730
|
-
"default": "'chevron-small-
|
|
64730
|
+
"default": "'chevron-small-right-small'"
|
|
64731
64731
|
},
|
|
64732
64732
|
{
|
|
64733
64733
|
"kind": "field",
|
|
@@ -64736,7 +64736,7 @@
|
|
|
64736
64736
|
"text": "Record<string, string>"
|
|
64737
64737
|
},
|
|
64738
64738
|
"privacy": "protected",
|
|
64739
|
-
"default": "
|
|
64739
|
+
"default": "i18nNextDay",
|
|
64740
64740
|
"inheritedFrom": {
|
|
64741
64741
|
"name": "SbbDatepickerButton",
|
|
64742
64742
|
"module": "datepicker/common/datepicker-button.js"
|
|
@@ -64749,7 +64749,7 @@
|
|
|
64749
64749
|
"text": "(_currentDate: string) => Record<string, string>"
|
|
64750
64750
|
},
|
|
64751
64751
|
"privacy": "protected",
|
|
64752
|
-
"default": "
|
|
64752
|
+
"default": "i18nSelectNextDay",
|
|
64753
64753
|
"inheritedFrom": {
|
|
64754
64754
|
"name": "SbbDatepickerButton",
|
|
64755
64755
|
"module": "datepicker/common/datepicker-button.js"
|
|
@@ -64779,7 +64779,7 @@
|
|
|
64779
64779
|
},
|
|
64780
64780
|
{
|
|
64781
64781
|
"kind": "method",
|
|
64782
|
-
"name": "
|
|
64782
|
+
"name": "_isAfterMaxDate",
|
|
64783
64783
|
"privacy": "private",
|
|
64784
64784
|
"return": {
|
|
64785
64785
|
"type": {
|
|
@@ -65564,7 +65564,7 @@
|
|
|
65564
65564
|
"module": "datepicker/common.js"
|
|
65565
65565
|
},
|
|
65566
65566
|
"classGenerics": "T = Date",
|
|
65567
|
-
"tagName": "sbb-datepicker-
|
|
65567
|
+
"tagName": "sbb-datepicker-next-day",
|
|
65568
65568
|
"customElement": true,
|
|
65569
65569
|
"attributes": [
|
|
65570
65570
|
{
|
|
@@ -65649,30 +65649,30 @@
|
|
|
65649
65649
|
"exports": [
|
|
65650
65650
|
{
|
|
65651
65651
|
"kind": "js",
|
|
65652
|
-
"name": "
|
|
65652
|
+
"name": "SbbDatepickerNextDayElement",
|
|
65653
65653
|
"declaration": {
|
|
65654
|
-
"name": "
|
|
65655
|
-
"module": "datepicker/datepicker-
|
|
65654
|
+
"name": "SbbDatepickerNextDayElement",
|
|
65655
|
+
"module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
|
|
65656
65656
|
}
|
|
65657
65657
|
},
|
|
65658
65658
|
{
|
|
65659
65659
|
"kind": "custom-element-definition",
|
|
65660
|
-
"name": "sbb-datepicker-
|
|
65660
|
+
"name": "sbb-datepicker-next-day",
|
|
65661
65661
|
"declaration": {
|
|
65662
|
-
"name": "
|
|
65663
|
-
"module": "datepicker/datepicker-
|
|
65662
|
+
"name": "SbbDatepickerNextDayElement",
|
|
65663
|
+
"module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
|
|
65664
65664
|
}
|
|
65665
65665
|
}
|
|
65666
65666
|
]
|
|
65667
65667
|
},
|
|
65668
65668
|
{
|
|
65669
65669
|
"kind": "javascript-module",
|
|
65670
|
-
"path": "datepicker/datepicker-
|
|
65670
|
+
"path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
|
|
65671
65671
|
"declarations": [
|
|
65672
65672
|
{
|
|
65673
65673
|
"kind": "class",
|
|
65674
|
-
"description": "Combined with a `sbb-datepicker`, it can be used to move the date
|
|
65675
|
-
"name": "
|
|
65674
|
+
"description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
|
|
65675
|
+
"name": "SbbDatepickerPreviousDayElement",
|
|
65676
65676
|
"members": [
|
|
65677
65677
|
{
|
|
65678
65678
|
"kind": "field",
|
|
@@ -65685,7 +65685,7 @@
|
|
|
65685
65685
|
"name": "SbbDatepickerButtonBase",
|
|
65686
65686
|
"module": "datepicker/common/datepicker-button.js"
|
|
65687
65687
|
},
|
|
65688
|
-
"default": "'chevron-small-
|
|
65688
|
+
"default": "'chevron-small-left-small'"
|
|
65689
65689
|
},
|
|
65690
65690
|
{
|
|
65691
65691
|
"kind": "field",
|
|
@@ -65694,7 +65694,7 @@
|
|
|
65694
65694
|
"text": "Record<string, string>"
|
|
65695
65695
|
},
|
|
65696
65696
|
"privacy": "protected",
|
|
65697
|
-
"default": "
|
|
65697
|
+
"default": "i18nPreviousDay",
|
|
65698
65698
|
"inheritedFrom": {
|
|
65699
65699
|
"name": "SbbDatepickerButton",
|
|
65700
65700
|
"module": "datepicker/common/datepicker-button.js"
|
|
@@ -65707,7 +65707,7 @@
|
|
|
65707
65707
|
"text": "(_currentDate: string) => Record<string, string>"
|
|
65708
65708
|
},
|
|
65709
65709
|
"privacy": "protected",
|
|
65710
|
-
"default": "
|
|
65710
|
+
"default": "i18nSelectPreviousDay",
|
|
65711
65711
|
"inheritedFrom": {
|
|
65712
65712
|
"name": "SbbDatepickerButton",
|
|
65713
65713
|
"module": "datepicker/common/datepicker-button.js"
|
|
@@ -65737,7 +65737,7 @@
|
|
|
65737
65737
|
},
|
|
65738
65738
|
{
|
|
65739
65739
|
"kind": "method",
|
|
65740
|
-
"name": "
|
|
65740
|
+
"name": "_isBeforeMinDate",
|
|
65741
65741
|
"privacy": "private",
|
|
65742
65742
|
"return": {
|
|
65743
65743
|
"type": {
|
|
@@ -66522,7 +66522,7 @@
|
|
|
66522
66522
|
"module": "datepicker/common.js"
|
|
66523
66523
|
},
|
|
66524
66524
|
"classGenerics": "T = Date",
|
|
66525
|
-
"tagName": "sbb-datepicker-
|
|
66525
|
+
"tagName": "sbb-datepicker-previous-day",
|
|
66526
66526
|
"customElement": true,
|
|
66527
66527
|
"attributes": [
|
|
66528
66528
|
{
|
|
@@ -66607,18 +66607,18 @@
|
|
|
66607
66607
|
"exports": [
|
|
66608
66608
|
{
|
|
66609
66609
|
"kind": "js",
|
|
66610
|
-
"name": "
|
|
66610
|
+
"name": "SbbDatepickerPreviousDayElement",
|
|
66611
66611
|
"declaration": {
|
|
66612
|
-
"name": "
|
|
66613
|
-
"module": "datepicker/datepicker-
|
|
66612
|
+
"name": "SbbDatepickerPreviousDayElement",
|
|
66613
|
+
"module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
|
|
66614
66614
|
}
|
|
66615
66615
|
},
|
|
66616
66616
|
{
|
|
66617
66617
|
"kind": "custom-element-definition",
|
|
66618
|
-
"name": "sbb-datepicker-
|
|
66618
|
+
"name": "sbb-datepicker-previous-day",
|
|
66619
66619
|
"declaration": {
|
|
66620
|
-
"name": "
|
|
66621
|
-
"module": "datepicker/datepicker-
|
|
66620
|
+
"name": "SbbDatepickerPreviousDayElement",
|
|
66621
|
+
"module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
|
|
66622
66622
|
}
|
|
66623
66623
|
}
|
|
66624
66624
|
]
|
|
@@ -86779,23 +86779,27 @@
|
|
|
86779
86779
|
},
|
|
86780
86780
|
{
|
|
86781
86781
|
"kind": "javascript-module",
|
|
86782
|
-
"path": "menu/menu/menu.component.js",
|
|
86782
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
86783
86783
|
"declarations": [
|
|
86784
86784
|
{
|
|
86785
86785
|
"kind": "class",
|
|
86786
|
-
"description": "It displays a
|
|
86787
|
-
"name": "
|
|
86786
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
86787
|
+
"name": "SbbMenuButtonElement",
|
|
86788
86788
|
"cssProperties": [
|
|
86789
86789
|
{
|
|
86790
|
-
"description": "
|
|
86791
|
-
"name": "--sbb-menu-
|
|
86792
|
-
"default": "var(--sbb-
|
|
86790
|
+
"description": "Can be used to modify horizontal padding.",
|
|
86791
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
86792
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
86793
86793
|
}
|
|
86794
86794
|
],
|
|
86795
86795
|
"slots": [
|
|
86796
86796
|
{
|
|
86797
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
86797
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
86798
86798
|
"name": ""
|
|
86799
|
+
},
|
|
86800
|
+
{
|
|
86801
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
86802
|
+
"name": "icon"
|
|
86799
86803
|
}
|
|
86800
86804
|
],
|
|
86801
86805
|
"members": [
|
|
@@ -86803,183 +86807,411 @@
|
|
|
86803
86807
|
"kind": "field",
|
|
86804
86808
|
"name": "role",
|
|
86805
86809
|
"type": {
|
|
86806
|
-
"text": "
|
|
86810
|
+
"text": "ElementInternals['role']"
|
|
86807
86811
|
},
|
|
86808
86812
|
"privacy": "public",
|
|
86809
86813
|
"static": true,
|
|
86810
86814
|
"readonly": true,
|
|
86811
|
-
"default": "'
|
|
86815
|
+
"default": "'menuitem'",
|
|
86816
|
+
"inheritedFrom": {
|
|
86817
|
+
"name": "SbbButtonLikeBaseElement",
|
|
86818
|
+
"module": "core/base-elements/button-base-element.js"
|
|
86819
|
+
}
|
|
86812
86820
|
},
|
|
86813
86821
|
{
|
|
86814
86822
|
"kind": "field",
|
|
86815
|
-
"name": "
|
|
86823
|
+
"name": "disabledInteractive",
|
|
86816
86824
|
"type": {
|
|
86817
|
-
"text": "
|
|
86825
|
+
"text": "boolean"
|
|
86818
86826
|
},
|
|
86819
86827
|
"privacy": "public",
|
|
86820
|
-
"default": "
|
|
86821
|
-
"description": "
|
|
86822
|
-
"attribute": "
|
|
86828
|
+
"default": "false",
|
|
86829
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
86830
|
+
"attribute": "disabled-interactive",
|
|
86831
|
+
"reflects": true,
|
|
86832
|
+
"inheritedFrom": {
|
|
86833
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
86834
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
86835
|
+
}
|
|
86823
86836
|
},
|
|
86824
86837
|
{
|
|
86825
86838
|
"kind": "field",
|
|
86826
|
-
"name": "
|
|
86839
|
+
"name": "disabled",
|
|
86840
|
+
"privacy": "public",
|
|
86841
|
+
"description": "Whether the component is disabled.",
|
|
86842
|
+
"default": "false",
|
|
86827
86843
|
"type": {
|
|
86828
|
-
"text": "
|
|
86844
|
+
"text": "boolean"
|
|
86829
86845
|
},
|
|
86830
|
-
"
|
|
86846
|
+
"attribute": "disabled",
|
|
86847
|
+
"reflects": true,
|
|
86848
|
+
"inheritedFrom": {
|
|
86849
|
+
"name": "SbbDisabledMixin",
|
|
86850
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
86851
|
+
}
|
|
86831
86852
|
},
|
|
86832
86853
|
{
|
|
86833
86854
|
"kind": "field",
|
|
86834
|
-
"name": "
|
|
86855
|
+
"name": "#disabled",
|
|
86856
|
+
"privacy": "private",
|
|
86835
86857
|
"type": {
|
|
86836
|
-
"text": "
|
|
86858
|
+
"text": "boolean"
|
|
86837
86859
|
},
|
|
86838
|
-
"
|
|
86839
|
-
"
|
|
86860
|
+
"default": "false",
|
|
86861
|
+
"inheritedFrom": {
|
|
86862
|
+
"name": "SbbDisabledMixin",
|
|
86863
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
86864
|
+
}
|
|
86865
|
+
},
|
|
86866
|
+
{
|
|
86867
|
+
"kind": "method",
|
|
86868
|
+
"name": "isDisabledExternally",
|
|
86869
|
+
"privacy": "protected",
|
|
86870
|
+
"return": {
|
|
86871
|
+
"type": {
|
|
86872
|
+
"text": "boolean"
|
|
86873
|
+
}
|
|
86874
|
+
},
|
|
86875
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
86876
|
+
"inheritedFrom": {
|
|
86877
|
+
"name": "SbbDisabledMixin",
|
|
86878
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
86879
|
+
}
|
|
86840
86880
|
},
|
|
86841
86881
|
{
|
|
86842
86882
|
"kind": "field",
|
|
86843
|
-
"name": "
|
|
86883
|
+
"name": "styles",
|
|
86844
86884
|
"type": {
|
|
86845
|
-
"text": "
|
|
86885
|
+
"text": "CSSResultGroup"
|
|
86846
86886
|
},
|
|
86847
|
-
"privacy": "
|
|
86887
|
+
"privacy": "public",
|
|
86888
|
+
"static": true,
|
|
86889
|
+
"default": "[boxSizingStyles, style]",
|
|
86890
|
+
"inheritedFrom": {
|
|
86891
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
86892
|
+
"module": "menu/common/menu-action-common.js"
|
|
86893
|
+
}
|
|
86894
|
+
},
|
|
86895
|
+
{
|
|
86896
|
+
"kind": "method",
|
|
86897
|
+
"name": "renderTemplate",
|
|
86898
|
+
"privacy": "protected",
|
|
86899
|
+
"return": {
|
|
86900
|
+
"type": {
|
|
86901
|
+
"text": "TemplateResult"
|
|
86902
|
+
}
|
|
86903
|
+
},
|
|
86904
|
+
"description": "Override this method to render the component template.",
|
|
86905
|
+
"inheritedFrom": {
|
|
86906
|
+
"name": "SbbActionBaseElement",
|
|
86907
|
+
"module": "core/base-elements/action-base-element.js"
|
|
86908
|
+
}
|
|
86848
86909
|
},
|
|
86849
86910
|
{
|
|
86850
86911
|
"kind": "field",
|
|
86851
|
-
"name": "
|
|
86912
|
+
"name": "iconName",
|
|
86852
86913
|
"type": {
|
|
86853
|
-
"text": "
|
|
86914
|
+
"text": "string"
|
|
86915
|
+
},
|
|
86916
|
+
"privacy": "public",
|
|
86917
|
+
"default": "''",
|
|
86918
|
+
"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.",
|
|
86919
|
+
"attribute": "icon-name",
|
|
86920
|
+
"inheritedFrom": {
|
|
86921
|
+
"name": "SbbIconNameMixin",
|
|
86922
|
+
"module": "icon/icon-name-mixin.js"
|
|
86923
|
+
}
|
|
86924
|
+
},
|
|
86925
|
+
{
|
|
86926
|
+
"kind": "method",
|
|
86927
|
+
"name": "renderIconSlot",
|
|
86928
|
+
"privacy": "protected",
|
|
86929
|
+
"return": {
|
|
86930
|
+
"type": {
|
|
86931
|
+
"text": "TemplateResult"
|
|
86932
|
+
}
|
|
86933
|
+
},
|
|
86934
|
+
"parameters": [
|
|
86935
|
+
{
|
|
86936
|
+
"name": "classname",
|
|
86937
|
+
"optional": true,
|
|
86938
|
+
"type": {
|
|
86939
|
+
"text": "string"
|
|
86940
|
+
}
|
|
86941
|
+
}
|
|
86942
|
+
],
|
|
86943
|
+
"inheritedFrom": {
|
|
86944
|
+
"name": "SbbIconNameMixin",
|
|
86945
|
+
"module": "icon/icon-name-mixin.js"
|
|
86946
|
+
}
|
|
86947
|
+
},
|
|
86948
|
+
{
|
|
86949
|
+
"kind": "method",
|
|
86950
|
+
"name": "renderIconName",
|
|
86951
|
+
"privacy": "protected",
|
|
86952
|
+
"return": {
|
|
86953
|
+
"type": {
|
|
86954
|
+
"text": "string"
|
|
86955
|
+
}
|
|
86854
86956
|
},
|
|
86957
|
+
"inheritedFrom": {
|
|
86958
|
+
"name": "SbbIconNameMixin",
|
|
86959
|
+
"module": "icon/icon-name-mixin.js"
|
|
86960
|
+
}
|
|
86961
|
+
},
|
|
86962
|
+
{
|
|
86963
|
+
"kind": "method",
|
|
86964
|
+
"name": "_renderIconName",
|
|
86855
86965
|
"privacy": "private",
|
|
86856
|
-
"
|
|
86966
|
+
"return": {
|
|
86967
|
+
"type": {
|
|
86968
|
+
"text": "string"
|
|
86969
|
+
}
|
|
86970
|
+
},
|
|
86971
|
+
"inheritedFrom": {
|
|
86972
|
+
"name": "SbbIconNameMixin",
|
|
86973
|
+
"module": "icon/icon-name-mixin.js"
|
|
86974
|
+
}
|
|
86857
86975
|
},
|
|
86858
86976
|
{
|
|
86859
86977
|
"kind": "field",
|
|
86860
|
-
"name": "
|
|
86978
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
86861
86979
|
"type": {
|
|
86862
|
-
"text": "
|
|
86980
|
+
"text": "array"
|
|
86863
86981
|
},
|
|
86864
|
-
"privacy": "private"
|
|
86982
|
+
"privacy": "private",
|
|
86983
|
+
"readonly": true,
|
|
86984
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
86985
|
+
"inheritedFrom": {
|
|
86986
|
+
"name": "SbbButtonBaseElement",
|
|
86987
|
+
"module": "core/base-elements/button-base-element.js"
|
|
86988
|
+
}
|
|
86865
86989
|
},
|
|
86866
86990
|
{
|
|
86867
86991
|
"kind": "field",
|
|
86868
|
-
"name": "
|
|
86869
|
-
"
|
|
86870
|
-
|
|
86992
|
+
"name": "value",
|
|
86993
|
+
"type": {
|
|
86994
|
+
"text": "string"
|
|
86995
|
+
},
|
|
86996
|
+
"privacy": "public",
|
|
86997
|
+
"inheritedFrom": {
|
|
86998
|
+
"name": "SbbButtonBaseElement",
|
|
86999
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87000
|
+
},
|
|
87001
|
+
"default": "''",
|
|
87002
|
+
"description": "Value of the form element.",
|
|
87003
|
+
"attribute": "value"
|
|
86871
87004
|
},
|
|
86872
87005
|
{
|
|
86873
87006
|
"kind": "field",
|
|
86874
|
-
"name": "
|
|
86875
|
-
"privacy": "
|
|
86876
|
-
"
|
|
87007
|
+
"name": "type",
|
|
87008
|
+
"privacy": "public",
|
|
87009
|
+
"description": "The type attribute to use for the button.",
|
|
87010
|
+
"default": "'button'",
|
|
87011
|
+
"type": {
|
|
87012
|
+
"text": "SbbButtonType"
|
|
87013
|
+
},
|
|
87014
|
+
"attribute": "type",
|
|
87015
|
+
"inheritedFrom": {
|
|
87016
|
+
"name": "SbbButtonBaseElement",
|
|
87017
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87018
|
+
}
|
|
86877
87019
|
},
|
|
86878
87020
|
{
|
|
86879
87021
|
"kind": "field",
|
|
86880
|
-
"name": "
|
|
86881
|
-
"
|
|
86882
|
-
|
|
87022
|
+
"name": "form",
|
|
87023
|
+
"type": {
|
|
87024
|
+
"text": "HTMLFormElement | null"
|
|
87025
|
+
},
|
|
87026
|
+
"privacy": "public",
|
|
87027
|
+
"description": "The `<form>` element to associate the button with.",
|
|
87028
|
+
"inheritedFrom": {
|
|
87029
|
+
"name": "SbbButtonBaseElement",
|
|
87030
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87031
|
+
},
|
|
87032
|
+
"attribute": "form"
|
|
86883
87033
|
},
|
|
86884
87034
|
{
|
|
86885
87035
|
"kind": "field",
|
|
86886
|
-
"name": "
|
|
87036
|
+
"name": "_formId",
|
|
87037
|
+
"type": {
|
|
87038
|
+
"text": "string"
|
|
87039
|
+
},
|
|
86887
87040
|
"privacy": "private",
|
|
86888
|
-
"default": "
|
|
87041
|
+
"default": "''",
|
|
87042
|
+
"inheritedFrom": {
|
|
87043
|
+
"name": "SbbButtonBaseElement",
|
|
87044
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87045
|
+
}
|
|
86889
87046
|
},
|
|
86890
87047
|
{
|
|
86891
87048
|
"kind": "field",
|
|
86892
|
-
"name": "
|
|
87049
|
+
"name": "_handleButtonClick",
|
|
86893
87050
|
"privacy": "private",
|
|
86894
|
-
"
|
|
87051
|
+
"inheritedFrom": {
|
|
87052
|
+
"name": "SbbButtonBaseElement",
|
|
87053
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87054
|
+
}
|
|
86895
87055
|
},
|
|
86896
87056
|
{
|
|
86897
|
-
"kind": "
|
|
86898
|
-
"name": "
|
|
87057
|
+
"kind": "method",
|
|
87058
|
+
"name": "_requestSubmit",
|
|
86899
87059
|
"privacy": "private",
|
|
86900
|
-
"
|
|
87060
|
+
"return": {
|
|
87061
|
+
"type": {
|
|
87062
|
+
"text": "void"
|
|
87063
|
+
}
|
|
87064
|
+
},
|
|
87065
|
+
"parameters": [
|
|
87066
|
+
{
|
|
87067
|
+
"name": "form",
|
|
87068
|
+
"type": {
|
|
87069
|
+
"text": "HTMLFormElement"
|
|
87070
|
+
}
|
|
87071
|
+
}
|
|
87072
|
+
],
|
|
87073
|
+
"inheritedFrom": {
|
|
87074
|
+
"name": "SbbButtonBaseElement",
|
|
87075
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87076
|
+
}
|
|
86901
87077
|
},
|
|
86902
87078
|
{
|
|
86903
87079
|
"kind": "field",
|
|
86904
|
-
"name": "
|
|
87080
|
+
"name": "_formKeyDown",
|
|
86905
87081
|
"privacy": "private",
|
|
86906
|
-
"
|
|
87082
|
+
"inheritedFrom": {
|
|
87083
|
+
"name": "SbbButtonBaseElement",
|
|
87084
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87085
|
+
}
|
|
86907
87086
|
},
|
|
86908
87087
|
{
|
|
86909
87088
|
"kind": "field",
|
|
86910
|
-
"name": "
|
|
86911
|
-
"
|
|
86912
|
-
|
|
87089
|
+
"name": "formAssociated",
|
|
87090
|
+
"type": {
|
|
87091
|
+
"text": "boolean"
|
|
87092
|
+
},
|
|
87093
|
+
"privacy": "public",
|
|
87094
|
+
"static": true,
|
|
87095
|
+
"default": "true",
|
|
87096
|
+
"inheritedFrom": {
|
|
87097
|
+
"name": "SbbFormAssociatedMixin",
|
|
87098
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87099
|
+
}
|
|
86913
87100
|
},
|
|
86914
87101
|
{
|
|
86915
87102
|
"kind": "field",
|
|
86916
|
-
"name": "
|
|
87103
|
+
"name": "name",
|
|
87104
|
+
"privacy": "public",
|
|
87105
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
86917
87106
|
"type": {
|
|
86918
|
-
"text": "
|
|
87107
|
+
"text": "string"
|
|
86919
87108
|
},
|
|
86920
|
-
"
|
|
86921
|
-
"
|
|
87109
|
+
"attribute": "name",
|
|
87110
|
+
"inheritedFrom": {
|
|
87111
|
+
"name": "SbbFormAssociatedMixin",
|
|
87112
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87113
|
+
}
|
|
86922
87114
|
},
|
|
86923
87115
|
{
|
|
86924
|
-
"kind": "
|
|
86925
|
-
"name": "
|
|
87116
|
+
"kind": "field",
|
|
87117
|
+
"name": "validity",
|
|
87118
|
+
"type": {
|
|
87119
|
+
"text": "ValidityState"
|
|
87120
|
+
},
|
|
86926
87121
|
"privacy": "public",
|
|
86927
|
-
"
|
|
86928
|
-
|
|
86929
|
-
|
|
86930
|
-
|
|
87122
|
+
"description": "Returns the ValidityState object for this element.",
|
|
87123
|
+
"readonly": true,
|
|
87124
|
+
"inheritedFrom": {
|
|
87125
|
+
"name": "SbbFormAssociatedMixin",
|
|
87126
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87127
|
+
}
|
|
87128
|
+
},
|
|
87129
|
+
{
|
|
87130
|
+
"kind": "field",
|
|
87131
|
+
"name": "validationMessage",
|
|
87132
|
+
"type": {
|
|
87133
|
+
"text": "string"
|
|
86931
87134
|
},
|
|
86932
|
-
"
|
|
87135
|
+
"privacy": "public",
|
|
87136
|
+
"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.",
|
|
87137
|
+
"readonly": true,
|
|
86933
87138
|
"inheritedFrom": {
|
|
86934
|
-
"name": "
|
|
86935
|
-
"module": "core/
|
|
87139
|
+
"name": "SbbFormAssociatedMixin",
|
|
87140
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
86936
87141
|
}
|
|
86937
87142
|
},
|
|
86938
87143
|
{
|
|
86939
|
-
"kind": "
|
|
86940
|
-
"name": "
|
|
87144
|
+
"kind": "field",
|
|
87145
|
+
"name": "willValidate",
|
|
87146
|
+
"type": {
|
|
87147
|
+
"text": "boolean"
|
|
87148
|
+
},
|
|
86941
87149
|
"privacy": "public",
|
|
86942
|
-
"
|
|
86943
|
-
|
|
86944
|
-
|
|
86945
|
-
|
|
87150
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
87151
|
+
"readonly": true,
|
|
87152
|
+
"inheritedFrom": {
|
|
87153
|
+
"name": "SbbFormAssociatedMixin",
|
|
87154
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87155
|
+
}
|
|
87156
|
+
},
|
|
87157
|
+
{
|
|
87158
|
+
"kind": "field",
|
|
87159
|
+
"name": "_validityStates",
|
|
87160
|
+
"privacy": "private",
|
|
87161
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
87162
|
+
"inheritedFrom": {
|
|
87163
|
+
"name": "SbbFormAssociatedMixin",
|
|
87164
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87165
|
+
}
|
|
87166
|
+
},
|
|
87167
|
+
{
|
|
87168
|
+
"kind": "field",
|
|
87169
|
+
"name": "formDisabled",
|
|
87170
|
+
"type": {
|
|
87171
|
+
"text": "boolean"
|
|
86946
87172
|
},
|
|
86947
|
-
"
|
|
87173
|
+
"privacy": "protected",
|
|
87174
|
+
"default": "false",
|
|
87175
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
86948
87176
|
"inheritedFrom": {
|
|
86949
|
-
"name": "
|
|
86950
|
-
"module": "core/
|
|
87177
|
+
"name": "SbbFormAssociatedMixin",
|
|
87178
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
86951
87179
|
}
|
|
86952
87180
|
},
|
|
86953
87181
|
{
|
|
86954
87182
|
"kind": "method",
|
|
86955
|
-
"name": "
|
|
87183
|
+
"name": "checkValidity",
|
|
86956
87184
|
"privacy": "public",
|
|
86957
87185
|
"return": {
|
|
86958
87186
|
"type": {
|
|
86959
|
-
"text": "
|
|
87187
|
+
"text": "boolean"
|
|
86960
87188
|
}
|
|
86961
87189
|
},
|
|
86962
|
-
"description": "
|
|
87190
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
86963
87191
|
"inheritedFrom": {
|
|
86964
|
-
"name": "
|
|
86965
|
-
"module": "core/
|
|
87192
|
+
"name": "SbbFormAssociatedMixin",
|
|
87193
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
86966
87194
|
}
|
|
86967
87195
|
},
|
|
86968
87196
|
{
|
|
86969
87197
|
"kind": "method",
|
|
86970
|
-
"name": "
|
|
87198
|
+
"name": "reportValidity",
|
|
86971
87199
|
"privacy": "public",
|
|
86972
87200
|
"return": {
|
|
86973
87201
|
"type": {
|
|
86974
|
-
"text": "
|
|
87202
|
+
"text": "boolean"
|
|
86975
87203
|
}
|
|
86976
87204
|
},
|
|
86977
|
-
"description": "
|
|
87205
|
+
"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.",
|
|
87206
|
+
"inheritedFrom": {
|
|
87207
|
+
"name": "SbbFormAssociatedMixin",
|
|
87208
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87209
|
+
}
|
|
86978
87210
|
},
|
|
86979
87211
|
{
|
|
86980
87212
|
"kind": "method",
|
|
86981
|
-
"name": "
|
|
86982
|
-
"privacy": "
|
|
87213
|
+
"name": "setCustomValidity",
|
|
87214
|
+
"privacy": "public",
|
|
86983
87215
|
"return": {
|
|
86984
87216
|
"type": {
|
|
86985
87217
|
"text": "void"
|
|
@@ -86987,47 +87219,65 @@
|
|
|
86987
87219
|
},
|
|
86988
87220
|
"parameters": [
|
|
86989
87221
|
{
|
|
86990
|
-
"name": "
|
|
86991
|
-
"
|
|
86992
|
-
|
|
86993
|
-
|
|
87222
|
+
"name": "message",
|
|
87223
|
+
"type": {
|
|
87224
|
+
"text": "string"
|
|
87225
|
+
}
|
|
86994
87226
|
}
|
|
86995
|
-
]
|
|
87227
|
+
],
|
|
87228
|
+
"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.",
|
|
87229
|
+
"inheritedFrom": {
|
|
87230
|
+
"name": "SbbFormAssociatedMixin",
|
|
87231
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87232
|
+
}
|
|
86996
87233
|
},
|
|
86997
87234
|
{
|
|
86998
87235
|
"kind": "method",
|
|
86999
|
-
"name": "
|
|
87236
|
+
"name": "_hasDisabledAncestor",
|
|
87000
87237
|
"privacy": "private",
|
|
87001
87238
|
"return": {
|
|
87002
87239
|
"type": {
|
|
87003
87240
|
"text": "boolean"
|
|
87004
87241
|
}
|
|
87242
|
+
},
|
|
87243
|
+
"inheritedFrom": {
|
|
87244
|
+
"name": "SbbFormAssociatedMixin",
|
|
87245
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87005
87246
|
}
|
|
87006
87247
|
},
|
|
87007
87248
|
{
|
|
87008
87249
|
"kind": "method",
|
|
87009
|
-
"name": "
|
|
87010
|
-
"privacy": "
|
|
87250
|
+
"name": "updateFormValue",
|
|
87251
|
+
"privacy": "protected",
|
|
87011
87252
|
"return": {
|
|
87012
87253
|
"type": {
|
|
87013
87254
|
"text": "void"
|
|
87014
87255
|
}
|
|
87256
|
+
},
|
|
87257
|
+
"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",
|
|
87258
|
+
"inheritedFrom": {
|
|
87259
|
+
"name": "SbbFormAssociatedMixin",
|
|
87260
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87015
87261
|
}
|
|
87016
87262
|
},
|
|
87017
87263
|
{
|
|
87018
87264
|
"kind": "method",
|
|
87019
|
-
"name": "
|
|
87020
|
-
"privacy": "
|
|
87265
|
+
"name": "formState",
|
|
87266
|
+
"privacy": "protected",
|
|
87021
87267
|
"return": {
|
|
87022
87268
|
"type": {
|
|
87023
|
-
"text": "
|
|
87269
|
+
"text": "FormRestoreState"
|
|
87024
87270
|
}
|
|
87271
|
+
},
|
|
87272
|
+
"inheritedFrom": {
|
|
87273
|
+
"name": "SbbFormAssociatedMixin",
|
|
87274
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87025
87275
|
}
|
|
87026
87276
|
},
|
|
87027
87277
|
{
|
|
87028
87278
|
"kind": "method",
|
|
87029
|
-
"name": "
|
|
87030
|
-
"privacy": "
|
|
87279
|
+
"name": "setValidityFlag",
|
|
87280
|
+
"privacy": "protected",
|
|
87031
87281
|
"return": {
|
|
87032
87282
|
"type": {
|
|
87033
87283
|
"text": "void"
|
|
@@ -87035,37 +87285,35 @@
|
|
|
87035
87285
|
},
|
|
87036
87286
|
"parameters": [
|
|
87037
87287
|
{
|
|
87038
|
-
"name": "
|
|
87288
|
+
"name": "flag",
|
|
87039
87289
|
"type": {
|
|
87040
|
-
"text": "
|
|
87290
|
+
"text": "T"
|
|
87291
|
+
}
|
|
87292
|
+
},
|
|
87293
|
+
{
|
|
87294
|
+
"name": "message",
|
|
87295
|
+
"type": {
|
|
87296
|
+
"text": "string"
|
|
87297
|
+
}
|
|
87298
|
+
},
|
|
87299
|
+
{
|
|
87300
|
+
"name": "flagValue",
|
|
87301
|
+
"optional": true,
|
|
87302
|
+
"type": {
|
|
87303
|
+
"text": "ValidityStateFlags[T]"
|
|
87041
87304
|
}
|
|
87042
87305
|
}
|
|
87043
|
-
]
|
|
87044
|
-
|
|
87045
|
-
|
|
87046
|
-
|
|
87047
|
-
|
|
87048
|
-
"privacy": "private",
|
|
87049
|
-
"return": {
|
|
87050
|
-
"type": {
|
|
87051
|
-
"text": "void"
|
|
87052
|
-
}
|
|
87053
|
-
}
|
|
87054
|
-
},
|
|
87055
|
-
{
|
|
87056
|
-
"kind": "method",
|
|
87057
|
-
"name": "_attachWindowEvents",
|
|
87058
|
-
"privacy": "private",
|
|
87059
|
-
"return": {
|
|
87060
|
-
"type": {
|
|
87061
|
-
"text": "void"
|
|
87062
|
-
}
|
|
87306
|
+
],
|
|
87307
|
+
"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).",
|
|
87308
|
+
"inheritedFrom": {
|
|
87309
|
+
"name": "SbbFormAssociatedMixin",
|
|
87310
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87063
87311
|
}
|
|
87064
87312
|
},
|
|
87065
87313
|
{
|
|
87066
87314
|
"kind": "method",
|
|
87067
|
-
"name": "
|
|
87068
|
-
"privacy": "
|
|
87315
|
+
"name": "removeValidityFlag",
|
|
87316
|
+
"privacy": "protected",
|
|
87069
87317
|
"return": {
|
|
87070
87318
|
"type": {
|
|
87071
87319
|
"text": "void"
|
|
@@ -87073,139 +87321,118 @@
|
|
|
87073
87321
|
},
|
|
87074
87322
|
"parameters": [
|
|
87075
87323
|
{
|
|
87076
|
-
"name": "
|
|
87324
|
+
"name": "flag",
|
|
87077
87325
|
"type": {
|
|
87078
|
-
"text": "
|
|
87326
|
+
"text": "T"
|
|
87079
87327
|
}
|
|
87080
87328
|
}
|
|
87081
|
-
]
|
|
87082
|
-
|
|
87083
|
-
|
|
87084
|
-
|
|
87085
|
-
|
|
87086
|
-
"privacy": "private"
|
|
87087
|
-
},
|
|
87088
|
-
{
|
|
87089
|
-
"kind": "field",
|
|
87090
|
-
"name": "_closeOnBackdropClick",
|
|
87091
|
-
"privacy": "private"
|
|
87092
|
-
},
|
|
87093
|
-
{
|
|
87094
|
-
"kind": "method",
|
|
87095
|
-
"name": "_nestedMenus",
|
|
87096
|
-
"privacy": "private",
|
|
87097
|
-
"return": {
|
|
87098
|
-
"type": {
|
|
87099
|
-
"text": "SbbMenuElement[]"
|
|
87100
|
-
}
|
|
87101
|
-
},
|
|
87102
|
-
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
87103
|
-
},
|
|
87104
|
-
{
|
|
87105
|
-
"kind": "method",
|
|
87106
|
-
"name": "_parentMenu",
|
|
87107
|
-
"privacy": "private",
|
|
87108
|
-
"return": {
|
|
87109
|
-
"type": {
|
|
87110
|
-
"text": "SbbMenuElement | null"
|
|
87111
|
-
}
|
|
87112
|
-
}
|
|
87113
|
-
},
|
|
87114
|
-
{
|
|
87115
|
-
"kind": "method",
|
|
87116
|
-
"name": "_mainMenu",
|
|
87117
|
-
"privacy": "private",
|
|
87118
|
-
"return": {
|
|
87119
|
-
"type": {
|
|
87120
|
-
"text": "SbbMenuElement"
|
|
87121
|
-
}
|
|
87122
|
-
},
|
|
87123
|
-
"description": "The outermost menu."
|
|
87124
|
-
},
|
|
87125
|
-
{
|
|
87126
|
-
"kind": "method",
|
|
87127
|
-
"name": "_isNested",
|
|
87128
|
-
"privacy": "private",
|
|
87129
|
-
"return": {
|
|
87130
|
-
"type": {
|
|
87131
|
-
"text": "boolean"
|
|
87132
|
-
}
|
|
87329
|
+
],
|
|
87330
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
87331
|
+
"inheritedFrom": {
|
|
87332
|
+
"name": "SbbFormAssociatedMixin",
|
|
87333
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87133
87334
|
}
|
|
87134
87335
|
},
|
|
87135
87336
|
{
|
|
87136
87337
|
"kind": "method",
|
|
87137
|
-
"name": "
|
|
87138
|
-
"privacy": "
|
|
87338
|
+
"name": "validate",
|
|
87339
|
+
"privacy": "protected",
|
|
87139
87340
|
"return": {
|
|
87140
87341
|
"type": {
|
|
87141
87342
|
"text": "void"
|
|
87142
87343
|
}
|
|
87344
|
+
},
|
|
87345
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
87346
|
+
"inheritedFrom": {
|
|
87347
|
+
"name": "SbbFormAssociatedMixin",
|
|
87348
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87143
87349
|
}
|
|
87144
87350
|
},
|
|
87145
87351
|
{
|
|
87146
87352
|
"kind": "method",
|
|
87147
|
-
"name": "
|
|
87148
|
-
"privacy": "
|
|
87353
|
+
"name": "shouldValidate",
|
|
87354
|
+
"privacy": "protected",
|
|
87149
87355
|
"return": {
|
|
87150
87356
|
"type": {
|
|
87151
|
-
"text": "
|
|
87357
|
+
"text": "boolean"
|
|
87152
87358
|
}
|
|
87153
87359
|
},
|
|
87154
87360
|
"parameters": [
|
|
87155
87361
|
{
|
|
87156
|
-
"name": "
|
|
87362
|
+
"name": "name",
|
|
87157
87363
|
"type": {
|
|
87158
|
-
"text": "
|
|
87364
|
+
"text": "PropertyKey | undefined"
|
|
87159
87365
|
}
|
|
87160
87366
|
}
|
|
87161
|
-
]
|
|
87367
|
+
],
|
|
87368
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
87369
|
+
"inheritedFrom": {
|
|
87370
|
+
"name": "SbbFormAssociatedMixin",
|
|
87371
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87372
|
+
}
|
|
87162
87373
|
},
|
|
87163
87374
|
{
|
|
87164
87375
|
"kind": "method",
|
|
87165
|
-
"name": "
|
|
87376
|
+
"name": "_setInternalValidity",
|
|
87166
87377
|
"privacy": "private",
|
|
87167
87378
|
"return": {
|
|
87168
87379
|
"type": {
|
|
87169
87380
|
"text": "void"
|
|
87170
87381
|
}
|
|
87171
87382
|
},
|
|
87383
|
+
"inheritedFrom": {
|
|
87384
|
+
"name": "SbbFormAssociatedMixin",
|
|
87385
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87386
|
+
}
|
|
87387
|
+
},
|
|
87388
|
+
{
|
|
87389
|
+
"kind": "field",
|
|
87390
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
87391
|
+
"privacy": "private",
|
|
87392
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
87172
87393
|
"parameters": [
|
|
87173
87394
|
{
|
|
87174
|
-
"
|
|
87175
|
-
"
|
|
87176
|
-
"text": "AnimationEvent"
|
|
87177
|
-
}
|
|
87395
|
+
"description": "The origin event.",
|
|
87396
|
+
"name": "event"
|
|
87178
87397
|
}
|
|
87179
|
-
]
|
|
87398
|
+
],
|
|
87399
|
+
"inheritedFrom": {
|
|
87400
|
+
"name": "SbbButtonLikeBaseElement",
|
|
87401
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87402
|
+
}
|
|
87180
87403
|
},
|
|
87181
87404
|
{
|
|
87182
|
-
"kind": "
|
|
87183
|
-
"name": "
|
|
87405
|
+
"kind": "field",
|
|
87406
|
+
"name": "_removeActiveMarker",
|
|
87184
87407
|
"privacy": "private",
|
|
87185
|
-
"
|
|
87186
|
-
"
|
|
87187
|
-
|
|
87188
|
-
}
|
|
87408
|
+
"inheritedFrom": {
|
|
87409
|
+
"name": "SbbButtonLikeBaseElement",
|
|
87410
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87189
87411
|
}
|
|
87190
87412
|
},
|
|
87191
87413
|
{
|
|
87192
|
-
"kind": "
|
|
87193
|
-
"name": "
|
|
87414
|
+
"kind": "field",
|
|
87415
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
87194
87416
|
"privacy": "private",
|
|
87195
|
-
"
|
|
87196
|
-
|
|
87197
|
-
|
|
87417
|
+
"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.",
|
|
87418
|
+
"parameters": [
|
|
87419
|
+
{
|
|
87420
|
+
"description": "The origin event.",
|
|
87421
|
+
"name": "event"
|
|
87198
87422
|
}
|
|
87423
|
+
],
|
|
87424
|
+
"inheritedFrom": {
|
|
87425
|
+
"name": "SbbButtonLikeBaseElement",
|
|
87426
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87199
87427
|
}
|
|
87200
87428
|
},
|
|
87201
87429
|
{
|
|
87202
|
-
"kind": "
|
|
87203
|
-
"name": "
|
|
87430
|
+
"kind": "field",
|
|
87431
|
+
"name": "_dispatchClickEvent",
|
|
87204
87432
|
"privacy": "private",
|
|
87205
|
-
"
|
|
87206
|
-
"
|
|
87207
|
-
|
|
87208
|
-
}
|
|
87433
|
+
"inheritedFrom": {
|
|
87434
|
+
"name": "SbbButtonLikeBaseElement",
|
|
87435
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87209
87436
|
}
|
|
87210
87437
|
},
|
|
87211
87438
|
{
|
|
@@ -87233,182 +87460,155 @@
|
|
|
87233
87460
|
}
|
|
87234
87461
|
],
|
|
87235
87462
|
"inheritedFrom": {
|
|
87236
|
-
"name": "
|
|
87237
|
-
"module": "core/base-elements/
|
|
87463
|
+
"name": "SbbActionBaseElement",
|
|
87464
|
+
"module": "core/base-elements/action-base-element.js"
|
|
87238
87465
|
}
|
|
87239
87466
|
},
|
|
87240
87467
|
{
|
|
87241
87468
|
"kind": "field",
|
|
87242
|
-
"name": "
|
|
87243
|
-
"privacy": "public",
|
|
87244
|
-
"static": true,
|
|
87245
|
-
"readonly": true,
|
|
87246
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
87469
|
+
"name": "maybeDisabled",
|
|
87247
87470
|
"type": {
|
|
87248
|
-
"text": "
|
|
87471
|
+
"text": "boolean | undefined"
|
|
87249
87472
|
},
|
|
87250
|
-
"inheritedFrom": {
|
|
87251
|
-
"name": "SbbOpenCloseBaseElement",
|
|
87252
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
87253
|
-
}
|
|
87254
|
-
},
|
|
87255
|
-
{
|
|
87256
|
-
"kind": "field",
|
|
87257
|
-
"name": "state",
|
|
87258
87473
|
"privacy": "protected",
|
|
87259
|
-
"
|
|
87260
|
-
"type": {
|
|
87261
|
-
"text": "SbbOpenedClosedState"
|
|
87262
|
-
},
|
|
87263
|
-
"default": "'closed'",
|
|
87264
|
-
"inheritedFrom": {
|
|
87265
|
-
"name": "SbbOpenCloseBaseElement",
|
|
87266
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
87267
|
-
}
|
|
87268
|
-
},
|
|
87269
|
-
{
|
|
87270
|
-
"kind": "field",
|
|
87271
|
-
"name": "_state",
|
|
87272
|
-
"type": {
|
|
87273
|
-
"text": "SbbOpenedClosedState"
|
|
87274
|
-
},
|
|
87275
|
-
"privacy": "private",
|
|
87474
|
+
"readonly": true,
|
|
87276
87475
|
"inheritedFrom": {
|
|
87277
|
-
"name": "
|
|
87278
|
-
"module": "core/base-elements/
|
|
87476
|
+
"name": "SbbActionBaseElement",
|
|
87477
|
+
"module": "core/base-elements/action-base-element.js"
|
|
87279
87478
|
}
|
|
87280
87479
|
},
|
|
87281
87480
|
{
|
|
87282
87481
|
"kind": "field",
|
|
87283
|
-
"name": "
|
|
87482
|
+
"name": "maybeDisabledInteractive",
|
|
87284
87483
|
"type": {
|
|
87285
|
-
"text": "boolean"
|
|
87484
|
+
"text": "boolean | undefined"
|
|
87286
87485
|
},
|
|
87287
|
-
"privacy": "
|
|
87288
|
-
"description": "Whether the element is open.",
|
|
87486
|
+
"privacy": "protected",
|
|
87289
87487
|
"readonly": true,
|
|
87290
87488
|
"inheritedFrom": {
|
|
87291
|
-
"name": "
|
|
87292
|
-
"module": "core/base-elements/
|
|
87489
|
+
"name": "SbbActionBaseElement",
|
|
87490
|
+
"module": "core/base-elements/action-base-element.js"
|
|
87293
87491
|
}
|
|
87294
87492
|
},
|
|
87295
87493
|
{
|
|
87296
87494
|
"kind": "method",
|
|
87297
|
-
"name": "
|
|
87495
|
+
"name": "setupBaseEventHandlers",
|
|
87298
87496
|
"privacy": "protected",
|
|
87299
87497
|
"return": {
|
|
87300
87498
|
"type": {
|
|
87301
|
-
"text": "
|
|
87499
|
+
"text": "void"
|
|
87302
87500
|
}
|
|
87303
87501
|
},
|
|
87304
87502
|
"inheritedFrom": {
|
|
87305
|
-
"name": "
|
|
87306
|
-
"module": "core/base-elements/
|
|
87503
|
+
"name": "SbbActionBaseElement",
|
|
87504
|
+
"module": "core/base-elements/action-base-element.js"
|
|
87307
87505
|
}
|
|
87506
|
+
}
|
|
87507
|
+
],
|
|
87508
|
+
"mixins": [
|
|
87509
|
+
{
|
|
87510
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
87511
|
+
"module": "core/mixins.js"
|
|
87308
87512
|
},
|
|
87309
87513
|
{
|
|
87310
|
-
"
|
|
87311
|
-
"
|
|
87312
|
-
|
|
87313
|
-
|
|
87314
|
-
|
|
87315
|
-
|
|
87316
|
-
|
|
87514
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
87515
|
+
"module": "menu/common.js"
|
|
87516
|
+
}
|
|
87517
|
+
],
|
|
87518
|
+
"superclass": {
|
|
87519
|
+
"name": "SbbButtonBaseElement",
|
|
87520
|
+
"module": "core/base-elements.js"
|
|
87521
|
+
},
|
|
87522
|
+
"tagName": "sbb-menu-button",
|
|
87523
|
+
"customElement": true,
|
|
87524
|
+
"attributes": [
|
|
87525
|
+
{
|
|
87526
|
+
"name": "disabled-interactive",
|
|
87527
|
+
"type": {
|
|
87528
|
+
"text": "boolean"
|
|
87317
87529
|
},
|
|
87530
|
+
"default": "false",
|
|
87531
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
87532
|
+
"fieldName": "disabledInteractive",
|
|
87318
87533
|
"inheritedFrom": {
|
|
87319
|
-
"name": "
|
|
87320
|
-
"module": "core/
|
|
87534
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
87535
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
87321
87536
|
}
|
|
87322
87537
|
},
|
|
87323
87538
|
{
|
|
87324
|
-
"
|
|
87325
|
-
"
|
|
87326
|
-
"
|
|
87327
|
-
"
|
|
87328
|
-
"
|
|
87329
|
-
"text": "boolean"
|
|
87330
|
-
}
|
|
87539
|
+
"name": "disabled",
|
|
87540
|
+
"description": "Whether the component is disabled.",
|
|
87541
|
+
"default": "false",
|
|
87542
|
+
"type": {
|
|
87543
|
+
"text": "boolean"
|
|
87331
87544
|
},
|
|
87545
|
+
"fieldName": "disabled",
|
|
87332
87546
|
"inheritedFrom": {
|
|
87333
|
-
"name": "
|
|
87334
|
-
"module": "core/
|
|
87547
|
+
"name": "SbbDisabledMixin",
|
|
87548
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
87335
87549
|
}
|
|
87336
87550
|
},
|
|
87337
87551
|
{
|
|
87338
|
-
"
|
|
87339
|
-
"
|
|
87340
|
-
|
|
87341
|
-
"return": {
|
|
87342
|
-
"type": {
|
|
87343
|
-
"text": "boolean"
|
|
87344
|
-
}
|
|
87552
|
+
"name": "icon-name",
|
|
87553
|
+
"type": {
|
|
87554
|
+
"text": "string"
|
|
87345
87555
|
},
|
|
87556
|
+
"default": "''",
|
|
87557
|
+
"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.",
|
|
87558
|
+
"fieldName": "iconName",
|
|
87346
87559
|
"inheritedFrom": {
|
|
87347
|
-
"name": "
|
|
87348
|
-
"module": "
|
|
87560
|
+
"name": "SbbIconNameMixin",
|
|
87561
|
+
"module": "icon/icon-name-mixin.js"
|
|
87349
87562
|
}
|
|
87350
|
-
}
|
|
87351
|
-
],
|
|
87352
|
-
"attributes": [
|
|
87353
|
-
{
|
|
87354
|
-
"name": "trigger",
|
|
87355
|
-
"type": {
|
|
87356
|
-
"text": "HTMLElement | null"
|
|
87357
|
-
},
|
|
87358
|
-
"default": "null",
|
|
87359
|
-
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
87360
|
-
"fieldName": "trigger"
|
|
87361
|
-
}
|
|
87362
|
-
],
|
|
87363
|
-
"superclass": {
|
|
87364
|
-
"name": "SbbOpenCloseBaseElement",
|
|
87365
|
-
"module": "core/base-elements.js"
|
|
87366
|
-
},
|
|
87367
|
-
"tagName": "sbb-menu",
|
|
87368
|
-
"customElement": true,
|
|
87369
|
-
"events": [
|
|
87563
|
+
},
|
|
87370
87564
|
{
|
|
87371
|
-
"name": "
|
|
87565
|
+
"name": "value",
|
|
87372
87566
|
"type": {
|
|
87373
|
-
"text": "
|
|
87567
|
+
"text": "string"
|
|
87374
87568
|
},
|
|
87375
|
-
"
|
|
87569
|
+
"default": "''",
|
|
87570
|
+
"description": "Value of the form element.",
|
|
87571
|
+
"fieldName": "value",
|
|
87376
87572
|
"inheritedFrom": {
|
|
87377
|
-
"name": "
|
|
87378
|
-
"module": "core/base-elements/
|
|
87573
|
+
"name": "SbbButtonBaseElement",
|
|
87574
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87379
87575
|
}
|
|
87380
87576
|
},
|
|
87381
87577
|
{
|
|
87382
|
-
"name": "
|
|
87578
|
+
"name": "type",
|
|
87579
|
+
"description": "The type attribute to use for the button.",
|
|
87580
|
+
"default": "'button'",
|
|
87383
87581
|
"type": {
|
|
87384
|
-
"text": "
|
|
87582
|
+
"text": "SbbButtonType"
|
|
87385
87583
|
},
|
|
87386
|
-
"
|
|
87584
|
+
"fieldName": "type",
|
|
87387
87585
|
"inheritedFrom": {
|
|
87388
|
-
"name": "
|
|
87389
|
-
"module": "core/base-elements/
|
|
87586
|
+
"name": "SbbButtonBaseElement",
|
|
87587
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87390
87588
|
}
|
|
87391
87589
|
},
|
|
87392
87590
|
{
|
|
87393
|
-
"name": "
|
|
87591
|
+
"name": "form",
|
|
87592
|
+
"description": "The `<form>` element to associate the button with.",
|
|
87394
87593
|
"type": {
|
|
87395
|
-
"text": "
|
|
87594
|
+
"text": "HTMLFormElement | null"
|
|
87396
87595
|
},
|
|
87397
|
-
"
|
|
87596
|
+
"fieldName": "form",
|
|
87398
87597
|
"inheritedFrom": {
|
|
87399
|
-
"name": "
|
|
87400
|
-
"module": "core/base-elements/
|
|
87598
|
+
"name": "SbbButtonBaseElement",
|
|
87599
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87401
87600
|
}
|
|
87402
87601
|
},
|
|
87403
87602
|
{
|
|
87404
|
-
"name": "
|
|
87603
|
+
"name": "name",
|
|
87604
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
87405
87605
|
"type": {
|
|
87406
|
-
"text": "
|
|
87606
|
+
"text": "string"
|
|
87407
87607
|
},
|
|
87408
|
-
"
|
|
87608
|
+
"fieldName": "name",
|
|
87409
87609
|
"inheritedFrom": {
|
|
87410
|
-
"name": "
|
|
87411
|
-
"module": "core/
|
|
87610
|
+
"name": "SbbFormAssociatedMixin",
|
|
87611
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87412
87612
|
}
|
|
87413
87613
|
}
|
|
87414
87614
|
]
|
|
@@ -87417,45 +87617,41 @@
|
|
|
87417
87617
|
"exports": [
|
|
87418
87618
|
{
|
|
87419
87619
|
"kind": "js",
|
|
87420
|
-
"name": "
|
|
87620
|
+
"name": "SbbMenuButtonElement",
|
|
87421
87621
|
"declaration": {
|
|
87422
|
-
"name": "
|
|
87423
|
-
"module": "menu/menu/menu.component.js"
|
|
87622
|
+
"name": "SbbMenuButtonElement",
|
|
87623
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
87424
87624
|
}
|
|
87425
87625
|
},
|
|
87426
87626
|
{
|
|
87427
87627
|
"kind": "custom-element-definition",
|
|
87428
|
-
"name": "sbb-menu",
|
|
87628
|
+
"name": "sbb-menu-button",
|
|
87429
87629
|
"declaration": {
|
|
87430
|
-
"name": "
|
|
87431
|
-
"module": "menu/menu/menu.component.js"
|
|
87630
|
+
"name": "SbbMenuButtonElement",
|
|
87631
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
87432
87632
|
}
|
|
87433
87633
|
}
|
|
87434
87634
|
]
|
|
87435
87635
|
},
|
|
87436
87636
|
{
|
|
87437
87637
|
"kind": "javascript-module",
|
|
87438
|
-
"path": "menu/menu
|
|
87638
|
+
"path": "menu/menu/menu.component.js",
|
|
87439
87639
|
"declarations": [
|
|
87440
87640
|
{
|
|
87441
87641
|
"kind": "class",
|
|
87442
|
-
"description": "It displays a
|
|
87443
|
-
"name": "
|
|
87642
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
87643
|
+
"name": "SbbMenuElement",
|
|
87444
87644
|
"cssProperties": [
|
|
87445
87645
|
{
|
|
87446
|
-
"description": "
|
|
87447
|
-
"name": "--sbb-menu-
|
|
87448
|
-
"default": "var(--sbb-
|
|
87646
|
+
"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`.",
|
|
87647
|
+
"name": "--sbb-menu-z-index",
|
|
87648
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
87449
87649
|
}
|
|
87450
87650
|
],
|
|
87451
87651
|
"slots": [
|
|
87452
87652
|
{
|
|
87453
|
-
"description": "Use the unnamed slot to add
|
|
87653
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
87454
87654
|
"name": ""
|
|
87455
|
-
},
|
|
87456
|
-
{
|
|
87457
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
87458
|
-
"name": "icon"
|
|
87459
87655
|
}
|
|
87460
87656
|
],
|
|
87461
87657
|
"members": [
|
|
@@ -87463,477 +87659,231 @@
|
|
|
87463
87659
|
"kind": "field",
|
|
87464
87660
|
"name": "role",
|
|
87465
87661
|
"type": {
|
|
87466
|
-
"text": "
|
|
87662
|
+
"text": "string"
|
|
87467
87663
|
},
|
|
87468
87664
|
"privacy": "public",
|
|
87469
87665
|
"static": true,
|
|
87470
87666
|
"readonly": true,
|
|
87471
|
-
"default": "'
|
|
87472
|
-
"inheritedFrom": {
|
|
87473
|
-
"name": "SbbButtonLikeBaseElement",
|
|
87474
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87475
|
-
}
|
|
87476
|
-
},
|
|
87477
|
-
{
|
|
87478
|
-
"kind": "field",
|
|
87479
|
-
"name": "disabledInteractive",
|
|
87480
|
-
"type": {
|
|
87481
|
-
"text": "boolean"
|
|
87482
|
-
},
|
|
87483
|
-
"privacy": "public",
|
|
87484
|
-
"default": "false",
|
|
87485
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
87486
|
-
"attribute": "disabled-interactive",
|
|
87487
|
-
"reflects": true,
|
|
87488
|
-
"inheritedFrom": {
|
|
87489
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
87490
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
87491
|
-
}
|
|
87492
|
-
},
|
|
87493
|
-
{
|
|
87494
|
-
"kind": "field",
|
|
87495
|
-
"name": "disabled",
|
|
87496
|
-
"privacy": "public",
|
|
87497
|
-
"description": "Whether the component is disabled.",
|
|
87498
|
-
"default": "false",
|
|
87499
|
-
"type": {
|
|
87500
|
-
"text": "boolean"
|
|
87501
|
-
},
|
|
87502
|
-
"attribute": "disabled",
|
|
87503
|
-
"reflects": true,
|
|
87504
|
-
"inheritedFrom": {
|
|
87505
|
-
"name": "SbbDisabledMixin",
|
|
87506
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
87507
|
-
}
|
|
87508
|
-
},
|
|
87509
|
-
{
|
|
87510
|
-
"kind": "field",
|
|
87511
|
-
"name": "#disabled",
|
|
87512
|
-
"privacy": "private",
|
|
87513
|
-
"type": {
|
|
87514
|
-
"text": "boolean"
|
|
87515
|
-
},
|
|
87516
|
-
"default": "false",
|
|
87517
|
-
"inheritedFrom": {
|
|
87518
|
-
"name": "SbbDisabledMixin",
|
|
87519
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
87520
|
-
}
|
|
87521
|
-
},
|
|
87522
|
-
{
|
|
87523
|
-
"kind": "method",
|
|
87524
|
-
"name": "isDisabledExternally",
|
|
87525
|
-
"privacy": "protected",
|
|
87526
|
-
"return": {
|
|
87527
|
-
"type": {
|
|
87528
|
-
"text": "boolean"
|
|
87529
|
-
}
|
|
87530
|
-
},
|
|
87531
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
87532
|
-
"inheritedFrom": {
|
|
87533
|
-
"name": "SbbDisabledMixin",
|
|
87534
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
87535
|
-
}
|
|
87667
|
+
"default": "'menu'"
|
|
87536
87668
|
},
|
|
87537
87669
|
{
|
|
87538
87670
|
"kind": "field",
|
|
87539
|
-
"name": "
|
|
87671
|
+
"name": "trigger",
|
|
87540
87672
|
"type": {
|
|
87541
|
-
"text": "
|
|
87673
|
+
"text": "HTMLElement | null"
|
|
87542
87674
|
},
|
|
87543
87675
|
"privacy": "public",
|
|
87544
|
-
"
|
|
87545
|
-
"
|
|
87546
|
-
"
|
|
87547
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
87548
|
-
"module": "menu/common/menu-action-common.js"
|
|
87549
|
-
}
|
|
87550
|
-
},
|
|
87551
|
-
{
|
|
87552
|
-
"kind": "method",
|
|
87553
|
-
"name": "renderTemplate",
|
|
87554
|
-
"privacy": "protected",
|
|
87555
|
-
"return": {
|
|
87556
|
-
"type": {
|
|
87557
|
-
"text": "TemplateResult"
|
|
87558
|
-
}
|
|
87559
|
-
},
|
|
87560
|
-
"description": "Override this method to render the component template.",
|
|
87561
|
-
"inheritedFrom": {
|
|
87562
|
-
"name": "SbbActionBaseElement",
|
|
87563
|
-
"module": "core/base-elements/action-base-element.js"
|
|
87564
|
-
}
|
|
87676
|
+
"default": "null",
|
|
87677
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
87678
|
+
"attribute": "trigger"
|
|
87565
87679
|
},
|
|
87566
87680
|
{
|
|
87567
87681
|
"kind": "field",
|
|
87568
|
-
"name": "
|
|
87682
|
+
"name": "_menu",
|
|
87569
87683
|
"type": {
|
|
87570
|
-
"text": "
|
|
87571
|
-
},
|
|
87572
|
-
"privacy": "public",
|
|
87573
|
-
"default": "''",
|
|
87574
|
-
"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.",
|
|
87575
|
-
"attribute": "icon-name",
|
|
87576
|
-
"inheritedFrom": {
|
|
87577
|
-
"name": "SbbIconNameMixin",
|
|
87578
|
-
"module": "icon/icon-name-mixin.js"
|
|
87579
|
-
}
|
|
87580
|
-
},
|
|
87581
|
-
{
|
|
87582
|
-
"kind": "method",
|
|
87583
|
-
"name": "renderIconSlot",
|
|
87584
|
-
"privacy": "protected",
|
|
87585
|
-
"return": {
|
|
87586
|
-
"type": {
|
|
87587
|
-
"text": "TemplateResult"
|
|
87588
|
-
}
|
|
87589
|
-
},
|
|
87590
|
-
"parameters": [
|
|
87591
|
-
{
|
|
87592
|
-
"name": "classname",
|
|
87593
|
-
"optional": true,
|
|
87594
|
-
"type": {
|
|
87595
|
-
"text": "string"
|
|
87596
|
-
}
|
|
87597
|
-
}
|
|
87598
|
-
],
|
|
87599
|
-
"inheritedFrom": {
|
|
87600
|
-
"name": "SbbIconNameMixin",
|
|
87601
|
-
"module": "icon/icon-name-mixin.js"
|
|
87602
|
-
}
|
|
87603
|
-
},
|
|
87604
|
-
{
|
|
87605
|
-
"kind": "method",
|
|
87606
|
-
"name": "renderIconName",
|
|
87607
|
-
"privacy": "protected",
|
|
87608
|
-
"return": {
|
|
87609
|
-
"type": {
|
|
87610
|
-
"text": "string"
|
|
87611
|
-
}
|
|
87612
|
-
},
|
|
87613
|
-
"inheritedFrom": {
|
|
87614
|
-
"name": "SbbIconNameMixin",
|
|
87615
|
-
"module": "icon/icon-name-mixin.js"
|
|
87616
|
-
}
|
|
87617
|
-
},
|
|
87618
|
-
{
|
|
87619
|
-
"kind": "method",
|
|
87620
|
-
"name": "_renderIconName",
|
|
87621
|
-
"privacy": "private",
|
|
87622
|
-
"return": {
|
|
87623
|
-
"type": {
|
|
87624
|
-
"text": "string"
|
|
87625
|
-
}
|
|
87684
|
+
"text": "HTMLDivElement"
|
|
87626
87685
|
},
|
|
87627
|
-
"
|
|
87628
|
-
"name": "SbbIconNameMixin",
|
|
87629
|
-
"module": "icon/icon-name-mixin.js"
|
|
87630
|
-
}
|
|
87686
|
+
"privacy": "private"
|
|
87631
87687
|
},
|
|
87632
87688
|
{
|
|
87633
87689
|
"kind": "field",
|
|
87634
|
-
"name": "
|
|
87690
|
+
"name": "_triggerElement",
|
|
87635
87691
|
"type": {
|
|
87636
|
-
"text": "
|
|
87692
|
+
"text": "HTMLElement | null"
|
|
87637
87693
|
},
|
|
87638
87694
|
"privacy": "private",
|
|
87639
|
-
"
|
|
87640
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
87641
|
-
"inheritedFrom": {
|
|
87642
|
-
"name": "SbbButtonBaseElement",
|
|
87643
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87644
|
-
}
|
|
87695
|
+
"default": "null"
|
|
87645
87696
|
},
|
|
87646
87697
|
{
|
|
87647
87698
|
"kind": "field",
|
|
87648
|
-
"name": "
|
|
87699
|
+
"name": "_triggerAbortController",
|
|
87649
87700
|
"type": {
|
|
87650
|
-
"text": "
|
|
87651
|
-
},
|
|
87652
|
-
"privacy": "public",
|
|
87653
|
-
"inheritedFrom": {
|
|
87654
|
-
"name": "SbbButtonBaseElement",
|
|
87655
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87701
|
+
"text": "AbortController"
|
|
87656
87702
|
},
|
|
87657
|
-
"
|
|
87658
|
-
"description": "Value of the form element.",
|
|
87659
|
-
"attribute": "value"
|
|
87703
|
+
"privacy": "private"
|
|
87660
87704
|
},
|
|
87661
87705
|
{
|
|
87662
87706
|
"kind": "field",
|
|
87663
|
-
"name": "
|
|
87664
|
-
"privacy": "public",
|
|
87665
|
-
"description": "The type attribute to use for the button.",
|
|
87666
|
-
"default": "'button'",
|
|
87707
|
+
"name": "_isPointerDownEventOnMenu",
|
|
87667
87708
|
"type": {
|
|
87668
|
-
"text": "
|
|
87709
|
+
"text": "boolean"
|
|
87669
87710
|
},
|
|
87670
|
-
"
|
|
87671
|
-
"
|
|
87672
|
-
"name": "SbbButtonBaseElement",
|
|
87673
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87674
|
-
}
|
|
87711
|
+
"privacy": "private",
|
|
87712
|
+
"default": "false"
|
|
87675
87713
|
},
|
|
87676
87714
|
{
|
|
87677
87715
|
"kind": "field",
|
|
87678
|
-
"name": "
|
|
87716
|
+
"name": "_windowEventsController",
|
|
87679
87717
|
"type": {
|
|
87680
|
-
"text": "
|
|
87681
|
-
},
|
|
87682
|
-
"privacy": "public",
|
|
87683
|
-
"description": "The `<form>` element to associate the button with.",
|
|
87684
|
-
"inheritedFrom": {
|
|
87685
|
-
"name": "SbbButtonBaseElement",
|
|
87686
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87718
|
+
"text": "AbortController"
|
|
87687
87719
|
},
|
|
87688
|
-
"
|
|
87720
|
+
"privacy": "private"
|
|
87689
87721
|
},
|
|
87690
87722
|
{
|
|
87691
87723
|
"kind": "field",
|
|
87692
|
-
"name": "
|
|
87693
|
-
"type": {
|
|
87694
|
-
"text": "string"
|
|
87695
|
-
},
|
|
87724
|
+
"name": "_escapableOverlayController",
|
|
87696
87725
|
"privacy": "private",
|
|
87697
|
-
"default": "
|
|
87698
|
-
"inheritedFrom": {
|
|
87699
|
-
"name": "SbbButtonBaseElement",
|
|
87700
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87701
|
-
}
|
|
87726
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
87702
87727
|
},
|
|
87703
87728
|
{
|
|
87704
87729
|
"kind": "field",
|
|
87705
|
-
"name": "
|
|
87706
|
-
"privacy": "private",
|
|
87707
|
-
"inheritedFrom": {
|
|
87708
|
-
"name": "SbbButtonBaseElement",
|
|
87709
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87710
|
-
}
|
|
87711
|
-
},
|
|
87712
|
-
{
|
|
87713
|
-
"kind": "method",
|
|
87714
|
-
"name": "_requestSubmit",
|
|
87730
|
+
"name": "_focusTrapController",
|
|
87715
87731
|
"privacy": "private",
|
|
87716
|
-
"
|
|
87717
|
-
"type": {
|
|
87718
|
-
"text": "void"
|
|
87719
|
-
}
|
|
87720
|
-
},
|
|
87721
|
-
"parameters": [
|
|
87722
|
-
{
|
|
87723
|
-
"name": "form",
|
|
87724
|
-
"type": {
|
|
87725
|
-
"text": "HTMLFormElement"
|
|
87726
|
-
}
|
|
87727
|
-
}
|
|
87728
|
-
],
|
|
87729
|
-
"inheritedFrom": {
|
|
87730
|
-
"name": "SbbButtonBaseElement",
|
|
87731
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87732
|
-
}
|
|
87732
|
+
"default": "new SbbFocusTrapController(this)"
|
|
87733
87733
|
},
|
|
87734
87734
|
{
|
|
87735
87735
|
"kind": "field",
|
|
87736
|
-
"name": "
|
|
87736
|
+
"name": "_scrollHandler",
|
|
87737
87737
|
"privacy": "private",
|
|
87738
|
-
"
|
|
87739
|
-
"name": "SbbButtonBaseElement",
|
|
87740
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87741
|
-
}
|
|
87738
|
+
"default": "new SbbScrollHandler()"
|
|
87742
87739
|
},
|
|
87743
87740
|
{
|
|
87744
87741
|
"kind": "field",
|
|
87745
|
-
"name": "
|
|
87746
|
-
"
|
|
87747
|
-
|
|
87748
|
-
},
|
|
87749
|
-
"privacy": "public",
|
|
87750
|
-
"static": true,
|
|
87751
|
-
"default": "true",
|
|
87752
|
-
"inheritedFrom": {
|
|
87753
|
-
"name": "SbbFormAssociatedMixin",
|
|
87754
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87755
|
-
}
|
|
87742
|
+
"name": "_inertController",
|
|
87743
|
+
"privacy": "private",
|
|
87744
|
+
"default": "new SbbInertController(this)"
|
|
87756
87745
|
},
|
|
87757
87746
|
{
|
|
87758
87747
|
"kind": "field",
|
|
87759
|
-
"name": "
|
|
87760
|
-
"privacy": "
|
|
87761
|
-
"
|
|
87762
|
-
"type": {
|
|
87763
|
-
"text": "string"
|
|
87764
|
-
},
|
|
87765
|
-
"attribute": "name",
|
|
87766
|
-
"inheritedFrom": {
|
|
87767
|
-
"name": "SbbFormAssociatedMixin",
|
|
87768
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87769
|
-
}
|
|
87748
|
+
"name": "_mobileBreakpoint",
|
|
87749
|
+
"privacy": "private",
|
|
87750
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
87770
87751
|
},
|
|
87771
87752
|
{
|
|
87772
87753
|
"kind": "field",
|
|
87773
|
-
"name": "
|
|
87774
|
-
"
|
|
87775
|
-
|
|
87776
|
-
},
|
|
87777
|
-
"privacy": "public",
|
|
87778
|
-
"description": "Returns the ValidityState object for this element.",
|
|
87779
|
-
"readonly": true,
|
|
87780
|
-
"inheritedFrom": {
|
|
87781
|
-
"name": "SbbFormAssociatedMixin",
|
|
87782
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87783
|
-
}
|
|
87754
|
+
"name": "_mediaMatcher",
|
|
87755
|
+
"privacy": "private",
|
|
87756
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
87784
87757
|
},
|
|
87785
87758
|
{
|
|
87786
87759
|
"kind": "field",
|
|
87787
|
-
"name": "
|
|
87788
|
-
"
|
|
87789
|
-
|
|
87790
|
-
},
|
|
87791
|
-
"privacy": "public",
|
|
87792
|
-
"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.",
|
|
87793
|
-
"readonly": true,
|
|
87794
|
-
"inheritedFrom": {
|
|
87795
|
-
"name": "SbbFormAssociatedMixin",
|
|
87796
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87797
|
-
}
|
|
87760
|
+
"name": "_darkModeController",
|
|
87761
|
+
"privacy": "private",
|
|
87762
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
87798
87763
|
},
|
|
87799
87764
|
{
|
|
87800
87765
|
"kind": "field",
|
|
87801
|
-
"name": "
|
|
87802
|
-
"
|
|
87803
|
-
|
|
87804
|
-
},
|
|
87805
|
-
"privacy": "public",
|
|
87806
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
87807
|
-
"readonly": true,
|
|
87808
|
-
"inheritedFrom": {
|
|
87809
|
-
"name": "SbbFormAssociatedMixin",
|
|
87810
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87811
|
-
}
|
|
87766
|
+
"name": "_language",
|
|
87767
|
+
"privacy": "private",
|
|
87768
|
+
"default": "new SbbLanguageController(this)"
|
|
87812
87769
|
},
|
|
87813
87770
|
{
|
|
87814
87771
|
"kind": "field",
|
|
87815
|
-
"name": "
|
|
87772
|
+
"name": "_nestedMenu",
|
|
87773
|
+
"type": {
|
|
87774
|
+
"text": "SbbMenuElement | null"
|
|
87775
|
+
},
|
|
87816
87776
|
"privacy": "private",
|
|
87817
|
-
"default": "
|
|
87818
|
-
"inheritedFrom": {
|
|
87819
|
-
"name": "SbbFormAssociatedMixin",
|
|
87820
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87821
|
-
}
|
|
87777
|
+
"default": "null"
|
|
87822
87778
|
},
|
|
87823
87779
|
{
|
|
87824
|
-
"kind": "
|
|
87825
|
-
"name": "
|
|
87826
|
-
"
|
|
87827
|
-
|
|
87780
|
+
"kind": "method",
|
|
87781
|
+
"name": "escapeStrategy",
|
|
87782
|
+
"privacy": "public",
|
|
87783
|
+
"return": {
|
|
87784
|
+
"type": {
|
|
87785
|
+
"text": "void"
|
|
87786
|
+
}
|
|
87828
87787
|
},
|
|
87829
|
-
"
|
|
87830
|
-
"default": "false",
|
|
87831
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
87788
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
87832
87789
|
"inheritedFrom": {
|
|
87833
|
-
"name": "
|
|
87834
|
-
"module": "core/
|
|
87790
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87791
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87835
87792
|
}
|
|
87836
87793
|
},
|
|
87837
87794
|
{
|
|
87838
87795
|
"kind": "method",
|
|
87839
|
-
"name": "
|
|
87796
|
+
"name": "open",
|
|
87840
87797
|
"privacy": "public",
|
|
87841
87798
|
"return": {
|
|
87842
87799
|
"type": {
|
|
87843
|
-
"text": "
|
|
87800
|
+
"text": "void"
|
|
87844
87801
|
}
|
|
87845
87802
|
},
|
|
87846
|
-
"description": "
|
|
87803
|
+
"description": "Opens the menu on trigger click.",
|
|
87847
87804
|
"inheritedFrom": {
|
|
87848
|
-
"name": "
|
|
87849
|
-
"module": "core/
|
|
87805
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87806
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87850
87807
|
}
|
|
87851
87808
|
},
|
|
87852
87809
|
{
|
|
87853
87810
|
"kind": "method",
|
|
87854
|
-
"name": "
|
|
87811
|
+
"name": "close",
|
|
87855
87812
|
"privacy": "public",
|
|
87856
87813
|
"return": {
|
|
87857
87814
|
"type": {
|
|
87858
|
-
"text": "
|
|
87815
|
+
"text": "void"
|
|
87859
87816
|
}
|
|
87860
87817
|
},
|
|
87861
|
-
"description": "
|
|
87818
|
+
"description": "Closes the menu and all its nested menus.",
|
|
87862
87819
|
"inheritedFrom": {
|
|
87863
|
-
"name": "
|
|
87864
|
-
"module": "core/
|
|
87820
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87821
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87865
87822
|
}
|
|
87866
87823
|
},
|
|
87867
87824
|
{
|
|
87868
87825
|
"kind": "method",
|
|
87869
|
-
"name": "
|
|
87826
|
+
"name": "closeAll",
|
|
87870
87827
|
"privacy": "public",
|
|
87871
87828
|
"return": {
|
|
87872
87829
|
"type": {
|
|
87873
87830
|
"text": "void"
|
|
87874
87831
|
}
|
|
87875
87832
|
},
|
|
87833
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
87834
|
+
},
|
|
87835
|
+
{
|
|
87836
|
+
"kind": "method",
|
|
87837
|
+
"name": "_close",
|
|
87838
|
+
"privacy": "private",
|
|
87839
|
+
"return": {
|
|
87840
|
+
"type": {
|
|
87841
|
+
"text": "void"
|
|
87842
|
+
}
|
|
87843
|
+
},
|
|
87876
87844
|
"parameters": [
|
|
87877
87845
|
{
|
|
87878
|
-
"name": "
|
|
87879
|
-
"
|
|
87880
|
-
|
|
87881
|
-
|
|
87846
|
+
"name": "closeAll",
|
|
87847
|
+
"default": "false",
|
|
87848
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
87849
|
+
"optional": true
|
|
87882
87850
|
}
|
|
87883
|
-
]
|
|
87884
|
-
"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.",
|
|
87885
|
-
"inheritedFrom": {
|
|
87886
|
-
"name": "SbbFormAssociatedMixin",
|
|
87887
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87888
|
-
}
|
|
87851
|
+
]
|
|
87889
87852
|
},
|
|
87890
87853
|
{
|
|
87891
87854
|
"kind": "method",
|
|
87892
|
-
"name": "
|
|
87855
|
+
"name": "_isZeroAnimationDuration",
|
|
87893
87856
|
"privacy": "private",
|
|
87894
87857
|
"return": {
|
|
87895
87858
|
"type": {
|
|
87896
87859
|
"text": "boolean"
|
|
87897
87860
|
}
|
|
87898
|
-
},
|
|
87899
|
-
"inheritedFrom": {
|
|
87900
|
-
"name": "SbbFormAssociatedMixin",
|
|
87901
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87902
87861
|
}
|
|
87903
87862
|
},
|
|
87904
87863
|
{
|
|
87905
87864
|
"kind": "method",
|
|
87906
|
-
"name": "
|
|
87907
|
-
"privacy": "
|
|
87865
|
+
"name": "_handleOpening",
|
|
87866
|
+
"privacy": "private",
|
|
87908
87867
|
"return": {
|
|
87909
87868
|
"type": {
|
|
87910
87869
|
"text": "void"
|
|
87911
87870
|
}
|
|
87912
|
-
},
|
|
87913
|
-
"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",
|
|
87914
|
-
"inheritedFrom": {
|
|
87915
|
-
"name": "SbbFormAssociatedMixin",
|
|
87916
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87917
87871
|
}
|
|
87918
87872
|
},
|
|
87919
87873
|
{
|
|
87920
87874
|
"kind": "method",
|
|
87921
|
-
"name": "
|
|
87922
|
-
"privacy": "
|
|
87875
|
+
"name": "_handleClosing",
|
|
87876
|
+
"privacy": "private",
|
|
87923
87877
|
"return": {
|
|
87924
87878
|
"type": {
|
|
87925
|
-
"text": "
|
|
87879
|
+
"text": "void"
|
|
87926
87880
|
}
|
|
87927
|
-
},
|
|
87928
|
-
"inheritedFrom": {
|
|
87929
|
-
"name": "SbbFormAssociatedMixin",
|
|
87930
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87931
87881
|
}
|
|
87932
87882
|
},
|
|
87933
87883
|
{
|
|
87934
87884
|
"kind": "method",
|
|
87935
|
-
"name": "
|
|
87936
|
-
"privacy": "
|
|
87885
|
+
"name": "_handleKeyDown",
|
|
87886
|
+
"privacy": "private",
|
|
87937
87887
|
"return": {
|
|
87938
87888
|
"type": {
|
|
87939
87889
|
"text": "void"
|
|
@@ -87941,35 +87891,37 @@
|
|
|
87941
87891
|
},
|
|
87942
87892
|
"parameters": [
|
|
87943
87893
|
{
|
|
87944
|
-
"name": "
|
|
87945
|
-
"type": {
|
|
87946
|
-
"text": "T"
|
|
87947
|
-
}
|
|
87948
|
-
},
|
|
87949
|
-
{
|
|
87950
|
-
"name": "message",
|
|
87951
|
-
"type": {
|
|
87952
|
-
"text": "string"
|
|
87953
|
-
}
|
|
87954
|
-
},
|
|
87955
|
-
{
|
|
87956
|
-
"name": "flagValue",
|
|
87957
|
-
"optional": true,
|
|
87894
|
+
"name": "evt",
|
|
87958
87895
|
"type": {
|
|
87959
|
-
"text": "
|
|
87896
|
+
"text": "KeyboardEvent"
|
|
87960
87897
|
}
|
|
87961
87898
|
}
|
|
87962
|
-
]
|
|
87963
|
-
|
|
87964
|
-
|
|
87965
|
-
|
|
87966
|
-
|
|
87899
|
+
]
|
|
87900
|
+
},
|
|
87901
|
+
{
|
|
87902
|
+
"kind": "method",
|
|
87903
|
+
"name": "_configureTrigger",
|
|
87904
|
+
"privacy": "private",
|
|
87905
|
+
"return": {
|
|
87906
|
+
"type": {
|
|
87907
|
+
"text": "void"
|
|
87908
|
+
}
|
|
87967
87909
|
}
|
|
87968
87910
|
},
|
|
87969
87911
|
{
|
|
87970
87912
|
"kind": "method",
|
|
87971
|
-
"name": "
|
|
87972
|
-
"privacy": "
|
|
87913
|
+
"name": "_attachWindowEvents",
|
|
87914
|
+
"privacy": "private",
|
|
87915
|
+
"return": {
|
|
87916
|
+
"type": {
|
|
87917
|
+
"text": "void"
|
|
87918
|
+
}
|
|
87919
|
+
}
|
|
87920
|
+
},
|
|
87921
|
+
{
|
|
87922
|
+
"kind": "method",
|
|
87923
|
+
"name": "_interactiveElementClick",
|
|
87924
|
+
"privacy": "private",
|
|
87973
87925
|
"return": {
|
|
87974
87926
|
"type": {
|
|
87975
87927
|
"text": "void"
|
|
@@ -87977,118 +87929,139 @@
|
|
|
87977
87929
|
},
|
|
87978
87930
|
"parameters": [
|
|
87979
87931
|
{
|
|
87980
|
-
"name": "
|
|
87932
|
+
"name": "event",
|
|
87981
87933
|
"type": {
|
|
87982
|
-
"text": "
|
|
87934
|
+
"text": "Event"
|
|
87983
87935
|
}
|
|
87984
87936
|
}
|
|
87985
|
-
]
|
|
87986
|
-
|
|
87987
|
-
|
|
87988
|
-
|
|
87989
|
-
|
|
87990
|
-
|
|
87937
|
+
]
|
|
87938
|
+
},
|
|
87939
|
+
{
|
|
87940
|
+
"kind": "field",
|
|
87941
|
+
"name": "_pointerDownListener",
|
|
87942
|
+
"privacy": "private"
|
|
87943
|
+
},
|
|
87944
|
+
{
|
|
87945
|
+
"kind": "field",
|
|
87946
|
+
"name": "_closeOnBackdropClick",
|
|
87947
|
+
"privacy": "private"
|
|
87991
87948
|
},
|
|
87992
87949
|
{
|
|
87993
87950
|
"kind": "method",
|
|
87994
|
-
"name": "
|
|
87995
|
-
"privacy": "
|
|
87951
|
+
"name": "_nestedMenus",
|
|
87952
|
+
"privacy": "private",
|
|
87996
87953
|
"return": {
|
|
87997
87954
|
"type": {
|
|
87998
|
-
"text": "
|
|
87955
|
+
"text": "SbbMenuElement[]"
|
|
87999
87956
|
}
|
|
88000
87957
|
},
|
|
88001
|
-
"description": "
|
|
88002
|
-
|
|
88003
|
-
|
|
88004
|
-
|
|
87958
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
87959
|
+
},
|
|
87960
|
+
{
|
|
87961
|
+
"kind": "method",
|
|
87962
|
+
"name": "_parentMenu",
|
|
87963
|
+
"privacy": "private",
|
|
87964
|
+
"return": {
|
|
87965
|
+
"type": {
|
|
87966
|
+
"text": "SbbMenuElement | null"
|
|
87967
|
+
}
|
|
88005
87968
|
}
|
|
88006
87969
|
},
|
|
88007
87970
|
{
|
|
88008
87971
|
"kind": "method",
|
|
88009
|
-
"name": "
|
|
88010
|
-
"privacy": "
|
|
87972
|
+
"name": "_mainMenu",
|
|
87973
|
+
"privacy": "private",
|
|
87974
|
+
"return": {
|
|
87975
|
+
"type": {
|
|
87976
|
+
"text": "SbbMenuElement"
|
|
87977
|
+
}
|
|
87978
|
+
},
|
|
87979
|
+
"description": "The outermost menu."
|
|
87980
|
+
},
|
|
87981
|
+
{
|
|
87982
|
+
"kind": "method",
|
|
87983
|
+
"name": "_isNested",
|
|
87984
|
+
"privacy": "private",
|
|
88011
87985
|
"return": {
|
|
88012
87986
|
"type": {
|
|
88013
87987
|
"text": "boolean"
|
|
88014
87988
|
}
|
|
87989
|
+
}
|
|
87990
|
+
},
|
|
87991
|
+
{
|
|
87992
|
+
"kind": "method",
|
|
87993
|
+
"name": "_updateNestedInert",
|
|
87994
|
+
"privacy": "private",
|
|
87995
|
+
"return": {
|
|
87996
|
+
"type": {
|
|
87997
|
+
"text": "void"
|
|
87998
|
+
}
|
|
87999
|
+
}
|
|
88000
|
+
},
|
|
88001
|
+
{
|
|
88002
|
+
"kind": "method",
|
|
88003
|
+
"name": "_handleMouseOver",
|
|
88004
|
+
"privacy": "private",
|
|
88005
|
+
"return": {
|
|
88006
|
+
"type": {
|
|
88007
|
+
"text": "void"
|
|
88008
|
+
}
|
|
88015
88009
|
},
|
|
88016
88010
|
"parameters": [
|
|
88017
88011
|
{
|
|
88018
|
-
"name": "
|
|
88012
|
+
"name": "event",
|
|
88019
88013
|
"type": {
|
|
88020
|
-
"text": "
|
|
88014
|
+
"text": "MouseEvent"
|
|
88021
88015
|
}
|
|
88022
88016
|
}
|
|
88023
|
-
]
|
|
88024
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
88025
|
-
"inheritedFrom": {
|
|
88026
|
-
"name": "SbbFormAssociatedMixin",
|
|
88027
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
88028
|
-
}
|
|
88017
|
+
]
|
|
88029
88018
|
},
|
|
88030
88019
|
{
|
|
88031
88020
|
"kind": "method",
|
|
88032
|
-
"name": "
|
|
88021
|
+
"name": "_onMenuAnimationEnd",
|
|
88033
88022
|
"privacy": "private",
|
|
88034
88023
|
"return": {
|
|
88035
88024
|
"type": {
|
|
88036
88025
|
"text": "void"
|
|
88037
88026
|
}
|
|
88038
88027
|
},
|
|
88039
|
-
"inheritedFrom": {
|
|
88040
|
-
"name": "SbbFormAssociatedMixin",
|
|
88041
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
88042
|
-
}
|
|
88043
|
-
},
|
|
88044
|
-
{
|
|
88045
|
-
"kind": "field",
|
|
88046
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
88047
|
-
"privacy": "private",
|
|
88048
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
88049
88028
|
"parameters": [
|
|
88050
88029
|
{
|
|
88051
|
-
"
|
|
88052
|
-
"
|
|
88030
|
+
"name": "event",
|
|
88031
|
+
"type": {
|
|
88032
|
+
"text": "AnimationEvent"
|
|
88033
|
+
}
|
|
88053
88034
|
}
|
|
88054
|
-
]
|
|
88055
|
-
"inheritedFrom": {
|
|
88056
|
-
"name": "SbbButtonLikeBaseElement",
|
|
88057
|
-
"module": "core/base-elements/button-base-element.js"
|
|
88058
|
-
}
|
|
88035
|
+
]
|
|
88059
88036
|
},
|
|
88060
88037
|
{
|
|
88061
|
-
"kind": "
|
|
88062
|
-
"name": "
|
|
88038
|
+
"kind": "method",
|
|
88039
|
+
"name": "_setMenuPosition",
|
|
88063
88040
|
"privacy": "private",
|
|
88064
|
-
"
|
|
88065
|
-
"
|
|
88066
|
-
|
|
88041
|
+
"return": {
|
|
88042
|
+
"type": {
|
|
88043
|
+
"text": "void"
|
|
88044
|
+
}
|
|
88067
88045
|
}
|
|
88068
88046
|
},
|
|
88069
88047
|
{
|
|
88070
|
-
"kind": "
|
|
88071
|
-
"name": "
|
|
88048
|
+
"kind": "method",
|
|
88049
|
+
"name": "_syncNegative",
|
|
88072
88050
|
"privacy": "private",
|
|
88073
|
-
"
|
|
88074
|
-
|
|
88075
|
-
|
|
88076
|
-
"description": "The origin event.",
|
|
88077
|
-
"name": "event"
|
|
88051
|
+
"return": {
|
|
88052
|
+
"type": {
|
|
88053
|
+
"text": "void"
|
|
88078
88054
|
}
|
|
88079
|
-
],
|
|
88080
|
-
"inheritedFrom": {
|
|
88081
|
-
"name": "SbbButtonLikeBaseElement",
|
|
88082
|
-
"module": "core/base-elements/button-base-element.js"
|
|
88083
88055
|
}
|
|
88084
88056
|
},
|
|
88085
88057
|
{
|
|
88086
|
-
"kind": "
|
|
88087
|
-
"name": "
|
|
88058
|
+
"kind": "method",
|
|
88059
|
+
"name": "_isMobile",
|
|
88088
88060
|
"privacy": "private",
|
|
88089
|
-
"
|
|
88090
|
-
"
|
|
88091
|
-
|
|
88061
|
+
"return": {
|
|
88062
|
+
"type": {
|
|
88063
|
+
"text": "boolean"
|
|
88064
|
+
}
|
|
88092
88065
|
}
|
|
88093
88066
|
},
|
|
88094
88067
|
{
|
|
@@ -88116,155 +88089,182 @@
|
|
|
88116
88089
|
}
|
|
88117
88090
|
],
|
|
88118
88091
|
"inheritedFrom": {
|
|
88119
|
-
"name": "
|
|
88120
|
-
"module": "core/base-elements/
|
|
88092
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88093
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88121
88094
|
}
|
|
88122
88095
|
},
|
|
88123
88096
|
{
|
|
88124
88097
|
"kind": "field",
|
|
88125
|
-
"name": "
|
|
88098
|
+
"name": "events",
|
|
88099
|
+
"privacy": "public",
|
|
88100
|
+
"static": true,
|
|
88101
|
+
"readonly": true,
|
|
88102
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
88126
88103
|
"type": {
|
|
88127
|
-
"text": "
|
|
88104
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
88128
88105
|
},
|
|
88106
|
+
"inheritedFrom": {
|
|
88107
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88108
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88109
|
+
}
|
|
88110
|
+
},
|
|
88111
|
+
{
|
|
88112
|
+
"kind": "field",
|
|
88113
|
+
"name": "state",
|
|
88129
88114
|
"privacy": "protected",
|
|
88130
|
-
"
|
|
88115
|
+
"description": "The state of the component.",
|
|
88116
|
+
"type": {
|
|
88117
|
+
"text": "SbbOpenedClosedState"
|
|
88118
|
+
},
|
|
88119
|
+
"default": "'closed'",
|
|
88131
88120
|
"inheritedFrom": {
|
|
88132
|
-
"name": "
|
|
88133
|
-
"module": "core/base-elements/
|
|
88121
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88122
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88134
88123
|
}
|
|
88135
88124
|
},
|
|
88136
88125
|
{
|
|
88137
88126
|
"kind": "field",
|
|
88138
|
-
"name": "
|
|
88127
|
+
"name": "_state",
|
|
88139
88128
|
"type": {
|
|
88140
|
-
"text": "
|
|
88129
|
+
"text": "SbbOpenedClosedState"
|
|
88141
88130
|
},
|
|
88142
|
-
"privacy": "
|
|
88131
|
+
"privacy": "private",
|
|
88132
|
+
"inheritedFrom": {
|
|
88133
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88134
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88135
|
+
}
|
|
88136
|
+
},
|
|
88137
|
+
{
|
|
88138
|
+
"kind": "field",
|
|
88139
|
+
"name": "isOpen",
|
|
88140
|
+
"type": {
|
|
88141
|
+
"text": "boolean"
|
|
88142
|
+
},
|
|
88143
|
+
"privacy": "public",
|
|
88144
|
+
"description": "Whether the element is open.",
|
|
88143
88145
|
"readonly": true,
|
|
88144
88146
|
"inheritedFrom": {
|
|
88145
|
-
"name": "
|
|
88146
|
-
"module": "core/base-elements/
|
|
88147
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88148
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88147
88149
|
}
|
|
88148
88150
|
},
|
|
88149
88151
|
{
|
|
88150
88152
|
"kind": "method",
|
|
88151
|
-
"name": "
|
|
88153
|
+
"name": "dispatchBeforeOpenEvent",
|
|
88152
88154
|
"privacy": "protected",
|
|
88153
88155
|
"return": {
|
|
88154
88156
|
"type": {
|
|
88155
|
-
"text": "
|
|
88157
|
+
"text": "boolean"
|
|
88156
88158
|
}
|
|
88157
88159
|
},
|
|
88158
88160
|
"inheritedFrom": {
|
|
88159
|
-
"name": "
|
|
88160
|
-
"module": "core/base-elements/
|
|
88161
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88162
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88161
88163
|
}
|
|
88162
|
-
}
|
|
88163
|
-
],
|
|
88164
|
-
"mixins": [
|
|
88165
|
-
{
|
|
88166
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
88167
|
-
"module": "core/mixins.js"
|
|
88168
88164
|
},
|
|
88169
88165
|
{
|
|
88170
|
-
"
|
|
88171
|
-
"
|
|
88172
|
-
|
|
88173
|
-
|
|
88174
|
-
|
|
88175
|
-
|
|
88176
|
-
|
|
88177
|
-
},
|
|
88178
|
-
"tagName": "sbb-menu-button",
|
|
88179
|
-
"customElement": true,
|
|
88180
|
-
"attributes": [
|
|
88181
|
-
{
|
|
88182
|
-
"name": "disabled-interactive",
|
|
88183
|
-
"type": {
|
|
88184
|
-
"text": "boolean"
|
|
88166
|
+
"kind": "method",
|
|
88167
|
+
"name": "dispatchOpenEvent",
|
|
88168
|
+
"privacy": "protected",
|
|
88169
|
+
"return": {
|
|
88170
|
+
"type": {
|
|
88171
|
+
"text": "boolean"
|
|
88172
|
+
}
|
|
88185
88173
|
},
|
|
88186
|
-
"default": "false",
|
|
88187
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
88188
|
-
"fieldName": "disabledInteractive",
|
|
88189
88174
|
"inheritedFrom": {
|
|
88190
|
-
"name": "
|
|
88191
|
-
"module": "core/
|
|
88175
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88176
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88192
88177
|
}
|
|
88193
88178
|
},
|
|
88194
88179
|
{
|
|
88195
|
-
"
|
|
88196
|
-
"
|
|
88197
|
-
"
|
|
88198
|
-
"
|
|
88199
|
-
"
|
|
88180
|
+
"kind": "method",
|
|
88181
|
+
"name": "dispatchBeforeCloseEvent",
|
|
88182
|
+
"privacy": "protected",
|
|
88183
|
+
"return": {
|
|
88184
|
+
"type": {
|
|
88185
|
+
"text": "boolean"
|
|
88186
|
+
}
|
|
88200
88187
|
},
|
|
88201
|
-
"fieldName": "disabled",
|
|
88202
88188
|
"inheritedFrom": {
|
|
88203
|
-
"name": "
|
|
88204
|
-
"module": "core/
|
|
88189
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88190
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88205
88191
|
}
|
|
88206
88192
|
},
|
|
88207
88193
|
{
|
|
88208
|
-
"
|
|
88209
|
-
"
|
|
88210
|
-
|
|
88194
|
+
"kind": "method",
|
|
88195
|
+
"name": "dispatchCloseEvent",
|
|
88196
|
+
"privacy": "protected",
|
|
88197
|
+
"return": {
|
|
88198
|
+
"type": {
|
|
88199
|
+
"text": "boolean"
|
|
88200
|
+
}
|
|
88211
88201
|
},
|
|
88212
|
-
"default": "''",
|
|
88213
|
-
"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.",
|
|
88214
|
-
"fieldName": "iconName",
|
|
88215
88202
|
"inheritedFrom": {
|
|
88216
|
-
"name": "
|
|
88217
|
-
"module": "
|
|
88203
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88204
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88218
88205
|
}
|
|
88219
|
-
}
|
|
88206
|
+
}
|
|
88207
|
+
],
|
|
88208
|
+
"attributes": [
|
|
88220
88209
|
{
|
|
88221
|
-
"name": "
|
|
88210
|
+
"name": "trigger",
|
|
88222
88211
|
"type": {
|
|
88223
|
-
"text": "
|
|
88212
|
+
"text": "HTMLElement | null"
|
|
88224
88213
|
},
|
|
88225
|
-
"default": "
|
|
88226
|
-
"description": "
|
|
88227
|
-
"fieldName": "
|
|
88214
|
+
"default": "null",
|
|
88215
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
88216
|
+
"fieldName": "trigger"
|
|
88217
|
+
}
|
|
88218
|
+
],
|
|
88219
|
+
"superclass": {
|
|
88220
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88221
|
+
"module": "core/base-elements.js"
|
|
88222
|
+
},
|
|
88223
|
+
"tagName": "sbb-menu",
|
|
88224
|
+
"customElement": true,
|
|
88225
|
+
"events": [
|
|
88226
|
+
{
|
|
88227
|
+
"name": "beforeopen",
|
|
88228
|
+
"type": {
|
|
88229
|
+
"text": "Event"
|
|
88230
|
+
},
|
|
88231
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
88228
88232
|
"inheritedFrom": {
|
|
88229
|
-
"name": "
|
|
88230
|
-
"module": "core/base-elements/
|
|
88233
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88234
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88231
88235
|
}
|
|
88232
88236
|
},
|
|
88233
88237
|
{
|
|
88234
|
-
"name": "
|
|
88235
|
-
"description": "The type attribute to use for the button.",
|
|
88236
|
-
"default": "'button'",
|
|
88238
|
+
"name": "open",
|
|
88237
88239
|
"type": {
|
|
88238
|
-
"text": "
|
|
88240
|
+
"text": "Event"
|
|
88239
88241
|
},
|
|
88240
|
-
"
|
|
88242
|
+
"description": "Emits whenever the component is opened.",
|
|
88241
88243
|
"inheritedFrom": {
|
|
88242
|
-
"name": "
|
|
88243
|
-
"module": "core/base-elements/
|
|
88244
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88245
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88244
88246
|
}
|
|
88245
88247
|
},
|
|
88246
88248
|
{
|
|
88247
|
-
"name": "
|
|
88248
|
-
"description": "The `<form>` element to associate the button with.",
|
|
88249
|
+
"name": "beforeclose",
|
|
88249
88250
|
"type": {
|
|
88250
|
-
"text": "
|
|
88251
|
+
"text": "Event"
|
|
88251
88252
|
},
|
|
88252
|
-
"
|
|
88253
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
88253
88254
|
"inheritedFrom": {
|
|
88254
|
-
"name": "
|
|
88255
|
-
"module": "core/base-elements/
|
|
88255
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88256
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88256
88257
|
}
|
|
88257
88258
|
},
|
|
88258
88259
|
{
|
|
88259
|
-
"name": "
|
|
88260
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
88260
|
+
"name": "close",
|
|
88261
88261
|
"type": {
|
|
88262
|
-
"text": "
|
|
88262
|
+
"text": "Event"
|
|
88263
88263
|
},
|
|
88264
|
-
"
|
|
88264
|
+
"description": "Emits whenever the component is closed.",
|
|
88265
88265
|
"inheritedFrom": {
|
|
88266
|
-
"name": "
|
|
88267
|
-
"module": "core/
|
|
88266
|
+
"name": "SbbOpenCloseBaseElement",
|
|
88267
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
88268
88268
|
}
|
|
88269
88269
|
}
|
|
88270
88270
|
]
|
|
@@ -88273,18 +88273,18 @@
|
|
|
88273
88273
|
"exports": [
|
|
88274
88274
|
{
|
|
88275
88275
|
"kind": "js",
|
|
88276
|
-
"name": "
|
|
88276
|
+
"name": "SbbMenuElement",
|
|
88277
88277
|
"declaration": {
|
|
88278
|
-
"name": "
|
|
88279
|
-
"module": "menu/menu
|
|
88278
|
+
"name": "SbbMenuElement",
|
|
88279
|
+
"module": "menu/menu/menu.component.js"
|
|
88280
88280
|
}
|
|
88281
88281
|
},
|
|
88282
88282
|
{
|
|
88283
88283
|
"kind": "custom-element-definition",
|
|
88284
|
-
"name": "sbb-menu
|
|
88284
|
+
"name": "sbb-menu",
|
|
88285
88285
|
"declaration": {
|
|
88286
|
-
"name": "
|
|
88287
|
-
"module": "menu/menu
|
|
88286
|
+
"name": "SbbMenuElement",
|
|
88287
|
+
"module": "menu/menu/menu.component.js"
|
|
88288
88288
|
}
|
|
88289
88289
|
}
|
|
88290
88290
|
]
|