@sbb-esta/lyne-elements-dev 4.0.0-dev.1776057157 → 4.0.0-dev.1776065413
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +988 -988
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -113008,27 +113008,19 @@
|
|
|
113008
113008
|
},
|
|
113009
113009
|
{
|
|
113010
113010
|
"kind": "javascript-module",
|
|
113011
|
-
"path": "header/header/header.component.js",
|
|
113011
|
+
"path": "header/header-button/header-button.component.js",
|
|
113012
113012
|
"declarations": [
|
|
113013
113013
|
{
|
|
113014
113014
|
"kind": "class",
|
|
113015
|
-
"description": "It displays a
|
|
113016
|
-
"name": "
|
|
113017
|
-
"
|
|
113015
|
+
"description": "It displays a button element that can be used in the `sbb-header` component.",
|
|
113016
|
+
"name": "SbbHeaderButtonElement",
|
|
113017
|
+
"slots": [
|
|
113018
113018
|
{
|
|
113019
|
-
"description": "
|
|
113020
|
-
"name": "
|
|
113021
|
-
"default": "10"
|
|
113019
|
+
"description": "Slot used to render the button icon.",
|
|
113020
|
+
"name": "icon"
|
|
113022
113021
|
},
|
|
113023
113022
|
{
|
|
113024
|
-
"description": "
|
|
113025
|
-
"name": "--sbb-header-height",
|
|
113026
|
-
"default": "zero-small:var(--sbb-spacing-fixed-14x);large-ultra:var(--sbb-spacing-fixed-24x)"
|
|
113027
|
-
}
|
|
113028
|
-
],
|
|
113029
|
-
"slots": [
|
|
113030
|
-
{
|
|
113031
|
-
"description": "Use the unnamed slot to add actions, content and logo to the header.",
|
|
113023
|
+
"description": "Use the unnamed slot to add content to the `sbb-header-button`.",
|
|
113032
113024
|
"name": ""
|
|
113033
113025
|
}
|
|
113034
113026
|
],
|
|
@@ -113042,159 +113034,376 @@
|
|
|
113042
113034
|
"privacy": "public",
|
|
113043
113035
|
"static": true,
|
|
113044
113036
|
"readonly": true,
|
|
113045
|
-
"default": "'sbb-header'",
|
|
113046
113037
|
"inheritedFrom": {
|
|
113047
113038
|
"name": "SbbElement",
|
|
113048
113039
|
"module": "core/base-elements/element.js"
|
|
113049
|
-
}
|
|
113040
|
+
},
|
|
113041
|
+
"default": "'sbb-header-button'"
|
|
113050
113042
|
},
|
|
113051
113043
|
{
|
|
113052
113044
|
"kind": "field",
|
|
113053
|
-
"name": "
|
|
113054
|
-
"
|
|
113045
|
+
"name": "styles",
|
|
113046
|
+
"type": {
|
|
113047
|
+
"text": "CSSResultGroup"
|
|
113048
|
+
},
|
|
113049
|
+
"privacy": "public",
|
|
113055
113050
|
"static": true,
|
|
113056
|
-
"default": "
|
|
113051
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
113052
|
+
"inheritedFrom": {
|
|
113053
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
113054
|
+
"module": "header/common/header-action-common.js"
|
|
113055
|
+
}
|
|
113057
113056
|
},
|
|
113058
113057
|
{
|
|
113059
113058
|
"kind": "field",
|
|
113060
|
-
"name": "
|
|
113061
|
-
"
|
|
113062
|
-
|
|
113063
|
-
|
|
113059
|
+
"name": "expandFrom",
|
|
113060
|
+
"type": {
|
|
113061
|
+
"text": "SbbHorizontalFrom"
|
|
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
|
+
}
|
|
113072
|
+
},
|
|
113073
|
+
{
|
|
113074
|
+
"kind": "method",
|
|
113075
|
+
"name": "renderTemplate",
|
|
113076
|
+
"privacy": "protected",
|
|
113077
|
+
"return": {
|
|
113078
|
+
"type": {
|
|
113079
|
+
"text": "TemplateResult"
|
|
113080
|
+
}
|
|
113081
|
+
},
|
|
113082
|
+
"description": "Override this method to render the component template.",
|
|
113083
|
+
"inheritedFrom": {
|
|
113084
|
+
"name": "SbbActionBaseElement",
|
|
113085
|
+
"module": "core/base-elements/action-base-element.js"
|
|
113086
|
+
}
|
|
113064
113087
|
},
|
|
113065
113088
|
{
|
|
113066
113089
|
"kind": "field",
|
|
113067
|
-
"name": "
|
|
113090
|
+
"name": "elementDependencies",
|
|
113068
113091
|
"type": {
|
|
113069
|
-
"text": "
|
|
113092
|
+
"text": "SbbElementType[]"
|
|
113070
113093
|
},
|
|
113071
113094
|
"privacy": "public",
|
|
113072
|
-
"
|
|
113073
|
-
"
|
|
113074
|
-
|
|
113075
|
-
|
|
113095
|
+
"static": true,
|
|
113096
|
+
"inheritedFrom": {
|
|
113097
|
+
"name": "SbbElement",
|
|
113098
|
+
"module": "core/base-elements/element.js"
|
|
113099
|
+
},
|
|
113100
|
+
"default": "[SbbIconElement]"
|
|
113076
113101
|
},
|
|
113077
113102
|
{
|
|
113078
113103
|
"kind": "field",
|
|
113079
|
-
"name": "
|
|
113104
|
+
"name": "iconName",
|
|
113080
113105
|
"type": {
|
|
113081
|
-
"text": "
|
|
113106
|
+
"text": "string"
|
|
113082
113107
|
},
|
|
113083
113108
|
"privacy": "public",
|
|
113084
|
-
"default": "
|
|
113085
|
-
"description": "The
|
|
113086
|
-
"attribute": "
|
|
113109
|
+
"default": "''",
|
|
113110
|
+
"description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
|
|
113111
|
+
"attribute": "icon-name",
|
|
113112
|
+
"inheritedFrom": {
|
|
113113
|
+
"name": "SbbIconNameMixin",
|
|
113114
|
+
"module": "icon/icon-name-mixin.js"
|
|
113115
|
+
}
|
|
113116
|
+
},
|
|
113117
|
+
{
|
|
113118
|
+
"kind": "method",
|
|
113119
|
+
"name": "renderIconSlot",
|
|
113120
|
+
"privacy": "protected",
|
|
113121
|
+
"return": {
|
|
113122
|
+
"type": {
|
|
113123
|
+
"text": "TemplateResult"
|
|
113124
|
+
}
|
|
113125
|
+
},
|
|
113126
|
+
"parameters": [
|
|
113127
|
+
{
|
|
113128
|
+
"name": "classname",
|
|
113129
|
+
"optional": true,
|
|
113130
|
+
"type": {
|
|
113131
|
+
"text": "string"
|
|
113132
|
+
}
|
|
113133
|
+
}
|
|
113134
|
+
],
|
|
113135
|
+
"inheritedFrom": {
|
|
113136
|
+
"name": "SbbIconNameMixin",
|
|
113137
|
+
"module": "icon/icon-name-mixin.js"
|
|
113138
|
+
}
|
|
113139
|
+
},
|
|
113140
|
+
{
|
|
113141
|
+
"kind": "method",
|
|
113142
|
+
"name": "renderIconName",
|
|
113143
|
+
"privacy": "protected",
|
|
113144
|
+
"return": {
|
|
113145
|
+
"type": {
|
|
113146
|
+
"text": "string"
|
|
113147
|
+
}
|
|
113148
|
+
},
|
|
113149
|
+
"inheritedFrom": {
|
|
113150
|
+
"name": "SbbIconNameMixin",
|
|
113151
|
+
"module": "icon/icon-name-mixin.js"
|
|
113152
|
+
}
|
|
113153
|
+
},
|
|
113154
|
+
{
|
|
113155
|
+
"kind": "method",
|
|
113156
|
+
"name": "_renderIconName",
|
|
113157
|
+
"privacy": "private",
|
|
113158
|
+
"return": {
|
|
113159
|
+
"type": {
|
|
113160
|
+
"text": "string"
|
|
113161
|
+
}
|
|
113162
|
+
},
|
|
113163
|
+
"inheritedFrom": {
|
|
113164
|
+
"name": "SbbIconNameMixin",
|
|
113165
|
+
"module": "icon/icon-name-mixin.js"
|
|
113166
|
+
}
|
|
113087
113167
|
},
|
|
113088
113168
|
{
|
|
113089
113169
|
"kind": "field",
|
|
113090
|
-
"name": "
|
|
113170
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
113091
113171
|
"type": {
|
|
113092
|
-
"text": "
|
|
113172
|
+
"text": "array"
|
|
113173
|
+
},
|
|
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
|
+
}
|
|
113181
|
+
},
|
|
113182
|
+
{
|
|
113183
|
+
"kind": "field",
|
|
113184
|
+
"name": "value",
|
|
113185
|
+
"type": {
|
|
113186
|
+
"text": "string"
|
|
113093
113187
|
},
|
|
113094
113188
|
"privacy": "public",
|
|
113095
|
-
"
|
|
113096
|
-
|
|
113097
|
-
|
|
113098
|
-
|
|
113189
|
+
"inheritedFrom": {
|
|
113190
|
+
"name": "SbbButtonBaseElement",
|
|
113191
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113192
|
+
},
|
|
113193
|
+
"default": "''",
|
|
113194
|
+
"description": "Value of the form element.",
|
|
113195
|
+
"attribute": "value"
|
|
113099
113196
|
},
|
|
113100
113197
|
{
|
|
113101
113198
|
"kind": "field",
|
|
113102
|
-
"name": "
|
|
113199
|
+
"name": "type",
|
|
113200
|
+
"privacy": "public",
|
|
113201
|
+
"description": "The type attribute to use for the button.",
|
|
113202
|
+
"default": "'button'",
|
|
113103
113203
|
"type": {
|
|
113104
|
-
"text": "
|
|
113204
|
+
"text": "SbbButtonType"
|
|
113205
|
+
},
|
|
113206
|
+
"attribute": "type",
|
|
113207
|
+
"inheritedFrom": {
|
|
113208
|
+
"name": "SbbButtonBaseElement",
|
|
113209
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113210
|
+
}
|
|
113211
|
+
},
|
|
113212
|
+
{
|
|
113213
|
+
"kind": "field",
|
|
113214
|
+
"name": "form",
|
|
113215
|
+
"type": {
|
|
113216
|
+
"text": "HTMLFormElement | null"
|
|
113105
113217
|
},
|
|
113106
113218
|
"privacy": "public",
|
|
113107
|
-
"description": "
|
|
113108
|
-
"
|
|
113109
|
-
|
|
113110
|
-
|
|
113219
|
+
"description": "The `<form>` element to associate the button with.",
|
|
113220
|
+
"inheritedFrom": {
|
|
113221
|
+
"name": "SbbButtonBaseElement",
|
|
113222
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113223
|
+
},
|
|
113224
|
+
"attribute": "form"
|
|
113111
113225
|
},
|
|
113112
113226
|
{
|
|
113113
113227
|
"kind": "field",
|
|
113114
|
-
"name": "
|
|
113228
|
+
"name": "_formId",
|
|
113115
113229
|
"type": {
|
|
113116
|
-
"text": "
|
|
113230
|
+
"text": "string"
|
|
113117
113231
|
},
|
|
113118
113232
|
"privacy": "private",
|
|
113119
|
-
"default": "
|
|
113233
|
+
"default": "''",
|
|
113234
|
+
"inheritedFrom": {
|
|
113235
|
+
"name": "SbbButtonBaseElement",
|
|
113236
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113237
|
+
}
|
|
113120
113238
|
},
|
|
113121
113239
|
{
|
|
113122
113240
|
"kind": "field",
|
|
113123
|
-
"name": "
|
|
113241
|
+
"name": "_handleButtonClick",
|
|
113242
|
+
"privacy": "private",
|
|
113243
|
+
"inheritedFrom": {
|
|
113244
|
+
"name": "SbbButtonBaseElement",
|
|
113245
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113246
|
+
}
|
|
113247
|
+
},
|
|
113248
|
+
{
|
|
113249
|
+
"kind": "method",
|
|
113250
|
+
"name": "_requestSubmit",
|
|
113251
|
+
"privacy": "private",
|
|
113252
|
+
"return": {
|
|
113253
|
+
"type": {
|
|
113254
|
+
"text": "void"
|
|
113255
|
+
}
|
|
113256
|
+
},
|
|
113257
|
+
"parameters": [
|
|
113258
|
+
{
|
|
113259
|
+
"name": "form",
|
|
113260
|
+
"type": {
|
|
113261
|
+
"text": "HTMLFormElement"
|
|
113262
|
+
}
|
|
113263
|
+
}
|
|
113264
|
+
],
|
|
113265
|
+
"inheritedFrom": {
|
|
113266
|
+
"name": "SbbButtonBaseElement",
|
|
113267
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113268
|
+
}
|
|
113269
|
+
},
|
|
113270
|
+
{
|
|
113271
|
+
"kind": "field",
|
|
113272
|
+
"name": "_formKeyDown",
|
|
113273
|
+
"privacy": "private",
|
|
113274
|
+
"inheritedFrom": {
|
|
113275
|
+
"name": "SbbButtonBaseElement",
|
|
113276
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113277
|
+
}
|
|
113278
|
+
},
|
|
113279
|
+
{
|
|
113280
|
+
"kind": "field",
|
|
113281
|
+
"name": "formAssociated",
|
|
113124
113282
|
"type": {
|
|
113125
|
-
"text": "
|
|
113283
|
+
"text": "boolean"
|
|
113126
113284
|
},
|
|
113127
|
-
"privacy": "
|
|
113285
|
+
"privacy": "public",
|
|
113286
|
+
"static": true,
|
|
113287
|
+
"default": "true",
|
|
113288
|
+
"inheritedFrom": {
|
|
113289
|
+
"name": "SbbFormAssociatedMixin",
|
|
113290
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113291
|
+
}
|
|
113128
113292
|
},
|
|
113129
113293
|
{
|
|
113130
113294
|
"kind": "field",
|
|
113131
|
-
"name": "
|
|
113295
|
+
"name": "name",
|
|
113296
|
+
"privacy": "public",
|
|
113297
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
113132
113298
|
"type": {
|
|
113133
|
-
"text": "
|
|
113299
|
+
"text": "string"
|
|
113134
113300
|
},
|
|
113135
|
-
"
|
|
113301
|
+
"attribute": "name",
|
|
113302
|
+
"inheritedFrom": {
|
|
113303
|
+
"name": "SbbFormAssociatedMixin",
|
|
113304
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113305
|
+
}
|
|
113136
113306
|
},
|
|
113137
113307
|
{
|
|
113138
113308
|
"kind": "field",
|
|
113139
|
-
"name": "
|
|
113309
|
+
"name": "validity",
|
|
113140
113310
|
"type": {
|
|
113141
|
-
"text": "
|
|
113311
|
+
"text": "ValidityState"
|
|
113142
113312
|
},
|
|
113143
|
-
"privacy": "
|
|
113313
|
+
"privacy": "public",
|
|
113314
|
+
"description": "Returns the ValidityState object for this element.",
|
|
113315
|
+
"readonly": true,
|
|
113316
|
+
"inheritedFrom": {
|
|
113317
|
+
"name": "SbbFormAssociatedMixin",
|
|
113318
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113319
|
+
}
|
|
113144
113320
|
},
|
|
113145
113321
|
{
|
|
113146
113322
|
"kind": "field",
|
|
113147
|
-
"name": "
|
|
113323
|
+
"name": "validationMessage",
|
|
113148
113324
|
"type": {
|
|
113149
|
-
"text": "
|
|
113325
|
+
"text": "string"
|
|
113150
113326
|
},
|
|
113151
|
-
"privacy": "
|
|
113152
|
-
"
|
|
113327
|
+
"privacy": "public",
|
|
113328
|
+
"description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
|
|
113329
|
+
"readonly": true,
|
|
113330
|
+
"inheritedFrom": {
|
|
113331
|
+
"name": "SbbFormAssociatedMixin",
|
|
113332
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113333
|
+
}
|
|
113153
113334
|
},
|
|
113154
113335
|
{
|
|
113155
113336
|
"kind": "field",
|
|
113156
|
-
"name": "
|
|
113337
|
+
"name": "willValidate",
|
|
113157
113338
|
"type": {
|
|
113158
|
-
"text": "
|
|
113339
|
+
"text": "boolean"
|
|
113159
113340
|
},
|
|
113341
|
+
"privacy": "public",
|
|
113342
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
113343
|
+
"readonly": true,
|
|
113344
|
+
"inheritedFrom": {
|
|
113345
|
+
"name": "SbbFormAssociatedMixin",
|
|
113346
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113347
|
+
}
|
|
113348
|
+
},
|
|
113349
|
+
{
|
|
113350
|
+
"kind": "field",
|
|
113351
|
+
"name": "_validityStates",
|
|
113160
113352
|
"privacy": "private",
|
|
113161
|
-
"default": "
|
|
113353
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
113354
|
+
"inheritedFrom": {
|
|
113355
|
+
"name": "SbbFormAssociatedMixin",
|
|
113356
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113357
|
+
}
|
|
113358
|
+
},
|
|
113359
|
+
{
|
|
113360
|
+
"kind": "field",
|
|
113361
|
+
"name": "formDisabled",
|
|
113362
|
+
"type": {
|
|
113363
|
+
"text": "boolean"
|
|
113364
|
+
},
|
|
113365
|
+
"privacy": "protected",
|
|
113366
|
+
"default": "false",
|
|
113367
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
113368
|
+
"inheritedFrom": {
|
|
113369
|
+
"name": "SbbFormAssociatedMixin",
|
|
113370
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113371
|
+
}
|
|
113162
113372
|
},
|
|
113163
113373
|
{
|
|
113164
113374
|
"kind": "method",
|
|
113165
|
-
"name": "
|
|
113166
|
-
"privacy": "
|
|
113167
|
-
"static": true,
|
|
113375
|
+
"name": "checkValidity",
|
|
113376
|
+
"privacy": "public",
|
|
113168
113377
|
"return": {
|
|
113169
113378
|
"type": {
|
|
113170
|
-
"text": "
|
|
113379
|
+
"text": "boolean"
|
|
113171
113380
|
}
|
|
113381
|
+
},
|
|
113382
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
113383
|
+
"inheritedFrom": {
|
|
113384
|
+
"name": "SbbFormAssociatedMixin",
|
|
113385
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113172
113386
|
}
|
|
113173
113387
|
},
|
|
113174
113388
|
{
|
|
113175
113389
|
"kind": "method",
|
|
113176
|
-
"name": "
|
|
113177
|
-
"privacy": "
|
|
113178
|
-
"static": true,
|
|
113390
|
+
"name": "reportValidity",
|
|
113391
|
+
"privacy": "public",
|
|
113179
113392
|
"return": {
|
|
113180
113393
|
"type": {
|
|
113181
|
-
"text": "
|
|
113394
|
+
"text": "boolean"
|
|
113182
113395
|
}
|
|
113183
113396
|
},
|
|
113184
|
-
"
|
|
113185
|
-
|
|
113186
|
-
|
|
113187
|
-
|
|
113188
|
-
|
|
113189
|
-
}
|
|
113190
|
-
}
|
|
113191
|
-
]
|
|
113397
|
+
"description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
|
|
113398
|
+
"inheritedFrom": {
|
|
113399
|
+
"name": "SbbFormAssociatedMixin",
|
|
113400
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113401
|
+
}
|
|
113192
113402
|
},
|
|
113193
113403
|
{
|
|
113194
113404
|
"kind": "method",
|
|
113195
|
-
"name": "
|
|
113196
|
-
"privacy": "
|
|
113197
|
-
"static": true,
|
|
113405
|
+
"name": "setCustomValidity",
|
|
113406
|
+
"privacy": "public",
|
|
113198
113407
|
"return": {
|
|
113199
113408
|
"type": {
|
|
113200
113409
|
"text": "void"
|
|
@@ -113202,131 +113411,286 @@
|
|
|
113202
113411
|
},
|
|
113203
113412
|
"parameters": [
|
|
113204
113413
|
{
|
|
113205
|
-
"name": "
|
|
113414
|
+
"name": "message",
|
|
113206
113415
|
"type": {
|
|
113207
|
-
"text": "
|
|
113416
|
+
"text": "string"
|
|
113208
113417
|
}
|
|
113209
113418
|
}
|
|
113210
|
-
]
|
|
113419
|
+
],
|
|
113420
|
+
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
113421
|
+
"inheritedFrom": {
|
|
113422
|
+
"name": "SbbFormAssociatedMixin",
|
|
113423
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113424
|
+
}
|
|
113211
113425
|
},
|
|
113212
113426
|
{
|
|
113213
113427
|
"kind": "method",
|
|
113214
|
-
"name": "
|
|
113428
|
+
"name": "_hasDisabledAncestor",
|
|
113215
113429
|
"privacy": "private",
|
|
113216
|
-
"static": true,
|
|
113217
113430
|
"return": {
|
|
113218
113431
|
"type": {
|
|
113219
|
-
"text": "
|
|
113432
|
+
"text": "boolean"
|
|
113220
113433
|
}
|
|
113434
|
+
},
|
|
113435
|
+
"inheritedFrom": {
|
|
113436
|
+
"name": "SbbFormAssociatedMixin",
|
|
113437
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113221
113438
|
}
|
|
113222
113439
|
},
|
|
113223
113440
|
{
|
|
113224
113441
|
"kind": "method",
|
|
113225
|
-
"name": "
|
|
113226
|
-
"privacy": "
|
|
113442
|
+
"name": "updateFormValue",
|
|
113443
|
+
"privacy": "protected",
|
|
113227
113444
|
"return": {
|
|
113228
113445
|
"type": {
|
|
113229
113446
|
"text": "void"
|
|
113230
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"
|
|
113231
113467
|
}
|
|
113232
113468
|
},
|
|
113233
113469
|
{
|
|
113234
113470
|
"kind": "method",
|
|
113235
|
-
"name": "
|
|
113236
|
-
"privacy": "
|
|
113471
|
+
"name": "setValidityFlag",
|
|
113472
|
+
"privacy": "protected",
|
|
113237
113473
|
"return": {
|
|
113238
113474
|
"type": {
|
|
113239
113475
|
"text": "void"
|
|
113240
113476
|
}
|
|
113241
113477
|
},
|
|
113242
|
-
"
|
|
113478
|
+
"parameters": [
|
|
113479
|
+
{
|
|
113480
|
+
"name": "flag",
|
|
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,
|
|
113494
|
+
"type": {
|
|
113495
|
+
"text": "ValidityStateFlags[T]"
|
|
113496
|
+
}
|
|
113497
|
+
}
|
|
113498
|
+
],
|
|
113499
|
+
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
113500
|
+
"inheritedFrom": {
|
|
113501
|
+
"name": "SbbFormAssociatedMixin",
|
|
113502
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113503
|
+
}
|
|
113243
113504
|
},
|
|
113244
113505
|
{
|
|
113245
113506
|
"kind": "method",
|
|
113246
|
-
"name": "
|
|
113247
|
-
"privacy": "
|
|
113507
|
+
"name": "removeValidityFlag",
|
|
113508
|
+
"privacy": "protected",
|
|
113248
113509
|
"return": {
|
|
113249
113510
|
"type": {
|
|
113250
|
-
"text": "
|
|
113511
|
+
"text": "void"
|
|
113251
113512
|
}
|
|
113252
113513
|
},
|
|
113253
113514
|
"parameters": [
|
|
113254
113515
|
{
|
|
113255
|
-
"name": "
|
|
113516
|
+
"name": "flag",
|
|
113256
113517
|
"type": {
|
|
113257
|
-
"text": "
|
|
113518
|
+
"text": "T"
|
|
113258
113519
|
}
|
|
113259
113520
|
}
|
|
113260
113521
|
],
|
|
113261
|
-
"description": "
|
|
113522
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
113523
|
+
"inheritedFrom": {
|
|
113524
|
+
"name": "SbbFormAssociatedMixin",
|
|
113525
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113526
|
+
}
|
|
113262
113527
|
},
|
|
113263
113528
|
{
|
|
113264
113529
|
"kind": "method",
|
|
113265
|
-
"name": "
|
|
113266
|
-
"privacy": "
|
|
113530
|
+
"name": "validate",
|
|
113531
|
+
"privacy": "protected",
|
|
113267
113532
|
"return": {
|
|
113268
113533
|
"type": {
|
|
113269
113534
|
"text": "void"
|
|
113270
113535
|
}
|
|
113271
113536
|
},
|
|
113272
|
-
"description": "
|
|
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
|
+
}
|
|
113273
113542
|
},
|
|
113274
113543
|
{
|
|
113275
113544
|
"kind": "method",
|
|
113276
|
-
"name": "
|
|
113277
|
-
"privacy": "
|
|
113545
|
+
"name": "shouldValidate",
|
|
113546
|
+
"privacy": "protected",
|
|
113278
113547
|
"return": {
|
|
113279
113548
|
"type": {
|
|
113280
|
-
"text": "
|
|
113549
|
+
"text": "boolean"
|
|
113281
113550
|
}
|
|
113282
113551
|
},
|
|
113283
|
-
"
|
|
113552
|
+
"parameters": [
|
|
113553
|
+
{
|
|
113554
|
+
"name": "name",
|
|
113555
|
+
"type": {
|
|
113556
|
+
"text": "PropertyKey | undefined"
|
|
113557
|
+
}
|
|
113558
|
+
}
|
|
113559
|
+
],
|
|
113560
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
113561
|
+
"inheritedFrom": {
|
|
113562
|
+
"name": "SbbFormAssociatedMixin",
|
|
113563
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113564
|
+
}
|
|
113284
113565
|
},
|
|
113285
113566
|
{
|
|
113286
113567
|
"kind": "method",
|
|
113287
|
-
"name": "
|
|
113568
|
+
"name": "_setInternalValidity",
|
|
113288
113569
|
"privacy": "private",
|
|
113289
113570
|
"return": {
|
|
113290
113571
|
"type": {
|
|
113291
113572
|
"text": "void"
|
|
113292
113573
|
}
|
|
113574
|
+
},
|
|
113575
|
+
"inheritedFrom": {
|
|
113576
|
+
"name": "SbbFormAssociatedMixin",
|
|
113577
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113293
113578
|
}
|
|
113294
113579
|
},
|
|
113295
113580
|
{
|
|
113296
113581
|
"kind": "field",
|
|
113297
|
-
"name": "
|
|
113582
|
+
"name": "role",
|
|
113298
113583
|
"type": {
|
|
113299
|
-
"text": "
|
|
113584
|
+
"text": "ElementInternals['role']"
|
|
113300
113585
|
},
|
|
113301
113586
|
"privacy": "public",
|
|
113302
113587
|
"static": true,
|
|
113303
|
-
"default": "true",
|
|
113304
113588
|
"inheritedFrom": {
|
|
113305
113589
|
"name": "SbbElement",
|
|
113306
113590
|
"module": "core/base-elements/element.js"
|
|
113591
|
+
},
|
|
113592
|
+
"readonly": true,
|
|
113593
|
+
"default": "'button'"
|
|
113594
|
+
},
|
|
113595
|
+
{
|
|
113596
|
+
"kind": "field",
|
|
113597
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
113598
|
+
"privacy": "private",
|
|
113599
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
113600
|
+
"parameters": [
|
|
113601
|
+
{
|
|
113602
|
+
"description": "The origin event.",
|
|
113603
|
+
"name": "event"
|
|
113604
|
+
}
|
|
113605
|
+
],
|
|
113606
|
+
"inheritedFrom": {
|
|
113607
|
+
"name": "SbbButtonLikeBaseElement",
|
|
113608
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113307
113609
|
}
|
|
113308
113610
|
},
|
|
113309
113611
|
{
|
|
113310
113612
|
"kind": "field",
|
|
113311
|
-
"name": "
|
|
113613
|
+
"name": "_removeActiveMarker",
|
|
113614
|
+
"privacy": "private",
|
|
113615
|
+
"inheritedFrom": {
|
|
113616
|
+
"name": "SbbButtonLikeBaseElement",
|
|
113617
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113618
|
+
}
|
|
113619
|
+
},
|
|
113620
|
+
{
|
|
113621
|
+
"kind": "field",
|
|
113622
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
113623
|
+
"privacy": "private",
|
|
113624
|
+
"description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
|
|
113625
|
+
"parameters": [
|
|
113626
|
+
{
|
|
113627
|
+
"description": "The origin event.",
|
|
113628
|
+
"name": "event"
|
|
113629
|
+
}
|
|
113630
|
+
],
|
|
113631
|
+
"inheritedFrom": {
|
|
113632
|
+
"name": "SbbButtonLikeBaseElement",
|
|
113633
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113634
|
+
}
|
|
113635
|
+
},
|
|
113636
|
+
{
|
|
113637
|
+
"kind": "field",
|
|
113638
|
+
"name": "_dispatchClickEvent",
|
|
113639
|
+
"privacy": "private",
|
|
113640
|
+
"inheritedFrom": {
|
|
113641
|
+
"name": "SbbButtonLikeBaseElement",
|
|
113642
|
+
"module": "core/base-elements/button-base-element.js"
|
|
113643
|
+
}
|
|
113644
|
+
},
|
|
113645
|
+
{
|
|
113646
|
+
"kind": "field",
|
|
113647
|
+
"name": "maybeDisabled",
|
|
113312
113648
|
"type": {
|
|
113313
|
-
"text": "
|
|
113649
|
+
"text": "boolean | undefined"
|
|
113314
113650
|
},
|
|
113315
|
-
"privacy": "
|
|
113316
|
-
"
|
|
113651
|
+
"privacy": "protected",
|
|
113652
|
+
"readonly": true,
|
|
113317
113653
|
"inheritedFrom": {
|
|
113318
|
-
"name": "
|
|
113319
|
-
"module": "core/base-elements/element.js"
|
|
113654
|
+
"name": "SbbActionBaseElement",
|
|
113655
|
+
"module": "core/base-elements/action-base-element.js"
|
|
113320
113656
|
}
|
|
113321
113657
|
},
|
|
113322
113658
|
{
|
|
113323
113659
|
"kind": "field",
|
|
113324
|
-
"name": "
|
|
113660
|
+
"name": "maybeDisabledInteractive",
|
|
113325
113661
|
"type": {
|
|
113326
|
-
"text": "
|
|
113662
|
+
"text": "boolean | undefined"
|
|
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
|
+
}
|
|
113679
|
+
},
|
|
113680
|
+
"inheritedFrom": {
|
|
113681
|
+
"name": "SbbActionBaseElement",
|
|
113682
|
+
"module": "core/base-elements/action-base-element.js"
|
|
113683
|
+
}
|
|
113684
|
+
},
|
|
113685
|
+
{
|
|
113686
|
+
"kind": "field",
|
|
113687
|
+
"name": "['_$sbbElement$']",
|
|
113688
|
+
"type": {
|
|
113689
|
+
"text": "boolean"
|
|
113327
113690
|
},
|
|
113328
113691
|
"privacy": "public",
|
|
113329
113692
|
"static": true,
|
|
113693
|
+
"default": "true",
|
|
113330
113694
|
"inheritedFrom": {
|
|
113331
113695
|
"name": "SbbElement",
|
|
113332
113696
|
"module": "core/base-elements/element.js"
|
|
@@ -113552,461 +113916,279 @@
|
|
|
113552
113916
|
}
|
|
113553
113917
|
}
|
|
113554
113918
|
],
|
|
113555
|
-
"
|
|
113556
|
-
{
|
|
113557
|
-
"name": "expanded",
|
|
113558
|
-
"type": {
|
|
113559
|
-
"text": "boolean"
|
|
113560
|
-
},
|
|
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"
|
|
113564
|
-
},
|
|
113565
|
-
{
|
|
113566
|
-
"name": "scroll-origin",
|
|
113567
|
-
"type": {
|
|
113568
|
-
"text": "HTMLElement | null"
|
|
113569
|
-
},
|
|
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"
|
|
113573
|
-
},
|
|
113574
|
-
{
|
|
113575
|
-
"name": "hide-on-scroll",
|
|
113576
|
-
"type": {
|
|
113577
|
-
"text": "boolean"
|
|
113578
|
-
},
|
|
113579
|
-
"default": "false",
|
|
113580
|
-
"description": "Whether the header should hide and show on scroll.",
|
|
113581
|
-
"fieldName": "hideOnScroll"
|
|
113582
|
-
},
|
|
113919
|
+
"mixins": [
|
|
113583
113920
|
{
|
|
113584
|
-
"name": "
|
|
113585
|
-
"
|
|
113586
|
-
"text": "'m' | 's'"
|
|
113587
|
-
},
|
|
113588
|
-
"description": "Size of the header, either m or s.",
|
|
113589
|
-
"default": "'m' / 's' (lean)",
|
|
113590
|
-
"fieldName": "size"
|
|
113921
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
113922
|
+
"module": "header/common/header-action-common.js"
|
|
113591
113923
|
}
|
|
113592
113924
|
],
|
|
113593
113925
|
"superclass": {
|
|
113594
|
-
"name": "
|
|
113926
|
+
"name": "SbbButtonBaseElement",
|
|
113595
113927
|
"module": "core.js"
|
|
113596
113928
|
},
|
|
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": [
|
|
113621
|
-
{
|
|
113622
|
-
"description": "Slot used to render the button icon.",
|
|
113623
|
-
"name": "icon"
|
|
113624
|
-
},
|
|
113625
|
-
{
|
|
113626
|
-
"description": "Use the unnamed slot to add content to the `sbb-header-button`.",
|
|
113627
|
-
"name": ""
|
|
113628
|
-
}
|
|
113629
|
-
],
|
|
113630
|
-
"members": [
|
|
113631
|
-
{
|
|
113632
|
-
"kind": "field",
|
|
113633
|
-
"name": "elementName",
|
|
113634
|
-
"type": {
|
|
113635
|
-
"text": "string"
|
|
113636
|
-
},
|
|
113637
|
-
"privacy": "public",
|
|
113638
|
-
"static": true,
|
|
113639
|
-
"readonly": true,
|
|
113640
|
-
"inheritedFrom": {
|
|
113641
|
-
"name": "SbbElement",
|
|
113642
|
-
"module": "core/base-elements/element.js"
|
|
113643
|
-
},
|
|
113644
|
-
"default": "'sbb-header-button'"
|
|
113645
|
-
},
|
|
113646
|
-
{
|
|
113647
|
-
"kind": "field",
|
|
113648
|
-
"name": "styles",
|
|
113649
|
-
"type": {
|
|
113650
|
-
"text": "CSSResultGroup"
|
|
113651
|
-
},
|
|
113652
|
-
"privacy": "public",
|
|
113653
|
-
"static": true,
|
|
113654
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
113655
|
-
"inheritedFrom": {
|
|
113656
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
113657
|
-
"module": "header/common/header-action-common.js"
|
|
113658
|
-
}
|
|
113659
|
-
},
|
|
113929
|
+
"tagName": "sbb-header-button",
|
|
113930
|
+
"customElement": true,
|
|
113931
|
+
"attributes": [
|
|
113660
113932
|
{
|
|
113661
|
-
"
|
|
113662
|
-
"name": "expandFrom",
|
|
113933
|
+
"name": "expand-from",
|
|
113663
113934
|
"type": {
|
|
113664
113935
|
"text": "SbbHorizontalFrom"
|
|
113665
113936
|
},
|
|
113666
|
-
"privacy": "public",
|
|
113667
113937
|
"default": "'large'",
|
|
113668
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.",
|
|
113669
|
-
"
|
|
113670
|
-
"reflects": true,
|
|
113671
|
-
"inheritedFrom": {
|
|
113672
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
113673
|
-
"module": "header/common/header-action-common.js"
|
|
113674
|
-
}
|
|
113675
|
-
},
|
|
113676
|
-
{
|
|
113677
|
-
"kind": "method",
|
|
113678
|
-
"name": "renderTemplate",
|
|
113679
|
-
"privacy": "protected",
|
|
113680
|
-
"return": {
|
|
113681
|
-
"type": {
|
|
113682
|
-
"text": "TemplateResult"
|
|
113683
|
-
}
|
|
113684
|
-
},
|
|
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,
|
|
113699
|
-
"inheritedFrom": {
|
|
113700
|
-
"name": "SbbElement",
|
|
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"
|
|
113718
|
-
}
|
|
113719
|
-
},
|
|
113720
|
-
{
|
|
113721
|
-
"kind": "method",
|
|
113722
|
-
"name": "renderIconSlot",
|
|
113723
|
-
"privacy": "protected",
|
|
113724
|
-
"return": {
|
|
113725
|
-
"type": {
|
|
113726
|
-
"text": "TemplateResult"
|
|
113727
|
-
}
|
|
113728
|
-
},
|
|
113729
|
-
"parameters": [
|
|
113730
|
-
{
|
|
113731
|
-
"name": "classname",
|
|
113732
|
-
"optional": true,
|
|
113733
|
-
"type": {
|
|
113734
|
-
"text": "string"
|
|
113735
|
-
}
|
|
113736
|
-
}
|
|
113737
|
-
],
|
|
113738
|
-
"inheritedFrom": {
|
|
113739
|
-
"name": "SbbIconNameMixin",
|
|
113740
|
-
"module": "icon/icon-name-mixin.js"
|
|
113741
|
-
}
|
|
113742
|
-
},
|
|
113743
|
-
{
|
|
113744
|
-
"kind": "method",
|
|
113745
|
-
"name": "renderIconName",
|
|
113746
|
-
"privacy": "protected",
|
|
113747
|
-
"return": {
|
|
113748
|
-
"type": {
|
|
113749
|
-
"text": "string"
|
|
113750
|
-
}
|
|
113751
|
-
},
|
|
113752
|
-
"inheritedFrom": {
|
|
113753
|
-
"name": "SbbIconNameMixin",
|
|
113754
|
-
"module": "icon/icon-name-mixin.js"
|
|
113755
|
-
}
|
|
113756
|
-
},
|
|
113757
|
-
{
|
|
113758
|
-
"kind": "method",
|
|
113759
|
-
"name": "_renderIconName",
|
|
113760
|
-
"privacy": "private",
|
|
113761
|
-
"return": {
|
|
113762
|
-
"type": {
|
|
113763
|
-
"text": "string"
|
|
113764
|
-
}
|
|
113765
|
-
},
|
|
113939
|
+
"fieldName": "expandFrom",
|
|
113766
113940
|
"inheritedFrom": {
|
|
113767
|
-
"name": "
|
|
113768
|
-
"module": "
|
|
113941
|
+
"name": "SbbHeaderActionCommonElementMixin",
|
|
113942
|
+
"module": "header/common/header-action-common.js"
|
|
113769
113943
|
}
|
|
113770
113944
|
},
|
|
113771
113945
|
{
|
|
113772
|
-
"
|
|
113773
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
113946
|
+
"name": "icon-name",
|
|
113774
113947
|
"type": {
|
|
113775
|
-
"text": "
|
|
113948
|
+
"text": "string"
|
|
113776
113949
|
},
|
|
113777
|
-
"
|
|
113778
|
-
"
|
|
113779
|
-
"
|
|
113950
|
+
"default": "''",
|
|
113951
|
+
"description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
|
|
113952
|
+
"fieldName": "iconName",
|
|
113780
113953
|
"inheritedFrom": {
|
|
113781
|
-
"name": "
|
|
113782
|
-
"module": "
|
|
113954
|
+
"name": "SbbIconNameMixin",
|
|
113955
|
+
"module": "icon/icon-name-mixin.js"
|
|
113783
113956
|
}
|
|
113784
113957
|
},
|
|
113785
113958
|
{
|
|
113786
|
-
"kind": "field",
|
|
113787
113959
|
"name": "value",
|
|
113788
113960
|
"type": {
|
|
113789
113961
|
"text": "string"
|
|
113790
113962
|
},
|
|
113791
|
-
"
|
|
113963
|
+
"default": "''",
|
|
113964
|
+
"description": "Value of the form element.",
|
|
113965
|
+
"fieldName": "value",
|
|
113792
113966
|
"inheritedFrom": {
|
|
113793
113967
|
"name": "SbbButtonBaseElement",
|
|
113794
113968
|
"module": "core/base-elements/button-base-element.js"
|
|
113795
|
-
}
|
|
113796
|
-
"default": "''",
|
|
113797
|
-
"description": "Value of the form element.",
|
|
113798
|
-
"attribute": "value"
|
|
113969
|
+
}
|
|
113799
113970
|
},
|
|
113800
113971
|
{
|
|
113801
|
-
"kind": "field",
|
|
113802
113972
|
"name": "type",
|
|
113803
|
-
"privacy": "public",
|
|
113804
113973
|
"description": "The type attribute to use for the button.",
|
|
113805
113974
|
"default": "'button'",
|
|
113806
113975
|
"type": {
|
|
113807
113976
|
"text": "SbbButtonType"
|
|
113808
113977
|
},
|
|
113809
|
-
"
|
|
113978
|
+
"fieldName": "type",
|
|
113810
113979
|
"inheritedFrom": {
|
|
113811
113980
|
"name": "SbbButtonBaseElement",
|
|
113812
113981
|
"module": "core/base-elements/button-base-element.js"
|
|
113813
113982
|
}
|
|
113814
113983
|
},
|
|
113815
113984
|
{
|
|
113816
|
-
"kind": "field",
|
|
113817
113985
|
"name": "form",
|
|
113986
|
+
"description": "The `<form>` element to associate the button with.",
|
|
113818
113987
|
"type": {
|
|
113819
113988
|
"text": "HTMLFormElement | null"
|
|
113820
113989
|
},
|
|
113821
|
-
"
|
|
113822
|
-
"description": "The `<form>` element to associate the button with.",
|
|
113990
|
+
"fieldName": "form",
|
|
113823
113991
|
"inheritedFrom": {
|
|
113824
113992
|
"name": "SbbButtonBaseElement",
|
|
113825
113993
|
"module": "core/base-elements/button-base-element.js"
|
|
113826
|
-
}
|
|
113827
|
-
"attribute": "form"
|
|
113994
|
+
}
|
|
113828
113995
|
},
|
|
113829
113996
|
{
|
|
113830
|
-
"
|
|
113831
|
-
"
|
|
113997
|
+
"name": "name",
|
|
113998
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
113832
113999
|
"type": {
|
|
113833
114000
|
"text": "string"
|
|
113834
114001
|
},
|
|
113835
|
-
"
|
|
113836
|
-
"default": "''",
|
|
114002
|
+
"fieldName": "name",
|
|
113837
114003
|
"inheritedFrom": {
|
|
113838
|
-
"name": "
|
|
113839
|
-
"module": "core/
|
|
114004
|
+
"name": "SbbFormAssociatedMixin",
|
|
114005
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
113840
114006
|
}
|
|
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"
|
|
113841
114035
|
},
|
|
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": [
|
|
113842
114049
|
{
|
|
113843
114050
|
"kind": "field",
|
|
113844
|
-
"name": "
|
|
113845
|
-
"
|
|
114051
|
+
"name": "elementName",
|
|
114052
|
+
"type": {
|
|
114053
|
+
"text": "string"
|
|
114054
|
+
},
|
|
114055
|
+
"privacy": "public",
|
|
114056
|
+
"static": true,
|
|
114057
|
+
"readonly": true,
|
|
114058
|
+
"default": "'sbb-header'",
|
|
113846
114059
|
"inheritedFrom": {
|
|
113847
|
-
"name": "
|
|
113848
|
-
"module": "core/base-elements/
|
|
114060
|
+
"name": "SbbElement",
|
|
114061
|
+
"module": "core/base-elements/element.js"
|
|
113849
114062
|
}
|
|
113850
114063
|
},
|
|
113851
114064
|
{
|
|
113852
|
-
"kind": "
|
|
113853
|
-
"name": "
|
|
114065
|
+
"kind": "field",
|
|
114066
|
+
"name": "_headerScrollOrigins",
|
|
113854
114067
|
"privacy": "private",
|
|
113855
|
-
"
|
|
113856
|
-
|
|
113857
|
-
"text": "void"
|
|
113858
|
-
}
|
|
113859
|
-
},
|
|
113860
|
-
"parameters": [
|
|
113861
|
-
{
|
|
113862
|
-
"name": "form",
|
|
113863
|
-
"type": {
|
|
113864
|
-
"text": "HTMLFormElement"
|
|
113865
|
-
}
|
|
113866
|
-
}
|
|
113867
|
-
],
|
|
113868
|
-
"inheritedFrom": {
|
|
113869
|
-
"name": "SbbButtonBaseElement",
|
|
113870
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113871
|
-
}
|
|
114068
|
+
"static": true,
|
|
114069
|
+
"default": "new Set<HTMLElement>()"
|
|
113872
114070
|
},
|
|
113873
114071
|
{
|
|
113874
114072
|
"kind": "field",
|
|
113875
|
-
"name": "
|
|
114073
|
+
"name": "_headerElements",
|
|
113876
114074
|
"privacy": "private",
|
|
113877
|
-
"
|
|
113878
|
-
|
|
113879
|
-
"module": "core/base-elements/button-base-element.js"
|
|
113880
|
-
}
|
|
114075
|
+
"static": true,
|
|
114076
|
+
"default": "new Set<SbbHeaderElement>()"
|
|
113881
114077
|
},
|
|
113882
114078
|
{
|
|
113883
114079
|
"kind": "field",
|
|
113884
|
-
"name": "
|
|
114080
|
+
"name": "expanded",
|
|
113885
114081
|
"type": {
|
|
113886
114082
|
"text": "boolean"
|
|
113887
114083
|
},
|
|
113888
114084
|
"privacy": "public",
|
|
113889
|
-
"
|
|
113890
|
-
"
|
|
113891
|
-
"
|
|
113892
|
-
|
|
113893
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113894
|
-
}
|
|
114085
|
+
"default": "false",
|
|
114086
|
+
"description": "Whether to allow the header content to stretch to full width.\nBy default, the content has the appropriate page size.",
|
|
114087
|
+
"attribute": "expanded",
|
|
114088
|
+
"reflects": true
|
|
113895
114089
|
},
|
|
113896
114090
|
{
|
|
113897
114091
|
"kind": "field",
|
|
113898
|
-
"name": "
|
|
113899
|
-
"privacy": "public",
|
|
113900
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
114092
|
+
"name": "scrollOrigin",
|
|
113901
114093
|
"type": {
|
|
113902
|
-
"text": "
|
|
114094
|
+
"text": "HTMLElement | null"
|
|
113903
114095
|
},
|
|
113904
|
-
"
|
|
113905
|
-
"
|
|
113906
|
-
|
|
113907
|
-
|
|
113908
|
-
}
|
|
114096
|
+
"privacy": "public",
|
|
114097
|
+
"default": "null",
|
|
114098
|
+
"description": "The element's id or the element on which the scroll listener is attached.\n\nFor attribute usage, provide an id reference.",
|
|
114099
|
+
"attribute": "scroll-origin"
|
|
113909
114100
|
},
|
|
113910
114101
|
{
|
|
113911
114102
|
"kind": "field",
|
|
113912
|
-
"name": "
|
|
114103
|
+
"name": "hideOnScroll",
|
|
113913
114104
|
"type": {
|
|
113914
|
-
"text": "
|
|
114105
|
+
"text": "boolean"
|
|
113915
114106
|
},
|
|
113916
114107
|
"privacy": "public",
|
|
113917
|
-
"
|
|
113918
|
-
"
|
|
113919
|
-
"
|
|
113920
|
-
|
|
113921
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113922
|
-
}
|
|
114108
|
+
"default": "false",
|
|
114109
|
+
"description": "Whether the header should hide and show on scroll.",
|
|
114110
|
+
"attribute": "hide-on-scroll",
|
|
114111
|
+
"reflects": true
|
|
113923
114112
|
},
|
|
113924
114113
|
{
|
|
113925
114114
|
"kind": "field",
|
|
113926
|
-
"name": "
|
|
114115
|
+
"name": "size",
|
|
113927
114116
|
"type": {
|
|
113928
|
-
"text": "
|
|
114117
|
+
"text": "'m' | 's'"
|
|
113929
114118
|
},
|
|
113930
114119
|
"privacy": "public",
|
|
113931
|
-
"description": "
|
|
113932
|
-
"
|
|
113933
|
-
"
|
|
113934
|
-
|
|
113935
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113936
|
-
}
|
|
114120
|
+
"description": "Size of the header, either m or s.",
|
|
114121
|
+
"default": "'m' / 's' (lean)",
|
|
114122
|
+
"attribute": "size",
|
|
114123
|
+
"reflects": true
|
|
113937
114124
|
},
|
|
113938
114125
|
{
|
|
113939
114126
|
"kind": "field",
|
|
113940
|
-
"name": "
|
|
114127
|
+
"name": "_headerOnTop",
|
|
113941
114128
|
"type": {
|
|
113942
114129
|
"text": "boolean"
|
|
113943
114130
|
},
|
|
113944
|
-
"privacy": "
|
|
113945
|
-
"
|
|
113946
|
-
"readonly": true,
|
|
113947
|
-
"inheritedFrom": {
|
|
113948
|
-
"name": "SbbFormAssociatedMixin",
|
|
113949
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113950
|
-
}
|
|
114131
|
+
"privacy": "private",
|
|
114132
|
+
"default": "true"
|
|
113951
114133
|
},
|
|
113952
114134
|
{
|
|
113953
114135
|
"kind": "field",
|
|
113954
|
-
"name": "
|
|
113955
|
-
"
|
|
113956
|
-
|
|
113957
|
-
|
|
113958
|
-
|
|
113959
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113960
|
-
}
|
|
114136
|
+
"name": "_scrollElement",
|
|
114137
|
+
"type": {
|
|
114138
|
+
"text": "HTMLElement | Document | null | undefined"
|
|
114139
|
+
},
|
|
114140
|
+
"privacy": "private"
|
|
113961
114141
|
},
|
|
113962
114142
|
{
|
|
113963
114143
|
"kind": "field",
|
|
113964
|
-
"name": "
|
|
114144
|
+
"name": "_scrollEventsController",
|
|
113965
114145
|
"type": {
|
|
113966
|
-
"text": "
|
|
114146
|
+
"text": "AbortController"
|
|
113967
114147
|
},
|
|
113968
|
-
"privacy": "
|
|
113969
|
-
"default": "false",
|
|
113970
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
113971
|
-
"inheritedFrom": {
|
|
113972
|
-
"name": "SbbFormAssociatedMixin",
|
|
113973
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
113974
|
-
}
|
|
114148
|
+
"privacy": "private"
|
|
113975
114149
|
},
|
|
113976
114150
|
{
|
|
113977
|
-
"kind": "
|
|
113978
|
-
"name": "
|
|
113979
|
-
"
|
|
113980
|
-
|
|
113981
|
-
"type": {
|
|
113982
|
-
"text": "boolean"
|
|
113983
|
-
}
|
|
114151
|
+
"kind": "field",
|
|
114152
|
+
"name": "_scrollFunction",
|
|
114153
|
+
"type": {
|
|
114154
|
+
"text": "(() => void) | undefined"
|
|
113984
114155
|
},
|
|
113985
|
-
"
|
|
113986
|
-
|
|
113987
|
-
|
|
113988
|
-
|
|
113989
|
-
|
|
114156
|
+
"privacy": "private"
|
|
114157
|
+
},
|
|
114158
|
+
{
|
|
114159
|
+
"kind": "field",
|
|
114160
|
+
"name": "_lastScroll",
|
|
114161
|
+
"type": {
|
|
114162
|
+
"text": "number"
|
|
114163
|
+
},
|
|
114164
|
+
"privacy": "private",
|
|
114165
|
+
"default": "0"
|
|
114166
|
+
},
|
|
114167
|
+
{
|
|
114168
|
+
"kind": "field",
|
|
114169
|
+
"name": "_scrollOriginFromObserver",
|
|
114170
|
+
"type": {
|
|
114171
|
+
"text": "HTMLElement | null"
|
|
114172
|
+
},
|
|
114173
|
+
"privacy": "private",
|
|
114174
|
+
"default": "null"
|
|
113990
114175
|
},
|
|
113991
114176
|
{
|
|
113992
114177
|
"kind": "method",
|
|
113993
|
-
"name": "
|
|
113994
|
-
"privacy": "
|
|
114178
|
+
"name": "_initializeScrollOriginObserver",
|
|
114179
|
+
"privacy": "private",
|
|
114180
|
+
"static": true,
|
|
113995
114181
|
"return": {
|
|
113996
114182
|
"type": {
|
|
113997
|
-
"text": "
|
|
114183
|
+
"text": "void"
|
|
113998
114184
|
}
|
|
113999
|
-
},
|
|
114000
|
-
"description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
|
|
114001
|
-
"inheritedFrom": {
|
|
114002
|
-
"name": "SbbFormAssociatedMixin",
|
|
114003
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114004
114185
|
}
|
|
114005
114186
|
},
|
|
114006
114187
|
{
|
|
114007
114188
|
"kind": "method",
|
|
114008
|
-
"name": "
|
|
114009
|
-
"privacy": "
|
|
114189
|
+
"name": "_findAndHandleScrollOrigins",
|
|
114190
|
+
"privacy": "private",
|
|
114191
|
+
"static": true,
|
|
114010
114192
|
"return": {
|
|
114011
114193
|
"type": {
|
|
114012
114194
|
"text": "void"
|
|
@@ -114014,286 +114196,150 @@
|
|
|
114014
114196
|
},
|
|
114015
114197
|
"parameters": [
|
|
114016
114198
|
{
|
|
114017
|
-
"name": "
|
|
114199
|
+
"name": "root",
|
|
114018
114200
|
"type": {
|
|
114019
|
-
"text": "
|
|
114201
|
+
"text": "HTMLElement"
|
|
114020
114202
|
}
|
|
114021
114203
|
}
|
|
114022
|
-
]
|
|
114023
|
-
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
114024
|
-
"inheritedFrom": {
|
|
114025
|
-
"name": "SbbFormAssociatedMixin",
|
|
114026
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114027
|
-
}
|
|
114204
|
+
]
|
|
114028
114205
|
},
|
|
114029
114206
|
{
|
|
114030
114207
|
"kind": "method",
|
|
114031
|
-
"name": "
|
|
114208
|
+
"name": "_handleScrollOriginElement",
|
|
114032
114209
|
"privacy": "private",
|
|
114210
|
+
"static": true,
|
|
114033
114211
|
"return": {
|
|
114034
114212
|
"type": {
|
|
114035
|
-
"text": "
|
|
114213
|
+
"text": "void"
|
|
114036
114214
|
}
|
|
114037
114215
|
},
|
|
114038
|
-
"
|
|
114039
|
-
|
|
114040
|
-
|
|
114041
|
-
|
|
114216
|
+
"parameters": [
|
|
114217
|
+
{
|
|
114218
|
+
"name": "element",
|
|
114219
|
+
"type": {
|
|
114220
|
+
"text": "HTMLElement"
|
|
114221
|
+
}
|
|
114222
|
+
}
|
|
114223
|
+
]
|
|
114042
114224
|
},
|
|
114043
114225
|
{
|
|
114044
114226
|
"kind": "method",
|
|
114045
|
-
"name": "
|
|
114046
|
-
"privacy": "
|
|
114227
|
+
"name": "_updateHeaderElements",
|
|
114228
|
+
"privacy": "private",
|
|
114229
|
+
"static": true,
|
|
114047
114230
|
"return": {
|
|
114048
114231
|
"type": {
|
|
114049
114232
|
"text": "void"
|
|
114050
114233
|
}
|
|
114051
|
-
},
|
|
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
114234
|
}
|
|
114057
114235
|
},
|
|
114058
114236
|
{
|
|
114059
114237
|
"kind": "method",
|
|
114060
|
-
"name": "
|
|
114061
|
-
"privacy": "
|
|
114238
|
+
"name": "_updateScrollListener",
|
|
114239
|
+
"privacy": "private",
|
|
114062
114240
|
"return": {
|
|
114063
114241
|
"type": {
|
|
114064
|
-
"text": "
|
|
114242
|
+
"text": "void"
|
|
114065
114243
|
}
|
|
114066
|
-
},
|
|
114067
|
-
"inheritedFrom": {
|
|
114068
|
-
"name": "SbbFormAssociatedMixin",
|
|
114069
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114070
114244
|
}
|
|
114071
114245
|
},
|
|
114072
114246
|
{
|
|
114073
114247
|
"kind": "method",
|
|
114074
|
-
"name": "
|
|
114075
|
-
"privacy": "
|
|
114248
|
+
"name": "_getScrollFunction",
|
|
114249
|
+
"privacy": "private",
|
|
114076
114250
|
"return": {
|
|
114077
114251
|
"type": {
|
|
114078
114252
|
"text": "void"
|
|
114079
114253
|
}
|
|
114080
114254
|
},
|
|
114081
|
-
"
|
|
114082
|
-
{
|
|
114083
|
-
"name": "flag",
|
|
114084
|
-
"type": {
|
|
114085
|
-
"text": "T"
|
|
114086
|
-
}
|
|
114087
|
-
},
|
|
114088
|
-
{
|
|
114089
|
-
"name": "message",
|
|
114090
|
-
"type": {
|
|
114091
|
-
"text": "string"
|
|
114092
|
-
}
|
|
114093
|
-
},
|
|
114094
|
-
{
|
|
114095
|
-
"name": "flagValue",
|
|
114096
|
-
"optional": true,
|
|
114097
|
-
"type": {
|
|
114098
|
-
"text": "ValidityStateFlags[T]"
|
|
114099
|
-
}
|
|
114100
|
-
}
|
|
114101
|
-
],
|
|
114102
|
-
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
114103
|
-
"inheritedFrom": {
|
|
114104
|
-
"name": "SbbFormAssociatedMixin",
|
|
114105
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114106
|
-
}
|
|
114255
|
+
"description": "Returns the correct function to attach on scroll."
|
|
114107
114256
|
},
|
|
114108
114257
|
{
|
|
114109
114258
|
"kind": "method",
|
|
114110
|
-
"name": "
|
|
114111
|
-
"privacy": "
|
|
114259
|
+
"name": "_getCurrentScrollProperty",
|
|
114260
|
+
"privacy": "private",
|
|
114112
114261
|
"return": {
|
|
114113
114262
|
"type": {
|
|
114114
|
-
"text": "
|
|
114263
|
+
"text": "number"
|
|
114115
114264
|
}
|
|
114116
114265
|
},
|
|
114117
114266
|
"parameters": [
|
|
114118
114267
|
{
|
|
114119
|
-
"name": "
|
|
114268
|
+
"name": "property",
|
|
114120
114269
|
"type": {
|
|
114121
|
-
"text": "
|
|
114270
|
+
"text": "'scrollTop' | 'scrollHeight'"
|
|
114122
114271
|
}
|
|
114123
114272
|
}
|
|
114124
114273
|
],
|
|
114125
|
-
"description": "
|
|
114126
|
-
"inheritedFrom": {
|
|
114127
|
-
"name": "SbbFormAssociatedMixin",
|
|
114128
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114129
|
-
}
|
|
114274
|
+
"description": "Returns the requested property of the scrollContext."
|
|
114130
114275
|
},
|
|
114131
114276
|
{
|
|
114132
114277
|
"kind": "method",
|
|
114133
|
-
"name": "
|
|
114134
|
-
"privacy": "
|
|
114278
|
+
"name": "_scrollListener",
|
|
114279
|
+
"privacy": "private",
|
|
114135
114280
|
"return": {
|
|
114136
114281
|
"type": {
|
|
114137
114282
|
"text": "void"
|
|
114138
114283
|
}
|
|
114139
114284
|
},
|
|
114140
|
-
"description": "
|
|
114141
|
-
"inheritedFrom": {
|
|
114142
|
-
"name": "SbbFormAssociatedMixin",
|
|
114143
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114144
|
-
}
|
|
114285
|
+
"description": "Sets the correct value for `scrollTop`, then:\n- apply the shadow if the element/document has been scrolled down;\n- hides the header, remove the shadow and possibly close any open menu on the header if it is not visible anymore;\n- shows the header and re-apply the shadow if the element/document has been scrolled up."
|
|
114145
114286
|
},
|
|
114146
114287
|
{
|
|
114147
114288
|
"kind": "method",
|
|
114148
|
-
"name": "
|
|
114149
|
-
"privacy": "
|
|
114289
|
+
"name": "_scrollShadowListener",
|
|
114290
|
+
"privacy": "private",
|
|
114150
114291
|
"return": {
|
|
114151
114292
|
"type": {
|
|
114152
|
-
"text": "
|
|
114293
|
+
"text": "void"
|
|
114153
114294
|
}
|
|
114154
114295
|
},
|
|
114155
|
-
"
|
|
114156
|
-
{
|
|
114157
|
-
"name": "name",
|
|
114158
|
-
"type": {
|
|
114159
|
-
"text": "PropertyKey | undefined"
|
|
114160
|
-
}
|
|
114161
|
-
}
|
|
114162
|
-
],
|
|
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
|
-
}
|
|
114296
|
+
"description": "Apply the shadow if the element/document has been scrolled down."
|
|
114168
114297
|
},
|
|
114169
114298
|
{
|
|
114170
114299
|
"kind": "method",
|
|
114171
|
-
"name": "
|
|
114300
|
+
"name": "_closeOpenOverlays",
|
|
114172
114301
|
"privacy": "private",
|
|
114173
114302
|
"return": {
|
|
114174
114303
|
"type": {
|
|
114175
114304
|
"text": "void"
|
|
114176
114305
|
}
|
|
114177
|
-
},
|
|
114178
|
-
"inheritedFrom": {
|
|
114179
|
-
"name": "SbbFormAssociatedMixin",
|
|
114180
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114181
114306
|
}
|
|
114182
114307
|
},
|
|
114183
114308
|
{
|
|
114184
114309
|
"kind": "field",
|
|
114185
|
-
"name": "
|
|
114310
|
+
"name": "['_$sbbElement$']",
|
|
114186
114311
|
"type": {
|
|
114187
|
-
"text": "
|
|
114312
|
+
"text": "boolean"
|
|
114188
114313
|
},
|
|
114189
114314
|
"privacy": "public",
|
|
114190
114315
|
"static": true,
|
|
114316
|
+
"default": "true",
|
|
114191
114317
|
"inheritedFrom": {
|
|
114192
114318
|
"name": "SbbElement",
|
|
114193
114319
|
"module": "core/base-elements/element.js"
|
|
114194
|
-
},
|
|
114195
|
-
"readonly": true,
|
|
114196
|
-
"default": "'button'"
|
|
114197
|
-
},
|
|
114198
|
-
{
|
|
114199
|
-
"kind": "field",
|
|
114200
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
114201
|
-
"privacy": "private",
|
|
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"
|
|
114207
|
-
}
|
|
114208
|
-
],
|
|
114209
|
-
"inheritedFrom": {
|
|
114210
|
-
"name": "SbbButtonLikeBaseElement",
|
|
114211
|
-
"module": "core/base-elements/button-base-element.js"
|
|
114212
|
-
}
|
|
114213
|
-
},
|
|
114214
|
-
{
|
|
114215
|
-
"kind": "field",
|
|
114216
|
-
"name": "_removeActiveMarker",
|
|
114217
|
-
"privacy": "private",
|
|
114218
|
-
"inheritedFrom": {
|
|
114219
|
-
"name": "SbbButtonLikeBaseElement",
|
|
114220
|
-
"module": "core/base-elements/button-base-element.js"
|
|
114221
|
-
}
|
|
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"
|
|
114232
|
-
}
|
|
114233
|
-
],
|
|
114234
|
-
"inheritedFrom": {
|
|
114235
|
-
"name": "SbbButtonLikeBaseElement",
|
|
114236
|
-
"module": "core/base-elements/button-base-element.js"
|
|
114237
|
-
}
|
|
114238
|
-
},
|
|
114239
|
-
{
|
|
114240
|
-
"kind": "field",
|
|
114241
|
-
"name": "_dispatchClickEvent",
|
|
114242
|
-
"privacy": "private",
|
|
114243
|
-
"inheritedFrom": {
|
|
114244
|
-
"name": "SbbButtonLikeBaseElement",
|
|
114245
|
-
"module": "core/base-elements/button-base-element.js"
|
|
114246
|
-
}
|
|
114247
|
-
},
|
|
114248
|
-
{
|
|
114249
|
-
"kind": "field",
|
|
114250
|
-
"name": "maybeDisabled",
|
|
114251
|
-
"type": {
|
|
114252
|
-
"text": "boolean | undefined"
|
|
114253
|
-
},
|
|
114254
|
-
"privacy": "protected",
|
|
114255
|
-
"readonly": true,
|
|
114256
|
-
"inheritedFrom": {
|
|
114257
|
-
"name": "SbbActionBaseElement",
|
|
114258
|
-
"module": "core/base-elements/action-base-element.js"
|
|
114259
114320
|
}
|
|
114260
114321
|
},
|
|
114261
114322
|
{
|
|
114262
114323
|
"kind": "field",
|
|
114263
|
-
"name": "
|
|
114324
|
+
"name": "elementDependencies",
|
|
114264
114325
|
"type": {
|
|
114265
|
-
"text": "
|
|
114266
|
-
},
|
|
114267
|
-
"privacy": "protected",
|
|
114268
|
-
"readonly": true,
|
|
114269
|
-
"inheritedFrom": {
|
|
114270
|
-
"name": "SbbActionBaseElement",
|
|
114271
|
-
"module": "core/base-elements/action-base-element.js"
|
|
114272
|
-
}
|
|
114273
|
-
},
|
|
114274
|
-
{
|
|
114275
|
-
"kind": "method",
|
|
114276
|
-
"name": "setupBaseEventHandlers",
|
|
114277
|
-
"privacy": "protected",
|
|
114278
|
-
"return": {
|
|
114279
|
-
"type": {
|
|
114280
|
-
"text": "void"
|
|
114281
|
-
}
|
|
114326
|
+
"text": "SbbElementType[] | undefined"
|
|
114282
114327
|
},
|
|
114328
|
+
"privacy": "public",
|
|
114329
|
+
"static": true,
|
|
114283
114330
|
"inheritedFrom": {
|
|
114284
|
-
"name": "
|
|
114285
|
-
"module": "core/base-elements/
|
|
114331
|
+
"name": "SbbElement",
|
|
114332
|
+
"module": "core/base-elements/element.js"
|
|
114286
114333
|
}
|
|
114287
114334
|
},
|
|
114288
114335
|
{
|
|
114289
114336
|
"kind": "field",
|
|
114290
|
-
"name": "
|
|
114337
|
+
"name": "role",
|
|
114291
114338
|
"type": {
|
|
114292
|
-
"text": "
|
|
114339
|
+
"text": "ElementInternals['role'] | undefined"
|
|
114293
114340
|
},
|
|
114294
114341
|
"privacy": "public",
|
|
114295
114342
|
"static": true,
|
|
114296
|
-
"default": "true",
|
|
114297
114343
|
"inheritedFrom": {
|
|
114298
114344
|
"name": "SbbElement",
|
|
114299
114345
|
"module": "core/base-elements/element.js"
|
|
@@ -114519,105 +114565,59 @@
|
|
|
114519
114565
|
}
|
|
114520
114566
|
}
|
|
114521
114567
|
],
|
|
114522
|
-
"mixins": [
|
|
114523
|
-
{
|
|
114524
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
114525
|
-
"module": "header/common/header-action-common.js"
|
|
114526
|
-
}
|
|
114527
|
-
],
|
|
114528
|
-
"superclass": {
|
|
114529
|
-
"name": "SbbButtonBaseElement",
|
|
114530
|
-
"module": "core.js"
|
|
114531
|
-
},
|
|
114532
|
-
"tagName": "sbb-header-button",
|
|
114533
|
-
"customElement": true,
|
|
114534
114568
|
"attributes": [
|
|
114535
114569
|
{
|
|
114536
|
-
"name": "
|
|
114537
|
-
"type": {
|
|
114538
|
-
"text": "SbbHorizontalFrom"
|
|
114539
|
-
},
|
|
114540
|
-
"default": "'large'",
|
|
114541
|
-
"description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
|
|
114542
|
-
"fieldName": "expandFrom",
|
|
114543
|
-
"inheritedFrom": {
|
|
114544
|
-
"name": "SbbHeaderActionCommonElementMixin",
|
|
114545
|
-
"module": "header/common/header-action-common.js"
|
|
114546
|
-
}
|
|
114547
|
-
},
|
|
114548
|
-
{
|
|
114549
|
-
"name": "icon-name",
|
|
114550
|
-
"type": {
|
|
114551
|
-
"text": "string"
|
|
114552
|
-
},
|
|
114553
|
-
"default": "''",
|
|
114554
|
-
"description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
|
|
114555
|
-
"fieldName": "iconName",
|
|
114556
|
-
"inheritedFrom": {
|
|
114557
|
-
"name": "SbbIconNameMixin",
|
|
114558
|
-
"module": "icon/icon-name-mixin.js"
|
|
114559
|
-
}
|
|
114560
|
-
},
|
|
114561
|
-
{
|
|
114562
|
-
"name": "value",
|
|
114570
|
+
"name": "expanded",
|
|
114563
114571
|
"type": {
|
|
114564
|
-
"text": "
|
|
114572
|
+
"text": "boolean"
|
|
114565
114573
|
},
|
|
114566
|
-
"default": "
|
|
114567
|
-
"description": "
|
|
114568
|
-
"fieldName": "
|
|
114569
|
-
"inheritedFrom": {
|
|
114570
|
-
"name": "SbbButtonBaseElement",
|
|
114571
|
-
"module": "core/base-elements/button-base-element.js"
|
|
114572
|
-
}
|
|
114574
|
+
"default": "false",
|
|
114575
|
+
"description": "Whether to allow the header content to stretch to full width.\nBy default, the content has the appropriate page size.",
|
|
114576
|
+
"fieldName": "expanded"
|
|
114573
114577
|
},
|
|
114574
114578
|
{
|
|
114575
|
-
"name": "
|
|
114576
|
-
"description": "The type attribute to use for the button.",
|
|
114577
|
-
"default": "'button'",
|
|
114579
|
+
"name": "scroll-origin",
|
|
114578
114580
|
"type": {
|
|
114579
|
-
"text": "
|
|
114581
|
+
"text": "HTMLElement | null"
|
|
114580
114582
|
},
|
|
114581
|
-
"
|
|
114582
|
-
"
|
|
114583
|
-
|
|
114584
|
-
"module": "core/base-elements/button-base-element.js"
|
|
114585
|
-
}
|
|
114583
|
+
"default": "null",
|
|
114584
|
+
"description": "The element's id or the element on which the scroll listener is attached.\n\nFor attribute usage, provide an id reference.",
|
|
114585
|
+
"fieldName": "scrollOrigin"
|
|
114586
114586
|
},
|
|
114587
114587
|
{
|
|
114588
|
-
"name": "
|
|
114589
|
-
"description": "The `<form>` element to associate the button with.",
|
|
114588
|
+
"name": "hide-on-scroll",
|
|
114590
114589
|
"type": {
|
|
114591
|
-
"text": "
|
|
114590
|
+
"text": "boolean"
|
|
114592
114591
|
},
|
|
114593
|
-
"
|
|
114594
|
-
"
|
|
114595
|
-
|
|
114596
|
-
"module": "core/base-elements/button-base-element.js"
|
|
114597
|
-
}
|
|
114592
|
+
"default": "false",
|
|
114593
|
+
"description": "Whether the header should hide and show on scroll.",
|
|
114594
|
+
"fieldName": "hideOnScroll"
|
|
114598
114595
|
},
|
|
114599
114596
|
{
|
|
114600
|
-
"name": "
|
|
114601
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
114597
|
+
"name": "size",
|
|
114602
114598
|
"type": {
|
|
114603
|
-
"text": "
|
|
114599
|
+
"text": "'m' | 's'"
|
|
114604
114600
|
},
|
|
114605
|
-
"
|
|
114606
|
-
"
|
|
114607
|
-
|
|
114608
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
114609
|
-
}
|
|
114601
|
+
"description": "Size of the header, either m or s.",
|
|
114602
|
+
"default": "'m' / 's' (lean)",
|
|
114603
|
+
"fieldName": "size"
|
|
114610
114604
|
}
|
|
114611
|
-
]
|
|
114605
|
+
],
|
|
114606
|
+
"superclass": {
|
|
114607
|
+
"name": "SbbElement",
|
|
114608
|
+
"module": "core.js"
|
|
114609
|
+
},
|
|
114610
|
+
"tagName": "sbb-header",
|
|
114611
|
+
"customElement": true
|
|
114612
114612
|
}
|
|
114613
114613
|
],
|
|
114614
114614
|
"exports": [
|
|
114615
114615
|
{
|
|
114616
114616
|
"kind": "js",
|
|
114617
|
-
"name": "
|
|
114617
|
+
"name": "SbbHeaderElement",
|
|
114618
114618
|
"declaration": {
|
|
114619
|
-
"name": "
|
|
114620
|
-
"module": "header/header
|
|
114619
|
+
"name": "SbbHeaderElement",
|
|
114620
|
+
"module": "header/header/header.component.js"
|
|
114621
114621
|
}
|
|
114622
114622
|
}
|
|
114623
114623
|
]
|
|
@@ -153347,12 +153347,12 @@
|
|
|
153347
153347
|
},
|
|
153348
153348
|
{
|
|
153349
153349
|
"kind": "javascript-module",
|
|
153350
|
-
"path": "teaser-product/teaser-product
|
|
153350
|
+
"path": "teaser-product/teaser-product/teaser-product.component.js",
|
|
153351
153351
|
"declarations": [
|
|
153352
153352
|
{
|
|
153353
153353
|
"kind": "class",
|
|
153354
|
-
"description": "Displays a text and a footnote, combined with an image, to tease a product
|
|
153355
|
-
"name": "
|
|
153354
|
+
"description": "Displays a text and a footnote, combined with an image, to tease a product",
|
|
153355
|
+
"name": "SbbTeaserProductElement",
|
|
153356
153356
|
"cssProperties": [
|
|
153357
153357
|
{
|
|
153358
153358
|
"description": "At which percentage the background should start getting transparent.",
|
|
@@ -153393,7 +153393,21 @@
|
|
|
153393
153393
|
"name": "SbbElement",
|
|
153394
153394
|
"module": "core/base-elements/element.js"
|
|
153395
153395
|
},
|
|
153396
|
-
"default": "'sbb-teaser-product
|
|
153396
|
+
"default": "'sbb-teaser-product'"
|
|
153397
|
+
},
|
|
153398
|
+
{
|
|
153399
|
+
"kind": "field",
|
|
153400
|
+
"name": "elementDependencies",
|
|
153401
|
+
"type": {
|
|
153402
|
+
"text": "SbbElementType[]"
|
|
153403
|
+
},
|
|
153404
|
+
"privacy": "public",
|
|
153405
|
+
"static": true,
|
|
153406
|
+
"inheritedFrom": {
|
|
153407
|
+
"name": "SbbElement",
|
|
153408
|
+
"module": "core/base-elements/element.js"
|
|
153409
|
+
},
|
|
153410
|
+
"default": "[SbbScreenReaderOnlyElement]"
|
|
153397
153411
|
},
|
|
153398
153412
|
{
|
|
153399
153413
|
"kind": "field",
|
|
@@ -153442,6 +153456,155 @@
|
|
|
153442
153456
|
"module": "core/mixins/negative-mixin.js"
|
|
153443
153457
|
}
|
|
153444
153458
|
},
|
|
153459
|
+
{
|
|
153460
|
+
"kind": "field",
|
|
153461
|
+
"name": "href",
|
|
153462
|
+
"type": {
|
|
153463
|
+
"text": "string"
|
|
153464
|
+
},
|
|
153465
|
+
"privacy": "public",
|
|
153466
|
+
"default": "''",
|
|
153467
|
+
"description": "The href value you want to link to.",
|
|
153468
|
+
"attribute": "href",
|
|
153469
|
+
"reflects": true,
|
|
153470
|
+
"inheritedFrom": {
|
|
153471
|
+
"name": "SbbLinkBaseElement",
|
|
153472
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153473
|
+
}
|
|
153474
|
+
},
|
|
153475
|
+
{
|
|
153476
|
+
"kind": "field",
|
|
153477
|
+
"name": "target",
|
|
153478
|
+
"type": {
|
|
153479
|
+
"text": "LinkTargetType | string"
|
|
153480
|
+
},
|
|
153481
|
+
"privacy": "public",
|
|
153482
|
+
"default": "''",
|
|
153483
|
+
"description": "Where to display the linked URL.",
|
|
153484
|
+
"attribute": "target",
|
|
153485
|
+
"reflects": true,
|
|
153486
|
+
"inheritedFrom": {
|
|
153487
|
+
"name": "SbbLinkBaseElement",
|
|
153488
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153489
|
+
}
|
|
153490
|
+
},
|
|
153491
|
+
{
|
|
153492
|
+
"kind": "field",
|
|
153493
|
+
"name": "rel",
|
|
153494
|
+
"type": {
|
|
153495
|
+
"text": "string"
|
|
153496
|
+
},
|
|
153497
|
+
"privacy": "public",
|
|
153498
|
+
"default": "''",
|
|
153499
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
153500
|
+
"attribute": "rel",
|
|
153501
|
+
"reflects": true,
|
|
153502
|
+
"inheritedFrom": {
|
|
153503
|
+
"name": "SbbLinkBaseElement",
|
|
153504
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153505
|
+
}
|
|
153506
|
+
},
|
|
153507
|
+
{
|
|
153508
|
+
"kind": "field",
|
|
153509
|
+
"name": "download",
|
|
153510
|
+
"type": {
|
|
153511
|
+
"text": "boolean"
|
|
153512
|
+
},
|
|
153513
|
+
"privacy": "public",
|
|
153514
|
+
"default": "false",
|
|
153515
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
153516
|
+
"attribute": "download",
|
|
153517
|
+
"reflects": true,
|
|
153518
|
+
"inheritedFrom": {
|
|
153519
|
+
"name": "SbbLinkBaseElement",
|
|
153520
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153521
|
+
}
|
|
153522
|
+
},
|
|
153523
|
+
{
|
|
153524
|
+
"kind": "field",
|
|
153525
|
+
"name": "accessibilityLabel",
|
|
153526
|
+
"type": {
|
|
153527
|
+
"text": "string"
|
|
153528
|
+
},
|
|
153529
|
+
"privacy": "public",
|
|
153530
|
+
"default": "''",
|
|
153531
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
153532
|
+
"attribute": "accessibility-label",
|
|
153533
|
+
"inheritedFrom": {
|
|
153534
|
+
"name": "SbbLinkBaseElement",
|
|
153535
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153536
|
+
}
|
|
153537
|
+
},
|
|
153538
|
+
{
|
|
153539
|
+
"kind": "field",
|
|
153540
|
+
"name": "accessibilityCurrent",
|
|
153541
|
+
"type": {
|
|
153542
|
+
"text": "string"
|
|
153543
|
+
},
|
|
153544
|
+
"privacy": "public",
|
|
153545
|
+
"default": "''",
|
|
153546
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
153547
|
+
"attribute": "accessibility-current",
|
|
153548
|
+
"inheritedFrom": {
|
|
153549
|
+
"name": "SbbLinkBaseElement",
|
|
153550
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153551
|
+
}
|
|
153552
|
+
},
|
|
153553
|
+
{
|
|
153554
|
+
"kind": "field",
|
|
153555
|
+
"name": "language",
|
|
153556
|
+
"privacy": "protected",
|
|
153557
|
+
"default": "new SbbLanguageController(this)",
|
|
153558
|
+
"inheritedFrom": {
|
|
153559
|
+
"name": "SbbLinkBaseElement",
|
|
153560
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153561
|
+
}
|
|
153562
|
+
},
|
|
153563
|
+
{
|
|
153564
|
+
"kind": "field",
|
|
153565
|
+
"name": "anchorRole",
|
|
153566
|
+
"type": {
|
|
153567
|
+
"text": "string | null"
|
|
153568
|
+
},
|
|
153569
|
+
"privacy": "protected",
|
|
153570
|
+
"readonly": true,
|
|
153571
|
+
"default": "null",
|
|
153572
|
+
"inheritedFrom": {
|
|
153573
|
+
"name": "SbbLinkBaseElement",
|
|
153574
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153575
|
+
}
|
|
153576
|
+
},
|
|
153577
|
+
{
|
|
153578
|
+
"kind": "field",
|
|
153579
|
+
"name": "_evaluateRelAttribute",
|
|
153580
|
+
"privacy": "private",
|
|
153581
|
+
"inheritedFrom": {
|
|
153582
|
+
"name": "SbbLinkBaseElement",
|
|
153583
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153584
|
+
}
|
|
153585
|
+
},
|
|
153586
|
+
{
|
|
153587
|
+
"kind": "method",
|
|
153588
|
+
"name": "renderLink",
|
|
153589
|
+
"privacy": "protected",
|
|
153590
|
+
"return": {
|
|
153591
|
+
"type": {
|
|
153592
|
+
"text": "TemplateResult"
|
|
153593
|
+
}
|
|
153594
|
+
},
|
|
153595
|
+
"parameters": [
|
|
153596
|
+
{
|
|
153597
|
+
"name": "renderContent",
|
|
153598
|
+
"type": {
|
|
153599
|
+
"text": "TemplateResult"
|
|
153600
|
+
}
|
|
153601
|
+
}
|
|
153602
|
+
],
|
|
153603
|
+
"inheritedFrom": {
|
|
153604
|
+
"name": "SbbLinkBaseElement",
|
|
153605
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153606
|
+
}
|
|
153607
|
+
},
|
|
153445
153608
|
{
|
|
153446
153609
|
"kind": "field",
|
|
153447
153610
|
"name": "maybeDisabled",
|
|
@@ -153496,19 +153659,6 @@
|
|
|
153496
153659
|
"module": "core/base-elements/element.js"
|
|
153497
153660
|
}
|
|
153498
153661
|
},
|
|
153499
|
-
{
|
|
153500
|
-
"kind": "field",
|
|
153501
|
-
"name": "elementDependencies",
|
|
153502
|
-
"type": {
|
|
153503
|
-
"text": "SbbElementType[] | undefined"
|
|
153504
|
-
},
|
|
153505
|
-
"privacy": "public",
|
|
153506
|
-
"static": true,
|
|
153507
|
-
"inheritedFrom": {
|
|
153508
|
-
"name": "SbbElement",
|
|
153509
|
-
"module": "core/base-elements/element.js"
|
|
153510
|
-
}
|
|
153511
|
-
},
|
|
153512
153662
|
{
|
|
153513
153663
|
"kind": "field",
|
|
153514
153664
|
"name": "role",
|
|
@@ -153749,10 +153899,10 @@
|
|
|
153749
153899
|
}
|
|
153750
153900
|
],
|
|
153751
153901
|
"superclass": {
|
|
153752
|
-
"name": "
|
|
153902
|
+
"name": "SbbLinkBaseElement",
|
|
153753
153903
|
"module": "core.js"
|
|
153754
153904
|
},
|
|
153755
|
-
"tagName": "sbb-teaser-product
|
|
153905
|
+
"tagName": "sbb-teaser-product",
|
|
153756
153906
|
"customElement": true,
|
|
153757
153907
|
"attributes": [
|
|
153758
153908
|
{
|
|
@@ -153780,6 +153930,84 @@
|
|
|
153780
153930
|
"name": "SbbNegativeMixin",
|
|
153781
153931
|
"module": "core/mixins/negative-mixin.js"
|
|
153782
153932
|
}
|
|
153933
|
+
},
|
|
153934
|
+
{
|
|
153935
|
+
"name": "href",
|
|
153936
|
+
"type": {
|
|
153937
|
+
"text": "string"
|
|
153938
|
+
},
|
|
153939
|
+
"default": "''",
|
|
153940
|
+
"description": "The href value you want to link to.",
|
|
153941
|
+
"fieldName": "href",
|
|
153942
|
+
"inheritedFrom": {
|
|
153943
|
+
"name": "SbbLinkBaseElement",
|
|
153944
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153945
|
+
}
|
|
153946
|
+
},
|
|
153947
|
+
{
|
|
153948
|
+
"name": "target",
|
|
153949
|
+
"type": {
|
|
153950
|
+
"text": "LinkTargetType | string"
|
|
153951
|
+
},
|
|
153952
|
+
"default": "''",
|
|
153953
|
+
"description": "Where to display the linked URL.",
|
|
153954
|
+
"fieldName": "target",
|
|
153955
|
+
"inheritedFrom": {
|
|
153956
|
+
"name": "SbbLinkBaseElement",
|
|
153957
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153958
|
+
}
|
|
153959
|
+
},
|
|
153960
|
+
{
|
|
153961
|
+
"name": "rel",
|
|
153962
|
+
"type": {
|
|
153963
|
+
"text": "string"
|
|
153964
|
+
},
|
|
153965
|
+
"default": "''",
|
|
153966
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
153967
|
+
"fieldName": "rel",
|
|
153968
|
+
"inheritedFrom": {
|
|
153969
|
+
"name": "SbbLinkBaseElement",
|
|
153970
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153971
|
+
}
|
|
153972
|
+
},
|
|
153973
|
+
{
|
|
153974
|
+
"name": "download",
|
|
153975
|
+
"type": {
|
|
153976
|
+
"text": "boolean"
|
|
153977
|
+
},
|
|
153978
|
+
"default": "false",
|
|
153979
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
153980
|
+
"fieldName": "download",
|
|
153981
|
+
"inheritedFrom": {
|
|
153982
|
+
"name": "SbbLinkBaseElement",
|
|
153983
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153984
|
+
}
|
|
153985
|
+
},
|
|
153986
|
+
{
|
|
153987
|
+
"name": "accessibility-label",
|
|
153988
|
+
"type": {
|
|
153989
|
+
"text": "string"
|
|
153990
|
+
},
|
|
153991
|
+
"default": "''",
|
|
153992
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
153993
|
+
"fieldName": "accessibilityLabel",
|
|
153994
|
+
"inheritedFrom": {
|
|
153995
|
+
"name": "SbbLinkBaseElement",
|
|
153996
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153997
|
+
}
|
|
153998
|
+
},
|
|
153999
|
+
{
|
|
154000
|
+
"name": "accessibility-current",
|
|
154001
|
+
"type": {
|
|
154002
|
+
"text": "string"
|
|
154003
|
+
},
|
|
154004
|
+
"default": "''",
|
|
154005
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
154006
|
+
"fieldName": "accessibilityCurrent",
|
|
154007
|
+
"inheritedFrom": {
|
|
154008
|
+
"name": "SbbLinkBaseElement",
|
|
154009
|
+
"module": "core/base-elements/link-base-element.js"
|
|
154010
|
+
}
|
|
153783
154011
|
}
|
|
153784
154012
|
]
|
|
153785
154013
|
}
|
|
@@ -153787,22 +154015,22 @@
|
|
|
153787
154015
|
"exports": [
|
|
153788
154016
|
{
|
|
153789
154017
|
"kind": "js",
|
|
153790
|
-
"name": "
|
|
154018
|
+
"name": "SbbTeaserProductElement",
|
|
153791
154019
|
"declaration": {
|
|
153792
|
-
"name": "
|
|
153793
|
-
"module": "teaser-product/teaser-product
|
|
154020
|
+
"name": "SbbTeaserProductElement",
|
|
154021
|
+
"module": "teaser-product/teaser-product/teaser-product.component.js"
|
|
153794
154022
|
}
|
|
153795
154023
|
}
|
|
153796
154024
|
]
|
|
153797
154025
|
},
|
|
153798
154026
|
{
|
|
153799
154027
|
"kind": "javascript-module",
|
|
153800
|
-
"path": "teaser-product/teaser-product/teaser-product.component.js",
|
|
154028
|
+
"path": "teaser-product/teaser-product-static/teaser-product-static.component.js",
|
|
153801
154029
|
"declarations": [
|
|
153802
154030
|
{
|
|
153803
154031
|
"kind": "class",
|
|
153804
|
-
"description": "Displays a text and a footnote, combined with an image, to tease a product",
|
|
153805
|
-
"name": "
|
|
154032
|
+
"description": "Displays a text and a footnote, combined with an image, to tease a product.",
|
|
154033
|
+
"name": "SbbTeaserProductStaticElement",
|
|
153806
154034
|
"cssProperties": [
|
|
153807
154035
|
{
|
|
153808
154036
|
"description": "At which percentage the background should start getting transparent.",
|
|
@@ -153843,21 +154071,7 @@
|
|
|
153843
154071
|
"name": "SbbElement",
|
|
153844
154072
|
"module": "core/base-elements/element.js"
|
|
153845
154073
|
},
|
|
153846
|
-
"default": "'sbb-teaser-product'"
|
|
153847
|
-
},
|
|
153848
|
-
{
|
|
153849
|
-
"kind": "field",
|
|
153850
|
-
"name": "elementDependencies",
|
|
153851
|
-
"type": {
|
|
153852
|
-
"text": "SbbElementType[]"
|
|
153853
|
-
},
|
|
153854
|
-
"privacy": "public",
|
|
153855
|
-
"static": true,
|
|
153856
|
-
"inheritedFrom": {
|
|
153857
|
-
"name": "SbbElement",
|
|
153858
|
-
"module": "core/base-elements/element.js"
|
|
153859
|
-
},
|
|
153860
|
-
"default": "[SbbScreenReaderOnlyElement]"
|
|
154074
|
+
"default": "'sbb-teaser-product-static'"
|
|
153861
154075
|
},
|
|
153862
154076
|
{
|
|
153863
154077
|
"kind": "field",
|
|
@@ -153906,155 +154120,6 @@
|
|
|
153906
154120
|
"module": "core/mixins/negative-mixin.js"
|
|
153907
154121
|
}
|
|
153908
154122
|
},
|
|
153909
|
-
{
|
|
153910
|
-
"kind": "field",
|
|
153911
|
-
"name": "href",
|
|
153912
|
-
"type": {
|
|
153913
|
-
"text": "string"
|
|
153914
|
-
},
|
|
153915
|
-
"privacy": "public",
|
|
153916
|
-
"default": "''",
|
|
153917
|
-
"description": "The href value you want to link to.",
|
|
153918
|
-
"attribute": "href",
|
|
153919
|
-
"reflects": true,
|
|
153920
|
-
"inheritedFrom": {
|
|
153921
|
-
"name": "SbbLinkBaseElement",
|
|
153922
|
-
"module": "core/base-elements/link-base-element.js"
|
|
153923
|
-
}
|
|
153924
|
-
},
|
|
153925
|
-
{
|
|
153926
|
-
"kind": "field",
|
|
153927
|
-
"name": "target",
|
|
153928
|
-
"type": {
|
|
153929
|
-
"text": "LinkTargetType | string"
|
|
153930
|
-
},
|
|
153931
|
-
"privacy": "public",
|
|
153932
|
-
"default": "''",
|
|
153933
|
-
"description": "Where to display the linked URL.",
|
|
153934
|
-
"attribute": "target",
|
|
153935
|
-
"reflects": true,
|
|
153936
|
-
"inheritedFrom": {
|
|
153937
|
-
"name": "SbbLinkBaseElement",
|
|
153938
|
-
"module": "core/base-elements/link-base-element.js"
|
|
153939
|
-
}
|
|
153940
|
-
},
|
|
153941
|
-
{
|
|
153942
|
-
"kind": "field",
|
|
153943
|
-
"name": "rel",
|
|
153944
|
-
"type": {
|
|
153945
|
-
"text": "string"
|
|
153946
|
-
},
|
|
153947
|
-
"privacy": "public",
|
|
153948
|
-
"default": "''",
|
|
153949
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
153950
|
-
"attribute": "rel",
|
|
153951
|
-
"reflects": true,
|
|
153952
|
-
"inheritedFrom": {
|
|
153953
|
-
"name": "SbbLinkBaseElement",
|
|
153954
|
-
"module": "core/base-elements/link-base-element.js"
|
|
153955
|
-
}
|
|
153956
|
-
},
|
|
153957
|
-
{
|
|
153958
|
-
"kind": "field",
|
|
153959
|
-
"name": "download",
|
|
153960
|
-
"type": {
|
|
153961
|
-
"text": "boolean"
|
|
153962
|
-
},
|
|
153963
|
-
"privacy": "public",
|
|
153964
|
-
"default": "false",
|
|
153965
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
153966
|
-
"attribute": "download",
|
|
153967
|
-
"reflects": true,
|
|
153968
|
-
"inheritedFrom": {
|
|
153969
|
-
"name": "SbbLinkBaseElement",
|
|
153970
|
-
"module": "core/base-elements/link-base-element.js"
|
|
153971
|
-
}
|
|
153972
|
-
},
|
|
153973
|
-
{
|
|
153974
|
-
"kind": "field",
|
|
153975
|
-
"name": "accessibilityLabel",
|
|
153976
|
-
"type": {
|
|
153977
|
-
"text": "string"
|
|
153978
|
-
},
|
|
153979
|
-
"privacy": "public",
|
|
153980
|
-
"default": "''",
|
|
153981
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
153982
|
-
"attribute": "accessibility-label",
|
|
153983
|
-
"inheritedFrom": {
|
|
153984
|
-
"name": "SbbLinkBaseElement",
|
|
153985
|
-
"module": "core/base-elements/link-base-element.js"
|
|
153986
|
-
}
|
|
153987
|
-
},
|
|
153988
|
-
{
|
|
153989
|
-
"kind": "field",
|
|
153990
|
-
"name": "accessibilityCurrent",
|
|
153991
|
-
"type": {
|
|
153992
|
-
"text": "string"
|
|
153993
|
-
},
|
|
153994
|
-
"privacy": "public",
|
|
153995
|
-
"default": "''",
|
|
153996
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
153997
|
-
"attribute": "accessibility-current",
|
|
153998
|
-
"inheritedFrom": {
|
|
153999
|
-
"name": "SbbLinkBaseElement",
|
|
154000
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154001
|
-
}
|
|
154002
|
-
},
|
|
154003
|
-
{
|
|
154004
|
-
"kind": "field",
|
|
154005
|
-
"name": "language",
|
|
154006
|
-
"privacy": "protected",
|
|
154007
|
-
"default": "new SbbLanguageController(this)",
|
|
154008
|
-
"inheritedFrom": {
|
|
154009
|
-
"name": "SbbLinkBaseElement",
|
|
154010
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154011
|
-
}
|
|
154012
|
-
},
|
|
154013
|
-
{
|
|
154014
|
-
"kind": "field",
|
|
154015
|
-
"name": "anchorRole",
|
|
154016
|
-
"type": {
|
|
154017
|
-
"text": "string | null"
|
|
154018
|
-
},
|
|
154019
|
-
"privacy": "protected",
|
|
154020
|
-
"readonly": true,
|
|
154021
|
-
"default": "null",
|
|
154022
|
-
"inheritedFrom": {
|
|
154023
|
-
"name": "SbbLinkBaseElement",
|
|
154024
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154025
|
-
}
|
|
154026
|
-
},
|
|
154027
|
-
{
|
|
154028
|
-
"kind": "field",
|
|
154029
|
-
"name": "_evaluateRelAttribute",
|
|
154030
|
-
"privacy": "private",
|
|
154031
|
-
"inheritedFrom": {
|
|
154032
|
-
"name": "SbbLinkBaseElement",
|
|
154033
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154034
|
-
}
|
|
154035
|
-
},
|
|
154036
|
-
{
|
|
154037
|
-
"kind": "method",
|
|
154038
|
-
"name": "renderLink",
|
|
154039
|
-
"privacy": "protected",
|
|
154040
|
-
"return": {
|
|
154041
|
-
"type": {
|
|
154042
|
-
"text": "TemplateResult"
|
|
154043
|
-
}
|
|
154044
|
-
},
|
|
154045
|
-
"parameters": [
|
|
154046
|
-
{
|
|
154047
|
-
"name": "renderContent",
|
|
154048
|
-
"type": {
|
|
154049
|
-
"text": "TemplateResult"
|
|
154050
|
-
}
|
|
154051
|
-
}
|
|
154052
|
-
],
|
|
154053
|
-
"inheritedFrom": {
|
|
154054
|
-
"name": "SbbLinkBaseElement",
|
|
154055
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154056
|
-
}
|
|
154057
|
-
},
|
|
154058
154123
|
{
|
|
154059
154124
|
"kind": "field",
|
|
154060
154125
|
"name": "maybeDisabled",
|
|
@@ -154109,6 +154174,19 @@
|
|
|
154109
154174
|
"module": "core/base-elements/element.js"
|
|
154110
154175
|
}
|
|
154111
154176
|
},
|
|
154177
|
+
{
|
|
154178
|
+
"kind": "field",
|
|
154179
|
+
"name": "elementDependencies",
|
|
154180
|
+
"type": {
|
|
154181
|
+
"text": "SbbElementType[] | undefined"
|
|
154182
|
+
},
|
|
154183
|
+
"privacy": "public",
|
|
154184
|
+
"static": true,
|
|
154185
|
+
"inheritedFrom": {
|
|
154186
|
+
"name": "SbbElement",
|
|
154187
|
+
"module": "core/base-elements/element.js"
|
|
154188
|
+
}
|
|
154189
|
+
},
|
|
154112
154190
|
{
|
|
154113
154191
|
"kind": "field",
|
|
154114
154192
|
"name": "role",
|
|
@@ -154349,10 +154427,10 @@
|
|
|
154349
154427
|
}
|
|
154350
154428
|
],
|
|
154351
154429
|
"superclass": {
|
|
154352
|
-
"name": "
|
|
154430
|
+
"name": "SbbActionBaseElement",
|
|
154353
154431
|
"module": "core.js"
|
|
154354
154432
|
},
|
|
154355
|
-
"tagName": "sbb-teaser-product",
|
|
154433
|
+
"tagName": "sbb-teaser-product-static",
|
|
154356
154434
|
"customElement": true,
|
|
154357
154435
|
"attributes": [
|
|
154358
154436
|
{
|
|
@@ -154380,84 +154458,6 @@
|
|
|
154380
154458
|
"name": "SbbNegativeMixin",
|
|
154381
154459
|
"module": "core/mixins/negative-mixin.js"
|
|
154382
154460
|
}
|
|
154383
|
-
},
|
|
154384
|
-
{
|
|
154385
|
-
"name": "href",
|
|
154386
|
-
"type": {
|
|
154387
|
-
"text": "string"
|
|
154388
|
-
},
|
|
154389
|
-
"default": "''",
|
|
154390
|
-
"description": "The href value you want to link to.",
|
|
154391
|
-
"fieldName": "href",
|
|
154392
|
-
"inheritedFrom": {
|
|
154393
|
-
"name": "SbbLinkBaseElement",
|
|
154394
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154395
|
-
}
|
|
154396
|
-
},
|
|
154397
|
-
{
|
|
154398
|
-
"name": "target",
|
|
154399
|
-
"type": {
|
|
154400
|
-
"text": "LinkTargetType | string"
|
|
154401
|
-
},
|
|
154402
|
-
"default": "''",
|
|
154403
|
-
"description": "Where to display the linked URL.",
|
|
154404
|
-
"fieldName": "target",
|
|
154405
|
-
"inheritedFrom": {
|
|
154406
|
-
"name": "SbbLinkBaseElement",
|
|
154407
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154408
|
-
}
|
|
154409
|
-
},
|
|
154410
|
-
{
|
|
154411
|
-
"name": "rel",
|
|
154412
|
-
"type": {
|
|
154413
|
-
"text": "string"
|
|
154414
|
-
},
|
|
154415
|
-
"default": "''",
|
|
154416
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
154417
|
-
"fieldName": "rel",
|
|
154418
|
-
"inheritedFrom": {
|
|
154419
|
-
"name": "SbbLinkBaseElement",
|
|
154420
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154421
|
-
}
|
|
154422
|
-
},
|
|
154423
|
-
{
|
|
154424
|
-
"name": "download",
|
|
154425
|
-
"type": {
|
|
154426
|
-
"text": "boolean"
|
|
154427
|
-
},
|
|
154428
|
-
"default": "false",
|
|
154429
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
154430
|
-
"fieldName": "download",
|
|
154431
|
-
"inheritedFrom": {
|
|
154432
|
-
"name": "SbbLinkBaseElement",
|
|
154433
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154434
|
-
}
|
|
154435
|
-
},
|
|
154436
|
-
{
|
|
154437
|
-
"name": "accessibility-label",
|
|
154438
|
-
"type": {
|
|
154439
|
-
"text": "string"
|
|
154440
|
-
},
|
|
154441
|
-
"default": "''",
|
|
154442
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
154443
|
-
"fieldName": "accessibilityLabel",
|
|
154444
|
-
"inheritedFrom": {
|
|
154445
|
-
"name": "SbbLinkBaseElement",
|
|
154446
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154447
|
-
}
|
|
154448
|
-
},
|
|
154449
|
-
{
|
|
154450
|
-
"name": "accessibility-current",
|
|
154451
|
-
"type": {
|
|
154452
|
-
"text": "string"
|
|
154453
|
-
},
|
|
154454
|
-
"default": "''",
|
|
154455
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
154456
|
-
"fieldName": "accessibilityCurrent",
|
|
154457
|
-
"inheritedFrom": {
|
|
154458
|
-
"name": "SbbLinkBaseElement",
|
|
154459
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154460
|
-
}
|
|
154461
154461
|
}
|
|
154462
154462
|
]
|
|
154463
154463
|
}
|
|
@@ -154465,10 +154465,10 @@
|
|
|
154465
154465
|
"exports": [
|
|
154466
154466
|
{
|
|
154467
154467
|
"kind": "js",
|
|
154468
|
-
"name": "
|
|
154468
|
+
"name": "SbbTeaserProductStaticElement",
|
|
154469
154469
|
"declaration": {
|
|
154470
|
-
"name": "
|
|
154471
|
-
"module": "teaser-product/teaser-product/teaser-product.component.js"
|
|
154470
|
+
"name": "SbbTeaserProductStaticElement",
|
|
154471
|
+
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
154472
154472
|
}
|
|
154473
154473
|
}
|
|
154474
154474
|
]
|