@sbb-esta/lyne-elements-dev 4.0.0-dev.1775819019 → 4.0.0-dev.1775840750
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 +1183 -1183
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -145726,15 +145726,15 @@
|
|
|
145726
145726
|
},
|
|
145727
145727
|
{
|
|
145728
145728
|
"kind": "javascript-module",
|
|
145729
|
-
"path": "sidebar/sidebar-
|
|
145729
|
+
"path": "sidebar/sidebar-title/sidebar-title.component.js",
|
|
145730
145730
|
"declarations": [
|
|
145731
145731
|
{
|
|
145732
145732
|
"kind": "class",
|
|
145733
|
-
"description": "
|
|
145734
|
-
"name": "
|
|
145733
|
+
"description": "It displays the title of the sidebar. It has to be placed inside an `sbb-sidebar` element.",
|
|
145734
|
+
"name": "SbbSidebarTitleElement",
|
|
145735
145735
|
"slots": [
|
|
145736
145736
|
{
|
|
145737
|
-
"description": "Use the unnamed slot
|
|
145737
|
+
"description": "Use the unnamed slot for the content of the sidebar-title.",
|
|
145738
145738
|
"name": ""
|
|
145739
145739
|
}
|
|
145740
145740
|
],
|
|
@@ -145748,21 +145748,53 @@
|
|
|
145748
145748
|
"privacy": "public",
|
|
145749
145749
|
"static": true,
|
|
145750
145750
|
"readonly": true,
|
|
145751
|
-
"default": "'sbb-sidebar-content'",
|
|
145752
145751
|
"inheritedFrom": {
|
|
145753
145752
|
"name": "SbbElement",
|
|
145754
145753
|
"module": "core/base-elements/element.js"
|
|
145754
|
+
},
|
|
145755
|
+
"default": "'sbb-sidebar-title'"
|
|
145756
|
+
},
|
|
145757
|
+
{
|
|
145758
|
+
"kind": "field",
|
|
145759
|
+
"name": "level",
|
|
145760
|
+
"type": {
|
|
145761
|
+
"text": "SbbTitleLevel"
|
|
145762
|
+
},
|
|
145763
|
+
"privacy": "public",
|
|
145764
|
+
"default": "'2'",
|
|
145765
|
+
"description": "Title level",
|
|
145766
|
+
"attribute": "level",
|
|
145767
|
+
"reflects": true,
|
|
145768
|
+
"inheritedFrom": {
|
|
145769
|
+
"name": "SbbTitleBase",
|
|
145770
|
+
"module": "title/title-base.js"
|
|
145755
145771
|
}
|
|
145756
145772
|
},
|
|
145757
145773
|
{
|
|
145758
145774
|
"kind": "field",
|
|
145759
|
-
"name": "
|
|
145775
|
+
"name": "visualLevel",
|
|
145760
145776
|
"type": {
|
|
145761
|
-
"text": "
|
|
145777
|
+
"text": "SbbTitleLevel | null"
|
|
145778
|
+
},
|
|
145779
|
+
"privacy": "public",
|
|
145780
|
+
"default": "'5'",
|
|
145781
|
+
"description": "Visual level for the title.",
|
|
145782
|
+
"attribute": "visual-level",
|
|
145783
|
+
"reflects": true,
|
|
145784
|
+
"inheritedFrom": {
|
|
145785
|
+
"name": "SbbTitleBase",
|
|
145786
|
+
"module": "title/title-base.js"
|
|
145787
|
+
}
|
|
145788
|
+
},
|
|
145789
|
+
{
|
|
145790
|
+
"kind": "field",
|
|
145791
|
+
"name": "role",
|
|
145792
|
+
"type": {
|
|
145793
|
+
"text": "string"
|
|
145762
145794
|
},
|
|
145763
145795
|
"privacy": "public",
|
|
145764
145796
|
"static": true,
|
|
145765
|
-
"default": "
|
|
145797
|
+
"default": "'heading'",
|
|
145766
145798
|
"inheritedFrom": {
|
|
145767
145799
|
"name": "SbbElement",
|
|
145768
145800
|
"module": "core/base-elements/element.js"
|
|
@@ -145770,12 +145802,13 @@
|
|
|
145770
145802
|
},
|
|
145771
145803
|
{
|
|
145772
145804
|
"kind": "field",
|
|
145773
|
-
"name": "
|
|
145805
|
+
"name": "['_$sbbElement$']",
|
|
145774
145806
|
"type": {
|
|
145775
|
-
"text": "
|
|
145807
|
+
"text": "boolean"
|
|
145776
145808
|
},
|
|
145777
145809
|
"privacy": "public",
|
|
145778
145810
|
"static": true,
|
|
145811
|
+
"default": "true",
|
|
145779
145812
|
"inheritedFrom": {
|
|
145780
145813
|
"name": "SbbElement",
|
|
145781
145814
|
"module": "core/base-elements/element.js"
|
|
@@ -145783,9 +145816,9 @@
|
|
|
145783
145816
|
},
|
|
145784
145817
|
{
|
|
145785
145818
|
"kind": "field",
|
|
145786
|
-
"name": "
|
|
145819
|
+
"name": "elementDependencies",
|
|
145787
145820
|
"type": {
|
|
145788
|
-
"text": "
|
|
145821
|
+
"text": "SbbElementType[] | undefined"
|
|
145789
145822
|
},
|
|
145790
145823
|
"privacy": "public",
|
|
145791
145824
|
"static": true,
|
|
@@ -146014,36 +146047,64 @@
|
|
|
146014
146047
|
}
|
|
146015
146048
|
}
|
|
146016
146049
|
],
|
|
146050
|
+
"attributes": [
|
|
146051
|
+
{
|
|
146052
|
+
"name": "level",
|
|
146053
|
+
"type": {
|
|
146054
|
+
"text": "SbbTitleLevel"
|
|
146055
|
+
},
|
|
146056
|
+
"default": "'2'",
|
|
146057
|
+
"description": "Title level",
|
|
146058
|
+
"fieldName": "level",
|
|
146059
|
+
"inheritedFrom": {
|
|
146060
|
+
"name": "SbbTitleBase",
|
|
146061
|
+
"module": "title/title-base.js"
|
|
146062
|
+
}
|
|
146063
|
+
},
|
|
146064
|
+
{
|
|
146065
|
+
"name": "visual-level",
|
|
146066
|
+
"type": {
|
|
146067
|
+
"text": "SbbTitleLevel | null"
|
|
146068
|
+
},
|
|
146069
|
+
"default": "null",
|
|
146070
|
+
"description": "Visual level for the title.",
|
|
146071
|
+
"fieldName": "visualLevel",
|
|
146072
|
+
"inheritedFrom": {
|
|
146073
|
+
"name": "SbbTitleBase",
|
|
146074
|
+
"module": "title/title-base.js"
|
|
146075
|
+
}
|
|
146076
|
+
}
|
|
146077
|
+
],
|
|
146017
146078
|
"superclass": {
|
|
146018
|
-
"name": "
|
|
146019
|
-
"module": "
|
|
146079
|
+
"name": "SbbTitleBase",
|
|
146080
|
+
"module": "title.pure.js"
|
|
146020
146081
|
},
|
|
146021
|
-
"tagName": "sbb-sidebar-
|
|
146082
|
+
"tagName": "sbb-sidebar-title",
|
|
146022
146083
|
"customElement": true
|
|
146023
146084
|
}
|
|
146024
146085
|
],
|
|
146025
146086
|
"exports": [
|
|
146026
146087
|
{
|
|
146027
146088
|
"kind": "js",
|
|
146028
|
-
"name": "
|
|
146089
|
+
"name": "SbbSidebarTitleElement",
|
|
146029
146090
|
"declaration": {
|
|
146030
|
-
"name": "
|
|
146031
|
-
"module": "sidebar/sidebar-
|
|
146091
|
+
"name": "SbbSidebarTitleElement",
|
|
146092
|
+
"module": "sidebar/sidebar-title/sidebar-title.component.js"
|
|
146032
146093
|
}
|
|
146033
146094
|
}
|
|
146034
146095
|
]
|
|
146035
146096
|
},
|
|
146036
146097
|
{
|
|
146037
146098
|
"kind": "javascript-module",
|
|
146038
|
-
"path": "sidebar/sidebar-
|
|
146099
|
+
"path": "sidebar/sidebar-content/sidebar-content.component.js",
|
|
146039
146100
|
"declarations": [
|
|
146040
146101
|
{
|
|
146041
146102
|
"kind": "class",
|
|
146042
|
-
"description": "
|
|
146043
|
-
"name": "
|
|
146103
|
+
"description": "Container for the sidebar content. Intended to be placed inside an `sbb-sidebar-container` element.",
|
|
146104
|
+
"name": "SbbSidebarContentElement",
|
|
146044
146105
|
"slots": [
|
|
146045
146106
|
{
|
|
146046
|
-
"description": "Use the unnamed slot
|
|
146107
|
+
"description": "Use the unnamed slot to add any content elements. Further `sbb-sidebar-container`s are possible.",
|
|
146047
146108
|
"name": ""
|
|
146048
146109
|
}
|
|
146049
146110
|
],
|
|
@@ -146057,53 +146118,21 @@
|
|
|
146057
146118
|
"privacy": "public",
|
|
146058
146119
|
"static": true,
|
|
146059
146120
|
"readonly": true,
|
|
146121
|
+
"default": "'sbb-sidebar-content'",
|
|
146060
146122
|
"inheritedFrom": {
|
|
146061
146123
|
"name": "SbbElement",
|
|
146062
146124
|
"module": "core/base-elements/element.js"
|
|
146063
|
-
},
|
|
146064
|
-
"default": "'sbb-sidebar-title'"
|
|
146065
|
-
},
|
|
146066
|
-
{
|
|
146067
|
-
"kind": "field",
|
|
146068
|
-
"name": "level",
|
|
146069
|
-
"type": {
|
|
146070
|
-
"text": "SbbTitleLevel"
|
|
146071
|
-
},
|
|
146072
|
-
"privacy": "public",
|
|
146073
|
-
"default": "'2'",
|
|
146074
|
-
"description": "Title level",
|
|
146075
|
-
"attribute": "level",
|
|
146076
|
-
"reflects": true,
|
|
146077
|
-
"inheritedFrom": {
|
|
146078
|
-
"name": "SbbTitleBase",
|
|
146079
|
-
"module": "title/title-base.js"
|
|
146080
|
-
}
|
|
146081
|
-
},
|
|
146082
|
-
{
|
|
146083
|
-
"kind": "field",
|
|
146084
|
-
"name": "visualLevel",
|
|
146085
|
-
"type": {
|
|
146086
|
-
"text": "SbbTitleLevel | null"
|
|
146087
|
-
},
|
|
146088
|
-
"privacy": "public",
|
|
146089
|
-
"default": "'5'",
|
|
146090
|
-
"description": "Visual level for the title.",
|
|
146091
|
-
"attribute": "visual-level",
|
|
146092
|
-
"reflects": true,
|
|
146093
|
-
"inheritedFrom": {
|
|
146094
|
-
"name": "SbbTitleBase",
|
|
146095
|
-
"module": "title/title-base.js"
|
|
146096
146125
|
}
|
|
146097
146126
|
},
|
|
146098
146127
|
{
|
|
146099
146128
|
"kind": "field",
|
|
146100
|
-
"name": "
|
|
146129
|
+
"name": "['_$sbbElement$']",
|
|
146101
146130
|
"type": {
|
|
146102
|
-
"text": "
|
|
146131
|
+
"text": "boolean"
|
|
146103
146132
|
},
|
|
146104
146133
|
"privacy": "public",
|
|
146105
146134
|
"static": true,
|
|
146106
|
-
"default": "
|
|
146135
|
+
"default": "true",
|
|
146107
146136
|
"inheritedFrom": {
|
|
146108
146137
|
"name": "SbbElement",
|
|
146109
146138
|
"module": "core/base-elements/element.js"
|
|
@@ -146111,13 +146140,12 @@
|
|
|
146111
146140
|
},
|
|
146112
146141
|
{
|
|
146113
146142
|
"kind": "field",
|
|
146114
|
-
"name": "
|
|
146143
|
+
"name": "elementDependencies",
|
|
146115
146144
|
"type": {
|
|
146116
|
-
"text": "
|
|
146145
|
+
"text": "SbbElementType[] | undefined"
|
|
146117
146146
|
},
|
|
146118
146147
|
"privacy": "public",
|
|
146119
146148
|
"static": true,
|
|
146120
|
-
"default": "true",
|
|
146121
146149
|
"inheritedFrom": {
|
|
146122
146150
|
"name": "SbbElement",
|
|
146123
146151
|
"module": "core/base-elements/element.js"
|
|
@@ -146125,9 +146153,9 @@
|
|
|
146125
146153
|
},
|
|
146126
146154
|
{
|
|
146127
146155
|
"kind": "field",
|
|
146128
|
-
"name": "
|
|
146156
|
+
"name": "role",
|
|
146129
146157
|
"type": {
|
|
146130
|
-
"text": "
|
|
146158
|
+
"text": "ElementInternals['role'] | undefined"
|
|
146131
146159
|
},
|
|
146132
146160
|
"privacy": "public",
|
|
146133
146161
|
"static": true,
|
|
@@ -146356,49 +146384,21 @@
|
|
|
146356
146384
|
}
|
|
146357
146385
|
}
|
|
146358
146386
|
],
|
|
146359
|
-
"attributes": [
|
|
146360
|
-
{
|
|
146361
|
-
"name": "level",
|
|
146362
|
-
"type": {
|
|
146363
|
-
"text": "SbbTitleLevel"
|
|
146364
|
-
},
|
|
146365
|
-
"default": "'2'",
|
|
146366
|
-
"description": "Title level",
|
|
146367
|
-
"fieldName": "level",
|
|
146368
|
-
"inheritedFrom": {
|
|
146369
|
-
"name": "SbbTitleBase",
|
|
146370
|
-
"module": "title/title-base.js"
|
|
146371
|
-
}
|
|
146372
|
-
},
|
|
146373
|
-
{
|
|
146374
|
-
"name": "visual-level",
|
|
146375
|
-
"type": {
|
|
146376
|
-
"text": "SbbTitleLevel | null"
|
|
146377
|
-
},
|
|
146378
|
-
"default": "null",
|
|
146379
|
-
"description": "Visual level for the title.",
|
|
146380
|
-
"fieldName": "visualLevel",
|
|
146381
|
-
"inheritedFrom": {
|
|
146382
|
-
"name": "SbbTitleBase",
|
|
146383
|
-
"module": "title/title-base.js"
|
|
146384
|
-
}
|
|
146385
|
-
}
|
|
146386
|
-
],
|
|
146387
146387
|
"superclass": {
|
|
146388
|
-
"name": "
|
|
146389
|
-
"module": "
|
|
146388
|
+
"name": "SbbElement",
|
|
146389
|
+
"module": "core.js"
|
|
146390
146390
|
},
|
|
146391
|
-
"tagName": "sbb-sidebar-
|
|
146391
|
+
"tagName": "sbb-sidebar-content",
|
|
146392
146392
|
"customElement": true
|
|
146393
146393
|
}
|
|
146394
146394
|
],
|
|
146395
146395
|
"exports": [
|
|
146396
146396
|
{
|
|
146397
146397
|
"kind": "js",
|
|
146398
|
-
"name": "
|
|
146398
|
+
"name": "SbbSidebarContentElement",
|
|
146399
146399
|
"declaration": {
|
|
146400
|
-
"name": "
|
|
146401
|
-
"module": "sidebar/sidebar-
|
|
146400
|
+
"name": "SbbSidebarContentElement",
|
|
146401
|
+
"module": "sidebar/sidebar-content/sidebar-content.component.js"
|
|
146402
146402
|
}
|
|
146403
146403
|
}
|
|
146404
146404
|
]
|
|
@@ -154475,15 +154475,15 @@
|
|
|
154475
154475
|
},
|
|
154476
154476
|
{
|
|
154477
154477
|
"kind": "javascript-module",
|
|
154478
|
-
"path": "timetable-form/timetable-form/timetable-form.component.js",
|
|
154478
|
+
"path": "timetable-form/timetable-form-details/timetable-form-details.component.js",
|
|
154479
154479
|
"declarations": [
|
|
154480
154480
|
{
|
|
154481
154481
|
"kind": "class",
|
|
154482
|
-
"description": "
|
|
154483
|
-
"name": "
|
|
154482
|
+
"description": "Wraps the details section of the `sbb-timetable-form`.",
|
|
154483
|
+
"name": "SbbTimetableFormDetailsElement",
|
|
154484
154484
|
"slots": [
|
|
154485
154485
|
{
|
|
154486
|
-
"description": "Use the unnamed slot to add content to the
|
|
154486
|
+
"description": "Use the unnamed slot to add content to the details section.",
|
|
154487
154487
|
"name": ""
|
|
154488
154488
|
}
|
|
154489
154489
|
],
|
|
@@ -154497,7 +154497,7 @@
|
|
|
154497
154497
|
"privacy": "public",
|
|
154498
154498
|
"static": true,
|
|
154499
154499
|
"readonly": true,
|
|
154500
|
-
"default": "'sbb-timetable-form'",
|
|
154500
|
+
"default": "'sbb-timetable-form-details'",
|
|
154501
154501
|
"inheritedFrom": {
|
|
154502
154502
|
"name": "SbbElement",
|
|
154503
154503
|
"module": "core/base-elements/element.js"
|
|
@@ -154767,35 +154767,29 @@
|
|
|
154767
154767
|
"name": "SbbElement",
|
|
154768
154768
|
"module": "core.js"
|
|
154769
154769
|
},
|
|
154770
|
-
"tagName": "sbb-timetable-form",
|
|
154770
|
+
"tagName": "sbb-timetable-form-details",
|
|
154771
154771
|
"customElement": true
|
|
154772
154772
|
}
|
|
154773
154773
|
],
|
|
154774
154774
|
"exports": [
|
|
154775
154775
|
{
|
|
154776
154776
|
"kind": "js",
|
|
154777
|
-
"name": "
|
|
154777
|
+
"name": "SbbTimetableFormDetailsElement",
|
|
154778
154778
|
"declaration": {
|
|
154779
|
-
"name": "
|
|
154780
|
-
"module": "timetable-form/timetable-form/timetable-form.component.js"
|
|
154779
|
+
"name": "SbbTimetableFormDetailsElement",
|
|
154780
|
+
"module": "timetable-form/timetable-form-details/timetable-form-details.component.js"
|
|
154781
154781
|
}
|
|
154782
154782
|
}
|
|
154783
154783
|
]
|
|
154784
154784
|
},
|
|
154785
154785
|
{
|
|
154786
154786
|
"kind": "javascript-module",
|
|
154787
|
-
"path": "timetable-form/timetable-form-
|
|
154787
|
+
"path": "timetable-form/timetable-form-field/timetable-form-field.component.js",
|
|
154788
154788
|
"declarations": [
|
|
154789
154789
|
{
|
|
154790
154790
|
"kind": "class",
|
|
154791
|
-
"description": "
|
|
154792
|
-
"name": "
|
|
154793
|
-
"slots": [
|
|
154794
|
-
{
|
|
154795
|
-
"description": "Use the unnamed slot to add content to the details section.",
|
|
154796
|
-
"name": ""
|
|
154797
|
-
}
|
|
154798
|
-
],
|
|
154791
|
+
"description": "Extends the `sbb-form-field`. Meant to be used inside a `sbb-timetable-form`.",
|
|
154792
|
+
"name": "SbbTimetableFormFieldElement",
|
|
154799
154793
|
"members": [
|
|
154800
154794
|
{
|
|
154801
154795
|
"kind": "field",
|
|
@@ -154806,7 +154800,7 @@
|
|
|
154806
154800
|
"privacy": "public",
|
|
154807
154801
|
"static": true,
|
|
154808
154802
|
"readonly": true,
|
|
154809
|
-
"default": "'sbb-timetable-form-
|
|
154803
|
+
"default": "'sbb-timetable-form-field'",
|
|
154810
154804
|
"inheritedFrom": {
|
|
154811
154805
|
"name": "SbbElement",
|
|
154812
154806
|
"module": "core/base-elements/element.js"
|
|
@@ -154814,74 +154808,102 @@
|
|
|
154814
154808
|
},
|
|
154815
154809
|
{
|
|
154816
154810
|
"kind": "field",
|
|
154817
|
-
"name": "
|
|
154811
|
+
"name": "_routeIcon",
|
|
154818
154812
|
"type": {
|
|
154819
154813
|
"text": "boolean"
|
|
154820
154814
|
},
|
|
154821
|
-
"privacy": "
|
|
154822
|
-
"
|
|
154823
|
-
"default": "true",
|
|
154824
|
-
"inheritedFrom": {
|
|
154825
|
-
"name": "SbbElement",
|
|
154826
|
-
"module": "core/base-elements/element.js"
|
|
154827
|
-
}
|
|
154815
|
+
"privacy": "private",
|
|
154816
|
+
"default": "false"
|
|
154828
154817
|
},
|
|
154829
154818
|
{
|
|
154830
154819
|
"kind": "field",
|
|
154831
|
-
"name": "
|
|
154820
|
+
"name": "borderless",
|
|
154832
154821
|
"type": {
|
|
154833
|
-
"text": "
|
|
154822
|
+
"text": "boolean"
|
|
154834
154823
|
},
|
|
154835
154824
|
"privacy": "public",
|
|
154836
|
-
"
|
|
154825
|
+
"default": "true",
|
|
154826
|
+
"description": "Whether to display the form field without a border.",
|
|
154827
|
+
"attribute": "borderless",
|
|
154828
|
+
"reflects": true,
|
|
154837
154829
|
"inheritedFrom": {
|
|
154838
|
-
"name": "
|
|
154839
|
-
"module": "
|
|
154830
|
+
"name": "SbbFormFieldElement",
|
|
154831
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154840
154832
|
}
|
|
154841
154833
|
},
|
|
154842
154834
|
{
|
|
154843
154835
|
"kind": "field",
|
|
154844
|
-
"name": "
|
|
154836
|
+
"name": "floatingLabel",
|
|
154845
154837
|
"type": {
|
|
154846
|
-
"text": "
|
|
154838
|
+
"text": "boolean"
|
|
154847
154839
|
},
|
|
154848
154840
|
"privacy": "public",
|
|
154849
|
-
"
|
|
154850
|
-
"
|
|
154851
|
-
|
|
154852
|
-
|
|
154841
|
+
"default": "true",
|
|
154842
|
+
"description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
|
|
154843
|
+
"attribute": "floating-label",
|
|
154844
|
+
"reflects": true,
|
|
154845
|
+
"inheritedFrom": {
|
|
154846
|
+
"name": "SbbFormFieldElement",
|
|
154847
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154853
154848
|
}
|
|
154854
154849
|
},
|
|
154855
154850
|
{
|
|
154856
154851
|
"kind": "field",
|
|
154857
|
-
"name": "
|
|
154852
|
+
"name": "width",
|
|
154858
154853
|
"type": {
|
|
154859
|
-
"text": "
|
|
154854
|
+
"text": "string"
|
|
154860
154855
|
},
|
|
154861
|
-
"privacy": "
|
|
154856
|
+
"privacy": "public",
|
|
154857
|
+
"default": "'collapse'",
|
|
154858
|
+
"description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
|
|
154859
|
+
"attribute": "width",
|
|
154860
|
+
"reflects": true,
|
|
154862
154861
|
"inheritedFrom": {
|
|
154863
|
-
"name": "
|
|
154864
|
-
"module": "
|
|
154862
|
+
"name": "SbbFormFieldElement",
|
|
154863
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154865
154864
|
}
|
|
154866
154865
|
},
|
|
154867
154866
|
{
|
|
154868
154867
|
"kind": "field",
|
|
154869
|
-
"name": "
|
|
154868
|
+
"name": "size",
|
|
154869
|
+
"type": {
|
|
154870
|
+
"text": "string"
|
|
154871
|
+
},
|
|
154872
|
+
"privacy": "public",
|
|
154873
|
+
"description": "Size variant, either l, m or s.",
|
|
154874
|
+
"default": "'l'",
|
|
154875
|
+
"attribute": "size",
|
|
154876
|
+
"reflects": true,
|
|
154877
|
+
"inheritedFrom": {
|
|
154878
|
+
"name": "SbbFormFieldElement",
|
|
154879
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154880
|
+
}
|
|
154881
|
+
},
|
|
154882
|
+
{
|
|
154883
|
+
"kind": "field",
|
|
154884
|
+
"name": "negative",
|
|
154870
154885
|
"type": {
|
|
154871
154886
|
"text": "boolean"
|
|
154872
154887
|
},
|
|
154873
|
-
"privacy": "
|
|
154874
|
-
"default": "
|
|
154888
|
+
"privacy": "public",
|
|
154889
|
+
"default": "false",
|
|
154890
|
+
"description": "Negative coloring variant flag.",
|
|
154891
|
+
"attribute": "negative",
|
|
154892
|
+
"reflects": true,
|
|
154875
154893
|
"inheritedFrom": {
|
|
154876
|
-
"name": "
|
|
154877
|
-
"module": "core/
|
|
154894
|
+
"name": "SbbNegativeMixin",
|
|
154895
|
+
"module": "core/mixins/negative-mixin.js"
|
|
154878
154896
|
}
|
|
154879
154897
|
},
|
|
154880
154898
|
{
|
|
154881
154899
|
"kind": "field",
|
|
154882
|
-
"name": "
|
|
154883
|
-
"
|
|
154884
|
-
|
|
154900
|
+
"name": "elementDependencies",
|
|
154901
|
+
"type": {
|
|
154902
|
+
"text": "SbbElementType[]"
|
|
154903
|
+
},
|
|
154904
|
+
"privacy": "public",
|
|
154905
|
+
"static": true,
|
|
154906
|
+
"default": "[SbbIconElement]",
|
|
154885
154907
|
"inheritedFrom": {
|
|
154886
154908
|
"name": "SbbElement",
|
|
154887
154909
|
"module": "core/base-elements/element.js"
|
|
@@ -154889,252 +154911,144 @@
|
|
|
154889
154911
|
},
|
|
154890
154912
|
{
|
|
154891
154913
|
"kind": "field",
|
|
154892
|
-
"name": "
|
|
154914
|
+
"name": "_excludedFocusElements",
|
|
154893
154915
|
"type": {
|
|
154894
|
-
"text": "
|
|
154916
|
+
"text": "array"
|
|
154895
154917
|
},
|
|
154896
154918
|
"privacy": "private",
|
|
154919
|
+
"readonly": true,
|
|
154920
|
+
"default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']",
|
|
154897
154921
|
"inheritedFrom": {
|
|
154898
|
-
"name": "
|
|
154899
|
-
"module": "
|
|
154922
|
+
"name": "SbbFormFieldElement",
|
|
154923
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154900
154924
|
}
|
|
154901
154925
|
},
|
|
154902
154926
|
{
|
|
154903
154927
|
"kind": "field",
|
|
154904
|
-
"name": "
|
|
154928
|
+
"name": "_floatingLabelSupportedInputElements",
|
|
154905
154929
|
"type": {
|
|
154906
|
-
"text": "
|
|
154930
|
+
"text": "array"
|
|
154907
154931
|
},
|
|
154908
154932
|
"privacy": "private",
|
|
154933
|
+
"readonly": true,
|
|
154934
|
+
"default": "[ 'input', 'select', 'textarea', 'sbb-select', ]",
|
|
154909
154935
|
"inheritedFrom": {
|
|
154910
|
-
"name": "
|
|
154911
|
-
"module": "
|
|
154936
|
+
"name": "SbbFormFieldElement",
|
|
154937
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154912
154938
|
}
|
|
154913
154939
|
},
|
|
154914
154940
|
{
|
|
154915
154941
|
"kind": "field",
|
|
154916
|
-
"name": "
|
|
154942
|
+
"name": "_floatingLabelSupportedInputTypes",
|
|
154917
154943
|
"type": {
|
|
154918
|
-
"text": "
|
|
154944
|
+
"text": "array"
|
|
154919
154945
|
},
|
|
154920
|
-
"privacy": "
|
|
154921
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
154946
|
+
"privacy": "private",
|
|
154922
154947
|
"readonly": true,
|
|
154948
|
+
"default": "[ 'email', 'number', 'password', 'search', 'tel', 'text', 'url', ]",
|
|
154923
154949
|
"inheritedFrom": {
|
|
154924
|
-
"name": "
|
|
154925
|
-
"module": "
|
|
154926
|
-
}
|
|
154927
|
-
"default": "!!this.shadowRoot"
|
|
154950
|
+
"name": "SbbFormFieldElement",
|
|
154951
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154952
|
+
}
|
|
154928
154953
|
},
|
|
154929
154954
|
{
|
|
154930
|
-
"kind": "
|
|
154931
|
-
"name": "
|
|
154932
|
-
"
|
|
154933
|
-
|
|
154934
|
-
"type": {
|
|
154935
|
-
"text": "void"
|
|
154936
|
-
}
|
|
154955
|
+
"kind": "field",
|
|
154956
|
+
"name": "errorSpace",
|
|
154957
|
+
"type": {
|
|
154958
|
+
"text": "'none' | 'reserve'"
|
|
154937
154959
|
},
|
|
154938
|
-
"
|
|
154939
|
-
|
|
154940
|
-
|
|
154941
|
-
|
|
154942
|
-
|
|
154943
|
-
}
|
|
154944
|
-
},
|
|
154945
|
-
{
|
|
154946
|
-
"name": "force",
|
|
154947
|
-
"optional": true,
|
|
154948
|
-
"type": {
|
|
154949
|
-
"text": "boolean"
|
|
154950
|
-
}
|
|
154951
|
-
}
|
|
154952
|
-
],
|
|
154960
|
+
"privacy": "public",
|
|
154961
|
+
"default": "'none'",
|
|
154962
|
+
"description": "Whether to reserve space for an error message, hint or text-counter.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
|
|
154963
|
+
"attribute": "error-space",
|
|
154964
|
+
"reflects": true,
|
|
154953
154965
|
"inheritedFrom": {
|
|
154954
|
-
"name": "
|
|
154955
|
-
"module": "
|
|
154966
|
+
"name": "SbbFormFieldElement",
|
|
154967
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154956
154968
|
}
|
|
154957
154969
|
},
|
|
154958
154970
|
{
|
|
154959
|
-
"kind": "
|
|
154960
|
-
"name": "
|
|
154961
|
-
"
|
|
154962
|
-
|
|
154963
|
-
"type": {
|
|
154964
|
-
"text": "void"
|
|
154965
|
-
}
|
|
154971
|
+
"kind": "field",
|
|
154972
|
+
"name": "optional",
|
|
154973
|
+
"type": {
|
|
154974
|
+
"text": "boolean"
|
|
154966
154975
|
},
|
|
154967
|
-
"
|
|
154968
|
-
|
|
154969
|
-
|
|
154970
|
-
|
|
154971
|
-
|
|
154972
|
-
}
|
|
154973
|
-
},
|
|
154974
|
-
{
|
|
154975
|
-
"name": "slot",
|
|
154976
|
-
"type": {
|
|
154977
|
-
"text": "HTMLSlotElement"
|
|
154978
|
-
}
|
|
154979
|
-
}
|
|
154980
|
-
],
|
|
154976
|
+
"privacy": "public",
|
|
154977
|
+
"default": "false",
|
|
154978
|
+
"description": "Indicates whether the input is optional.",
|
|
154979
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
154980
|
+
"attribute": "optional",
|
|
154981
154981
|
"inheritedFrom": {
|
|
154982
|
-
"name": "
|
|
154983
|
-
"module": "
|
|
154982
|
+
"name": "SbbFormFieldElement",
|
|
154983
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
154984
154984
|
}
|
|
154985
154985
|
},
|
|
154986
154986
|
{
|
|
154987
|
-
"kind": "
|
|
154988
|
-
"name": "
|
|
154989
|
-
"
|
|
154990
|
-
|
|
154991
|
-
"type": {
|
|
154992
|
-
"text": "void"
|
|
154993
|
-
}
|
|
154987
|
+
"kind": "field",
|
|
154988
|
+
"name": "hiddenLabel",
|
|
154989
|
+
"type": {
|
|
154990
|
+
"text": "boolean"
|
|
154994
154991
|
},
|
|
154995
|
-
"
|
|
154996
|
-
|
|
154997
|
-
|
|
154998
|
-
|
|
154999
|
-
|
|
155000
|
-
}
|
|
155001
|
-
}
|
|
155002
|
-
],
|
|
154992
|
+
"privacy": "public",
|
|
154993
|
+
"default": "false",
|
|
154994
|
+
"description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
|
|
154995
|
+
"attribute": "hidden-label",
|
|
154996
|
+
"reflects": true,
|
|
155003
154997
|
"inheritedFrom": {
|
|
155004
|
-
"name": "
|
|
155005
|
-
"module": "
|
|
154998
|
+
"name": "SbbFormFieldElement",
|
|
154999
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
155006
155000
|
}
|
|
155007
155001
|
},
|
|
155008
155002
|
{
|
|
155009
|
-
"kind": "
|
|
155010
|
-
"name": "
|
|
155011
|
-
"
|
|
155012
|
-
|
|
155013
|
-
"type": {
|
|
155014
|
-
"text": "void"
|
|
155015
|
-
}
|
|
155003
|
+
"kind": "field",
|
|
155004
|
+
"name": "_errorElements",
|
|
155005
|
+
"type": {
|
|
155006
|
+
"text": "Element[]"
|
|
155016
155007
|
},
|
|
155017
|
-
"
|
|
155018
|
-
|
|
155019
|
-
|
|
155020
|
-
"type": {
|
|
155021
|
-
"text": "HTMLSlotElement"
|
|
155022
|
-
}
|
|
155023
|
-
}
|
|
155024
|
-
],
|
|
155008
|
+
"privacy": "private",
|
|
155009
|
+
"default": "[]",
|
|
155010
|
+
"description": "It is used internally to get the `error` slot.",
|
|
155025
155011
|
"inheritedFrom": {
|
|
155026
|
-
"name": "
|
|
155027
|
-
"module": "
|
|
155012
|
+
"name": "SbbFormFieldElement",
|
|
155013
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
155028
155014
|
}
|
|
155029
155015
|
},
|
|
155030
155016
|
{
|
|
155031
|
-
"kind": "
|
|
155032
|
-
"name": "
|
|
155033
|
-
"
|
|
155034
|
-
|
|
155035
|
-
"type": {
|
|
155036
|
-
"text": "void"
|
|
155037
|
-
}
|
|
155017
|
+
"kind": "field",
|
|
155018
|
+
"name": "_hintElements",
|
|
155019
|
+
"type": {
|
|
155020
|
+
"text": "Element[]"
|
|
155038
155021
|
},
|
|
155039
|
-
"
|
|
155040
|
-
|
|
155041
|
-
|
|
155042
|
-
"type": {
|
|
155043
|
-
"text": "HTMLSlotElement"
|
|
155044
|
-
}
|
|
155045
|
-
}
|
|
155046
|
-
],
|
|
155022
|
+
"privacy": "private",
|
|
155023
|
+
"default": "[]",
|
|
155024
|
+
"description": "It is used internally to get the `hint` slot.",
|
|
155047
155025
|
"inheritedFrom": {
|
|
155048
|
-
"name": "
|
|
155049
|
-
"module": "
|
|
155026
|
+
"name": "SbbFormFieldElement",
|
|
155027
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
155050
155028
|
}
|
|
155051
155029
|
},
|
|
155052
155030
|
{
|
|
155053
|
-
"kind": "
|
|
155054
|
-
"name": "
|
|
155031
|
+
"kind": "field",
|
|
155032
|
+
"name": "_input",
|
|
155033
|
+
"type": {
|
|
155034
|
+
"text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
|
|
155035
|
+
},
|
|
155055
155036
|
"privacy": "private",
|
|
155056
|
-
"
|
|
155057
|
-
|
|
155058
|
-
"text": "boolean"
|
|
155059
|
-
}
|
|
155060
|
-
},
|
|
155061
|
-
"parameters": [
|
|
155062
|
-
{
|
|
155063
|
-
"name": "slot",
|
|
155064
|
-
"type": {
|
|
155065
|
-
"text": "HTMLSlotElement"
|
|
155066
|
-
}
|
|
155067
|
-
}
|
|
155068
|
-
],
|
|
155069
|
-
"inheritedFrom": {
|
|
155070
|
-
"name": "SbbElement",
|
|
155071
|
-
"module": "core/base-elements/element.js"
|
|
155072
|
-
}
|
|
155073
|
-
}
|
|
155074
|
-
],
|
|
155075
|
-
"superclass": {
|
|
155076
|
-
"name": "SbbElement",
|
|
155077
|
-
"module": "core.js"
|
|
155078
|
-
},
|
|
155079
|
-
"tagName": "sbb-timetable-form-details",
|
|
155080
|
-
"customElement": true
|
|
155081
|
-
}
|
|
155082
|
-
],
|
|
155083
|
-
"exports": [
|
|
155084
|
-
{
|
|
155085
|
-
"kind": "js",
|
|
155086
|
-
"name": "SbbTimetableFormDetailsElement",
|
|
155087
|
-
"declaration": {
|
|
155088
|
-
"name": "SbbTimetableFormDetailsElement",
|
|
155089
|
-
"module": "timetable-form/timetable-form-details/timetable-form-details.component.js"
|
|
155090
|
-
}
|
|
155091
|
-
}
|
|
155092
|
-
]
|
|
155093
|
-
},
|
|
155094
|
-
{
|
|
155095
|
-
"kind": "javascript-module",
|
|
155096
|
-
"path": "timetable-form/timetable-form-field/timetable-form-field.component.js",
|
|
155097
|
-
"declarations": [
|
|
155098
|
-
{
|
|
155099
|
-
"kind": "class",
|
|
155100
|
-
"description": "Extends the `sbb-form-field`. Meant to be used inside a `sbb-timetable-form`.",
|
|
155101
|
-
"name": "SbbTimetableFormFieldElement",
|
|
155102
|
-
"members": [
|
|
155103
|
-
{
|
|
155104
|
-
"kind": "field",
|
|
155105
|
-
"name": "elementName",
|
|
155106
|
-
"type": {
|
|
155107
|
-
"text": "string"
|
|
155108
|
-
},
|
|
155109
|
-
"privacy": "public",
|
|
155110
|
-
"static": true,
|
|
155111
|
-
"readonly": true,
|
|
155112
|
-
"default": "'sbb-timetable-form-field'",
|
|
155037
|
+
"default": "null",
|
|
155038
|
+
"description": "Reference to the slotted input element.",
|
|
155113
155039
|
"inheritedFrom": {
|
|
155114
|
-
"name": "
|
|
155115
|
-
"module": "
|
|
155040
|
+
"name": "SbbFormFieldElement",
|
|
155041
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
155116
155042
|
}
|
|
155117
155043
|
},
|
|
155118
155044
|
{
|
|
155119
155045
|
"kind": "field",
|
|
155120
|
-
"name": "
|
|
155046
|
+
"name": "_label",
|
|
155121
155047
|
"type": {
|
|
155122
|
-
"text": "
|
|
155048
|
+
"text": "HTMLLabelElement"
|
|
155123
155049
|
},
|
|
155124
155050
|
"privacy": "private",
|
|
155125
|
-
"
|
|
155126
|
-
},
|
|
155127
|
-
{
|
|
155128
|
-
"kind": "field",
|
|
155129
|
-
"name": "borderless",
|
|
155130
|
-
"type": {
|
|
155131
|
-
"text": "boolean"
|
|
155132
|
-
},
|
|
155133
|
-
"privacy": "public",
|
|
155134
|
-
"default": "true",
|
|
155135
|
-
"description": "Whether to display the form field without a border.",
|
|
155136
|
-
"attribute": "borderless",
|
|
155137
|
-
"reflects": true,
|
|
155051
|
+
"description": "Reference to the slotted label elements.",
|
|
155138
155052
|
"inheritedFrom": {
|
|
155139
155053
|
"name": "SbbFormFieldElement",
|
|
155140
155054
|
"module": "form-field/form-field/form-field.component.js"
|
|
@@ -155142,15 +155056,13 @@
|
|
|
155142
155056
|
},
|
|
155143
155057
|
{
|
|
155144
155058
|
"kind": "field",
|
|
155145
|
-
"name": "
|
|
155059
|
+
"name": "inputElement",
|
|
155146
155060
|
"type": {
|
|
155147
|
-
"text": "
|
|
155061
|
+
"text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
|
|
155148
155062
|
},
|
|
155149
155063
|
"privacy": "public",
|
|
155150
|
-
"
|
|
155151
|
-
"
|
|
155152
|
-
"attribute": "floating-label",
|
|
155153
|
-
"reflects": true,
|
|
155064
|
+
"description": "Returns the input element.",
|
|
155065
|
+
"readonly": true,
|
|
155154
155066
|
"inheritedFrom": {
|
|
155155
155067
|
"name": "SbbFormFieldElement",
|
|
155156
155068
|
"module": "form-field/form-field/form-field.component.js"
|
|
@@ -155158,15 +155070,13 @@
|
|
|
155158
155070
|
},
|
|
155159
155071
|
{
|
|
155160
155072
|
"kind": "field",
|
|
155161
|
-
"name": "
|
|
155073
|
+
"name": "label",
|
|
155162
155074
|
"type": {
|
|
155163
|
-
"text": "
|
|
155075
|
+
"text": "HTMLLabelElement | null"
|
|
155164
155076
|
},
|
|
155165
155077
|
"privacy": "public",
|
|
155166
|
-
"
|
|
155167
|
-
"
|
|
155168
|
-
"attribute": "width",
|
|
155169
|
-
"reflects": true,
|
|
155078
|
+
"description": "Reference to the slotted label.",
|
|
155079
|
+
"readonly": true,
|
|
155170
155080
|
"inheritedFrom": {
|
|
155171
155081
|
"name": "SbbFormFieldElement",
|
|
155172
155082
|
"module": "form-field/form-field/form-field.component.js"
|
|
@@ -155174,15 +155084,9 @@
|
|
|
155174
155084
|
},
|
|
155175
155085
|
{
|
|
155176
155086
|
"kind": "field",
|
|
155177
|
-
"name": "
|
|
155178
|
-
"
|
|
155179
|
-
|
|
155180
|
-
},
|
|
155181
|
-
"privacy": "public",
|
|
155182
|
-
"description": "Size variant, either l, m or s.",
|
|
155183
|
-
"default": "'l'",
|
|
155184
|
-
"attribute": "size",
|
|
155185
|
-
"reflects": true,
|
|
155087
|
+
"name": "_language",
|
|
155088
|
+
"privacy": "private",
|
|
155089
|
+
"default": "new SbbLanguageController(this)",
|
|
155186
155090
|
"inheritedFrom": {
|
|
155187
155091
|
"name": "SbbFormFieldElement",
|
|
155188
155092
|
"module": "form-field/form-field/form-field.component.js"
|
|
@@ -155190,346 +155094,133 @@
|
|
|
155190
155094
|
},
|
|
155191
155095
|
{
|
|
155192
155096
|
"kind": "field",
|
|
155193
|
-
"name": "
|
|
155194
|
-
"
|
|
155195
|
-
|
|
155196
|
-
},
|
|
155197
|
-
"privacy": "public",
|
|
155198
|
-
"default": "false",
|
|
155199
|
-
"description": "Negative coloring variant flag.",
|
|
155200
|
-
"attribute": "negative",
|
|
155201
|
-
"reflects": true,
|
|
155097
|
+
"name": "_formFieldAttributeObserver",
|
|
155098
|
+
"privacy": "private",
|
|
155099
|
+
"description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`.",
|
|
155202
155100
|
"inheritedFrom": {
|
|
155203
|
-
"name": "
|
|
155204
|
-
"module": "
|
|
155101
|
+
"name": "SbbFormFieldElement",
|
|
155102
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
155205
155103
|
}
|
|
155206
155104
|
},
|
|
155207
155105
|
{
|
|
155208
155106
|
"kind": "field",
|
|
155209
|
-
"name": "
|
|
155210
|
-
"
|
|
155211
|
-
|
|
155212
|
-
},
|
|
155213
|
-
"privacy": "public",
|
|
155214
|
-
"static": true,
|
|
155215
|
-
"default": "[SbbIconElement]",
|
|
155107
|
+
"name": "_inputFormAbortController",
|
|
155108
|
+
"privacy": "private",
|
|
155109
|
+
"default": "new AbortController()",
|
|
155216
155110
|
"inheritedFrom": {
|
|
155217
|
-
"name": "
|
|
155218
|
-
"module": "
|
|
155111
|
+
"name": "SbbFormFieldElement",
|
|
155112
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
155219
155113
|
}
|
|
155220
155114
|
},
|
|
155221
155115
|
{
|
|
155222
155116
|
"kind": "field",
|
|
155223
|
-
"name": "
|
|
155117
|
+
"name": "_control",
|
|
155224
155118
|
"type": {
|
|
155225
|
-
"text": "
|
|
155119
|
+
"text": "SbbFormFieldElementControl | null"
|
|
155226
155120
|
},
|
|
155227
155121
|
"privacy": "private",
|
|
155228
|
-
"
|
|
155229
|
-
"default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']",
|
|
155122
|
+
"default": "null",
|
|
155230
155123
|
"inheritedFrom": {
|
|
155231
155124
|
"name": "SbbFormFieldElement",
|
|
155232
155125
|
"module": "form-field/form-field/form-field.component.js"
|
|
155233
155126
|
}
|
|
155234
155127
|
},
|
|
155235
155128
|
{
|
|
155236
|
-
"kind": "
|
|
155237
|
-
"name": "
|
|
155238
|
-
"type": {
|
|
155239
|
-
"text": "array"
|
|
155240
|
-
},
|
|
155129
|
+
"kind": "method",
|
|
155130
|
+
"name": "_handleWrapperClick",
|
|
155241
155131
|
"privacy": "private",
|
|
155242
|
-
"
|
|
155243
|
-
|
|
155132
|
+
"return": {
|
|
155133
|
+
"type": {
|
|
155134
|
+
"text": "void"
|
|
155135
|
+
}
|
|
155136
|
+
},
|
|
155137
|
+
"parameters": [
|
|
155138
|
+
{
|
|
155139
|
+
"name": "event",
|
|
155140
|
+
"type": {
|
|
155141
|
+
"text": "MouseEvent"
|
|
155142
|
+
}
|
|
155143
|
+
}
|
|
155144
|
+
],
|
|
155244
155145
|
"inheritedFrom": {
|
|
155245
155146
|
"name": "SbbFormFieldElement",
|
|
155246
155147
|
"module": "form-field/form-field/form-field.component.js"
|
|
155247
155148
|
}
|
|
155248
155149
|
},
|
|
155249
155150
|
{
|
|
155250
|
-
"kind": "
|
|
155251
|
-
"name": "
|
|
155252
|
-
"type": {
|
|
155253
|
-
"text": "array"
|
|
155254
|
-
},
|
|
155151
|
+
"kind": "method",
|
|
155152
|
+
"name": "_isElementFocusExcluded",
|
|
155255
155153
|
"privacy": "private",
|
|
155256
|
-
"
|
|
155257
|
-
|
|
155154
|
+
"return": {
|
|
155155
|
+
"type": {
|
|
155156
|
+
"text": "boolean"
|
|
155157
|
+
}
|
|
155158
|
+
},
|
|
155159
|
+
"parameters": [
|
|
155160
|
+
{
|
|
155161
|
+
"name": "event",
|
|
155162
|
+
"type": {
|
|
155163
|
+
"text": "Event"
|
|
155164
|
+
}
|
|
155165
|
+
}
|
|
155166
|
+
],
|
|
155258
155167
|
"inheritedFrom": {
|
|
155259
155168
|
"name": "SbbFormFieldElement",
|
|
155260
155169
|
"module": "form-field/form-field/form-field.component.js"
|
|
155261
155170
|
}
|
|
155262
155171
|
},
|
|
155263
155172
|
{
|
|
155264
|
-
"kind": "
|
|
155265
|
-
"name": "
|
|
155266
|
-
"
|
|
155267
|
-
|
|
155173
|
+
"kind": "method",
|
|
155174
|
+
"name": "_onSlotLabelChange",
|
|
155175
|
+
"privacy": "private",
|
|
155176
|
+
"return": {
|
|
155177
|
+
"type": {
|
|
155178
|
+
"text": "void"
|
|
155179
|
+
}
|
|
155268
155180
|
},
|
|
155269
|
-
"privacy": "public",
|
|
155270
|
-
"default": "'none'",
|
|
155271
|
-
"description": "Whether to reserve space for an error message, hint or text-counter.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
|
|
155272
|
-
"attribute": "error-space",
|
|
155273
|
-
"reflects": true,
|
|
155274
155181
|
"inheritedFrom": {
|
|
155275
155182
|
"name": "SbbFormFieldElement",
|
|
155276
155183
|
"module": "form-field/form-field/form-field.component.js"
|
|
155277
155184
|
}
|
|
155278
155185
|
},
|
|
155279
155186
|
{
|
|
155280
|
-
"kind": "
|
|
155281
|
-
"name": "
|
|
155282
|
-
"
|
|
155283
|
-
|
|
155187
|
+
"kind": "method",
|
|
155188
|
+
"name": "_onSlotInputChange",
|
|
155189
|
+
"privacy": "private",
|
|
155190
|
+
"return": {
|
|
155191
|
+
"type": {
|
|
155192
|
+
"text": "void"
|
|
155193
|
+
}
|
|
155284
155194
|
},
|
|
155285
|
-
"
|
|
155286
|
-
"default": "false",
|
|
155287
|
-
"description": "Indicates whether the input is optional.",
|
|
155288
|
-
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
155289
|
-
"attribute": "optional",
|
|
155195
|
+
"description": "It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.",
|
|
155290
155196
|
"inheritedFrom": {
|
|
155291
155197
|
"name": "SbbFormFieldElement",
|
|
155292
155198
|
"module": "form-field/form-field/form-field.component.js"
|
|
155293
155199
|
}
|
|
155294
155200
|
},
|
|
155295
155201
|
{
|
|
155296
|
-
"kind": "
|
|
155297
|
-
"name": "
|
|
155298
|
-
"
|
|
155299
|
-
|
|
155202
|
+
"kind": "method",
|
|
155203
|
+
"name": "_assignSlots",
|
|
155204
|
+
"privacy": "private",
|
|
155205
|
+
"return": {
|
|
155206
|
+
"type": {
|
|
155207
|
+
"text": "void"
|
|
155208
|
+
}
|
|
155300
155209
|
},
|
|
155301
|
-
"privacy": "public",
|
|
155302
|
-
"default": "false",
|
|
155303
|
-
"description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
|
|
155304
|
-
"attribute": "hidden-label",
|
|
155305
|
-
"reflects": true,
|
|
155306
155210
|
"inheritedFrom": {
|
|
155307
155211
|
"name": "SbbFormFieldElement",
|
|
155308
155212
|
"module": "form-field/form-field/form-field.component.js"
|
|
155309
155213
|
}
|
|
155310
155214
|
},
|
|
155311
155215
|
{
|
|
155312
|
-
"kind": "
|
|
155313
|
-
"name": "
|
|
155314
|
-
"type": {
|
|
155315
|
-
"text": "Element[]"
|
|
155316
|
-
},
|
|
155216
|
+
"kind": "method",
|
|
155217
|
+
"name": "_connectInputElement",
|
|
155317
155218
|
"privacy": "private",
|
|
155318
|
-
"
|
|
155319
|
-
|
|
155320
|
-
|
|
155321
|
-
|
|
155322
|
-
|
|
155323
|
-
}
|
|
155324
|
-
},
|
|
155325
|
-
{
|
|
155326
|
-
"kind": "field",
|
|
155327
|
-
"name": "_hintElements",
|
|
155328
|
-
"type": {
|
|
155329
|
-
"text": "Element[]"
|
|
155330
|
-
},
|
|
155331
|
-
"privacy": "private",
|
|
155332
|
-
"default": "[]",
|
|
155333
|
-
"description": "It is used internally to get the `hint` slot.",
|
|
155334
|
-
"inheritedFrom": {
|
|
155335
|
-
"name": "SbbFormFieldElement",
|
|
155336
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155337
|
-
}
|
|
155338
|
-
},
|
|
155339
|
-
{
|
|
155340
|
-
"kind": "field",
|
|
155341
|
-
"name": "_input",
|
|
155342
|
-
"type": {
|
|
155343
|
-
"text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
|
|
155344
|
-
},
|
|
155345
|
-
"privacy": "private",
|
|
155346
|
-
"default": "null",
|
|
155347
|
-
"description": "Reference to the slotted input element.",
|
|
155348
|
-
"inheritedFrom": {
|
|
155349
|
-
"name": "SbbFormFieldElement",
|
|
155350
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155351
|
-
}
|
|
155352
|
-
},
|
|
155353
|
-
{
|
|
155354
|
-
"kind": "field",
|
|
155355
|
-
"name": "_label",
|
|
155356
|
-
"type": {
|
|
155357
|
-
"text": "HTMLLabelElement"
|
|
155358
|
-
},
|
|
155359
|
-
"privacy": "private",
|
|
155360
|
-
"description": "Reference to the slotted label elements.",
|
|
155361
|
-
"inheritedFrom": {
|
|
155362
|
-
"name": "SbbFormFieldElement",
|
|
155363
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155364
|
-
}
|
|
155365
|
-
},
|
|
155366
|
-
{
|
|
155367
|
-
"kind": "field",
|
|
155368
|
-
"name": "inputElement",
|
|
155369
|
-
"type": {
|
|
155370
|
-
"text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
|
|
155371
|
-
},
|
|
155372
|
-
"privacy": "public",
|
|
155373
|
-
"description": "Returns the input element.",
|
|
155374
|
-
"readonly": true,
|
|
155375
|
-
"inheritedFrom": {
|
|
155376
|
-
"name": "SbbFormFieldElement",
|
|
155377
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155378
|
-
}
|
|
155379
|
-
},
|
|
155380
|
-
{
|
|
155381
|
-
"kind": "field",
|
|
155382
|
-
"name": "label",
|
|
155383
|
-
"type": {
|
|
155384
|
-
"text": "HTMLLabelElement | null"
|
|
155385
|
-
},
|
|
155386
|
-
"privacy": "public",
|
|
155387
|
-
"description": "Reference to the slotted label.",
|
|
155388
|
-
"readonly": true,
|
|
155389
|
-
"inheritedFrom": {
|
|
155390
|
-
"name": "SbbFormFieldElement",
|
|
155391
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155392
|
-
}
|
|
155393
|
-
},
|
|
155394
|
-
{
|
|
155395
|
-
"kind": "field",
|
|
155396
|
-
"name": "_language",
|
|
155397
|
-
"privacy": "private",
|
|
155398
|
-
"default": "new SbbLanguageController(this)",
|
|
155399
|
-
"inheritedFrom": {
|
|
155400
|
-
"name": "SbbFormFieldElement",
|
|
155401
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155402
|
-
}
|
|
155403
|
-
},
|
|
155404
|
-
{
|
|
155405
|
-
"kind": "field",
|
|
155406
|
-
"name": "_formFieldAttributeObserver",
|
|
155407
|
-
"privacy": "private",
|
|
155408
|
-
"description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`.",
|
|
155409
|
-
"inheritedFrom": {
|
|
155410
|
-
"name": "SbbFormFieldElement",
|
|
155411
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155412
|
-
}
|
|
155413
|
-
},
|
|
155414
|
-
{
|
|
155415
|
-
"kind": "field",
|
|
155416
|
-
"name": "_inputFormAbortController",
|
|
155417
|
-
"privacy": "private",
|
|
155418
|
-
"default": "new AbortController()",
|
|
155419
|
-
"inheritedFrom": {
|
|
155420
|
-
"name": "SbbFormFieldElement",
|
|
155421
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155422
|
-
}
|
|
155423
|
-
},
|
|
155424
|
-
{
|
|
155425
|
-
"kind": "field",
|
|
155426
|
-
"name": "_control",
|
|
155427
|
-
"type": {
|
|
155428
|
-
"text": "SbbFormFieldElementControl | null"
|
|
155429
|
-
},
|
|
155430
|
-
"privacy": "private",
|
|
155431
|
-
"default": "null",
|
|
155432
|
-
"inheritedFrom": {
|
|
155433
|
-
"name": "SbbFormFieldElement",
|
|
155434
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155435
|
-
}
|
|
155436
|
-
},
|
|
155437
|
-
{
|
|
155438
|
-
"kind": "method",
|
|
155439
|
-
"name": "_handleWrapperClick",
|
|
155440
|
-
"privacy": "private",
|
|
155441
|
-
"return": {
|
|
155442
|
-
"type": {
|
|
155443
|
-
"text": "void"
|
|
155444
|
-
}
|
|
155445
|
-
},
|
|
155446
|
-
"parameters": [
|
|
155447
|
-
{
|
|
155448
|
-
"name": "event",
|
|
155449
|
-
"type": {
|
|
155450
|
-
"text": "MouseEvent"
|
|
155451
|
-
}
|
|
155452
|
-
}
|
|
155453
|
-
],
|
|
155454
|
-
"inheritedFrom": {
|
|
155455
|
-
"name": "SbbFormFieldElement",
|
|
155456
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155457
|
-
}
|
|
155458
|
-
},
|
|
155459
|
-
{
|
|
155460
|
-
"kind": "method",
|
|
155461
|
-
"name": "_isElementFocusExcluded",
|
|
155462
|
-
"privacy": "private",
|
|
155463
|
-
"return": {
|
|
155464
|
-
"type": {
|
|
155465
|
-
"text": "boolean"
|
|
155466
|
-
}
|
|
155467
|
-
},
|
|
155468
|
-
"parameters": [
|
|
155469
|
-
{
|
|
155470
|
-
"name": "event",
|
|
155471
|
-
"type": {
|
|
155472
|
-
"text": "Event"
|
|
155473
|
-
}
|
|
155474
|
-
}
|
|
155475
|
-
],
|
|
155476
|
-
"inheritedFrom": {
|
|
155477
|
-
"name": "SbbFormFieldElement",
|
|
155478
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155479
|
-
}
|
|
155480
|
-
},
|
|
155481
|
-
{
|
|
155482
|
-
"kind": "method",
|
|
155483
|
-
"name": "_onSlotLabelChange",
|
|
155484
|
-
"privacy": "private",
|
|
155485
|
-
"return": {
|
|
155486
|
-
"type": {
|
|
155487
|
-
"text": "void"
|
|
155488
|
-
}
|
|
155489
|
-
},
|
|
155490
|
-
"inheritedFrom": {
|
|
155491
|
-
"name": "SbbFormFieldElement",
|
|
155492
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155493
|
-
}
|
|
155494
|
-
},
|
|
155495
|
-
{
|
|
155496
|
-
"kind": "method",
|
|
155497
|
-
"name": "_onSlotInputChange",
|
|
155498
|
-
"privacy": "private",
|
|
155499
|
-
"return": {
|
|
155500
|
-
"type": {
|
|
155501
|
-
"text": "void"
|
|
155502
|
-
}
|
|
155503
|
-
},
|
|
155504
|
-
"description": "It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.",
|
|
155505
|
-
"inheritedFrom": {
|
|
155506
|
-
"name": "SbbFormFieldElement",
|
|
155507
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155508
|
-
}
|
|
155509
|
-
},
|
|
155510
|
-
{
|
|
155511
|
-
"kind": "method",
|
|
155512
|
-
"name": "_assignSlots",
|
|
155513
|
-
"privacy": "private",
|
|
155514
|
-
"return": {
|
|
155515
|
-
"type": {
|
|
155516
|
-
"text": "void"
|
|
155517
|
-
}
|
|
155518
|
-
},
|
|
155519
|
-
"inheritedFrom": {
|
|
155520
|
-
"name": "SbbFormFieldElement",
|
|
155521
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
155522
|
-
}
|
|
155523
|
-
},
|
|
155524
|
-
{
|
|
155525
|
-
"kind": "method",
|
|
155526
|
-
"name": "_connectInputElement",
|
|
155527
|
-
"privacy": "private",
|
|
155528
|
-
"return": {
|
|
155529
|
-
"type": {
|
|
155530
|
-
"text": "'changed' | 'no-input' | 'unchanged'"
|
|
155531
|
-
}
|
|
155532
|
-
},
|
|
155219
|
+
"return": {
|
|
155220
|
+
"type": {
|
|
155221
|
+
"text": "'changed' | 'no-input' | 'unchanged'"
|
|
155222
|
+
}
|
|
155223
|
+
},
|
|
155533
155224
|
"inheritedFrom": {
|
|
155534
155225
|
"name": "SbbFormFieldElement",
|
|
155535
155226
|
"module": "form-field/form-field/form-field.component.js"
|
|
@@ -156301,416 +155992,786 @@
|
|
|
156301
155992
|
},
|
|
156302
155993
|
{
|
|
156303
155994
|
"kind": "field",
|
|
156304
|
-
"name": "loading",
|
|
155995
|
+
"name": "loading",
|
|
155996
|
+
"type": {
|
|
155997
|
+
"text": "boolean"
|
|
155998
|
+
},
|
|
155999
|
+
"privacy": "public",
|
|
156000
|
+
"default": "false",
|
|
156001
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
156002
|
+
"attribute": "loading",
|
|
156003
|
+
"reflects": true,
|
|
156004
|
+
"inheritedFrom": {
|
|
156005
|
+
"name": "SbbButtonCommonElementMixin",
|
|
156006
|
+
"module": "button/common/button-common.js"
|
|
156007
|
+
}
|
|
156008
|
+
},
|
|
156009
|
+
{
|
|
156010
|
+
"kind": "method",
|
|
156011
|
+
"name": "renderTemplate",
|
|
156012
|
+
"privacy": "protected",
|
|
156013
|
+
"return": {
|
|
156014
|
+
"type": {
|
|
156015
|
+
"text": "TemplateResult"
|
|
156016
|
+
}
|
|
156017
|
+
},
|
|
156018
|
+
"description": "Override this method to render the component template.",
|
|
156019
|
+
"inheritedFrom": {
|
|
156020
|
+
"name": "SbbActionBaseElement",
|
|
156021
|
+
"module": "core/base-elements/action-base-element.js"
|
|
156022
|
+
}
|
|
156023
|
+
},
|
|
156024
|
+
{
|
|
156025
|
+
"kind": "field",
|
|
156026
|
+
"name": "negative",
|
|
156027
|
+
"type": {
|
|
156028
|
+
"text": "boolean"
|
|
156029
|
+
},
|
|
156030
|
+
"privacy": "public",
|
|
156031
|
+
"default": "false",
|
|
156032
|
+
"description": "Negative coloring variant flag.",
|
|
156033
|
+
"attribute": "negative",
|
|
156034
|
+
"reflects": true,
|
|
156035
|
+
"inheritedFrom": {
|
|
156036
|
+
"name": "SbbNegativeMixin",
|
|
156037
|
+
"module": "core/mixins/negative-mixin.js"
|
|
156038
|
+
}
|
|
156039
|
+
},
|
|
156040
|
+
{
|
|
156041
|
+
"kind": "field",
|
|
156042
|
+
"name": "elementDependencies",
|
|
156043
|
+
"type": {
|
|
156044
|
+
"text": "SbbElementType[]"
|
|
156045
|
+
},
|
|
156046
|
+
"privacy": "public",
|
|
156047
|
+
"static": true,
|
|
156048
|
+
"inheritedFrom": {
|
|
156049
|
+
"name": "SbbElement",
|
|
156050
|
+
"module": "core/base-elements/element.js"
|
|
156051
|
+
},
|
|
156052
|
+
"default": "[SbbIconElement]"
|
|
156053
|
+
},
|
|
156054
|
+
{
|
|
156055
|
+
"kind": "field",
|
|
156056
|
+
"name": "iconName",
|
|
156057
|
+
"type": {
|
|
156058
|
+
"text": "string"
|
|
156059
|
+
},
|
|
156060
|
+
"privacy": "public",
|
|
156061
|
+
"default": "''",
|
|
156062
|
+
"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.",
|
|
156063
|
+
"attribute": "icon-name",
|
|
156064
|
+
"inheritedFrom": {
|
|
156065
|
+
"name": "SbbIconNameMixin",
|
|
156066
|
+
"module": "icon/icon-name-mixin.js"
|
|
156067
|
+
}
|
|
156068
|
+
},
|
|
156069
|
+
{
|
|
156070
|
+
"kind": "method",
|
|
156071
|
+
"name": "renderIconSlot",
|
|
156072
|
+
"privacy": "protected",
|
|
156073
|
+
"return": {
|
|
156074
|
+
"type": {
|
|
156075
|
+
"text": "TemplateResult"
|
|
156076
|
+
}
|
|
156077
|
+
},
|
|
156078
|
+
"parameters": [
|
|
156079
|
+
{
|
|
156080
|
+
"name": "classname",
|
|
156081
|
+
"optional": true,
|
|
156082
|
+
"type": {
|
|
156083
|
+
"text": "string"
|
|
156084
|
+
}
|
|
156085
|
+
}
|
|
156086
|
+
],
|
|
156087
|
+
"inheritedFrom": {
|
|
156088
|
+
"name": "SbbIconNameMixin",
|
|
156089
|
+
"module": "icon/icon-name-mixin.js"
|
|
156090
|
+
}
|
|
156091
|
+
},
|
|
156092
|
+
{
|
|
156093
|
+
"kind": "method",
|
|
156094
|
+
"name": "_renderIconName",
|
|
156095
|
+
"privacy": "private",
|
|
156096
|
+
"return": {
|
|
156097
|
+
"type": {
|
|
156098
|
+
"text": "string"
|
|
156099
|
+
}
|
|
156100
|
+
},
|
|
156101
|
+
"inheritedFrom": {
|
|
156102
|
+
"name": "SbbIconNameMixin",
|
|
156103
|
+
"module": "icon/icon-name-mixin.js"
|
|
156104
|
+
}
|
|
156105
|
+
},
|
|
156106
|
+
{
|
|
156107
|
+
"kind": "field",
|
|
156108
|
+
"name": "disabledInteractive",
|
|
156109
|
+
"type": {
|
|
156110
|
+
"text": "boolean"
|
|
156111
|
+
},
|
|
156112
|
+
"privacy": "public",
|
|
156113
|
+
"default": "false",
|
|
156114
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
156115
|
+
"attribute": "disabled-interactive",
|
|
156116
|
+
"reflects": true,
|
|
156117
|
+
"inheritedFrom": {
|
|
156118
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
156119
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
156120
|
+
}
|
|
156121
|
+
},
|
|
156122
|
+
{
|
|
156123
|
+
"kind": "field",
|
|
156124
|
+
"name": "disabled",
|
|
156125
|
+
"privacy": "public",
|
|
156126
|
+
"description": "Whether the component is disabled.",
|
|
156127
|
+
"default": "false",
|
|
156128
|
+
"type": {
|
|
156129
|
+
"text": "boolean"
|
|
156130
|
+
},
|
|
156131
|
+
"attribute": "disabled",
|
|
156132
|
+
"reflects": true,
|
|
156133
|
+
"inheritedFrom": {
|
|
156134
|
+
"name": "SbbDisabledMixin",
|
|
156135
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
156136
|
+
}
|
|
156137
|
+
},
|
|
156138
|
+
{
|
|
156139
|
+
"kind": "field",
|
|
156140
|
+
"name": "#disabled",
|
|
156141
|
+
"privacy": "private",
|
|
156142
|
+
"type": {
|
|
156143
|
+
"text": "boolean"
|
|
156144
|
+
},
|
|
156145
|
+
"default": "false",
|
|
156146
|
+
"inheritedFrom": {
|
|
156147
|
+
"name": "SbbDisabledMixin",
|
|
156148
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
156149
|
+
}
|
|
156150
|
+
},
|
|
156151
|
+
{
|
|
156152
|
+
"kind": "method",
|
|
156153
|
+
"name": "isDisabledExternally",
|
|
156154
|
+
"privacy": "protected",
|
|
156155
|
+
"return": {
|
|
156156
|
+
"type": {
|
|
156157
|
+
"text": "boolean"
|
|
156158
|
+
}
|
|
156159
|
+
},
|
|
156160
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
156161
|
+
"inheritedFrom": {
|
|
156162
|
+
"name": "SbbDisabledMixin",
|
|
156163
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
156164
|
+
}
|
|
156165
|
+
},
|
|
156166
|
+
{
|
|
156167
|
+
"kind": "field",
|
|
156168
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
156169
|
+
"type": {
|
|
156170
|
+
"text": "array"
|
|
156171
|
+
},
|
|
156172
|
+
"privacy": "private",
|
|
156173
|
+
"readonly": true,
|
|
156174
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
156175
|
+
"inheritedFrom": {
|
|
156176
|
+
"name": "SbbButtonBaseElement",
|
|
156177
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156178
|
+
}
|
|
156179
|
+
},
|
|
156180
|
+
{
|
|
156181
|
+
"kind": "field",
|
|
156182
|
+
"name": "value",
|
|
156183
|
+
"type": {
|
|
156184
|
+
"text": "string"
|
|
156185
|
+
},
|
|
156186
|
+
"privacy": "public",
|
|
156187
|
+
"inheritedFrom": {
|
|
156188
|
+
"name": "SbbButtonBaseElement",
|
|
156189
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156190
|
+
},
|
|
156191
|
+
"default": "''",
|
|
156192
|
+
"description": "Value of the form element.",
|
|
156193
|
+
"attribute": "value"
|
|
156194
|
+
},
|
|
156195
|
+
{
|
|
156196
|
+
"kind": "field",
|
|
156197
|
+
"name": "type",
|
|
156198
|
+
"privacy": "public",
|
|
156199
|
+
"description": "The type attribute to use for the button.",
|
|
156200
|
+
"default": "'button'",
|
|
156201
|
+
"type": {
|
|
156202
|
+
"text": "SbbButtonType"
|
|
156203
|
+
},
|
|
156204
|
+
"attribute": "type",
|
|
156205
|
+
"inheritedFrom": {
|
|
156206
|
+
"name": "SbbButtonBaseElement",
|
|
156207
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156208
|
+
}
|
|
156209
|
+
},
|
|
156210
|
+
{
|
|
156211
|
+
"kind": "field",
|
|
156212
|
+
"name": "form",
|
|
156213
|
+
"type": {
|
|
156214
|
+
"text": "HTMLFormElement | null"
|
|
156215
|
+
},
|
|
156216
|
+
"privacy": "public",
|
|
156217
|
+
"description": "The `<form>` element to associate the button with.",
|
|
156218
|
+
"inheritedFrom": {
|
|
156219
|
+
"name": "SbbButtonBaseElement",
|
|
156220
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156221
|
+
},
|
|
156222
|
+
"attribute": "form"
|
|
156223
|
+
},
|
|
156224
|
+
{
|
|
156225
|
+
"kind": "field",
|
|
156226
|
+
"name": "_formId",
|
|
156227
|
+
"type": {
|
|
156228
|
+
"text": "string"
|
|
156229
|
+
},
|
|
156230
|
+
"privacy": "private",
|
|
156231
|
+
"default": "''",
|
|
156232
|
+
"inheritedFrom": {
|
|
156233
|
+
"name": "SbbButtonBaseElement",
|
|
156234
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156235
|
+
}
|
|
156236
|
+
},
|
|
156237
|
+
{
|
|
156238
|
+
"kind": "field",
|
|
156239
|
+
"name": "_handleButtonClick",
|
|
156240
|
+
"privacy": "private",
|
|
156241
|
+
"inheritedFrom": {
|
|
156242
|
+
"name": "SbbButtonBaseElement",
|
|
156243
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156244
|
+
}
|
|
156245
|
+
},
|
|
156246
|
+
{
|
|
156247
|
+
"kind": "method",
|
|
156248
|
+
"name": "_requestSubmit",
|
|
156249
|
+
"privacy": "private",
|
|
156250
|
+
"return": {
|
|
156251
|
+
"type": {
|
|
156252
|
+
"text": "void"
|
|
156253
|
+
}
|
|
156254
|
+
},
|
|
156255
|
+
"parameters": [
|
|
156256
|
+
{
|
|
156257
|
+
"name": "form",
|
|
156258
|
+
"type": {
|
|
156259
|
+
"text": "HTMLFormElement"
|
|
156260
|
+
}
|
|
156261
|
+
}
|
|
156262
|
+
],
|
|
156263
|
+
"inheritedFrom": {
|
|
156264
|
+
"name": "SbbButtonBaseElement",
|
|
156265
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156266
|
+
}
|
|
156267
|
+
},
|
|
156268
|
+
{
|
|
156269
|
+
"kind": "field",
|
|
156270
|
+
"name": "_formKeyDown",
|
|
156271
|
+
"privacy": "private",
|
|
156272
|
+
"inheritedFrom": {
|
|
156273
|
+
"name": "SbbButtonBaseElement",
|
|
156274
|
+
"module": "core/base-elements/button-base-element.js"
|
|
156275
|
+
}
|
|
156276
|
+
},
|
|
156277
|
+
{
|
|
156278
|
+
"kind": "field",
|
|
156279
|
+
"name": "formAssociated",
|
|
156280
|
+
"type": {
|
|
156281
|
+
"text": "boolean"
|
|
156282
|
+
},
|
|
156283
|
+
"privacy": "public",
|
|
156284
|
+
"static": true,
|
|
156285
|
+
"default": "true",
|
|
156286
|
+
"inheritedFrom": {
|
|
156287
|
+
"name": "SbbFormAssociatedMixin",
|
|
156288
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156289
|
+
}
|
|
156290
|
+
},
|
|
156291
|
+
{
|
|
156292
|
+
"kind": "field",
|
|
156293
|
+
"name": "name",
|
|
156294
|
+
"privacy": "public",
|
|
156295
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
156296
|
+
"type": {
|
|
156297
|
+
"text": "string"
|
|
156298
|
+
},
|
|
156299
|
+
"attribute": "name",
|
|
156300
|
+
"inheritedFrom": {
|
|
156301
|
+
"name": "SbbFormAssociatedMixin",
|
|
156302
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156303
|
+
}
|
|
156304
|
+
},
|
|
156305
|
+
{
|
|
156306
|
+
"kind": "field",
|
|
156307
|
+
"name": "validity",
|
|
156308
|
+
"type": {
|
|
156309
|
+
"text": "ValidityState"
|
|
156310
|
+
},
|
|
156311
|
+
"privacy": "public",
|
|
156312
|
+
"description": "Returns the ValidityState object for this element.",
|
|
156313
|
+
"readonly": true,
|
|
156314
|
+
"inheritedFrom": {
|
|
156315
|
+
"name": "SbbFormAssociatedMixin",
|
|
156316
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156317
|
+
}
|
|
156318
|
+
},
|
|
156319
|
+
{
|
|
156320
|
+
"kind": "field",
|
|
156321
|
+
"name": "validationMessage",
|
|
156322
|
+
"type": {
|
|
156323
|
+
"text": "string"
|
|
156324
|
+
},
|
|
156325
|
+
"privacy": "public",
|
|
156326
|
+
"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.",
|
|
156327
|
+
"readonly": true,
|
|
156328
|
+
"inheritedFrom": {
|
|
156329
|
+
"name": "SbbFormAssociatedMixin",
|
|
156330
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156331
|
+
}
|
|
156332
|
+
},
|
|
156333
|
+
{
|
|
156334
|
+
"kind": "field",
|
|
156335
|
+
"name": "willValidate",
|
|
156336
|
+
"type": {
|
|
156337
|
+
"text": "boolean"
|
|
156338
|
+
},
|
|
156339
|
+
"privacy": "public",
|
|
156340
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
156341
|
+
"readonly": true,
|
|
156342
|
+
"inheritedFrom": {
|
|
156343
|
+
"name": "SbbFormAssociatedMixin",
|
|
156344
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156345
|
+
}
|
|
156346
|
+
},
|
|
156347
|
+
{
|
|
156348
|
+
"kind": "field",
|
|
156349
|
+
"name": "_validityStates",
|
|
156350
|
+
"privacy": "private",
|
|
156351
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
156352
|
+
"inheritedFrom": {
|
|
156353
|
+
"name": "SbbFormAssociatedMixin",
|
|
156354
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156355
|
+
}
|
|
156356
|
+
},
|
|
156357
|
+
{
|
|
156358
|
+
"kind": "field",
|
|
156359
|
+
"name": "formDisabled",
|
|
156305
156360
|
"type": {
|
|
156306
156361
|
"text": "boolean"
|
|
156307
156362
|
},
|
|
156308
|
-
"privacy": "
|
|
156363
|
+
"privacy": "protected",
|
|
156309
156364
|
"default": "false",
|
|
156310
|
-
"description": "
|
|
156311
|
-
"attribute": "loading",
|
|
156312
|
-
"reflects": true,
|
|
156365
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
156313
156366
|
"inheritedFrom": {
|
|
156314
|
-
"name": "
|
|
156315
|
-
"module": "
|
|
156367
|
+
"name": "SbbFormAssociatedMixin",
|
|
156368
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156316
156369
|
}
|
|
156317
156370
|
},
|
|
156318
156371
|
{
|
|
156319
156372
|
"kind": "method",
|
|
156320
|
-
"name": "
|
|
156321
|
-
"privacy": "
|
|
156373
|
+
"name": "checkValidity",
|
|
156374
|
+
"privacy": "public",
|
|
156322
156375
|
"return": {
|
|
156323
156376
|
"type": {
|
|
156324
|
-
"text": "
|
|
156377
|
+
"text": "boolean"
|
|
156325
156378
|
}
|
|
156326
156379
|
},
|
|
156327
|
-
"description": "
|
|
156328
|
-
"inheritedFrom": {
|
|
156329
|
-
"name": "SbbActionBaseElement",
|
|
156330
|
-
"module": "core/base-elements/action-base-element.js"
|
|
156331
|
-
}
|
|
156332
|
-
},
|
|
156333
|
-
{
|
|
156334
|
-
"kind": "field",
|
|
156335
|
-
"name": "negative",
|
|
156336
|
-
"type": {
|
|
156337
|
-
"text": "boolean"
|
|
156338
|
-
},
|
|
156339
|
-
"privacy": "public",
|
|
156340
|
-
"default": "false",
|
|
156341
|
-
"description": "Negative coloring variant flag.",
|
|
156342
|
-
"attribute": "negative",
|
|
156343
|
-
"reflects": true,
|
|
156380
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
156344
156381
|
"inheritedFrom": {
|
|
156345
|
-
"name": "
|
|
156346
|
-
"module": "core/mixins/
|
|
156382
|
+
"name": "SbbFormAssociatedMixin",
|
|
156383
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156347
156384
|
}
|
|
156348
156385
|
},
|
|
156349
156386
|
{
|
|
156350
|
-
"kind": "
|
|
156351
|
-
"name": "
|
|
156352
|
-
"type": {
|
|
156353
|
-
"text": "SbbElementType[]"
|
|
156354
|
-
},
|
|
156387
|
+
"kind": "method",
|
|
156388
|
+
"name": "reportValidity",
|
|
156355
156389
|
"privacy": "public",
|
|
156356
|
-
"
|
|
156357
|
-
|
|
156358
|
-
|
|
156359
|
-
|
|
156360
|
-
},
|
|
156361
|
-
"default": "[SbbIconElement]"
|
|
156362
|
-
},
|
|
156363
|
-
{
|
|
156364
|
-
"kind": "field",
|
|
156365
|
-
"name": "iconName",
|
|
156366
|
-
"type": {
|
|
156367
|
-
"text": "string"
|
|
156390
|
+
"return": {
|
|
156391
|
+
"type": {
|
|
156392
|
+
"text": "boolean"
|
|
156393
|
+
}
|
|
156368
156394
|
},
|
|
156369
|
-
"
|
|
156370
|
-
"default": "''",
|
|
156371
|
-
"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.",
|
|
156372
|
-
"attribute": "icon-name",
|
|
156395
|
+
"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.",
|
|
156373
156396
|
"inheritedFrom": {
|
|
156374
|
-
"name": "
|
|
156375
|
-
"module": "
|
|
156397
|
+
"name": "SbbFormAssociatedMixin",
|
|
156398
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156376
156399
|
}
|
|
156377
156400
|
},
|
|
156378
156401
|
{
|
|
156379
156402
|
"kind": "method",
|
|
156380
|
-
"name": "
|
|
156381
|
-
"privacy": "
|
|
156403
|
+
"name": "setCustomValidity",
|
|
156404
|
+
"privacy": "public",
|
|
156382
156405
|
"return": {
|
|
156383
156406
|
"type": {
|
|
156384
|
-
"text": "
|
|
156407
|
+
"text": "void"
|
|
156385
156408
|
}
|
|
156386
156409
|
},
|
|
156387
156410
|
"parameters": [
|
|
156388
156411
|
{
|
|
156389
|
-
"name": "
|
|
156390
|
-
"optional": true,
|
|
156412
|
+
"name": "message",
|
|
156391
156413
|
"type": {
|
|
156392
156414
|
"text": "string"
|
|
156393
156415
|
}
|
|
156394
156416
|
}
|
|
156395
156417
|
],
|
|
156418
|
+
"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.",
|
|
156396
156419
|
"inheritedFrom": {
|
|
156397
|
-
"name": "
|
|
156398
|
-
"module": "
|
|
156420
|
+
"name": "SbbFormAssociatedMixin",
|
|
156421
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156399
156422
|
}
|
|
156400
156423
|
},
|
|
156401
156424
|
{
|
|
156402
156425
|
"kind": "method",
|
|
156403
|
-
"name": "
|
|
156426
|
+
"name": "_hasDisabledAncestor",
|
|
156404
156427
|
"privacy": "private",
|
|
156405
156428
|
"return": {
|
|
156406
156429
|
"type": {
|
|
156407
|
-
"text": "
|
|
156430
|
+
"text": "boolean"
|
|
156408
156431
|
}
|
|
156409
156432
|
},
|
|
156410
156433
|
"inheritedFrom": {
|
|
156411
|
-
"name": "
|
|
156412
|
-
"module": "
|
|
156434
|
+
"name": "SbbFormAssociatedMixin",
|
|
156435
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156413
156436
|
}
|
|
156414
156437
|
},
|
|
156415
156438
|
{
|
|
156416
|
-
"kind": "
|
|
156417
|
-
"name": "
|
|
156418
|
-
"
|
|
156419
|
-
|
|
156439
|
+
"kind": "method",
|
|
156440
|
+
"name": "updateFormValue",
|
|
156441
|
+
"privacy": "protected",
|
|
156442
|
+
"return": {
|
|
156443
|
+
"type": {
|
|
156444
|
+
"text": "void"
|
|
156445
|
+
}
|
|
156420
156446
|
},
|
|
156421
|
-
"
|
|
156422
|
-
"default": "false",
|
|
156423
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
156424
|
-
"attribute": "disabled-interactive",
|
|
156425
|
-
"reflects": true,
|
|
156447
|
+
"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",
|
|
156426
156448
|
"inheritedFrom": {
|
|
156427
|
-
"name": "
|
|
156428
|
-
"module": "core/mixins/
|
|
156449
|
+
"name": "SbbFormAssociatedMixin",
|
|
156450
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156429
156451
|
}
|
|
156430
156452
|
},
|
|
156431
156453
|
{
|
|
156432
|
-
"kind": "
|
|
156433
|
-
"name": "
|
|
156434
|
-
"privacy": "
|
|
156435
|
-
"
|
|
156436
|
-
|
|
156437
|
-
|
|
156438
|
-
|
|
156454
|
+
"kind": "method",
|
|
156455
|
+
"name": "formState",
|
|
156456
|
+
"privacy": "protected",
|
|
156457
|
+
"return": {
|
|
156458
|
+
"type": {
|
|
156459
|
+
"text": "FormRestoreState"
|
|
156460
|
+
}
|
|
156439
156461
|
},
|
|
156440
|
-
"attribute": "disabled",
|
|
156441
|
-
"reflects": true,
|
|
156442
156462
|
"inheritedFrom": {
|
|
156443
|
-
"name": "
|
|
156444
|
-
"module": "core/mixins/
|
|
156463
|
+
"name": "SbbFormAssociatedMixin",
|
|
156464
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156445
156465
|
}
|
|
156446
156466
|
},
|
|
156447
156467
|
{
|
|
156448
|
-
"kind": "
|
|
156449
|
-
"name": "
|
|
156450
|
-
"privacy": "
|
|
156451
|
-
"
|
|
156452
|
-
"
|
|
156468
|
+
"kind": "method",
|
|
156469
|
+
"name": "setValidityFlag",
|
|
156470
|
+
"privacy": "protected",
|
|
156471
|
+
"return": {
|
|
156472
|
+
"type": {
|
|
156473
|
+
"text": "void"
|
|
156474
|
+
}
|
|
156453
156475
|
},
|
|
156454
|
-
"
|
|
156476
|
+
"parameters": [
|
|
156477
|
+
{
|
|
156478
|
+
"name": "flag",
|
|
156479
|
+
"type": {
|
|
156480
|
+
"text": "T"
|
|
156481
|
+
}
|
|
156482
|
+
},
|
|
156483
|
+
{
|
|
156484
|
+
"name": "message",
|
|
156485
|
+
"type": {
|
|
156486
|
+
"text": "string"
|
|
156487
|
+
}
|
|
156488
|
+
},
|
|
156489
|
+
{
|
|
156490
|
+
"name": "flagValue",
|
|
156491
|
+
"optional": true,
|
|
156492
|
+
"type": {
|
|
156493
|
+
"text": "ValidityStateFlags[T]"
|
|
156494
|
+
}
|
|
156495
|
+
}
|
|
156496
|
+
],
|
|
156497
|
+
"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).",
|
|
156455
156498
|
"inheritedFrom": {
|
|
156456
|
-
"name": "
|
|
156457
|
-
"module": "core/mixins/
|
|
156499
|
+
"name": "SbbFormAssociatedMixin",
|
|
156500
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156458
156501
|
}
|
|
156459
156502
|
},
|
|
156460
156503
|
{
|
|
156461
156504
|
"kind": "method",
|
|
156462
|
-
"name": "
|
|
156505
|
+
"name": "removeValidityFlag",
|
|
156463
156506
|
"privacy": "protected",
|
|
156464
156507
|
"return": {
|
|
156465
156508
|
"type": {
|
|
156466
|
-
"text": "
|
|
156509
|
+
"text": "void"
|
|
156467
156510
|
}
|
|
156468
156511
|
},
|
|
156469
|
-
"
|
|
156512
|
+
"parameters": [
|
|
156513
|
+
{
|
|
156514
|
+
"name": "flag",
|
|
156515
|
+
"type": {
|
|
156516
|
+
"text": "T"
|
|
156517
|
+
}
|
|
156518
|
+
}
|
|
156519
|
+
],
|
|
156520
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
156470
156521
|
"inheritedFrom": {
|
|
156471
|
-
"name": "
|
|
156472
|
-
"module": "core/mixins/
|
|
156522
|
+
"name": "SbbFormAssociatedMixin",
|
|
156523
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156473
156524
|
}
|
|
156474
156525
|
},
|
|
156475
156526
|
{
|
|
156476
|
-
"kind": "
|
|
156477
|
-
"name": "
|
|
156478
|
-
"
|
|
156479
|
-
|
|
156527
|
+
"kind": "method",
|
|
156528
|
+
"name": "validate",
|
|
156529
|
+
"privacy": "protected",
|
|
156530
|
+
"return": {
|
|
156531
|
+
"type": {
|
|
156532
|
+
"text": "void"
|
|
156533
|
+
}
|
|
156480
156534
|
},
|
|
156481
|
-
"
|
|
156482
|
-
"readonly": true,
|
|
156483
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
156535
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
156484
156536
|
"inheritedFrom": {
|
|
156485
|
-
"name": "
|
|
156486
|
-
"module": "core/
|
|
156537
|
+
"name": "SbbFormAssociatedMixin",
|
|
156538
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156487
156539
|
}
|
|
156488
156540
|
},
|
|
156489
156541
|
{
|
|
156490
|
-
"kind": "
|
|
156491
|
-
"name": "
|
|
156492
|
-
"
|
|
156493
|
-
|
|
156542
|
+
"kind": "method",
|
|
156543
|
+
"name": "shouldValidate",
|
|
156544
|
+
"privacy": "protected",
|
|
156545
|
+
"return": {
|
|
156546
|
+
"type": {
|
|
156547
|
+
"text": "boolean"
|
|
156548
|
+
}
|
|
156494
156549
|
},
|
|
156495
|
-
"
|
|
156550
|
+
"parameters": [
|
|
156551
|
+
{
|
|
156552
|
+
"name": "name",
|
|
156553
|
+
"type": {
|
|
156554
|
+
"text": "PropertyKey | undefined"
|
|
156555
|
+
}
|
|
156556
|
+
}
|
|
156557
|
+
],
|
|
156558
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
156496
156559
|
"inheritedFrom": {
|
|
156497
|
-
"name": "
|
|
156498
|
-
"module": "core/
|
|
156499
|
-
}
|
|
156500
|
-
"default": "''",
|
|
156501
|
-
"description": "Value of the form element.",
|
|
156502
|
-
"attribute": "value"
|
|
156560
|
+
"name": "SbbFormAssociatedMixin",
|
|
156561
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156562
|
+
}
|
|
156503
156563
|
},
|
|
156504
156564
|
{
|
|
156505
|
-
"kind": "
|
|
156506
|
-
"name": "
|
|
156507
|
-
"privacy": "
|
|
156508
|
-
"
|
|
156509
|
-
|
|
156510
|
-
|
|
156511
|
-
|
|
156565
|
+
"kind": "method",
|
|
156566
|
+
"name": "_setInternalValidity",
|
|
156567
|
+
"privacy": "private",
|
|
156568
|
+
"return": {
|
|
156569
|
+
"type": {
|
|
156570
|
+
"text": "void"
|
|
156571
|
+
}
|
|
156512
156572
|
},
|
|
156513
|
-
"attribute": "type",
|
|
156514
156573
|
"inheritedFrom": {
|
|
156515
|
-
"name": "
|
|
156516
|
-
"module": "core/
|
|
156574
|
+
"name": "SbbFormAssociatedMixin",
|
|
156575
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
156517
156576
|
}
|
|
156518
156577
|
},
|
|
156519
156578
|
{
|
|
156520
156579
|
"kind": "field",
|
|
156521
|
-
"name": "
|
|
156580
|
+
"name": "role",
|
|
156522
156581
|
"type": {
|
|
156523
|
-
"text": "
|
|
156582
|
+
"text": "ElementInternals['role']"
|
|
156524
156583
|
},
|
|
156525
156584
|
"privacy": "public",
|
|
156526
|
-
"
|
|
156585
|
+
"static": true,
|
|
156527
156586
|
"inheritedFrom": {
|
|
156528
|
-
"name": "
|
|
156529
|
-
"module": "core/base-elements/
|
|
156587
|
+
"name": "SbbElement",
|
|
156588
|
+
"module": "core/base-elements/element.js"
|
|
156530
156589
|
},
|
|
156531
|
-
"
|
|
156590
|
+
"readonly": true,
|
|
156591
|
+
"default": "'button'"
|
|
156532
156592
|
},
|
|
156533
156593
|
{
|
|
156534
156594
|
"kind": "field",
|
|
156535
|
-
"name": "
|
|
156536
|
-
"type": {
|
|
156537
|
-
"text": "string"
|
|
156538
|
-
},
|
|
156595
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
156539
156596
|
"privacy": "private",
|
|
156540
|
-
"
|
|
156597
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
156598
|
+
"parameters": [
|
|
156599
|
+
{
|
|
156600
|
+
"description": "The origin event.",
|
|
156601
|
+
"name": "event"
|
|
156602
|
+
}
|
|
156603
|
+
],
|
|
156541
156604
|
"inheritedFrom": {
|
|
156542
|
-
"name": "
|
|
156605
|
+
"name": "SbbButtonLikeBaseElement",
|
|
156543
156606
|
"module": "core/base-elements/button-base-element.js"
|
|
156544
156607
|
}
|
|
156545
156608
|
},
|
|
156546
156609
|
{
|
|
156547
156610
|
"kind": "field",
|
|
156548
|
-
"name": "
|
|
156611
|
+
"name": "_removeActiveMarker",
|
|
156549
156612
|
"privacy": "private",
|
|
156550
156613
|
"inheritedFrom": {
|
|
156551
|
-
"name": "
|
|
156614
|
+
"name": "SbbButtonLikeBaseElement",
|
|
156552
156615
|
"module": "core/base-elements/button-base-element.js"
|
|
156553
156616
|
}
|
|
156554
156617
|
},
|
|
156555
156618
|
{
|
|
156556
|
-
"kind": "
|
|
156557
|
-
"name": "
|
|
156619
|
+
"kind": "field",
|
|
156620
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
156558
156621
|
"privacy": "private",
|
|
156559
|
-
"
|
|
156560
|
-
"type": {
|
|
156561
|
-
"text": "void"
|
|
156562
|
-
}
|
|
156563
|
-
},
|
|
156622
|
+
"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.",
|
|
156564
156623
|
"parameters": [
|
|
156565
156624
|
{
|
|
156566
|
-
"
|
|
156567
|
-
"
|
|
156568
|
-
"text": "HTMLFormElement"
|
|
156569
|
-
}
|
|
156625
|
+
"description": "The origin event.",
|
|
156626
|
+
"name": "event"
|
|
156570
156627
|
}
|
|
156571
156628
|
],
|
|
156572
156629
|
"inheritedFrom": {
|
|
156573
|
-
"name": "
|
|
156630
|
+
"name": "SbbButtonLikeBaseElement",
|
|
156574
156631
|
"module": "core/base-elements/button-base-element.js"
|
|
156575
156632
|
}
|
|
156576
156633
|
},
|
|
156577
156634
|
{
|
|
156578
156635
|
"kind": "field",
|
|
156579
|
-
"name": "
|
|
156636
|
+
"name": "_dispatchClickEvent",
|
|
156580
156637
|
"privacy": "private",
|
|
156581
156638
|
"inheritedFrom": {
|
|
156582
|
-
"name": "
|
|
156639
|
+
"name": "SbbButtonLikeBaseElement",
|
|
156583
156640
|
"module": "core/base-elements/button-base-element.js"
|
|
156584
156641
|
}
|
|
156585
156642
|
},
|
|
156586
156643
|
{
|
|
156587
156644
|
"kind": "field",
|
|
156588
|
-
"name": "
|
|
156645
|
+
"name": "maybeDisabled",
|
|
156589
156646
|
"type": {
|
|
156590
|
-
"text": "boolean"
|
|
156647
|
+
"text": "boolean | undefined"
|
|
156591
156648
|
},
|
|
156592
|
-
"privacy": "
|
|
156593
|
-
"
|
|
156594
|
-
"default": "true",
|
|
156649
|
+
"privacy": "protected",
|
|
156650
|
+
"readonly": true,
|
|
156595
156651
|
"inheritedFrom": {
|
|
156596
|
-
"name": "
|
|
156597
|
-
"module": "core/
|
|
156652
|
+
"name": "SbbActionBaseElement",
|
|
156653
|
+
"module": "core/base-elements/action-base-element.js"
|
|
156598
156654
|
}
|
|
156599
156655
|
},
|
|
156600
156656
|
{
|
|
156601
156657
|
"kind": "field",
|
|
156602
|
-
"name": "
|
|
156603
|
-
"privacy": "public",
|
|
156604
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
156658
|
+
"name": "maybeDisabledInteractive",
|
|
156605
156659
|
"type": {
|
|
156606
|
-
"text": "
|
|
156660
|
+
"text": "boolean | undefined"
|
|
156607
156661
|
},
|
|
156608
|
-
"
|
|
156662
|
+
"privacy": "protected",
|
|
156663
|
+
"readonly": true,
|
|
156609
156664
|
"inheritedFrom": {
|
|
156610
|
-
"name": "
|
|
156611
|
-
"module": "core/
|
|
156665
|
+
"name": "SbbActionBaseElement",
|
|
156666
|
+
"module": "core/base-elements/action-base-element.js"
|
|
156667
|
+
}
|
|
156668
|
+
},
|
|
156669
|
+
{
|
|
156670
|
+
"kind": "method",
|
|
156671
|
+
"name": "setupBaseEventHandlers",
|
|
156672
|
+
"privacy": "protected",
|
|
156673
|
+
"return": {
|
|
156674
|
+
"type": {
|
|
156675
|
+
"text": "void"
|
|
156676
|
+
}
|
|
156677
|
+
},
|
|
156678
|
+
"inheritedFrom": {
|
|
156679
|
+
"name": "SbbActionBaseElement",
|
|
156680
|
+
"module": "core/base-elements/action-base-element.js"
|
|
156612
156681
|
}
|
|
156613
156682
|
},
|
|
156614
156683
|
{
|
|
156615
156684
|
"kind": "field",
|
|
156616
|
-
"name": "
|
|
156685
|
+
"name": "['_$sbbElement$']",
|
|
156617
156686
|
"type": {
|
|
156618
|
-
"text": "
|
|
156687
|
+
"text": "boolean"
|
|
156619
156688
|
},
|
|
156620
156689
|
"privacy": "public",
|
|
156621
|
-
"
|
|
156622
|
-
"
|
|
156690
|
+
"static": true,
|
|
156691
|
+
"default": "true",
|
|
156623
156692
|
"inheritedFrom": {
|
|
156624
|
-
"name": "
|
|
156625
|
-
"module": "core/
|
|
156693
|
+
"name": "SbbElement",
|
|
156694
|
+
"module": "core/base-elements/element.js"
|
|
156626
156695
|
}
|
|
156627
156696
|
},
|
|
156628
156697
|
{
|
|
156629
156698
|
"kind": "field",
|
|
156630
|
-
"name": "
|
|
156699
|
+
"name": "_controllers",
|
|
156631
156700
|
"type": {
|
|
156632
|
-
"text": "
|
|
156701
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
156633
156702
|
},
|
|
156634
|
-
"privacy": "
|
|
156635
|
-
"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.",
|
|
156636
|
-
"readonly": true,
|
|
156703
|
+
"privacy": "private",
|
|
156637
156704
|
"inheritedFrom": {
|
|
156638
|
-
"name": "
|
|
156639
|
-
"module": "core/
|
|
156705
|
+
"name": "SbbElement",
|
|
156706
|
+
"module": "core/base-elements/element.js"
|
|
156640
156707
|
}
|
|
156641
156708
|
},
|
|
156642
156709
|
{
|
|
156643
156710
|
"kind": "field",
|
|
156644
|
-
"name": "
|
|
156711
|
+
"name": "_hydrationRequired",
|
|
156645
156712
|
"type": {
|
|
156646
156713
|
"text": "boolean"
|
|
156647
156714
|
},
|
|
156648
|
-
"privacy": "
|
|
156649
|
-
"
|
|
156650
|
-
"readonly": true,
|
|
156715
|
+
"privacy": "private",
|
|
156716
|
+
"default": "!!this.shadowRoot",
|
|
156651
156717
|
"inheritedFrom": {
|
|
156652
|
-
"name": "
|
|
156653
|
-
"module": "core/
|
|
156718
|
+
"name": "SbbElement",
|
|
156719
|
+
"module": "core/base-elements/element.js"
|
|
156654
156720
|
}
|
|
156655
156721
|
},
|
|
156656
156722
|
{
|
|
156657
156723
|
"kind": "field",
|
|
156658
|
-
"name": "
|
|
156724
|
+
"name": "_hydrationComplete",
|
|
156659
156725
|
"privacy": "private",
|
|
156660
|
-
"default": "new
|
|
156726
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
156661
156727
|
"inheritedFrom": {
|
|
156662
|
-
"name": "
|
|
156663
|
-
"module": "core/
|
|
156728
|
+
"name": "SbbElement",
|
|
156729
|
+
"module": "core/base-elements/element.js"
|
|
156664
156730
|
}
|
|
156665
156731
|
},
|
|
156666
156732
|
{
|
|
156667
156733
|
"kind": "field",
|
|
156668
|
-
"name": "
|
|
156734
|
+
"name": "_resolveHydration",
|
|
156669
156735
|
"type": {
|
|
156670
|
-
"text": "boolean"
|
|
156736
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
156671
156737
|
},
|
|
156672
|
-
"privacy": "
|
|
156673
|
-
"default": "false",
|
|
156674
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
156738
|
+
"privacy": "private",
|
|
156675
156739
|
"inheritedFrom": {
|
|
156676
|
-
"name": "
|
|
156677
|
-
"module": "core/
|
|
156740
|
+
"name": "SbbElement",
|
|
156741
|
+
"module": "core/base-elements/element.js"
|
|
156678
156742
|
}
|
|
156679
156743
|
},
|
|
156680
156744
|
{
|
|
156681
|
-
"kind": "
|
|
156682
|
-
"name": "
|
|
156683
|
-
"
|
|
156684
|
-
|
|
156685
|
-
"type": {
|
|
156686
|
-
"text": "boolean"
|
|
156687
|
-
}
|
|
156745
|
+
"kind": "field",
|
|
156746
|
+
"name": "_textObserver",
|
|
156747
|
+
"type": {
|
|
156748
|
+
"text": "MutationObserver | undefined"
|
|
156688
156749
|
},
|
|
156689
|
-
"
|
|
156750
|
+
"privacy": "private",
|
|
156690
156751
|
"inheritedFrom": {
|
|
156691
|
-
"name": "
|
|
156692
|
-
"module": "core/
|
|
156752
|
+
"name": "SbbElement",
|
|
156753
|
+
"module": "core/base-elements/element.js"
|
|
156693
156754
|
}
|
|
156694
156755
|
},
|
|
156695
156756
|
{
|
|
156696
|
-
"kind": "
|
|
156697
|
-
"name": "
|
|
156698
|
-
"
|
|
156699
|
-
|
|
156700
|
-
"type": {
|
|
156701
|
-
"text": "boolean"
|
|
156702
|
-
}
|
|
156757
|
+
"kind": "field",
|
|
156758
|
+
"name": "hydrationRequired",
|
|
156759
|
+
"type": {
|
|
156760
|
+
"text": "boolean"
|
|
156703
156761
|
},
|
|
156704
|
-
"
|
|
156762
|
+
"privacy": "protected",
|
|
156763
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
156764
|
+
"readonly": true,
|
|
156705
156765
|
"inheritedFrom": {
|
|
156706
|
-
"name": "
|
|
156707
|
-
"module": "core/
|
|
156708
|
-
}
|
|
156766
|
+
"name": "SbbElement",
|
|
156767
|
+
"module": "core/base-elements/element.js"
|
|
156768
|
+
},
|
|
156769
|
+
"default": "!!this.shadowRoot"
|
|
156709
156770
|
},
|
|
156710
156771
|
{
|
|
156711
156772
|
"kind": "method",
|
|
156712
|
-
"name": "
|
|
156713
|
-
"privacy": "
|
|
156773
|
+
"name": "toggleState",
|
|
156774
|
+
"privacy": "protected",
|
|
156714
156775
|
"return": {
|
|
156715
156776
|
"type": {
|
|
156716
156777
|
"text": "void"
|
|
@@ -156718,65 +156779,28 @@
|
|
|
156718
156779
|
},
|
|
156719
156780
|
"parameters": [
|
|
156720
156781
|
{
|
|
156721
|
-
"name": "
|
|
156782
|
+
"name": "value",
|
|
156722
156783
|
"type": {
|
|
156723
156784
|
"text": "string"
|
|
156724
156785
|
}
|
|
156786
|
+
},
|
|
156787
|
+
{
|
|
156788
|
+
"name": "force",
|
|
156789
|
+
"optional": true,
|
|
156790
|
+
"type": {
|
|
156791
|
+
"text": "boolean"
|
|
156792
|
+
}
|
|
156725
156793
|
}
|
|
156726
156794
|
],
|
|
156727
|
-
"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.",
|
|
156728
156795
|
"inheritedFrom": {
|
|
156729
|
-
"name": "
|
|
156730
|
-
"module": "core/
|
|
156796
|
+
"name": "SbbElement",
|
|
156797
|
+
"module": "core/base-elements/element.js"
|
|
156731
156798
|
}
|
|
156732
156799
|
},
|
|
156733
156800
|
{
|
|
156734
156801
|
"kind": "method",
|
|
156735
|
-
"name": "
|
|
156802
|
+
"name": "_slotchangeHandler",
|
|
156736
156803
|
"privacy": "private",
|
|
156737
|
-
"return": {
|
|
156738
|
-
"type": {
|
|
156739
|
-
"text": "boolean"
|
|
156740
|
-
}
|
|
156741
|
-
},
|
|
156742
|
-
"inheritedFrom": {
|
|
156743
|
-
"name": "SbbFormAssociatedMixin",
|
|
156744
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
156745
|
-
}
|
|
156746
|
-
},
|
|
156747
|
-
{
|
|
156748
|
-
"kind": "method",
|
|
156749
|
-
"name": "updateFormValue",
|
|
156750
|
-
"privacy": "protected",
|
|
156751
|
-
"return": {
|
|
156752
|
-
"type": {
|
|
156753
|
-
"text": "void"
|
|
156754
|
-
}
|
|
156755
|
-
},
|
|
156756
|
-
"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",
|
|
156757
|
-
"inheritedFrom": {
|
|
156758
|
-
"name": "SbbFormAssociatedMixin",
|
|
156759
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
156760
|
-
}
|
|
156761
|
-
},
|
|
156762
|
-
{
|
|
156763
|
-
"kind": "method",
|
|
156764
|
-
"name": "formState",
|
|
156765
|
-
"privacy": "protected",
|
|
156766
|
-
"return": {
|
|
156767
|
-
"type": {
|
|
156768
|
-
"text": "FormRestoreState"
|
|
156769
|
-
}
|
|
156770
|
-
},
|
|
156771
|
-
"inheritedFrom": {
|
|
156772
|
-
"name": "SbbFormAssociatedMixin",
|
|
156773
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
156774
|
-
}
|
|
156775
|
-
},
|
|
156776
|
-
{
|
|
156777
|
-
"kind": "method",
|
|
156778
|
-
"name": "setValidityFlag",
|
|
156779
|
-
"privacy": "protected",
|
|
156780
156804
|
"return": {
|
|
156781
156805
|
"type": {
|
|
156782
156806
|
"text": "void"
|
|
@@ -156784,35 +156808,27 @@
|
|
|
156784
156808
|
},
|
|
156785
156809
|
"parameters": [
|
|
156786
156810
|
{
|
|
156787
|
-
"name": "
|
|
156788
|
-
"type": {
|
|
156789
|
-
"text": "T"
|
|
156790
|
-
}
|
|
156791
|
-
},
|
|
156792
|
-
{
|
|
156793
|
-
"name": "message",
|
|
156811
|
+
"name": "event",
|
|
156794
156812
|
"type": {
|
|
156795
|
-
"text": "
|
|
156813
|
+
"text": "Event"
|
|
156796
156814
|
}
|
|
156797
156815
|
},
|
|
156798
156816
|
{
|
|
156799
|
-
"name": "
|
|
156800
|
-
"optional": true,
|
|
156817
|
+
"name": "slot",
|
|
156801
156818
|
"type": {
|
|
156802
|
-
"text": "
|
|
156819
|
+
"text": "HTMLSlotElement"
|
|
156803
156820
|
}
|
|
156804
156821
|
}
|
|
156805
156822
|
],
|
|
156806
|
-
"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).",
|
|
156807
156823
|
"inheritedFrom": {
|
|
156808
|
-
"name": "
|
|
156809
|
-
"module": "core/
|
|
156824
|
+
"name": "SbbElement",
|
|
156825
|
+
"module": "core/base-elements/element.js"
|
|
156810
156826
|
}
|
|
156811
156827
|
},
|
|
156812
156828
|
{
|
|
156813
156829
|
"kind": "method",
|
|
156814
|
-
"name": "
|
|
156815
|
-
"privacy": "
|
|
156830
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
156831
|
+
"privacy": "private",
|
|
156816
156832
|
"return": {
|
|
156817
156833
|
"type": {
|
|
156818
156834
|
"text": "void"
|
|
@@ -156820,184 +156836,327 @@
|
|
|
156820
156836
|
},
|
|
156821
156837
|
"parameters": [
|
|
156822
156838
|
{
|
|
156823
|
-
"name": "
|
|
156839
|
+
"name": "slot",
|
|
156824
156840
|
"type": {
|
|
156825
|
-
"text": "
|
|
156841
|
+
"text": "HTMLSlotElement"
|
|
156826
156842
|
}
|
|
156827
156843
|
}
|
|
156828
156844
|
],
|
|
156829
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
156830
156845
|
"inheritedFrom": {
|
|
156831
|
-
"name": "
|
|
156832
|
-
"module": "core/
|
|
156846
|
+
"name": "SbbElement",
|
|
156847
|
+
"module": "core/base-elements/element.js"
|
|
156833
156848
|
}
|
|
156834
156849
|
},
|
|
156835
156850
|
{
|
|
156836
156851
|
"kind": "method",
|
|
156837
|
-
"name": "
|
|
156838
|
-
"privacy": "
|
|
156852
|
+
"name": "_updateSlottedState",
|
|
156853
|
+
"privacy": "private",
|
|
156839
156854
|
"return": {
|
|
156840
156855
|
"type": {
|
|
156841
156856
|
"text": "void"
|
|
156842
156857
|
}
|
|
156843
156858
|
},
|
|
156844
|
-
"
|
|
156859
|
+
"parameters": [
|
|
156860
|
+
{
|
|
156861
|
+
"name": "slot",
|
|
156862
|
+
"type": {
|
|
156863
|
+
"text": "HTMLSlotElement"
|
|
156864
|
+
}
|
|
156865
|
+
}
|
|
156866
|
+
],
|
|
156845
156867
|
"inheritedFrom": {
|
|
156846
|
-
"name": "
|
|
156847
|
-
"module": "core/
|
|
156868
|
+
"name": "SbbElement",
|
|
156869
|
+
"module": "core/base-elements/element.js"
|
|
156848
156870
|
}
|
|
156849
156871
|
},
|
|
156850
156872
|
{
|
|
156851
156873
|
"kind": "method",
|
|
156852
|
-
"name": "
|
|
156853
|
-
"privacy": "
|
|
156874
|
+
"name": "_observeTextNodesInSlot",
|
|
156875
|
+
"privacy": "private",
|
|
156854
156876
|
"return": {
|
|
156855
156877
|
"type": {
|
|
156856
|
-
"text": "
|
|
156878
|
+
"text": "void"
|
|
156857
156879
|
}
|
|
156858
156880
|
},
|
|
156859
156881
|
"parameters": [
|
|
156860
156882
|
{
|
|
156861
|
-
"name": "
|
|
156883
|
+
"name": "slot",
|
|
156862
156884
|
"type": {
|
|
156863
|
-
"text": "
|
|
156885
|
+
"text": "HTMLSlotElement"
|
|
156864
156886
|
}
|
|
156865
156887
|
}
|
|
156866
156888
|
],
|
|
156867
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
156868
156889
|
"inheritedFrom": {
|
|
156869
|
-
"name": "
|
|
156870
|
-
"module": "core/
|
|
156890
|
+
"name": "SbbElement",
|
|
156891
|
+
"module": "core/base-elements/element.js"
|
|
156871
156892
|
}
|
|
156872
156893
|
},
|
|
156873
156894
|
{
|
|
156874
156895
|
"kind": "method",
|
|
156875
|
-
"name": "
|
|
156896
|
+
"name": "_hasSlottedContent",
|
|
156876
156897
|
"privacy": "private",
|
|
156877
156898
|
"return": {
|
|
156878
156899
|
"type": {
|
|
156879
|
-
"text": "
|
|
156900
|
+
"text": "boolean"
|
|
156880
156901
|
}
|
|
156881
156902
|
},
|
|
156903
|
+
"parameters": [
|
|
156904
|
+
{
|
|
156905
|
+
"name": "slot",
|
|
156906
|
+
"type": {
|
|
156907
|
+
"text": "HTMLSlotElement"
|
|
156908
|
+
}
|
|
156909
|
+
}
|
|
156910
|
+
],
|
|
156882
156911
|
"inheritedFrom": {
|
|
156883
|
-
"name": "
|
|
156884
|
-
"module": "core/
|
|
156912
|
+
"name": "SbbElement",
|
|
156913
|
+
"module": "core/base-elements/element.js"
|
|
156914
|
+
}
|
|
156915
|
+
}
|
|
156916
|
+
],
|
|
156917
|
+
"superclass": {
|
|
156918
|
+
"name": "SbbSecondaryButtonElement",
|
|
156919
|
+
"module": "button.pure.js"
|
|
156920
|
+
},
|
|
156921
|
+
"tagName": "sbb-timetable-form-swap-button",
|
|
156922
|
+
"customElement": true,
|
|
156923
|
+
"attributes": [
|
|
156924
|
+
{
|
|
156925
|
+
"name": "size",
|
|
156926
|
+
"type": {
|
|
156927
|
+
"text": "SbbButtonSize"
|
|
156928
|
+
},
|
|
156929
|
+
"description": "Size variant, either l, m or s.",
|
|
156930
|
+
"default": "'l' / 's' (lean)",
|
|
156931
|
+
"fieldName": "size",
|
|
156932
|
+
"inheritedFrom": {
|
|
156933
|
+
"name": "SbbButtonCommonElementMixin",
|
|
156934
|
+
"module": "button/common/button-common.js"
|
|
156885
156935
|
}
|
|
156886
156936
|
},
|
|
156887
156937
|
{
|
|
156888
|
-
"
|
|
156889
|
-
"name": "role",
|
|
156938
|
+
"name": "loading",
|
|
156890
156939
|
"type": {
|
|
156891
|
-
"text": "
|
|
156940
|
+
"text": "boolean"
|
|
156892
156941
|
},
|
|
156893
|
-
"
|
|
156894
|
-
"
|
|
156942
|
+
"default": "false",
|
|
156943
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
156944
|
+
"fieldName": "loading",
|
|
156895
156945
|
"inheritedFrom": {
|
|
156896
|
-
"name": "
|
|
156897
|
-
"module": "
|
|
156946
|
+
"name": "SbbButtonCommonElementMixin",
|
|
156947
|
+
"module": "button/common/button-common.js"
|
|
156948
|
+
}
|
|
156949
|
+
},
|
|
156950
|
+
{
|
|
156951
|
+
"name": "negative",
|
|
156952
|
+
"type": {
|
|
156953
|
+
"text": "boolean"
|
|
156898
156954
|
},
|
|
156899
|
-
"
|
|
156900
|
-
"
|
|
156955
|
+
"default": "false",
|
|
156956
|
+
"description": "Negative coloring variant flag.",
|
|
156957
|
+
"fieldName": "negative",
|
|
156958
|
+
"inheritedFrom": {
|
|
156959
|
+
"name": "SbbNegativeMixin",
|
|
156960
|
+
"module": "core/mixins/negative-mixin.js"
|
|
156961
|
+
}
|
|
156901
156962
|
},
|
|
156902
156963
|
{
|
|
156903
|
-
"
|
|
156904
|
-
"
|
|
156905
|
-
|
|
156906
|
-
|
|
156907
|
-
"
|
|
156908
|
-
|
|
156909
|
-
|
|
156910
|
-
"name": "event"
|
|
156911
|
-
}
|
|
156912
|
-
],
|
|
156964
|
+
"name": "icon-name",
|
|
156965
|
+
"type": {
|
|
156966
|
+
"text": "string"
|
|
156967
|
+
},
|
|
156968
|
+
"default": "''",
|
|
156969
|
+
"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.",
|
|
156970
|
+
"fieldName": "iconName",
|
|
156913
156971
|
"inheritedFrom": {
|
|
156914
|
-
"name": "
|
|
156972
|
+
"name": "SbbIconNameMixin",
|
|
156973
|
+
"module": "icon/icon-name-mixin.js"
|
|
156974
|
+
}
|
|
156975
|
+
},
|
|
156976
|
+
{
|
|
156977
|
+
"name": "disabled-interactive",
|
|
156978
|
+
"type": {
|
|
156979
|
+
"text": "boolean"
|
|
156980
|
+
},
|
|
156981
|
+
"default": "false",
|
|
156982
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
156983
|
+
"fieldName": "disabledInteractive",
|
|
156984
|
+
"inheritedFrom": {
|
|
156985
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
156986
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
156987
|
+
}
|
|
156988
|
+
},
|
|
156989
|
+
{
|
|
156990
|
+
"name": "disabled",
|
|
156991
|
+
"description": "Whether the component is disabled.",
|
|
156992
|
+
"default": "false",
|
|
156993
|
+
"type": {
|
|
156994
|
+
"text": "boolean"
|
|
156995
|
+
},
|
|
156996
|
+
"fieldName": "disabled",
|
|
156997
|
+
"inheritedFrom": {
|
|
156998
|
+
"name": "SbbDisabledMixin",
|
|
156999
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
157000
|
+
}
|
|
157001
|
+
},
|
|
157002
|
+
{
|
|
157003
|
+
"name": "value",
|
|
157004
|
+
"type": {
|
|
157005
|
+
"text": "string"
|
|
157006
|
+
},
|
|
157007
|
+
"default": "''",
|
|
157008
|
+
"description": "Value of the form element.",
|
|
157009
|
+
"fieldName": "value",
|
|
157010
|
+
"inheritedFrom": {
|
|
157011
|
+
"name": "SbbButtonBaseElement",
|
|
156915
157012
|
"module": "core/base-elements/button-base-element.js"
|
|
156916
157013
|
}
|
|
156917
157014
|
},
|
|
156918
157015
|
{
|
|
156919
|
-
"
|
|
156920
|
-
"
|
|
156921
|
-
"
|
|
157016
|
+
"name": "type",
|
|
157017
|
+
"description": "The type attribute to use for the button.",
|
|
157018
|
+
"default": "'button'",
|
|
157019
|
+
"type": {
|
|
157020
|
+
"text": "SbbButtonType"
|
|
157021
|
+
},
|
|
157022
|
+
"fieldName": "type",
|
|
156922
157023
|
"inheritedFrom": {
|
|
156923
|
-
"name": "
|
|
157024
|
+
"name": "SbbButtonBaseElement",
|
|
156924
157025
|
"module": "core/base-elements/button-base-element.js"
|
|
156925
157026
|
}
|
|
156926
157027
|
},
|
|
156927
157028
|
{
|
|
156928
|
-
"
|
|
156929
|
-
"
|
|
156930
|
-
"
|
|
156931
|
-
|
|
156932
|
-
|
|
156933
|
-
|
|
156934
|
-
"description": "The origin event.",
|
|
156935
|
-
"name": "event"
|
|
156936
|
-
}
|
|
156937
|
-
],
|
|
157029
|
+
"name": "form",
|
|
157030
|
+
"description": "The `<form>` element to associate the button with.",
|
|
157031
|
+
"type": {
|
|
157032
|
+
"text": "HTMLFormElement | null"
|
|
157033
|
+
},
|
|
157034
|
+
"fieldName": "form",
|
|
156938
157035
|
"inheritedFrom": {
|
|
156939
|
-
"name": "
|
|
157036
|
+
"name": "SbbButtonBaseElement",
|
|
156940
157037
|
"module": "core/base-elements/button-base-element.js"
|
|
156941
157038
|
}
|
|
156942
157039
|
},
|
|
156943
157040
|
{
|
|
156944
|
-
"
|
|
156945
|
-
"
|
|
156946
|
-
"
|
|
157041
|
+
"name": "name",
|
|
157042
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
157043
|
+
"type": {
|
|
157044
|
+
"text": "string"
|
|
157045
|
+
},
|
|
157046
|
+
"fieldName": "name",
|
|
157047
|
+
"inheritedFrom": {
|
|
157048
|
+
"name": "SbbFormAssociatedMixin",
|
|
157049
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
157050
|
+
}
|
|
157051
|
+
}
|
|
157052
|
+
],
|
|
157053
|
+
"slots": [
|
|
157054
|
+
{
|
|
157055
|
+
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
157056
|
+
"name": "",
|
|
157057
|
+
"inheritedFrom": {
|
|
157058
|
+
"name": "SbbSecondaryButtonElement",
|
|
157059
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
157060
|
+
}
|
|
157061
|
+
},
|
|
157062
|
+
{
|
|
157063
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
157064
|
+
"name": "icon",
|
|
157065
|
+
"inheritedFrom": {
|
|
157066
|
+
"name": "SbbSecondaryButtonElement",
|
|
157067
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
157068
|
+
}
|
|
157069
|
+
}
|
|
157070
|
+
],
|
|
157071
|
+
"cssProperties": [
|
|
157072
|
+
{
|
|
157073
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
157074
|
+
"name": "--sbb-button-loading-delay",
|
|
157075
|
+
"default": "300ms",
|
|
156947
157076
|
"inheritedFrom": {
|
|
156948
|
-
"name": "
|
|
156949
|
-
"module": "
|
|
157077
|
+
"name": "SbbSecondaryButtonElement",
|
|
157078
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
156950
157079
|
}
|
|
156951
|
-
}
|
|
157080
|
+
}
|
|
157081
|
+
]
|
|
157082
|
+
}
|
|
157083
|
+
],
|
|
157084
|
+
"exports": [
|
|
157085
|
+
{
|
|
157086
|
+
"kind": "js",
|
|
157087
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
157088
|
+
"declaration": {
|
|
157089
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
157090
|
+
"module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
|
|
157091
|
+
}
|
|
157092
|
+
}
|
|
157093
|
+
]
|
|
157094
|
+
},
|
|
157095
|
+
{
|
|
157096
|
+
"kind": "javascript-module",
|
|
157097
|
+
"path": "timetable-form/timetable-form/timetable-form.component.js",
|
|
157098
|
+
"declarations": [
|
|
157099
|
+
{
|
|
157100
|
+
"kind": "class",
|
|
157101
|
+
"description": "Serves as a building block of a sbb 'timetable-form'.\nIt automatically handles the styles and part of its behaviors",
|
|
157102
|
+
"name": "SbbTimetableFormElement",
|
|
157103
|
+
"slots": [
|
|
157104
|
+
{
|
|
157105
|
+
"description": "Use the unnamed slot to add content to the 'timetable-form'",
|
|
157106
|
+
"name": ""
|
|
157107
|
+
}
|
|
157108
|
+
],
|
|
157109
|
+
"members": [
|
|
156952
157110
|
{
|
|
156953
157111
|
"kind": "field",
|
|
156954
|
-
"name": "
|
|
157112
|
+
"name": "elementName",
|
|
156955
157113
|
"type": {
|
|
156956
|
-
"text": "
|
|
157114
|
+
"text": "string"
|
|
156957
157115
|
},
|
|
156958
|
-
"privacy": "
|
|
157116
|
+
"privacy": "public",
|
|
157117
|
+
"static": true,
|
|
156959
157118
|
"readonly": true,
|
|
157119
|
+
"default": "'sbb-timetable-form'",
|
|
156960
157120
|
"inheritedFrom": {
|
|
156961
|
-
"name": "
|
|
156962
|
-
"module": "core/base-elements/
|
|
157121
|
+
"name": "SbbElement",
|
|
157122
|
+
"module": "core/base-elements/element.js"
|
|
156963
157123
|
}
|
|
156964
157124
|
},
|
|
156965
157125
|
{
|
|
156966
157126
|
"kind": "field",
|
|
156967
|
-
"name": "
|
|
157127
|
+
"name": "['_$sbbElement$']",
|
|
156968
157128
|
"type": {
|
|
156969
|
-
"text": "boolean
|
|
157129
|
+
"text": "boolean"
|
|
156970
157130
|
},
|
|
156971
|
-
"privacy": "
|
|
156972
|
-
"
|
|
157131
|
+
"privacy": "public",
|
|
157132
|
+
"static": true,
|
|
157133
|
+
"default": "true",
|
|
156973
157134
|
"inheritedFrom": {
|
|
156974
|
-
"name": "
|
|
156975
|
-
"module": "core/base-elements/
|
|
157135
|
+
"name": "SbbElement",
|
|
157136
|
+
"module": "core/base-elements/element.js"
|
|
156976
157137
|
}
|
|
156977
157138
|
},
|
|
156978
157139
|
{
|
|
156979
|
-
"kind": "
|
|
156980
|
-
"name": "
|
|
156981
|
-
"
|
|
156982
|
-
|
|
156983
|
-
"type": {
|
|
156984
|
-
"text": "void"
|
|
156985
|
-
}
|
|
157140
|
+
"kind": "field",
|
|
157141
|
+
"name": "elementDependencies",
|
|
157142
|
+
"type": {
|
|
157143
|
+
"text": "SbbElementType[] | undefined"
|
|
156986
157144
|
},
|
|
157145
|
+
"privacy": "public",
|
|
157146
|
+
"static": true,
|
|
156987
157147
|
"inheritedFrom": {
|
|
156988
|
-
"name": "
|
|
156989
|
-
"module": "core/base-elements/
|
|
157148
|
+
"name": "SbbElement",
|
|
157149
|
+
"module": "core/base-elements/element.js"
|
|
156990
157150
|
}
|
|
156991
157151
|
},
|
|
156992
157152
|
{
|
|
156993
157153
|
"kind": "field",
|
|
156994
|
-
"name": "
|
|
157154
|
+
"name": "role",
|
|
156995
157155
|
"type": {
|
|
156996
|
-
"text": "
|
|
157156
|
+
"text": "ElementInternals['role'] | undefined"
|
|
156997
157157
|
},
|
|
156998
157158
|
"privacy": "public",
|
|
156999
157159
|
"static": true,
|
|
157000
|
-
"default": "true",
|
|
157001
157160
|
"inheritedFrom": {
|
|
157002
157161
|
"name": "SbbElement",
|
|
157003
157162
|
"module": "core/base-elements/element.js"
|
|
@@ -157224,179 +157383,20 @@
|
|
|
157224
157383
|
}
|
|
157225
157384
|
],
|
|
157226
157385
|
"superclass": {
|
|
157227
|
-
"name": "
|
|
157228
|
-
"module": "
|
|
157386
|
+
"name": "SbbElement",
|
|
157387
|
+
"module": "core.js"
|
|
157229
157388
|
},
|
|
157230
|
-
"tagName": "sbb-timetable-form
|
|
157231
|
-
"customElement": true
|
|
157232
|
-
"attributes": [
|
|
157233
|
-
{
|
|
157234
|
-
"name": "size",
|
|
157235
|
-
"type": {
|
|
157236
|
-
"text": "SbbButtonSize"
|
|
157237
|
-
},
|
|
157238
|
-
"description": "Size variant, either l, m or s.",
|
|
157239
|
-
"default": "'l' / 's' (lean)",
|
|
157240
|
-
"fieldName": "size",
|
|
157241
|
-
"inheritedFrom": {
|
|
157242
|
-
"name": "SbbButtonCommonElementMixin",
|
|
157243
|
-
"module": "button/common/button-common.js"
|
|
157244
|
-
}
|
|
157245
|
-
},
|
|
157246
|
-
{
|
|
157247
|
-
"name": "loading",
|
|
157248
|
-
"type": {
|
|
157249
|
-
"text": "boolean"
|
|
157250
|
-
},
|
|
157251
|
-
"default": "false",
|
|
157252
|
-
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
157253
|
-
"fieldName": "loading",
|
|
157254
|
-
"inheritedFrom": {
|
|
157255
|
-
"name": "SbbButtonCommonElementMixin",
|
|
157256
|
-
"module": "button/common/button-common.js"
|
|
157257
|
-
}
|
|
157258
|
-
},
|
|
157259
|
-
{
|
|
157260
|
-
"name": "negative",
|
|
157261
|
-
"type": {
|
|
157262
|
-
"text": "boolean"
|
|
157263
|
-
},
|
|
157264
|
-
"default": "false",
|
|
157265
|
-
"description": "Negative coloring variant flag.",
|
|
157266
|
-
"fieldName": "negative",
|
|
157267
|
-
"inheritedFrom": {
|
|
157268
|
-
"name": "SbbNegativeMixin",
|
|
157269
|
-
"module": "core/mixins/negative-mixin.js"
|
|
157270
|
-
}
|
|
157271
|
-
},
|
|
157272
|
-
{
|
|
157273
|
-
"name": "icon-name",
|
|
157274
|
-
"type": {
|
|
157275
|
-
"text": "string"
|
|
157276
|
-
},
|
|
157277
|
-
"default": "''",
|
|
157278
|
-
"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.",
|
|
157279
|
-
"fieldName": "iconName",
|
|
157280
|
-
"inheritedFrom": {
|
|
157281
|
-
"name": "SbbIconNameMixin",
|
|
157282
|
-
"module": "icon/icon-name-mixin.js"
|
|
157283
|
-
}
|
|
157284
|
-
},
|
|
157285
|
-
{
|
|
157286
|
-
"name": "disabled-interactive",
|
|
157287
|
-
"type": {
|
|
157288
|
-
"text": "boolean"
|
|
157289
|
-
},
|
|
157290
|
-
"default": "false",
|
|
157291
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
157292
|
-
"fieldName": "disabledInteractive",
|
|
157293
|
-
"inheritedFrom": {
|
|
157294
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
157295
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
157296
|
-
}
|
|
157297
|
-
},
|
|
157298
|
-
{
|
|
157299
|
-
"name": "disabled",
|
|
157300
|
-
"description": "Whether the component is disabled.",
|
|
157301
|
-
"default": "false",
|
|
157302
|
-
"type": {
|
|
157303
|
-
"text": "boolean"
|
|
157304
|
-
},
|
|
157305
|
-
"fieldName": "disabled",
|
|
157306
|
-
"inheritedFrom": {
|
|
157307
|
-
"name": "SbbDisabledMixin",
|
|
157308
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
157309
|
-
}
|
|
157310
|
-
},
|
|
157311
|
-
{
|
|
157312
|
-
"name": "value",
|
|
157313
|
-
"type": {
|
|
157314
|
-
"text": "string"
|
|
157315
|
-
},
|
|
157316
|
-
"default": "''",
|
|
157317
|
-
"description": "Value of the form element.",
|
|
157318
|
-
"fieldName": "value",
|
|
157319
|
-
"inheritedFrom": {
|
|
157320
|
-
"name": "SbbButtonBaseElement",
|
|
157321
|
-
"module": "core/base-elements/button-base-element.js"
|
|
157322
|
-
}
|
|
157323
|
-
},
|
|
157324
|
-
{
|
|
157325
|
-
"name": "type",
|
|
157326
|
-
"description": "The type attribute to use for the button.",
|
|
157327
|
-
"default": "'button'",
|
|
157328
|
-
"type": {
|
|
157329
|
-
"text": "SbbButtonType"
|
|
157330
|
-
},
|
|
157331
|
-
"fieldName": "type",
|
|
157332
|
-
"inheritedFrom": {
|
|
157333
|
-
"name": "SbbButtonBaseElement",
|
|
157334
|
-
"module": "core/base-elements/button-base-element.js"
|
|
157335
|
-
}
|
|
157336
|
-
},
|
|
157337
|
-
{
|
|
157338
|
-
"name": "form",
|
|
157339
|
-
"description": "The `<form>` element to associate the button with.",
|
|
157340
|
-
"type": {
|
|
157341
|
-
"text": "HTMLFormElement | null"
|
|
157342
|
-
},
|
|
157343
|
-
"fieldName": "form",
|
|
157344
|
-
"inheritedFrom": {
|
|
157345
|
-
"name": "SbbButtonBaseElement",
|
|
157346
|
-
"module": "core/base-elements/button-base-element.js"
|
|
157347
|
-
}
|
|
157348
|
-
},
|
|
157349
|
-
{
|
|
157350
|
-
"name": "name",
|
|
157351
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
157352
|
-
"type": {
|
|
157353
|
-
"text": "string"
|
|
157354
|
-
},
|
|
157355
|
-
"fieldName": "name",
|
|
157356
|
-
"inheritedFrom": {
|
|
157357
|
-
"name": "SbbFormAssociatedMixin",
|
|
157358
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
157359
|
-
}
|
|
157360
|
-
}
|
|
157361
|
-
],
|
|
157362
|
-
"slots": [
|
|
157363
|
-
{
|
|
157364
|
-
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
157365
|
-
"name": "",
|
|
157366
|
-
"inheritedFrom": {
|
|
157367
|
-
"name": "SbbSecondaryButtonElement",
|
|
157368
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
157369
|
-
}
|
|
157370
|
-
},
|
|
157371
|
-
{
|
|
157372
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
157373
|
-
"name": "icon",
|
|
157374
|
-
"inheritedFrom": {
|
|
157375
|
-
"name": "SbbSecondaryButtonElement",
|
|
157376
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
157377
|
-
}
|
|
157378
|
-
}
|
|
157379
|
-
],
|
|
157380
|
-
"cssProperties": [
|
|
157381
|
-
{
|
|
157382
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
157383
|
-
"name": "--sbb-button-loading-delay",
|
|
157384
|
-
"default": "300ms",
|
|
157385
|
-
"inheritedFrom": {
|
|
157386
|
-
"name": "SbbSecondaryButtonElement",
|
|
157387
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
157388
|
-
}
|
|
157389
|
-
}
|
|
157390
|
-
]
|
|
157389
|
+
"tagName": "sbb-timetable-form",
|
|
157390
|
+
"customElement": true
|
|
157391
157391
|
}
|
|
157392
157392
|
],
|
|
157393
157393
|
"exports": [
|
|
157394
157394
|
{
|
|
157395
157395
|
"kind": "js",
|
|
157396
|
-
"name": "
|
|
157396
|
+
"name": "SbbTimetableFormElement",
|
|
157397
157397
|
"declaration": {
|
|
157398
|
-
"name": "
|
|
157399
|
-
"module": "timetable-form/timetable-form
|
|
157398
|
+
"name": "SbbTimetableFormElement",
|
|
157399
|
+
"module": "timetable-form/timetable-form/timetable-form.component.js"
|
|
157400
157400
|
}
|
|
157401
157401
|
}
|
|
157402
157402
|
]
|