@sbb-esta/lyne-elements-dev 4.0.0-dev.1776065413 → 4.0.0-dev.1776065430
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 +829 -829
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -113008,19 +113008,27 @@
|
|
|
113008
113008
|
},
|
|
113009
113009
|
{
|
|
113010
113010
|
"kind": "javascript-module",
|
|
113011
|
-
"path": "header/header
|
|
113011
|
+
"path": "header/header/header.component.js",
|
|
113012
113012
|
"declarations": [
|
|
113013
113013
|
{
|
|
113014
113014
|
"kind": "class",
|
|
113015
|
-
"description": "It displays a
|
|
113016
|
-
"name": "
|
|
113017
|
-
"
|
|
113015
|
+
"description": "It displays a header section for the page.",
|
|
113016
|
+
"name": "SbbHeaderElement",
|
|
113017
|
+
"cssProperties": [
|
|
113018
113018
|
{
|
|
113019
|
-
"description": "
|
|
113020
|
-
"name": "
|
|
113019
|
+
"description": "Can be used to modify the z-index of the header.",
|
|
113020
|
+
"name": "--sbb-header-z-index",
|
|
113021
|
+
"default": "10"
|
|
113021
113022
|
},
|
|
113022
113023
|
{
|
|
113023
|
-
"description": "
|
|
113024
|
+
"description": "Can be used to modify height of the header.",
|
|
113025
|
+
"name": "--sbb-header-height",
|
|
113026
|
+
"default": "zero-small:var(--sbb-spacing-fixed-14x);large-ultra:var(--sbb-spacing-fixed-24x)"
|
|
113027
|
+
}
|
|
113028
|
+
],
|
|
113029
|
+
"slots": [
|
|
113030
|
+
{
|
|
113031
|
+
"description": "Use the unnamed slot to add actions, content and logo to the header.",
|
|
113024
113032
|
"name": ""
|
|
113025
113033
|
}
|
|
113026
113034
|
],
|
|
@@ -113034,221 +113042,140 @@
|
|
|
113034
113042
|
"privacy": "public",
|
|
113035
113043
|
"static": true,
|
|
113036
113044
|
"readonly": true,
|
|
113045
|
+
"default": "'sbb-header'",
|
|
113037
113046
|
"inheritedFrom": {
|
|
113038
113047
|
"name": "SbbElement",
|
|
113039
113048
|
"module": "core/base-elements/element.js"
|
|
113040
|
-
}
|
|
113041
|
-
"default": "'sbb-header-button'"
|
|
113049
|
+
}
|
|
113042
113050
|
},
|
|
113043
113051
|
{
|
|
113044
113052
|
"kind": "field",
|
|
113045
|
-
"name": "
|
|
113046
|
-
"
|
|
113047
|
-
"text": "CSSResultGroup"
|
|
113048
|
-
},
|
|
113049
|
-
"privacy": "public",
|
|
113053
|
+
"name": "_headerScrollOrigins",
|
|
113054
|
+
"privacy": "private",
|
|
113050
113055
|
"static": true,
|
|
113051
|
-
"default": "
|
|
113052
|
-
"inheritedFrom": {
|
|
113053
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
113054
|
-
"module": "header/common/header-action-common.js"
|
|
113055
|
-
}
|
|
113056
|
+
"default": "new Set<HTMLElement>()"
|
|
113056
113057
|
},
|
|
113057
113058
|
{
|
|
113058
113059
|
"kind": "field",
|
|
113059
|
-
"name": "
|
|
113060
|
-
"
|
|
113061
|
-
|
|
113062
|
-
|
|
113063
|
-
"privacy": "public",
|
|
113064
|
-
"default": "'large'",
|
|
113065
|
-
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
113066
|
-
"attribute": "expand-from",
|
|
113067
|
-
"reflects": true,
|
|
113068
|
-
"inheritedFrom": {
|
|
113069
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
113070
|
-
"module": "header/common/header-action-common.js"
|
|
113071
|
-
}
|
|
113060
|
+
"name": "_headerElements",
|
|
113061
|
+
"privacy": "private",
|
|
113062
|
+
"static": true,
|
|
113063
|
+
"default": "new Set<SbbHeaderElement>()"
|
|
113072
113064
|
},
|
|
113073
113065
|
{
|
|
113074
|
-
"kind": "
|
|
113075
|
-
"name": "
|
|
113076
|
-
"
|
|
113077
|
-
|
|
113078
|
-
"type": {
|
|
113079
|
-
"text": "TemplateResult"
|
|
113080
|
-
}
|
|
113066
|
+
"kind": "field",
|
|
113067
|
+
"name": "expanded",
|
|
113068
|
+
"type": {
|
|
113069
|
+
"text": "boolean"
|
|
113081
113070
|
},
|
|
113082
|
-
"
|
|
113083
|
-
"
|
|
113084
|
-
|
|
113085
|
-
|
|
113086
|
-
|
|
113071
|
+
"privacy": "public",
|
|
113072
|
+
"default": "false",
|
|
113073
|
+
"description": "Whether to allow the header content to stretch to full width.\nBy default, the content has the appropriate page size.",
|
|
113074
|
+
"attribute": "expanded",
|
|
113075
|
+
"reflects": true
|
|
113087
113076
|
},
|
|
113088
113077
|
{
|
|
113089
113078
|
"kind": "field",
|
|
113090
|
-
"name": "
|
|
113079
|
+
"name": "scrollOrigin",
|
|
113091
113080
|
"type": {
|
|
113092
|
-
"text": "
|
|
113081
|
+
"text": "HTMLElement | null"
|
|
113093
113082
|
},
|
|
113094
113083
|
"privacy": "public",
|
|
113095
|
-
"
|
|
113096
|
-
"
|
|
113097
|
-
|
|
113098
|
-
"module": "core/base-elements/element.js"
|
|
113099
|
-
},
|
|
113100
|
-
"default": "[SbbIconElement]"
|
|
113084
|
+
"default": "null",
|
|
113085
|
+
"description": "The element's id or the element on which the scroll listener is attached.\n\nFor attribute usage, provide an id reference.",
|
|
113086
|
+
"attribute": "scroll-origin"
|
|
113101
113087
|
},
|
|
113102
113088
|
{
|
|
113103
113089
|
"kind": "field",
|
|
113104
|
-
"name": "
|
|
113090
|
+
"name": "hideOnScroll",
|
|
113105
113091
|
"type": {
|
|
113106
|
-
"text": "
|
|
113092
|
+
"text": "boolean"
|
|
113107
113093
|
},
|
|
113108
113094
|
"privacy": "public",
|
|
113109
|
-
"default": "
|
|
113110
|
-
"description": "
|
|
113111
|
-
"attribute": "
|
|
113112
|
-
"
|
|
113113
|
-
"name": "SbbIconNameMixin",
|
|
113114
|
-
"module": "icon/icon-name-mixin.js"
|
|
113115
|
-
}
|
|
113095
|
+
"default": "false",
|
|
113096
|
+
"description": "Whether the header should hide and show on scroll.",
|
|
113097
|
+
"attribute": "hide-on-scroll",
|
|
113098
|
+
"reflects": true
|
|
113116
113099
|
},
|
|
113117
113100
|
{
|
|
113118
|
-
"kind": "
|
|
113119
|
-
"name": "
|
|
113120
|
-
"
|
|
113121
|
-
|
|
113122
|
-
"type": {
|
|
113123
|
-
"text": "TemplateResult"
|
|
113124
|
-
}
|
|
113101
|
+
"kind": "field",
|
|
113102
|
+
"name": "size",
|
|
113103
|
+
"type": {
|
|
113104
|
+
"text": "'m' | 's'"
|
|
113125
113105
|
},
|
|
113126
|
-
"
|
|
113127
|
-
|
|
113128
|
-
|
|
113129
|
-
|
|
113130
|
-
|
|
113131
|
-
"text": "string"
|
|
113132
|
-
}
|
|
113133
|
-
}
|
|
113134
|
-
],
|
|
113135
|
-
"inheritedFrom": {
|
|
113136
|
-
"name": "SbbIconNameMixin",
|
|
113137
|
-
"module": "icon/icon-name-mixin.js"
|
|
113138
|
-
}
|
|
113106
|
+
"privacy": "public",
|
|
113107
|
+
"description": "Size of the header, either m or s.",
|
|
113108
|
+
"default": "'m' / 's' (lean)",
|
|
113109
|
+
"attribute": "size",
|
|
113110
|
+
"reflects": true
|
|
113139
113111
|
},
|
|
113140
113112
|
{
|
|
113141
|
-
"kind": "
|
|
113142
|
-
"name": "
|
|
113143
|
-
"
|
|
113144
|
-
|
|
113145
|
-
"type": {
|
|
113146
|
-
"text": "string"
|
|
113147
|
-
}
|
|
113113
|
+
"kind": "field",
|
|
113114
|
+
"name": "_headerOnTop",
|
|
113115
|
+
"type": {
|
|
113116
|
+
"text": "boolean"
|
|
113148
113117
|
},
|
|
113149
|
-
"inheritedFrom": {
|
|
113150
|
-
"name": "SbbIconNameMixin",
|
|
113151
|
-
"module": "icon/icon-name-mixin.js"
|
|
113152
|
-
}
|
|
113153
|
-
},
|
|
113154
|
-
{
|
|
113155
|
-
"kind": "method",
|
|
113156
|
-
"name": "_renderIconName",
|
|
113157
113118
|
"privacy": "private",
|
|
113158
|
-
"
|
|
113159
|
-
"type": {
|
|
113160
|
-
"text": "string"
|
|
113161
|
-
}
|
|
113162
|
-
},
|
|
113163
|
-
"inheritedFrom": {
|
|
113164
|
-
"name": "SbbIconNameMixin",
|
|
113165
|
-
"module": "icon/icon-name-mixin.js"
|
|
113166
|
-
}
|
|
113119
|
+
"default": "true"
|
|
113167
113120
|
},
|
|
113168
113121
|
{
|
|
113169
113122
|
"kind": "field",
|
|
113170
|
-
"name": "
|
|
113123
|
+
"name": "_scrollElement",
|
|
113171
113124
|
"type": {
|
|
113172
|
-
"text": "
|
|
113125
|
+
"text": "HTMLElement | Document | null | undefined"
|
|
113173
113126
|
},
|
|
113174
|
-
"privacy": "private"
|
|
113175
|
-
"readonly": true,
|
|
113176
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
113177
|
-
"inheritedFrom": {
|
|
113178
|
-
"name": "SbbButtonBaseElement",
|
|
113179
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113180
|
-
}
|
|
113127
|
+
"privacy": "private"
|
|
113181
113128
|
},
|
|
113182
113129
|
{
|
|
113183
113130
|
"kind": "field",
|
|
113184
|
-
"name": "
|
|
113131
|
+
"name": "_scrollEventsController",
|
|
113185
113132
|
"type": {
|
|
113186
|
-
"text": "
|
|
113187
|
-
},
|
|
113188
|
-
"privacy": "public",
|
|
113189
|
-
"inheritedFrom": {
|
|
113190
|
-
"name": "SbbButtonBaseElement",
|
|
113191
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113133
|
+
"text": "AbortController"
|
|
113192
113134
|
},
|
|
113193
|
-
"
|
|
113194
|
-
"description": "Value of the form element.",
|
|
113195
|
-
"attribute": "value"
|
|
113135
|
+
"privacy": "private"
|
|
113196
113136
|
},
|
|
113197
113137
|
{
|
|
113198
113138
|
"kind": "field",
|
|
113199
|
-
"name": "
|
|
113200
|
-
"privacy": "public",
|
|
113201
|
-
"description": "The type attribute to use for the button.",
|
|
113202
|
-
"default": "'button'",
|
|
113139
|
+
"name": "_scrollFunction",
|
|
113203
113140
|
"type": {
|
|
113204
|
-
"text": "
|
|
113141
|
+
"text": "(() => void) | undefined"
|
|
113205
113142
|
},
|
|
113206
|
-
"
|
|
113207
|
-
"inheritedFrom": {
|
|
113208
|
-
"name": "SbbButtonBaseElement",
|
|
113209
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113210
|
-
}
|
|
113143
|
+
"privacy": "private"
|
|
113211
113144
|
},
|
|
113212
113145
|
{
|
|
113213
113146
|
"kind": "field",
|
|
113214
|
-
"name": "
|
|
113147
|
+
"name": "_lastScroll",
|
|
113215
113148
|
"type": {
|
|
113216
|
-
"text": "
|
|
113217
|
-
},
|
|
113218
|
-
"privacy": "public",
|
|
113219
|
-
"description": "The `<form>` element to associate the button with.",
|
|
113220
|
-
"inheritedFrom": {
|
|
113221
|
-
"name": "SbbButtonBaseElement",
|
|
113222
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113149
|
+
"text": "number"
|
|
113223
113150
|
},
|
|
113224
|
-
"
|
|
113151
|
+
"privacy": "private",
|
|
113152
|
+
"default": "0"
|
|
113225
113153
|
},
|
|
113226
113154
|
{
|
|
113227
113155
|
"kind": "field",
|
|
113228
|
-
"name": "
|
|
113156
|
+
"name": "_scrollOriginFromObserver",
|
|
113229
113157
|
"type": {
|
|
113230
|
-
"text": "
|
|
113158
|
+
"text": "HTMLElement | null"
|
|
113231
113159
|
},
|
|
113232
113160
|
"privacy": "private",
|
|
113233
|
-
"default": "
|
|
113234
|
-
"inheritedFrom": {
|
|
113235
|
-
"name": "SbbButtonBaseElement",
|
|
113236
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113237
|
-
}
|
|
113161
|
+
"default": "null"
|
|
113238
113162
|
},
|
|
113239
113163
|
{
|
|
113240
|
-
"kind": "
|
|
113241
|
-
"name": "
|
|
113164
|
+
"kind": "method",
|
|
113165
|
+
"name": "_initializeScrollOriginObserver",
|
|
113242
113166
|
"privacy": "private",
|
|
113243
|
-
"
|
|
113244
|
-
|
|
113245
|
-
"
|
|
113167
|
+
"static": true,
|
|
113168
|
+
"return": {
|
|
113169
|
+
"type": {
|
|
113170
|
+
"text": "void"
|
|
113171
|
+
}
|
|
113246
113172
|
}
|
|
113247
113173
|
},
|
|
113248
113174
|
{
|
|
113249
113175
|
"kind": "method",
|
|
113250
|
-
"name": "
|
|
113176
|
+
"name": "_findAndHandleScrollOrigins",
|
|
113251
113177
|
"privacy": "private",
|
|
113178
|
+
"static": true,
|
|
113252
113179
|
"return": {
|
|
113253
113180
|
"type": {
|
|
113254
113181
|
"text": "void"
|
|
@@ -113256,29 +113183,118 @@
|
|
|
113256
113183
|
},
|
|
113257
113184
|
"parameters": [
|
|
113258
113185
|
{
|
|
113259
|
-
"name": "
|
|
113186
|
+
"name": "root",
|
|
113260
113187
|
"type": {
|
|
113261
|
-
"text": "
|
|
113188
|
+
"text": "HTMLElement"
|
|
113262
113189
|
}
|
|
113263
113190
|
}
|
|
113264
|
-
]
|
|
113265
|
-
"inheritedFrom": {
|
|
113266
|
-
"name": "SbbButtonBaseElement",
|
|
113267
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113268
|
-
}
|
|
113191
|
+
]
|
|
113269
113192
|
},
|
|
113270
113193
|
{
|
|
113271
|
-
"kind": "
|
|
113272
|
-
"name": "
|
|
113194
|
+
"kind": "method",
|
|
113195
|
+
"name": "_handleScrollOriginElement",
|
|
113273
113196
|
"privacy": "private",
|
|
113274
|
-
"
|
|
113275
|
-
|
|
113276
|
-
"
|
|
113197
|
+
"static": true,
|
|
113198
|
+
"return": {
|
|
113199
|
+
"type": {
|
|
113200
|
+
"text": "void"
|
|
113201
|
+
}
|
|
113202
|
+
},
|
|
113203
|
+
"parameters": [
|
|
113204
|
+
{
|
|
113205
|
+
"name": "element",
|
|
113206
|
+
"type": {
|
|
113207
|
+
"text": "HTMLElement"
|
|
113208
|
+
}
|
|
113209
|
+
}
|
|
113210
|
+
]
|
|
113211
|
+
},
|
|
113212
|
+
{
|
|
113213
|
+
"kind": "method",
|
|
113214
|
+
"name": "_updateHeaderElements",
|
|
113215
|
+
"privacy": "private",
|
|
113216
|
+
"static": true,
|
|
113217
|
+
"return": {
|
|
113218
|
+
"type": {
|
|
113219
|
+
"text": "void"
|
|
113220
|
+
}
|
|
113221
|
+
}
|
|
113222
|
+
},
|
|
113223
|
+
{
|
|
113224
|
+
"kind": "method",
|
|
113225
|
+
"name": "_updateScrollListener",
|
|
113226
|
+
"privacy": "private",
|
|
113227
|
+
"return": {
|
|
113228
|
+
"type": {
|
|
113229
|
+
"text": "void"
|
|
113230
|
+
}
|
|
113231
|
+
}
|
|
113232
|
+
},
|
|
113233
|
+
{
|
|
113234
|
+
"kind": "method",
|
|
113235
|
+
"name": "_getScrollFunction",
|
|
113236
|
+
"privacy": "private",
|
|
113237
|
+
"return": {
|
|
113238
|
+
"type": {
|
|
113239
|
+
"text": "void"
|
|
113240
|
+
}
|
|
113241
|
+
},
|
|
113242
|
+
"description": "Returns the correct function to attach on scroll."
|
|
113243
|
+
},
|
|
113244
|
+
{
|
|
113245
|
+
"kind": "method",
|
|
113246
|
+
"name": "_getCurrentScrollProperty",
|
|
113247
|
+
"privacy": "private",
|
|
113248
|
+
"return": {
|
|
113249
|
+
"type": {
|
|
113250
|
+
"text": "number"
|
|
113251
|
+
}
|
|
113252
|
+
},
|
|
113253
|
+
"parameters": [
|
|
113254
|
+
{
|
|
113255
|
+
"name": "property",
|
|
113256
|
+
"type": {
|
|
113257
|
+
"text": "'scrollTop' | 'scrollHeight'"
|
|
113258
|
+
}
|
|
113259
|
+
}
|
|
113260
|
+
],
|
|
113261
|
+
"description": "Returns the requested property of the scrollContext."
|
|
113262
|
+
},
|
|
113263
|
+
{
|
|
113264
|
+
"kind": "method",
|
|
113265
|
+
"name": "_scrollListener",
|
|
113266
|
+
"privacy": "private",
|
|
113267
|
+
"return": {
|
|
113268
|
+
"type": {
|
|
113269
|
+
"text": "void"
|
|
113270
|
+
}
|
|
113271
|
+
},
|
|
113272
|
+
"description": "Sets the correct value for `scrollTop`, then:\n- apply the shadow if the element/document has been scrolled down;\n- hides the header, remove the shadow and possibly close any open menu on the header if it is not visible anymore;\n- shows the header and re-apply the shadow if the element/document has been scrolled up."
|
|
113273
|
+
},
|
|
113274
|
+
{
|
|
113275
|
+
"kind": "method",
|
|
113276
|
+
"name": "_scrollShadowListener",
|
|
113277
|
+
"privacy": "private",
|
|
113278
|
+
"return": {
|
|
113279
|
+
"type": {
|
|
113280
|
+
"text": "void"
|
|
113281
|
+
}
|
|
113282
|
+
},
|
|
113283
|
+
"description": "Apply the shadow if the element/document has been scrolled down."
|
|
113284
|
+
},
|
|
113285
|
+
{
|
|
113286
|
+
"kind": "method",
|
|
113287
|
+
"name": "_closeOpenOverlays",
|
|
113288
|
+
"privacy": "private",
|
|
113289
|
+
"return": {
|
|
113290
|
+
"type": {
|
|
113291
|
+
"text": "void"
|
|
113292
|
+
}
|
|
113277
113293
|
}
|
|
113278
113294
|
},
|
|
113279
113295
|
{
|
|
113280
113296
|
"kind": "field",
|
|
113281
|
-
"name": "
|
|
113297
|
+
"name": "['_$sbbElement$']",
|
|
113282
113298
|
"type": {
|
|
113283
113299
|
"text": "boolean"
|
|
113284
113300
|
},
|
|
@@ -113286,124 +113302,114 @@
|
|
|
113286
113302
|
"static": true,
|
|
113287
113303
|
"default": "true",
|
|
113288
113304
|
"inheritedFrom": {
|
|
113289
|
-
"name": "
|
|
113290
|
-
"module": "core/
|
|
113305
|
+
"name": "SbbElement",
|
|
113306
|
+
"module": "core/base-elements/element.js"
|
|
113291
113307
|
}
|
|
113292
113308
|
},
|
|
113293
113309
|
{
|
|
113294
113310
|
"kind": "field",
|
|
113295
|
-
"name": "
|
|
113296
|
-
"privacy": "public",
|
|
113297
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
113311
|
+
"name": "elementDependencies",
|
|
113298
113312
|
"type": {
|
|
113299
|
-
"text": "
|
|
113313
|
+
"text": "SbbElementType[] | undefined"
|
|
113300
113314
|
},
|
|
113301
|
-
"
|
|
113315
|
+
"privacy": "public",
|
|
113316
|
+
"static": true,
|
|
113302
113317
|
"inheritedFrom": {
|
|
113303
|
-
"name": "
|
|
113304
|
-
"module": "core/
|
|
113318
|
+
"name": "SbbElement",
|
|
113319
|
+
"module": "core/base-elements/element.js"
|
|
113305
113320
|
}
|
|
113306
113321
|
},
|
|
113307
113322
|
{
|
|
113308
113323
|
"kind": "field",
|
|
113309
|
-
"name": "
|
|
113324
|
+
"name": "role",
|
|
113310
113325
|
"type": {
|
|
113311
|
-
"text": "
|
|
113326
|
+
"text": "ElementInternals['role'] | undefined"
|
|
113312
113327
|
},
|
|
113313
113328
|
"privacy": "public",
|
|
113314
|
-
"
|
|
113315
|
-
"readonly": true,
|
|
113329
|
+
"static": true,
|
|
113316
113330
|
"inheritedFrom": {
|
|
113317
|
-
"name": "
|
|
113318
|
-
"module": "core/
|
|
113331
|
+
"name": "SbbElement",
|
|
113332
|
+
"module": "core/base-elements/element.js"
|
|
113319
113333
|
}
|
|
113320
113334
|
},
|
|
113321
113335
|
{
|
|
113322
113336
|
"kind": "field",
|
|
113323
|
-
"name": "
|
|
113337
|
+
"name": "_controllers",
|
|
113324
113338
|
"type": {
|
|
113325
|
-
"text": "
|
|
113339
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
113326
113340
|
},
|
|
113327
|
-
"privacy": "
|
|
113328
|
-
"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.",
|
|
113329
|
-
"readonly": true,
|
|
113341
|
+
"privacy": "private",
|
|
113330
113342
|
"inheritedFrom": {
|
|
113331
|
-
"name": "
|
|
113332
|
-
"module": "core/
|
|
113343
|
+
"name": "SbbElement",
|
|
113344
|
+
"module": "core/base-elements/element.js"
|
|
113333
113345
|
}
|
|
113334
113346
|
},
|
|
113335
113347
|
{
|
|
113336
113348
|
"kind": "field",
|
|
113337
|
-
"name": "
|
|
113349
|
+
"name": "_hydrationRequired",
|
|
113338
113350
|
"type": {
|
|
113339
113351
|
"text": "boolean"
|
|
113340
113352
|
},
|
|
113341
|
-
"privacy": "
|
|
113342
|
-
"
|
|
113343
|
-
"readonly": true,
|
|
113353
|
+
"privacy": "private",
|
|
113354
|
+
"default": "!!this.shadowRoot",
|
|
113344
113355
|
"inheritedFrom": {
|
|
113345
|
-
"name": "
|
|
113346
|
-
"module": "core/
|
|
113356
|
+
"name": "SbbElement",
|
|
113357
|
+
"module": "core/base-elements/element.js"
|
|
113347
113358
|
}
|
|
113348
113359
|
},
|
|
113349
113360
|
{
|
|
113350
113361
|
"kind": "field",
|
|
113351
|
-
"name": "
|
|
113362
|
+
"name": "_hydrationComplete",
|
|
113352
113363
|
"privacy": "private",
|
|
113353
|
-
"default": "new
|
|
113364
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
113354
113365
|
"inheritedFrom": {
|
|
113355
|
-
"name": "
|
|
113356
|
-
"module": "core/
|
|
113366
|
+
"name": "SbbElement",
|
|
113367
|
+
"module": "core/base-elements/element.js"
|
|
113357
113368
|
}
|
|
113358
113369
|
},
|
|
113359
113370
|
{
|
|
113360
113371
|
"kind": "field",
|
|
113361
|
-
"name": "
|
|
113372
|
+
"name": "_resolveHydration",
|
|
113362
113373
|
"type": {
|
|
113363
|
-
"text": "boolean"
|
|
113374
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
113364
113375
|
},
|
|
113365
|
-
"privacy": "
|
|
113366
|
-
"default": "false",
|
|
113367
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
113376
|
+
"privacy": "private",
|
|
113368
113377
|
"inheritedFrom": {
|
|
113369
|
-
"name": "
|
|
113370
|
-
"module": "core/
|
|
113378
|
+
"name": "SbbElement",
|
|
113379
|
+
"module": "core/base-elements/element.js"
|
|
113371
113380
|
}
|
|
113372
113381
|
},
|
|
113373
113382
|
{
|
|
113374
|
-
"kind": "
|
|
113375
|
-
"name": "
|
|
113376
|
-
"
|
|
113377
|
-
|
|
113378
|
-
"type": {
|
|
113379
|
-
"text": "boolean"
|
|
113380
|
-
}
|
|
113383
|
+
"kind": "field",
|
|
113384
|
+
"name": "_textObserver",
|
|
113385
|
+
"type": {
|
|
113386
|
+
"text": "MutationObserver | undefined"
|
|
113381
113387
|
},
|
|
113382
|
-
"
|
|
113388
|
+
"privacy": "private",
|
|
113383
113389
|
"inheritedFrom": {
|
|
113384
|
-
"name": "
|
|
113385
|
-
"module": "core/
|
|
113390
|
+
"name": "SbbElement",
|
|
113391
|
+
"module": "core/base-elements/element.js"
|
|
113386
113392
|
}
|
|
113387
113393
|
},
|
|
113388
113394
|
{
|
|
113389
|
-
"kind": "
|
|
113390
|
-
"name": "
|
|
113391
|
-
"
|
|
113392
|
-
|
|
113393
|
-
"type": {
|
|
113394
|
-
"text": "boolean"
|
|
113395
|
-
}
|
|
113395
|
+
"kind": "field",
|
|
113396
|
+
"name": "hydrationRequired",
|
|
113397
|
+
"type": {
|
|
113398
|
+
"text": "boolean"
|
|
113396
113399
|
},
|
|
113397
|
-
"
|
|
113400
|
+
"privacy": "protected",
|
|
113401
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
113402
|
+
"readonly": true,
|
|
113398
113403
|
"inheritedFrom": {
|
|
113399
|
-
"name": "
|
|
113400
|
-
"module": "core/
|
|
113401
|
-
}
|
|
113404
|
+
"name": "SbbElement",
|
|
113405
|
+
"module": "core/base-elements/element.js"
|
|
113406
|
+
},
|
|
113407
|
+
"default": "!!this.shadowRoot"
|
|
113402
113408
|
},
|
|
113403
113409
|
{
|
|
113404
113410
|
"kind": "method",
|
|
113405
|
-
"name": "
|
|
113406
|
-
"privacy": "
|
|
113411
|
+
"name": "toggleState",
|
|
113412
|
+
"privacy": "protected",
|
|
113407
113413
|
"return": {
|
|
113408
113414
|
"type": {
|
|
113409
113415
|
"text": "void"
|
|
@@ -113411,65 +113417,56 @@
|
|
|
113411
113417
|
},
|
|
113412
113418
|
"parameters": [
|
|
113413
113419
|
{
|
|
113414
|
-
"name": "
|
|
113420
|
+
"name": "value",
|
|
113415
113421
|
"type": {
|
|
113416
113422
|
"text": "string"
|
|
113417
113423
|
}
|
|
113424
|
+
},
|
|
113425
|
+
{
|
|
113426
|
+
"name": "force",
|
|
113427
|
+
"optional": true,
|
|
113428
|
+
"type": {
|
|
113429
|
+
"text": "boolean"
|
|
113430
|
+
}
|
|
113418
113431
|
}
|
|
113419
113432
|
],
|
|
113420
|
-
"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.",
|
|
113421
113433
|
"inheritedFrom": {
|
|
113422
|
-
"name": "
|
|
113423
|
-
"module": "core/
|
|
113434
|
+
"name": "SbbElement",
|
|
113435
|
+
"module": "core/base-elements/element.js"
|
|
113424
113436
|
}
|
|
113425
113437
|
},
|
|
113426
113438
|
{
|
|
113427
113439
|
"kind": "method",
|
|
113428
|
-
"name": "
|
|
113440
|
+
"name": "_slotchangeHandler",
|
|
113429
113441
|
"privacy": "private",
|
|
113430
113442
|
"return": {
|
|
113431
113443
|
"type": {
|
|
113432
|
-
"text": "
|
|
113444
|
+
"text": "void"
|
|
113433
113445
|
}
|
|
113434
113446
|
},
|
|
113447
|
+
"parameters": [
|
|
113448
|
+
{
|
|
113449
|
+
"name": "event",
|
|
113450
|
+
"type": {
|
|
113451
|
+
"text": "Event"
|
|
113452
|
+
}
|
|
113453
|
+
},
|
|
113454
|
+
{
|
|
113455
|
+
"name": "slot",
|
|
113456
|
+
"type": {
|
|
113457
|
+
"text": "HTMLSlotElement"
|
|
113458
|
+
}
|
|
113459
|
+
}
|
|
113460
|
+
],
|
|
113435
113461
|
"inheritedFrom": {
|
|
113436
|
-
"name": "
|
|
113437
|
-
"module": "core/
|
|
113462
|
+
"name": "SbbElement",
|
|
113463
|
+
"module": "core/base-elements/element.js"
|
|
113438
113464
|
}
|
|
113439
113465
|
},
|
|
113440
113466
|
{
|
|
113441
113467
|
"kind": "method",
|
|
113442
|
-
"name": "
|
|
113443
|
-
"privacy": "
|
|
113444
|
-
"return": {
|
|
113445
|
-
"type": {
|
|
113446
|
-
"text": "void"
|
|
113447
|
-
}
|
|
113448
|
-
},
|
|
113449
|
-
"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",
|
|
113450
|
-
"inheritedFrom": {
|
|
113451
|
-
"name": "SbbFormAssociatedMixin",
|
|
113452
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113453
|
-
}
|
|
113454
|
-
},
|
|
113455
|
-
{
|
|
113456
|
-
"kind": "method",
|
|
113457
|
-
"name": "formState",
|
|
113458
|
-
"privacy": "protected",
|
|
113459
|
-
"return": {
|
|
113460
|
-
"type": {
|
|
113461
|
-
"text": "FormRestoreState"
|
|
113462
|
-
}
|
|
113463
|
-
},
|
|
113464
|
-
"inheritedFrom": {
|
|
113465
|
-
"name": "SbbFormAssociatedMixin",
|
|
113466
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113467
|
-
}
|
|
113468
|
-
},
|
|
113469
|
-
{
|
|
113470
|
-
"kind": "method",
|
|
113471
|
-
"name": "setValidityFlag",
|
|
113472
|
-
"privacy": "protected",
|
|
113468
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
113469
|
+
"privacy": "private",
|
|
113473
113470
|
"return": {
|
|
113474
113471
|
"type": {
|
|
113475
113472
|
"text": "void"
|
|
@@ -113477,35 +113474,21 @@
|
|
|
113477
113474
|
},
|
|
113478
113475
|
"parameters": [
|
|
113479
113476
|
{
|
|
113480
|
-
"name": "
|
|
113481
|
-
"type": {
|
|
113482
|
-
"text": "T"
|
|
113483
|
-
}
|
|
113484
|
-
},
|
|
113485
|
-
{
|
|
113486
|
-
"name": "message",
|
|
113487
|
-
"type": {
|
|
113488
|
-
"text": "string"
|
|
113489
|
-
}
|
|
113490
|
-
},
|
|
113491
|
-
{
|
|
113492
|
-
"name": "flagValue",
|
|
113493
|
-
"optional": true,
|
|
113477
|
+
"name": "slot",
|
|
113494
113478
|
"type": {
|
|
113495
|
-
"text": "
|
|
113479
|
+
"text": "HTMLSlotElement"
|
|
113496
113480
|
}
|
|
113497
113481
|
}
|
|
113498
113482
|
],
|
|
113499
|
-
"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).",
|
|
113500
113483
|
"inheritedFrom": {
|
|
113501
|
-
"name": "
|
|
113502
|
-
"module": "core/
|
|
113484
|
+
"name": "SbbElement",
|
|
113485
|
+
"module": "core/base-elements/element.js"
|
|
113503
113486
|
}
|
|
113504
113487
|
},
|
|
113505
113488
|
{
|
|
113506
113489
|
"kind": "method",
|
|
113507
|
-
"name": "
|
|
113508
|
-
"privacy": "
|
|
113490
|
+
"name": "_updateSlottedState",
|
|
113491
|
+
"privacy": "private",
|
|
113509
113492
|
"return": {
|
|
113510
113493
|
"type": {
|
|
113511
113494
|
"text": "void"
|
|
@@ -113513,682 +113496,517 @@
|
|
|
113513
113496
|
},
|
|
113514
113497
|
"parameters": [
|
|
113515
113498
|
{
|
|
113516
|
-
"name": "
|
|
113499
|
+
"name": "slot",
|
|
113517
113500
|
"type": {
|
|
113518
|
-
"text": "
|
|
113501
|
+
"text": "HTMLSlotElement"
|
|
113519
113502
|
}
|
|
113520
113503
|
}
|
|
113521
113504
|
],
|
|
113522
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
113523
113505
|
"inheritedFrom": {
|
|
113524
|
-
"name": "
|
|
113525
|
-
"module": "core/
|
|
113506
|
+
"name": "SbbElement",
|
|
113507
|
+
"module": "core/base-elements/element.js"
|
|
113526
113508
|
}
|
|
113527
113509
|
},
|
|
113528
113510
|
{
|
|
113529
113511
|
"kind": "method",
|
|
113530
|
-
"name": "
|
|
113531
|
-
"privacy": "
|
|
113512
|
+
"name": "_observeTextNodesInSlot",
|
|
113513
|
+
"privacy": "private",
|
|
113532
113514
|
"return": {
|
|
113533
113515
|
"type": {
|
|
113534
113516
|
"text": "void"
|
|
113535
113517
|
}
|
|
113536
113518
|
},
|
|
113537
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
113538
|
-
"inheritedFrom": {
|
|
113539
|
-
"name": "SbbFormAssociatedMixin",
|
|
113540
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113541
|
-
}
|
|
113542
|
-
},
|
|
113543
|
-
{
|
|
113544
|
-
"kind": "method",
|
|
113545
|
-
"name": "shouldValidate",
|
|
113546
|
-
"privacy": "protected",
|
|
113547
|
-
"return": {
|
|
113548
|
-
"type": {
|
|
113549
|
-
"text": "boolean"
|
|
113550
|
-
}
|
|
113551
|
-
},
|
|
113552
113519
|
"parameters": [
|
|
113553
113520
|
{
|
|
113554
|
-
"name": "
|
|
113521
|
+
"name": "slot",
|
|
113555
113522
|
"type": {
|
|
113556
|
-
"text": "
|
|
113523
|
+
"text": "HTMLSlotElement"
|
|
113557
113524
|
}
|
|
113558
113525
|
}
|
|
113559
113526
|
],
|
|
113560
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
113561
113527
|
"inheritedFrom": {
|
|
113562
|
-
"name": "
|
|
113563
|
-
"module": "core/
|
|
113528
|
+
"name": "SbbElement",
|
|
113529
|
+
"module": "core/base-elements/element.js"
|
|
113564
113530
|
}
|
|
113565
113531
|
},
|
|
113566
113532
|
{
|
|
113567
113533
|
"kind": "method",
|
|
113568
|
-
"name": "
|
|
113534
|
+
"name": "_hasSlottedContent",
|
|
113569
113535
|
"privacy": "private",
|
|
113570
113536
|
"return": {
|
|
113571
113537
|
"type": {
|
|
113572
|
-
"text": "
|
|
113538
|
+
"text": "boolean"
|
|
113573
113539
|
}
|
|
113574
113540
|
},
|
|
113575
|
-
"inheritedFrom": {
|
|
113576
|
-
"name": "SbbFormAssociatedMixin",
|
|
113577
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113578
|
-
}
|
|
113579
|
-
},
|
|
113580
|
-
{
|
|
113581
|
-
"kind": "field",
|
|
113582
|
-
"name": "role",
|
|
113583
|
-
"type": {
|
|
113584
|
-
"text": "ElementInternals['role']"
|
|
113585
|
-
},
|
|
113586
|
-
"privacy": "public",
|
|
113587
|
-
"static": true,
|
|
113588
|
-
"inheritedFrom": {
|
|
113589
|
-
"name": "SbbElement",
|
|
113590
|
-
"module": "core/base-elements/element.js"
|
|
113591
|
-
},
|
|
113592
|
-
"readonly": true,
|
|
113593
|
-
"default": "'button'"
|
|
113594
|
-
},
|
|
113595
|
-
{
|
|
113596
|
-
"kind": "field",
|
|
113597
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
113598
|
-
"privacy": "private",
|
|
113599
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
113600
|
-
"parameters": [
|
|
113601
|
-
{
|
|
113602
|
-
"description": "The origin event.",
|
|
113603
|
-
"name": "event"
|
|
113604
|
-
}
|
|
113605
|
-
],
|
|
113606
|
-
"inheritedFrom": {
|
|
113607
|
-
"name": "SbbButtonLikeBaseElement",
|
|
113608
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113609
|
-
}
|
|
113610
|
-
},
|
|
113611
|
-
{
|
|
113612
|
-
"kind": "field",
|
|
113613
|
-
"name": "_removeActiveMarker",
|
|
113614
|
-
"privacy": "private",
|
|
113615
|
-
"inheritedFrom": {
|
|
113616
|
-
"name": "SbbButtonLikeBaseElement",
|
|
113617
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113618
|
-
}
|
|
113619
|
-
},
|
|
113620
|
-
{
|
|
113621
|
-
"kind": "field",
|
|
113622
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
113623
|
-
"privacy": "private",
|
|
113624
|
-
"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.",
|
|
113625
113541
|
"parameters": [
|
|
113626
113542
|
{
|
|
113627
|
-
"
|
|
113628
|
-
"
|
|
113543
|
+
"name": "slot",
|
|
113544
|
+
"type": {
|
|
113545
|
+
"text": "HTMLSlotElement"
|
|
113546
|
+
}
|
|
113629
113547
|
}
|
|
113630
113548
|
],
|
|
113631
113549
|
"inheritedFrom": {
|
|
113632
|
-
"name": "
|
|
113633
|
-
"module": "core/base-elements/
|
|
113634
|
-
}
|
|
113635
|
-
},
|
|
113636
|
-
{
|
|
113637
|
-
"kind": "field",
|
|
113638
|
-
"name": "_dispatchClickEvent",
|
|
113639
|
-
"privacy": "private",
|
|
113640
|
-
"inheritedFrom": {
|
|
113641
|
-
"name": "SbbButtonLikeBaseElement",
|
|
113642
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113550
|
+
"name": "SbbElement",
|
|
113551
|
+
"module": "core/base-elements/element.js"
|
|
113643
113552
|
}
|
|
113644
|
-
}
|
|
113553
|
+
}
|
|
113554
|
+
],
|
|
113555
|
+
"attributes": [
|
|
113645
113556
|
{
|
|
113646
|
-
"
|
|
113647
|
-
"name": "maybeDisabled",
|
|
113557
|
+
"name": "expanded",
|
|
113648
113558
|
"type": {
|
|
113649
|
-
"text": "boolean
|
|
113559
|
+
"text": "boolean"
|
|
113650
113560
|
},
|
|
113651
|
-
"
|
|
113652
|
-
"
|
|
113653
|
-
"
|
|
113654
|
-
"name": "SbbActionBaseElement",
|
|
113655
|
-
"module": "core/base-elements/action-base-element.js"
|
|
113656
|
-
}
|
|
113561
|
+
"default": "false",
|
|
113562
|
+
"description": "Whether to allow the header content to stretch to full width.\nBy default, the content has the appropriate page size.",
|
|
113563
|
+
"fieldName": "expanded"
|
|
113657
113564
|
},
|
|
113658
113565
|
{
|
|
113659
|
-
"
|
|
113660
|
-
"name": "maybeDisabledInteractive",
|
|
113566
|
+
"name": "scroll-origin",
|
|
113661
113567
|
"type": {
|
|
113662
|
-
"text": "
|
|
113663
|
-
},
|
|
113664
|
-
"privacy": "protected",
|
|
113665
|
-
"readonly": true,
|
|
113666
|
-
"inheritedFrom": {
|
|
113667
|
-
"name": "SbbActionBaseElement",
|
|
113668
|
-
"module": "core/base-elements/action-base-element.js"
|
|
113669
|
-
}
|
|
113670
|
-
},
|
|
113671
|
-
{
|
|
113672
|
-
"kind": "method",
|
|
113673
|
-
"name": "setupBaseEventHandlers",
|
|
113674
|
-
"privacy": "protected",
|
|
113675
|
-
"return": {
|
|
113676
|
-
"type": {
|
|
113677
|
-
"text": "void"
|
|
113678
|
-
}
|
|
113568
|
+
"text": "HTMLElement | null"
|
|
113679
113569
|
},
|
|
113680
|
-
"
|
|
113681
|
-
|
|
113682
|
-
|
|
113683
|
-
}
|
|
113570
|
+
"default": "null",
|
|
113571
|
+
"description": "The element's id or the element on which the scroll listener is attached.\n\nFor attribute usage, provide an id reference.",
|
|
113572
|
+
"fieldName": "scrollOrigin"
|
|
113684
113573
|
},
|
|
113685
113574
|
{
|
|
113686
|
-
"
|
|
113687
|
-
"name": "['_$sbbElement$']",
|
|
113575
|
+
"name": "hide-on-scroll",
|
|
113688
113576
|
"type": {
|
|
113689
113577
|
"text": "boolean"
|
|
113690
113578
|
},
|
|
113691
|
-
"
|
|
113692
|
-
"
|
|
113693
|
-
"
|
|
113694
|
-
"inheritedFrom": {
|
|
113695
|
-
"name": "SbbElement",
|
|
113696
|
-
"module": "core/base-elements/element.js"
|
|
113697
|
-
}
|
|
113579
|
+
"default": "false",
|
|
113580
|
+
"description": "Whether the header should hide and show on scroll.",
|
|
113581
|
+
"fieldName": "hideOnScroll"
|
|
113698
113582
|
},
|
|
113699
113583
|
{
|
|
113700
|
-
"
|
|
113701
|
-
"name": "_controllers",
|
|
113584
|
+
"name": "size",
|
|
113702
113585
|
"type": {
|
|
113703
|
-
"text": "
|
|
113586
|
+
"text": "'m' | 's'"
|
|
113704
113587
|
},
|
|
113705
|
-
"
|
|
113706
|
-
"
|
|
113707
|
-
|
|
113708
|
-
|
|
113709
|
-
|
|
113710
|
-
|
|
113588
|
+
"description": "Size of the header, either m or s.",
|
|
113589
|
+
"default": "'m' / 's' (lean)",
|
|
113590
|
+
"fieldName": "size"
|
|
113591
|
+
}
|
|
113592
|
+
],
|
|
113593
|
+
"superclass": {
|
|
113594
|
+
"name": "SbbElement",
|
|
113595
|
+
"module": "core.js"
|
|
113596
|
+
},
|
|
113597
|
+
"tagName": "sbb-header",
|
|
113598
|
+
"customElement": true
|
|
113599
|
+
}
|
|
113600
|
+
],
|
|
113601
|
+
"exports": [
|
|
113602
|
+
{
|
|
113603
|
+
"kind": "js",
|
|
113604
|
+
"name": "SbbHeaderElement",
|
|
113605
|
+
"declaration": {
|
|
113606
|
+
"name": "SbbHeaderElement",
|
|
113607
|
+
"module": "header/header/header.component.js"
|
|
113608
|
+
}
|
|
113609
|
+
}
|
|
113610
|
+
]
|
|
113611
|
+
},
|
|
113612
|
+
{
|
|
113613
|
+
"kind": "javascript-module",
|
|
113614
|
+
"path": "header/header-button/header-button.component.js",
|
|
113615
|
+
"declarations": [
|
|
113616
|
+
{
|
|
113617
|
+
"kind": "class",
|
|
113618
|
+
"description": "It displays a button element that can be used in the `sbb-header` component.",
|
|
113619
|
+
"name": "SbbHeaderButtonElement",
|
|
113620
|
+
"slots": [
|
|
113711
113621
|
{
|
|
113712
|
-
"
|
|
113713
|
-
"name": "
|
|
113714
|
-
"type": {
|
|
113715
|
-
"text": "boolean"
|
|
113716
|
-
},
|
|
113717
|
-
"privacy": "private",
|
|
113718
|
-
"default": "!!this.shadowRoot",
|
|
113719
|
-
"inheritedFrom": {
|
|
113720
|
-
"name": "SbbElement",
|
|
113721
|
-
"module": "core/base-elements/element.js"
|
|
113722
|
-
}
|
|
113622
|
+
"description": "Slot used to render the button icon.",
|
|
113623
|
+
"name": "icon"
|
|
113723
113624
|
},
|
|
113724
113625
|
{
|
|
113725
|
-
"
|
|
113726
|
-
"name": "
|
|
113727
|
-
|
|
113728
|
-
|
|
113729
|
-
|
|
113730
|
-
"name": "SbbElement",
|
|
113731
|
-
"module": "core/base-elements/element.js"
|
|
113732
|
-
}
|
|
113733
|
-
},
|
|
113626
|
+
"description": "Use the unnamed slot to add content to the `sbb-header-button`.",
|
|
113627
|
+
"name": ""
|
|
113628
|
+
}
|
|
113629
|
+
],
|
|
113630
|
+
"members": [
|
|
113734
113631
|
{
|
|
113735
113632
|
"kind": "field",
|
|
113736
|
-
"name": "
|
|
113633
|
+
"name": "elementName",
|
|
113737
113634
|
"type": {
|
|
113738
|
-
"text": "
|
|
113635
|
+
"text": "string"
|
|
113739
113636
|
},
|
|
113740
|
-
"privacy": "
|
|
113637
|
+
"privacy": "public",
|
|
113638
|
+
"static": true,
|
|
113639
|
+
"readonly": true,
|
|
113741
113640
|
"inheritedFrom": {
|
|
113742
113641
|
"name": "SbbElement",
|
|
113743
113642
|
"module": "core/base-elements/element.js"
|
|
113744
|
-
}
|
|
113745
|
-
},
|
|
113746
|
-
{
|
|
113747
|
-
"kind": "field",
|
|
113748
|
-
"name": "_textObserver",
|
|
113749
|
-
"type": {
|
|
113750
|
-
"text": "MutationObserver | undefined"
|
|
113751
113643
|
},
|
|
113752
|
-
"
|
|
113753
|
-
"inheritedFrom": {
|
|
113754
|
-
"name": "SbbElement",
|
|
113755
|
-
"module": "core/base-elements/element.js"
|
|
113756
|
-
}
|
|
113644
|
+
"default": "'sbb-header-button'"
|
|
113757
113645
|
},
|
|
113758
113646
|
{
|
|
113759
113647
|
"kind": "field",
|
|
113760
|
-
"name": "
|
|
113648
|
+
"name": "styles",
|
|
113761
113649
|
"type": {
|
|
113762
|
-
"text": "
|
|
113763
|
-
},
|
|
113764
|
-
"privacy": "protected",
|
|
113765
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
113766
|
-
"readonly": true,
|
|
113767
|
-
"inheritedFrom": {
|
|
113768
|
-
"name": "SbbElement",
|
|
113769
|
-
"module": "core/base-elements/element.js"
|
|
113770
|
-
},
|
|
113771
|
-
"default": "!!this.shadowRoot"
|
|
113772
|
-
},
|
|
113773
|
-
{
|
|
113774
|
-
"kind": "method",
|
|
113775
|
-
"name": "toggleState",
|
|
113776
|
-
"privacy": "protected",
|
|
113777
|
-
"return": {
|
|
113778
|
-
"type": {
|
|
113779
|
-
"text": "void"
|
|
113780
|
-
}
|
|
113650
|
+
"text": "CSSResultGroup"
|
|
113781
113651
|
},
|
|
113782
|
-
"
|
|
113783
|
-
|
|
113784
|
-
|
|
113785
|
-
"type": {
|
|
113786
|
-
"text": "string"
|
|
113787
|
-
}
|
|
113788
|
-
},
|
|
113789
|
-
{
|
|
113790
|
-
"name": "force",
|
|
113791
|
-
"optional": true,
|
|
113792
|
-
"type": {
|
|
113793
|
-
"text": "boolean"
|
|
113794
|
-
}
|
|
113795
|
-
}
|
|
113796
|
-
],
|
|
113652
|
+
"privacy": "public",
|
|
113653
|
+
"static": true,
|
|
113654
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
113797
113655
|
"inheritedFrom": {
|
|
113798
|
-
"name": "
|
|
113799
|
-
"module": "
|
|
113656
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
113657
|
+
"module": "header/common/header-action-common.js"
|
|
113800
113658
|
}
|
|
113801
113659
|
},
|
|
113802
113660
|
{
|
|
113803
|
-
"kind": "
|
|
113804
|
-
"name": "
|
|
113805
|
-
"
|
|
113806
|
-
|
|
113807
|
-
|
|
113808
|
-
|
|
113809
|
-
|
|
113810
|
-
|
|
113811
|
-
"
|
|
113812
|
-
|
|
113813
|
-
"name": "event",
|
|
113814
|
-
"type": {
|
|
113815
|
-
"text": "Event"
|
|
113816
|
-
}
|
|
113817
|
-
},
|
|
113818
|
-
{
|
|
113819
|
-
"name": "slot",
|
|
113820
|
-
"type": {
|
|
113821
|
-
"text": "HTMLSlotElement"
|
|
113822
|
-
}
|
|
113823
|
-
}
|
|
113824
|
-
],
|
|
113661
|
+
"kind": "field",
|
|
113662
|
+
"name": "expandFrom",
|
|
113663
|
+
"type": {
|
|
113664
|
+
"text": "SbbHorizontalFrom"
|
|
113665
|
+
},
|
|
113666
|
+
"privacy": "public",
|
|
113667
|
+
"default": "'large'",
|
|
113668
|
+
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
113669
|
+
"attribute": "expand-from",
|
|
113670
|
+
"reflects": true,
|
|
113825
113671
|
"inheritedFrom": {
|
|
113826
|
-
"name": "
|
|
113827
|
-
"module": "
|
|
113672
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
113673
|
+
"module": "header/common/header-action-common.js"
|
|
113828
113674
|
}
|
|
113829
113675
|
},
|
|
113830
113676
|
{
|
|
113831
113677
|
"kind": "method",
|
|
113832
|
-
"name": "
|
|
113833
|
-
"privacy": "
|
|
113678
|
+
"name": "renderTemplate",
|
|
113679
|
+
"privacy": "protected",
|
|
113834
113680
|
"return": {
|
|
113835
113681
|
"type": {
|
|
113836
|
-
"text": "
|
|
113682
|
+
"text": "TemplateResult"
|
|
113837
113683
|
}
|
|
113838
113684
|
},
|
|
113839
|
-
"
|
|
113840
|
-
|
|
113841
|
-
|
|
113842
|
-
|
|
113843
|
-
|
|
113844
|
-
|
|
113845
|
-
|
|
113846
|
-
|
|
113685
|
+
"description": "Override this method to render the component template.",
|
|
113686
|
+
"inheritedFrom": {
|
|
113687
|
+
"name": "SbbActionBaseElement",
|
|
113688
|
+
"module": "core/base-elements/action-base-element.js"
|
|
113689
|
+
}
|
|
113690
|
+
},
|
|
113691
|
+
{
|
|
113692
|
+
"kind": "field",
|
|
113693
|
+
"name": "elementDependencies",
|
|
113694
|
+
"type": {
|
|
113695
|
+
"text": "SbbElementType[]"
|
|
113696
|
+
},
|
|
113697
|
+
"privacy": "public",
|
|
113698
|
+
"static": true,
|
|
113847
113699
|
"inheritedFrom": {
|
|
113848
113700
|
"name": "SbbElement",
|
|
113849
113701
|
"module": "core/base-elements/element.js"
|
|
113702
|
+
},
|
|
113703
|
+
"default": "[SbbIconElement]"
|
|
113704
|
+
},
|
|
113705
|
+
{
|
|
113706
|
+
"kind": "field",
|
|
113707
|
+
"name": "iconName",
|
|
113708
|
+
"type": {
|
|
113709
|
+
"text": "string"
|
|
113710
|
+
},
|
|
113711
|
+
"privacy": "public",
|
|
113712
|
+
"default": "''",
|
|
113713
|
+
"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.",
|
|
113714
|
+
"attribute": "icon-name",
|
|
113715
|
+
"inheritedFrom": {
|
|
113716
|
+
"name": "SbbIconNameMixin",
|
|
113717
|
+
"module": "icon/icon-name-mixin.js"
|
|
113850
113718
|
}
|
|
113851
113719
|
},
|
|
113852
113720
|
{
|
|
113853
113721
|
"kind": "method",
|
|
113854
|
-
"name": "
|
|
113855
|
-
"privacy": "
|
|
113722
|
+
"name": "renderIconSlot",
|
|
113723
|
+
"privacy": "protected",
|
|
113856
113724
|
"return": {
|
|
113857
113725
|
"type": {
|
|
113858
|
-
"text": "
|
|
113726
|
+
"text": "TemplateResult"
|
|
113859
113727
|
}
|
|
113860
113728
|
},
|
|
113861
113729
|
"parameters": [
|
|
113862
113730
|
{
|
|
113863
|
-
"name": "
|
|
113731
|
+
"name": "classname",
|
|
113732
|
+
"optional": true,
|
|
113864
113733
|
"type": {
|
|
113865
|
-
"text": "
|
|
113734
|
+
"text": "string"
|
|
113866
113735
|
}
|
|
113867
113736
|
}
|
|
113868
113737
|
],
|
|
113869
113738
|
"inheritedFrom": {
|
|
113870
|
-
"name": "
|
|
113871
|
-
"module": "
|
|
113739
|
+
"name": "SbbIconNameMixin",
|
|
113740
|
+
"module": "icon/icon-name-mixin.js"
|
|
113872
113741
|
}
|
|
113873
113742
|
},
|
|
113874
113743
|
{
|
|
113875
113744
|
"kind": "method",
|
|
113876
|
-
"name": "
|
|
113877
|
-
"privacy": "
|
|
113745
|
+
"name": "renderIconName",
|
|
113746
|
+
"privacy": "protected",
|
|
113878
113747
|
"return": {
|
|
113879
113748
|
"type": {
|
|
113880
|
-
"text": "
|
|
113749
|
+
"text": "string"
|
|
113881
113750
|
}
|
|
113882
113751
|
},
|
|
113883
|
-
"parameters": [
|
|
113884
|
-
{
|
|
113885
|
-
"name": "slot",
|
|
113886
|
-
"type": {
|
|
113887
|
-
"text": "HTMLSlotElement"
|
|
113888
|
-
}
|
|
113889
|
-
}
|
|
113890
|
-
],
|
|
113891
113752
|
"inheritedFrom": {
|
|
113892
|
-
"name": "
|
|
113893
|
-
"module": "
|
|
113753
|
+
"name": "SbbIconNameMixin",
|
|
113754
|
+
"module": "icon/icon-name-mixin.js"
|
|
113894
113755
|
}
|
|
113895
113756
|
},
|
|
113896
113757
|
{
|
|
113897
113758
|
"kind": "method",
|
|
113898
|
-
"name": "
|
|
113759
|
+
"name": "_renderIconName",
|
|
113899
113760
|
"privacy": "private",
|
|
113900
113761
|
"return": {
|
|
113901
113762
|
"type": {
|
|
113902
|
-
"text": "
|
|
113903
|
-
}
|
|
113904
|
-
},
|
|
113905
|
-
"parameters": [
|
|
113906
|
-
{
|
|
113907
|
-
"name": "slot",
|
|
113908
|
-
"type": {
|
|
113909
|
-
"text": "HTMLSlotElement"
|
|
113910
|
-
}
|
|
113763
|
+
"text": "string"
|
|
113911
113764
|
}
|
|
113912
|
-
],
|
|
113913
|
-
"inheritedFrom": {
|
|
113914
|
-
"name": "SbbElement",
|
|
113915
|
-
"module": "core/base-elements/element.js"
|
|
113916
|
-
}
|
|
113917
|
-
}
|
|
113918
|
-
],
|
|
113919
|
-
"mixins": [
|
|
113920
|
-
{
|
|
113921
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
113922
|
-
"module": "header/common/header-action-common.js"
|
|
113923
|
-
}
|
|
113924
|
-
],
|
|
113925
|
-
"superclass": {
|
|
113926
|
-
"name": "SbbButtonBaseElement",
|
|
113927
|
-
"module": "core.js"
|
|
113928
|
-
},
|
|
113929
|
-
"tagName": "sbb-header-button",
|
|
113930
|
-
"customElement": true,
|
|
113931
|
-
"attributes": [
|
|
113932
|
-
{
|
|
113933
|
-
"name": "expand-from",
|
|
113934
|
-
"type": {
|
|
113935
|
-
"text": "SbbHorizontalFrom"
|
|
113936
113765
|
},
|
|
113937
|
-
"default": "'large'",
|
|
113938
|
-
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
113939
|
-
"fieldName": "expandFrom",
|
|
113940
113766
|
"inheritedFrom": {
|
|
113941
|
-
"name": "
|
|
113942
|
-
"module": "
|
|
113767
|
+
"name": "SbbIconNameMixin",
|
|
113768
|
+
"module": "icon/icon-name-mixin.js"
|
|
113943
113769
|
}
|
|
113944
113770
|
},
|
|
113945
113771
|
{
|
|
113946
|
-
"
|
|
113772
|
+
"kind": "field",
|
|
113773
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
113947
113774
|
"type": {
|
|
113948
|
-
"text": "
|
|
113775
|
+
"text": "array"
|
|
113949
113776
|
},
|
|
113950
|
-
"
|
|
113951
|
-
"
|
|
113952
|
-
"
|
|
113777
|
+
"privacy": "private",
|
|
113778
|
+
"readonly": true,
|
|
113779
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
113953
113780
|
"inheritedFrom": {
|
|
113954
|
-
"name": "
|
|
113955
|
-
"module": "
|
|
113781
|
+
"name": "SbbButtonBaseElement",
|
|
113782
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113956
113783
|
}
|
|
113957
113784
|
},
|
|
113958
113785
|
{
|
|
113786
|
+
"kind": "field",
|
|
113959
113787
|
"name": "value",
|
|
113960
113788
|
"type": {
|
|
113961
113789
|
"text": "string"
|
|
113962
113790
|
},
|
|
113963
|
-
"
|
|
113964
|
-
"description": "Value of the form element.",
|
|
113965
|
-
"fieldName": "value",
|
|
113791
|
+
"privacy": "public",
|
|
113966
113792
|
"inheritedFrom": {
|
|
113967
113793
|
"name": "SbbButtonBaseElement",
|
|
113968
113794
|
"module": "core/base-elements/button-base-element.js"
|
|
113969
|
-
}
|
|
113795
|
+
},
|
|
113796
|
+
"default": "''",
|
|
113797
|
+
"description": "Value of the form element.",
|
|
113798
|
+
"attribute": "value"
|
|
113970
113799
|
},
|
|
113971
113800
|
{
|
|
113801
|
+
"kind": "field",
|
|
113972
113802
|
"name": "type",
|
|
113803
|
+
"privacy": "public",
|
|
113973
113804
|
"description": "The type attribute to use for the button.",
|
|
113974
113805
|
"default": "'button'",
|
|
113975
113806
|
"type": {
|
|
113976
113807
|
"text": "SbbButtonType"
|
|
113977
113808
|
},
|
|
113978
|
-
"
|
|
113809
|
+
"attribute": "type",
|
|
113979
113810
|
"inheritedFrom": {
|
|
113980
113811
|
"name": "SbbButtonBaseElement",
|
|
113981
113812
|
"module": "core/base-elements/button-base-element.js"
|
|
113982
113813
|
}
|
|
113983
113814
|
},
|
|
113984
113815
|
{
|
|
113816
|
+
"kind": "field",
|
|
113985
113817
|
"name": "form",
|
|
113986
|
-
"description": "The `<form>` element to associate the button with.",
|
|
113987
113818
|
"type": {
|
|
113988
113819
|
"text": "HTMLFormElement | null"
|
|
113989
113820
|
},
|
|
113990
|
-
"
|
|
113821
|
+
"privacy": "public",
|
|
113822
|
+
"description": "The `<form>` element to associate the button with.",
|
|
113991
113823
|
"inheritedFrom": {
|
|
113992
113824
|
"name": "SbbButtonBaseElement",
|
|
113993
113825
|
"module": "core/base-elements/button-base-element.js"
|
|
113994
|
-
}
|
|
113826
|
+
},
|
|
113827
|
+
"attribute": "form"
|
|
113995
113828
|
},
|
|
113996
113829
|
{
|
|
113997
|
-
"
|
|
113998
|
-
"
|
|
113830
|
+
"kind": "field",
|
|
113831
|
+
"name": "_formId",
|
|
113999
113832
|
"type": {
|
|
114000
113833
|
"text": "string"
|
|
114001
113834
|
},
|
|
114002
|
-
"
|
|
113835
|
+
"privacy": "private",
|
|
113836
|
+
"default": "''",
|
|
114003
113837
|
"inheritedFrom": {
|
|
114004
|
-
"name": "
|
|
114005
|
-
"module": "core/
|
|
113838
|
+
"name": "SbbButtonBaseElement",
|
|
113839
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114006
113840
|
}
|
|
114007
|
-
}
|
|
114008
|
-
]
|
|
114009
|
-
}
|
|
114010
|
-
],
|
|
114011
|
-
"exports": [
|
|
114012
|
-
{
|
|
114013
|
-
"kind": "js",
|
|
114014
|
-
"name": "SbbHeaderButtonElement",
|
|
114015
|
-
"declaration": {
|
|
114016
|
-
"name": "SbbHeaderButtonElement",
|
|
114017
|
-
"module": "header/header-button/header-button.component.js"
|
|
114018
|
-
}
|
|
114019
|
-
}
|
|
114020
|
-
]
|
|
114021
|
-
},
|
|
114022
|
-
{
|
|
114023
|
-
"kind": "javascript-module",
|
|
114024
|
-
"path": "header/header/header.component.js",
|
|
114025
|
-
"declarations": [
|
|
114026
|
-
{
|
|
114027
|
-
"kind": "class",
|
|
114028
|
-
"description": "It displays a header section for the page.",
|
|
114029
|
-
"name": "SbbHeaderElement",
|
|
114030
|
-
"cssProperties": [
|
|
114031
|
-
{
|
|
114032
|
-
"description": "Can be used to modify the z-index of the header.",
|
|
114033
|
-
"name": "--sbb-header-z-index",
|
|
114034
|
-
"default": "10"
|
|
114035
113841
|
},
|
|
114036
|
-
{
|
|
114037
|
-
"description": "Can be used to modify height of the header.",
|
|
114038
|
-
"name": "--sbb-header-height",
|
|
114039
|
-
"default": "zero-small:var(--sbb-spacing-fixed-14x);large-ultra:var(--sbb-spacing-fixed-24x)"
|
|
114040
|
-
}
|
|
114041
|
-
],
|
|
114042
|
-
"slots": [
|
|
114043
|
-
{
|
|
114044
|
-
"description": "Use the unnamed slot to add actions, content and logo to the header.",
|
|
114045
|
-
"name": ""
|
|
114046
|
-
}
|
|
114047
|
-
],
|
|
114048
|
-
"members": [
|
|
114049
113842
|
{
|
|
114050
113843
|
"kind": "field",
|
|
114051
|
-
"name": "
|
|
114052
|
-
"
|
|
114053
|
-
"text": "string"
|
|
114054
|
-
},
|
|
114055
|
-
"privacy": "public",
|
|
114056
|
-
"static": true,
|
|
114057
|
-
"readonly": true,
|
|
114058
|
-
"default": "'sbb-header'",
|
|
113844
|
+
"name": "_handleButtonClick",
|
|
113845
|
+
"privacy": "private",
|
|
114059
113846
|
"inheritedFrom": {
|
|
114060
|
-
"name": "
|
|
114061
|
-
"module": "core/base-elements/element.js"
|
|
113847
|
+
"name": "SbbButtonBaseElement",
|
|
113848
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113849
|
+
}
|
|
113850
|
+
},
|
|
113851
|
+
{
|
|
113852
|
+
"kind": "method",
|
|
113853
|
+
"name": "_requestSubmit",
|
|
113854
|
+
"privacy": "private",
|
|
113855
|
+
"return": {
|
|
113856
|
+
"type": {
|
|
113857
|
+
"text": "void"
|
|
113858
|
+
}
|
|
113859
|
+
},
|
|
113860
|
+
"parameters": [
|
|
113861
|
+
{
|
|
113862
|
+
"name": "form",
|
|
113863
|
+
"type": {
|
|
113864
|
+
"text": "HTMLFormElement"
|
|
113865
|
+
}
|
|
113866
|
+
}
|
|
113867
|
+
],
|
|
113868
|
+
"inheritedFrom": {
|
|
113869
|
+
"name": "SbbButtonBaseElement",
|
|
113870
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114062
113871
|
}
|
|
114063
113872
|
},
|
|
114064
113873
|
{
|
|
114065
113874
|
"kind": "field",
|
|
114066
|
-
"name": "
|
|
114067
|
-
"privacy": "private",
|
|
114068
|
-
"static": true,
|
|
114069
|
-
"default": "new Set<HTMLElement>()"
|
|
114070
|
-
},
|
|
114071
|
-
{
|
|
114072
|
-
"kind": "field",
|
|
114073
|
-
"name": "_headerElements",
|
|
113875
|
+
"name": "_formKeyDown",
|
|
114074
113876
|
"privacy": "private",
|
|
114075
|
-
"
|
|
114076
|
-
|
|
113877
|
+
"inheritedFrom": {
|
|
113878
|
+
"name": "SbbButtonBaseElement",
|
|
113879
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113880
|
+
}
|
|
114077
113881
|
},
|
|
114078
113882
|
{
|
|
114079
113883
|
"kind": "field",
|
|
114080
|
-
"name": "
|
|
113884
|
+
"name": "formAssociated",
|
|
114081
113885
|
"type": {
|
|
114082
113886
|
"text": "boolean"
|
|
114083
113887
|
},
|
|
114084
113888
|
"privacy": "public",
|
|
114085
|
-
"
|
|
114086
|
-
"
|
|
114087
|
-
"
|
|
114088
|
-
|
|
113889
|
+
"static": true,
|
|
113890
|
+
"default": "true",
|
|
113891
|
+
"inheritedFrom": {
|
|
113892
|
+
"name": "SbbFormAssociatedMixin",
|
|
113893
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113894
|
+
}
|
|
114089
113895
|
},
|
|
114090
113896
|
{
|
|
114091
113897
|
"kind": "field",
|
|
114092
|
-
"name": "
|
|
113898
|
+
"name": "name",
|
|
113899
|
+
"privacy": "public",
|
|
113900
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
114093
113901
|
"type": {
|
|
114094
|
-
"text": "
|
|
113902
|
+
"text": "string"
|
|
114095
113903
|
},
|
|
114096
|
-
"
|
|
114097
|
-
"
|
|
114098
|
-
|
|
114099
|
-
|
|
113904
|
+
"attribute": "name",
|
|
113905
|
+
"inheritedFrom": {
|
|
113906
|
+
"name": "SbbFormAssociatedMixin",
|
|
113907
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113908
|
+
}
|
|
114100
113909
|
},
|
|
114101
113910
|
{
|
|
114102
113911
|
"kind": "field",
|
|
114103
|
-
"name": "
|
|
113912
|
+
"name": "validity",
|
|
114104
113913
|
"type": {
|
|
114105
|
-
"text": "
|
|
113914
|
+
"text": "ValidityState"
|
|
114106
113915
|
},
|
|
114107
113916
|
"privacy": "public",
|
|
114108
|
-
"
|
|
114109
|
-
"
|
|
114110
|
-
"
|
|
114111
|
-
|
|
113917
|
+
"description": "Returns the ValidityState object for this element.",
|
|
113918
|
+
"readonly": true,
|
|
113919
|
+
"inheritedFrom": {
|
|
113920
|
+
"name": "SbbFormAssociatedMixin",
|
|
113921
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113922
|
+
}
|
|
114112
113923
|
},
|
|
114113
113924
|
{
|
|
114114
113925
|
"kind": "field",
|
|
114115
|
-
"name": "
|
|
113926
|
+
"name": "validationMessage",
|
|
114116
113927
|
"type": {
|
|
114117
|
-
"text": "
|
|
113928
|
+
"text": "string"
|
|
114118
113929
|
},
|
|
114119
113930
|
"privacy": "public",
|
|
114120
|
-
"description": "
|
|
114121
|
-
"
|
|
114122
|
-
"
|
|
114123
|
-
|
|
113931
|
+
"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.",
|
|
113932
|
+
"readonly": true,
|
|
113933
|
+
"inheritedFrom": {
|
|
113934
|
+
"name": "SbbFormAssociatedMixin",
|
|
113935
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113936
|
+
}
|
|
114124
113937
|
},
|
|
114125
113938
|
{
|
|
114126
113939
|
"kind": "field",
|
|
114127
|
-
"name": "
|
|
113940
|
+
"name": "willValidate",
|
|
114128
113941
|
"type": {
|
|
114129
113942
|
"text": "boolean"
|
|
114130
113943
|
},
|
|
114131
|
-
"privacy": "
|
|
114132
|
-
"
|
|
114133
|
-
|
|
114134
|
-
|
|
114135
|
-
|
|
114136
|
-
|
|
114137
|
-
|
|
114138
|
-
"text": "HTMLElement | Document | null | undefined"
|
|
114139
|
-
},
|
|
114140
|
-
"privacy": "private"
|
|
114141
|
-
},
|
|
114142
|
-
{
|
|
114143
|
-
"kind": "field",
|
|
114144
|
-
"name": "_scrollEventsController",
|
|
114145
|
-
"type": {
|
|
114146
|
-
"text": "AbortController"
|
|
114147
|
-
},
|
|
114148
|
-
"privacy": "private"
|
|
113944
|
+
"privacy": "public",
|
|
113945
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
113946
|
+
"readonly": true,
|
|
113947
|
+
"inheritedFrom": {
|
|
113948
|
+
"name": "SbbFormAssociatedMixin",
|
|
113949
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113950
|
+
}
|
|
114149
113951
|
},
|
|
114150
113952
|
{
|
|
114151
113953
|
"kind": "field",
|
|
114152
|
-
"name": "
|
|
114153
|
-
"
|
|
114154
|
-
|
|
114155
|
-
|
|
114156
|
-
|
|
113954
|
+
"name": "_validityStates",
|
|
113955
|
+
"privacy": "private",
|
|
113956
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
113957
|
+
"inheritedFrom": {
|
|
113958
|
+
"name": "SbbFormAssociatedMixin",
|
|
113959
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113960
|
+
}
|
|
114157
113961
|
},
|
|
114158
113962
|
{
|
|
114159
113963
|
"kind": "field",
|
|
114160
|
-
"name": "
|
|
113964
|
+
"name": "formDisabled",
|
|
114161
113965
|
"type": {
|
|
114162
|
-
"text": "
|
|
113966
|
+
"text": "boolean"
|
|
114163
113967
|
},
|
|
114164
|
-
"privacy": "
|
|
114165
|
-
"default": "
|
|
113968
|
+
"privacy": "protected",
|
|
113969
|
+
"default": "false",
|
|
113970
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
113971
|
+
"inheritedFrom": {
|
|
113972
|
+
"name": "SbbFormAssociatedMixin",
|
|
113973
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113974
|
+
}
|
|
114166
113975
|
},
|
|
114167
113976
|
{
|
|
114168
|
-
"kind": "
|
|
114169
|
-
"name": "
|
|
114170
|
-
"
|
|
114171
|
-
|
|
113977
|
+
"kind": "method",
|
|
113978
|
+
"name": "checkValidity",
|
|
113979
|
+
"privacy": "public",
|
|
113980
|
+
"return": {
|
|
113981
|
+
"type": {
|
|
113982
|
+
"text": "boolean"
|
|
113983
|
+
}
|
|
114172
113984
|
},
|
|
114173
|
-
"
|
|
114174
|
-
"
|
|
113985
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
113986
|
+
"inheritedFrom": {
|
|
113987
|
+
"name": "SbbFormAssociatedMixin",
|
|
113988
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113989
|
+
}
|
|
114175
113990
|
},
|
|
114176
113991
|
{
|
|
114177
113992
|
"kind": "method",
|
|
114178
|
-
"name": "
|
|
114179
|
-
"privacy": "
|
|
114180
|
-
"static": true,
|
|
113993
|
+
"name": "reportValidity",
|
|
113994
|
+
"privacy": "public",
|
|
114181
113995
|
"return": {
|
|
114182
113996
|
"type": {
|
|
114183
|
-
"text": "
|
|
113997
|
+
"text": "boolean"
|
|
114184
113998
|
}
|
|
113999
|
+
},
|
|
114000
|
+
"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.",
|
|
114001
|
+
"inheritedFrom": {
|
|
114002
|
+
"name": "SbbFormAssociatedMixin",
|
|
114003
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114185
114004
|
}
|
|
114186
114005
|
},
|
|
114187
114006
|
{
|
|
114188
114007
|
"kind": "method",
|
|
114189
|
-
"name": "
|
|
114190
|
-
"privacy": "
|
|
114191
|
-
"static": true,
|
|
114008
|
+
"name": "setCustomValidity",
|
|
114009
|
+
"privacy": "public",
|
|
114192
114010
|
"return": {
|
|
114193
114011
|
"type": {
|
|
114194
114012
|
"text": "void"
|
|
@@ -114196,150 +114014,286 @@
|
|
|
114196
114014
|
},
|
|
114197
114015
|
"parameters": [
|
|
114198
114016
|
{
|
|
114199
|
-
"name": "
|
|
114017
|
+
"name": "message",
|
|
114200
114018
|
"type": {
|
|
114201
|
-
"text": "
|
|
114019
|
+
"text": "string"
|
|
114202
114020
|
}
|
|
114203
114021
|
}
|
|
114204
|
-
]
|
|
114022
|
+
],
|
|
114023
|
+
"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.",
|
|
114024
|
+
"inheritedFrom": {
|
|
114025
|
+
"name": "SbbFormAssociatedMixin",
|
|
114026
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114027
|
+
}
|
|
114205
114028
|
},
|
|
114206
114029
|
{
|
|
114207
114030
|
"kind": "method",
|
|
114208
|
-
"name": "
|
|
114031
|
+
"name": "_hasDisabledAncestor",
|
|
114209
114032
|
"privacy": "private",
|
|
114210
|
-
"
|
|
114033
|
+
"return": {
|
|
114034
|
+
"type": {
|
|
114035
|
+
"text": "boolean"
|
|
114036
|
+
}
|
|
114037
|
+
},
|
|
114038
|
+
"inheritedFrom": {
|
|
114039
|
+
"name": "SbbFormAssociatedMixin",
|
|
114040
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114041
|
+
}
|
|
114042
|
+
},
|
|
114043
|
+
{
|
|
114044
|
+
"kind": "method",
|
|
114045
|
+
"name": "updateFormValue",
|
|
114046
|
+
"privacy": "protected",
|
|
114211
114047
|
"return": {
|
|
114212
114048
|
"type": {
|
|
114213
114049
|
"text": "void"
|
|
114214
114050
|
}
|
|
114215
114051
|
},
|
|
114216
|
-
"
|
|
114217
|
-
|
|
114218
|
-
|
|
114219
|
-
|
|
114220
|
-
|
|
114221
|
-
|
|
114052
|
+
"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",
|
|
114053
|
+
"inheritedFrom": {
|
|
114054
|
+
"name": "SbbFormAssociatedMixin",
|
|
114055
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114056
|
+
}
|
|
114057
|
+
},
|
|
114058
|
+
{
|
|
114059
|
+
"kind": "method",
|
|
114060
|
+
"name": "formState",
|
|
114061
|
+
"privacy": "protected",
|
|
114062
|
+
"return": {
|
|
114063
|
+
"type": {
|
|
114064
|
+
"text": "FormRestoreState"
|
|
114222
114065
|
}
|
|
114223
|
-
|
|
114066
|
+
},
|
|
114067
|
+
"inheritedFrom": {
|
|
114068
|
+
"name": "SbbFormAssociatedMixin",
|
|
114069
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114070
|
+
}
|
|
114224
114071
|
},
|
|
114225
114072
|
{
|
|
114226
114073
|
"kind": "method",
|
|
114227
|
-
"name": "
|
|
114228
|
-
"privacy": "
|
|
114229
|
-
"static": true,
|
|
114074
|
+
"name": "setValidityFlag",
|
|
114075
|
+
"privacy": "protected",
|
|
114230
114076
|
"return": {
|
|
114231
114077
|
"type": {
|
|
114232
114078
|
"text": "void"
|
|
114233
114079
|
}
|
|
114080
|
+
},
|
|
114081
|
+
"parameters": [
|
|
114082
|
+
{
|
|
114083
|
+
"name": "flag",
|
|
114084
|
+
"type": {
|
|
114085
|
+
"text": "T"
|
|
114086
|
+
}
|
|
114087
|
+
},
|
|
114088
|
+
{
|
|
114089
|
+
"name": "message",
|
|
114090
|
+
"type": {
|
|
114091
|
+
"text": "string"
|
|
114092
|
+
}
|
|
114093
|
+
},
|
|
114094
|
+
{
|
|
114095
|
+
"name": "flagValue",
|
|
114096
|
+
"optional": true,
|
|
114097
|
+
"type": {
|
|
114098
|
+
"text": "ValidityStateFlags[T]"
|
|
114099
|
+
}
|
|
114100
|
+
}
|
|
114101
|
+
],
|
|
114102
|
+
"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).",
|
|
114103
|
+
"inheritedFrom": {
|
|
114104
|
+
"name": "SbbFormAssociatedMixin",
|
|
114105
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114234
114106
|
}
|
|
114235
114107
|
},
|
|
114236
114108
|
{
|
|
114237
114109
|
"kind": "method",
|
|
114238
|
-
"name": "
|
|
114239
|
-
"privacy": "
|
|
114110
|
+
"name": "removeValidityFlag",
|
|
114111
|
+
"privacy": "protected",
|
|
114240
114112
|
"return": {
|
|
114241
114113
|
"type": {
|
|
114242
114114
|
"text": "void"
|
|
114243
114115
|
}
|
|
114116
|
+
},
|
|
114117
|
+
"parameters": [
|
|
114118
|
+
{
|
|
114119
|
+
"name": "flag",
|
|
114120
|
+
"type": {
|
|
114121
|
+
"text": "T"
|
|
114122
|
+
}
|
|
114123
|
+
}
|
|
114124
|
+
],
|
|
114125
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
114126
|
+
"inheritedFrom": {
|
|
114127
|
+
"name": "SbbFormAssociatedMixin",
|
|
114128
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114244
114129
|
}
|
|
114245
114130
|
},
|
|
114246
114131
|
{
|
|
114247
114132
|
"kind": "method",
|
|
114248
|
-
"name": "
|
|
114249
|
-
"privacy": "
|
|
114133
|
+
"name": "validate",
|
|
114134
|
+
"privacy": "protected",
|
|
114250
114135
|
"return": {
|
|
114251
114136
|
"type": {
|
|
114252
114137
|
"text": "void"
|
|
114253
114138
|
}
|
|
114254
114139
|
},
|
|
114255
|
-
"description": "
|
|
114140
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
114141
|
+
"inheritedFrom": {
|
|
114142
|
+
"name": "SbbFormAssociatedMixin",
|
|
114143
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114144
|
+
}
|
|
114256
114145
|
},
|
|
114257
114146
|
{
|
|
114258
114147
|
"kind": "method",
|
|
114259
|
-
"name": "
|
|
114260
|
-
"privacy": "
|
|
114148
|
+
"name": "shouldValidate",
|
|
114149
|
+
"privacy": "protected",
|
|
114261
114150
|
"return": {
|
|
114262
114151
|
"type": {
|
|
114263
|
-
"text": "
|
|
114152
|
+
"text": "boolean"
|
|
114264
114153
|
}
|
|
114265
114154
|
},
|
|
114266
114155
|
"parameters": [
|
|
114267
114156
|
{
|
|
114268
|
-
"name": "
|
|
114157
|
+
"name": "name",
|
|
114269
114158
|
"type": {
|
|
114270
|
-
"text": "
|
|
114159
|
+
"text": "PropertyKey | undefined"
|
|
114271
114160
|
}
|
|
114272
114161
|
}
|
|
114273
114162
|
],
|
|
114274
|
-
"description": "
|
|
114163
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
114164
|
+
"inheritedFrom": {
|
|
114165
|
+
"name": "SbbFormAssociatedMixin",
|
|
114166
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114167
|
+
}
|
|
114275
114168
|
},
|
|
114276
114169
|
{
|
|
114277
114170
|
"kind": "method",
|
|
114278
|
-
"name": "
|
|
114171
|
+
"name": "_setInternalValidity",
|
|
114279
114172
|
"privacy": "private",
|
|
114280
114173
|
"return": {
|
|
114281
114174
|
"type": {
|
|
114282
114175
|
"text": "void"
|
|
114283
114176
|
}
|
|
114284
114177
|
},
|
|
114285
|
-
"
|
|
114178
|
+
"inheritedFrom": {
|
|
114179
|
+
"name": "SbbFormAssociatedMixin",
|
|
114180
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114181
|
+
}
|
|
114286
114182
|
},
|
|
114287
114183
|
{
|
|
114288
|
-
"kind": "
|
|
114289
|
-
"name": "
|
|
114184
|
+
"kind": "field",
|
|
114185
|
+
"name": "role",
|
|
114186
|
+
"type": {
|
|
114187
|
+
"text": "ElementInternals['role']"
|
|
114188
|
+
},
|
|
114189
|
+
"privacy": "public",
|
|
114190
|
+
"static": true,
|
|
114191
|
+
"inheritedFrom": {
|
|
114192
|
+
"name": "SbbElement",
|
|
114193
|
+
"module": "core/base-elements/element.js"
|
|
114194
|
+
},
|
|
114195
|
+
"readonly": true,
|
|
114196
|
+
"default": "'button'"
|
|
114197
|
+
},
|
|
114198
|
+
{
|
|
114199
|
+
"kind": "field",
|
|
114200
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
114290
114201
|
"privacy": "private",
|
|
114291
|
-
"
|
|
114292
|
-
|
|
114293
|
-
|
|
114202
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
114203
|
+
"parameters": [
|
|
114204
|
+
{
|
|
114205
|
+
"description": "The origin event.",
|
|
114206
|
+
"name": "event"
|
|
114294
114207
|
}
|
|
114295
|
-
|
|
114296
|
-
"
|
|
114208
|
+
],
|
|
114209
|
+
"inheritedFrom": {
|
|
114210
|
+
"name": "SbbButtonLikeBaseElement",
|
|
114211
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114212
|
+
}
|
|
114297
114213
|
},
|
|
114298
114214
|
{
|
|
114299
|
-
"kind": "
|
|
114300
|
-
"name": "
|
|
114215
|
+
"kind": "field",
|
|
114216
|
+
"name": "_removeActiveMarker",
|
|
114301
114217
|
"privacy": "private",
|
|
114302
|
-
"
|
|
114303
|
-
"
|
|
114304
|
-
|
|
114218
|
+
"inheritedFrom": {
|
|
114219
|
+
"name": "SbbButtonLikeBaseElement",
|
|
114220
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114221
|
+
}
|
|
114222
|
+
},
|
|
114223
|
+
{
|
|
114224
|
+
"kind": "field",
|
|
114225
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
114226
|
+
"privacy": "private",
|
|
114227
|
+
"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.",
|
|
114228
|
+
"parameters": [
|
|
114229
|
+
{
|
|
114230
|
+
"description": "The origin event.",
|
|
114231
|
+
"name": "event"
|
|
114305
114232
|
}
|
|
114233
|
+
],
|
|
114234
|
+
"inheritedFrom": {
|
|
114235
|
+
"name": "SbbButtonLikeBaseElement",
|
|
114236
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114306
114237
|
}
|
|
114307
114238
|
},
|
|
114308
114239
|
{
|
|
114309
114240
|
"kind": "field",
|
|
114310
|
-
"name": "
|
|
114241
|
+
"name": "_dispatchClickEvent",
|
|
114242
|
+
"privacy": "private",
|
|
114243
|
+
"inheritedFrom": {
|
|
114244
|
+
"name": "SbbButtonLikeBaseElement",
|
|
114245
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114246
|
+
}
|
|
114247
|
+
},
|
|
114248
|
+
{
|
|
114249
|
+
"kind": "field",
|
|
114250
|
+
"name": "maybeDisabled",
|
|
114311
114251
|
"type": {
|
|
114312
|
-
"text": "boolean"
|
|
114252
|
+
"text": "boolean | undefined"
|
|
114313
114253
|
},
|
|
114314
|
-
"privacy": "
|
|
114315
|
-
"
|
|
114316
|
-
"default": "true",
|
|
114254
|
+
"privacy": "protected",
|
|
114255
|
+
"readonly": true,
|
|
114317
114256
|
"inheritedFrom": {
|
|
114318
|
-
"name": "
|
|
114319
|
-
"module": "core/base-elements/element.js"
|
|
114257
|
+
"name": "SbbActionBaseElement",
|
|
114258
|
+
"module": "core/base-elements/action-base-element.js"
|
|
114320
114259
|
}
|
|
114321
114260
|
},
|
|
114322
114261
|
{
|
|
114323
114262
|
"kind": "field",
|
|
114324
|
-
"name": "
|
|
114263
|
+
"name": "maybeDisabledInteractive",
|
|
114325
114264
|
"type": {
|
|
114326
|
-
"text": "
|
|
114265
|
+
"text": "boolean | undefined"
|
|
114327
114266
|
},
|
|
114328
|
-
"privacy": "
|
|
114329
|
-
"
|
|
114267
|
+
"privacy": "protected",
|
|
114268
|
+
"readonly": true,
|
|
114330
114269
|
"inheritedFrom": {
|
|
114331
|
-
"name": "
|
|
114332
|
-
"module": "core/base-elements/element.js"
|
|
114270
|
+
"name": "SbbActionBaseElement",
|
|
114271
|
+
"module": "core/base-elements/action-base-element.js"
|
|
114272
|
+
}
|
|
114273
|
+
},
|
|
114274
|
+
{
|
|
114275
|
+
"kind": "method",
|
|
114276
|
+
"name": "setupBaseEventHandlers",
|
|
114277
|
+
"privacy": "protected",
|
|
114278
|
+
"return": {
|
|
114279
|
+
"type": {
|
|
114280
|
+
"text": "void"
|
|
114281
|
+
}
|
|
114282
|
+
},
|
|
114283
|
+
"inheritedFrom": {
|
|
114284
|
+
"name": "SbbActionBaseElement",
|
|
114285
|
+
"module": "core/base-elements/action-base-element.js"
|
|
114333
114286
|
}
|
|
114334
114287
|
},
|
|
114335
114288
|
{
|
|
114336
114289
|
"kind": "field",
|
|
114337
|
-
"name": "
|
|
114290
|
+
"name": "['_$sbbElement$']",
|
|
114338
114291
|
"type": {
|
|
114339
|
-
"text": "
|
|
114292
|
+
"text": "boolean"
|
|
114340
114293
|
},
|
|
114341
114294
|
"privacy": "public",
|
|
114342
114295
|
"static": true,
|
|
114296
|
+
"default": "true",
|
|
114343
114297
|
"inheritedFrom": {
|
|
114344
114298
|
"name": "SbbElement",
|
|
114345
114299
|
"module": "core/base-elements/element.js"
|
|
@@ -114565,59 +114519,105 @@
|
|
|
114565
114519
|
}
|
|
114566
114520
|
}
|
|
114567
114521
|
],
|
|
114522
|
+
"mixins": [
|
|
114523
|
+
{
|
|
114524
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
114525
|
+
"module": "header/common/header-action-common.js"
|
|
114526
|
+
}
|
|
114527
|
+
],
|
|
114528
|
+
"superclass": {
|
|
114529
|
+
"name": "SbbButtonBaseElement",
|
|
114530
|
+
"module": "core.js"
|
|
114531
|
+
},
|
|
114532
|
+
"tagName": "sbb-header-button",
|
|
114533
|
+
"customElement": true,
|
|
114568
114534
|
"attributes": [
|
|
114569
114535
|
{
|
|
114570
|
-
"name": "
|
|
114536
|
+
"name": "expand-from",
|
|
114571
114537
|
"type": {
|
|
114572
|
-
"text": "
|
|
114538
|
+
"text": "SbbHorizontalFrom"
|
|
114573
114539
|
},
|
|
114574
|
-
"default": "
|
|
114575
|
-
"description": "
|
|
114576
|
-
"fieldName": "
|
|
114540
|
+
"default": "'large'",
|
|
114541
|
+
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
114542
|
+
"fieldName": "expandFrom",
|
|
114543
|
+
"inheritedFrom": {
|
|
114544
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
114545
|
+
"module": "header/common/header-action-common.js"
|
|
114546
|
+
}
|
|
114577
114547
|
},
|
|
114578
114548
|
{
|
|
114579
|
-
"name": "
|
|
114549
|
+
"name": "icon-name",
|
|
114580
114550
|
"type": {
|
|
114581
|
-
"text": "
|
|
114551
|
+
"text": "string"
|
|
114582
114552
|
},
|
|
114583
|
-
"default": "
|
|
114584
|
-
"description": "The
|
|
114585
|
-
"fieldName": "
|
|
114553
|
+
"default": "''",
|
|
114554
|
+
"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.",
|
|
114555
|
+
"fieldName": "iconName",
|
|
114556
|
+
"inheritedFrom": {
|
|
114557
|
+
"name": "SbbIconNameMixin",
|
|
114558
|
+
"module": "icon/icon-name-mixin.js"
|
|
114559
|
+
}
|
|
114586
114560
|
},
|
|
114587
114561
|
{
|
|
114588
|
-
"name": "
|
|
114562
|
+
"name": "value",
|
|
114589
114563
|
"type": {
|
|
114590
|
-
"text": "
|
|
114564
|
+
"text": "string"
|
|
114591
114565
|
},
|
|
114592
|
-
"default": "
|
|
114593
|
-
"description": "
|
|
114594
|
-
"fieldName": "
|
|
114566
|
+
"default": "''",
|
|
114567
|
+
"description": "Value of the form element.",
|
|
114568
|
+
"fieldName": "value",
|
|
114569
|
+
"inheritedFrom": {
|
|
114570
|
+
"name": "SbbButtonBaseElement",
|
|
114571
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114572
|
+
}
|
|
114595
114573
|
},
|
|
114596
114574
|
{
|
|
114597
|
-
"name": "
|
|
114575
|
+
"name": "type",
|
|
114576
|
+
"description": "The type attribute to use for the button.",
|
|
114577
|
+
"default": "'button'",
|
|
114598
114578
|
"type": {
|
|
114599
|
-
"text": "
|
|
114579
|
+
"text": "SbbButtonType"
|
|
114600
114580
|
},
|
|
114601
|
-
"
|
|
114602
|
-
"
|
|
114603
|
-
|
|
114581
|
+
"fieldName": "type",
|
|
114582
|
+
"inheritedFrom": {
|
|
114583
|
+
"name": "SbbButtonBaseElement",
|
|
114584
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114585
|
+
}
|
|
114586
|
+
},
|
|
114587
|
+
{
|
|
114588
|
+
"name": "form",
|
|
114589
|
+
"description": "The `<form>` element to associate the button with.",
|
|
114590
|
+
"type": {
|
|
114591
|
+
"text": "HTMLFormElement | null"
|
|
114592
|
+
},
|
|
114593
|
+
"fieldName": "form",
|
|
114594
|
+
"inheritedFrom": {
|
|
114595
|
+
"name": "SbbButtonBaseElement",
|
|
114596
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114597
|
+
}
|
|
114598
|
+
},
|
|
114599
|
+
{
|
|
114600
|
+
"name": "name",
|
|
114601
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
114602
|
+
"type": {
|
|
114603
|
+
"text": "string"
|
|
114604
|
+
},
|
|
114605
|
+
"fieldName": "name",
|
|
114606
|
+
"inheritedFrom": {
|
|
114607
|
+
"name": "SbbFormAssociatedMixin",
|
|
114608
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
114609
|
+
}
|
|
114604
114610
|
}
|
|
114605
|
-
]
|
|
114606
|
-
"superclass": {
|
|
114607
|
-
"name": "SbbElement",
|
|
114608
|
-
"module": "core.js"
|
|
114609
|
-
},
|
|
114610
|
-
"tagName": "sbb-header",
|
|
114611
|
-
"customElement": true
|
|
114611
|
+
]
|
|
114612
114612
|
}
|
|
114613
114613
|
],
|
|
114614
114614
|
"exports": [
|
|
114615
114615
|
{
|
|
114616
114616
|
"kind": "js",
|
|
114617
|
-
"name": "
|
|
114617
|
+
"name": "SbbHeaderButtonElement",
|
|
114618
114618
|
"declaration": {
|
|
114619
|
-
"name": "
|
|
114620
|
-
"module": "header/header/header.component.js"
|
|
114619
|
+
"name": "SbbHeaderButtonElement",
|
|
114620
|
+
"module": "header/header-button/header-button.component.js"
|
|
114621
114621
|
}
|
|
114622
114622
|
}
|
|
114623
114623
|
]
|