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