@sbb-esta/lyne-elements-dev 4.0.0-dev.1776065413 → 4.0.0-dev.1776067066
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/{block-link-common-CUOted-V.js → block-link-common-CDrCAdGP.js} +36 -15
- package/custom-elements.json +999 -1202
- package/development/{block-link-common-CzBZuWTF.js → block-link-common-CwurjMj1.js} +33 -3
- package/development/{inline-link-common-Bhuybysa.js → inline-link-common-CONiCeR9.js} +2 -2
- package/development/link/common/block-link-common.d.ts +2 -0
- package/development/link/common/block-link-common.d.ts.map +1 -1
- package/development/link/common/block-link-common.js +1 -1
- package/development/link/common/inline-link-common.js +1 -1
- package/development/link/common/link-common.d.ts +0 -2
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/link/common/link-common.js +1 -1
- package/development/link-common-4Ag6Mio-.js +26 -0
- package/development/link.js +3 -3
- package/development/link.pure.js +3 -3
- package/{inline-link-common-CMMqUreS.js → inline-link-common-DyeQzML8.js} +1 -1
- package/link/common/block-link-common.js +1 -1
- package/link/common/inline-link-common.js +1 -1
- package/link/common/link-common.js +1 -1
- package/{link-common-fMUNMO2M.js → link-common-DO7R6Wp4.js} +12 -43
- package/link.js +3 -3
- package/link.pure.js +3 -3
- package/package.json +2 -2
- package/development/link-common-_5JydwQi.js +0 -70
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
113541
|
"parameters": [
|
|
113601
113542
|
{
|
|
113602
|
-
"
|
|
113603
|
-
"
|
|
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
|
-
"parameters": [
|
|
113626
|
-
{
|
|
113627
|
-
"description": "The origin event.",
|
|
113628
|
-
"name": "event"
|
|
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
|
-
}
|
|
113643
|
+
},
|
|
113644
|
+
"default": "'sbb-header-button'"
|
|
113745
113645
|
},
|
|
113746
113646
|
{
|
|
113747
113647
|
"kind": "field",
|
|
113748
|
-
"name": "
|
|
113648
|
+
"name": "styles",
|
|
113749
113649
|
"type": {
|
|
113750
|
-
"text": "
|
|
113650
|
+
"text": "CSSResultGroup"
|
|
113751
113651
|
},
|
|
113752
|
-
"privacy": "
|
|
113652
|
+
"privacy": "public",
|
|
113653
|
+
"static": true,
|
|
113654
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
113753
113655
|
"inheritedFrom": {
|
|
113754
|
-
"name": "
|
|
113755
|
-
"module": "
|
|
113656
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
113657
|
+
"module": "header/common/header-action-common.js"
|
|
113756
113658
|
}
|
|
113757
113659
|
},
|
|
113758
113660
|
{
|
|
113759
113661
|
"kind": "field",
|
|
113760
|
-
"name": "
|
|
113662
|
+
"name": "expandFrom",
|
|
113761
113663
|
"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
|
-
}
|
|
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"
|
|
113809
|
-
}
|
|
113664
|
+
"text": "SbbHorizontalFrom"
|
|
113810
113665
|
},
|
|
113811
|
-
"
|
|
113812
|
-
|
|
113813
|
-
|
|
113814
|
-
|
|
113815
|
-
|
|
113816
|
-
}
|
|
113817
|
-
},
|
|
113818
|
-
{
|
|
113819
|
-
"name": "slot",
|
|
113820
|
-
"type": {
|
|
113821
|
-
"text": "HTMLSlotElement"
|
|
113822
|
-
}
|
|
113823
|
-
}
|
|
113824
|
-
],
|
|
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
|
-
}
|
|
113995
|
-
},
|
|
113996
|
-
{
|
|
113997
|
-
"name": "name",
|
|
113998
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
113999
|
-
"type": {
|
|
114000
|
-
"text": "string"
|
|
114001
113826
|
},
|
|
114002
|
-
"
|
|
114003
|
-
"inheritedFrom": {
|
|
114004
|
-
"name": "SbbFormAssociatedMixin",
|
|
114005
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114006
|
-
}
|
|
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"
|
|
113827
|
+
"attribute": "form"
|
|
114035
113828
|
},
|
|
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
113829
|
{
|
|
114050
113830
|
"kind": "field",
|
|
114051
|
-
"name": "
|
|
113831
|
+
"name": "_formId",
|
|
114052
113832
|
"type": {
|
|
114053
113833
|
"text": "string"
|
|
114054
113834
|
},
|
|
114055
|
-
"privacy": "
|
|
114056
|
-
"
|
|
114057
|
-
"readonly": true,
|
|
114058
|
-
"default": "'sbb-header'",
|
|
113835
|
+
"privacy": "private",
|
|
113836
|
+
"default": "''",
|
|
114059
113837
|
"inheritedFrom": {
|
|
114060
|
-
"name": "
|
|
114061
|
-
"module": "core/base-elements/element.js"
|
|
113838
|
+
"name": "SbbButtonBaseElement",
|
|
113839
|
+
"module": "core/base-elements/button-base-element.js"
|
|
114062
113840
|
}
|
|
114063
113841
|
},
|
|
114064
113842
|
{
|
|
114065
113843
|
"kind": "field",
|
|
114066
|
-
"name": "
|
|
113844
|
+
"name": "_handleButtonClick",
|
|
114067
113845
|
"privacy": "private",
|
|
114068
|
-
"
|
|
114069
|
-
|
|
113846
|
+
"inheritedFrom": {
|
|
113847
|
+
"name": "SbbButtonBaseElement",
|
|
113848
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113849
|
+
}
|
|
114070
113850
|
},
|
|
114071
113851
|
{
|
|
114072
|
-
"kind": "
|
|
114073
|
-
"name": "
|
|
113852
|
+
"kind": "method",
|
|
113853
|
+
"name": "_requestSubmit",
|
|
114074
113854
|
"privacy": "private",
|
|
114075
|
-
"
|
|
114076
|
-
|
|
114077
|
-
|
|
114078
|
-
|
|
114079
|
-
"kind": "field",
|
|
114080
|
-
"name": "expanded",
|
|
114081
|
-
"type": {
|
|
114082
|
-
"text": "boolean"
|
|
113855
|
+
"return": {
|
|
113856
|
+
"type": {
|
|
113857
|
+
"text": "void"
|
|
113858
|
+
}
|
|
114083
113859
|
},
|
|
114084
|
-
"
|
|
114085
|
-
|
|
114086
|
-
|
|
114087
|
-
|
|
114088
|
-
|
|
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"
|
|
113871
|
+
}
|
|
114089
113872
|
},
|
|
114090
113873
|
{
|
|
114091
113874
|
"kind": "field",
|
|
114092
|
-
"name": "
|
|
114093
|
-
"
|
|
114094
|
-
|
|
114095
|
-
|
|
114096
|
-
|
|
114097
|
-
|
|
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"
|
|
113875
|
+
"name": "_formKeyDown",
|
|
113876
|
+
"privacy": "private",
|
|
113877
|
+
"inheritedFrom": {
|
|
113878
|
+
"name": "SbbButtonBaseElement",
|
|
113879
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113880
|
+
}
|
|
114100
113881
|
},
|
|
114101
113882
|
{
|
|
114102
113883
|
"kind": "field",
|
|
114103
|
-
"name": "
|
|
113884
|
+
"name": "formAssociated",
|
|
114104
113885
|
"type": {
|
|
114105
113886
|
"text": "boolean"
|
|
114106
113887
|
},
|
|
114107
113888
|
"privacy": "public",
|
|
114108
|
-
"
|
|
114109
|
-
"
|
|
114110
|
-
"
|
|
114111
|
-
|
|
113889
|
+
"static": true,
|
|
113890
|
+
"default": "true",
|
|
113891
|
+
"inheritedFrom": {
|
|
113892
|
+
"name": "SbbFormAssociatedMixin",
|
|
113893
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113894
|
+
}
|
|
114112
113895
|
},
|
|
114113
113896
|
{
|
|
114114
113897
|
"kind": "field",
|
|
114115
|
-
"name": "
|
|
113898
|
+
"name": "name",
|
|
113899
|
+
"privacy": "public",
|
|
113900
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
114116
113901
|
"type": {
|
|
114117
|
-
"text": "
|
|
113902
|
+
"text": "string"
|
|
114118
113903
|
},
|
|
114119
|
-
"
|
|
114120
|
-
"
|
|
114121
|
-
|
|
114122
|
-
|
|
114123
|
-
|
|
113904
|
+
"attribute": "name",
|
|
113905
|
+
"inheritedFrom": {
|
|
113906
|
+
"name": "SbbFormAssociatedMixin",
|
|
113907
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113908
|
+
}
|
|
114124
113909
|
},
|
|
114125
113910
|
{
|
|
114126
113911
|
"kind": "field",
|
|
114127
|
-
"name": "
|
|
113912
|
+
"name": "validity",
|
|
114128
113913
|
"type": {
|
|
114129
|
-
"text": "
|
|
113914
|
+
"text": "ValidityState"
|
|
114130
113915
|
},
|
|
114131
|
-
"privacy": "
|
|
114132
|
-
"
|
|
113916
|
+
"privacy": "public",
|
|
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
|
+
}
|
|
114133
113923
|
},
|
|
114134
113924
|
{
|
|
114135
113925
|
"kind": "field",
|
|
114136
|
-
"name": "
|
|
113926
|
+
"name": "validationMessage",
|
|
114137
113927
|
"type": {
|
|
114138
|
-
"text": "
|
|
113928
|
+
"text": "string"
|
|
114139
113929
|
},
|
|
114140
|
-
"privacy": "
|
|
113930
|
+
"privacy": "public",
|
|
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
|
+
}
|
|
114141
113937
|
},
|
|
114142
113938
|
{
|
|
114143
113939
|
"kind": "field",
|
|
114144
|
-
"name": "
|
|
113940
|
+
"name": "willValidate",
|
|
114145
113941
|
"type": {
|
|
114146
|
-
"text": "
|
|
113942
|
+
"text": "boolean"
|
|
114147
113943
|
},
|
|
114148
|
-
"privacy": "
|
|
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
|
]
|
|
@@ -118369,8 +118369,24 @@
|
|
|
118369
118369
|
"static": true,
|
|
118370
118370
|
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
118371
118371
|
"inheritedFrom": {
|
|
118372
|
-
"name": "SbbLinkCommonElementMixin",
|
|
118373
|
-
"module": "link/common/link-common.js"
|
|
118372
|
+
"name": "SbbLinkCommonElementMixin",
|
|
118373
|
+
"module": "link/common/link-common.js"
|
|
118374
|
+
}
|
|
118375
|
+
},
|
|
118376
|
+
{
|
|
118377
|
+
"kind": "field",
|
|
118378
|
+
"name": "size",
|
|
118379
|
+
"type": {
|
|
118380
|
+
"text": "SbbLinkSize"
|
|
118381
|
+
},
|
|
118382
|
+
"privacy": "public",
|
|
118383
|
+
"description": "Size variant, either xs, s or m.",
|
|
118384
|
+
"default": "'s' / 'xs' (lean)",
|
|
118385
|
+
"attribute": "size",
|
|
118386
|
+
"reflects": true,
|
|
118387
|
+
"inheritedFrom": {
|
|
118388
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
118389
|
+
"module": "link/common/block-link-common.js"
|
|
118374
118390
|
}
|
|
118375
118391
|
},
|
|
118376
118392
|
{
|
|
@@ -118404,22 +118420,6 @@
|
|
|
118404
118420
|
"module": "core/base-elements/action-base-element.js"
|
|
118405
118421
|
}
|
|
118406
118422
|
},
|
|
118407
|
-
{
|
|
118408
|
-
"kind": "field",
|
|
118409
|
-
"name": "size",
|
|
118410
|
-
"type": {
|
|
118411
|
-
"text": "SbbLinkSize"
|
|
118412
|
-
},
|
|
118413
|
-
"privacy": "public",
|
|
118414
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
118415
|
-
"default": "'s' / 'xs' (lean)",
|
|
118416
|
-
"attribute": "size",
|
|
118417
|
-
"reflects": true,
|
|
118418
|
-
"inheritedFrom": {
|
|
118419
|
-
"name": "SbbLinkCommonElementMixin",
|
|
118420
|
-
"module": "link/common/link-common.js"
|
|
118421
|
-
}
|
|
118422
|
-
},
|
|
118423
118423
|
{
|
|
118424
118424
|
"kind": "field",
|
|
118425
118425
|
"name": "elementDependencies",
|
|
@@ -118998,29 +118998,29 @@
|
|
|
118998
118998
|
"customElement": true,
|
|
118999
118999
|
"attributes": [
|
|
119000
119000
|
{
|
|
119001
|
-
"name": "
|
|
119001
|
+
"name": "size",
|
|
119002
119002
|
"type": {
|
|
119003
|
-
"text": "
|
|
119003
|
+
"text": "SbbLinkSize"
|
|
119004
119004
|
},
|
|
119005
|
-
"
|
|
119006
|
-
"
|
|
119007
|
-
"fieldName": "
|
|
119005
|
+
"description": "Size variant, either xs, s or m.",
|
|
119006
|
+
"default": "'s' / 'xs' (lean)",
|
|
119007
|
+
"fieldName": "size",
|
|
119008
119008
|
"inheritedFrom": {
|
|
119009
119009
|
"name": "SbbBlockLinkCommonElementMixin",
|
|
119010
119010
|
"module": "link/common/block-link-common.js"
|
|
119011
119011
|
}
|
|
119012
119012
|
},
|
|
119013
119013
|
{
|
|
119014
|
-
"name": "
|
|
119014
|
+
"name": "icon-placement",
|
|
119015
119015
|
"type": {
|
|
119016
|
-
"text": "
|
|
119016
|
+
"text": "SbbIconPlacement"
|
|
119017
119017
|
},
|
|
119018
|
-
"
|
|
119019
|
-
"
|
|
119020
|
-
"fieldName": "
|
|
119018
|
+
"default": "'start'",
|
|
119019
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
119020
|
+
"fieldName": "iconPlacement",
|
|
119021
119021
|
"inheritedFrom": {
|
|
119022
|
-
"name": "
|
|
119023
|
-
"module": "link/common/link-common.js"
|
|
119022
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119023
|
+
"module": "link/common/block-link-common.js"
|
|
119024
119024
|
}
|
|
119025
119025
|
},
|
|
119026
119026
|
{
|
|
@@ -119189,6 +119189,22 @@
|
|
|
119189
119189
|
"module": "link/common/link-common.js"
|
|
119190
119190
|
}
|
|
119191
119191
|
},
|
|
119192
|
+
{
|
|
119193
|
+
"kind": "field",
|
|
119194
|
+
"name": "size",
|
|
119195
|
+
"type": {
|
|
119196
|
+
"text": "SbbLinkSize"
|
|
119197
|
+
},
|
|
119198
|
+
"privacy": "public",
|
|
119199
|
+
"description": "Size variant, either xs, s or m.",
|
|
119200
|
+
"default": "'s' / 'xs' (lean)",
|
|
119201
|
+
"attribute": "size",
|
|
119202
|
+
"reflects": true,
|
|
119203
|
+
"inheritedFrom": {
|
|
119204
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119205
|
+
"module": "link/common/block-link-common.js"
|
|
119206
|
+
}
|
|
119207
|
+
},
|
|
119192
119208
|
{
|
|
119193
119209
|
"kind": "field",
|
|
119194
119210
|
"name": "iconPlacement",
|
|
@@ -119220,22 +119236,6 @@
|
|
|
119220
119236
|
"module": "core/base-elements/action-base-element.js"
|
|
119221
119237
|
}
|
|
119222
119238
|
},
|
|
119223
|
-
{
|
|
119224
|
-
"kind": "field",
|
|
119225
|
-
"name": "size",
|
|
119226
|
-
"type": {
|
|
119227
|
-
"text": "SbbLinkSize"
|
|
119228
|
-
},
|
|
119229
|
-
"privacy": "public",
|
|
119230
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
119231
|
-
"default": "'s' / 'xs' (lean)",
|
|
119232
|
-
"attribute": "size",
|
|
119233
|
-
"reflects": true,
|
|
119234
|
-
"inheritedFrom": {
|
|
119235
|
-
"name": "SbbLinkCommonElementMixin",
|
|
119236
|
-
"module": "link/common/link-common.js"
|
|
119237
|
-
}
|
|
119238
|
-
},
|
|
119239
119239
|
{
|
|
119240
119240
|
"kind": "field",
|
|
119241
119241
|
"name": "elementDependencies",
|
|
@@ -120145,29 +120145,29 @@
|
|
|
120145
120145
|
"customElement": true,
|
|
120146
120146
|
"attributes": [
|
|
120147
120147
|
{
|
|
120148
|
-
"name": "
|
|
120148
|
+
"name": "size",
|
|
120149
120149
|
"type": {
|
|
120150
|
-
"text": "
|
|
120150
|
+
"text": "SbbLinkSize"
|
|
120151
120151
|
},
|
|
120152
|
-
"
|
|
120153
|
-
"
|
|
120154
|
-
"fieldName": "
|
|
120152
|
+
"description": "Size variant, either xs, s or m.",
|
|
120153
|
+
"default": "'s' / 'xs' (lean)",
|
|
120154
|
+
"fieldName": "size",
|
|
120155
120155
|
"inheritedFrom": {
|
|
120156
120156
|
"name": "SbbBlockLinkCommonElementMixin",
|
|
120157
120157
|
"module": "link/common/block-link-common.js"
|
|
120158
120158
|
}
|
|
120159
120159
|
},
|
|
120160
120160
|
{
|
|
120161
|
-
"name": "
|
|
120161
|
+
"name": "icon-placement",
|
|
120162
120162
|
"type": {
|
|
120163
|
-
"text": "
|
|
120163
|
+
"text": "SbbIconPlacement"
|
|
120164
120164
|
},
|
|
120165
|
-
"
|
|
120166
|
-
"
|
|
120167
|
-
"fieldName": "
|
|
120165
|
+
"default": "'start'",
|
|
120166
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
120167
|
+
"fieldName": "iconPlacement",
|
|
120168
120168
|
"inheritedFrom": {
|
|
120169
|
-
"name": "
|
|
120170
|
-
"module": "link/common/link-common.js"
|
|
120169
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120170
|
+
"module": "link/common/block-link-common.js"
|
|
120171
120171
|
}
|
|
120172
120172
|
},
|
|
120173
120173
|
{
|
|
@@ -120321,6 +120321,22 @@
|
|
|
120321
120321
|
"module": "link/common/link-common.js"
|
|
120322
120322
|
}
|
|
120323
120323
|
},
|
|
120324
|
+
{
|
|
120325
|
+
"kind": "field",
|
|
120326
|
+
"name": "size",
|
|
120327
|
+
"type": {
|
|
120328
|
+
"text": "SbbLinkSize"
|
|
120329
|
+
},
|
|
120330
|
+
"privacy": "public",
|
|
120331
|
+
"description": "Size variant, either xs, s or m.",
|
|
120332
|
+
"default": "'s' / 'xs' (lean)",
|
|
120333
|
+
"attribute": "size",
|
|
120334
|
+
"reflects": true,
|
|
120335
|
+
"inheritedFrom": {
|
|
120336
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120337
|
+
"module": "link/common/block-link-common.js"
|
|
120338
|
+
}
|
|
120339
|
+
},
|
|
120324
120340
|
{
|
|
120325
120341
|
"kind": "field",
|
|
120326
120342
|
"name": "iconPlacement",
|
|
@@ -120352,22 +120368,6 @@
|
|
|
120352
120368
|
"module": "core/base-elements/action-base-element.js"
|
|
120353
120369
|
}
|
|
120354
120370
|
},
|
|
120355
|
-
{
|
|
120356
|
-
"kind": "field",
|
|
120357
|
-
"name": "size",
|
|
120358
|
-
"type": {
|
|
120359
|
-
"text": "SbbLinkSize"
|
|
120360
|
-
},
|
|
120361
|
-
"privacy": "public",
|
|
120362
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
120363
|
-
"default": "'s' / 'xs' (lean)",
|
|
120364
|
-
"attribute": "size",
|
|
120365
|
-
"reflects": true,
|
|
120366
|
-
"inheritedFrom": {
|
|
120367
|
-
"name": "SbbLinkCommonElementMixin",
|
|
120368
|
-
"module": "link/common/link-common.js"
|
|
120369
|
-
}
|
|
120370
|
-
},
|
|
120371
120371
|
{
|
|
120372
120372
|
"kind": "field",
|
|
120373
120373
|
"name": "elementDependencies",
|
|
@@ -120797,29 +120797,29 @@
|
|
|
120797
120797
|
"customElement": true,
|
|
120798
120798
|
"attributes": [
|
|
120799
120799
|
{
|
|
120800
|
-
"name": "
|
|
120800
|
+
"name": "size",
|
|
120801
120801
|
"type": {
|
|
120802
|
-
"text": "
|
|
120802
|
+
"text": "SbbLinkSize"
|
|
120803
120803
|
},
|
|
120804
|
-
"
|
|
120805
|
-
"
|
|
120806
|
-
"fieldName": "
|
|
120804
|
+
"description": "Size variant, either xs, s or m.",
|
|
120805
|
+
"default": "'s' / 'xs' (lean)",
|
|
120806
|
+
"fieldName": "size",
|
|
120807
120807
|
"inheritedFrom": {
|
|
120808
120808
|
"name": "SbbBlockLinkCommonElementMixin",
|
|
120809
120809
|
"module": "link/common/block-link-common.js"
|
|
120810
120810
|
}
|
|
120811
120811
|
},
|
|
120812
120812
|
{
|
|
120813
|
-
"name": "
|
|
120813
|
+
"name": "icon-placement",
|
|
120814
120814
|
"type": {
|
|
120815
|
-
"text": "
|
|
120815
|
+
"text": "SbbIconPlacement"
|
|
120816
120816
|
},
|
|
120817
|
-
"
|
|
120818
|
-
"
|
|
120819
|
-
"fieldName": "
|
|
120817
|
+
"default": "'start'",
|
|
120818
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
120819
|
+
"fieldName": "iconPlacement",
|
|
120820
120820
|
"inheritedFrom": {
|
|
120821
|
-
"name": "
|
|
120822
|
-
"module": "link/common/link-common.js"
|
|
120821
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120822
|
+
"module": "link/common/block-link-common.js"
|
|
120823
120823
|
}
|
|
120824
120824
|
},
|
|
120825
120825
|
{
|
|
@@ -120881,29 +120881,21 @@
|
|
|
120881
120881
|
},
|
|
120882
120882
|
{
|
|
120883
120883
|
"kind": "field",
|
|
120884
|
-
"name": "
|
|
120884
|
+
"name": "size",
|
|
120885
120885
|
"type": {
|
|
120886
|
-
"text": "
|
|
120886
|
+
"text": "SbbLinkSize"
|
|
120887
120887
|
},
|
|
120888
|
-
"privacy": "public"
|
|
120889
|
-
"static": true,
|
|
120890
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
120891
|
-
"inheritedFrom": {
|
|
120892
|
-
"name": "SbbLinkCommonElementMixin",
|
|
120893
|
-
"module": "link/common/link-common.js"
|
|
120894
|
-
}
|
|
120888
|
+
"privacy": "public"
|
|
120895
120889
|
},
|
|
120896
120890
|
{
|
|
120897
120891
|
"kind": "field",
|
|
120898
|
-
"name": "
|
|
120892
|
+
"name": "styles",
|
|
120899
120893
|
"type": {
|
|
120900
|
-
"text": "
|
|
120894
|
+
"text": "CSSResultGroup"
|
|
120901
120895
|
},
|
|
120902
120896
|
"privacy": "public",
|
|
120903
|
-
"
|
|
120904
|
-
"default": "
|
|
120905
|
-
"attribute": "size",
|
|
120906
|
-
"reflects": true,
|
|
120897
|
+
"static": true,
|
|
120898
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
120907
120899
|
"inheritedFrom": {
|
|
120908
120900
|
"name": "SbbLinkCommonElementMixin",
|
|
120909
120901
|
"module": "link/common/link-common.js"
|
|
@@ -121336,19 +121328,6 @@
|
|
|
121336
121328
|
"module": "core.js"
|
|
121337
121329
|
},
|
|
121338
121330
|
"attributes": [
|
|
121339
|
-
{
|
|
121340
|
-
"name": "size",
|
|
121341
|
-
"type": {
|
|
121342
|
-
"text": "SbbLinkSize"
|
|
121343
|
-
},
|
|
121344
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
121345
|
-
"default": "'s' / 'xs' (lean)",
|
|
121346
|
-
"fieldName": "size",
|
|
121347
|
-
"inheritedFrom": {
|
|
121348
|
-
"name": "SbbLinkCommonElementMixin",
|
|
121349
|
-
"module": "link/common/link-common.js"
|
|
121350
|
-
}
|
|
121351
|
-
},
|
|
121352
121331
|
{
|
|
121353
121332
|
"name": "negative",
|
|
121354
121333
|
"type": {
|
|
@@ -121396,6 +121375,18 @@
|
|
|
121396
121375
|
"module": "link/common/link-common.js"
|
|
121397
121376
|
}
|
|
121398
121377
|
},
|
|
121378
|
+
{
|
|
121379
|
+
"kind": "field",
|
|
121380
|
+
"name": "size",
|
|
121381
|
+
"type": {
|
|
121382
|
+
"text": "SbbLinkSize"
|
|
121383
|
+
},
|
|
121384
|
+
"privacy": "public",
|
|
121385
|
+
"description": "Size variant, either xs, s or m.",
|
|
121386
|
+
"default": "'s' / 'xs' (lean)",
|
|
121387
|
+
"attribute": "size",
|
|
121388
|
+
"reflects": true
|
|
121389
|
+
},
|
|
121399
121390
|
{
|
|
121400
121391
|
"kind": "field",
|
|
121401
121392
|
"name": "iconPlacement",
|
|
@@ -121422,22 +121413,6 @@
|
|
|
121422
121413
|
"module": "link/common/link-common.js"
|
|
121423
121414
|
}
|
|
121424
121415
|
},
|
|
121425
|
-
{
|
|
121426
|
-
"kind": "field",
|
|
121427
|
-
"name": "size",
|
|
121428
|
-
"type": {
|
|
121429
|
-
"text": "SbbLinkSize"
|
|
121430
|
-
},
|
|
121431
|
-
"privacy": "public",
|
|
121432
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
121433
|
-
"default": "'s' / 'xs' (lean)",
|
|
121434
|
-
"attribute": "size",
|
|
121435
|
-
"reflects": true,
|
|
121436
|
-
"inheritedFrom": {
|
|
121437
|
-
"name": "SbbLinkCommonElementMixin",
|
|
121438
|
-
"module": "link/common/link-common.js"
|
|
121439
|
-
}
|
|
121440
|
-
},
|
|
121441
121416
|
{
|
|
121442
121417
|
"kind": "field",
|
|
121443
121418
|
"name": "negative",
|
|
@@ -121536,6 +121511,15 @@
|
|
|
121536
121511
|
}
|
|
121537
121512
|
],
|
|
121538
121513
|
"attributes": [
|
|
121514
|
+
{
|
|
121515
|
+
"name": "size",
|
|
121516
|
+
"type": {
|
|
121517
|
+
"text": "SbbLinkSize"
|
|
121518
|
+
},
|
|
121519
|
+
"description": "Size variant, either xs, s or m.",
|
|
121520
|
+
"default": "'s' / 'xs' (lean)",
|
|
121521
|
+
"fieldName": "size"
|
|
121522
|
+
},
|
|
121539
121523
|
{
|
|
121540
121524
|
"name": "icon-placement",
|
|
121541
121525
|
"type": {
|
|
@@ -121545,19 +121529,6 @@
|
|
|
121545
121529
|
"description": "Moves the icon to the end of the component if set to true.",
|
|
121546
121530
|
"fieldName": "iconPlacement"
|
|
121547
121531
|
},
|
|
121548
|
-
{
|
|
121549
|
-
"name": "size",
|
|
121550
|
-
"type": {
|
|
121551
|
-
"text": "SbbLinkSize"
|
|
121552
|
-
},
|
|
121553
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
121554
|
-
"default": "'s' / 'xs' (lean)",
|
|
121555
|
-
"fieldName": "size",
|
|
121556
|
-
"inheritedFrom": {
|
|
121557
|
-
"name": "SbbLinkCommonElementMixin",
|
|
121558
|
-
"module": "link/common/link-common.js"
|
|
121559
|
-
}
|
|
121560
|
-
},
|
|
121561
121532
|
{
|
|
121562
121533
|
"name": "negative",
|
|
121563
121534
|
"type": {
|
|
@@ -121631,45 +121602,17 @@
|
|
|
121631
121602
|
{
|
|
121632
121603
|
"kind": "class",
|
|
121633
121604
|
"description": "",
|
|
121634
|
-
"name": "SbbInlineLinkCommonElementMixinType",
|
|
121635
|
-
"mixins": [
|
|
121636
|
-
{
|
|
121637
|
-
"name": "SbbLinkCommonElementMixin",
|
|
121638
|
-
"module": "link/common/link-common.js"
|
|
121639
|
-
}
|
|
121640
|
-
],
|
|
121641
|
-
"superclass": {
|
|
121642
|
-
"name": "SbbActionBaseElement",
|
|
121643
|
-
"module": "core.js"
|
|
121644
|
-
},
|
|
121645
|
-
"attributes": [
|
|
121646
|
-
{
|
|
121647
|
-
"name": "size",
|
|
121648
|
-
"type": {
|
|
121649
|
-
"text": "SbbLinkSize"
|
|
121650
|
-
},
|
|
121651
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
121652
|
-
"default": "'s' / 'xs' (lean)",
|
|
121653
|
-
"fieldName": "size",
|
|
121654
|
-
"inheritedFrom": {
|
|
121655
|
-
"name": "SbbLinkCommonElementMixin",
|
|
121656
|
-
"module": "link/common/link-common.js"
|
|
121657
|
-
}
|
|
121658
|
-
},
|
|
121605
|
+
"name": "SbbInlineLinkCommonElementMixinType",
|
|
121606
|
+
"mixins": [
|
|
121659
121607
|
{
|
|
121660
|
-
"name": "
|
|
121661
|
-
"
|
|
121662
|
-
"text": "boolean"
|
|
121663
|
-
},
|
|
121664
|
-
"default": "false",
|
|
121665
|
-
"description": "Negative coloring variant flag.",
|
|
121666
|
-
"fieldName": "negative",
|
|
121667
|
-
"inheritedFrom": {
|
|
121668
|
-
"name": "SbbNegativeMixin",
|
|
121669
|
-
"module": "core/mixins/negative-mixin.js"
|
|
121670
|
-
}
|
|
121608
|
+
"name": "SbbLinkCommonElementMixin",
|
|
121609
|
+
"module": "link/common/link-common.js"
|
|
121671
121610
|
}
|
|
121672
121611
|
],
|
|
121612
|
+
"superclass": {
|
|
121613
|
+
"name": "SbbActionBaseElement",
|
|
121614
|
+
"module": "core.js"
|
|
121615
|
+
},
|
|
121673
121616
|
"members": [
|
|
121674
121617
|
{
|
|
121675
121618
|
"kind": "field",
|
|
@@ -121685,22 +121628,6 @@
|
|
|
121685
121628
|
"module": "link/common/link-common.js"
|
|
121686
121629
|
}
|
|
121687
121630
|
},
|
|
121688
|
-
{
|
|
121689
|
-
"kind": "field",
|
|
121690
|
-
"name": "size",
|
|
121691
|
-
"type": {
|
|
121692
|
-
"text": "SbbLinkSize"
|
|
121693
|
-
},
|
|
121694
|
-
"privacy": "public",
|
|
121695
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
121696
|
-
"default": "'s' / 'xs' (lean)",
|
|
121697
|
-
"attribute": "size",
|
|
121698
|
-
"reflects": true,
|
|
121699
|
-
"inheritedFrom": {
|
|
121700
|
-
"name": "SbbLinkCommonElementMixin",
|
|
121701
|
-
"module": "link/common/link-common.js"
|
|
121702
|
-
}
|
|
121703
|
-
},
|
|
121704
121631
|
{
|
|
121705
121632
|
"kind": "method",
|
|
121706
121633
|
"name": "renderTemplate",
|
|
@@ -122045,6 +121972,21 @@
|
|
|
122045
121972
|
"module": "core/base-elements/element.js"
|
|
122046
121973
|
}
|
|
122047
121974
|
}
|
|
121975
|
+
],
|
|
121976
|
+
"attributes": [
|
|
121977
|
+
{
|
|
121978
|
+
"name": "negative",
|
|
121979
|
+
"type": {
|
|
121980
|
+
"text": "boolean"
|
|
121981
|
+
},
|
|
121982
|
+
"default": "false",
|
|
121983
|
+
"description": "Negative coloring variant flag.",
|
|
121984
|
+
"fieldName": "negative",
|
|
121985
|
+
"inheritedFrom": {
|
|
121986
|
+
"name": "SbbNegativeMixin",
|
|
121987
|
+
"module": "core/mixins/negative-mixin.js"
|
|
121988
|
+
}
|
|
121989
|
+
}
|
|
122048
121990
|
]
|
|
122049
121991
|
},
|
|
122050
121992
|
{
|
|
@@ -122066,22 +122008,6 @@
|
|
|
122066
122008
|
"module": "link/common/link-common.js"
|
|
122067
122009
|
}
|
|
122068
122010
|
},
|
|
122069
|
-
{
|
|
122070
|
-
"kind": "field",
|
|
122071
|
-
"name": "size",
|
|
122072
|
-
"type": {
|
|
122073
|
-
"text": "SbbLinkSize"
|
|
122074
|
-
},
|
|
122075
|
-
"privacy": "public",
|
|
122076
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
122077
|
-
"default": "'s' / 'xs' (lean)",
|
|
122078
|
-
"attribute": "size",
|
|
122079
|
-
"reflects": true,
|
|
122080
|
-
"inheritedFrom": {
|
|
122081
|
-
"name": "SbbLinkCommonElementMixin",
|
|
122082
|
-
"module": "link/common/link-common.js"
|
|
122083
|
-
}
|
|
122084
|
-
},
|
|
122085
122011
|
{
|
|
122086
122012
|
"kind": "method",
|
|
122087
122013
|
"name": "renderTemplate",
|
|
@@ -122128,19 +122054,6 @@
|
|
|
122128
122054
|
}
|
|
122129
122055
|
],
|
|
122130
122056
|
"attributes": [
|
|
122131
|
-
{
|
|
122132
|
-
"name": "size",
|
|
122133
|
-
"type": {
|
|
122134
|
-
"text": "SbbLinkSize"
|
|
122135
|
-
},
|
|
122136
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
122137
|
-
"default": "'s' / 'xs' (lean)",
|
|
122138
|
-
"fieldName": "size",
|
|
122139
|
-
"inheritedFrom": {
|
|
122140
|
-
"name": "SbbLinkCommonElementMixin",
|
|
122141
|
-
"module": "link/common/link-common.js"
|
|
122142
|
-
}
|
|
122143
|
-
},
|
|
122144
122057
|
{
|
|
122145
122058
|
"name": "negative",
|
|
122146
122059
|
"type": {
|
|
@@ -122184,15 +122097,32 @@
|
|
|
122184
122097
|
"kind": "class",
|
|
122185
122098
|
"description": "",
|
|
122186
122099
|
"name": "SbbLinkCommonElementMixinType",
|
|
122187
|
-
"
|
|
122100
|
+
"mixins": [
|
|
122188
122101
|
{
|
|
122189
|
-
"
|
|
122190
|
-
"
|
|
122102
|
+
"name": "SbbNegativeMixin",
|
|
122103
|
+
"module": "core.js"
|
|
122104
|
+
}
|
|
122105
|
+
],
|
|
122106
|
+
"superclass": {
|
|
122107
|
+
"name": "SbbActionBaseElement",
|
|
122108
|
+
"module": "core.js"
|
|
122109
|
+
},
|
|
122110
|
+
"attributes": [
|
|
122111
|
+
{
|
|
122112
|
+
"name": "negative",
|
|
122191
122113
|
"type": {
|
|
122192
|
-
"text": "
|
|
122114
|
+
"text": "boolean"
|
|
122193
122115
|
},
|
|
122194
|
-
"
|
|
122195
|
-
|
|
122116
|
+
"default": "false",
|
|
122117
|
+
"description": "Negative coloring variant flag.",
|
|
122118
|
+
"fieldName": "negative",
|
|
122119
|
+
"inheritedFrom": {
|
|
122120
|
+
"name": "SbbNegativeMixin",
|
|
122121
|
+
"module": "core/mixins/negative-mixin.js"
|
|
122122
|
+
}
|
|
122123
|
+
}
|
|
122124
|
+
],
|
|
122125
|
+
"members": [
|
|
122196
122126
|
{
|
|
122197
122127
|
"kind": "field",
|
|
122198
122128
|
"name": "negative",
|
|
@@ -122537,31 +122467,6 @@
|
|
|
122537
122467
|
"module": "core/base-elements/element.js"
|
|
122538
122468
|
}
|
|
122539
122469
|
}
|
|
122540
|
-
],
|
|
122541
|
-
"mixins": [
|
|
122542
|
-
{
|
|
122543
|
-
"name": "SbbNegativeMixin",
|
|
122544
|
-
"module": "core.js"
|
|
122545
|
-
}
|
|
122546
|
-
],
|
|
122547
|
-
"superclass": {
|
|
122548
|
-
"name": "SbbActionBaseElement",
|
|
122549
|
-
"module": "core.js"
|
|
122550
|
-
},
|
|
122551
|
-
"attributes": [
|
|
122552
|
-
{
|
|
122553
|
-
"name": "negative",
|
|
122554
|
-
"type": {
|
|
122555
|
-
"text": "boolean"
|
|
122556
|
-
},
|
|
122557
|
-
"default": "false",
|
|
122558
|
-
"description": "Negative coloring variant flag.",
|
|
122559
|
-
"fieldName": "negative",
|
|
122560
|
-
"inheritedFrom": {
|
|
122561
|
-
"name": "SbbNegativeMixin",
|
|
122562
|
-
"module": "core/mixins/negative-mixin.js"
|
|
122563
|
-
}
|
|
122564
|
-
}
|
|
122565
122470
|
]
|
|
122566
122471
|
},
|
|
122567
122472
|
{
|
|
@@ -122579,18 +122484,6 @@
|
|
|
122579
122484
|
"static": true,
|
|
122580
122485
|
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
122581
122486
|
},
|
|
122582
|
-
{
|
|
122583
|
-
"kind": "field",
|
|
122584
|
-
"name": "size",
|
|
122585
|
-
"type": {
|
|
122586
|
-
"text": "SbbLinkSize"
|
|
122587
|
-
},
|
|
122588
|
-
"privacy": "public",
|
|
122589
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
122590
|
-
"default": "'s' / 'xs' (lean)",
|
|
122591
|
-
"attribute": "size",
|
|
122592
|
-
"reflects": true
|
|
122593
|
-
},
|
|
122594
122487
|
{
|
|
122595
122488
|
"kind": "method",
|
|
122596
122489
|
"name": "renderTemplate",
|
|
@@ -122618,16 +122511,21 @@
|
|
|
122618
122511
|
}
|
|
122619
122512
|
}
|
|
122620
122513
|
],
|
|
122621
|
-
"
|
|
122514
|
+
"mixins": [
|
|
122622
122515
|
{
|
|
122623
|
-
"name": "
|
|
122516
|
+
"name": "SbbNegativeMixin",
|
|
122517
|
+
"module": "core.js"
|
|
122518
|
+
}
|
|
122519
|
+
],
|
|
122520
|
+
"parameters": [
|
|
122521
|
+
{
|
|
122522
|
+
"name": "superClass",
|
|
122624
122523
|
"type": {
|
|
122625
|
-
"text": "
|
|
122626
|
-
}
|
|
122627
|
-
|
|
122628
|
-
|
|
122629
|
-
|
|
122630
|
-
},
|
|
122524
|
+
"text": "T"
|
|
122525
|
+
}
|
|
122526
|
+
}
|
|
122527
|
+
],
|
|
122528
|
+
"attributes": [
|
|
122631
122529
|
{
|
|
122632
122530
|
"name": "negative",
|
|
122633
122531
|
"type": {
|
|
@@ -122641,20 +122539,6 @@
|
|
|
122641
122539
|
"module": "core/mixins/negative-mixin.js"
|
|
122642
122540
|
}
|
|
122643
122541
|
}
|
|
122644
|
-
],
|
|
122645
|
-
"mixins": [
|
|
122646
|
-
{
|
|
122647
|
-
"name": "SbbNegativeMixin",
|
|
122648
|
-
"module": "core.js"
|
|
122649
|
-
}
|
|
122650
|
-
],
|
|
122651
|
-
"parameters": [
|
|
122652
|
-
{
|
|
122653
|
-
"name": "superClass",
|
|
122654
|
-
"type": {
|
|
122655
|
-
"text": "T"
|
|
122656
|
-
}
|
|
122657
|
-
}
|
|
122658
122542
|
]
|
|
122659
122543
|
}
|
|
122660
122544
|
],
|
|
@@ -122721,22 +122605,6 @@
|
|
|
122721
122605
|
"module": "link/common/link-common.js"
|
|
122722
122606
|
}
|
|
122723
122607
|
},
|
|
122724
|
-
{
|
|
122725
|
-
"kind": "field",
|
|
122726
|
-
"name": "size",
|
|
122727
|
-
"type": {
|
|
122728
|
-
"text": "SbbLinkSize"
|
|
122729
|
-
},
|
|
122730
|
-
"privacy": "public",
|
|
122731
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
122732
|
-
"default": "'s' / 'xs' (lean)",
|
|
122733
|
-
"attribute": "size",
|
|
122734
|
-
"reflects": true,
|
|
122735
|
-
"inheritedFrom": {
|
|
122736
|
-
"name": "SbbLinkCommonElementMixin",
|
|
122737
|
-
"module": "link/common/link-common.js"
|
|
122738
|
-
}
|
|
122739
|
-
},
|
|
122740
122608
|
{
|
|
122741
122609
|
"kind": "method",
|
|
122742
122610
|
"name": "renderTemplate",
|
|
@@ -123278,19 +123146,6 @@
|
|
|
123278
123146
|
"tagName": "sbb-link",
|
|
123279
123147
|
"customElement": true,
|
|
123280
123148
|
"attributes": [
|
|
123281
|
-
{
|
|
123282
|
-
"name": "size",
|
|
123283
|
-
"type": {
|
|
123284
|
-
"text": "SbbLinkSize"
|
|
123285
|
-
},
|
|
123286
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
123287
|
-
"default": "'s' / 'xs' (lean)",
|
|
123288
|
-
"fieldName": "size",
|
|
123289
|
-
"inheritedFrom": {
|
|
123290
|
-
"name": "SbbLinkCommonElementMixin",
|
|
123291
|
-
"module": "link/common/link-common.js"
|
|
123292
|
-
}
|
|
123293
|
-
},
|
|
123294
123149
|
{
|
|
123295
123150
|
"name": "negative",
|
|
123296
123151
|
"type": {
|
|
@@ -123453,22 +123308,6 @@
|
|
|
123453
123308
|
"module": "link/common/link-common.js"
|
|
123454
123309
|
}
|
|
123455
123310
|
},
|
|
123456
|
-
{
|
|
123457
|
-
"kind": "field",
|
|
123458
|
-
"name": "size",
|
|
123459
|
-
"type": {
|
|
123460
|
-
"text": "SbbLinkSize"
|
|
123461
|
-
},
|
|
123462
|
-
"privacy": "public",
|
|
123463
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
123464
|
-
"default": "'s' / 'xs' (lean)",
|
|
123465
|
-
"attribute": "size",
|
|
123466
|
-
"reflects": true,
|
|
123467
|
-
"inheritedFrom": {
|
|
123468
|
-
"name": "SbbLinkCommonElementMixin",
|
|
123469
|
-
"module": "link/common/link-common.js"
|
|
123470
|
-
}
|
|
123471
|
-
},
|
|
123472
123311
|
{
|
|
123473
123312
|
"kind": "method",
|
|
123474
123313
|
"name": "renderTemplate",
|
|
@@ -124341,19 +124180,6 @@
|
|
|
124341
124180
|
"tagName": "sbb-link-button",
|
|
124342
124181
|
"customElement": true,
|
|
124343
124182
|
"attributes": [
|
|
124344
|
-
{
|
|
124345
|
-
"name": "size",
|
|
124346
|
-
"type": {
|
|
124347
|
-
"text": "SbbLinkSize"
|
|
124348
|
-
},
|
|
124349
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
124350
|
-
"default": "'s' / 'xs' (lean)",
|
|
124351
|
-
"fieldName": "size",
|
|
124352
|
-
"inheritedFrom": {
|
|
124353
|
-
"name": "SbbLinkCommonElementMixin",
|
|
124354
|
-
"module": "link/common/link-common.js"
|
|
124355
|
-
}
|
|
124356
|
-
},
|
|
124357
124183
|
{
|
|
124358
124184
|
"name": "negative",
|
|
124359
124185
|
"type": {
|
|
@@ -124501,22 +124327,6 @@
|
|
|
124501
124327
|
"module": "link/common/link-common.js"
|
|
124502
124328
|
}
|
|
124503
124329
|
},
|
|
124504
|
-
{
|
|
124505
|
-
"kind": "field",
|
|
124506
|
-
"name": "size",
|
|
124507
|
-
"type": {
|
|
124508
|
-
"text": "SbbLinkSize"
|
|
124509
|
-
},
|
|
124510
|
-
"privacy": "public",
|
|
124511
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
124512
|
-
"default": "'s' / 'xs' (lean)",
|
|
124513
|
-
"attribute": "size",
|
|
124514
|
-
"reflects": true,
|
|
124515
|
-
"inheritedFrom": {
|
|
124516
|
-
"name": "SbbLinkCommonElementMixin",
|
|
124517
|
-
"module": "link/common/link-common.js"
|
|
124518
|
-
}
|
|
124519
|
-
},
|
|
124520
124330
|
{
|
|
124521
124331
|
"kind": "method",
|
|
124522
124332
|
"name": "renderTemplate",
|
|
@@ -124909,19 +124719,6 @@
|
|
|
124909
124719
|
"tagName": "sbb-link-static",
|
|
124910
124720
|
"customElement": true,
|
|
124911
124721
|
"attributes": [
|
|
124912
|
-
{
|
|
124913
|
-
"name": "size",
|
|
124914
|
-
"type": {
|
|
124915
|
-
"text": "SbbLinkSize"
|
|
124916
|
-
},
|
|
124917
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
124918
|
-
"default": "'s' / 'xs' (lean)",
|
|
124919
|
-
"fieldName": "size",
|
|
124920
|
-
"inheritedFrom": {
|
|
124921
|
-
"name": "SbbLinkCommonElementMixin",
|
|
124922
|
-
"module": "link/common/link-common.js"
|
|
124923
|
-
}
|
|
124924
|
-
},
|
|
124925
124722
|
{
|
|
124926
124723
|
"name": "negative",
|
|
124927
124724
|
"type": {
|