@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776402862 → 5.0.0-next-dev.1776413392
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 +1350 -1350
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -110893,12 +110893,22 @@
|
|
|
110893
110893
|
},
|
|
110894
110894
|
{
|
|
110895
110895
|
"kind": "javascript-module",
|
|
110896
|
-
"path": "form-field/form-field-
|
|
110896
|
+
"path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
|
|
110897
110897
|
"declarations": [
|
|
110898
110898
|
{
|
|
110899
110899
|
"kind": "class",
|
|
110900
|
-
"description": "
|
|
110901
|
-
"name": "
|
|
110900
|
+
"description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
|
|
110901
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
110902
|
+
"slots": [
|
|
110903
|
+
{
|
|
110904
|
+
"description": "Use the unnamed slot to display a custom description text after the counter.",
|
|
110905
|
+
"name": "",
|
|
110906
|
+
"inheritedFrom": {
|
|
110907
|
+
"name": "SbbHintElement",
|
|
110908
|
+
"module": "form-field/hint/hint.component.js"
|
|
110909
|
+
}
|
|
110910
|
+
}
|
|
110911
|
+
],
|
|
110902
110912
|
"members": [
|
|
110903
110913
|
{
|
|
110904
110914
|
"kind": "field",
|
|
@@ -110909,11 +110919,11 @@
|
|
|
110909
110919
|
"privacy": "public",
|
|
110910
110920
|
"static": true,
|
|
110911
110921
|
"readonly": true,
|
|
110922
|
+
"default": "'sbb-form-field-text-counter'",
|
|
110912
110923
|
"inheritedFrom": {
|
|
110913
110924
|
"name": "SbbElement",
|
|
110914
110925
|
"module": "core/base-elements/element.js"
|
|
110915
|
-
}
|
|
110916
|
-
"default": "'sbb-form-field-clear'"
|
|
110926
|
+
}
|
|
110917
110927
|
},
|
|
110918
110928
|
{
|
|
110919
110929
|
"kind": "field",
|
|
@@ -110923,19 +110933,20 @@
|
|
|
110923
110933
|
},
|
|
110924
110934
|
"privacy": "public",
|
|
110925
110935
|
"static": true,
|
|
110936
|
+
"default": "[SbbScreenReaderOnlyElement]",
|
|
110926
110937
|
"inheritedFrom": {
|
|
110927
110938
|
"name": "SbbElement",
|
|
110928
110939
|
"module": "core/base-elements/element.js"
|
|
110929
|
-
}
|
|
110930
|
-
"default": "[SbbIconElement]"
|
|
110940
|
+
}
|
|
110931
110941
|
},
|
|
110932
110942
|
{
|
|
110933
110943
|
"kind": "field",
|
|
110934
|
-
"name": "
|
|
110944
|
+
"name": "_remainingCharacters",
|
|
110935
110945
|
"type": {
|
|
110936
|
-
"text": "
|
|
110946
|
+
"text": "number"
|
|
110937
110947
|
},
|
|
110938
|
-
"privacy": "private"
|
|
110948
|
+
"privacy": "private",
|
|
110949
|
+
"default": "0"
|
|
110939
110950
|
},
|
|
110940
110951
|
{
|
|
110941
110952
|
"kind": "field",
|
|
@@ -110943,29 +110954,33 @@
|
|
|
110943
110954
|
"privacy": "private",
|
|
110944
110955
|
"default": "new SbbLanguageController(this)"
|
|
110945
110956
|
},
|
|
110957
|
+
{
|
|
110958
|
+
"kind": "field",
|
|
110959
|
+
"name": "_abortController",
|
|
110960
|
+
"type": {
|
|
110961
|
+
"text": "AbortController | null"
|
|
110962
|
+
},
|
|
110963
|
+
"privacy": "private",
|
|
110964
|
+
"default": "null"
|
|
110965
|
+
},
|
|
110946
110966
|
{
|
|
110947
110967
|
"kind": "method",
|
|
110948
|
-
"name": "
|
|
110968
|
+
"name": "_onInputUpdate",
|
|
110949
110969
|
"privacy": "private",
|
|
110950
110970
|
"return": {
|
|
110951
110971
|
"type": {
|
|
110952
|
-
"text": "
|
|
110972
|
+
"text": "void"
|
|
110953
110973
|
}
|
|
110954
110974
|
}
|
|
110955
110975
|
},
|
|
110956
110976
|
{
|
|
110957
110977
|
"kind": "method",
|
|
110958
|
-
"name": "
|
|
110959
|
-
"privacy": "
|
|
110978
|
+
"name": "_infoText",
|
|
110979
|
+
"privacy": "private",
|
|
110960
110980
|
"return": {
|
|
110961
110981
|
"type": {
|
|
110962
|
-
"text": "
|
|
110982
|
+
"text": "string"
|
|
110963
110983
|
}
|
|
110964
|
-
},
|
|
110965
|
-
"description": "Override this method to render the component template.",
|
|
110966
|
-
"inheritedFrom": {
|
|
110967
|
-
"name": "SbbActionBaseElement",
|
|
110968
|
-
"module": "core/base-elements/action-base-element.js"
|
|
110969
110984
|
}
|
|
110970
110985
|
},
|
|
110971
110986
|
{
|
|
@@ -110986,309 +111001,179 @@
|
|
|
110986
111001
|
},
|
|
110987
111002
|
{
|
|
110988
111003
|
"kind": "field",
|
|
110989
|
-
"name": "
|
|
111004
|
+
"name": "formField",
|
|
110990
111005
|
"type": {
|
|
110991
|
-
"text": "
|
|
111006
|
+
"text": "SbbFormFieldElement | null"
|
|
110992
111007
|
},
|
|
110993
|
-
"privacy": "
|
|
110994
|
-
"
|
|
110995
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
111008
|
+
"privacy": "protected",
|
|
111009
|
+
"default": "null",
|
|
110996
111010
|
"inheritedFrom": {
|
|
110997
|
-
"name": "
|
|
110998
|
-
"module": "
|
|
111011
|
+
"name": "SbbHintElement",
|
|
111012
|
+
"module": "form-field/hint/hint.component.js"
|
|
110999
111013
|
}
|
|
111000
111014
|
},
|
|
111001
111015
|
{
|
|
111002
111016
|
"kind": "field",
|
|
111003
|
-
"name": "
|
|
111017
|
+
"name": "['_$sbbElement$']",
|
|
111004
111018
|
"type": {
|
|
111005
|
-
"text": "
|
|
111006
|
-
},
|
|
111007
|
-
"privacy": "public",
|
|
111008
|
-
"inheritedFrom": {
|
|
111009
|
-
"name": "SbbButtonBaseElement",
|
|
111010
|
-
"module": "core/base-elements/button-base-element.js"
|
|
111019
|
+
"text": "boolean"
|
|
111011
111020
|
},
|
|
111012
|
-
"default": "''",
|
|
111013
|
-
"description": "Value of the form element.",
|
|
111014
|
-
"attribute": "value"
|
|
111015
|
-
},
|
|
111016
|
-
{
|
|
111017
|
-
"kind": "field",
|
|
111018
|
-
"name": "type",
|
|
111019
111021
|
"privacy": "public",
|
|
111020
|
-
"
|
|
111021
|
-
"default": "
|
|
111022
|
-
"type": {
|
|
111023
|
-
"text": "SbbButtonType"
|
|
111024
|
-
},
|
|
111025
|
-
"attribute": "type",
|
|
111022
|
+
"static": true,
|
|
111023
|
+
"default": "true",
|
|
111026
111024
|
"inheritedFrom": {
|
|
111027
|
-
"name": "
|
|
111028
|
-
"module": "core/base-elements/
|
|
111025
|
+
"name": "SbbElement",
|
|
111026
|
+
"module": "core/base-elements/element.js"
|
|
111029
111027
|
}
|
|
111030
111028
|
},
|
|
111031
111029
|
{
|
|
111032
111030
|
"kind": "field",
|
|
111033
|
-
"name": "
|
|
111031
|
+
"name": "role",
|
|
111034
111032
|
"type": {
|
|
111035
|
-
"text": "
|
|
111033
|
+
"text": "ElementInternals['role'] | undefined"
|
|
111036
111034
|
},
|
|
111037
111035
|
"privacy": "public",
|
|
111038
|
-
"
|
|
111039
|
-
"inheritedFrom": {
|
|
111040
|
-
"name": "SbbButtonBaseElement",
|
|
111041
|
-
"module": "core/base-elements/button-base-element.js"
|
|
111042
|
-
},
|
|
111043
|
-
"attribute": "form"
|
|
111044
|
-
},
|
|
111045
|
-
{
|
|
111046
|
-
"kind": "field",
|
|
111047
|
-
"name": "_formId",
|
|
111048
|
-
"type": {
|
|
111049
|
-
"text": "string"
|
|
111050
|
-
},
|
|
111051
|
-
"privacy": "private",
|
|
111052
|
-
"default": "''",
|
|
111036
|
+
"static": true,
|
|
111053
111037
|
"inheritedFrom": {
|
|
111054
|
-
"name": "
|
|
111055
|
-
"module": "core/base-elements/
|
|
111038
|
+
"name": "SbbElement",
|
|
111039
|
+
"module": "core/base-elements/element.js"
|
|
111056
111040
|
}
|
|
111057
111041
|
},
|
|
111058
111042
|
{
|
|
111059
111043
|
"kind": "field",
|
|
111060
|
-
"name": "
|
|
111061
|
-
"
|
|
111062
|
-
|
|
111063
|
-
"name": "SbbButtonBaseElement",
|
|
111064
|
-
"module": "core/base-elements/button-base-element.js"
|
|
111065
|
-
}
|
|
111066
|
-
},
|
|
111067
|
-
{
|
|
111068
|
-
"kind": "method",
|
|
111069
|
-
"name": "_requestSubmit",
|
|
111070
|
-
"privacy": "private",
|
|
111071
|
-
"return": {
|
|
111072
|
-
"type": {
|
|
111073
|
-
"text": "void"
|
|
111074
|
-
}
|
|
111044
|
+
"name": "_controllers",
|
|
111045
|
+
"type": {
|
|
111046
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
111075
111047
|
},
|
|
111076
|
-
"parameters": [
|
|
111077
|
-
{
|
|
111078
|
-
"name": "form",
|
|
111079
|
-
"type": {
|
|
111080
|
-
"text": "HTMLFormElement"
|
|
111081
|
-
}
|
|
111082
|
-
}
|
|
111083
|
-
],
|
|
111084
|
-
"inheritedFrom": {
|
|
111085
|
-
"name": "SbbButtonBaseElement",
|
|
111086
|
-
"module": "core/base-elements/button-base-element.js"
|
|
111087
|
-
}
|
|
111088
|
-
},
|
|
111089
|
-
{
|
|
111090
|
-
"kind": "field",
|
|
111091
|
-
"name": "_formKeyDown",
|
|
111092
111048
|
"privacy": "private",
|
|
111093
111049
|
"inheritedFrom": {
|
|
111094
|
-
"name": "
|
|
111095
|
-
"module": "core/base-elements/
|
|
111050
|
+
"name": "SbbElement",
|
|
111051
|
+
"module": "core/base-elements/element.js"
|
|
111096
111052
|
}
|
|
111097
111053
|
},
|
|
111098
111054
|
{
|
|
111099
111055
|
"kind": "field",
|
|
111100
|
-
"name": "
|
|
111056
|
+
"name": "_hydrationRequired",
|
|
111101
111057
|
"type": {
|
|
111102
111058
|
"text": "boolean"
|
|
111103
111059
|
},
|
|
111104
|
-
"privacy": "
|
|
111105
|
-
"
|
|
111106
|
-
"default": "true",
|
|
111107
|
-
"inheritedFrom": {
|
|
111108
|
-
"name": "SbbFormAssociatedMixin",
|
|
111109
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
111110
|
-
}
|
|
111111
|
-
},
|
|
111112
|
-
{
|
|
111113
|
-
"kind": "field",
|
|
111114
|
-
"name": "name",
|
|
111115
|
-
"privacy": "public",
|
|
111116
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
111117
|
-
"type": {
|
|
111118
|
-
"text": "string"
|
|
111119
|
-
},
|
|
111120
|
-
"attribute": "name",
|
|
111060
|
+
"privacy": "private",
|
|
111061
|
+
"default": "!!this.shadowRoot",
|
|
111121
111062
|
"inheritedFrom": {
|
|
111122
|
-
"name": "
|
|
111123
|
-
"module": "core/
|
|
111063
|
+
"name": "SbbElement",
|
|
111064
|
+
"module": "core/base-elements/element.js"
|
|
111124
111065
|
}
|
|
111125
111066
|
},
|
|
111126
111067
|
{
|
|
111127
111068
|
"kind": "field",
|
|
111128
|
-
"name": "
|
|
111129
|
-
"
|
|
111130
|
-
|
|
111131
|
-
},
|
|
111132
|
-
"privacy": "public",
|
|
111133
|
-
"description": "Returns the ValidityState object for this element.",
|
|
111134
|
-
"readonly": true,
|
|
111069
|
+
"name": "_hydrationComplete",
|
|
111070
|
+
"privacy": "private",
|
|
111071
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
111135
111072
|
"inheritedFrom": {
|
|
111136
|
-
"name": "
|
|
111137
|
-
"module": "core/
|
|
111073
|
+
"name": "SbbElement",
|
|
111074
|
+
"module": "core/base-elements/element.js"
|
|
111138
111075
|
}
|
|
111139
111076
|
},
|
|
111140
111077
|
{
|
|
111141
111078
|
"kind": "field",
|
|
111142
|
-
"name": "
|
|
111079
|
+
"name": "_resolveHydration",
|
|
111143
111080
|
"type": {
|
|
111144
|
-
"text": "
|
|
111081
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
111145
111082
|
},
|
|
111146
|
-
"privacy": "
|
|
111147
|
-
"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.",
|
|
111148
|
-
"readonly": true,
|
|
111083
|
+
"privacy": "private",
|
|
111149
111084
|
"inheritedFrom": {
|
|
111150
|
-
"name": "
|
|
111151
|
-
"module": "core/
|
|
111085
|
+
"name": "SbbElement",
|
|
111086
|
+
"module": "core/base-elements/element.js"
|
|
111152
111087
|
}
|
|
111153
111088
|
},
|
|
111154
111089
|
{
|
|
111155
111090
|
"kind": "field",
|
|
111156
|
-
"name": "
|
|
111091
|
+
"name": "_textObserver",
|
|
111157
111092
|
"type": {
|
|
111158
|
-
"text": "
|
|
111093
|
+
"text": "MutationObserver | undefined"
|
|
111159
111094
|
},
|
|
111160
|
-
"privacy": "public",
|
|
111161
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
111162
|
-
"readonly": true,
|
|
111163
|
-
"inheritedFrom": {
|
|
111164
|
-
"name": "SbbFormAssociatedMixin",
|
|
111165
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
111166
|
-
}
|
|
111167
|
-
},
|
|
111168
|
-
{
|
|
111169
|
-
"kind": "field",
|
|
111170
|
-
"name": "_validityStates",
|
|
111171
111095
|
"privacy": "private",
|
|
111172
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
111173
111096
|
"inheritedFrom": {
|
|
111174
|
-
"name": "
|
|
111175
|
-
"module": "core/
|
|
111097
|
+
"name": "SbbElement",
|
|
111098
|
+
"module": "core/base-elements/element.js"
|
|
111176
111099
|
}
|
|
111177
111100
|
},
|
|
111178
111101
|
{
|
|
111179
111102
|
"kind": "field",
|
|
111180
|
-
"name": "
|
|
111103
|
+
"name": "hydrationRequired",
|
|
111181
111104
|
"type": {
|
|
111182
111105
|
"text": "boolean"
|
|
111183
111106
|
},
|
|
111184
111107
|
"privacy": "protected",
|
|
111185
|
-
"
|
|
111186
|
-
"
|
|
111108
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
111109
|
+
"readonly": true,
|
|
111187
111110
|
"inheritedFrom": {
|
|
111188
|
-
"name": "
|
|
111189
|
-
"module": "core/
|
|
111190
|
-
}
|
|
111111
|
+
"name": "SbbElement",
|
|
111112
|
+
"module": "core/base-elements/element.js"
|
|
111113
|
+
},
|
|
111114
|
+
"default": "!!this.shadowRoot"
|
|
111191
111115
|
},
|
|
111192
111116
|
{
|
|
111193
111117
|
"kind": "method",
|
|
111194
|
-
"name": "
|
|
111195
|
-
"privacy": "
|
|
111118
|
+
"name": "toggleState",
|
|
111119
|
+
"privacy": "protected",
|
|
111196
111120
|
"return": {
|
|
111197
111121
|
"type": {
|
|
111198
|
-
"text": "
|
|
111199
|
-
}
|
|
111200
|
-
},
|
|
111201
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
111202
|
-
"inheritedFrom": {
|
|
111203
|
-
"name": "SbbFormAssociatedMixin",
|
|
111204
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
111205
|
-
}
|
|
111206
|
-
},
|
|
111207
|
-
{
|
|
111208
|
-
"kind": "method",
|
|
111209
|
-
"name": "reportValidity",
|
|
111210
|
-
"privacy": "public",
|
|
111211
|
-
"return": {
|
|
111212
|
-
"type": {
|
|
111213
|
-
"text": "boolean"
|
|
111214
|
-
}
|
|
111215
|
-
},
|
|
111216
|
-
"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.",
|
|
111217
|
-
"inheritedFrom": {
|
|
111218
|
-
"name": "SbbFormAssociatedMixin",
|
|
111219
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
111220
|
-
}
|
|
111221
|
-
},
|
|
111222
|
-
{
|
|
111223
|
-
"kind": "method",
|
|
111224
|
-
"name": "setCustomValidity",
|
|
111225
|
-
"privacy": "public",
|
|
111226
|
-
"return": {
|
|
111227
|
-
"type": {
|
|
111228
|
-
"text": "void"
|
|
111122
|
+
"text": "void"
|
|
111229
111123
|
}
|
|
111230
111124
|
},
|
|
111231
111125
|
"parameters": [
|
|
111232
111126
|
{
|
|
111233
|
-
"name": "
|
|
111127
|
+
"name": "value",
|
|
111234
111128
|
"type": {
|
|
111235
111129
|
"text": "string"
|
|
111236
111130
|
}
|
|
111131
|
+
},
|
|
111132
|
+
{
|
|
111133
|
+
"name": "force",
|
|
111134
|
+
"optional": true,
|
|
111135
|
+
"type": {
|
|
111136
|
+
"text": "boolean"
|
|
111137
|
+
}
|
|
111237
111138
|
}
|
|
111238
111139
|
],
|
|
111239
|
-
"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.",
|
|
111240
111140
|
"inheritedFrom": {
|
|
111241
|
-
"name": "
|
|
111242
|
-
"module": "core/
|
|
111141
|
+
"name": "SbbElement",
|
|
111142
|
+
"module": "core/base-elements/element.js"
|
|
111243
111143
|
}
|
|
111244
111144
|
},
|
|
111245
111145
|
{
|
|
111246
111146
|
"kind": "method",
|
|
111247
|
-
"name": "
|
|
111147
|
+
"name": "_slotchangeHandler",
|
|
111248
111148
|
"privacy": "private",
|
|
111249
|
-
"return": {
|
|
111250
|
-
"type": {
|
|
111251
|
-
"text": "boolean"
|
|
111252
|
-
}
|
|
111253
|
-
},
|
|
111254
|
-
"inheritedFrom": {
|
|
111255
|
-
"name": "SbbFormAssociatedMixin",
|
|
111256
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
111257
|
-
}
|
|
111258
|
-
},
|
|
111259
|
-
{
|
|
111260
|
-
"kind": "method",
|
|
111261
|
-
"name": "updateFormValue",
|
|
111262
|
-
"privacy": "protected",
|
|
111263
111149
|
"return": {
|
|
111264
111150
|
"type": {
|
|
111265
111151
|
"text": "void"
|
|
111266
111152
|
}
|
|
111267
111153
|
},
|
|
111268
|
-
"
|
|
111269
|
-
|
|
111270
|
-
|
|
111271
|
-
|
|
111272
|
-
|
|
111273
|
-
|
|
111274
|
-
|
|
111275
|
-
|
|
111276
|
-
|
|
111277
|
-
|
|
111278
|
-
|
|
111279
|
-
|
|
111280
|
-
"text": "FormRestoreState"
|
|
111154
|
+
"parameters": [
|
|
111155
|
+
{
|
|
111156
|
+
"name": "event",
|
|
111157
|
+
"type": {
|
|
111158
|
+
"text": "Event"
|
|
111159
|
+
}
|
|
111160
|
+
},
|
|
111161
|
+
{
|
|
111162
|
+
"name": "slot",
|
|
111163
|
+
"type": {
|
|
111164
|
+
"text": "HTMLSlotElement"
|
|
111165
|
+
}
|
|
111281
111166
|
}
|
|
111282
|
-
|
|
111167
|
+
],
|
|
111283
111168
|
"inheritedFrom": {
|
|
111284
|
-
"name": "
|
|
111285
|
-
"module": "core/
|
|
111169
|
+
"name": "SbbElement",
|
|
111170
|
+
"module": "core/base-elements/element.js"
|
|
111286
111171
|
}
|
|
111287
111172
|
},
|
|
111288
111173
|
{
|
|
111289
111174
|
"kind": "method",
|
|
111290
|
-
"name": "
|
|
111291
|
-
"privacy": "
|
|
111175
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
111176
|
+
"privacy": "private",
|
|
111292
111177
|
"return": {
|
|
111293
111178
|
"type": {
|
|
111294
111179
|
"text": "void"
|
|
@@ -111296,35 +111181,21 @@
|
|
|
111296
111181
|
},
|
|
111297
111182
|
"parameters": [
|
|
111298
111183
|
{
|
|
111299
|
-
"name": "
|
|
111300
|
-
"type": {
|
|
111301
|
-
"text": "T"
|
|
111302
|
-
}
|
|
111303
|
-
},
|
|
111304
|
-
{
|
|
111305
|
-
"name": "message",
|
|
111306
|
-
"type": {
|
|
111307
|
-
"text": "string"
|
|
111308
|
-
}
|
|
111309
|
-
},
|
|
111310
|
-
{
|
|
111311
|
-
"name": "flagValue",
|
|
111312
|
-
"optional": true,
|
|
111184
|
+
"name": "slot",
|
|
111313
111185
|
"type": {
|
|
111314
|
-
"text": "
|
|
111186
|
+
"text": "HTMLSlotElement"
|
|
111315
111187
|
}
|
|
111316
111188
|
}
|
|
111317
111189
|
],
|
|
111318
|
-
"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).",
|
|
111319
111190
|
"inheritedFrom": {
|
|
111320
|
-
"name": "
|
|
111321
|
-
"module": "core/
|
|
111191
|
+
"name": "SbbElement",
|
|
111192
|
+
"module": "core/base-elements/element.js"
|
|
111322
111193
|
}
|
|
111323
111194
|
},
|
|
111324
111195
|
{
|
|
111325
111196
|
"kind": "method",
|
|
111326
|
-
"name": "
|
|
111327
|
-
"privacy": "
|
|
111197
|
+
"name": "_updateSlottedState",
|
|
111198
|
+
"privacy": "private",
|
|
111328
111199
|
"return": {
|
|
111329
111200
|
"type": {
|
|
111330
111201
|
"text": "void"
|
|
@@ -111332,37 +111203,43 @@
|
|
|
111332
111203
|
},
|
|
111333
111204
|
"parameters": [
|
|
111334
111205
|
{
|
|
111335
|
-
"name": "
|
|
111206
|
+
"name": "slot",
|
|
111336
111207
|
"type": {
|
|
111337
|
-
"text": "
|
|
111208
|
+
"text": "HTMLSlotElement"
|
|
111338
111209
|
}
|
|
111339
111210
|
}
|
|
111340
111211
|
],
|
|
111341
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
111342
111212
|
"inheritedFrom": {
|
|
111343
|
-
"name": "
|
|
111344
|
-
"module": "core/
|
|
111213
|
+
"name": "SbbElement",
|
|
111214
|
+
"module": "core/base-elements/element.js"
|
|
111345
111215
|
}
|
|
111346
111216
|
},
|
|
111347
111217
|
{
|
|
111348
111218
|
"kind": "method",
|
|
111349
|
-
"name": "
|
|
111350
|
-
"privacy": "
|
|
111219
|
+
"name": "_observeTextNodesInSlot",
|
|
111220
|
+
"privacy": "private",
|
|
111351
111221
|
"return": {
|
|
111352
111222
|
"type": {
|
|
111353
111223
|
"text": "void"
|
|
111354
111224
|
}
|
|
111355
111225
|
},
|
|
111356
|
-
"
|
|
111226
|
+
"parameters": [
|
|
111227
|
+
{
|
|
111228
|
+
"name": "slot",
|
|
111229
|
+
"type": {
|
|
111230
|
+
"text": "HTMLSlotElement"
|
|
111231
|
+
}
|
|
111232
|
+
}
|
|
111233
|
+
],
|
|
111357
111234
|
"inheritedFrom": {
|
|
111358
|
-
"name": "
|
|
111359
|
-
"module": "core/
|
|
111235
|
+
"name": "SbbElement",
|
|
111236
|
+
"module": "core/base-elements/element.js"
|
|
111360
111237
|
}
|
|
111361
111238
|
},
|
|
111362
111239
|
{
|
|
111363
111240
|
"kind": "method",
|
|
111364
|
-
"name": "
|
|
111365
|
-
"privacy": "
|
|
111241
|
+
"name": "_hasSlottedContent",
|
|
111242
|
+
"privacy": "private",
|
|
111366
111243
|
"return": {
|
|
111367
111244
|
"type": {
|
|
111368
111245
|
"text": "boolean"
|
|
@@ -111370,140 +111247,259 @@
|
|
|
111370
111247
|
},
|
|
111371
111248
|
"parameters": [
|
|
111372
111249
|
{
|
|
111373
|
-
"name": "
|
|
111250
|
+
"name": "slot",
|
|
111374
111251
|
"type": {
|
|
111375
|
-
"text": "
|
|
111252
|
+
"text": "HTMLSlotElement"
|
|
111376
111253
|
}
|
|
111377
111254
|
}
|
|
111378
111255
|
],
|
|
111379
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
111380
111256
|
"inheritedFrom": {
|
|
111381
|
-
"name": "
|
|
111382
|
-
"module": "core/
|
|
111257
|
+
"name": "SbbElement",
|
|
111258
|
+
"module": "core/base-elements/element.js"
|
|
111383
111259
|
}
|
|
111384
|
-
}
|
|
111260
|
+
}
|
|
111261
|
+
],
|
|
111262
|
+
"superclass": {
|
|
111263
|
+
"name": "SbbHintElement",
|
|
111264
|
+
"module": "form-field/hint/hint.component.js"
|
|
111265
|
+
},
|
|
111266
|
+
"tagName": "sbb-form-field-text-counter",
|
|
111267
|
+
"customElement": true,
|
|
111268
|
+
"attributes": [
|
|
111385
111269
|
{
|
|
111386
|
-
"
|
|
111387
|
-
"
|
|
111388
|
-
|
|
111389
|
-
"return": {
|
|
111390
|
-
"type": {
|
|
111391
|
-
"text": "void"
|
|
111392
|
-
}
|
|
111270
|
+
"name": "negative",
|
|
111271
|
+
"type": {
|
|
111272
|
+
"text": "boolean"
|
|
111393
111273
|
},
|
|
111274
|
+
"default": "false",
|
|
111275
|
+
"description": "Negative coloring variant flag.",
|
|
111276
|
+
"fieldName": "negative",
|
|
111394
111277
|
"inheritedFrom": {
|
|
111395
|
-
"name": "
|
|
111396
|
-
"module": "core/mixins/
|
|
111278
|
+
"name": "SbbNegativeMixin",
|
|
111279
|
+
"module": "core/mixins/negative-mixin.js"
|
|
111397
111280
|
}
|
|
111398
|
-
}
|
|
111281
|
+
}
|
|
111282
|
+
]
|
|
111283
|
+
}
|
|
111284
|
+
],
|
|
111285
|
+
"exports": [
|
|
111286
|
+
{
|
|
111287
|
+
"kind": "js",
|
|
111288
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
111289
|
+
"declaration": {
|
|
111290
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
111291
|
+
"module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
|
|
111292
|
+
}
|
|
111293
|
+
}
|
|
111294
|
+
]
|
|
111295
|
+
},
|
|
111296
|
+
{
|
|
111297
|
+
"kind": "javascript-module",
|
|
111298
|
+
"path": "form-field/form-field-clear/form-field-clear.component.js",
|
|
111299
|
+
"declarations": [
|
|
111300
|
+
{
|
|
111301
|
+
"kind": "class",
|
|
111302
|
+
"description": "Combined with `sbb-form-field`, it displays a button which clears the input value.",
|
|
111303
|
+
"name": "SbbFormFieldClearElement",
|
|
111304
|
+
"members": [
|
|
111399
111305
|
{
|
|
111400
111306
|
"kind": "field",
|
|
111401
|
-
"name": "
|
|
111307
|
+
"name": "elementName",
|
|
111402
111308
|
"type": {
|
|
111403
|
-
"text": "
|
|
111309
|
+
"text": "string"
|
|
111404
111310
|
},
|
|
111405
111311
|
"privacy": "public",
|
|
111406
111312
|
"static": true,
|
|
111313
|
+
"readonly": true,
|
|
111407
111314
|
"inheritedFrom": {
|
|
111408
111315
|
"name": "SbbElement",
|
|
111409
111316
|
"module": "core/base-elements/element.js"
|
|
111410
111317
|
},
|
|
111411
|
-
"
|
|
111412
|
-
"default": "'button'"
|
|
111318
|
+
"default": "'sbb-form-field-clear'"
|
|
111413
111319
|
},
|
|
111414
111320
|
{
|
|
111415
111321
|
"kind": "field",
|
|
111416
|
-
"name": "
|
|
111417
|
-
"
|
|
111418
|
-
|
|
111419
|
-
|
|
111420
|
-
|
|
111421
|
-
|
|
111422
|
-
"name": "event"
|
|
111423
|
-
}
|
|
111424
|
-
],
|
|
111322
|
+
"name": "elementDependencies",
|
|
111323
|
+
"type": {
|
|
111324
|
+
"text": "SbbElementType[]"
|
|
111325
|
+
},
|
|
111326
|
+
"privacy": "public",
|
|
111327
|
+
"static": true,
|
|
111425
111328
|
"inheritedFrom": {
|
|
111426
|
-
"name": "
|
|
111427
|
-
"module": "core/base-elements/
|
|
111428
|
-
}
|
|
111329
|
+
"name": "SbbElement",
|
|
111330
|
+
"module": "core/base-elements/element.js"
|
|
111331
|
+
},
|
|
111332
|
+
"default": "[SbbIconElement]"
|
|
111429
111333
|
},
|
|
111430
111334
|
{
|
|
111431
111335
|
"kind": "field",
|
|
111432
|
-
"name": "
|
|
111433
|
-
"
|
|
111434
|
-
|
|
111435
|
-
|
|
111436
|
-
|
|
111437
|
-
}
|
|
111336
|
+
"name": "_formField",
|
|
111337
|
+
"type": {
|
|
111338
|
+
"text": "SbbFormFieldElement | null | undefined"
|
|
111339
|
+
},
|
|
111340
|
+
"privacy": "private"
|
|
111438
111341
|
},
|
|
111439
111342
|
{
|
|
111440
111343
|
"kind": "field",
|
|
111441
|
-
"name": "
|
|
111344
|
+
"name": "_language",
|
|
111442
111345
|
"privacy": "private",
|
|
111443
|
-
"
|
|
111444
|
-
|
|
111445
|
-
|
|
111446
|
-
|
|
111447
|
-
|
|
111448
|
-
|
|
111449
|
-
|
|
111450
|
-
|
|
111451
|
-
|
|
111452
|
-
|
|
111346
|
+
"default": "new SbbLanguageController(this)"
|
|
111347
|
+
},
|
|
111348
|
+
{
|
|
111349
|
+
"kind": "method",
|
|
111350
|
+
"name": "_handleClick",
|
|
111351
|
+
"privacy": "private",
|
|
111352
|
+
"return": {
|
|
111353
|
+
"type": {
|
|
111354
|
+
"text": "Promise<void>"
|
|
111355
|
+
}
|
|
111356
|
+
}
|
|
111357
|
+
},
|
|
111358
|
+
{
|
|
111359
|
+
"kind": "method",
|
|
111360
|
+
"name": "renderTemplate",
|
|
111361
|
+
"privacy": "protected",
|
|
111362
|
+
"return": {
|
|
111363
|
+
"type": {
|
|
111364
|
+
"text": "TemplateResult"
|
|
111365
|
+
}
|
|
111366
|
+
},
|
|
111367
|
+
"description": "Override this method to render the component template.",
|
|
111368
|
+
"inheritedFrom": {
|
|
111369
|
+
"name": "SbbActionBaseElement",
|
|
111370
|
+
"module": "core/base-elements/action-base-element.js"
|
|
111453
111371
|
}
|
|
111454
111372
|
},
|
|
111455
111373
|
{
|
|
111456
111374
|
"kind": "field",
|
|
111457
|
-
"name": "
|
|
111375
|
+
"name": "negative",
|
|
111376
|
+
"type": {
|
|
111377
|
+
"text": "boolean"
|
|
111378
|
+
},
|
|
111379
|
+
"privacy": "public",
|
|
111380
|
+
"default": "false",
|
|
111381
|
+
"description": "Negative coloring variant flag.",
|
|
111382
|
+
"attribute": "negative",
|
|
111383
|
+
"reflects": true,
|
|
111384
|
+
"inheritedFrom": {
|
|
111385
|
+
"name": "SbbNegativeMixin",
|
|
111386
|
+
"module": "core/mixins/negative-mixin.js"
|
|
111387
|
+
}
|
|
111388
|
+
},
|
|
111389
|
+
{
|
|
111390
|
+
"kind": "field",
|
|
111391
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
111392
|
+
"type": {
|
|
111393
|
+
"text": "array"
|
|
111394
|
+
},
|
|
111458
111395
|
"privacy": "private",
|
|
111396
|
+
"readonly": true,
|
|
111397
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
111459
111398
|
"inheritedFrom": {
|
|
111460
|
-
"name": "
|
|
111399
|
+
"name": "SbbButtonBaseElement",
|
|
111461
111400
|
"module": "core/base-elements/button-base-element.js"
|
|
111462
111401
|
}
|
|
111463
111402
|
},
|
|
111464
111403
|
{
|
|
111465
111404
|
"kind": "field",
|
|
111466
|
-
"name": "
|
|
111405
|
+
"name": "value",
|
|
111467
111406
|
"type": {
|
|
111468
|
-
"text": "
|
|
111407
|
+
"text": "string"
|
|
111469
111408
|
},
|
|
111470
|
-
"privacy": "
|
|
111471
|
-
"readonly": true,
|
|
111409
|
+
"privacy": "public",
|
|
111472
111410
|
"inheritedFrom": {
|
|
111473
|
-
"name": "
|
|
111474
|
-
"module": "core/base-elements/
|
|
111411
|
+
"name": "SbbButtonBaseElement",
|
|
111412
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111413
|
+
},
|
|
111414
|
+
"default": "''",
|
|
111415
|
+
"description": "Value of the form element.",
|
|
111416
|
+
"attribute": "value"
|
|
111417
|
+
},
|
|
111418
|
+
{
|
|
111419
|
+
"kind": "field",
|
|
111420
|
+
"name": "type",
|
|
111421
|
+
"privacy": "public",
|
|
111422
|
+
"description": "The type attribute to use for the button.",
|
|
111423
|
+
"default": "'button'",
|
|
111424
|
+
"type": {
|
|
111425
|
+
"text": "SbbButtonType"
|
|
111426
|
+
},
|
|
111427
|
+
"attribute": "type",
|
|
111428
|
+
"inheritedFrom": {
|
|
111429
|
+
"name": "SbbButtonBaseElement",
|
|
111430
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111475
111431
|
}
|
|
111476
111432
|
},
|
|
111477
111433
|
{
|
|
111478
111434
|
"kind": "field",
|
|
111479
|
-
"name": "
|
|
111435
|
+
"name": "form",
|
|
111480
111436
|
"type": {
|
|
111481
|
-
"text": "
|
|
111437
|
+
"text": "HTMLFormElement | null"
|
|
111482
111438
|
},
|
|
111483
|
-
"privacy": "
|
|
111484
|
-
"
|
|
111439
|
+
"privacy": "public",
|
|
111440
|
+
"description": "The `<form>` element to associate the button with.",
|
|
111485
111441
|
"inheritedFrom": {
|
|
111486
|
-
"name": "
|
|
111487
|
-
"module": "core/base-elements/
|
|
111442
|
+
"name": "SbbButtonBaseElement",
|
|
111443
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111444
|
+
},
|
|
111445
|
+
"attribute": "form"
|
|
111446
|
+
},
|
|
111447
|
+
{
|
|
111448
|
+
"kind": "field",
|
|
111449
|
+
"name": "_formId",
|
|
111450
|
+
"type": {
|
|
111451
|
+
"text": "string"
|
|
111452
|
+
},
|
|
111453
|
+
"privacy": "private",
|
|
111454
|
+
"default": "''",
|
|
111455
|
+
"inheritedFrom": {
|
|
111456
|
+
"name": "SbbButtonBaseElement",
|
|
111457
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111458
|
+
}
|
|
111459
|
+
},
|
|
111460
|
+
{
|
|
111461
|
+
"kind": "field",
|
|
111462
|
+
"name": "_handleButtonClick",
|
|
111463
|
+
"privacy": "private",
|
|
111464
|
+
"inheritedFrom": {
|
|
111465
|
+
"name": "SbbButtonBaseElement",
|
|
111466
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111488
111467
|
}
|
|
111489
111468
|
},
|
|
111490
111469
|
{
|
|
111491
111470
|
"kind": "method",
|
|
111492
|
-
"name": "
|
|
111493
|
-
"privacy": "
|
|
111471
|
+
"name": "_requestSubmit",
|
|
111472
|
+
"privacy": "private",
|
|
111494
111473
|
"return": {
|
|
111495
111474
|
"type": {
|
|
111496
111475
|
"text": "void"
|
|
111497
111476
|
}
|
|
111498
111477
|
},
|
|
111478
|
+
"parameters": [
|
|
111479
|
+
{
|
|
111480
|
+
"name": "form",
|
|
111481
|
+
"type": {
|
|
111482
|
+
"text": "HTMLFormElement"
|
|
111483
|
+
}
|
|
111484
|
+
}
|
|
111485
|
+
],
|
|
111499
111486
|
"inheritedFrom": {
|
|
111500
|
-
"name": "
|
|
111501
|
-
"module": "core/base-elements/
|
|
111487
|
+
"name": "SbbButtonBaseElement",
|
|
111488
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111502
111489
|
}
|
|
111503
111490
|
},
|
|
111504
111491
|
{
|
|
111505
111492
|
"kind": "field",
|
|
111506
|
-
"name": "
|
|
111493
|
+
"name": "_formKeyDown",
|
|
111494
|
+
"privacy": "private",
|
|
111495
|
+
"inheritedFrom": {
|
|
111496
|
+
"name": "SbbButtonBaseElement",
|
|
111497
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111498
|
+
}
|
|
111499
|
+
},
|
|
111500
|
+
{
|
|
111501
|
+
"kind": "field",
|
|
111502
|
+
"name": "formAssociated",
|
|
111507
111503
|
"type": {
|
|
111508
111504
|
"text": "boolean"
|
|
111509
111505
|
},
|
|
@@ -111511,145 +111507,124 @@
|
|
|
111511
111507
|
"static": true,
|
|
111512
111508
|
"default": "true",
|
|
111513
111509
|
"inheritedFrom": {
|
|
111514
|
-
"name": "
|
|
111515
|
-
"module": "core/
|
|
111510
|
+
"name": "SbbFormAssociatedMixin",
|
|
111511
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111516
111512
|
}
|
|
111517
111513
|
},
|
|
111518
111514
|
{
|
|
111519
111515
|
"kind": "field",
|
|
111520
|
-
"name": "
|
|
111516
|
+
"name": "name",
|
|
111517
|
+
"privacy": "public",
|
|
111518
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
111521
111519
|
"type": {
|
|
111522
|
-
"text": "
|
|
111520
|
+
"text": "string"
|
|
111523
111521
|
},
|
|
111524
|
-
"
|
|
111522
|
+
"attribute": "name",
|
|
111525
111523
|
"inheritedFrom": {
|
|
111526
|
-
"name": "
|
|
111527
|
-
"module": "core/
|
|
111524
|
+
"name": "SbbFormAssociatedMixin",
|
|
111525
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111528
111526
|
}
|
|
111529
111527
|
},
|
|
111530
111528
|
{
|
|
111531
111529
|
"kind": "field",
|
|
111532
|
-
"name": "
|
|
111530
|
+
"name": "validity",
|
|
111533
111531
|
"type": {
|
|
111534
|
-
"text": "
|
|
111532
|
+
"text": "ValidityState"
|
|
111535
111533
|
},
|
|
111536
|
-
"privacy": "
|
|
111537
|
-
"
|
|
111534
|
+
"privacy": "public",
|
|
111535
|
+
"description": "Returns the ValidityState object for this element.",
|
|
111536
|
+
"readonly": true,
|
|
111538
111537
|
"inheritedFrom": {
|
|
111539
|
-
"name": "
|
|
111540
|
-
"module": "core/
|
|
111538
|
+
"name": "SbbFormAssociatedMixin",
|
|
111539
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111541
111540
|
}
|
|
111542
111541
|
},
|
|
111543
111542
|
{
|
|
111544
111543
|
"kind": "field",
|
|
111545
|
-
"name": "
|
|
111546
|
-
"
|
|
111547
|
-
|
|
111544
|
+
"name": "validationMessage",
|
|
111545
|
+
"type": {
|
|
111546
|
+
"text": "string"
|
|
111547
|
+
},
|
|
111548
|
+
"privacy": "public",
|
|
111549
|
+
"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.",
|
|
111550
|
+
"readonly": true,
|
|
111548
111551
|
"inheritedFrom": {
|
|
111549
|
-
"name": "
|
|
111550
|
-
"module": "core/
|
|
111552
|
+
"name": "SbbFormAssociatedMixin",
|
|
111553
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111551
111554
|
}
|
|
111552
111555
|
},
|
|
111553
111556
|
{
|
|
111554
111557
|
"kind": "field",
|
|
111555
|
-
"name": "
|
|
111558
|
+
"name": "willValidate",
|
|
111556
111559
|
"type": {
|
|
111557
|
-
"text": "
|
|
111560
|
+
"text": "boolean"
|
|
111558
111561
|
},
|
|
111559
|
-
"privacy": "
|
|
111562
|
+
"privacy": "public",
|
|
111563
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
111564
|
+
"readonly": true,
|
|
111560
111565
|
"inheritedFrom": {
|
|
111561
|
-
"name": "
|
|
111562
|
-
"module": "core/
|
|
111566
|
+
"name": "SbbFormAssociatedMixin",
|
|
111567
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111563
111568
|
}
|
|
111564
111569
|
},
|
|
111565
111570
|
{
|
|
111566
111571
|
"kind": "field",
|
|
111567
|
-
"name": "
|
|
111568
|
-
"type": {
|
|
111569
|
-
"text": "MutationObserver | undefined"
|
|
111570
|
-
},
|
|
111572
|
+
"name": "_validityStates",
|
|
111571
111573
|
"privacy": "private",
|
|
111574
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
111572
111575
|
"inheritedFrom": {
|
|
111573
|
-
"name": "
|
|
111574
|
-
"module": "core/
|
|
111576
|
+
"name": "SbbFormAssociatedMixin",
|
|
111577
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111575
111578
|
}
|
|
111576
111579
|
},
|
|
111577
111580
|
{
|
|
111578
111581
|
"kind": "field",
|
|
111579
|
-
"name": "
|
|
111582
|
+
"name": "formDisabled",
|
|
111580
111583
|
"type": {
|
|
111581
111584
|
"text": "boolean"
|
|
111582
111585
|
},
|
|
111583
111586
|
"privacy": "protected",
|
|
111584
|
-
"
|
|
111585
|
-
"
|
|
111587
|
+
"default": "false",
|
|
111588
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
111586
111589
|
"inheritedFrom": {
|
|
111587
|
-
"name": "
|
|
111588
|
-
"module": "core/
|
|
111589
|
-
}
|
|
111590
|
-
"default": "!!this.shadowRoot"
|
|
111590
|
+
"name": "SbbFormAssociatedMixin",
|
|
111591
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111592
|
+
}
|
|
111591
111593
|
},
|
|
111592
111594
|
{
|
|
111593
111595
|
"kind": "method",
|
|
111594
|
-
"name": "
|
|
111595
|
-
"privacy": "
|
|
111596
|
+
"name": "checkValidity",
|
|
111597
|
+
"privacy": "public",
|
|
111596
111598
|
"return": {
|
|
111597
111599
|
"type": {
|
|
111598
|
-
"text": "
|
|
111600
|
+
"text": "boolean"
|
|
111599
111601
|
}
|
|
111600
111602
|
},
|
|
111601
|
-
"
|
|
111602
|
-
{
|
|
111603
|
-
"name": "value",
|
|
111604
|
-
"type": {
|
|
111605
|
-
"text": "string"
|
|
111606
|
-
}
|
|
111607
|
-
},
|
|
111608
|
-
{
|
|
111609
|
-
"name": "force",
|
|
111610
|
-
"optional": true,
|
|
111611
|
-
"type": {
|
|
111612
|
-
"text": "boolean"
|
|
111613
|
-
}
|
|
111614
|
-
}
|
|
111615
|
-
],
|
|
111603
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
111616
111604
|
"inheritedFrom": {
|
|
111617
|
-
"name": "
|
|
111618
|
-
"module": "core/
|
|
111605
|
+
"name": "SbbFormAssociatedMixin",
|
|
111606
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111619
111607
|
}
|
|
111620
111608
|
},
|
|
111621
111609
|
{
|
|
111622
111610
|
"kind": "method",
|
|
111623
|
-
"name": "
|
|
111624
|
-
"privacy": "
|
|
111611
|
+
"name": "reportValidity",
|
|
111612
|
+
"privacy": "public",
|
|
111625
111613
|
"return": {
|
|
111626
111614
|
"type": {
|
|
111627
|
-
"text": "
|
|
111615
|
+
"text": "boolean"
|
|
111628
111616
|
}
|
|
111629
111617
|
},
|
|
111630
|
-
"
|
|
111631
|
-
{
|
|
111632
|
-
"name": "event",
|
|
111633
|
-
"type": {
|
|
111634
|
-
"text": "Event"
|
|
111635
|
-
}
|
|
111636
|
-
},
|
|
111637
|
-
{
|
|
111638
|
-
"name": "slot",
|
|
111639
|
-
"type": {
|
|
111640
|
-
"text": "HTMLSlotElement"
|
|
111641
|
-
}
|
|
111642
|
-
}
|
|
111643
|
-
],
|
|
111618
|
+
"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.",
|
|
111644
111619
|
"inheritedFrom": {
|
|
111645
|
-
"name": "
|
|
111646
|
-
"module": "core/
|
|
111620
|
+
"name": "SbbFormAssociatedMixin",
|
|
111621
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111647
111622
|
}
|
|
111648
111623
|
},
|
|
111649
111624
|
{
|
|
111650
111625
|
"kind": "method",
|
|
111651
|
-
"name": "
|
|
111652
|
-
"privacy": "
|
|
111626
|
+
"name": "setCustomValidity",
|
|
111627
|
+
"privacy": "public",
|
|
111653
111628
|
"return": {
|
|
111654
111629
|
"type": {
|
|
111655
111630
|
"text": "void"
|
|
@@ -111657,21 +111632,65 @@
|
|
|
111657
111632
|
},
|
|
111658
111633
|
"parameters": [
|
|
111659
111634
|
{
|
|
111660
|
-
"name": "
|
|
111635
|
+
"name": "message",
|
|
111661
111636
|
"type": {
|
|
111662
|
-
"text": "
|
|
111637
|
+
"text": "string"
|
|
111663
111638
|
}
|
|
111664
111639
|
}
|
|
111665
111640
|
],
|
|
111641
|
+
"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.",
|
|
111666
111642
|
"inheritedFrom": {
|
|
111667
|
-
"name": "
|
|
111668
|
-
"module": "core/
|
|
111643
|
+
"name": "SbbFormAssociatedMixin",
|
|
111644
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111669
111645
|
}
|
|
111670
111646
|
},
|
|
111671
111647
|
{
|
|
111672
111648
|
"kind": "method",
|
|
111673
|
-
"name": "
|
|
111649
|
+
"name": "_hasDisabledAncestor",
|
|
111674
111650
|
"privacy": "private",
|
|
111651
|
+
"return": {
|
|
111652
|
+
"type": {
|
|
111653
|
+
"text": "boolean"
|
|
111654
|
+
}
|
|
111655
|
+
},
|
|
111656
|
+
"inheritedFrom": {
|
|
111657
|
+
"name": "SbbFormAssociatedMixin",
|
|
111658
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111659
|
+
}
|
|
111660
|
+
},
|
|
111661
|
+
{
|
|
111662
|
+
"kind": "method",
|
|
111663
|
+
"name": "updateFormValue",
|
|
111664
|
+
"privacy": "protected",
|
|
111665
|
+
"return": {
|
|
111666
|
+
"type": {
|
|
111667
|
+
"text": "void"
|
|
111668
|
+
}
|
|
111669
|
+
},
|
|
111670
|
+
"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",
|
|
111671
|
+
"inheritedFrom": {
|
|
111672
|
+
"name": "SbbFormAssociatedMixin",
|
|
111673
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111674
|
+
}
|
|
111675
|
+
},
|
|
111676
|
+
{
|
|
111677
|
+
"kind": "method",
|
|
111678
|
+
"name": "formState",
|
|
111679
|
+
"privacy": "protected",
|
|
111680
|
+
"return": {
|
|
111681
|
+
"type": {
|
|
111682
|
+
"text": "FormRestoreState"
|
|
111683
|
+
}
|
|
111684
|
+
},
|
|
111685
|
+
"inheritedFrom": {
|
|
111686
|
+
"name": "SbbFormAssociatedMixin",
|
|
111687
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111688
|
+
}
|
|
111689
|
+
},
|
|
111690
|
+
{
|
|
111691
|
+
"kind": "method",
|
|
111692
|
+
"name": "setValidityFlag",
|
|
111693
|
+
"privacy": "protected",
|
|
111675
111694
|
"return": {
|
|
111676
111695
|
"type": {
|
|
111677
111696
|
"text": "void"
|
|
@@ -111679,21 +111698,35 @@
|
|
|
111679
111698
|
},
|
|
111680
111699
|
"parameters": [
|
|
111681
111700
|
{
|
|
111682
|
-
"name": "
|
|
111701
|
+
"name": "flag",
|
|
111683
111702
|
"type": {
|
|
111684
|
-
"text": "
|
|
111703
|
+
"text": "T"
|
|
111704
|
+
}
|
|
111705
|
+
},
|
|
111706
|
+
{
|
|
111707
|
+
"name": "message",
|
|
111708
|
+
"type": {
|
|
111709
|
+
"text": "string"
|
|
111710
|
+
}
|
|
111711
|
+
},
|
|
111712
|
+
{
|
|
111713
|
+
"name": "flagValue",
|
|
111714
|
+
"optional": true,
|
|
111715
|
+
"type": {
|
|
111716
|
+
"text": "ValidityStateFlags[T]"
|
|
111685
111717
|
}
|
|
111686
111718
|
}
|
|
111687
111719
|
],
|
|
111720
|
+
"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).",
|
|
111688
111721
|
"inheritedFrom": {
|
|
111689
|
-
"name": "
|
|
111690
|
-
"module": "core/
|
|
111722
|
+
"name": "SbbFormAssociatedMixin",
|
|
111723
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111691
111724
|
}
|
|
111692
111725
|
},
|
|
111693
111726
|
{
|
|
111694
111727
|
"kind": "method",
|
|
111695
|
-
"name": "
|
|
111696
|
-
"privacy": "
|
|
111728
|
+
"name": "removeValidityFlag",
|
|
111729
|
+
"privacy": "protected",
|
|
111697
111730
|
"return": {
|
|
111698
111731
|
"type": {
|
|
111699
111732
|
"text": "void"
|
|
@@ -111701,21 +111734,37 @@
|
|
|
111701
111734
|
},
|
|
111702
111735
|
"parameters": [
|
|
111703
111736
|
{
|
|
111704
|
-
"name": "
|
|
111737
|
+
"name": "flag",
|
|
111705
111738
|
"type": {
|
|
111706
|
-
"text": "
|
|
111739
|
+
"text": "T"
|
|
111707
111740
|
}
|
|
111708
111741
|
}
|
|
111709
111742
|
],
|
|
111743
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
111710
111744
|
"inheritedFrom": {
|
|
111711
|
-
"name": "
|
|
111712
|
-
"module": "core/
|
|
111745
|
+
"name": "SbbFormAssociatedMixin",
|
|
111746
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111713
111747
|
}
|
|
111714
111748
|
},
|
|
111715
111749
|
{
|
|
111716
111750
|
"kind": "method",
|
|
111717
|
-
"name": "
|
|
111718
|
-
"privacy": "
|
|
111751
|
+
"name": "validate",
|
|
111752
|
+
"privacy": "protected",
|
|
111753
|
+
"return": {
|
|
111754
|
+
"type": {
|
|
111755
|
+
"text": "void"
|
|
111756
|
+
}
|
|
111757
|
+
},
|
|
111758
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
111759
|
+
"inheritedFrom": {
|
|
111760
|
+
"name": "SbbFormAssociatedMixin",
|
|
111761
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111762
|
+
}
|
|
111763
|
+
},
|
|
111764
|
+
{
|
|
111765
|
+
"kind": "method",
|
|
111766
|
+
"name": "shouldValidate",
|
|
111767
|
+
"privacy": "protected",
|
|
111719
111768
|
"return": {
|
|
111720
111769
|
"type": {
|
|
111721
111770
|
"text": "boolean"
|
|
@@ -111723,243 +111772,135 @@
|
|
|
111723
111772
|
},
|
|
111724
111773
|
"parameters": [
|
|
111725
111774
|
{
|
|
111726
|
-
"name": "
|
|
111775
|
+
"name": "name",
|
|
111727
111776
|
"type": {
|
|
111728
|
-
"text": "
|
|
111777
|
+
"text": "PropertyKey | undefined"
|
|
111729
111778
|
}
|
|
111730
111779
|
}
|
|
111731
111780
|
],
|
|
111781
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
111732
111782
|
"inheritedFrom": {
|
|
111733
|
-
"name": "
|
|
111734
|
-
"module": "core/
|
|
111783
|
+
"name": "SbbFormAssociatedMixin",
|
|
111784
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111735
111785
|
}
|
|
111736
|
-
}
|
|
111737
|
-
],
|
|
111738
|
-
"events": [
|
|
111786
|
+
},
|
|
111739
111787
|
{
|
|
111740
|
-
"
|
|
111741
|
-
|
|
111788
|
+
"kind": "method",
|
|
111789
|
+
"name": "_setInternalValidity",
|
|
111790
|
+
"privacy": "private",
|
|
111791
|
+
"return": {
|
|
111792
|
+
"type": {
|
|
111793
|
+
"text": "void"
|
|
111794
|
+
}
|
|
111742
111795
|
},
|
|
111743
|
-
"
|
|
111744
|
-
|
|
111796
|
+
"inheritedFrom": {
|
|
111797
|
+
"name": "SbbFormAssociatedMixin",
|
|
111798
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
111799
|
+
}
|
|
111745
111800
|
},
|
|
111746
111801
|
{
|
|
111802
|
+
"kind": "field",
|
|
111803
|
+
"name": "role",
|
|
111747
111804
|
"type": {
|
|
111748
|
-
"text": "
|
|
111805
|
+
"text": "ElementInternals['role']"
|
|
111749
111806
|
},
|
|
111750
|
-
"
|
|
111751
|
-
"
|
|
111752
|
-
|
|
111753
|
-
|
|
111754
|
-
|
|
111755
|
-
{
|
|
111756
|
-
"name": "SbbNegativeMixin",
|
|
111757
|
-
"module": "core.js"
|
|
111758
|
-
}
|
|
111759
|
-
],
|
|
111760
|
-
"superclass": {
|
|
111761
|
-
"name": "SbbButtonBaseElement",
|
|
111762
|
-
"module": "core.js"
|
|
111763
|
-
},
|
|
111764
|
-
"tagName": "sbb-form-field-clear",
|
|
111765
|
-
"customElement": true,
|
|
111766
|
-
"attributes": [
|
|
111767
|
-
{
|
|
111768
|
-
"name": "negative",
|
|
111769
|
-
"type": {
|
|
111770
|
-
"text": "boolean"
|
|
111807
|
+
"privacy": "public",
|
|
111808
|
+
"static": true,
|
|
111809
|
+
"inheritedFrom": {
|
|
111810
|
+
"name": "SbbElement",
|
|
111811
|
+
"module": "core/base-elements/element.js"
|
|
111771
111812
|
},
|
|
111772
|
-
"
|
|
111773
|
-
"
|
|
111774
|
-
|
|
111813
|
+
"readonly": true,
|
|
111814
|
+
"default": "'button'"
|
|
111815
|
+
},
|
|
111816
|
+
{
|
|
111817
|
+
"kind": "field",
|
|
111818
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
111819
|
+
"privacy": "private",
|
|
111820
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
111821
|
+
"parameters": [
|
|
111822
|
+
{
|
|
111823
|
+
"description": "The origin event.",
|
|
111824
|
+
"name": "event"
|
|
111825
|
+
}
|
|
111826
|
+
],
|
|
111775
111827
|
"inheritedFrom": {
|
|
111776
|
-
"name": "
|
|
111777
|
-
"module": "core/
|
|
111828
|
+
"name": "SbbButtonLikeBaseElement",
|
|
111829
|
+
"module": "core/base-elements/button-base-element.js"
|
|
111778
111830
|
}
|
|
111779
111831
|
},
|
|
111780
111832
|
{
|
|
111781
|
-
"
|
|
111782
|
-
"
|
|
111783
|
-
|
|
111784
|
-
},
|
|
111785
|
-
"default": "''",
|
|
111786
|
-
"description": "Value of the form element.",
|
|
111787
|
-
"fieldName": "value",
|
|
111833
|
+
"kind": "field",
|
|
111834
|
+
"name": "_removeActiveMarker",
|
|
111835
|
+
"privacy": "private",
|
|
111788
111836
|
"inheritedFrom": {
|
|
111789
|
-
"name": "
|
|
111837
|
+
"name": "SbbButtonLikeBaseElement",
|
|
111790
111838
|
"module": "core/base-elements/button-base-element.js"
|
|
111791
111839
|
}
|
|
111792
111840
|
},
|
|
111793
111841
|
{
|
|
111794
|
-
"
|
|
111795
|
-
"
|
|
111796
|
-
"
|
|
111797
|
-
"
|
|
111798
|
-
|
|
111799
|
-
|
|
111800
|
-
|
|
111842
|
+
"kind": "field",
|
|
111843
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
111844
|
+
"privacy": "private",
|
|
111845
|
+
"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.",
|
|
111846
|
+
"parameters": [
|
|
111847
|
+
{
|
|
111848
|
+
"description": "The origin event.",
|
|
111849
|
+
"name": "event"
|
|
111850
|
+
}
|
|
111851
|
+
],
|
|
111801
111852
|
"inheritedFrom": {
|
|
111802
|
-
"name": "
|
|
111853
|
+
"name": "SbbButtonLikeBaseElement",
|
|
111803
111854
|
"module": "core/base-elements/button-base-element.js"
|
|
111804
111855
|
}
|
|
111805
111856
|
},
|
|
111806
111857
|
{
|
|
111807
|
-
"
|
|
111808
|
-
"
|
|
111809
|
-
"
|
|
111810
|
-
"text": "HTMLFormElement | null"
|
|
111811
|
-
},
|
|
111812
|
-
"fieldName": "form",
|
|
111858
|
+
"kind": "field",
|
|
111859
|
+
"name": "_dispatchClickEvent",
|
|
111860
|
+
"privacy": "private",
|
|
111813
111861
|
"inheritedFrom": {
|
|
111814
|
-
"name": "
|
|
111862
|
+
"name": "SbbButtonLikeBaseElement",
|
|
111815
111863
|
"module": "core/base-elements/button-base-element.js"
|
|
111816
111864
|
}
|
|
111817
111865
|
},
|
|
111818
111866
|
{
|
|
111819
|
-
"
|
|
111820
|
-
"
|
|
111867
|
+
"kind": "field",
|
|
111868
|
+
"name": "maybeDisabled",
|
|
111821
111869
|
"type": {
|
|
111822
|
-
"text": "
|
|
111870
|
+
"text": "boolean | undefined"
|
|
111823
111871
|
},
|
|
111824
|
-
"
|
|
111825
|
-
"inheritedFrom": {
|
|
111826
|
-
"name": "SbbFormAssociatedMixin",
|
|
111827
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
111828
|
-
}
|
|
111829
|
-
}
|
|
111830
|
-
]
|
|
111831
|
-
}
|
|
111832
|
-
],
|
|
111833
|
-
"exports": [
|
|
111834
|
-
{
|
|
111835
|
-
"kind": "js",
|
|
111836
|
-
"name": "SbbFormFieldClearElement",
|
|
111837
|
-
"declaration": {
|
|
111838
|
-
"name": "SbbFormFieldClearElement",
|
|
111839
|
-
"module": "form-field/form-field-clear/form-field-clear.component.js"
|
|
111840
|
-
}
|
|
111841
|
-
}
|
|
111842
|
-
]
|
|
111843
|
-
},
|
|
111844
|
-
{
|
|
111845
|
-
"kind": "javascript-module",
|
|
111846
|
-
"path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
|
|
111847
|
-
"declarations": [
|
|
111848
|
-
{
|
|
111849
|
-
"kind": "class",
|
|
111850
|
-
"description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
|
|
111851
|
-
"name": "SbbFormFieldTextCounterElement",
|
|
111852
|
-
"slots": [
|
|
111853
|
-
{
|
|
111854
|
-
"description": "Use the unnamed slot to display a custom description text after the counter.",
|
|
111855
|
-
"name": "",
|
|
111856
|
-
"inheritedFrom": {
|
|
111857
|
-
"name": "SbbHintElement",
|
|
111858
|
-
"module": "form-field/hint/hint.component.js"
|
|
111859
|
-
}
|
|
111860
|
-
}
|
|
111861
|
-
],
|
|
111862
|
-
"members": [
|
|
111863
|
-
{
|
|
111864
|
-
"kind": "field",
|
|
111865
|
-
"name": "elementName",
|
|
111866
|
-
"type": {
|
|
111867
|
-
"text": "string"
|
|
111868
|
-
},
|
|
111869
|
-
"privacy": "public",
|
|
111870
|
-
"static": true,
|
|
111872
|
+
"privacy": "protected",
|
|
111871
111873
|
"readonly": true,
|
|
111872
|
-
"default": "'sbb-form-field-text-counter'",
|
|
111873
111874
|
"inheritedFrom": {
|
|
111874
|
-
"name": "
|
|
111875
|
-
"module": "core/base-elements/element.js"
|
|
111875
|
+
"name": "SbbActionBaseElement",
|
|
111876
|
+
"module": "core/base-elements/action-base-element.js"
|
|
111876
111877
|
}
|
|
111877
111878
|
},
|
|
111878
111879
|
{
|
|
111879
111880
|
"kind": "field",
|
|
111880
|
-
"name": "
|
|
111881
|
+
"name": "maybeDisabledInteractive",
|
|
111881
111882
|
"type": {
|
|
111882
|
-
"text": "
|
|
111883
|
+
"text": "boolean | undefined"
|
|
111883
111884
|
},
|
|
111884
|
-
"privacy": "
|
|
111885
|
-
"
|
|
111886
|
-
"default": "[SbbScreenReaderOnlyElement]",
|
|
111885
|
+
"privacy": "protected",
|
|
111886
|
+
"readonly": true,
|
|
111887
111887
|
"inheritedFrom": {
|
|
111888
|
-
"name": "
|
|
111889
|
-
"module": "core/base-elements/element.js"
|
|
111888
|
+
"name": "SbbActionBaseElement",
|
|
111889
|
+
"module": "core/base-elements/action-base-element.js"
|
|
111890
111890
|
}
|
|
111891
111891
|
},
|
|
111892
|
-
{
|
|
111893
|
-
"kind": "field",
|
|
111894
|
-
"name": "_remainingCharacters",
|
|
111895
|
-
"type": {
|
|
111896
|
-
"text": "number"
|
|
111897
|
-
},
|
|
111898
|
-
"privacy": "private",
|
|
111899
|
-
"default": "0"
|
|
111900
|
-
},
|
|
111901
|
-
{
|
|
111902
|
-
"kind": "field",
|
|
111903
|
-
"name": "_language",
|
|
111904
|
-
"privacy": "private",
|
|
111905
|
-
"default": "new SbbLanguageController(this)"
|
|
111906
|
-
},
|
|
111907
|
-
{
|
|
111908
|
-
"kind": "field",
|
|
111909
|
-
"name": "_abortController",
|
|
111910
|
-
"type": {
|
|
111911
|
-
"text": "AbortController | null"
|
|
111912
|
-
},
|
|
111913
|
-
"privacy": "private",
|
|
111914
|
-
"default": "null"
|
|
111915
|
-
},
|
|
111916
111892
|
{
|
|
111917
111893
|
"kind": "method",
|
|
111918
|
-
"name": "
|
|
111919
|
-
"privacy": "
|
|
111894
|
+
"name": "setupBaseEventHandlers",
|
|
111895
|
+
"privacy": "protected",
|
|
111920
111896
|
"return": {
|
|
111921
111897
|
"type": {
|
|
111922
111898
|
"text": "void"
|
|
111923
111899
|
}
|
|
111924
|
-
}
|
|
111925
|
-
},
|
|
111926
|
-
{
|
|
111927
|
-
"kind": "method",
|
|
111928
|
-
"name": "_infoText",
|
|
111929
|
-
"privacy": "private",
|
|
111930
|
-
"return": {
|
|
111931
|
-
"type": {
|
|
111932
|
-
"text": "string"
|
|
111933
|
-
}
|
|
111934
|
-
}
|
|
111935
|
-
},
|
|
111936
|
-
{
|
|
111937
|
-
"kind": "field",
|
|
111938
|
-
"name": "negative",
|
|
111939
|
-
"type": {
|
|
111940
|
-
"text": "boolean"
|
|
111941
|
-
},
|
|
111942
|
-
"privacy": "public",
|
|
111943
|
-
"default": "false",
|
|
111944
|
-
"description": "Negative coloring variant flag.",
|
|
111945
|
-
"attribute": "negative",
|
|
111946
|
-
"reflects": true,
|
|
111947
|
-
"inheritedFrom": {
|
|
111948
|
-
"name": "SbbNegativeMixin",
|
|
111949
|
-
"module": "core/mixins/negative-mixin.js"
|
|
111950
|
-
}
|
|
111951
|
-
},
|
|
111952
|
-
{
|
|
111953
|
-
"kind": "field",
|
|
111954
|
-
"name": "formField",
|
|
111955
|
-
"type": {
|
|
111956
|
-
"text": "SbbFormFieldElement | null"
|
|
111957
111900
|
},
|
|
111958
|
-
"privacy": "protected",
|
|
111959
|
-
"default": "null",
|
|
111960
111901
|
"inheritedFrom": {
|
|
111961
|
-
"name": "
|
|
111962
|
-
"module": "
|
|
111902
|
+
"name": "SbbActionBaseElement",
|
|
111903
|
+
"module": "core/base-elements/action-base-element.js"
|
|
111963
111904
|
}
|
|
111964
111905
|
},
|
|
111965
111906
|
{
|
|
@@ -111976,19 +111917,6 @@
|
|
|
111976
111917
|
"module": "core/base-elements/element.js"
|
|
111977
111918
|
}
|
|
111978
111919
|
},
|
|
111979
|
-
{
|
|
111980
|
-
"kind": "field",
|
|
111981
|
-
"name": "role",
|
|
111982
|
-
"type": {
|
|
111983
|
-
"text": "ElementInternals['role'] | undefined"
|
|
111984
|
-
},
|
|
111985
|
-
"privacy": "public",
|
|
111986
|
-
"static": true,
|
|
111987
|
-
"inheritedFrom": {
|
|
111988
|
-
"name": "SbbElement",
|
|
111989
|
-
"module": "core/base-elements/element.js"
|
|
111990
|
-
}
|
|
111991
|
-
},
|
|
111992
111920
|
{
|
|
111993
111921
|
"kind": "field",
|
|
111994
111922
|
"name": "_controllers",
|
|
@@ -112209,11 +112137,33 @@
|
|
|
112209
112137
|
}
|
|
112210
112138
|
}
|
|
112211
112139
|
],
|
|
112140
|
+
"events": [
|
|
112141
|
+
{
|
|
112142
|
+
"type": {
|
|
112143
|
+
"text": "Event"
|
|
112144
|
+
},
|
|
112145
|
+
"description": "The change event is fired on the component's associated input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
112146
|
+
"name": "change"
|
|
112147
|
+
},
|
|
112148
|
+
{
|
|
112149
|
+
"type": {
|
|
112150
|
+
"text": "InputEvent"
|
|
112151
|
+
},
|
|
112152
|
+
"description": "The input event fires on the component's associated input when the value has been changed as a direct result of a user action.",
|
|
112153
|
+
"name": "input"
|
|
112154
|
+
}
|
|
112155
|
+
],
|
|
112156
|
+
"mixins": [
|
|
112157
|
+
{
|
|
112158
|
+
"name": "SbbNegativeMixin",
|
|
112159
|
+
"module": "core.js"
|
|
112160
|
+
}
|
|
112161
|
+
],
|
|
112212
112162
|
"superclass": {
|
|
112213
|
-
"name": "
|
|
112214
|
-
"module": "
|
|
112163
|
+
"name": "SbbButtonBaseElement",
|
|
112164
|
+
"module": "core.js"
|
|
112215
112165
|
},
|
|
112216
|
-
"tagName": "sbb-form-field-
|
|
112166
|
+
"tagName": "sbb-form-field-clear",
|
|
112217
112167
|
"customElement": true,
|
|
112218
112168
|
"attributes": [
|
|
112219
112169
|
{
|
|
@@ -112228,6 +112178,56 @@
|
|
|
112228
112178
|
"name": "SbbNegativeMixin",
|
|
112229
112179
|
"module": "core/mixins/negative-mixin.js"
|
|
112230
112180
|
}
|
|
112181
|
+
},
|
|
112182
|
+
{
|
|
112183
|
+
"name": "value",
|
|
112184
|
+
"type": {
|
|
112185
|
+
"text": "string"
|
|
112186
|
+
},
|
|
112187
|
+
"default": "''",
|
|
112188
|
+
"description": "Value of the form element.",
|
|
112189
|
+
"fieldName": "value",
|
|
112190
|
+
"inheritedFrom": {
|
|
112191
|
+
"name": "SbbButtonBaseElement",
|
|
112192
|
+
"module": "core/base-elements/button-base-element.js"
|
|
112193
|
+
}
|
|
112194
|
+
},
|
|
112195
|
+
{
|
|
112196
|
+
"name": "type",
|
|
112197
|
+
"description": "The type attribute to use for the button.",
|
|
112198
|
+
"default": "'button'",
|
|
112199
|
+
"type": {
|
|
112200
|
+
"text": "SbbButtonType"
|
|
112201
|
+
},
|
|
112202
|
+
"fieldName": "type",
|
|
112203
|
+
"inheritedFrom": {
|
|
112204
|
+
"name": "SbbButtonBaseElement",
|
|
112205
|
+
"module": "core/base-elements/button-base-element.js"
|
|
112206
|
+
}
|
|
112207
|
+
},
|
|
112208
|
+
{
|
|
112209
|
+
"name": "form",
|
|
112210
|
+
"description": "The `<form>` element to associate the button with.",
|
|
112211
|
+
"type": {
|
|
112212
|
+
"text": "HTMLFormElement | null"
|
|
112213
|
+
},
|
|
112214
|
+
"fieldName": "form",
|
|
112215
|
+
"inheritedFrom": {
|
|
112216
|
+
"name": "SbbButtonBaseElement",
|
|
112217
|
+
"module": "core/base-elements/button-base-element.js"
|
|
112218
|
+
}
|
|
112219
|
+
},
|
|
112220
|
+
{
|
|
112221
|
+
"name": "name",
|
|
112222
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
112223
|
+
"type": {
|
|
112224
|
+
"text": "string"
|
|
112225
|
+
},
|
|
112226
|
+
"fieldName": "name",
|
|
112227
|
+
"inheritedFrom": {
|
|
112228
|
+
"name": "SbbFormAssociatedMixin",
|
|
112229
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
112230
|
+
}
|
|
112231
112231
|
}
|
|
112232
112232
|
]
|
|
112233
112233
|
}
|
|
@@ -112235,10 +112235,10 @@
|
|
|
112235
112235
|
"exports": [
|
|
112236
112236
|
{
|
|
112237
112237
|
"kind": "js",
|
|
112238
|
-
"name": "
|
|
112238
|
+
"name": "SbbFormFieldClearElement",
|
|
112239
112239
|
"declaration": {
|
|
112240
|
-
"name": "
|
|
112241
|
-
"module": "form-field/form-field-
|
|
112240
|
+
"name": "SbbFormFieldClearElement",
|
|
112241
|
+
"module": "form-field/form-field-clear/form-field-clear.component.js"
|
|
112242
112242
|
}
|
|
112243
112243
|
}
|
|
112244
112244
|
]
|
|
@@ -119351,15 +119351,15 @@
|
|
|
119351
119351
|
},
|
|
119352
119352
|
{
|
|
119353
119353
|
"kind": "javascript-module",
|
|
119354
|
-
"path": "link/block-link-
|
|
119354
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
119355
119355
|
"declarations": [
|
|
119356
119356
|
{
|
|
119357
119357
|
"kind": "class",
|
|
119358
|
-
"description": "It displays a link enhanced with the SBB Design
|
|
119359
|
-
"name": "
|
|
119358
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
119359
|
+
"name": "SbbBlockLinkStaticElement",
|
|
119360
119360
|
"slots": [
|
|
119361
119361
|
{
|
|
119362
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-
|
|
119362
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
119363
119363
|
"name": ""
|
|
119364
119364
|
},
|
|
119365
119365
|
{
|
|
@@ -119381,7 +119381,7 @@
|
|
|
119381
119381
|
"name": "SbbElement",
|
|
119382
119382
|
"module": "core/base-elements/element.js"
|
|
119383
119383
|
},
|
|
119384
|
-
"default": "'sbb-block-link-
|
|
119384
|
+
"default": "'sbb-block-link-static'"
|
|
119385
119385
|
},
|
|
119386
119386
|
{
|
|
119387
119387
|
"kind": "field",
|
|
@@ -119524,22 +119524,6 @@
|
|
|
119524
119524
|
"module": "icon/icon-name-mixin.js"
|
|
119525
119525
|
}
|
|
119526
119526
|
},
|
|
119527
|
-
{
|
|
119528
|
-
"kind": "field",
|
|
119529
|
-
"name": "disabledInteractive",
|
|
119530
|
-
"type": {
|
|
119531
|
-
"text": "boolean"
|
|
119532
|
-
},
|
|
119533
|
-
"privacy": "public",
|
|
119534
|
-
"default": "false",
|
|
119535
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
119536
|
-
"attribute": "disabled-interactive",
|
|
119537
|
-
"reflects": true,
|
|
119538
|
-
"inheritedFrom": {
|
|
119539
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
119540
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
119541
|
-
}
|
|
119542
|
-
},
|
|
119543
119527
|
{
|
|
119544
119528
|
"kind": "field",
|
|
119545
119529
|
"name": "disabled",
|
|
@@ -119586,243 +119570,206 @@
|
|
|
119586
119570
|
},
|
|
119587
119571
|
{
|
|
119588
119572
|
"kind": "field",
|
|
119589
|
-
"name": "
|
|
119573
|
+
"name": "maybeDisabled",
|
|
119590
119574
|
"type": {
|
|
119591
|
-
"text": "
|
|
119575
|
+
"text": "boolean | undefined"
|
|
119592
119576
|
},
|
|
119593
|
-
"privacy": "
|
|
119577
|
+
"privacy": "protected",
|
|
119594
119578
|
"readonly": true,
|
|
119595
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
119596
|
-
"inheritedFrom": {
|
|
119597
|
-
"name": "SbbButtonBaseElement",
|
|
119598
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119599
|
-
}
|
|
119600
|
-
},
|
|
119601
|
-
{
|
|
119602
|
-
"kind": "field",
|
|
119603
|
-
"name": "value",
|
|
119604
|
-
"type": {
|
|
119605
|
-
"text": "string"
|
|
119606
|
-
},
|
|
119607
|
-
"privacy": "public",
|
|
119608
|
-
"inheritedFrom": {
|
|
119609
|
-
"name": "SbbButtonBaseElement",
|
|
119610
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119611
|
-
},
|
|
119612
|
-
"default": "''",
|
|
119613
|
-
"description": "Value of the form element.",
|
|
119614
|
-
"attribute": "value"
|
|
119615
|
-
},
|
|
119616
|
-
{
|
|
119617
|
-
"kind": "field",
|
|
119618
|
-
"name": "type",
|
|
119619
|
-
"privacy": "public",
|
|
119620
|
-
"description": "The type attribute to use for the button.",
|
|
119621
|
-
"default": "'button'",
|
|
119622
|
-
"type": {
|
|
119623
|
-
"text": "SbbButtonType"
|
|
119624
|
-
},
|
|
119625
|
-
"attribute": "type",
|
|
119626
119579
|
"inheritedFrom": {
|
|
119627
|
-
"name": "
|
|
119628
|
-
"module": "core/base-elements/
|
|
119580
|
+
"name": "SbbActionBaseElement",
|
|
119581
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119629
119582
|
}
|
|
119630
119583
|
},
|
|
119631
119584
|
{
|
|
119632
119585
|
"kind": "field",
|
|
119633
|
-
"name": "
|
|
119634
|
-
"type": {
|
|
119635
|
-
"text": "HTMLFormElement | null"
|
|
119636
|
-
},
|
|
119637
|
-
"privacy": "public",
|
|
119638
|
-
"description": "The `<form>` element to associate the button with.",
|
|
119639
|
-
"inheritedFrom": {
|
|
119640
|
-
"name": "SbbButtonBaseElement",
|
|
119641
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119642
|
-
},
|
|
119643
|
-
"attribute": "form"
|
|
119644
|
-
},
|
|
119645
|
-
{
|
|
119646
|
-
"kind": "field",
|
|
119647
|
-
"name": "_formId",
|
|
119586
|
+
"name": "maybeDisabledInteractive",
|
|
119648
119587
|
"type": {
|
|
119649
|
-
"text": "
|
|
119588
|
+
"text": "boolean | undefined"
|
|
119650
119589
|
},
|
|
119651
|
-
"privacy": "
|
|
119652
|
-
"
|
|
119653
|
-
"inheritedFrom": {
|
|
119654
|
-
"name": "SbbButtonBaseElement",
|
|
119655
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119656
|
-
}
|
|
119657
|
-
},
|
|
119658
|
-
{
|
|
119659
|
-
"kind": "field",
|
|
119660
|
-
"name": "_handleButtonClick",
|
|
119661
|
-
"privacy": "private",
|
|
119590
|
+
"privacy": "protected",
|
|
119591
|
+
"readonly": true,
|
|
119662
119592
|
"inheritedFrom": {
|
|
119663
|
-
"name": "
|
|
119664
|
-
"module": "core/base-elements/
|
|
119593
|
+
"name": "SbbActionBaseElement",
|
|
119594
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119665
119595
|
}
|
|
119666
119596
|
},
|
|
119667
119597
|
{
|
|
119668
119598
|
"kind": "method",
|
|
119669
|
-
"name": "
|
|
119670
|
-
"privacy": "
|
|
119599
|
+
"name": "setupBaseEventHandlers",
|
|
119600
|
+
"privacy": "protected",
|
|
119671
119601
|
"return": {
|
|
119672
119602
|
"type": {
|
|
119673
119603
|
"text": "void"
|
|
119674
119604
|
}
|
|
119675
119605
|
},
|
|
119676
|
-
"parameters": [
|
|
119677
|
-
{
|
|
119678
|
-
"name": "form",
|
|
119679
|
-
"type": {
|
|
119680
|
-
"text": "HTMLFormElement"
|
|
119681
|
-
}
|
|
119682
|
-
}
|
|
119683
|
-
],
|
|
119684
119606
|
"inheritedFrom": {
|
|
119685
|
-
"name": "
|
|
119686
|
-
"module": "core/base-elements/
|
|
119607
|
+
"name": "SbbActionBaseElement",
|
|
119608
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119687
119609
|
}
|
|
119688
119610
|
},
|
|
119689
119611
|
{
|
|
119690
119612
|
"kind": "field",
|
|
119691
|
-
"name": "
|
|
119692
|
-
"
|
|
119613
|
+
"name": "['_$sbbElement$']",
|
|
119614
|
+
"type": {
|
|
119615
|
+
"text": "boolean"
|
|
119616
|
+
},
|
|
119617
|
+
"privacy": "public",
|
|
119618
|
+
"static": true,
|
|
119619
|
+
"default": "true",
|
|
119693
119620
|
"inheritedFrom": {
|
|
119694
|
-
"name": "
|
|
119695
|
-
"module": "core/base-elements/
|
|
119621
|
+
"name": "SbbElement",
|
|
119622
|
+
"module": "core/base-elements/element.js"
|
|
119696
119623
|
}
|
|
119697
119624
|
},
|
|
119698
119625
|
{
|
|
119699
119626
|
"kind": "field",
|
|
119700
|
-
"name": "
|
|
119627
|
+
"name": "role",
|
|
119701
119628
|
"type": {
|
|
119702
|
-
"text": "
|
|
119629
|
+
"text": "ElementInternals['role'] | undefined"
|
|
119703
119630
|
},
|
|
119704
119631
|
"privacy": "public",
|
|
119705
119632
|
"static": true,
|
|
119706
|
-
"default": "true",
|
|
119707
119633
|
"inheritedFrom": {
|
|
119708
|
-
"name": "
|
|
119709
|
-
"module": "core/
|
|
119634
|
+
"name": "SbbElement",
|
|
119635
|
+
"module": "core/base-elements/element.js"
|
|
119710
119636
|
}
|
|
119711
119637
|
},
|
|
119712
119638
|
{
|
|
119713
119639
|
"kind": "field",
|
|
119714
|
-
"name": "
|
|
119715
|
-
"privacy": "public",
|
|
119716
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
119640
|
+
"name": "_controllers",
|
|
119717
119641
|
"type": {
|
|
119718
|
-
"text": "
|
|
119642
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
119719
119643
|
},
|
|
119720
|
-
"
|
|
119644
|
+
"privacy": "private",
|
|
119721
119645
|
"inheritedFrom": {
|
|
119722
|
-
"name": "
|
|
119723
|
-
"module": "core/
|
|
119646
|
+
"name": "SbbElement",
|
|
119647
|
+
"module": "core/base-elements/element.js"
|
|
119724
119648
|
}
|
|
119725
119649
|
},
|
|
119726
119650
|
{
|
|
119727
119651
|
"kind": "field",
|
|
119728
|
-
"name": "
|
|
119652
|
+
"name": "_hydrationRequired",
|
|
119729
119653
|
"type": {
|
|
119730
|
-
"text": "
|
|
119654
|
+
"text": "boolean"
|
|
119731
119655
|
},
|
|
119732
|
-
"privacy": "
|
|
119733
|
-
"
|
|
119734
|
-
"readonly": true,
|
|
119656
|
+
"privacy": "private",
|
|
119657
|
+
"default": "!!this.shadowRoot",
|
|
119735
119658
|
"inheritedFrom": {
|
|
119736
|
-
"name": "
|
|
119737
|
-
"module": "core/
|
|
119659
|
+
"name": "SbbElement",
|
|
119660
|
+
"module": "core/base-elements/element.js"
|
|
119738
119661
|
}
|
|
119739
119662
|
},
|
|
119740
119663
|
{
|
|
119741
119664
|
"kind": "field",
|
|
119742
|
-
"name": "
|
|
119743
|
-
"
|
|
119744
|
-
|
|
119745
|
-
},
|
|
119746
|
-
"privacy": "public",
|
|
119747
|
-
"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.",
|
|
119748
|
-
"readonly": true,
|
|
119665
|
+
"name": "_hydrationComplete",
|
|
119666
|
+
"privacy": "private",
|
|
119667
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
119749
119668
|
"inheritedFrom": {
|
|
119750
|
-
"name": "
|
|
119751
|
-
"module": "core/
|
|
119669
|
+
"name": "SbbElement",
|
|
119670
|
+
"module": "core/base-elements/element.js"
|
|
119752
119671
|
}
|
|
119753
119672
|
},
|
|
119754
119673
|
{
|
|
119755
119674
|
"kind": "field",
|
|
119756
|
-
"name": "
|
|
119675
|
+
"name": "_resolveHydration",
|
|
119757
119676
|
"type": {
|
|
119758
|
-
"text": "boolean"
|
|
119677
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
119759
119678
|
},
|
|
119760
|
-
"privacy": "
|
|
119761
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
119762
|
-
"readonly": true,
|
|
119679
|
+
"privacy": "private",
|
|
119763
119680
|
"inheritedFrom": {
|
|
119764
|
-
"name": "
|
|
119765
|
-
"module": "core/
|
|
119681
|
+
"name": "SbbElement",
|
|
119682
|
+
"module": "core/base-elements/element.js"
|
|
119766
119683
|
}
|
|
119767
119684
|
},
|
|
119768
119685
|
{
|
|
119769
119686
|
"kind": "field",
|
|
119770
|
-
"name": "
|
|
119687
|
+
"name": "_textObserver",
|
|
119688
|
+
"type": {
|
|
119689
|
+
"text": "MutationObserver | undefined"
|
|
119690
|
+
},
|
|
119771
119691
|
"privacy": "private",
|
|
119772
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
119773
119692
|
"inheritedFrom": {
|
|
119774
|
-
"name": "
|
|
119775
|
-
"module": "core/
|
|
119693
|
+
"name": "SbbElement",
|
|
119694
|
+
"module": "core/base-elements/element.js"
|
|
119776
119695
|
}
|
|
119777
119696
|
},
|
|
119778
119697
|
{
|
|
119779
119698
|
"kind": "field",
|
|
119780
|
-
"name": "
|
|
119699
|
+
"name": "hydrationRequired",
|
|
119781
119700
|
"type": {
|
|
119782
119701
|
"text": "boolean"
|
|
119783
119702
|
},
|
|
119784
119703
|
"privacy": "protected",
|
|
119785
|
-
"
|
|
119786
|
-
"
|
|
119704
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
119705
|
+
"readonly": true,
|
|
119787
119706
|
"inheritedFrom": {
|
|
119788
|
-
"name": "
|
|
119789
|
-
"module": "core/
|
|
119790
|
-
}
|
|
119707
|
+
"name": "SbbElement",
|
|
119708
|
+
"module": "core/base-elements/element.js"
|
|
119709
|
+
},
|
|
119710
|
+
"default": "!!this.shadowRoot"
|
|
119791
119711
|
},
|
|
119792
119712
|
{
|
|
119793
119713
|
"kind": "method",
|
|
119794
|
-
"name": "
|
|
119795
|
-
"privacy": "
|
|
119714
|
+
"name": "toggleState",
|
|
119715
|
+
"privacy": "protected",
|
|
119796
119716
|
"return": {
|
|
119797
119717
|
"type": {
|
|
119798
|
-
"text": "
|
|
119718
|
+
"text": "void"
|
|
119799
119719
|
}
|
|
119800
119720
|
},
|
|
119801
|
-
"
|
|
119721
|
+
"parameters": [
|
|
119722
|
+
{
|
|
119723
|
+
"name": "value",
|
|
119724
|
+
"type": {
|
|
119725
|
+
"text": "string"
|
|
119726
|
+
}
|
|
119727
|
+
},
|
|
119728
|
+
{
|
|
119729
|
+
"name": "force",
|
|
119730
|
+
"optional": true,
|
|
119731
|
+
"type": {
|
|
119732
|
+
"text": "boolean"
|
|
119733
|
+
}
|
|
119734
|
+
}
|
|
119735
|
+
],
|
|
119802
119736
|
"inheritedFrom": {
|
|
119803
|
-
"name": "
|
|
119804
|
-
"module": "core/
|
|
119737
|
+
"name": "SbbElement",
|
|
119738
|
+
"module": "core/base-elements/element.js"
|
|
119805
119739
|
}
|
|
119806
119740
|
},
|
|
119807
119741
|
{
|
|
119808
119742
|
"kind": "method",
|
|
119809
|
-
"name": "
|
|
119810
|
-
"privacy": "
|
|
119743
|
+
"name": "_slotchangeHandler",
|
|
119744
|
+
"privacy": "private",
|
|
119811
119745
|
"return": {
|
|
119812
119746
|
"type": {
|
|
119813
|
-
"text": "
|
|
119747
|
+
"text": "void"
|
|
119814
119748
|
}
|
|
119815
119749
|
},
|
|
119816
|
-
"
|
|
119750
|
+
"parameters": [
|
|
119751
|
+
{
|
|
119752
|
+
"name": "event",
|
|
119753
|
+
"type": {
|
|
119754
|
+
"text": "Event"
|
|
119755
|
+
}
|
|
119756
|
+
},
|
|
119757
|
+
{
|
|
119758
|
+
"name": "slot",
|
|
119759
|
+
"type": {
|
|
119760
|
+
"text": "HTMLSlotElement"
|
|
119761
|
+
}
|
|
119762
|
+
}
|
|
119763
|
+
],
|
|
119817
119764
|
"inheritedFrom": {
|
|
119818
|
-
"name": "
|
|
119819
|
-
"module": "core/
|
|
119765
|
+
"name": "SbbElement",
|
|
119766
|
+
"module": "core/base-elements/element.js"
|
|
119820
119767
|
}
|
|
119821
119768
|
},
|
|
119822
119769
|
{
|
|
119823
119770
|
"kind": "method",
|
|
119824
|
-
"name": "
|
|
119825
|
-
"privacy": "
|
|
119771
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
119772
|
+
"privacy": "private",
|
|
119826
119773
|
"return": {
|
|
119827
119774
|
"type": {
|
|
119828
119775
|
"text": "void"
|
|
@@ -119830,65 +119777,43 @@
|
|
|
119830
119777
|
},
|
|
119831
119778
|
"parameters": [
|
|
119832
119779
|
{
|
|
119833
|
-
"name": "
|
|
119780
|
+
"name": "slot",
|
|
119834
119781
|
"type": {
|
|
119835
|
-
"text": "
|
|
119782
|
+
"text": "HTMLSlotElement"
|
|
119836
119783
|
}
|
|
119837
119784
|
}
|
|
119838
119785
|
],
|
|
119839
|
-
"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.",
|
|
119840
119786
|
"inheritedFrom": {
|
|
119841
|
-
"name": "
|
|
119842
|
-
"module": "core/
|
|
119787
|
+
"name": "SbbElement",
|
|
119788
|
+
"module": "core/base-elements/element.js"
|
|
119843
119789
|
}
|
|
119844
119790
|
},
|
|
119845
119791
|
{
|
|
119846
119792
|
"kind": "method",
|
|
119847
|
-
"name": "
|
|
119793
|
+
"name": "_updateSlottedState",
|
|
119848
119794
|
"privacy": "private",
|
|
119849
119795
|
"return": {
|
|
119850
119796
|
"type": {
|
|
119851
|
-
"text": "
|
|
119797
|
+
"text": "void"
|
|
119852
119798
|
}
|
|
119853
119799
|
},
|
|
119854
|
-
"
|
|
119855
|
-
|
|
119856
|
-
|
|
119857
|
-
|
|
119858
|
-
|
|
119859
|
-
|
|
119860
|
-
"kind": "method",
|
|
119861
|
-
"name": "updateFormValue",
|
|
119862
|
-
"privacy": "protected",
|
|
119863
|
-
"return": {
|
|
119864
|
-
"type": {
|
|
119865
|
-
"text": "void"
|
|
119866
|
-
}
|
|
119867
|
-
},
|
|
119868
|
-
"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",
|
|
119869
|
-
"inheritedFrom": {
|
|
119870
|
-
"name": "SbbFormAssociatedMixin",
|
|
119871
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119872
|
-
}
|
|
119873
|
-
},
|
|
119874
|
-
{
|
|
119875
|
-
"kind": "method",
|
|
119876
|
-
"name": "formState",
|
|
119877
|
-
"privacy": "protected",
|
|
119878
|
-
"return": {
|
|
119879
|
-
"type": {
|
|
119880
|
-
"text": "FormRestoreState"
|
|
119800
|
+
"parameters": [
|
|
119801
|
+
{
|
|
119802
|
+
"name": "slot",
|
|
119803
|
+
"type": {
|
|
119804
|
+
"text": "HTMLSlotElement"
|
|
119805
|
+
}
|
|
119881
119806
|
}
|
|
119882
|
-
|
|
119807
|
+
],
|
|
119883
119808
|
"inheritedFrom": {
|
|
119884
|
-
"name": "
|
|
119885
|
-
"module": "core/
|
|
119809
|
+
"name": "SbbElement",
|
|
119810
|
+
"module": "core/base-elements/element.js"
|
|
119886
119811
|
}
|
|
119887
119812
|
},
|
|
119888
119813
|
{
|
|
119889
119814
|
"kind": "method",
|
|
119890
|
-
"name": "
|
|
119891
|
-
"privacy": "
|
|
119815
|
+
"name": "_observeTextNodesInSlot",
|
|
119816
|
+
"privacy": "private",
|
|
119892
119817
|
"return": {
|
|
119893
119818
|
"type": {
|
|
119894
119819
|
"text": "void"
|
|
@@ -119896,303 +119821,442 @@
|
|
|
119896
119821
|
},
|
|
119897
119822
|
"parameters": [
|
|
119898
119823
|
{
|
|
119899
|
-
"name": "
|
|
119900
|
-
"type": {
|
|
119901
|
-
"text": "T"
|
|
119902
|
-
}
|
|
119903
|
-
},
|
|
119904
|
-
{
|
|
119905
|
-
"name": "message",
|
|
119906
|
-
"type": {
|
|
119907
|
-
"text": "string"
|
|
119908
|
-
}
|
|
119909
|
-
},
|
|
119910
|
-
{
|
|
119911
|
-
"name": "flagValue",
|
|
119912
|
-
"optional": true,
|
|
119824
|
+
"name": "slot",
|
|
119913
119825
|
"type": {
|
|
119914
|
-
"text": "
|
|
119826
|
+
"text": "HTMLSlotElement"
|
|
119915
119827
|
}
|
|
119916
119828
|
}
|
|
119917
119829
|
],
|
|
119918
|
-
"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).",
|
|
119919
119830
|
"inheritedFrom": {
|
|
119920
|
-
"name": "
|
|
119921
|
-
"module": "core/
|
|
119831
|
+
"name": "SbbElement",
|
|
119832
|
+
"module": "core/base-elements/element.js"
|
|
119922
119833
|
}
|
|
119923
119834
|
},
|
|
119924
119835
|
{
|
|
119925
119836
|
"kind": "method",
|
|
119926
|
-
"name": "
|
|
119927
|
-
"privacy": "
|
|
119837
|
+
"name": "_hasSlottedContent",
|
|
119838
|
+
"privacy": "private",
|
|
119928
119839
|
"return": {
|
|
119929
119840
|
"type": {
|
|
119930
|
-
"text": "
|
|
119841
|
+
"text": "boolean"
|
|
119931
119842
|
}
|
|
119932
119843
|
},
|
|
119933
119844
|
"parameters": [
|
|
119934
119845
|
{
|
|
119935
|
-
"name": "
|
|
119846
|
+
"name": "slot",
|
|
119936
119847
|
"type": {
|
|
119937
|
-
"text": "
|
|
119848
|
+
"text": "HTMLSlotElement"
|
|
119938
119849
|
}
|
|
119939
119850
|
}
|
|
119940
119851
|
],
|
|
119941
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
119942
119852
|
"inheritedFrom": {
|
|
119943
|
-
"name": "
|
|
119944
|
-
"module": "core/
|
|
119853
|
+
"name": "SbbElement",
|
|
119854
|
+
"module": "core/base-elements/element.js"
|
|
119945
119855
|
}
|
|
119856
|
+
}
|
|
119857
|
+
],
|
|
119858
|
+
"mixins": [
|
|
119859
|
+
{
|
|
119860
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119861
|
+
"module": "link/common/block-link-common.js"
|
|
119946
119862
|
},
|
|
119947
119863
|
{
|
|
119948
|
-
"
|
|
119949
|
-
"
|
|
119950
|
-
|
|
119951
|
-
|
|
119952
|
-
|
|
119953
|
-
|
|
119954
|
-
|
|
119864
|
+
"name": "SbbDisabledMixin",
|
|
119865
|
+
"module": "core.js"
|
|
119866
|
+
}
|
|
119867
|
+
],
|
|
119868
|
+
"superclass": {
|
|
119869
|
+
"name": "SbbActionBaseElement",
|
|
119870
|
+
"module": "core.js"
|
|
119871
|
+
},
|
|
119872
|
+
"tagName": "sbb-block-link-static",
|
|
119873
|
+
"customElement": true,
|
|
119874
|
+
"attributes": [
|
|
119875
|
+
{
|
|
119876
|
+
"name": "size",
|
|
119877
|
+
"type": {
|
|
119878
|
+
"text": "SbbLinkSize"
|
|
119955
119879
|
},
|
|
119956
|
-
"description": "
|
|
119880
|
+
"description": "Size variant, either xs, s or m.",
|
|
119881
|
+
"default": "'s' / 'xs' (lean)",
|
|
119882
|
+
"fieldName": "size",
|
|
119957
119883
|
"inheritedFrom": {
|
|
119958
|
-
"name": "
|
|
119959
|
-
"module": "
|
|
119884
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119885
|
+
"module": "link/common/block-link-common.js"
|
|
119960
119886
|
}
|
|
119961
119887
|
},
|
|
119962
119888
|
{
|
|
119963
|
-
"
|
|
119964
|
-
"
|
|
119965
|
-
|
|
119966
|
-
"return": {
|
|
119967
|
-
"type": {
|
|
119968
|
-
"text": "boolean"
|
|
119969
|
-
}
|
|
119889
|
+
"name": "icon-placement",
|
|
119890
|
+
"type": {
|
|
119891
|
+
"text": "SbbIconPlacement"
|
|
119970
119892
|
},
|
|
119971
|
-
"
|
|
119972
|
-
|
|
119973
|
-
|
|
119974
|
-
"type": {
|
|
119975
|
-
"text": "PropertyKey | undefined"
|
|
119976
|
-
}
|
|
119977
|
-
}
|
|
119978
|
-
],
|
|
119979
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
119893
|
+
"default": "'start'",
|
|
119894
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
119895
|
+
"fieldName": "iconPlacement",
|
|
119980
119896
|
"inheritedFrom": {
|
|
119981
|
-
"name": "
|
|
119982
|
-
"module": "
|
|
119897
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119898
|
+
"module": "link/common/block-link-common.js"
|
|
119983
119899
|
}
|
|
119984
119900
|
},
|
|
119985
119901
|
{
|
|
119986
|
-
"
|
|
119987
|
-
"
|
|
119988
|
-
|
|
119989
|
-
"return": {
|
|
119990
|
-
"type": {
|
|
119991
|
-
"text": "void"
|
|
119992
|
-
}
|
|
119902
|
+
"name": "icon-name",
|
|
119903
|
+
"type": {
|
|
119904
|
+
"text": "string"
|
|
119993
119905
|
},
|
|
119906
|
+
"default": "''",
|
|
119907
|
+
"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.",
|
|
119908
|
+
"fieldName": "iconName",
|
|
119994
119909
|
"inheritedFrom": {
|
|
119995
|
-
"name": "
|
|
119996
|
-
"module": "
|
|
119910
|
+
"name": "SbbIconNameMixin",
|
|
119911
|
+
"module": "icon/icon-name-mixin.js"
|
|
119912
|
+
}
|
|
119913
|
+
},
|
|
119914
|
+
{
|
|
119915
|
+
"name": "disabled",
|
|
119916
|
+
"description": "Whether the component is disabled.",
|
|
119917
|
+
"default": "false",
|
|
119918
|
+
"type": {
|
|
119919
|
+
"text": "boolean"
|
|
119920
|
+
},
|
|
119921
|
+
"fieldName": "disabled",
|
|
119922
|
+
"inheritedFrom": {
|
|
119923
|
+
"name": "SbbDisabledMixin",
|
|
119924
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
119997
119925
|
}
|
|
119926
|
+
}
|
|
119927
|
+
]
|
|
119928
|
+
}
|
|
119929
|
+
],
|
|
119930
|
+
"exports": [
|
|
119931
|
+
{
|
|
119932
|
+
"kind": "js",
|
|
119933
|
+
"name": "SbbBlockLinkStaticElement",
|
|
119934
|
+
"declaration": {
|
|
119935
|
+
"name": "SbbBlockLinkStaticElement",
|
|
119936
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
119937
|
+
}
|
|
119938
|
+
}
|
|
119939
|
+
]
|
|
119940
|
+
},
|
|
119941
|
+
{
|
|
119942
|
+
"kind": "javascript-module",
|
|
119943
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
119944
|
+
"declarations": [
|
|
119945
|
+
{
|
|
119946
|
+
"kind": "class",
|
|
119947
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
119948
|
+
"name": "SbbBlockLinkButtonElement",
|
|
119949
|
+
"slots": [
|
|
119950
|
+
{
|
|
119951
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
119952
|
+
"name": ""
|
|
119998
119953
|
},
|
|
119954
|
+
{
|
|
119955
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
119956
|
+
"name": "icon"
|
|
119957
|
+
}
|
|
119958
|
+
],
|
|
119959
|
+
"members": [
|
|
119999
119960
|
{
|
|
120000
119961
|
"kind": "field",
|
|
120001
|
-
"name": "
|
|
119962
|
+
"name": "elementName",
|
|
120002
119963
|
"type": {
|
|
120003
|
-
"text": "
|
|
119964
|
+
"text": "string"
|
|
120004
119965
|
},
|
|
120005
119966
|
"privacy": "public",
|
|
120006
119967
|
"static": true,
|
|
119968
|
+
"readonly": true,
|
|
120007
119969
|
"inheritedFrom": {
|
|
120008
119970
|
"name": "SbbElement",
|
|
120009
119971
|
"module": "core/base-elements/element.js"
|
|
120010
119972
|
},
|
|
120011
|
-
"
|
|
120012
|
-
"default": "'button'"
|
|
119973
|
+
"default": "'sbb-block-link-button'"
|
|
120013
119974
|
},
|
|
120014
119975
|
{
|
|
120015
119976
|
"kind": "field",
|
|
120016
|
-
"name": "
|
|
120017
|
-
"
|
|
120018
|
-
|
|
120019
|
-
|
|
120020
|
-
|
|
120021
|
-
|
|
120022
|
-
|
|
120023
|
-
}
|
|
120024
|
-
],
|
|
119977
|
+
"name": "styles",
|
|
119978
|
+
"type": {
|
|
119979
|
+
"text": "CSSResultGroup"
|
|
119980
|
+
},
|
|
119981
|
+
"privacy": "public",
|
|
119982
|
+
"static": true,
|
|
119983
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
120025
119984
|
"inheritedFrom": {
|
|
120026
|
-
"name": "
|
|
120027
|
-
"module": "
|
|
119985
|
+
"name": "SbbLinkCommonElementMixin",
|
|
119986
|
+
"module": "link/common/link-common.js"
|
|
120028
119987
|
}
|
|
120029
119988
|
},
|
|
120030
119989
|
{
|
|
120031
119990
|
"kind": "field",
|
|
120032
|
-
"name": "
|
|
120033
|
-
"
|
|
119991
|
+
"name": "size",
|
|
119992
|
+
"type": {
|
|
119993
|
+
"text": "SbbLinkSize"
|
|
119994
|
+
},
|
|
119995
|
+
"privacy": "public",
|
|
119996
|
+
"description": "Size variant, either xs, s or m.",
|
|
119997
|
+
"default": "'s' / 'xs' (lean)",
|
|
119998
|
+
"attribute": "size",
|
|
119999
|
+
"reflects": true,
|
|
120034
120000
|
"inheritedFrom": {
|
|
120035
|
-
"name": "
|
|
120036
|
-
"module": "
|
|
120001
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120002
|
+
"module": "link/common/block-link-common.js"
|
|
120037
120003
|
}
|
|
120038
120004
|
},
|
|
120039
120005
|
{
|
|
120040
120006
|
"kind": "field",
|
|
120041
|
-
"name": "
|
|
120042
|
-
"
|
|
120043
|
-
|
|
120044
|
-
|
|
120045
|
-
|
|
120046
|
-
|
|
120047
|
-
|
|
120048
|
-
|
|
120049
|
-
|
|
120050
|
-
"inheritedFrom": {
|
|
120051
|
-
"name": "
|
|
120052
|
-
"module": "
|
|
120007
|
+
"name": "iconPlacement",
|
|
120008
|
+
"type": {
|
|
120009
|
+
"text": "SbbIconPlacement"
|
|
120010
|
+
},
|
|
120011
|
+
"privacy": "public",
|
|
120012
|
+
"default": "'start'",
|
|
120013
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
120014
|
+
"attribute": "icon-placement",
|
|
120015
|
+
"reflects": true,
|
|
120016
|
+
"inheritedFrom": {
|
|
120017
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120018
|
+
"module": "link/common/block-link-common.js"
|
|
120053
120019
|
}
|
|
120054
120020
|
},
|
|
120055
120021
|
{
|
|
120056
|
-
"kind": "
|
|
120057
|
-
"name": "
|
|
120058
|
-
"privacy": "
|
|
120022
|
+
"kind": "method",
|
|
120023
|
+
"name": "renderTemplate",
|
|
120024
|
+
"privacy": "protected",
|
|
120025
|
+
"return": {
|
|
120026
|
+
"type": {
|
|
120027
|
+
"text": "TemplateResult"
|
|
120028
|
+
}
|
|
120029
|
+
},
|
|
120030
|
+
"description": "Override this method to render the component template.",
|
|
120059
120031
|
"inheritedFrom": {
|
|
120060
|
-
"name": "
|
|
120061
|
-
"module": "core/base-elements/
|
|
120032
|
+
"name": "SbbActionBaseElement",
|
|
120033
|
+
"module": "core/base-elements/action-base-element.js"
|
|
120062
120034
|
}
|
|
120063
120035
|
},
|
|
120064
120036
|
{
|
|
120065
120037
|
"kind": "field",
|
|
120066
|
-
"name": "
|
|
120038
|
+
"name": "elementDependencies",
|
|
120067
120039
|
"type": {
|
|
120068
|
-
"text": "
|
|
120040
|
+
"text": "SbbElementType[]"
|
|
120069
120041
|
},
|
|
120070
|
-
"privacy": "
|
|
120071
|
-
"
|
|
120042
|
+
"privacy": "public",
|
|
120043
|
+
"static": true,
|
|
120072
120044
|
"inheritedFrom": {
|
|
120073
|
-
"name": "
|
|
120074
|
-
"module": "core/base-elements/
|
|
120075
|
-
}
|
|
120045
|
+
"name": "SbbElement",
|
|
120046
|
+
"module": "core/base-elements/element.js"
|
|
120047
|
+
},
|
|
120048
|
+
"default": "[SbbIconElement]"
|
|
120076
120049
|
},
|
|
120077
120050
|
{
|
|
120078
120051
|
"kind": "field",
|
|
120079
|
-
"name": "
|
|
120052
|
+
"name": "iconName",
|
|
120080
120053
|
"type": {
|
|
120081
|
-
"text": "
|
|
120054
|
+
"text": "string"
|
|
120082
120055
|
},
|
|
120056
|
+
"privacy": "public",
|
|
120057
|
+
"default": "''",
|
|
120058
|
+
"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.",
|
|
120059
|
+
"attribute": "icon-name",
|
|
120060
|
+
"inheritedFrom": {
|
|
120061
|
+
"name": "SbbIconNameMixin",
|
|
120062
|
+
"module": "icon/icon-name-mixin.js"
|
|
120063
|
+
}
|
|
120064
|
+
},
|
|
120065
|
+
{
|
|
120066
|
+
"kind": "method",
|
|
120067
|
+
"name": "renderIconSlot",
|
|
120083
120068
|
"privacy": "protected",
|
|
120084
|
-
"
|
|
120069
|
+
"return": {
|
|
120070
|
+
"type": {
|
|
120071
|
+
"text": "TemplateResult"
|
|
120072
|
+
}
|
|
120073
|
+
},
|
|
120074
|
+
"parameters": [
|
|
120075
|
+
{
|
|
120076
|
+
"name": "classname",
|
|
120077
|
+
"optional": true,
|
|
120078
|
+
"type": {
|
|
120079
|
+
"text": "string"
|
|
120080
|
+
}
|
|
120081
|
+
}
|
|
120082
|
+
],
|
|
120085
120083
|
"inheritedFrom": {
|
|
120086
|
-
"name": "
|
|
120087
|
-
"module": "
|
|
120084
|
+
"name": "SbbIconNameMixin",
|
|
120085
|
+
"module": "icon/icon-name-mixin.js"
|
|
120088
120086
|
}
|
|
120089
120087
|
},
|
|
120090
120088
|
{
|
|
120091
120089
|
"kind": "method",
|
|
120092
|
-
"name": "
|
|
120090
|
+
"name": "renderIconName",
|
|
120093
120091
|
"privacy": "protected",
|
|
120094
120092
|
"return": {
|
|
120095
120093
|
"type": {
|
|
120096
|
-
"text": "
|
|
120094
|
+
"text": "string"
|
|
120097
120095
|
}
|
|
120098
120096
|
},
|
|
120099
120097
|
"inheritedFrom": {
|
|
120100
|
-
"name": "
|
|
120101
|
-
"module": "
|
|
120098
|
+
"name": "SbbIconNameMixin",
|
|
120099
|
+
"module": "icon/icon-name-mixin.js"
|
|
120100
|
+
}
|
|
120101
|
+
},
|
|
120102
|
+
{
|
|
120103
|
+
"kind": "method",
|
|
120104
|
+
"name": "_renderIconName",
|
|
120105
|
+
"privacy": "private",
|
|
120106
|
+
"return": {
|
|
120107
|
+
"type": {
|
|
120108
|
+
"text": "string"
|
|
120109
|
+
}
|
|
120110
|
+
},
|
|
120111
|
+
"inheritedFrom": {
|
|
120112
|
+
"name": "SbbIconNameMixin",
|
|
120113
|
+
"module": "icon/icon-name-mixin.js"
|
|
120102
120114
|
}
|
|
120103
120115
|
},
|
|
120104
120116
|
{
|
|
120105
120117
|
"kind": "field",
|
|
120106
|
-
"name": "
|
|
120118
|
+
"name": "disabledInteractive",
|
|
120107
120119
|
"type": {
|
|
120108
120120
|
"text": "boolean"
|
|
120109
120121
|
},
|
|
120110
120122
|
"privacy": "public",
|
|
120111
|
-
"
|
|
120112
|
-
"
|
|
120123
|
+
"default": "false",
|
|
120124
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120125
|
+
"attribute": "disabled-interactive",
|
|
120126
|
+
"reflects": true,
|
|
120113
120127
|
"inheritedFrom": {
|
|
120114
|
-
"name": "
|
|
120115
|
-
"module": "core/
|
|
120128
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
120129
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120116
120130
|
}
|
|
120117
120131
|
},
|
|
120118
120132
|
{
|
|
120119
120133
|
"kind": "field",
|
|
120120
|
-
"name": "
|
|
120134
|
+
"name": "disabled",
|
|
120135
|
+
"privacy": "public",
|
|
120136
|
+
"description": "Whether the component is disabled.",
|
|
120137
|
+
"default": "false",
|
|
120121
120138
|
"type": {
|
|
120122
|
-
"text": "
|
|
120139
|
+
"text": "boolean"
|
|
120123
120140
|
},
|
|
120124
|
-
"
|
|
120141
|
+
"attribute": "disabled",
|
|
120142
|
+
"reflects": true,
|
|
120125
120143
|
"inheritedFrom": {
|
|
120126
|
-
"name": "
|
|
120127
|
-
"module": "core/
|
|
120144
|
+
"name": "SbbDisabledMixin",
|
|
120145
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120128
120146
|
}
|
|
120129
120147
|
},
|
|
120130
120148
|
{
|
|
120131
120149
|
"kind": "field",
|
|
120132
|
-
"name": "
|
|
120150
|
+
"name": "#disabled",
|
|
120151
|
+
"privacy": "private",
|
|
120133
120152
|
"type": {
|
|
120134
120153
|
"text": "boolean"
|
|
120135
120154
|
},
|
|
120136
|
-
"
|
|
120137
|
-
"default": "!!this.shadowRoot",
|
|
120155
|
+
"default": "false",
|
|
120138
120156
|
"inheritedFrom": {
|
|
120139
|
-
"name": "
|
|
120140
|
-
"module": "core/
|
|
120157
|
+
"name": "SbbDisabledMixin",
|
|
120158
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120141
120159
|
}
|
|
120142
120160
|
},
|
|
120143
120161
|
{
|
|
120144
|
-
"kind": "
|
|
120145
|
-
"name": "
|
|
120146
|
-
"privacy": "
|
|
120147
|
-
"
|
|
120162
|
+
"kind": "method",
|
|
120163
|
+
"name": "isDisabledExternally",
|
|
120164
|
+
"privacy": "protected",
|
|
120165
|
+
"return": {
|
|
120166
|
+
"type": {
|
|
120167
|
+
"text": "boolean"
|
|
120168
|
+
}
|
|
120169
|
+
},
|
|
120170
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120148
120171
|
"inheritedFrom": {
|
|
120149
|
-
"name": "
|
|
120150
|
-
"module": "core/
|
|
120172
|
+
"name": "SbbDisabledMixin",
|
|
120173
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120151
120174
|
}
|
|
120152
120175
|
},
|
|
120153
120176
|
{
|
|
120154
120177
|
"kind": "field",
|
|
120155
|
-
"name": "
|
|
120178
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
120156
120179
|
"type": {
|
|
120157
|
-
"text": "
|
|
120180
|
+
"text": "array"
|
|
120158
120181
|
},
|
|
120159
120182
|
"privacy": "private",
|
|
120183
|
+
"readonly": true,
|
|
120184
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
120160
120185
|
"inheritedFrom": {
|
|
120161
|
-
"name": "
|
|
120162
|
-
"module": "core/base-elements/element.js"
|
|
120186
|
+
"name": "SbbButtonBaseElement",
|
|
120187
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120163
120188
|
}
|
|
120164
120189
|
},
|
|
120165
120190
|
{
|
|
120166
120191
|
"kind": "field",
|
|
120167
|
-
"name": "
|
|
120192
|
+
"name": "value",
|
|
120168
120193
|
"type": {
|
|
120169
|
-
"text": "
|
|
120194
|
+
"text": "string"
|
|
120170
120195
|
},
|
|
120171
|
-
"privacy": "
|
|
120196
|
+
"privacy": "public",
|
|
120172
120197
|
"inheritedFrom": {
|
|
120173
|
-
"name": "
|
|
120174
|
-
"module": "core/base-elements/element.js"
|
|
120198
|
+
"name": "SbbButtonBaseElement",
|
|
120199
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120200
|
+
},
|
|
120201
|
+
"default": "''",
|
|
120202
|
+
"description": "Value of the form element.",
|
|
120203
|
+
"attribute": "value"
|
|
120204
|
+
},
|
|
120205
|
+
{
|
|
120206
|
+
"kind": "field",
|
|
120207
|
+
"name": "type",
|
|
120208
|
+
"privacy": "public",
|
|
120209
|
+
"description": "The type attribute to use for the button.",
|
|
120210
|
+
"default": "'button'",
|
|
120211
|
+
"type": {
|
|
120212
|
+
"text": "SbbButtonType"
|
|
120213
|
+
},
|
|
120214
|
+
"attribute": "type",
|
|
120215
|
+
"inheritedFrom": {
|
|
120216
|
+
"name": "SbbButtonBaseElement",
|
|
120217
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120175
120218
|
}
|
|
120176
120219
|
},
|
|
120177
120220
|
{
|
|
120178
120221
|
"kind": "field",
|
|
120179
|
-
"name": "
|
|
120222
|
+
"name": "form",
|
|
120180
120223
|
"type": {
|
|
120181
|
-
"text": "
|
|
120224
|
+
"text": "HTMLFormElement | null"
|
|
120182
120225
|
},
|
|
120183
|
-
"privacy": "
|
|
120184
|
-
"description": "
|
|
120185
|
-
"readonly": true,
|
|
120226
|
+
"privacy": "public",
|
|
120227
|
+
"description": "The `<form>` element to associate the button with.",
|
|
120186
120228
|
"inheritedFrom": {
|
|
120187
|
-
"name": "
|
|
120188
|
-
"module": "core/base-elements/element.js"
|
|
120229
|
+
"name": "SbbButtonBaseElement",
|
|
120230
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120189
120231
|
},
|
|
120190
|
-
"
|
|
120232
|
+
"attribute": "form"
|
|
120233
|
+
},
|
|
120234
|
+
{
|
|
120235
|
+
"kind": "field",
|
|
120236
|
+
"name": "_formId",
|
|
120237
|
+
"type": {
|
|
120238
|
+
"text": "string"
|
|
120239
|
+
},
|
|
120240
|
+
"privacy": "private",
|
|
120241
|
+
"default": "''",
|
|
120242
|
+
"inheritedFrom": {
|
|
120243
|
+
"name": "SbbButtonBaseElement",
|
|
120244
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120245
|
+
}
|
|
120246
|
+
},
|
|
120247
|
+
{
|
|
120248
|
+
"kind": "field",
|
|
120249
|
+
"name": "_handleButtonClick",
|
|
120250
|
+
"privacy": "private",
|
|
120251
|
+
"inheritedFrom": {
|
|
120252
|
+
"name": "SbbButtonBaseElement",
|
|
120253
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120254
|
+
}
|
|
120191
120255
|
},
|
|
120192
120256
|
{
|
|
120193
120257
|
"kind": "method",
|
|
120194
|
-
"name": "
|
|
120195
|
-
"privacy": "
|
|
120258
|
+
"name": "_requestSubmit",
|
|
120259
|
+
"privacy": "private",
|
|
120196
120260
|
"return": {
|
|
120197
120261
|
"type": {
|
|
120198
120262
|
"text": "void"
|
|
@@ -120200,504 +120264,390 @@
|
|
|
120200
120264
|
},
|
|
120201
120265
|
"parameters": [
|
|
120202
120266
|
{
|
|
120203
|
-
"name": "
|
|
120204
|
-
"type": {
|
|
120205
|
-
"text": "string"
|
|
120206
|
-
}
|
|
120207
|
-
},
|
|
120208
|
-
{
|
|
120209
|
-
"name": "force",
|
|
120210
|
-
"optional": true,
|
|
120267
|
+
"name": "form",
|
|
120211
120268
|
"type": {
|
|
120212
|
-
"text": "
|
|
120269
|
+
"text": "HTMLFormElement"
|
|
120213
120270
|
}
|
|
120214
120271
|
}
|
|
120215
120272
|
],
|
|
120216
120273
|
"inheritedFrom": {
|
|
120217
|
-
"name": "
|
|
120218
|
-
"module": "core/base-elements/element.js"
|
|
120274
|
+
"name": "SbbButtonBaseElement",
|
|
120275
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120219
120276
|
}
|
|
120220
120277
|
},
|
|
120221
120278
|
{
|
|
120222
|
-
"kind": "
|
|
120223
|
-
"name": "
|
|
120279
|
+
"kind": "field",
|
|
120280
|
+
"name": "_formKeyDown",
|
|
120224
120281
|
"privacy": "private",
|
|
120225
|
-
"return": {
|
|
120226
|
-
"type": {
|
|
120227
|
-
"text": "void"
|
|
120228
|
-
}
|
|
120229
|
-
},
|
|
120230
|
-
"parameters": [
|
|
120231
|
-
{
|
|
120232
|
-
"name": "event",
|
|
120233
|
-
"type": {
|
|
120234
|
-
"text": "Event"
|
|
120235
|
-
}
|
|
120236
|
-
},
|
|
120237
|
-
{
|
|
120238
|
-
"name": "slot",
|
|
120239
|
-
"type": {
|
|
120240
|
-
"text": "HTMLSlotElement"
|
|
120241
|
-
}
|
|
120242
|
-
}
|
|
120243
|
-
],
|
|
120244
|
-
"inheritedFrom": {
|
|
120245
|
-
"name": "SbbElement",
|
|
120246
|
-
"module": "core/base-elements/element.js"
|
|
120247
|
-
}
|
|
120248
|
-
},
|
|
120249
|
-
{
|
|
120250
|
-
"kind": "method",
|
|
120251
|
-
"name": "_handleSlotChangeForSlottedState",
|
|
120252
|
-
"privacy": "private",
|
|
120253
|
-
"return": {
|
|
120254
|
-
"type": {
|
|
120255
|
-
"text": "void"
|
|
120256
|
-
}
|
|
120257
|
-
},
|
|
120258
|
-
"parameters": [
|
|
120259
|
-
{
|
|
120260
|
-
"name": "slot",
|
|
120261
|
-
"type": {
|
|
120262
|
-
"text": "HTMLSlotElement"
|
|
120263
|
-
}
|
|
120264
|
-
}
|
|
120265
|
-
],
|
|
120266
120282
|
"inheritedFrom": {
|
|
120267
|
-
"name": "
|
|
120268
|
-
"module": "core/base-elements/element.js"
|
|
120269
|
-
}
|
|
120270
|
-
},
|
|
120271
|
-
{
|
|
120272
|
-
"kind": "method",
|
|
120273
|
-
"name": "_updateSlottedState",
|
|
120274
|
-
"privacy": "private",
|
|
120275
|
-
"return": {
|
|
120276
|
-
"type": {
|
|
120277
|
-
"text": "void"
|
|
120278
|
-
}
|
|
120279
|
-
},
|
|
120280
|
-
"parameters": [
|
|
120281
|
-
{
|
|
120282
|
-
"name": "slot",
|
|
120283
|
-
"type": {
|
|
120284
|
-
"text": "HTMLSlotElement"
|
|
120285
|
-
}
|
|
120286
|
-
}
|
|
120287
|
-
],
|
|
120288
|
-
"inheritedFrom": {
|
|
120289
|
-
"name": "SbbElement",
|
|
120290
|
-
"module": "core/base-elements/element.js"
|
|
120291
|
-
}
|
|
120292
|
-
},
|
|
120293
|
-
{
|
|
120294
|
-
"kind": "method",
|
|
120295
|
-
"name": "_observeTextNodesInSlot",
|
|
120296
|
-
"privacy": "private",
|
|
120297
|
-
"return": {
|
|
120298
|
-
"type": {
|
|
120299
|
-
"text": "void"
|
|
120300
|
-
}
|
|
120301
|
-
},
|
|
120302
|
-
"parameters": [
|
|
120303
|
-
{
|
|
120304
|
-
"name": "slot",
|
|
120305
|
-
"type": {
|
|
120306
|
-
"text": "HTMLSlotElement"
|
|
120307
|
-
}
|
|
120308
|
-
}
|
|
120309
|
-
],
|
|
120310
|
-
"inheritedFrom": {
|
|
120311
|
-
"name": "SbbElement",
|
|
120312
|
-
"module": "core/base-elements/element.js"
|
|
120283
|
+
"name": "SbbButtonBaseElement",
|
|
120284
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120313
120285
|
}
|
|
120314
120286
|
},
|
|
120315
120287
|
{
|
|
120316
|
-
"kind": "
|
|
120317
|
-
"name": "
|
|
120318
|
-
"
|
|
120319
|
-
|
|
120320
|
-
"type": {
|
|
120321
|
-
"text": "boolean"
|
|
120322
|
-
}
|
|
120288
|
+
"kind": "field",
|
|
120289
|
+
"name": "formAssociated",
|
|
120290
|
+
"type": {
|
|
120291
|
+
"text": "boolean"
|
|
120323
120292
|
},
|
|
120324
|
-
"
|
|
120325
|
-
|
|
120326
|
-
|
|
120327
|
-
"type": {
|
|
120328
|
-
"text": "HTMLSlotElement"
|
|
120329
|
-
}
|
|
120330
|
-
}
|
|
120331
|
-
],
|
|
120293
|
+
"privacy": "public",
|
|
120294
|
+
"static": true,
|
|
120295
|
+
"default": "true",
|
|
120332
120296
|
"inheritedFrom": {
|
|
120333
|
-
"name": "
|
|
120334
|
-
"module": "core/
|
|
120297
|
+
"name": "SbbFormAssociatedMixin",
|
|
120298
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120335
120299
|
}
|
|
120336
|
-
}
|
|
120337
|
-
],
|
|
120338
|
-
"mixins": [
|
|
120339
|
-
{
|
|
120340
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
120341
|
-
"module": "link/common/block-link-common.js"
|
|
120342
120300
|
},
|
|
120343
120301
|
{
|
|
120344
|
-
"
|
|
120345
|
-
"
|
|
120346
|
-
|
|
120347
|
-
|
|
120348
|
-
"superclass": {
|
|
120349
|
-
"name": "SbbButtonBaseElement",
|
|
120350
|
-
"module": "core.js"
|
|
120351
|
-
},
|
|
120352
|
-
"tagName": "sbb-block-link-button",
|
|
120353
|
-
"customElement": true,
|
|
120354
|
-
"attributes": [
|
|
120355
|
-
{
|
|
120356
|
-
"name": "size",
|
|
120302
|
+
"kind": "field",
|
|
120303
|
+
"name": "name",
|
|
120304
|
+
"privacy": "public",
|
|
120305
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
120357
120306
|
"type": {
|
|
120358
|
-
"text": "
|
|
120307
|
+
"text": "string"
|
|
120359
120308
|
},
|
|
120360
|
-
"
|
|
120361
|
-
"default": "'s' / 'xs' (lean)",
|
|
120362
|
-
"fieldName": "size",
|
|
120309
|
+
"attribute": "name",
|
|
120363
120310
|
"inheritedFrom": {
|
|
120364
|
-
"name": "
|
|
120365
|
-
"module": "
|
|
120311
|
+
"name": "SbbFormAssociatedMixin",
|
|
120312
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120366
120313
|
}
|
|
120367
120314
|
},
|
|
120368
120315
|
{
|
|
120369
|
-
"
|
|
120316
|
+
"kind": "field",
|
|
120317
|
+
"name": "validity",
|
|
120370
120318
|
"type": {
|
|
120371
|
-
"text": "
|
|
120319
|
+
"text": "ValidityState"
|
|
120372
120320
|
},
|
|
120373
|
-
"
|
|
120374
|
-
"description": "
|
|
120375
|
-
"
|
|
120321
|
+
"privacy": "public",
|
|
120322
|
+
"description": "Returns the ValidityState object for this element.",
|
|
120323
|
+
"readonly": true,
|
|
120376
120324
|
"inheritedFrom": {
|
|
120377
|
-
"name": "
|
|
120378
|
-
"module": "
|
|
120325
|
+
"name": "SbbFormAssociatedMixin",
|
|
120326
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120379
120327
|
}
|
|
120380
120328
|
},
|
|
120381
120329
|
{
|
|
120382
|
-
"
|
|
120330
|
+
"kind": "field",
|
|
120331
|
+
"name": "validationMessage",
|
|
120383
120332
|
"type": {
|
|
120384
120333
|
"text": "string"
|
|
120385
120334
|
},
|
|
120386
|
-
"
|
|
120387
|
-
"description": "
|
|
120388
|
-
"
|
|
120335
|
+
"privacy": "public",
|
|
120336
|
+
"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.",
|
|
120337
|
+
"readonly": true,
|
|
120389
120338
|
"inheritedFrom": {
|
|
120390
|
-
"name": "
|
|
120391
|
-
"module": "
|
|
120339
|
+
"name": "SbbFormAssociatedMixin",
|
|
120340
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120392
120341
|
}
|
|
120393
120342
|
},
|
|
120394
120343
|
{
|
|
120395
|
-
"
|
|
120344
|
+
"kind": "field",
|
|
120345
|
+
"name": "willValidate",
|
|
120396
120346
|
"type": {
|
|
120397
120347
|
"text": "boolean"
|
|
120398
120348
|
},
|
|
120399
|
-
"
|
|
120400
|
-
"description": "
|
|
120401
|
-
"
|
|
120349
|
+
"privacy": "public",
|
|
120350
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
120351
|
+
"readonly": true,
|
|
120402
120352
|
"inheritedFrom": {
|
|
120403
|
-
"name": "
|
|
120404
|
-
"module": "core/mixins/
|
|
120353
|
+
"name": "SbbFormAssociatedMixin",
|
|
120354
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120405
120355
|
}
|
|
120406
120356
|
},
|
|
120407
120357
|
{
|
|
120408
|
-
"
|
|
120409
|
-
"
|
|
120410
|
-
"
|
|
120411
|
-
"
|
|
120412
|
-
"text": "boolean"
|
|
120413
|
-
},
|
|
120414
|
-
"fieldName": "disabled",
|
|
120358
|
+
"kind": "field",
|
|
120359
|
+
"name": "_validityStates",
|
|
120360
|
+
"privacy": "private",
|
|
120361
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
120415
120362
|
"inheritedFrom": {
|
|
120416
|
-
"name": "
|
|
120417
|
-
"module": "core/mixins/
|
|
120363
|
+
"name": "SbbFormAssociatedMixin",
|
|
120364
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120418
120365
|
}
|
|
120419
120366
|
},
|
|
120420
120367
|
{
|
|
120421
|
-
"
|
|
120368
|
+
"kind": "field",
|
|
120369
|
+
"name": "formDisabled",
|
|
120422
120370
|
"type": {
|
|
120423
|
-
"text": "
|
|
120371
|
+
"text": "boolean"
|
|
120424
120372
|
},
|
|
120425
|
-
"
|
|
120426
|
-
"
|
|
120427
|
-
"
|
|
120373
|
+
"privacy": "protected",
|
|
120374
|
+
"default": "false",
|
|
120375
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
120428
120376
|
"inheritedFrom": {
|
|
120429
|
-
"name": "
|
|
120430
|
-
"module": "core/
|
|
120377
|
+
"name": "SbbFormAssociatedMixin",
|
|
120378
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120431
120379
|
}
|
|
120432
120380
|
},
|
|
120433
120381
|
{
|
|
120434
|
-
"
|
|
120435
|
-
"
|
|
120436
|
-
"
|
|
120437
|
-
"
|
|
120438
|
-
"
|
|
120382
|
+
"kind": "method",
|
|
120383
|
+
"name": "checkValidity",
|
|
120384
|
+
"privacy": "public",
|
|
120385
|
+
"return": {
|
|
120386
|
+
"type": {
|
|
120387
|
+
"text": "boolean"
|
|
120388
|
+
}
|
|
120439
120389
|
},
|
|
120440
|
-
"
|
|
120390
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120441
120391
|
"inheritedFrom": {
|
|
120442
|
-
"name": "
|
|
120443
|
-
"module": "core/
|
|
120392
|
+
"name": "SbbFormAssociatedMixin",
|
|
120393
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120444
120394
|
}
|
|
120445
120395
|
},
|
|
120446
120396
|
{
|
|
120447
|
-
"
|
|
120448
|
-
"
|
|
120449
|
-
"
|
|
120450
|
-
|
|
120397
|
+
"kind": "method",
|
|
120398
|
+
"name": "reportValidity",
|
|
120399
|
+
"privacy": "public",
|
|
120400
|
+
"return": {
|
|
120401
|
+
"type": {
|
|
120402
|
+
"text": "boolean"
|
|
120403
|
+
}
|
|
120451
120404
|
},
|
|
120452
|
-
"
|
|
120405
|
+
"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.",
|
|
120453
120406
|
"inheritedFrom": {
|
|
120454
|
-
"name": "
|
|
120455
|
-
"module": "core/
|
|
120407
|
+
"name": "SbbFormAssociatedMixin",
|
|
120408
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120456
120409
|
}
|
|
120457
120410
|
},
|
|
120458
120411
|
{
|
|
120459
|
-
"
|
|
120460
|
-
"
|
|
120461
|
-
"
|
|
120462
|
-
|
|
120412
|
+
"kind": "method",
|
|
120413
|
+
"name": "setCustomValidity",
|
|
120414
|
+
"privacy": "public",
|
|
120415
|
+
"return": {
|
|
120416
|
+
"type": {
|
|
120417
|
+
"text": "void"
|
|
120418
|
+
}
|
|
120463
120419
|
},
|
|
120464
|
-
"
|
|
120420
|
+
"parameters": [
|
|
120421
|
+
{
|
|
120422
|
+
"name": "message",
|
|
120423
|
+
"type": {
|
|
120424
|
+
"text": "string"
|
|
120425
|
+
}
|
|
120426
|
+
}
|
|
120427
|
+
],
|
|
120428
|
+
"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.",
|
|
120465
120429
|
"inheritedFrom": {
|
|
120466
120430
|
"name": "SbbFormAssociatedMixin",
|
|
120467
120431
|
"module": "core/mixins/form-associated-mixin.js"
|
|
120468
120432
|
}
|
|
120469
|
-
}
|
|
120470
|
-
]
|
|
120471
|
-
}
|
|
120472
|
-
],
|
|
120473
|
-
"exports": [
|
|
120474
|
-
{
|
|
120475
|
-
"kind": "js",
|
|
120476
|
-
"name": "SbbBlockLinkButtonElement",
|
|
120477
|
-
"declaration": {
|
|
120478
|
-
"name": "SbbBlockLinkButtonElement",
|
|
120479
|
-
"module": "link/block-link-button/block-link-button.component.js"
|
|
120480
|
-
}
|
|
120481
|
-
}
|
|
120482
|
-
]
|
|
120483
|
-
},
|
|
120484
|
-
{
|
|
120485
|
-
"kind": "javascript-module",
|
|
120486
|
-
"path": "link/block-link-static/block-link-static.component.js",
|
|
120487
|
-
"declarations": [
|
|
120488
|
-
{
|
|
120489
|
-
"kind": "class",
|
|
120490
|
-
"description": "It displays a static link enhanced with the SBB Design.",
|
|
120491
|
-
"name": "SbbBlockLinkStaticElement",
|
|
120492
|
-
"slots": [
|
|
120493
|
-
{
|
|
120494
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
120495
|
-
"name": ""
|
|
120496
120433
|
},
|
|
120497
120434
|
{
|
|
120498
|
-
"
|
|
120499
|
-
"name": "
|
|
120500
|
-
|
|
120501
|
-
|
|
120502
|
-
|
|
120503
|
-
|
|
120504
|
-
|
|
120505
|
-
"name": "elementName",
|
|
120506
|
-
"type": {
|
|
120507
|
-
"text": "string"
|
|
120435
|
+
"kind": "method",
|
|
120436
|
+
"name": "_hasDisabledAncestor",
|
|
120437
|
+
"privacy": "private",
|
|
120438
|
+
"return": {
|
|
120439
|
+
"type": {
|
|
120440
|
+
"text": "boolean"
|
|
120441
|
+
}
|
|
120508
120442
|
},
|
|
120509
|
-
"privacy": "public",
|
|
120510
|
-
"static": true,
|
|
120511
|
-
"readonly": true,
|
|
120512
120443
|
"inheritedFrom": {
|
|
120513
|
-
"name": "
|
|
120514
|
-
"module": "core/
|
|
120515
|
-
}
|
|
120516
|
-
"default": "'sbb-block-link-static'"
|
|
120444
|
+
"name": "SbbFormAssociatedMixin",
|
|
120445
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120446
|
+
}
|
|
120517
120447
|
},
|
|
120518
120448
|
{
|
|
120519
|
-
"kind": "
|
|
120520
|
-
"name": "
|
|
120521
|
-
"
|
|
120522
|
-
|
|
120449
|
+
"kind": "method",
|
|
120450
|
+
"name": "updateFormValue",
|
|
120451
|
+
"privacy": "protected",
|
|
120452
|
+
"return": {
|
|
120453
|
+
"type": {
|
|
120454
|
+
"text": "void"
|
|
120455
|
+
}
|
|
120523
120456
|
},
|
|
120524
|
-
"
|
|
120525
|
-
"static": true,
|
|
120526
|
-
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
120457
|
+
"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",
|
|
120527
120458
|
"inheritedFrom": {
|
|
120528
|
-
"name": "
|
|
120529
|
-
"module": "
|
|
120459
|
+
"name": "SbbFormAssociatedMixin",
|
|
120460
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120530
120461
|
}
|
|
120531
120462
|
},
|
|
120532
120463
|
{
|
|
120533
|
-
"kind": "
|
|
120534
|
-
"name": "
|
|
120535
|
-
"
|
|
120536
|
-
|
|
120464
|
+
"kind": "method",
|
|
120465
|
+
"name": "formState",
|
|
120466
|
+
"privacy": "protected",
|
|
120467
|
+
"return": {
|
|
120468
|
+
"type": {
|
|
120469
|
+
"text": "FormRestoreState"
|
|
120470
|
+
}
|
|
120537
120471
|
},
|
|
120538
|
-
"privacy": "public",
|
|
120539
|
-
"description": "Size variant, either xs, s or m.",
|
|
120540
|
-
"default": "'s' / 'xs' (lean)",
|
|
120541
|
-
"attribute": "size",
|
|
120542
|
-
"reflects": true,
|
|
120543
120472
|
"inheritedFrom": {
|
|
120544
|
-
"name": "
|
|
120545
|
-
"module": "
|
|
120473
|
+
"name": "SbbFormAssociatedMixin",
|
|
120474
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120546
120475
|
}
|
|
120547
120476
|
},
|
|
120548
120477
|
{
|
|
120549
|
-
"kind": "
|
|
120550
|
-
"name": "
|
|
120551
|
-
"
|
|
120552
|
-
|
|
120478
|
+
"kind": "method",
|
|
120479
|
+
"name": "setValidityFlag",
|
|
120480
|
+
"privacy": "protected",
|
|
120481
|
+
"return": {
|
|
120482
|
+
"type": {
|
|
120483
|
+
"text": "void"
|
|
120484
|
+
}
|
|
120553
120485
|
},
|
|
120554
|
-
"
|
|
120555
|
-
|
|
120556
|
-
|
|
120557
|
-
|
|
120558
|
-
|
|
120486
|
+
"parameters": [
|
|
120487
|
+
{
|
|
120488
|
+
"name": "flag",
|
|
120489
|
+
"type": {
|
|
120490
|
+
"text": "T"
|
|
120491
|
+
}
|
|
120492
|
+
},
|
|
120493
|
+
{
|
|
120494
|
+
"name": "message",
|
|
120495
|
+
"type": {
|
|
120496
|
+
"text": "string"
|
|
120497
|
+
}
|
|
120498
|
+
},
|
|
120499
|
+
{
|
|
120500
|
+
"name": "flagValue",
|
|
120501
|
+
"optional": true,
|
|
120502
|
+
"type": {
|
|
120503
|
+
"text": "ValidityStateFlags[T]"
|
|
120504
|
+
}
|
|
120505
|
+
}
|
|
120506
|
+
],
|
|
120507
|
+
"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).",
|
|
120559
120508
|
"inheritedFrom": {
|
|
120560
|
-
"name": "
|
|
120561
|
-
"module": "
|
|
120509
|
+
"name": "SbbFormAssociatedMixin",
|
|
120510
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120562
120511
|
}
|
|
120563
120512
|
},
|
|
120564
120513
|
{
|
|
120565
120514
|
"kind": "method",
|
|
120566
|
-
"name": "
|
|
120515
|
+
"name": "removeValidityFlag",
|
|
120567
120516
|
"privacy": "protected",
|
|
120568
120517
|
"return": {
|
|
120569
120518
|
"type": {
|
|
120570
|
-
"text": "
|
|
120519
|
+
"text": "void"
|
|
120571
120520
|
}
|
|
120572
120521
|
},
|
|
120573
|
-
"
|
|
120522
|
+
"parameters": [
|
|
120523
|
+
{
|
|
120524
|
+
"name": "flag",
|
|
120525
|
+
"type": {
|
|
120526
|
+
"text": "T"
|
|
120527
|
+
}
|
|
120528
|
+
}
|
|
120529
|
+
],
|
|
120530
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
120574
120531
|
"inheritedFrom": {
|
|
120575
|
-
"name": "
|
|
120576
|
-
"module": "core/
|
|
120532
|
+
"name": "SbbFormAssociatedMixin",
|
|
120533
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120577
120534
|
}
|
|
120578
120535
|
},
|
|
120579
120536
|
{
|
|
120580
|
-
"kind": "
|
|
120581
|
-
"name": "
|
|
120582
|
-
"
|
|
120583
|
-
|
|
120584
|
-
|
|
120585
|
-
|
|
120586
|
-
|
|
120587
|
-
"inheritedFrom": {
|
|
120588
|
-
"name": "SbbElement",
|
|
120589
|
-
"module": "core/base-elements/element.js"
|
|
120590
|
-
},
|
|
120591
|
-
"default": "[SbbIconElement]"
|
|
120592
|
-
},
|
|
120593
|
-
{
|
|
120594
|
-
"kind": "field",
|
|
120595
|
-
"name": "iconName",
|
|
120596
|
-
"type": {
|
|
120597
|
-
"text": "string"
|
|
120537
|
+
"kind": "method",
|
|
120538
|
+
"name": "validate",
|
|
120539
|
+
"privacy": "protected",
|
|
120540
|
+
"return": {
|
|
120541
|
+
"type": {
|
|
120542
|
+
"text": "void"
|
|
120543
|
+
}
|
|
120598
120544
|
},
|
|
120599
|
-
"
|
|
120600
|
-
"default": "''",
|
|
120601
|
-
"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.",
|
|
120602
|
-
"attribute": "icon-name",
|
|
120545
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
120603
120546
|
"inheritedFrom": {
|
|
120604
|
-
"name": "
|
|
120605
|
-
"module": "
|
|
120547
|
+
"name": "SbbFormAssociatedMixin",
|
|
120548
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120606
120549
|
}
|
|
120607
120550
|
},
|
|
120608
120551
|
{
|
|
120609
120552
|
"kind": "method",
|
|
120610
|
-
"name": "
|
|
120553
|
+
"name": "shouldValidate",
|
|
120611
120554
|
"privacy": "protected",
|
|
120612
120555
|
"return": {
|
|
120613
120556
|
"type": {
|
|
120614
|
-
"text": "
|
|
120557
|
+
"text": "boolean"
|
|
120615
120558
|
}
|
|
120616
120559
|
},
|
|
120617
120560
|
"parameters": [
|
|
120618
120561
|
{
|
|
120619
|
-
"name": "
|
|
120620
|
-
"optional": true,
|
|
120562
|
+
"name": "name",
|
|
120621
120563
|
"type": {
|
|
120622
|
-
"text": "
|
|
120564
|
+
"text": "PropertyKey | undefined"
|
|
120623
120565
|
}
|
|
120624
120566
|
}
|
|
120625
120567
|
],
|
|
120568
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
120626
120569
|
"inheritedFrom": {
|
|
120627
|
-
"name": "
|
|
120628
|
-
"module": "
|
|
120570
|
+
"name": "SbbFormAssociatedMixin",
|
|
120571
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120629
120572
|
}
|
|
120630
120573
|
},
|
|
120631
120574
|
{
|
|
120632
120575
|
"kind": "method",
|
|
120633
|
-
"name": "
|
|
120634
|
-
"privacy": "
|
|
120576
|
+
"name": "_setInternalValidity",
|
|
120577
|
+
"privacy": "private",
|
|
120635
120578
|
"return": {
|
|
120636
120579
|
"type": {
|
|
120637
|
-
"text": "
|
|
120580
|
+
"text": "void"
|
|
120638
120581
|
}
|
|
120639
120582
|
},
|
|
120640
120583
|
"inheritedFrom": {
|
|
120641
|
-
"name": "
|
|
120642
|
-
"module": "
|
|
120584
|
+
"name": "SbbFormAssociatedMixin",
|
|
120585
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120643
120586
|
}
|
|
120644
120587
|
},
|
|
120645
120588
|
{
|
|
120646
|
-
"kind": "
|
|
120647
|
-
"name": "
|
|
120589
|
+
"kind": "field",
|
|
120590
|
+
"name": "role",
|
|
120591
|
+
"type": {
|
|
120592
|
+
"text": "ElementInternals['role']"
|
|
120593
|
+
},
|
|
120594
|
+
"privacy": "public",
|
|
120595
|
+
"static": true,
|
|
120596
|
+
"inheritedFrom": {
|
|
120597
|
+
"name": "SbbElement",
|
|
120598
|
+
"module": "core/base-elements/element.js"
|
|
120599
|
+
},
|
|
120600
|
+
"readonly": true,
|
|
120601
|
+
"default": "'button'"
|
|
120602
|
+
},
|
|
120603
|
+
{
|
|
120604
|
+
"kind": "field",
|
|
120605
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
120648
120606
|
"privacy": "private",
|
|
120649
|
-
"
|
|
120650
|
-
|
|
120651
|
-
|
|
120607
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
120608
|
+
"parameters": [
|
|
120609
|
+
{
|
|
120610
|
+
"description": "The origin event.",
|
|
120611
|
+
"name": "event"
|
|
120652
120612
|
}
|
|
120653
|
-
|
|
120613
|
+
],
|
|
120654
120614
|
"inheritedFrom": {
|
|
120655
|
-
"name": "
|
|
120656
|
-
"module": "
|
|
120615
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120616
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120657
120617
|
}
|
|
120658
120618
|
},
|
|
120659
120619
|
{
|
|
120660
120620
|
"kind": "field",
|
|
120661
|
-
"name": "
|
|
120662
|
-
"privacy": "
|
|
120663
|
-
"description": "Whether the component is disabled.",
|
|
120664
|
-
"default": "false",
|
|
120665
|
-
"type": {
|
|
120666
|
-
"text": "boolean"
|
|
120667
|
-
},
|
|
120668
|
-
"attribute": "disabled",
|
|
120669
|
-
"reflects": true,
|
|
120621
|
+
"name": "_removeActiveMarker",
|
|
120622
|
+
"privacy": "private",
|
|
120670
120623
|
"inheritedFrom": {
|
|
120671
|
-
"name": "
|
|
120672
|
-
"module": "core/
|
|
120624
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120625
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120673
120626
|
}
|
|
120674
120627
|
},
|
|
120675
120628
|
{
|
|
120676
120629
|
"kind": "field",
|
|
120677
|
-
"name": "
|
|
120630
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
120678
120631
|
"privacy": "private",
|
|
120679
|
-
"
|
|
120680
|
-
|
|
120681
|
-
|
|
120682
|
-
|
|
120632
|
+
"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.",
|
|
120633
|
+
"parameters": [
|
|
120634
|
+
{
|
|
120635
|
+
"description": "The origin event.",
|
|
120636
|
+
"name": "event"
|
|
120637
|
+
}
|
|
120638
|
+
],
|
|
120683
120639
|
"inheritedFrom": {
|
|
120684
|
-
"name": "
|
|
120685
|
-
"module": "core/
|
|
120640
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120641
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120686
120642
|
}
|
|
120687
120643
|
},
|
|
120688
120644
|
{
|
|
120689
|
-
"kind": "
|
|
120690
|
-
"name": "
|
|
120691
|
-
"privacy": "
|
|
120692
|
-
"return": {
|
|
120693
|
-
"type": {
|
|
120694
|
-
"text": "boolean"
|
|
120695
|
-
}
|
|
120696
|
-
},
|
|
120697
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120645
|
+
"kind": "field",
|
|
120646
|
+
"name": "_dispatchClickEvent",
|
|
120647
|
+
"privacy": "private",
|
|
120698
120648
|
"inheritedFrom": {
|
|
120699
|
-
"name": "
|
|
120700
|
-
"module": "core/
|
|
120649
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120650
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120701
120651
|
}
|
|
120702
120652
|
},
|
|
120703
120653
|
{
|
|
@@ -120754,19 +120704,6 @@
|
|
|
120754
120704
|
"module": "core/base-elements/element.js"
|
|
120755
120705
|
}
|
|
120756
120706
|
},
|
|
120757
|
-
{
|
|
120758
|
-
"kind": "field",
|
|
120759
|
-
"name": "role",
|
|
120760
|
-
"type": {
|
|
120761
|
-
"text": "ElementInternals['role'] | undefined"
|
|
120762
|
-
},
|
|
120763
|
-
"privacy": "public",
|
|
120764
|
-
"static": true,
|
|
120765
|
-
"inheritedFrom": {
|
|
120766
|
-
"name": "SbbElement",
|
|
120767
|
-
"module": "core/base-elements/element.js"
|
|
120768
|
-
}
|
|
120769
|
-
},
|
|
120770
120707
|
{
|
|
120771
120708
|
"kind": "field",
|
|
120772
120709
|
"name": "_controllers",
|
|
@@ -120993,15 +120930,15 @@
|
|
|
120993
120930
|
"module": "link/common/block-link-common.js"
|
|
120994
120931
|
},
|
|
120995
120932
|
{
|
|
120996
|
-
"name": "
|
|
120933
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
120997
120934
|
"module": "core.js"
|
|
120998
120935
|
}
|
|
120999
120936
|
],
|
|
121000
120937
|
"superclass": {
|
|
121001
|
-
"name": "
|
|
120938
|
+
"name": "SbbButtonBaseElement",
|
|
121002
120939
|
"module": "core.js"
|
|
121003
120940
|
},
|
|
121004
|
-
"tagName": "sbb-block-link-
|
|
120941
|
+
"tagName": "sbb-block-link-button",
|
|
121005
120942
|
"customElement": true,
|
|
121006
120943
|
"attributes": [
|
|
121007
120944
|
{
|
|
@@ -121043,6 +120980,19 @@
|
|
|
121043
120980
|
"module": "icon/icon-name-mixin.js"
|
|
121044
120981
|
}
|
|
121045
120982
|
},
|
|
120983
|
+
{
|
|
120984
|
+
"name": "disabled-interactive",
|
|
120985
|
+
"type": {
|
|
120986
|
+
"text": "boolean"
|
|
120987
|
+
},
|
|
120988
|
+
"default": "false",
|
|
120989
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120990
|
+
"fieldName": "disabledInteractive",
|
|
120991
|
+
"inheritedFrom": {
|
|
120992
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
120993
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120994
|
+
}
|
|
120995
|
+
},
|
|
121046
120996
|
{
|
|
121047
120997
|
"name": "disabled",
|
|
121048
120998
|
"description": "Whether the component is disabled.",
|
|
@@ -121055,6 +121005,56 @@
|
|
|
121055
121005
|
"name": "SbbDisabledMixin",
|
|
121056
121006
|
"module": "core/mixins/disabled-mixin.js"
|
|
121057
121007
|
}
|
|
121008
|
+
},
|
|
121009
|
+
{
|
|
121010
|
+
"name": "value",
|
|
121011
|
+
"type": {
|
|
121012
|
+
"text": "string"
|
|
121013
|
+
},
|
|
121014
|
+
"default": "''",
|
|
121015
|
+
"description": "Value of the form element.",
|
|
121016
|
+
"fieldName": "value",
|
|
121017
|
+
"inheritedFrom": {
|
|
121018
|
+
"name": "SbbButtonBaseElement",
|
|
121019
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121020
|
+
}
|
|
121021
|
+
},
|
|
121022
|
+
{
|
|
121023
|
+
"name": "type",
|
|
121024
|
+
"description": "The type attribute to use for the button.",
|
|
121025
|
+
"default": "'button'",
|
|
121026
|
+
"type": {
|
|
121027
|
+
"text": "SbbButtonType"
|
|
121028
|
+
},
|
|
121029
|
+
"fieldName": "type",
|
|
121030
|
+
"inheritedFrom": {
|
|
121031
|
+
"name": "SbbButtonBaseElement",
|
|
121032
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121033
|
+
}
|
|
121034
|
+
},
|
|
121035
|
+
{
|
|
121036
|
+
"name": "form",
|
|
121037
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121038
|
+
"type": {
|
|
121039
|
+
"text": "HTMLFormElement | null"
|
|
121040
|
+
},
|
|
121041
|
+
"fieldName": "form",
|
|
121042
|
+
"inheritedFrom": {
|
|
121043
|
+
"name": "SbbButtonBaseElement",
|
|
121044
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121045
|
+
}
|
|
121046
|
+
},
|
|
121047
|
+
{
|
|
121048
|
+
"name": "name",
|
|
121049
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121050
|
+
"type": {
|
|
121051
|
+
"text": "string"
|
|
121052
|
+
},
|
|
121053
|
+
"fieldName": "name",
|
|
121054
|
+
"inheritedFrom": {
|
|
121055
|
+
"name": "SbbFormAssociatedMixin",
|
|
121056
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121057
|
+
}
|
|
121058
121058
|
}
|
|
121059
121059
|
]
|
|
121060
121060
|
}
|
|
@@ -121062,10 +121062,10 @@
|
|
|
121062
121062
|
"exports": [
|
|
121063
121063
|
{
|
|
121064
121064
|
"kind": "js",
|
|
121065
|
-
"name": "
|
|
121065
|
+
"name": "SbbBlockLinkButtonElement",
|
|
121066
121066
|
"declaration": {
|
|
121067
|
-
"name": "
|
|
121068
|
-
"module": "link/block-link-
|
|
121067
|
+
"name": "SbbBlockLinkButtonElement",
|
|
121068
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
121069
121069
|
}
|
|
121070
121070
|
}
|
|
121071
121071
|
]
|