@sbb-esta/lyne-elements-dev 4.7.0-dev.1773823547 → 4.8.0-dev.1773828081

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.
Files changed (2) hide show
  1. package/custom-elements.json +1513 -1513
  2. package/package.json +2 -2
@@ -120017,6 +120017,218 @@
120017
120017
  }
120018
120018
  ]
120019
120019
  },
120020
+ {
120021
+ "kind": "javascript-module",
120022
+ "path": "sidebar/sidebar-container/sidebar-container.component.js",
120023
+ "declarations": [
120024
+ {
120025
+ "kind": "class",
120026
+ "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
120027
+ "name": "SbbSidebarContainerElement",
120028
+ "slots": [
120029
+ {
120030
+ "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
120031
+ "name": ""
120032
+ }
120033
+ ],
120034
+ "members": [
120035
+ {
120036
+ "kind": "field",
120037
+ "name": "elementName",
120038
+ "type": {
120039
+ "text": "string"
120040
+ },
120041
+ "privacy": "public",
120042
+ "static": true,
120043
+ "readonly": true,
120044
+ "default": "'sbb-sidebar-container'",
120045
+ "inheritedFrom": {
120046
+ "name": "SbbElement",
120047
+ "module": "core/base-elements/element.js"
120048
+ }
120049
+ },
120050
+ {
120051
+ "kind": "field",
120052
+ "name": "sidebars",
120053
+ "type": {
120054
+ "text": "SbbSidebarElement[]"
120055
+ },
120056
+ "privacy": "public",
120057
+ "description": "The sidebar children.",
120058
+ "readonly": true
120059
+ },
120060
+ {
120061
+ "kind": "field",
120062
+ "name": "start",
120063
+ "type": {
120064
+ "text": "SbbSidebarElement | null"
120065
+ },
120066
+ "privacy": "public",
120067
+ "description": "The sidebar child with the `start` position.",
120068
+ "readonly": true
120069
+ },
120070
+ {
120071
+ "kind": "field",
120072
+ "name": "end",
120073
+ "type": {
120074
+ "text": "SbbSidebarElement | null"
120075
+ },
120076
+ "privacy": "public",
120077
+ "description": "The sidebar child with the `end` position.",
120078
+ "readonly": true
120079
+ },
120080
+ {
120081
+ "kind": "field",
120082
+ "name": "_forcedClosedSidebars",
120083
+ "privacy": "private",
120084
+ "default": "new WeakSet<SbbSidebarElement>()"
120085
+ },
120086
+ {
120087
+ "kind": "method",
120088
+ "name": "_handleWidthChange",
120089
+ "privacy": "private",
120090
+ "return": {
120091
+ "type": {
120092
+ "text": "void"
120093
+ }
120094
+ }
120095
+ },
120096
+ {
120097
+ "kind": "method",
120098
+ "name": "_calculateSpaceState",
120099
+ "privacy": "private",
120100
+ "return": {
120101
+ "type": {
120102
+ "text": "Promise<void>"
120103
+ }
120104
+ },
120105
+ "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
120106
+ },
120107
+ {
120108
+ "kind": "field",
120109
+ "name": "_hydrationRequired",
120110
+ "type": {
120111
+ "text": "boolean"
120112
+ },
120113
+ "privacy": "private",
120114
+ "default": "!!this.shadowRoot",
120115
+ "inheritedFrom": {
120116
+ "name": "SbbElement",
120117
+ "module": "core/base-elements/element.js"
120118
+ }
120119
+ },
120120
+ {
120121
+ "kind": "field",
120122
+ "name": "_hydrationComplete",
120123
+ "privacy": "private",
120124
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
120125
+ "inheritedFrom": {
120126
+ "name": "SbbElement",
120127
+ "module": "core/base-elements/element.js"
120128
+ }
120129
+ },
120130
+ {
120131
+ "kind": "field",
120132
+ "name": "_resolveHydration",
120133
+ "type": {
120134
+ "text": "(hydrationRequired: boolean) => void"
120135
+ },
120136
+ "privacy": "private",
120137
+ "inheritedFrom": {
120138
+ "name": "SbbElement",
120139
+ "module": "core/base-elements/element.js"
120140
+ }
120141
+ },
120142
+ {
120143
+ "kind": "field",
120144
+ "name": "hydrationRequired",
120145
+ "type": {
120146
+ "text": "boolean"
120147
+ },
120148
+ "privacy": "protected",
120149
+ "description": "Returns whether hydration is required and not completed.",
120150
+ "readonly": true,
120151
+ "inheritedFrom": {
120152
+ "name": "SbbElement",
120153
+ "module": "core/base-elements/element.js"
120154
+ },
120155
+ "default": "!!this.shadowRoot"
120156
+ },
120157
+ {
120158
+ "kind": "method",
120159
+ "name": "toggleState",
120160
+ "privacy": "protected",
120161
+ "return": {
120162
+ "type": {
120163
+ "text": "void"
120164
+ }
120165
+ },
120166
+ "parameters": [
120167
+ {
120168
+ "name": "value",
120169
+ "type": {
120170
+ "text": "string"
120171
+ }
120172
+ },
120173
+ {
120174
+ "name": "force",
120175
+ "optional": true,
120176
+ "type": {
120177
+ "text": "boolean"
120178
+ }
120179
+ }
120180
+ ],
120181
+ "inheritedFrom": {
120182
+ "name": "SbbElement",
120183
+ "module": "core/base-elements/element.js"
120184
+ }
120185
+ },
120186
+ {
120187
+ "kind": "field",
120188
+ "name": "['_$sbbElement$']",
120189
+ "type": {
120190
+ "text": "boolean"
120191
+ },
120192
+ "privacy": "public",
120193
+ "static": true,
120194
+ "default": "true",
120195
+ "inheritedFrom": {
120196
+ "name": "SbbElement",
120197
+ "module": "core/base-elements/element.js"
120198
+ }
120199
+ },
120200
+ {
120201
+ "kind": "field",
120202
+ "name": "_controllers",
120203
+ "type": {
120204
+ "text": "Set<SbbReactiveController> | undefined"
120205
+ },
120206
+ "privacy": "private",
120207
+ "inheritedFrom": {
120208
+ "name": "SbbElement",
120209
+ "module": "core/base-elements/element.js"
120210
+ }
120211
+ }
120212
+ ],
120213
+ "superclass": {
120214
+ "name": "SbbElement",
120215
+ "module": "core/base-elements.js"
120216
+ },
120217
+ "tagName": "sbb-sidebar-container",
120218
+ "customElement": true
120219
+ }
120220
+ ],
120221
+ "exports": [
120222
+ {
120223
+ "kind": "js",
120224
+ "name": "SbbSidebarContainerElement",
120225
+ "declaration": {
120226
+ "name": "SbbSidebarContainerElement",
120227
+ "module": "sidebar/sidebar-container/sidebar-container.component.js"
120228
+ }
120229
+ }
120230
+ ]
120231
+ },
120020
120232
  {
120021
120233
  "kind": "javascript-module",
120022
120234
  "path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
@@ -121039,15 +121251,15 @@
121039
121251
  },
121040
121252
  {
121041
121253
  "kind": "javascript-module",
121042
- "path": "sidebar/sidebar-container/sidebar-container.component.js",
121254
+ "path": "sidebar/sidebar-content/sidebar-content.component.js",
121043
121255
  "declarations": [
121044
121256
  {
121045
121257
  "kind": "class",
121046
- "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
121047
- "name": "SbbSidebarContainerElement",
121258
+ "description": "Container for the sidebar content. Intended to be placed inside an `sbb-sidebar-container` element.",
121259
+ "name": "SbbSidebarContentElement",
121048
121260
  "slots": [
121049
121261
  {
121050
- "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
121262
+ "description": "Use the unnamed slot to add any content elements. Further `sbb-sidebar-container`s are possible.",
121051
121263
  "name": ""
121052
121264
  }
121053
121265
  ],
@@ -121061,7 +121273,7 @@
121061
121273
  "privacy": "public",
121062
121274
  "static": true,
121063
121275
  "readonly": true,
121064
- "default": "'sbb-sidebar-container'",
121276
+ "default": "'sbb-sidebar-content'",
121065
121277
  "inheritedFrom": {
121066
121278
  "name": "SbbElement",
121067
121279
  "module": "core/base-elements/element.js"
@@ -121069,244 +121281,32 @@
121069
121281
  },
121070
121282
  {
121071
121283
  "kind": "field",
121072
- "name": "sidebars",
121284
+ "name": "_hydrationRequired",
121073
121285
  "type": {
121074
- "text": "SbbSidebarElement[]"
121286
+ "text": "boolean"
121075
121287
  },
121076
- "privacy": "public",
121077
- "description": "The sidebar children.",
121078
- "readonly": true
121288
+ "privacy": "private",
121289
+ "default": "!!this.shadowRoot",
121290
+ "inheritedFrom": {
121291
+ "name": "SbbElement",
121292
+ "module": "core/base-elements/element.js"
121293
+ }
121079
121294
  },
121080
121295
  {
121081
121296
  "kind": "field",
121082
- "name": "start",
121083
- "type": {
121084
- "text": "SbbSidebarElement | null"
121085
- },
121086
- "privacy": "public",
121087
- "description": "The sidebar child with the `start` position.",
121088
- "readonly": true
121297
+ "name": "_hydrationComplete",
121298
+ "privacy": "private",
121299
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
121300
+ "inheritedFrom": {
121301
+ "name": "SbbElement",
121302
+ "module": "core/base-elements/element.js"
121303
+ }
121089
121304
  },
121090
121305
  {
121091
121306
  "kind": "field",
121092
- "name": "end",
121307
+ "name": "_resolveHydration",
121093
121308
  "type": {
121094
- "text": "SbbSidebarElement | null"
121095
- },
121096
- "privacy": "public",
121097
- "description": "The sidebar child with the `end` position.",
121098
- "readonly": true
121099
- },
121100
- {
121101
- "kind": "field",
121102
- "name": "_forcedClosedSidebars",
121103
- "privacy": "private",
121104
- "default": "new WeakSet<SbbSidebarElement>()"
121105
- },
121106
- {
121107
- "kind": "method",
121108
- "name": "_handleWidthChange",
121109
- "privacy": "private",
121110
- "return": {
121111
- "type": {
121112
- "text": "void"
121113
- }
121114
- }
121115
- },
121116
- {
121117
- "kind": "method",
121118
- "name": "_calculateSpaceState",
121119
- "privacy": "private",
121120
- "return": {
121121
- "type": {
121122
- "text": "Promise<void>"
121123
- }
121124
- },
121125
- "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
121126
- },
121127
- {
121128
- "kind": "field",
121129
- "name": "_hydrationRequired",
121130
- "type": {
121131
- "text": "boolean"
121132
- },
121133
- "privacy": "private",
121134
- "default": "!!this.shadowRoot",
121135
- "inheritedFrom": {
121136
- "name": "SbbElement",
121137
- "module": "core/base-elements/element.js"
121138
- }
121139
- },
121140
- {
121141
- "kind": "field",
121142
- "name": "_hydrationComplete",
121143
- "privacy": "private",
121144
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
121145
- "inheritedFrom": {
121146
- "name": "SbbElement",
121147
- "module": "core/base-elements/element.js"
121148
- }
121149
- },
121150
- {
121151
- "kind": "field",
121152
- "name": "_resolveHydration",
121153
- "type": {
121154
- "text": "(hydrationRequired: boolean) => void"
121155
- },
121156
- "privacy": "private",
121157
- "inheritedFrom": {
121158
- "name": "SbbElement",
121159
- "module": "core/base-elements/element.js"
121160
- }
121161
- },
121162
- {
121163
- "kind": "field",
121164
- "name": "hydrationRequired",
121165
- "type": {
121166
- "text": "boolean"
121167
- },
121168
- "privacy": "protected",
121169
- "description": "Returns whether hydration is required and not completed.",
121170
- "readonly": true,
121171
- "inheritedFrom": {
121172
- "name": "SbbElement",
121173
- "module": "core/base-elements/element.js"
121174
- },
121175
- "default": "!!this.shadowRoot"
121176
- },
121177
- {
121178
- "kind": "method",
121179
- "name": "toggleState",
121180
- "privacy": "protected",
121181
- "return": {
121182
- "type": {
121183
- "text": "void"
121184
- }
121185
- },
121186
- "parameters": [
121187
- {
121188
- "name": "value",
121189
- "type": {
121190
- "text": "string"
121191
- }
121192
- },
121193
- {
121194
- "name": "force",
121195
- "optional": true,
121196
- "type": {
121197
- "text": "boolean"
121198
- }
121199
- }
121200
- ],
121201
- "inheritedFrom": {
121202
- "name": "SbbElement",
121203
- "module": "core/base-elements/element.js"
121204
- }
121205
- },
121206
- {
121207
- "kind": "field",
121208
- "name": "['_$sbbElement$']",
121209
- "type": {
121210
- "text": "boolean"
121211
- },
121212
- "privacy": "public",
121213
- "static": true,
121214
- "default": "true",
121215
- "inheritedFrom": {
121216
- "name": "SbbElement",
121217
- "module": "core/base-elements/element.js"
121218
- }
121219
- },
121220
- {
121221
- "kind": "field",
121222
- "name": "_controllers",
121223
- "type": {
121224
- "text": "Set<SbbReactiveController> | undefined"
121225
- },
121226
- "privacy": "private",
121227
- "inheritedFrom": {
121228
- "name": "SbbElement",
121229
- "module": "core/base-elements/element.js"
121230
- }
121231
- }
121232
- ],
121233
- "superclass": {
121234
- "name": "SbbElement",
121235
- "module": "core/base-elements.js"
121236
- },
121237
- "tagName": "sbb-sidebar-container",
121238
- "customElement": true
121239
- }
121240
- ],
121241
- "exports": [
121242
- {
121243
- "kind": "js",
121244
- "name": "SbbSidebarContainerElement",
121245
- "declaration": {
121246
- "name": "SbbSidebarContainerElement",
121247
- "module": "sidebar/sidebar-container/sidebar-container.component.js"
121248
- }
121249
- }
121250
- ]
121251
- },
121252
- {
121253
- "kind": "javascript-module",
121254
- "path": "sidebar/sidebar-content/sidebar-content.component.js",
121255
- "declarations": [
121256
- {
121257
- "kind": "class",
121258
- "description": "Container for the sidebar content. Intended to be placed inside an `sbb-sidebar-container` element.",
121259
- "name": "SbbSidebarContentElement",
121260
- "slots": [
121261
- {
121262
- "description": "Use the unnamed slot to add any content elements. Further `sbb-sidebar-container`s are possible.",
121263
- "name": ""
121264
- }
121265
- ],
121266
- "members": [
121267
- {
121268
- "kind": "field",
121269
- "name": "elementName",
121270
- "type": {
121271
- "text": "string"
121272
- },
121273
- "privacy": "public",
121274
- "static": true,
121275
- "readonly": true,
121276
- "default": "'sbb-sidebar-content'",
121277
- "inheritedFrom": {
121278
- "name": "SbbElement",
121279
- "module": "core/base-elements/element.js"
121280
- }
121281
- },
121282
- {
121283
- "kind": "field",
121284
- "name": "_hydrationRequired",
121285
- "type": {
121286
- "text": "boolean"
121287
- },
121288
- "privacy": "private",
121289
- "default": "!!this.shadowRoot",
121290
- "inheritedFrom": {
121291
- "name": "SbbElement",
121292
- "module": "core/base-elements/element.js"
121293
- }
121294
- },
121295
- {
121296
- "kind": "field",
121297
- "name": "_hydrationComplete",
121298
- "privacy": "private",
121299
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
121300
- "inheritedFrom": {
121301
- "name": "SbbElement",
121302
- "module": "core/base-elements/element.js"
121303
- }
121304
- },
121305
- {
121306
- "kind": "field",
121307
- "name": "_resolveHydration",
121308
- "type": {
121309
- "text": "(hydrationRequired: boolean) => void"
121309
+ "text": "(hydrationRequired: boolean) => void"
121310
121310
  },
121311
121311
  "privacy": "private",
121312
121312
  "inheritedFrom": {
@@ -122901,300 +122901,45 @@
122901
122901
  },
122902
122902
  {
122903
122903
  "kind": "javascript-module",
122904
- "path": "table/table-wrapper/table-wrapper.component.js",
122904
+ "path": "stepper/stepper/stepper.component.js",
122905
122905
  "declarations": [
122906
122906
  {
122907
122907
  "kind": "class",
122908
- "description": "Wraps a table to enhance its functionality.",
122909
- "name": "SbbTableWrapperElement",
122910
- "slots": [
122911
- {
122912
- "description": "Use the unnamed slot to add the table.",
122913
- "name": ""
122914
- }
122915
- ],
122908
+ "description": "",
122909
+ "name": "SbbStepChangeEvent",
122916
122910
  "members": [
122917
122911
  {
122918
122912
  "kind": "field",
122919
- "name": "elementName",
122913
+ "name": "selectedIndex",
122920
122914
  "type": {
122921
- "text": "string"
122915
+ "text": "number | null"
122922
122916
  },
122923
122917
  "privacy": "public",
122924
- "static": true,
122925
122918
  "readonly": true,
122926
- "default": "'sbb-table-wrapper'",
122927
- "inheritedFrom": {
122928
- "name": "SbbElement",
122929
- "module": "core/base-elements/element.js"
122930
- }
122919
+ "description": "The index of the newly selected step.",
122920
+ "default": "selectedIndex"
122931
122921
  },
122932
122922
  {
122933
122923
  "kind": "field",
122934
- "name": "role",
122924
+ "name": "previousIndex",
122935
122925
  "type": {
122936
- "text": "string"
122926
+ "text": "number | null"
122937
122927
  },
122938
122928
  "privacy": "public",
122939
- "static": true,
122940
122929
  "readonly": true,
122941
- "default": "'section'"
122930
+ "description": "The index of the previously selected step.",
122931
+ "default": "previousIndex"
122942
122932
  },
122943
122933
  {
122944
122934
  "kind": "field",
122945
- "name": "focusable",
122935
+ "name": "selectedStep",
122946
122936
  "type": {
122947
- "text": "boolean"
122937
+ "text": "SbbStepElement | null"
122948
122938
  },
122949
122939
  "privacy": "public",
122950
- "default": "false",
122951
- "description": "Whether the table wrapper is focusable.",
122952
- "attribute": "focusable",
122953
- "reflects": true
122954
- },
122955
- {
122956
- "kind": "method",
122957
- "name": "_updateScrollbarClass",
122958
- "privacy": "private",
122959
- "return": {
122960
- "type": {
122961
- "text": "void"
122962
- }
122963
- }
122964
- },
122965
- {
122966
- "kind": "method",
122967
- "name": "_checkHorizontalScrollbarOffset",
122968
- "privacy": "private",
122969
- "return": {
122970
- "type": {
122971
- "text": "void"
122972
- }
122973
- },
122974
- "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
122975
- },
122976
- {
122977
- "kind": "method",
122978
- "name": "_calculateScrollOffset",
122979
- "privacy": "private",
122980
- "return": {
122981
- "type": {
122982
- "text": "'none' | 'left' | 'right' | 'both'"
122983
- }
122984
- }
122985
- },
122986
- {
122987
- "kind": "field",
122988
- "name": "negative",
122989
- "type": {
122990
- "text": "boolean"
122991
- },
122992
- "privacy": "public",
122993
- "default": "false",
122994
- "description": "Negative coloring variant flag.",
122995
- "attribute": "negative",
122996
- "reflects": true,
122997
- "inheritedFrom": {
122998
- "name": "SbbNegativeMixin",
122999
- "module": "core/mixins/negative-mixin.js"
123000
- }
123001
- },
123002
- {
123003
- "kind": "field",
123004
- "name": "_hydrationRequired",
123005
- "type": {
123006
- "text": "boolean"
123007
- },
123008
- "privacy": "private",
123009
- "default": "!!this.shadowRoot",
123010
- "inheritedFrom": {
123011
- "name": "SbbElement",
123012
- "module": "core/base-elements/element.js"
123013
- }
123014
- },
123015
- {
123016
- "kind": "field",
123017
- "name": "_hydrationComplete",
123018
- "privacy": "private",
123019
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
123020
- "inheritedFrom": {
123021
- "name": "SbbElement",
123022
- "module": "core/base-elements/element.js"
123023
- }
123024
- },
123025
- {
123026
- "kind": "field",
123027
- "name": "_resolveHydration",
123028
- "type": {
123029
- "text": "(hydrationRequired: boolean) => void"
123030
- },
123031
- "privacy": "private",
123032
- "inheritedFrom": {
123033
- "name": "SbbElement",
123034
- "module": "core/base-elements/element.js"
123035
- }
123036
- },
123037
- {
123038
- "kind": "field",
123039
- "name": "hydrationRequired",
123040
- "type": {
123041
- "text": "boolean"
123042
- },
123043
- "privacy": "protected",
123044
- "description": "Returns whether hydration is required and not completed.",
123045
- "readonly": true,
123046
- "inheritedFrom": {
123047
- "name": "SbbElement",
123048
- "module": "core/base-elements/element.js"
123049
- },
123050
- "default": "!!this.shadowRoot"
123051
- },
123052
- {
123053
- "kind": "method",
123054
- "name": "toggleState",
123055
- "privacy": "protected",
123056
- "return": {
123057
- "type": {
123058
- "text": "void"
123059
- }
123060
- },
123061
- "parameters": [
123062
- {
123063
- "name": "value",
123064
- "type": {
123065
- "text": "string"
123066
- }
123067
- },
123068
- {
123069
- "name": "force",
123070
- "optional": true,
123071
- "type": {
123072
- "text": "boolean"
123073
- }
123074
- }
123075
- ],
123076
- "inheritedFrom": {
123077
- "name": "SbbElement",
123078
- "module": "core/base-elements/element.js"
123079
- }
123080
- },
123081
- {
123082
- "kind": "field",
123083
- "name": "['_$sbbElement$']",
123084
- "type": {
123085
- "text": "boolean"
123086
- },
123087
- "privacy": "public",
123088
- "static": true,
123089
- "default": "true",
123090
- "inheritedFrom": {
123091
- "name": "SbbElement",
123092
- "module": "core/base-elements/element.js"
123093
- }
123094
- },
123095
- {
123096
- "kind": "field",
123097
- "name": "_controllers",
123098
- "type": {
123099
- "text": "Set<SbbReactiveController> | undefined"
123100
- },
123101
- "privacy": "private",
123102
- "inheritedFrom": {
123103
- "name": "SbbElement",
123104
- "module": "core/base-elements/element.js"
123105
- }
123106
- }
123107
- ],
123108
- "attributes": [
123109
- {
123110
- "name": "focusable",
123111
- "type": {
123112
- "text": "boolean"
123113
- },
123114
- "default": "false",
123115
- "description": "Whether the table wrapper is focusable.",
123116
- "fieldName": "focusable"
123117
- },
123118
- {
123119
- "name": "negative",
123120
- "type": {
123121
- "text": "boolean"
123122
- },
123123
- "default": "false",
123124
- "description": "Negative coloring variant flag.",
123125
- "fieldName": "negative",
123126
- "inheritedFrom": {
123127
- "name": "SbbNegativeMixin",
123128
- "module": "core/mixins/negative-mixin.js"
123129
- }
123130
- }
123131
- ],
123132
- "mixins": [
123133
- {
123134
- "name": "SbbNegativeMixin",
123135
- "module": "core/mixins.js"
123136
- }
123137
- ],
123138
- "superclass": {
123139
- "name": "SbbElement",
123140
- "module": "core/base-elements.js"
123141
- },
123142
- "tagName": "sbb-table-wrapper",
123143
- "customElement": true
123144
- }
123145
- ],
123146
- "exports": [
123147
- {
123148
- "kind": "js",
123149
- "name": "SbbTableWrapperElement",
123150
- "declaration": {
123151
- "name": "SbbTableWrapperElement",
123152
- "module": "table/table-wrapper/table-wrapper.component.js"
123153
- }
123154
- }
123155
- ]
123156
- },
123157
- {
123158
- "kind": "javascript-module",
123159
- "path": "stepper/stepper/stepper.component.js",
123160
- "declarations": [
123161
- {
123162
- "kind": "class",
123163
- "description": "",
123164
- "name": "SbbStepChangeEvent",
123165
- "members": [
123166
- {
123167
- "kind": "field",
123168
- "name": "selectedIndex",
123169
- "type": {
123170
- "text": "number | null"
123171
- },
123172
- "privacy": "public",
123173
- "readonly": true,
123174
- "description": "The index of the newly selected step.",
123175
- "default": "selectedIndex"
123176
- },
123177
- {
123178
- "kind": "field",
123179
- "name": "previousIndex",
123180
- "type": {
123181
- "text": "number | null"
123182
- },
123183
- "privacy": "public",
123184
- "readonly": true,
123185
- "description": "The index of the previously selected step.",
123186
- "default": "previousIndex"
123187
- },
123188
- {
123189
- "kind": "field",
123190
- "name": "selectedStep",
123191
- "type": {
123192
- "text": "SbbStepElement | null"
123193
- },
123194
- "privacy": "public",
123195
- "readonly": true,
123196
- "description": "The newly selected step element.",
123197
- "default": "selectedStep"
122940
+ "readonly": true,
122941
+ "description": "The newly selected step element.",
122942
+ "default": "selectedStep"
123198
122943
  },
123199
122944
  {
123200
122945
  "kind": "field",
@@ -123787,38 +123532,15 @@
123787
123532
  },
123788
123533
  {
123789
123534
  "kind": "javascript-module",
123790
- "path": "tabs/common/styles.js",
123791
- "declarations": [],
123792
- "exports": [
123793
- {
123794
- "kind": "js",
123795
- "name": "tabGroupCommonStyles",
123796
- "declaration": {
123797
- "name": "default",
123798
- "module": "./tab-group-common.scss?lit&inline"
123799
- }
123800
- },
123801
- {
123802
- "kind": "js",
123803
- "name": "tabLabelCommonStyles",
123804
- "declaration": {
123805
- "name": "default",
123806
- "module": "./tab-label-common.scss?lit&inline"
123807
- }
123808
- }
123809
- ]
123810
- },
123811
- {
123812
- "kind": "javascript-module",
123813
- "path": "tabs/tab/tab.component.js",
123814
- "declarations": [
123535
+ "path": "table/table-wrapper/table-wrapper.component.js",
123536
+ "declarations": [
123815
123537
  {
123816
123538
  "kind": "class",
123817
- "description": "Combined with a `sbb-tab-group` and `sbb-tab-label`, it displays a tab's content.",
123818
- "name": "SbbTabElement",
123539
+ "description": "Wraps a table to enhance its functionality.",
123540
+ "name": "SbbTableWrapperElement",
123819
123541
  "slots": [
123820
123542
  {
123821
- "description": "Use the unnamed slot to provide content.",
123543
+ "description": "Use the unnamed slot to add the table.",
123822
123544
  "name": ""
123823
123545
  }
123824
123546
  ],
@@ -123832,7 +123554,7 @@
123832
123554
  "privacy": "public",
123833
123555
  "static": true,
123834
123556
  "readonly": true,
123835
- "default": "'sbb-tab'",
123557
+ "default": "'sbb-table-wrapper'",
123836
123558
  "inheritedFrom": {
123837
123559
  "name": "SbbElement",
123838
123560
  "module": "core/base-elements/element.js"
@@ -123846,53 +123568,66 @@
123846
123568
  },
123847
123569
  "privacy": "public",
123848
123570
  "static": true,
123849
- "default": "'tabpanel'"
123850
- },
123851
- {
123852
- "kind": "field",
123853
- "name": "events",
123854
- "privacy": "public",
123855
- "static": true,
123856
123571
  "readonly": true,
123857
- "default": "{ active: 'active', }",
123858
- "type": {
123859
- "text": "{\n active: 'active',\n }"
123860
- }
123861
- },
123862
- {
123863
- "kind": "field",
123864
- "name": "_tabContentResizeObserver",
123865
- "privacy": "private",
123866
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabContentElementResize(), })"
123572
+ "default": "'section'"
123867
123573
  },
123868
123574
  {
123869
123575
  "kind": "field",
123870
- "name": "label",
123576
+ "name": "focusable",
123871
123577
  "type": {
123872
- "text": "SbbTabLabelElement | null"
123578
+ "text": "boolean"
123873
123579
  },
123874
123580
  "privacy": "public",
123875
- "description": "The `sbb-tab-label` associated with the tab.",
123876
- "readonly": true
123581
+ "default": "false",
123582
+ "description": "Whether the table wrapper is focusable.",
123583
+ "attribute": "focusable",
123584
+ "reflects": true
123877
123585
  },
123878
123586
  {
123879
- "kind": "field",
123880
- "name": "group",
123881
- "type": {
123882
- "text": "SbbTabGroupElement | null"
123883
- },
123884
- "privacy": "public",
123885
- "description": "Get the parent `sbb-tab-group`.",
123886
- "readonly": true
123587
+ "kind": "method",
123588
+ "name": "_updateScrollbarClass",
123589
+ "privacy": "private",
123590
+ "return": {
123591
+ "type": {
123592
+ "text": "void"
123593
+ }
123594
+ }
123887
123595
  },
123888
123596
  {
123889
123597
  "kind": "method",
123890
- "name": "_onTabContentElementResize",
123598
+ "name": "_checkHorizontalScrollbarOffset",
123891
123599
  "privacy": "private",
123892
123600
  "return": {
123893
123601
  "type": {
123894
123602
  "text": "void"
123895
123603
  }
123604
+ },
123605
+ "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
123606
+ },
123607
+ {
123608
+ "kind": "method",
123609
+ "name": "_calculateScrollOffset",
123610
+ "privacy": "private",
123611
+ "return": {
123612
+ "type": {
123613
+ "text": "'none' | 'left' | 'right' | 'both'"
123614
+ }
123615
+ }
123616
+ },
123617
+ {
123618
+ "kind": "field",
123619
+ "name": "negative",
123620
+ "type": {
123621
+ "text": "boolean"
123622
+ },
123623
+ "privacy": "public",
123624
+ "default": "false",
123625
+ "description": "Negative coloring variant flag.",
123626
+ "attribute": "negative",
123627
+ "reflects": true,
123628
+ "inheritedFrom": {
123629
+ "name": "SbbNegativeMixin",
123630
+ "module": "core/mixins/negative-mixin.js"
123896
123631
  }
123897
123632
  },
123898
123633
  {
@@ -124001,45 +123736,89 @@
124001
123736
  }
124002
123737
  }
124003
123738
  ],
124004
- "events": [
123739
+ "attributes": [
124005
123740
  {
123741
+ "name": "focusable",
124006
123742
  "type": {
124007
- "text": "Event"
123743
+ "text": "boolean"
124008
123744
  },
124009
- "description": "The `active` event fires when the sbb-tab has been activated via user selection on the sbb-tab-label.",
124010
- "name": "active"
123745
+ "default": "false",
123746
+ "description": "Whether the table wrapper is focusable.",
123747
+ "fieldName": "focusable"
123748
+ },
123749
+ {
123750
+ "name": "negative",
123751
+ "type": {
123752
+ "text": "boolean"
123753
+ },
123754
+ "default": "false",
123755
+ "description": "Negative coloring variant flag.",
123756
+ "fieldName": "negative",
123757
+ "inheritedFrom": {
123758
+ "name": "SbbNegativeMixin",
123759
+ "module": "core/mixins/negative-mixin.js"
123760
+ }
123761
+ }
123762
+ ],
123763
+ "mixins": [
123764
+ {
123765
+ "name": "SbbNegativeMixin",
123766
+ "module": "core/mixins.js"
124011
123767
  }
124012
123768
  ],
124013
123769
  "superclass": {
124014
123770
  "name": "SbbElement",
124015
123771
  "module": "core/base-elements.js"
124016
123772
  },
124017
- "tagName": "sbb-tab",
123773
+ "tagName": "sbb-table-wrapper",
124018
123774
  "customElement": true
124019
123775
  }
124020
123776
  ],
124021
123777
  "exports": [
124022
123778
  {
124023
123779
  "kind": "js",
124024
- "name": "SbbTabElement",
123780
+ "name": "SbbTableWrapperElement",
124025
123781
  "declaration": {
124026
- "name": "SbbTabElement",
124027
- "module": "tabs/tab/tab.component.js"
123782
+ "name": "SbbTableWrapperElement",
123783
+ "module": "table/table-wrapper/table-wrapper.component.js"
124028
123784
  }
124029
123785
  }
124030
123786
  ]
124031
123787
  },
124032
123788
  {
124033
123789
  "kind": "javascript-module",
124034
- "path": "tabs/tab-group/tab-group.component.js",
123790
+ "path": "tabs/common/styles.js",
123791
+ "declarations": [],
123792
+ "exports": [
123793
+ {
123794
+ "kind": "js",
123795
+ "name": "tabGroupCommonStyles",
123796
+ "declaration": {
123797
+ "name": "default",
123798
+ "module": "./tab-group-common.scss?lit&inline"
123799
+ }
123800
+ },
123801
+ {
123802
+ "kind": "js",
123803
+ "name": "tabLabelCommonStyles",
123804
+ "declaration": {
123805
+ "name": "default",
123806
+ "module": "./tab-label-common.scss?lit&inline"
123807
+ }
123808
+ }
123809
+ ]
123810
+ },
123811
+ {
123812
+ "kind": "javascript-module",
123813
+ "path": "tabs/tab/tab.component.js",
124035
123814
  "declarations": [
124036
123815
  {
124037
123816
  "kind": "class",
124038
- "description": "It displays one or more tabs, each one with a label and some content.",
124039
- "name": "SbbTabGroupElement",
123817
+ "description": "Combined with a `sbb-tab-group` and `sbb-tab-label`, it displays a tab's content.",
123818
+ "name": "SbbTabElement",
124040
123819
  "slots": [
124041
123820
  {
124042
- "description": "Use the unnamed slot to add content to the `sbb-tab-group` via `sbb-tab-label` and `sbb-tab` instances.",
123821
+ "description": "Use the unnamed slot to provide content.",
124043
123822
  "name": ""
124044
123823
  }
124045
123824
  ],
@@ -124053,7 +123832,7 @@
124053
123832
  "privacy": "public",
124054
123833
  "static": true,
124055
123834
  "readonly": true,
124056
- "default": "'sbb-tab-group'",
123835
+ "default": "'sbb-tab'",
124057
123836
  "inheritedFrom": {
124058
123837
  "name": "SbbElement",
124059
123838
  "module": "core/base-elements/element.js"
@@ -124061,76 +123840,297 @@
124061
123840
  },
124062
123841
  {
124063
123842
  "kind": "field",
124064
- "name": "events",
123843
+ "name": "role",
123844
+ "type": {
123845
+ "text": "string"
123846
+ },
124065
123847
  "privacy": "public",
124066
123848
  "static": true,
124067
- "readonly": true,
124068
- "default": "{ tabchange: 'tabchange', }",
124069
- "type": {
124070
- "text": "{\n tabchange: 'tabchange',\n }"
124071
- }
123849
+ "default": "'tabpanel'"
124072
123850
  },
124073
123851
  {
124074
123852
  "kind": "field",
124075
- "name": "_tabGroupElement",
123853
+ "name": "events",
123854
+ "privacy": "public",
123855
+ "static": true,
123856
+ "readonly": true,
123857
+ "default": "{ active: 'active', }",
124076
123858
  "type": {
124077
- "text": "HTMLElement"
124078
- },
124079
- "privacy": "private"
123859
+ "text": "{\n active: 'active',\n }"
123860
+ }
124080
123861
  },
124081
123862
  {
124082
123863
  "kind": "field",
124083
- "name": "_tabGroupResizeObserver",
123864
+ "name": "_tabContentResizeObserver",
124084
123865
  "privacy": "private",
124085
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabGroupElementResize(), })"
123866
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabContentElementResize(), })"
124086
123867
  },
124087
123868
  {
124088
123869
  "kind": "field",
124089
- "name": "size",
123870
+ "name": "label",
124090
123871
  "type": {
124091
- "text": "'s' | 'l' | 'xl'"
123872
+ "text": "SbbTabLabelElement | null"
124092
123873
  },
124093
123874
  "privacy": "public",
124094
- "description": "Size variant, either s, l or xl.",
124095
- "default": "'l' / 's' (lean)",
124096
- "attribute": "size"
123875
+ "description": "The `sbb-tab-label` associated with the tab.",
123876
+ "readonly": true
124097
123877
  },
124098
123878
  {
124099
123879
  "kind": "field",
124100
- "name": "initialSelectedIndex",
123880
+ "name": "group",
124101
123881
  "type": {
124102
- "text": "number"
123882
+ "text": "SbbTabGroupElement | null"
124103
123883
  },
124104
123884
  "privacy": "public",
124105
- "default": "0",
124106
- "description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
124107
- "attribute": "initial-selected-index"
123885
+ "description": "Get the parent `sbb-tab-group`.",
123886
+ "readonly": true
123887
+ },
123888
+ {
123889
+ "kind": "method",
123890
+ "name": "_onTabContentElementResize",
123891
+ "privacy": "private",
123892
+ "return": {
123893
+ "type": {
123894
+ "text": "void"
123895
+ }
123896
+ }
124108
123897
  },
124109
123898
  {
124110
123899
  "kind": "field",
124111
- "name": "fixedHeight",
123900
+ "name": "_hydrationRequired",
124112
123901
  "type": {
124113
123902
  "text": "boolean"
124114
123903
  },
124115
- "privacy": "public",
124116
- "default": "false",
124117
- "description": "If set to true, the `sbb-tab` elements take 100% height of the `sbb-tab-group`.\nIt enables controlling the height on the `sbb-tab-group` element.\nThe content becomes scrollable on overflow.",
124118
- "attribute": "fixed-height",
124119
- "reflects": true
123904
+ "privacy": "private",
123905
+ "default": "!!this.shadowRoot",
123906
+ "inheritedFrom": {
123907
+ "name": "SbbElement",
123908
+ "module": "core/base-elements/element.js"
123909
+ }
124120
123910
  },
124121
123911
  {
124122
123912
  "kind": "field",
124123
- "name": "labels",
123913
+ "name": "_hydrationComplete",
123914
+ "privacy": "private",
123915
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
123916
+ "inheritedFrom": {
123917
+ "name": "SbbElement",
123918
+ "module": "core/base-elements/element.js"
123919
+ }
123920
+ },
123921
+ {
123922
+ "kind": "field",
123923
+ "name": "_resolveHydration",
124124
123924
  "type": {
124125
- "text": "SbbTabLabelElement[]"
123925
+ "text": "(hydrationRequired: boolean) => void"
124126
123926
  },
124127
- "privacy": "public",
124128
- "description": "Gets the slotted `sbb-tab-label`s.",
124129
- "readonly": true
123927
+ "privacy": "private",
123928
+ "inheritedFrom": {
123929
+ "name": "SbbElement",
123930
+ "module": "core/base-elements/element.js"
123931
+ }
124130
123932
  },
124131
123933
  {
124132
123934
  "kind": "field",
124133
- "name": "tabs",
123935
+ "name": "hydrationRequired",
123936
+ "type": {
123937
+ "text": "boolean"
123938
+ },
123939
+ "privacy": "protected",
123940
+ "description": "Returns whether hydration is required and not completed.",
123941
+ "readonly": true,
123942
+ "inheritedFrom": {
123943
+ "name": "SbbElement",
123944
+ "module": "core/base-elements/element.js"
123945
+ },
123946
+ "default": "!!this.shadowRoot"
123947
+ },
123948
+ {
123949
+ "kind": "method",
123950
+ "name": "toggleState",
123951
+ "privacy": "protected",
123952
+ "return": {
123953
+ "type": {
123954
+ "text": "void"
123955
+ }
123956
+ },
123957
+ "parameters": [
123958
+ {
123959
+ "name": "value",
123960
+ "type": {
123961
+ "text": "string"
123962
+ }
123963
+ },
123964
+ {
123965
+ "name": "force",
123966
+ "optional": true,
123967
+ "type": {
123968
+ "text": "boolean"
123969
+ }
123970
+ }
123971
+ ],
123972
+ "inheritedFrom": {
123973
+ "name": "SbbElement",
123974
+ "module": "core/base-elements/element.js"
123975
+ }
123976
+ },
123977
+ {
123978
+ "kind": "field",
123979
+ "name": "['_$sbbElement$']",
123980
+ "type": {
123981
+ "text": "boolean"
123982
+ },
123983
+ "privacy": "public",
123984
+ "static": true,
123985
+ "default": "true",
123986
+ "inheritedFrom": {
123987
+ "name": "SbbElement",
123988
+ "module": "core/base-elements/element.js"
123989
+ }
123990
+ },
123991
+ {
123992
+ "kind": "field",
123993
+ "name": "_controllers",
123994
+ "type": {
123995
+ "text": "Set<SbbReactiveController> | undefined"
123996
+ },
123997
+ "privacy": "private",
123998
+ "inheritedFrom": {
123999
+ "name": "SbbElement",
124000
+ "module": "core/base-elements/element.js"
124001
+ }
124002
+ }
124003
+ ],
124004
+ "events": [
124005
+ {
124006
+ "type": {
124007
+ "text": "Event"
124008
+ },
124009
+ "description": "The `active` event fires when the sbb-tab has been activated via user selection on the sbb-tab-label.",
124010
+ "name": "active"
124011
+ }
124012
+ ],
124013
+ "superclass": {
124014
+ "name": "SbbElement",
124015
+ "module": "core/base-elements.js"
124016
+ },
124017
+ "tagName": "sbb-tab",
124018
+ "customElement": true
124019
+ }
124020
+ ],
124021
+ "exports": [
124022
+ {
124023
+ "kind": "js",
124024
+ "name": "SbbTabElement",
124025
+ "declaration": {
124026
+ "name": "SbbTabElement",
124027
+ "module": "tabs/tab/tab.component.js"
124028
+ }
124029
+ }
124030
+ ]
124031
+ },
124032
+ {
124033
+ "kind": "javascript-module",
124034
+ "path": "tabs/tab-group/tab-group.component.js",
124035
+ "declarations": [
124036
+ {
124037
+ "kind": "class",
124038
+ "description": "It displays one or more tabs, each one with a label and some content.",
124039
+ "name": "SbbTabGroupElement",
124040
+ "slots": [
124041
+ {
124042
+ "description": "Use the unnamed slot to add content to the `sbb-tab-group` via `sbb-tab-label` and `sbb-tab` instances.",
124043
+ "name": ""
124044
+ }
124045
+ ],
124046
+ "members": [
124047
+ {
124048
+ "kind": "field",
124049
+ "name": "elementName",
124050
+ "type": {
124051
+ "text": "string"
124052
+ },
124053
+ "privacy": "public",
124054
+ "static": true,
124055
+ "readonly": true,
124056
+ "default": "'sbb-tab-group'",
124057
+ "inheritedFrom": {
124058
+ "name": "SbbElement",
124059
+ "module": "core/base-elements/element.js"
124060
+ }
124061
+ },
124062
+ {
124063
+ "kind": "field",
124064
+ "name": "events",
124065
+ "privacy": "public",
124066
+ "static": true,
124067
+ "readonly": true,
124068
+ "default": "{ tabchange: 'tabchange', }",
124069
+ "type": {
124070
+ "text": "{\n tabchange: 'tabchange',\n }"
124071
+ }
124072
+ },
124073
+ {
124074
+ "kind": "field",
124075
+ "name": "_tabGroupElement",
124076
+ "type": {
124077
+ "text": "HTMLElement"
124078
+ },
124079
+ "privacy": "private"
124080
+ },
124081
+ {
124082
+ "kind": "field",
124083
+ "name": "_tabGroupResizeObserver",
124084
+ "privacy": "private",
124085
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabGroupElementResize(), })"
124086
+ },
124087
+ {
124088
+ "kind": "field",
124089
+ "name": "size",
124090
+ "type": {
124091
+ "text": "'s' | 'l' | 'xl'"
124092
+ },
124093
+ "privacy": "public",
124094
+ "description": "Size variant, either s, l or xl.",
124095
+ "default": "'l' / 's' (lean)",
124096
+ "attribute": "size"
124097
+ },
124098
+ {
124099
+ "kind": "field",
124100
+ "name": "initialSelectedIndex",
124101
+ "type": {
124102
+ "text": "number"
124103
+ },
124104
+ "privacy": "public",
124105
+ "default": "0",
124106
+ "description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
124107
+ "attribute": "initial-selected-index"
124108
+ },
124109
+ {
124110
+ "kind": "field",
124111
+ "name": "fixedHeight",
124112
+ "type": {
124113
+ "text": "boolean"
124114
+ },
124115
+ "privacy": "public",
124116
+ "default": "false",
124117
+ "description": "If set to true, the `sbb-tab` elements take 100% height of the `sbb-tab-group`.\nIt enables controlling the height on the `sbb-tab-group` element.\nThe content becomes scrollable on overflow.",
124118
+ "attribute": "fixed-height",
124119
+ "reflects": true
124120
+ },
124121
+ {
124122
+ "kind": "field",
124123
+ "name": "labels",
124124
+ "type": {
124125
+ "text": "SbbTabLabelElement[]"
124126
+ },
124127
+ "privacy": "public",
124128
+ "description": "Gets the slotted `sbb-tab-label`s.",
124129
+ "readonly": true
124130
+ },
124131
+ {
124132
+ "kind": "field",
124133
+ "name": "tabs",
124134
124134
  "type": {
124135
124135
  "text": "SbbTabElement[]"
124136
124136
  },
@@ -128065,12 +128065,12 @@
128065
128065
  },
128066
128066
  {
128067
128067
  "kind": "javascript-module",
128068
- "path": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js",
128068
+ "path": "timetable-form/timetable-form-field/timetable-form-field.component.js",
128069
128069
  "declarations": [
128070
128070
  {
128071
128071
  "kind": "class",
128072
- "description": "An extension of `sbb-secondary-button` to be used inside the `sbb-timetable-form`.\nWhen placed between two `sbb-timetable-form-field`, the 'click' swaps the value of the sibling inputs.",
128073
- "name": "SbbTimetableFormSwapButtonElement",
128072
+ "description": "Extends the `sbb-form-field`. Meant to be used inside a `sbb-timetable-form`.",
128073
+ "name": "SbbTimetableFormFieldElement",
128074
128074
  "members": [
128075
128075
  {
128076
128076
  "kind": "field",
@@ -128081,88 +128081,83 @@
128081
128081
  "privacy": "public",
128082
128082
  "static": true,
128083
128083
  "readonly": true,
128084
+ "default": "'sbb-timetable-form-field'",
128084
128085
  "inheritedFrom": {
128085
128086
  "name": "SbbElement",
128086
128087
  "module": "core/base-elements/element.js"
128087
- },
128088
- "default": "'sbb-timetable-form-swap-button'"
128088
+ }
128089
128089
  },
128090
128090
  {
128091
128091
  "kind": "field",
128092
- "name": "_languageController",
128093
- "privacy": "private",
128094
- "default": "new SbbLanguageController(this)"
128095
- },
128096
- {
128097
- "kind": "method",
128098
- "name": "_invertFieldValues",
128099
- "privacy": "private",
128100
- "return": {
128101
- "type": {
128102
- "text": "void"
128103
- }
128104
- },
128105
- "description": "Search for `sbb-timetable-form-field` inputs, invert their values and dispatch the respective input and change events"
128106
- },
128107
- {
128108
- "kind": "method",
128109
- "name": "renderIconName",
128110
- "privacy": "protected",
128111
- "return": {
128112
- "type": {
128113
- "text": "string"
128114
- }
128092
+ "name": "_routeIcon",
128093
+ "type": {
128094
+ "text": "boolean"
128115
128095
  },
128116
- "inheritedFrom": {
128117
- "name": "SbbIconNameMixin",
128118
- "module": "icon/icon-name-mixin.js"
128119
- }
128096
+ "privacy": "private",
128097
+ "default": "false"
128120
128098
  },
128121
128099
  {
128122
128100
  "kind": "field",
128123
- "name": "size",
128101
+ "name": "borderless",
128124
128102
  "type": {
128125
- "text": "SbbButtonSize"
128103
+ "text": "boolean"
128126
128104
  },
128127
128105
  "privacy": "public",
128128
- "description": "Size variant, either l, m or s.",
128129
- "default": "'l' / 's' (lean)",
128130
- "attribute": "size",
128106
+ "default": "true",
128107
+ "description": "Whether to display the form field without a border.",
128108
+ "attribute": "borderless",
128131
128109
  "reflects": true,
128132
128110
  "inheritedFrom": {
128133
- "name": "SbbButtonCommonElementMixin",
128134
- "module": "button/common/button-common.js"
128111
+ "name": "SbbFormFieldElement",
128112
+ "module": "form-field/form-field/form-field.component.js"
128135
128113
  }
128136
128114
  },
128137
128115
  {
128138
128116
  "kind": "field",
128139
- "name": "loading",
128117
+ "name": "floatingLabel",
128140
128118
  "type": {
128141
128119
  "text": "boolean"
128142
128120
  },
128143
128121
  "privacy": "public",
128144
- "default": "false",
128145
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
128146
- "attribute": "loading",
128122
+ "default": "true",
128123
+ "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
128124
+ "attribute": "floating-label",
128147
128125
  "reflects": true,
128148
128126
  "inheritedFrom": {
128149
- "name": "SbbButtonCommonElementMixin",
128150
- "module": "button/common/button-common.js"
128127
+ "name": "SbbFormFieldElement",
128128
+ "module": "form-field/form-field/form-field.component.js"
128151
128129
  }
128152
128130
  },
128153
128131
  {
128154
- "kind": "method",
128155
- "name": "renderTemplate",
128156
- "privacy": "protected",
128157
- "return": {
128158
- "type": {
128159
- "text": "TemplateResult"
128160
- }
128132
+ "kind": "field",
128133
+ "name": "width",
128134
+ "type": {
128135
+ "text": "string"
128161
128136
  },
128162
- "description": "Override this method to render the component template.",
128137
+ "privacy": "public",
128138
+ "default": "'collapse'",
128139
+ "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
128140
+ "attribute": "width",
128141
+ "reflects": true,
128163
128142
  "inheritedFrom": {
128164
- "name": "SbbActionBaseElement",
128165
- "module": "core/base-elements/action-base-element.js"
128143
+ "name": "SbbFormFieldElement",
128144
+ "module": "form-field/form-field/form-field.component.js"
128145
+ }
128146
+ },
128147
+ {
128148
+ "kind": "field",
128149
+ "name": "size",
128150
+ "type": {
128151
+ "text": "string"
128152
+ },
128153
+ "privacy": "public",
128154
+ "description": "Size variant, either l, m or s.",
128155
+ "default": "'l'",
128156
+ "attribute": "size",
128157
+ "reflects": true,
128158
+ "inheritedFrom": {
128159
+ "name": "SbbFormFieldElement",
128160
+ "module": "form-field/form-field/form-field.component.js"
128166
128161
  }
128167
128162
  },
128168
128163
  {
@@ -128183,631 +128178,533 @@
128183
128178
  },
128184
128179
  {
128185
128180
  "kind": "field",
128186
- "name": "iconName",
128181
+ "name": "_excludedFocusElements",
128187
128182
  "type": {
128188
- "text": "string"
128183
+ "text": "array"
128189
128184
  },
128190
- "privacy": "public",
128191
- "default": "''",
128192
- "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.",
128193
- "attribute": "icon-name",
128185
+ "privacy": "private",
128186
+ "readonly": true,
128187
+ "default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']",
128194
128188
  "inheritedFrom": {
128195
- "name": "SbbIconNameMixin",
128196
- "module": "icon/icon-name-mixin.js"
128189
+ "name": "SbbFormFieldElement",
128190
+ "module": "form-field/form-field/form-field.component.js"
128197
128191
  }
128198
128192
  },
128199
128193
  {
128200
- "kind": "method",
128201
- "name": "renderIconSlot",
128202
- "privacy": "protected",
128203
- "return": {
128204
- "type": {
128205
- "text": "TemplateResult"
128206
- }
128194
+ "kind": "field",
128195
+ "name": "_floatingLabelSupportedInputElements",
128196
+ "type": {
128197
+ "text": "array"
128207
128198
  },
128208
- "parameters": [
128209
- {
128210
- "name": "classname",
128211
- "optional": true,
128212
- "type": {
128213
- "text": "string"
128214
- }
128215
- }
128216
- ],
128199
+ "privacy": "private",
128200
+ "readonly": true,
128201
+ "default": "[ 'input', 'select', 'textarea', 'sbb-select', ]",
128217
128202
  "inheritedFrom": {
128218
- "name": "SbbIconNameMixin",
128219
- "module": "icon/icon-name-mixin.js"
128203
+ "name": "SbbFormFieldElement",
128204
+ "module": "form-field/form-field/form-field.component.js"
128220
128205
  }
128221
128206
  },
128222
128207
  {
128223
- "kind": "method",
128224
- "name": "_renderIconName",
128225
- "privacy": "private",
128226
- "return": {
128227
- "type": {
128228
- "text": "string"
128229
- }
128208
+ "kind": "field",
128209
+ "name": "_floatingLabelSupportedInputTypes",
128210
+ "type": {
128211
+ "text": "array"
128230
128212
  },
128213
+ "privacy": "private",
128214
+ "readonly": true,
128215
+ "default": "[ 'email', 'number', 'password', 'search', 'tel', 'text', 'url', ]",
128231
128216
  "inheritedFrom": {
128232
- "name": "SbbIconNameMixin",
128233
- "module": "icon/icon-name-mixin.js"
128217
+ "name": "SbbFormFieldElement",
128218
+ "module": "form-field/form-field/form-field.component.js"
128234
128219
  }
128235
128220
  },
128236
128221
  {
128237
128222
  "kind": "field",
128238
- "name": "disabledInteractive",
128223
+ "name": "errorSpace",
128239
128224
  "type": {
128240
- "text": "boolean"
128225
+ "text": "'none' | 'reserve'"
128241
128226
  },
128242
128227
  "privacy": "public",
128243
- "default": "false",
128244
- "description": "Whether the button should be aria-disabled but stay interactive.",
128245
- "attribute": "disabled-interactive",
128228
+ "default": "'none'",
128229
+ "description": "Whether to reserve space for an error message.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
128230
+ "attribute": "error-space",
128246
128231
  "reflects": true,
128247
128232
  "inheritedFrom": {
128248
- "name": "SbbDisabledInteractiveMixin",
128249
- "module": "core/mixins/disabled-mixin.js"
128233
+ "name": "SbbFormFieldElement",
128234
+ "module": "form-field/form-field/form-field.component.js"
128250
128235
  }
128251
128236
  },
128252
128237
  {
128253
128238
  "kind": "field",
128254
- "name": "disabled",
128255
- "privacy": "public",
128256
- "description": "Whether the component is disabled.",
128257
- "default": "false",
128239
+ "name": "optional",
128258
128240
  "type": {
128259
128241
  "text": "boolean"
128260
128242
  },
128261
- "attribute": "disabled",
128262
- "reflects": true,
128243
+ "privacy": "public",
128244
+ "default": "false",
128245
+ "description": "Indicates whether the input is optional.",
128246
+ "attribute": "optional",
128263
128247
  "inheritedFrom": {
128264
- "name": "SbbDisabledMixin",
128265
- "module": "core/mixins/disabled-mixin.js"
128248
+ "name": "SbbFormFieldElement",
128249
+ "module": "form-field/form-field/form-field.component.js"
128266
128250
  }
128267
128251
  },
128268
128252
  {
128269
128253
  "kind": "field",
128270
- "name": "#disabled",
128271
- "privacy": "private",
128254
+ "name": "hiddenLabel",
128272
128255
  "type": {
128273
128256
  "text": "boolean"
128274
128257
  },
128258
+ "privacy": "public",
128275
128259
  "default": "false",
128260
+ "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
128261
+ "attribute": "hidden-label",
128262
+ "reflects": true,
128276
128263
  "inheritedFrom": {
128277
- "name": "SbbDisabledMixin",
128278
- "module": "core/mixins/disabled-mixin.js"
128264
+ "name": "SbbFormFieldElement",
128265
+ "module": "form-field/form-field/form-field.component.js"
128279
128266
  }
128280
128267
  },
128281
128268
  {
128282
- "kind": "method",
128283
- "name": "isDisabledExternally",
128284
- "privacy": "protected",
128285
- "return": {
128286
- "type": {
128287
- "text": "boolean"
128288
- }
128269
+ "kind": "field",
128270
+ "name": "_errorElements",
128271
+ "type": {
128272
+ "text": "Element[]"
128289
128273
  },
128290
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
128274
+ "privacy": "private",
128275
+ "default": "[]",
128276
+ "description": "It is used internally to get the `error` slot.",
128291
128277
  "inheritedFrom": {
128292
- "name": "SbbDisabledMixin",
128293
- "module": "core/mixins/disabled-mixin.js"
128278
+ "name": "SbbFormFieldElement",
128279
+ "module": "form-field/form-field/form-field.component.js"
128294
128280
  }
128295
128281
  },
128296
128282
  {
128297
128283
  "kind": "field",
128298
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
128284
+ "name": "_input",
128299
128285
  "type": {
128300
- "text": "array"
128286
+ "text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
128301
128287
  },
128302
128288
  "privacy": "private",
128303
- "readonly": true,
128304
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
128289
+ "default": "null",
128290
+ "description": "Reference to the slotted input element.",
128305
128291
  "inheritedFrom": {
128306
- "name": "SbbButtonBaseElement",
128307
- "module": "core/base-elements/button-base-element.js"
128292
+ "name": "SbbFormFieldElement",
128293
+ "module": "form-field/form-field/form-field.component.js"
128308
128294
  }
128309
128295
  },
128310
128296
  {
128311
128297
  "kind": "field",
128312
- "name": "value",
128298
+ "name": "_label",
128313
128299
  "type": {
128314
- "text": "string"
128300
+ "text": "HTMLLabelElement"
128315
128301
  },
128316
- "privacy": "public",
128302
+ "privacy": "private",
128303
+ "description": "Reference to the slotted label elements.",
128317
128304
  "inheritedFrom": {
128318
- "name": "SbbButtonBaseElement",
128319
- "module": "core/base-elements/button-base-element.js"
128320
- },
128321
- "default": "''",
128322
- "description": "Value of the form element.",
128323
- "attribute": "value"
128305
+ "name": "SbbFormFieldElement",
128306
+ "module": "form-field/form-field/form-field.component.js"
128307
+ }
128324
128308
  },
128325
128309
  {
128326
128310
  "kind": "field",
128327
- "name": "type",
128328
- "privacy": "public",
128329
- "description": "The type attribute to use for the button.",
128330
- "default": "'button'",
128311
+ "name": "inputElement",
128331
128312
  "type": {
128332
- "text": "SbbButtonType"
128313
+ "text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
128333
128314
  },
128334
- "attribute": "type",
128315
+ "privacy": "public",
128316
+ "description": "Returns the input element.",
128317
+ "readonly": true,
128335
128318
  "inheritedFrom": {
128336
- "name": "SbbButtonBaseElement",
128337
- "module": "core/base-elements/button-base-element.js"
128319
+ "name": "SbbFormFieldElement",
128320
+ "module": "form-field/form-field/form-field.component.js"
128338
128321
  }
128339
128322
  },
128340
128323
  {
128341
128324
  "kind": "field",
128342
- "name": "form",
128325
+ "name": "label",
128343
128326
  "type": {
128344
- "text": "HTMLFormElement | null"
128327
+ "text": "HTMLLabelElement | null"
128345
128328
  },
128346
128329
  "privacy": "public",
128347
- "description": "The `<form>` element to associate the button with.",
128330
+ "description": "Reference to the slotted label.",
128331
+ "readonly": true,
128348
128332
  "inheritedFrom": {
128349
- "name": "SbbButtonBaseElement",
128350
- "module": "core/base-elements/button-base-element.js"
128351
- },
128352
- "attribute": "form"
128333
+ "name": "SbbFormFieldElement",
128334
+ "module": "form-field/form-field/form-field.component.js"
128335
+ }
128353
128336
  },
128354
128337
  {
128355
128338
  "kind": "field",
128356
- "name": "_formId",
128357
- "type": {
128358
- "text": "string"
128359
- },
128339
+ "name": "_language",
128360
128340
  "privacy": "private",
128361
- "default": "''",
128341
+ "default": "new SbbLanguageController(this)",
128362
128342
  "inheritedFrom": {
128363
- "name": "SbbButtonBaseElement",
128364
- "module": "core/base-elements/button-base-element.js"
128343
+ "name": "SbbFormFieldElement",
128344
+ "module": "form-field/form-field/form-field.component.js"
128365
128345
  }
128366
128346
  },
128367
128347
  {
128368
128348
  "kind": "field",
128369
- "name": "_handleButtonClick",
128349
+ "name": "_formFieldAttributeObserver",
128370
128350
  "privacy": "private",
128351
+ "description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`.",
128371
128352
  "inheritedFrom": {
128372
- "name": "SbbButtonBaseElement",
128373
- "module": "core/base-elements/button-base-element.js"
128353
+ "name": "SbbFormFieldElement",
128354
+ "module": "form-field/form-field/form-field.component.js"
128374
128355
  }
128375
128356
  },
128376
128357
  {
128377
- "kind": "method",
128378
- "name": "_requestSubmit",
128379
- "privacy": "private",
128380
- "return": {
128381
- "type": {
128382
- "text": "void"
128383
- }
128384
- },
128385
- "parameters": [
128386
- {
128387
- "name": "form",
128388
- "type": {
128389
- "text": "HTMLFormElement"
128390
- }
128391
- }
128392
- ],
128393
- "inheritedFrom": {
128394
- "name": "SbbButtonBaseElement",
128395
- "module": "core/base-elements/button-base-element.js"
128396
- }
128397
- },
128398
- {
128399
- "kind": "field",
128400
- "name": "_formKeyDown",
128358
+ "kind": "field",
128359
+ "name": "_inputFormAbortController",
128401
128360
  "privacy": "private",
128361
+ "default": "new AbortController()",
128402
128362
  "inheritedFrom": {
128403
- "name": "SbbButtonBaseElement",
128404
- "module": "core/base-elements/button-base-element.js"
128363
+ "name": "SbbFormFieldElement",
128364
+ "module": "form-field/form-field/form-field.component.js"
128405
128365
  }
128406
128366
  },
128407
128367
  {
128408
128368
  "kind": "field",
128409
- "name": "formAssociated",
128369
+ "name": "_control",
128410
128370
  "type": {
128411
- "text": "boolean"
128371
+ "text": "SbbFormFieldElementControl | null"
128412
128372
  },
128413
- "privacy": "public",
128414
- "static": true,
128415
- "default": "true",
128373
+ "privacy": "private",
128374
+ "default": "null",
128416
128375
  "inheritedFrom": {
128417
- "name": "SbbFormAssociatedMixin",
128418
- "module": "core/mixins/form-associated-mixin.js"
128376
+ "name": "SbbFormFieldElement",
128377
+ "module": "form-field/form-field/form-field.component.js"
128419
128378
  }
128420
128379
  },
128421
128380
  {
128422
- "kind": "field",
128423
- "name": "name",
128424
- "privacy": "public",
128425
- "description": "Name of the form element. Will be read from name attribute.",
128426
- "type": {
128427
- "text": "string"
128381
+ "kind": "method",
128382
+ "name": "_handleWrapperClick",
128383
+ "privacy": "private",
128384
+ "return": {
128385
+ "type": {
128386
+ "text": "void"
128387
+ }
128428
128388
  },
128429
- "attribute": "name",
128389
+ "parameters": [
128390
+ {
128391
+ "name": "event",
128392
+ "type": {
128393
+ "text": "MouseEvent"
128394
+ }
128395
+ }
128396
+ ],
128430
128397
  "inheritedFrom": {
128431
- "name": "SbbFormAssociatedMixin",
128432
- "module": "core/mixins/form-associated-mixin.js"
128398
+ "name": "SbbFormFieldElement",
128399
+ "module": "form-field/form-field/form-field.component.js"
128433
128400
  }
128434
128401
  },
128435
128402
  {
128436
- "kind": "field",
128437
- "name": "validity",
128438
- "type": {
128439
- "text": "ValidityState"
128403
+ "kind": "method",
128404
+ "name": "_isElementFocusExcluded",
128405
+ "privacy": "private",
128406
+ "return": {
128407
+ "type": {
128408
+ "text": "boolean"
128409
+ }
128440
128410
  },
128441
- "privacy": "public",
128442
- "description": "Returns the ValidityState object for this element.",
128443
- "readonly": true,
128411
+ "parameters": [
128412
+ {
128413
+ "name": "event",
128414
+ "type": {
128415
+ "text": "Event"
128416
+ }
128417
+ }
128418
+ ],
128444
128419
  "inheritedFrom": {
128445
- "name": "SbbFormAssociatedMixin",
128446
- "module": "core/mixins/form-associated-mixin.js"
128420
+ "name": "SbbFormFieldElement",
128421
+ "module": "form-field/form-field/form-field.component.js"
128447
128422
  }
128448
128423
  },
128449
128424
  {
128450
- "kind": "field",
128451
- "name": "validationMessage",
128452
- "type": {
128453
- "text": "string"
128425
+ "kind": "method",
128426
+ "name": "_onSlotLabelChange",
128427
+ "privacy": "private",
128428
+ "return": {
128429
+ "type": {
128430
+ "text": "void"
128431
+ }
128454
128432
  },
128455
- "privacy": "public",
128456
- "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.",
128457
- "readonly": true,
128458
128433
  "inheritedFrom": {
128459
- "name": "SbbFormAssociatedMixin",
128460
- "module": "core/mixins/form-associated-mixin.js"
128434
+ "name": "SbbFormFieldElement",
128435
+ "module": "form-field/form-field/form-field.component.js"
128461
128436
  }
128462
128437
  },
128463
128438
  {
128464
- "kind": "field",
128465
- "name": "willValidate",
128466
- "type": {
128467
- "text": "boolean"
128439
+ "kind": "method",
128440
+ "name": "_onSlotInputChange",
128441
+ "privacy": "private",
128442
+ "return": {
128443
+ "type": {
128444
+ "text": "void"
128445
+ }
128468
128446
  },
128469
- "privacy": "public",
128470
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
128471
- "readonly": true,
128447
+ "description": "It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.",
128472
128448
  "inheritedFrom": {
128473
- "name": "SbbFormAssociatedMixin",
128474
- "module": "core/mixins/form-associated-mixin.js"
128449
+ "name": "SbbFormFieldElement",
128450
+ "module": "form-field/form-field/form-field.component.js"
128475
128451
  }
128476
128452
  },
128477
128453
  {
128478
- "kind": "field",
128479
- "name": "_validityStates",
128454
+ "kind": "method",
128455
+ "name": "_assignSlots",
128480
128456
  "privacy": "private",
128481
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
128482
- "inheritedFrom": {
128483
- "name": "SbbFormAssociatedMixin",
128484
- "module": "core/mixins/form-associated-mixin.js"
128485
- }
128486
- },
128487
- {
128488
- "kind": "field",
128489
- "name": "formDisabled",
128490
- "type": {
128491
- "text": "boolean"
128457
+ "return": {
128458
+ "type": {
128459
+ "text": "void"
128460
+ }
128492
128461
  },
128493
- "privacy": "protected",
128494
- "default": "false",
128495
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
128496
128462
  "inheritedFrom": {
128497
- "name": "SbbFormAssociatedMixin",
128498
- "module": "core/mixins/form-associated-mixin.js"
128463
+ "name": "SbbFormFieldElement",
128464
+ "module": "form-field/form-field/form-field.component.js"
128499
128465
  }
128500
128466
  },
128501
128467
  {
128502
128468
  "kind": "method",
128503
- "name": "checkValidity",
128504
- "privacy": "public",
128469
+ "name": "_connectInputElement",
128470
+ "privacy": "private",
128505
128471
  "return": {
128506
128472
  "type": {
128507
- "text": "boolean"
128473
+ "text": "'changed' | 'no-input' | 'unchanged'"
128508
128474
  }
128509
128475
  },
128510
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
128511
128476
  "inheritedFrom": {
128512
- "name": "SbbFormAssociatedMixin",
128513
- "module": "core/mixins/form-associated-mixin.js"
128477
+ "name": "SbbFormFieldElement",
128478
+ "module": "form-field/form-field/form-field.component.js"
128514
128479
  }
128515
128480
  },
128516
128481
  {
128517
128482
  "kind": "method",
128518
- "name": "reportValidity",
128519
- "privacy": "public",
128483
+ "name": "_syncLabelInputReferences",
128484
+ "privacy": "private",
128520
128485
  "return": {
128521
128486
  "type": {
128522
- "text": "boolean"
128487
+ "text": "void"
128523
128488
  }
128524
128489
  },
128525
- "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.",
128526
128490
  "inheritedFrom": {
128527
- "name": "SbbFormAssociatedMixin",
128528
- "module": "core/mixins/form-associated-mixin.js"
128491
+ "name": "SbbFormFieldElement",
128492
+ "module": "form-field/form-field/form-field.component.js"
128529
128493
  }
128530
128494
  },
128531
128495
  {
128532
128496
  "kind": "method",
128533
- "name": "setCustomValidity",
128534
- "privacy": "public",
128497
+ "name": "_isInputElement",
128498
+ "privacy": "private",
128535
128499
  "return": {
128536
128500
  "type": {
128537
- "text": "void"
128501
+ "text": "boolean"
128538
128502
  }
128539
128503
  },
128540
128504
  "parameters": [
128541
128505
  {
128542
- "name": "message",
128506
+ "name": "input",
128543
128507
  "type": {
128544
- "text": "string"
128508
+ "text": "Element"
128545
128509
  }
128546
128510
  }
128547
128511
  ],
128548
- "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.",
128549
128512
  "inheritedFrom": {
128550
- "name": "SbbFormAssociatedMixin",
128551
- "module": "core/mixins/form-associated-mixin.js"
128513
+ "name": "SbbFormFieldElement",
128514
+ "module": "form-field/form-field/form-field.component.js"
128552
128515
  }
128553
128516
  },
128554
128517
  {
128555
128518
  "kind": "method",
128556
- "name": "_hasDisabledAncestor",
128519
+ "name": "_readInputState",
128557
128520
  "privacy": "private",
128558
128521
  "return": {
128559
128522
  "type": {
128560
- "text": "boolean"
128523
+ "text": "void"
128561
128524
  }
128562
128525
  },
128563
128526
  "inheritedFrom": {
128564
- "name": "SbbFormAssociatedMixin",
128565
- "module": "core/mixins/form-associated-mixin.js"
128527
+ "name": "SbbFormFieldElement",
128528
+ "module": "form-field/form-field/form-field.component.js"
128566
128529
  }
128567
128530
  },
128568
128531
  {
128569
128532
  "kind": "method",
128570
- "name": "updateFormValue",
128571
- "privacy": "protected",
128533
+ "name": "_registerInputFormListener",
128534
+ "privacy": "private",
128572
128535
  "return": {
128573
128536
  "type": {
128574
128537
  "text": "void"
128575
128538
  }
128576
128539
  },
128577
- "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",
128578
128540
  "inheritedFrom": {
128579
- "name": "SbbFormAssociatedMixin",
128580
- "module": "core/mixins/form-associated-mixin.js"
128541
+ "name": "SbbFormFieldElement",
128542
+ "module": "form-field/form-field/form-field.component.js"
128581
128543
  }
128582
128544
  },
128583
128545
  {
128584
128546
  "kind": "method",
128585
- "name": "formState",
128586
- "privacy": "protected",
128547
+ "name": "_patchInputValue",
128548
+ "privacy": "private",
128587
128549
  "return": {
128588
128550
  "type": {
128589
- "text": "FormRestoreState"
128551
+ "text": "void"
128590
128552
  }
128591
128553
  },
128592
128554
  "inheritedFrom": {
128593
- "name": "SbbFormAssociatedMixin",
128594
- "module": "core/mixins/form-associated-mixin.js"
128555
+ "name": "SbbFormFieldElement",
128556
+ "module": "form-field/form-field/form-field.component.js"
128595
128557
  }
128596
128558
  },
128597
128559
  {
128598
128560
  "kind": "method",
128599
- "name": "setValidityFlag",
128600
- "privacy": "protected",
128561
+ "name": "_unpatchInputValue",
128562
+ "privacy": "private",
128601
128563
  "return": {
128602
128564
  "type": {
128603
128565
  "text": "void"
128604
128566
  }
128605
128567
  },
128606
- "parameters": [
128607
- {
128608
- "name": "flag",
128609
- "type": {
128610
- "text": "T"
128611
- }
128612
- },
128613
- {
128614
- "name": "message",
128615
- "type": {
128616
- "text": "string"
128617
- }
128618
- },
128619
- {
128620
- "name": "flagValue",
128621
- "optional": true,
128622
- "type": {
128623
- "text": "ValidityStateFlags[T]"
128624
- }
128625
- }
128626
- ],
128627
- "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).",
128628
128568
  "inheritedFrom": {
128629
- "name": "SbbFormAssociatedMixin",
128630
- "module": "core/mixins/form-associated-mixin.js"
128569
+ "name": "SbbFormFieldElement",
128570
+ "module": "form-field/form-field/form-field.component.js"
128631
128571
  }
128632
128572
  },
128633
128573
  {
128634
128574
  "kind": "method",
128635
- "name": "removeValidityFlag",
128636
- "privacy": "protected",
128575
+ "name": "_checkAndUpdateInputEmpty",
128576
+ "privacy": "private",
128637
128577
  "return": {
128638
128578
  "type": {
128639
128579
  "text": "void"
128640
128580
  }
128641
128581
  },
128642
- "parameters": [
128643
- {
128644
- "name": "flag",
128645
- "type": {
128646
- "text": "T"
128647
- }
128648
- }
128649
- ],
128650
- "description": "Removes the validity state flag entry and updates validity state.",
128651
128582
  "inheritedFrom": {
128652
- "name": "SbbFormAssociatedMixin",
128653
- "module": "core/mixins/form-associated-mixin.js"
128583
+ "name": "SbbFormFieldElement",
128584
+ "module": "form-field/form-field/form-field.component.js"
128654
128585
  }
128655
128586
  },
128656
128587
  {
128657
128588
  "kind": "method",
128658
- "name": "validate",
128659
- "privacy": "protected",
128589
+ "name": "_isInputEmpty",
128590
+ "privacy": "private",
128660
128591
  "return": {
128661
128592
  "type": {
128662
- "text": "void"
128593
+ "text": "boolean"
128663
128594
  }
128664
128595
  },
128665
- "description": "To be called whenever the current element needs to be validated.",
128666
128596
  "inheritedFrom": {
128667
- "name": "SbbFormAssociatedMixin",
128668
- "module": "core/mixins/form-associated-mixin.js"
128597
+ "name": "SbbFormFieldElement",
128598
+ "module": "form-field/form-field/form-field.component.js"
128669
128599
  }
128670
128600
  },
128671
128601
  {
128672
128602
  "kind": "method",
128673
- "name": "shouldValidate",
128674
- "privacy": "protected",
128603
+ "name": "_isInputValueEmpty",
128604
+ "privacy": "private",
128675
128605
  "return": {
128676
128606
  "type": {
128677
128607
  "text": "boolean"
128678
128608
  }
128679
128609
  },
128680
- "parameters": [
128681
- {
128682
- "name": "name",
128683
- "type": {
128684
- "text": "PropertyKey | undefined"
128685
- }
128686
- }
128687
- ],
128688
- "description": "Whether validation should be run on a property change with the given name.",
128689
128610
  "inheritedFrom": {
128690
- "name": "SbbFormAssociatedMixin",
128691
- "module": "core/mixins/form-associated-mixin.js"
128611
+ "name": "SbbFormFieldElement",
128612
+ "module": "form-field/form-field/form-field.component.js"
128692
128613
  }
128693
128614
  },
128694
128615
  {
128695
128616
  "kind": "method",
128696
- "name": "_setInternalValidity",
128617
+ "name": "_onSlotErrorChange",
128697
128618
  "privacy": "private",
128698
128619
  "return": {
128699
128620
  "type": {
128700
128621
  "text": "void"
128701
128622
  }
128702
128623
  },
128703
- "inheritedFrom": {
128704
- "name": "SbbFormAssociatedMixin",
128705
- "module": "core/mixins/form-associated-mixin.js"
128706
- }
128707
- },
128708
- {
128709
- "kind": "field",
128710
- "name": "role",
128711
- "type": {
128712
- "text": "ElementInternals['role']"
128713
- },
128714
- "privacy": "public",
128715
- "static": true,
128716
- "readonly": true,
128717
- "default": "'button'",
128718
- "inheritedFrom": {
128719
- "name": "SbbButtonLikeBaseElement",
128720
- "module": "core/base-elements/button-base-element.js"
128721
- }
128722
- },
128723
- {
128724
- "kind": "field",
128725
- "name": "_preventScrollOnSpaceKeydown",
128726
- "privacy": "private",
128727
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
128728
128624
  "parameters": [
128729
128625
  {
128730
- "description": "The origin event.",
128731
- "name": "event"
128626
+ "name": "event",
128627
+ "type": {
128628
+ "text": "Event"
128629
+ }
128732
128630
  }
128733
128631
  ],
128632
+ "description": "It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-error> instances.",
128734
128633
  "inheritedFrom": {
128735
- "name": "SbbButtonLikeBaseElement",
128736
- "module": "core/base-elements/button-base-element.js"
128737
- }
128738
- },
128739
- {
128740
- "kind": "field",
128741
- "name": "_removeActiveMarker",
128742
- "privacy": "private",
128743
- "inheritedFrom": {
128744
- "name": "SbbButtonLikeBaseElement",
128745
- "module": "core/base-elements/button-base-element.js"
128634
+ "name": "SbbFormFieldElement",
128635
+ "module": "form-field/form-field/form-field.component.js"
128746
128636
  }
128747
128637
  },
128748
128638
  {
128749
- "kind": "field",
128750
- "name": "_dispatchClickEventOnSpaceKeyup",
128639
+ "kind": "method",
128640
+ "name": "_assignErrorMessageElements",
128751
128641
  "privacy": "private",
128752
- "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.",
128753
- "parameters": [
128754
- {
128755
- "description": "The origin event.",
128756
- "name": "event"
128642
+ "return": {
128643
+ "type": {
128644
+ "text": "void"
128757
128645
  }
128758
- ],
128646
+ },
128759
128647
  "inheritedFrom": {
128760
- "name": "SbbButtonLikeBaseElement",
128761
- "module": "core/base-elements/button-base-element.js"
128648
+ "name": "SbbFormFieldElement",
128649
+ "module": "form-field/form-field/form-field.component.js"
128762
128650
  }
128763
128651
  },
128764
128652
  {
128765
- "kind": "field",
128766
- "name": "_dispatchClickEvent",
128767
- "privacy": "private",
128653
+ "kind": "method",
128654
+ "name": "reset",
128655
+ "privacy": "public",
128656
+ "return": {
128657
+ "type": {
128658
+ "text": "void"
128659
+ }
128660
+ },
128661
+ "description": "Manually reset the form field. Currently, this only resets the floating label.",
128768
128662
  "inheritedFrom": {
128769
- "name": "SbbButtonLikeBaseElement",
128770
- "module": "core/base-elements/button-base-element.js"
128663
+ "name": "SbbFormFieldElement",
128664
+ "module": "form-field/form-field/form-field.component.js"
128771
128665
  }
128772
128666
  },
128773
128667
  {
128774
- "kind": "field",
128775
- "name": "maybeDisabled",
128776
- "type": {
128777
- "text": "boolean | undefined"
128668
+ "kind": "method",
128669
+ "name": "clear",
128670
+ "privacy": "public",
128671
+ "return": {
128672
+ "type": {
128673
+ "text": "void"
128674
+ }
128778
128675
  },
128779
- "privacy": "protected",
128780
- "readonly": true,
128676
+ "description": "Manually clears the input value. It only works for inputs, selects are not supported.",
128781
128677
  "inheritedFrom": {
128782
- "name": "SbbActionBaseElement",
128783
- "module": "core/base-elements/action-base-element.js"
128678
+ "name": "SbbFormFieldElement",
128679
+ "module": "form-field/form-field/form-field.component.js"
128784
128680
  }
128785
128681
  },
128786
128682
  {
128787
- "kind": "field",
128788
- "name": "maybeDisabledInteractive",
128789
- "type": {
128790
- "text": "boolean | undefined"
128683
+ "kind": "method",
128684
+ "name": "_syncNegative",
128685
+ "privacy": "private",
128686
+ "return": {
128687
+ "type": {
128688
+ "text": "void"
128689
+ }
128791
128690
  },
128792
- "privacy": "protected",
128793
- "readonly": true,
128794
128691
  "inheritedFrom": {
128795
- "name": "SbbActionBaseElement",
128796
- "module": "core/base-elements/action-base-element.js"
128692
+ "name": "SbbFormFieldElement",
128693
+ "module": "form-field/form-field/form-field.component.js"
128797
128694
  }
128798
128695
  },
128799
128696
  {
128800
128697
  "kind": "method",
128801
- "name": "setupBaseEventHandlers",
128802
- "privacy": "protected",
128698
+ "name": "_syncSize",
128699
+ "privacy": "private",
128803
128700
  "return": {
128804
128701
  "type": {
128805
128702
  "text": "void"
128806
128703
  }
128807
128704
  },
128808
128705
  "inheritedFrom": {
128809
- "name": "SbbActionBaseElement",
128810
- "module": "core/base-elements/action-base-element.js"
128706
+ "name": "SbbFormFieldElement",
128707
+ "module": "form-field/form-field/form-field.component.js"
128811
128708
  }
128812
128709
  },
128813
128710
  {
@@ -128917,167 +128814,174 @@
128917
128814
  }
128918
128815
  ],
128919
128816
  "superclass": {
128920
- "name": "SbbSecondaryButtonElement",
128921
- "module": "button/secondary-button.js"
128817
+ "name": "SbbFormFieldElement",
128818
+ "module": "form-field.pure.js"
128922
128819
  },
128923
- "tagName": "sbb-timetable-form-swap-button",
128820
+ "tagName": "sbb-timetable-form-field",
128924
128821
  "customElement": true,
128925
128822
  "attributes": [
128926
128823
  {
128927
- "name": "size",
128824
+ "name": "negative",
128928
128825
  "type": {
128929
- "text": "SbbButtonSize"
128826
+ "text": "boolean"
128930
128827
  },
128931
- "description": "Size variant, either l, m or s.",
128932
- "default": "'l' / 's' (lean)",
128933
- "fieldName": "size",
128828
+ "default": "false",
128829
+ "description": "Negative coloring variant flag.",
128830
+ "fieldName": "negative",
128934
128831
  "inheritedFrom": {
128935
- "name": "SbbButtonCommonElementMixin",
128936
- "module": "button/common/button-common.js"
128832
+ "name": "SbbNegativeMixin",
128833
+ "module": "core/mixins/negative-mixin.js"
128937
128834
  }
128938
128835
  },
128939
128836
  {
128940
- "name": "loading",
128837
+ "name": "error-space",
128941
128838
  "type": {
128942
- "text": "boolean"
128839
+ "text": "'none' | 'reserve'"
128943
128840
  },
128944
- "default": "false",
128945
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
128946
- "fieldName": "loading",
128841
+ "default": "'none'",
128842
+ "description": "Whether to reserve space for an error message.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
128843
+ "fieldName": "errorSpace",
128947
128844
  "inheritedFrom": {
128948
- "name": "SbbButtonCommonElementMixin",
128949
- "module": "button/common/button-common.js"
128845
+ "name": "SbbFormFieldElement",
128846
+ "module": "form-field/form-field/form-field.component.js"
128950
128847
  }
128951
128848
  },
128952
128849
  {
128953
- "name": "negative",
128850
+ "name": "optional",
128954
128851
  "type": {
128955
128852
  "text": "boolean"
128956
128853
  },
128957
128854
  "default": "false",
128958
- "description": "Negative coloring variant flag.",
128959
- "fieldName": "negative",
128855
+ "description": "Indicates whether the input is optional.",
128856
+ "fieldName": "optional",
128960
128857
  "inheritedFrom": {
128961
- "name": "SbbNegativeMixin",
128962
- "module": "core/mixins/negative-mixin.js"
128858
+ "name": "SbbFormFieldElement",
128859
+ "module": "form-field/form-field/form-field.component.js"
128963
128860
  }
128964
128861
  },
128965
128862
  {
128966
- "name": "icon-name",
128863
+ "name": "size",
128967
128864
  "type": {
128968
- "text": "string"
128865
+ "text": "'l' | 'm' | 's'"
128969
128866
  },
128970
- "default": "''",
128971
- "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.",
128972
- "fieldName": "iconName",
128867
+ "description": "Size variant, either l, m or s.",
128868
+ "default": "'m' / 's' (lean)",
128869
+ "fieldName": "size",
128973
128870
  "inheritedFrom": {
128974
- "name": "SbbIconNameMixin",
128975
- "module": "icon/icon-name-mixin.js"
128871
+ "name": "SbbFormFieldElement",
128872
+ "module": "form-field/form-field/form-field.component.js"
128976
128873
  }
128977
128874
  },
128978
128875
  {
128979
- "name": "disabled-interactive",
128876
+ "name": "borderless",
128980
128877
  "type": {
128981
128878
  "text": "boolean"
128982
128879
  },
128983
128880
  "default": "false",
128984
- "description": "Whether the button should be aria-disabled but stay interactive.",
128985
- "fieldName": "disabledInteractive",
128881
+ "description": "Whether to display the form field without a border.",
128882
+ "fieldName": "borderless",
128986
128883
  "inheritedFrom": {
128987
- "name": "SbbDisabledInteractiveMixin",
128988
- "module": "core/mixins/disabled-mixin.js"
128884
+ "name": "SbbFormFieldElement",
128885
+ "module": "form-field/form-field/form-field.component.js"
128989
128886
  }
128990
128887
  },
128991
128888
  {
128992
- "name": "disabled",
128993
- "description": "Whether the component is disabled.",
128994
- "default": "false",
128889
+ "name": "width",
128995
128890
  "type": {
128996
- "text": "boolean"
128891
+ "text": "'default' | 'collapse'"
128997
128892
  },
128998
- "fieldName": "disabled",
128893
+ "default": "'default'",
128894
+ "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
128895
+ "fieldName": "width",
128999
128896
  "inheritedFrom": {
129000
- "name": "SbbDisabledMixin",
129001
- "module": "core/mixins/disabled-mixin.js"
128897
+ "name": "SbbFormFieldElement",
128898
+ "module": "form-field/form-field/form-field.component.js"
129002
128899
  }
129003
128900
  },
129004
128901
  {
129005
- "name": "value",
128902
+ "name": "hidden-label",
129006
128903
  "type": {
129007
- "text": "string"
128904
+ "text": "boolean"
129008
128905
  },
129009
- "default": "''",
129010
- "description": "Value of the form element.",
129011
- "fieldName": "value",
128906
+ "default": "false",
128907
+ "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
128908
+ "fieldName": "hiddenLabel",
129012
128909
  "inheritedFrom": {
129013
- "name": "SbbButtonBaseElement",
129014
- "module": "core/base-elements/button-base-element.js"
128910
+ "name": "SbbFormFieldElement",
128911
+ "module": "form-field/form-field/form-field.component.js"
129015
128912
  }
129016
128913
  },
129017
128914
  {
129018
- "name": "type",
129019
- "description": "The type attribute to use for the button.",
129020
- "default": "'button'",
128915
+ "name": "floating-label",
129021
128916
  "type": {
129022
- "text": "SbbButtonType"
128917
+ "text": "boolean"
129023
128918
  },
129024
- "fieldName": "type",
129025
- "inheritedFrom": {
129026
- "name": "SbbButtonBaseElement",
129027
- "module": "core/base-elements/button-base-element.js"
128919
+ "default": "false",
128920
+ "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
128921
+ "fieldName": "floatingLabel",
128922
+ "inheritedFrom": {
128923
+ "name": "SbbFormFieldElement",
128924
+ "module": "form-field/form-field/form-field.component.js"
128925
+ }
128926
+ }
128927
+ ],
128928
+ "slots": [
128929
+ {
128930
+ "description": "Use this slot to render an input/select or a supported non-native element.",
128931
+ "name": "",
128932
+ "inheritedFrom": {
128933
+ "name": "SbbFormFieldElement",
128934
+ "module": "form-field/form-field/form-field.component.js"
129028
128935
  }
129029
128936
  },
129030
128937
  {
129031
- "name": "form",
129032
- "description": "The `<form>` element to associate the button with.",
129033
- "type": {
129034
- "text": "HTMLFormElement | null"
129035
- },
129036
- "fieldName": "form",
128938
+ "description": "Use this slot to render a label.",
128939
+ "name": "label",
129037
128940
  "inheritedFrom": {
129038
- "name": "SbbButtonBaseElement",
129039
- "module": "core/base-elements/button-base-element.js"
128941
+ "name": "SbbFormFieldElement",
128942
+ "module": "form-field/form-field/form-field.component.js"
129040
128943
  }
129041
128944
  },
129042
128945
  {
129043
- "name": "name",
129044
- "description": "Name of the form element. Will be read from name attribute.",
129045
- "type": {
129046
- "text": "string"
129047
- },
129048
- "fieldName": "name",
128946
+ "description": "Use this slot to render an icon on the left side of the input.",
128947
+ "name": "prefix",
129049
128948
  "inheritedFrom": {
129050
- "name": "SbbFormAssociatedMixin",
129051
- "module": "core/mixins/form-associated-mixin.js"
128949
+ "name": "SbbFormFieldElement",
128950
+ "module": "form-field/form-field/form-field.component.js"
129052
128951
  }
129053
- }
129054
- ],
129055
- "slots": [
128952
+ },
129056
128953
  {
129057
- "description": "Use the unnamed slot to add content to the secondary-button.",
129058
- "name": "",
128954
+ "description": "Use this slot to render an icon on the right side of the input.",
128955
+ "name": "suffix",
129059
128956
  "inheritedFrom": {
129060
- "name": "SbbSecondaryButtonElement",
129061
- "module": "button/secondary-button/secondary-button.component.js"
128957
+ "name": "SbbFormFieldElement",
128958
+ "module": "form-field/form-field/form-field.component.js"
129062
128959
  }
129063
128960
  },
129064
128961
  {
129065
- "description": "Slot used to display the icon, if one is set.",
129066
- "name": "icon",
128962
+ "description": "Use this slot to render an error.",
128963
+ "name": "error",
129067
128964
  "inheritedFrom": {
129068
- "name": "SbbSecondaryButtonElement",
129069
- "module": "button/secondary-button/secondary-button.component.js"
128965
+ "name": "SbbFormFieldElement",
128966
+ "module": "form-field/form-field/form-field.component.js"
129070
128967
  }
129071
128968
  }
129072
128969
  ],
129073
128970
  "cssProperties": [
129074
128971
  {
129075
- "description": "The delay before the loading animation starts, when setting the button into loading state.",
129076
- "name": "--sbb-button-loading-delay",
129077
- "default": "300ms",
128972
+ "description": "To override the focus outline offset,",
128973
+ "name": "--sbb-form-field-outline-offset",
129078
128974
  "inheritedFrom": {
129079
- "name": "SbbSecondaryButtonElement",
129080
- "module": "button/secondary-button/secondary-button.component.js"
128975
+ "name": "SbbFormFieldElement",
128976
+ "module": "form-field/form-field/form-field.component.js"
128977
+ }
128978
+ },
128979
+ {
128980
+ "description": "To override the z-index of the focus underline effect,",
128981
+ "name": "--sbb-form-field-focus-underline-z-index",
128982
+ "inheritedFrom": {
128983
+ "name": "SbbFormFieldElement",
128984
+ "module": "form-field/form-field/form-field.component.js"
129081
128985
  }
129082
128986
  }
129083
128987
  ]
@@ -129086,22 +128990,22 @@
129086
128990
  "exports": [
129087
128991
  {
129088
128992
  "kind": "js",
129089
- "name": "SbbTimetableFormSwapButtonElement",
128993
+ "name": "SbbTimetableFormFieldElement",
129090
128994
  "declaration": {
129091
- "name": "SbbTimetableFormSwapButtonElement",
129092
- "module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
128995
+ "name": "SbbTimetableFormFieldElement",
128996
+ "module": "timetable-form/timetable-form-field/timetable-form-field.component.js"
129093
128997
  }
129094
128998
  }
129095
128999
  ]
129096
129000
  },
129097
129001
  {
129098
129002
  "kind": "javascript-module",
129099
- "path": "timetable-form/timetable-form-field/timetable-form-field.component.js",
129003
+ "path": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js",
129100
129004
  "declarations": [
129101
129005
  {
129102
129006
  "kind": "class",
129103
- "description": "Extends the `sbb-form-field`. Meant to be used inside a `sbb-timetable-form`.",
129104
- "name": "SbbTimetableFormFieldElement",
129007
+ "description": "An extension of `sbb-secondary-button` to be used inside the `sbb-timetable-form`.\nWhen placed between two `sbb-timetable-form-field`, the 'click' swaps the value of the sibling inputs.",
129008
+ "name": "SbbTimetableFormSwapButtonElement",
129105
129009
  "members": [
129106
129010
  {
129107
129011
  "kind": "field",
@@ -129112,83 +129016,88 @@
129112
129016
  "privacy": "public",
129113
129017
  "static": true,
129114
129018
  "readonly": true,
129115
- "default": "'sbb-timetable-form-field'",
129116
129019
  "inheritedFrom": {
129117
129020
  "name": "SbbElement",
129118
129021
  "module": "core/base-elements/element.js"
129119
- }
129022
+ },
129023
+ "default": "'sbb-timetable-form-swap-button'"
129120
129024
  },
129121
129025
  {
129122
129026
  "kind": "field",
129123
- "name": "_routeIcon",
129124
- "type": {
129125
- "text": "boolean"
129126
- },
129027
+ "name": "_languageController",
129127
129028
  "privacy": "private",
129128
- "default": "false"
129029
+ "default": "new SbbLanguageController(this)"
129129
129030
  },
129130
129031
  {
129131
- "kind": "field",
129132
- "name": "borderless",
129133
- "type": {
129134
- "text": "boolean"
129032
+ "kind": "method",
129033
+ "name": "_invertFieldValues",
129034
+ "privacy": "private",
129035
+ "return": {
129036
+ "type": {
129037
+ "text": "void"
129038
+ }
129039
+ },
129040
+ "description": "Search for `sbb-timetable-form-field` inputs, invert their values and dispatch the respective input and change events"
129041
+ },
129042
+ {
129043
+ "kind": "method",
129044
+ "name": "renderIconName",
129045
+ "privacy": "protected",
129046
+ "return": {
129047
+ "type": {
129048
+ "text": "string"
129049
+ }
129135
129050
  },
129136
- "privacy": "public",
129137
- "default": "true",
129138
- "description": "Whether to display the form field without a border.",
129139
- "attribute": "borderless",
129140
- "reflects": true,
129141
129051
  "inheritedFrom": {
129142
- "name": "SbbFormFieldElement",
129143
- "module": "form-field/form-field/form-field.component.js"
129052
+ "name": "SbbIconNameMixin",
129053
+ "module": "icon/icon-name-mixin.js"
129144
129054
  }
129145
129055
  },
129146
129056
  {
129147
129057
  "kind": "field",
129148
- "name": "floatingLabel",
129058
+ "name": "size",
129149
129059
  "type": {
129150
- "text": "boolean"
129060
+ "text": "SbbButtonSize"
129151
129061
  },
129152
129062
  "privacy": "public",
129153
- "default": "true",
129154
- "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
129155
- "attribute": "floating-label",
129063
+ "description": "Size variant, either l, m or s.",
129064
+ "default": "'l' / 's' (lean)",
129065
+ "attribute": "size",
129156
129066
  "reflects": true,
129157
129067
  "inheritedFrom": {
129158
- "name": "SbbFormFieldElement",
129159
- "module": "form-field/form-field/form-field.component.js"
129068
+ "name": "SbbButtonCommonElementMixin",
129069
+ "module": "button/common/button-common.js"
129160
129070
  }
129161
129071
  },
129162
129072
  {
129163
129073
  "kind": "field",
129164
- "name": "width",
129074
+ "name": "loading",
129165
129075
  "type": {
129166
- "text": "string"
129076
+ "text": "boolean"
129167
129077
  },
129168
129078
  "privacy": "public",
129169
- "default": "'collapse'",
129170
- "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
129171
- "attribute": "width",
129079
+ "default": "false",
129080
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
129081
+ "attribute": "loading",
129172
129082
  "reflects": true,
129173
129083
  "inheritedFrom": {
129174
- "name": "SbbFormFieldElement",
129175
- "module": "form-field/form-field/form-field.component.js"
129084
+ "name": "SbbButtonCommonElementMixin",
129085
+ "module": "button/common/button-common.js"
129176
129086
  }
129177
129087
  },
129178
129088
  {
129179
- "kind": "field",
129180
- "name": "size",
129181
- "type": {
129182
- "text": "string"
129089
+ "kind": "method",
129090
+ "name": "renderTemplate",
129091
+ "privacy": "protected",
129092
+ "return": {
129093
+ "type": {
129094
+ "text": "TemplateResult"
129095
+ }
129183
129096
  },
129184
- "privacy": "public",
129185
- "description": "Size variant, either l, m or s.",
129186
- "default": "'l'",
129187
- "attribute": "size",
129188
- "reflects": true,
129097
+ "description": "Override this method to render the component template.",
129189
129098
  "inheritedFrom": {
129190
- "name": "SbbFormFieldElement",
129191
- "module": "form-field/form-field/form-field.component.js"
129099
+ "name": "SbbActionBaseElement",
129100
+ "module": "core/base-elements/action-base-element.js"
129192
129101
  }
129193
129102
  },
129194
129103
  {
@@ -129209,533 +129118,631 @@
129209
129118
  },
129210
129119
  {
129211
129120
  "kind": "field",
129212
- "name": "_excludedFocusElements",
129121
+ "name": "iconName",
129213
129122
  "type": {
129214
- "text": "array"
129123
+ "text": "string"
129215
129124
  },
129216
- "privacy": "private",
129217
- "readonly": true,
129218
- "default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']",
129125
+ "privacy": "public",
129126
+ "default": "''",
129127
+ "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.",
129128
+ "attribute": "icon-name",
129219
129129
  "inheritedFrom": {
129220
- "name": "SbbFormFieldElement",
129221
- "module": "form-field/form-field/form-field.component.js"
129130
+ "name": "SbbIconNameMixin",
129131
+ "module": "icon/icon-name-mixin.js"
129222
129132
  }
129223
129133
  },
129224
129134
  {
129225
- "kind": "field",
129226
- "name": "_floatingLabelSupportedInputElements",
129227
- "type": {
129228
- "text": "array"
129135
+ "kind": "method",
129136
+ "name": "renderIconSlot",
129137
+ "privacy": "protected",
129138
+ "return": {
129139
+ "type": {
129140
+ "text": "TemplateResult"
129141
+ }
129229
129142
  },
129230
- "privacy": "private",
129231
- "readonly": true,
129232
- "default": "[ 'input', 'select', 'textarea', 'sbb-select', ]",
129143
+ "parameters": [
129144
+ {
129145
+ "name": "classname",
129146
+ "optional": true,
129147
+ "type": {
129148
+ "text": "string"
129149
+ }
129150
+ }
129151
+ ],
129233
129152
  "inheritedFrom": {
129234
- "name": "SbbFormFieldElement",
129235
- "module": "form-field/form-field/form-field.component.js"
129153
+ "name": "SbbIconNameMixin",
129154
+ "module": "icon/icon-name-mixin.js"
129236
129155
  }
129237
129156
  },
129238
129157
  {
129239
- "kind": "field",
129240
- "name": "_floatingLabelSupportedInputTypes",
129241
- "type": {
129242
- "text": "array"
129243
- },
129158
+ "kind": "method",
129159
+ "name": "_renderIconName",
129244
129160
  "privacy": "private",
129245
- "readonly": true,
129246
- "default": "[ 'email', 'number', 'password', 'search', 'tel', 'text', 'url', ]",
129161
+ "return": {
129162
+ "type": {
129163
+ "text": "string"
129164
+ }
129165
+ },
129247
129166
  "inheritedFrom": {
129248
- "name": "SbbFormFieldElement",
129249
- "module": "form-field/form-field/form-field.component.js"
129167
+ "name": "SbbIconNameMixin",
129168
+ "module": "icon/icon-name-mixin.js"
129250
129169
  }
129251
129170
  },
129252
129171
  {
129253
129172
  "kind": "field",
129254
- "name": "errorSpace",
129173
+ "name": "disabledInteractive",
129255
129174
  "type": {
129256
- "text": "'none' | 'reserve'"
129175
+ "text": "boolean"
129257
129176
  },
129258
129177
  "privacy": "public",
129259
- "default": "'none'",
129260
- "description": "Whether to reserve space for an error message.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
129261
- "attribute": "error-space",
129178
+ "default": "false",
129179
+ "description": "Whether the button should be aria-disabled but stay interactive.",
129180
+ "attribute": "disabled-interactive",
129262
129181
  "reflects": true,
129263
129182
  "inheritedFrom": {
129264
- "name": "SbbFormFieldElement",
129265
- "module": "form-field/form-field/form-field.component.js"
129183
+ "name": "SbbDisabledInteractiveMixin",
129184
+ "module": "core/mixins/disabled-mixin.js"
129266
129185
  }
129267
129186
  },
129268
129187
  {
129269
129188
  "kind": "field",
129270
- "name": "optional",
129189
+ "name": "disabled",
129190
+ "privacy": "public",
129191
+ "description": "Whether the component is disabled.",
129192
+ "default": "false",
129271
129193
  "type": {
129272
129194
  "text": "boolean"
129273
129195
  },
129274
- "privacy": "public",
129275
- "default": "false",
129276
- "description": "Indicates whether the input is optional.",
129277
- "attribute": "optional",
129196
+ "attribute": "disabled",
129197
+ "reflects": true,
129278
129198
  "inheritedFrom": {
129279
- "name": "SbbFormFieldElement",
129280
- "module": "form-field/form-field/form-field.component.js"
129199
+ "name": "SbbDisabledMixin",
129200
+ "module": "core/mixins/disabled-mixin.js"
129281
129201
  }
129282
129202
  },
129283
129203
  {
129284
129204
  "kind": "field",
129285
- "name": "hiddenLabel",
129205
+ "name": "#disabled",
129206
+ "privacy": "private",
129286
129207
  "type": {
129287
129208
  "text": "boolean"
129288
129209
  },
129289
- "privacy": "public",
129290
129210
  "default": "false",
129291
- "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
129292
- "attribute": "hidden-label",
129293
- "reflects": true,
129294
129211
  "inheritedFrom": {
129295
- "name": "SbbFormFieldElement",
129296
- "module": "form-field/form-field/form-field.component.js"
129212
+ "name": "SbbDisabledMixin",
129213
+ "module": "core/mixins/disabled-mixin.js"
129214
+ }
129215
+ },
129216
+ {
129217
+ "kind": "method",
129218
+ "name": "isDisabledExternally",
129219
+ "privacy": "protected",
129220
+ "return": {
129221
+ "type": {
129222
+ "text": "boolean"
129223
+ }
129224
+ },
129225
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
129226
+ "inheritedFrom": {
129227
+ "name": "SbbDisabledMixin",
129228
+ "module": "core/mixins/disabled-mixin.js"
129297
129229
  }
129298
129230
  },
129299
129231
  {
129300
129232
  "kind": "field",
129301
- "name": "_errorElements",
129233
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
129302
129234
  "type": {
129303
- "text": "Element[]"
129235
+ "text": "array"
129304
129236
  },
129305
129237
  "privacy": "private",
129306
- "default": "[]",
129307
- "description": "It is used internally to get the `error` slot.",
129238
+ "readonly": true,
129239
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
129308
129240
  "inheritedFrom": {
129309
- "name": "SbbFormFieldElement",
129310
- "module": "form-field/form-field/form-field.component.js"
129241
+ "name": "SbbButtonBaseElement",
129242
+ "module": "core/base-elements/button-base-element.js"
129311
129243
  }
129312
129244
  },
129313
129245
  {
129314
129246
  "kind": "field",
129315
- "name": "_input",
129247
+ "name": "value",
129316
129248
  "type": {
129317
- "text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
129249
+ "text": "string"
129318
129250
  },
129319
- "privacy": "private",
129320
- "default": "null",
129321
- "description": "Reference to the slotted input element.",
129251
+ "privacy": "public",
129322
129252
  "inheritedFrom": {
129323
- "name": "SbbFormFieldElement",
129324
- "module": "form-field/form-field/form-field.component.js"
129325
- }
129253
+ "name": "SbbButtonBaseElement",
129254
+ "module": "core/base-elements/button-base-element.js"
129255
+ },
129256
+ "default": "''",
129257
+ "description": "Value of the form element.",
129258
+ "attribute": "value"
129326
129259
  },
129327
129260
  {
129328
129261
  "kind": "field",
129329
- "name": "_label",
129262
+ "name": "type",
129263
+ "privacy": "public",
129264
+ "description": "The type attribute to use for the button.",
129265
+ "default": "'button'",
129330
129266
  "type": {
129331
- "text": "HTMLLabelElement"
129267
+ "text": "SbbButtonType"
129332
129268
  },
129333
- "privacy": "private",
129334
- "description": "Reference to the slotted label elements.",
129269
+ "attribute": "type",
129335
129270
  "inheritedFrom": {
129336
- "name": "SbbFormFieldElement",
129337
- "module": "form-field/form-field/form-field.component.js"
129271
+ "name": "SbbButtonBaseElement",
129272
+ "module": "core/base-elements/button-base-element.js"
129338
129273
  }
129339
129274
  },
129340
129275
  {
129341
129276
  "kind": "field",
129342
- "name": "inputElement",
129277
+ "name": "form",
129343
129278
  "type": {
129344
- "text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
129279
+ "text": "HTMLFormElement | null"
129345
129280
  },
129346
129281
  "privacy": "public",
129347
- "description": "Returns the input element.",
129348
- "readonly": true,
129282
+ "description": "The `<form>` element to associate the button with.",
129349
129283
  "inheritedFrom": {
129350
- "name": "SbbFormFieldElement",
129351
- "module": "form-field/form-field/form-field.component.js"
129352
- }
129284
+ "name": "SbbButtonBaseElement",
129285
+ "module": "core/base-elements/button-base-element.js"
129286
+ },
129287
+ "attribute": "form"
129353
129288
  },
129354
129289
  {
129355
129290
  "kind": "field",
129356
- "name": "label",
129291
+ "name": "_formId",
129357
129292
  "type": {
129358
- "text": "HTMLLabelElement | null"
129293
+ "text": "string"
129359
129294
  },
129360
- "privacy": "public",
129361
- "description": "Reference to the slotted label.",
129362
- "readonly": true,
129295
+ "privacy": "private",
129296
+ "default": "''",
129363
129297
  "inheritedFrom": {
129364
- "name": "SbbFormFieldElement",
129365
- "module": "form-field/form-field/form-field.component.js"
129298
+ "name": "SbbButtonBaseElement",
129299
+ "module": "core/base-elements/button-base-element.js"
129366
129300
  }
129367
129301
  },
129368
129302
  {
129369
129303
  "kind": "field",
129370
- "name": "_language",
129304
+ "name": "_handleButtonClick",
129371
129305
  "privacy": "private",
129372
- "default": "new SbbLanguageController(this)",
129373
129306
  "inheritedFrom": {
129374
- "name": "SbbFormFieldElement",
129375
- "module": "form-field/form-field/form-field.component.js"
129307
+ "name": "SbbButtonBaseElement",
129308
+ "module": "core/base-elements/button-base-element.js"
129376
129309
  }
129377
129310
  },
129378
129311
  {
129379
- "kind": "field",
129380
- "name": "_formFieldAttributeObserver",
129312
+ "kind": "method",
129313
+ "name": "_requestSubmit",
129381
129314
  "privacy": "private",
129382
- "description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`.",
129315
+ "return": {
129316
+ "type": {
129317
+ "text": "void"
129318
+ }
129319
+ },
129320
+ "parameters": [
129321
+ {
129322
+ "name": "form",
129323
+ "type": {
129324
+ "text": "HTMLFormElement"
129325
+ }
129326
+ }
129327
+ ],
129383
129328
  "inheritedFrom": {
129384
- "name": "SbbFormFieldElement",
129385
- "module": "form-field/form-field/form-field.component.js"
129329
+ "name": "SbbButtonBaseElement",
129330
+ "module": "core/base-elements/button-base-element.js"
129386
129331
  }
129387
129332
  },
129388
129333
  {
129389
129334
  "kind": "field",
129390
- "name": "_inputFormAbortController",
129335
+ "name": "_formKeyDown",
129391
129336
  "privacy": "private",
129392
- "default": "new AbortController()",
129393
129337
  "inheritedFrom": {
129394
- "name": "SbbFormFieldElement",
129395
- "module": "form-field/form-field/form-field.component.js"
129338
+ "name": "SbbButtonBaseElement",
129339
+ "module": "core/base-elements/button-base-element.js"
129396
129340
  }
129397
129341
  },
129398
129342
  {
129399
129343
  "kind": "field",
129400
- "name": "_control",
129344
+ "name": "formAssociated",
129401
129345
  "type": {
129402
- "text": "SbbFormFieldElementControl | null"
129346
+ "text": "boolean"
129403
129347
  },
129404
- "privacy": "private",
129405
- "default": "null",
129348
+ "privacy": "public",
129349
+ "static": true,
129350
+ "default": "true",
129406
129351
  "inheritedFrom": {
129407
- "name": "SbbFormFieldElement",
129408
- "module": "form-field/form-field/form-field.component.js"
129352
+ "name": "SbbFormAssociatedMixin",
129353
+ "module": "core/mixins/form-associated-mixin.js"
129409
129354
  }
129410
129355
  },
129411
129356
  {
129412
- "kind": "method",
129413
- "name": "_handleWrapperClick",
129414
- "privacy": "private",
129415
- "return": {
129416
- "type": {
129417
- "text": "void"
129418
- }
129357
+ "kind": "field",
129358
+ "name": "name",
129359
+ "privacy": "public",
129360
+ "description": "Name of the form element. Will be read from name attribute.",
129361
+ "type": {
129362
+ "text": "string"
129419
129363
  },
129420
- "parameters": [
129421
- {
129422
- "name": "event",
129423
- "type": {
129424
- "text": "MouseEvent"
129425
- }
129426
- }
129427
- ],
129364
+ "attribute": "name",
129428
129365
  "inheritedFrom": {
129429
- "name": "SbbFormFieldElement",
129430
- "module": "form-field/form-field/form-field.component.js"
129366
+ "name": "SbbFormAssociatedMixin",
129367
+ "module": "core/mixins/form-associated-mixin.js"
129431
129368
  }
129432
129369
  },
129433
129370
  {
129434
- "kind": "method",
129435
- "name": "_isElementFocusExcluded",
129436
- "privacy": "private",
129437
- "return": {
129438
- "type": {
129439
- "text": "boolean"
129440
- }
129371
+ "kind": "field",
129372
+ "name": "validity",
129373
+ "type": {
129374
+ "text": "ValidityState"
129441
129375
  },
129442
- "parameters": [
129443
- {
129444
- "name": "event",
129445
- "type": {
129446
- "text": "Event"
129447
- }
129448
- }
129449
- ],
129376
+ "privacy": "public",
129377
+ "description": "Returns the ValidityState object for this element.",
129378
+ "readonly": true,
129450
129379
  "inheritedFrom": {
129451
- "name": "SbbFormFieldElement",
129452
- "module": "form-field/form-field/form-field.component.js"
129380
+ "name": "SbbFormAssociatedMixin",
129381
+ "module": "core/mixins/form-associated-mixin.js"
129453
129382
  }
129454
129383
  },
129455
129384
  {
129456
- "kind": "method",
129457
- "name": "_onSlotLabelChange",
129458
- "privacy": "private",
129459
- "return": {
129460
- "type": {
129461
- "text": "void"
129462
- }
129385
+ "kind": "field",
129386
+ "name": "validationMessage",
129387
+ "type": {
129388
+ "text": "string"
129463
129389
  },
129390
+ "privacy": "public",
129391
+ "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.",
129392
+ "readonly": true,
129464
129393
  "inheritedFrom": {
129465
- "name": "SbbFormFieldElement",
129466
- "module": "form-field/form-field/form-field.component.js"
129394
+ "name": "SbbFormAssociatedMixin",
129395
+ "module": "core/mixins/form-associated-mixin.js"
129467
129396
  }
129468
129397
  },
129469
129398
  {
129470
- "kind": "method",
129471
- "name": "_onSlotInputChange",
129472
- "privacy": "private",
129473
- "return": {
129474
- "type": {
129475
- "text": "void"
129476
- }
129399
+ "kind": "field",
129400
+ "name": "willValidate",
129401
+ "type": {
129402
+ "text": "boolean"
129477
129403
  },
129478
- "description": "It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.",
129404
+ "privacy": "public",
129405
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
129406
+ "readonly": true,
129479
129407
  "inheritedFrom": {
129480
- "name": "SbbFormFieldElement",
129481
- "module": "form-field/form-field/form-field.component.js"
129408
+ "name": "SbbFormAssociatedMixin",
129409
+ "module": "core/mixins/form-associated-mixin.js"
129482
129410
  }
129483
129411
  },
129484
129412
  {
129485
- "kind": "method",
129486
- "name": "_assignSlots",
129413
+ "kind": "field",
129414
+ "name": "_validityStates",
129487
129415
  "privacy": "private",
129488
- "return": {
129489
- "type": {
129490
- "text": "void"
129491
- }
129416
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
129417
+ "inheritedFrom": {
129418
+ "name": "SbbFormAssociatedMixin",
129419
+ "module": "core/mixins/form-associated-mixin.js"
129420
+ }
129421
+ },
129422
+ {
129423
+ "kind": "field",
129424
+ "name": "formDisabled",
129425
+ "type": {
129426
+ "text": "boolean"
129492
129427
  },
129428
+ "privacy": "protected",
129429
+ "default": "false",
129430
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
129493
129431
  "inheritedFrom": {
129494
- "name": "SbbFormFieldElement",
129495
- "module": "form-field/form-field/form-field.component.js"
129432
+ "name": "SbbFormAssociatedMixin",
129433
+ "module": "core/mixins/form-associated-mixin.js"
129496
129434
  }
129497
129435
  },
129498
129436
  {
129499
129437
  "kind": "method",
129500
- "name": "_connectInputElement",
129501
- "privacy": "private",
129438
+ "name": "checkValidity",
129439
+ "privacy": "public",
129502
129440
  "return": {
129503
129441
  "type": {
129504
- "text": "'changed' | 'no-input' | 'unchanged'"
129442
+ "text": "boolean"
129505
129443
  }
129506
129444
  },
129445
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
129507
129446
  "inheritedFrom": {
129508
- "name": "SbbFormFieldElement",
129509
- "module": "form-field/form-field/form-field.component.js"
129447
+ "name": "SbbFormAssociatedMixin",
129448
+ "module": "core/mixins/form-associated-mixin.js"
129510
129449
  }
129511
129450
  },
129512
129451
  {
129513
129452
  "kind": "method",
129514
- "name": "_syncLabelInputReferences",
129515
- "privacy": "private",
129453
+ "name": "reportValidity",
129454
+ "privacy": "public",
129516
129455
  "return": {
129517
129456
  "type": {
129518
- "text": "void"
129457
+ "text": "boolean"
129519
129458
  }
129520
129459
  },
129460
+ "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.",
129521
129461
  "inheritedFrom": {
129522
- "name": "SbbFormFieldElement",
129523
- "module": "form-field/form-field/form-field.component.js"
129462
+ "name": "SbbFormAssociatedMixin",
129463
+ "module": "core/mixins/form-associated-mixin.js"
129524
129464
  }
129525
129465
  },
129526
129466
  {
129527
129467
  "kind": "method",
129528
- "name": "_isInputElement",
129529
- "privacy": "private",
129468
+ "name": "setCustomValidity",
129469
+ "privacy": "public",
129530
129470
  "return": {
129531
129471
  "type": {
129532
- "text": "boolean"
129472
+ "text": "void"
129533
129473
  }
129534
129474
  },
129535
129475
  "parameters": [
129536
129476
  {
129537
- "name": "input",
129477
+ "name": "message",
129538
129478
  "type": {
129539
- "text": "Element"
129479
+ "text": "string"
129540
129480
  }
129541
129481
  }
129542
129482
  ],
129483
+ "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.",
129543
129484
  "inheritedFrom": {
129544
- "name": "SbbFormFieldElement",
129545
- "module": "form-field/form-field/form-field.component.js"
129485
+ "name": "SbbFormAssociatedMixin",
129486
+ "module": "core/mixins/form-associated-mixin.js"
129546
129487
  }
129547
129488
  },
129548
129489
  {
129549
129490
  "kind": "method",
129550
- "name": "_readInputState",
129491
+ "name": "_hasDisabledAncestor",
129551
129492
  "privacy": "private",
129552
129493
  "return": {
129553
129494
  "type": {
129554
- "text": "void"
129495
+ "text": "boolean"
129555
129496
  }
129556
129497
  },
129557
129498
  "inheritedFrom": {
129558
- "name": "SbbFormFieldElement",
129559
- "module": "form-field/form-field/form-field.component.js"
129499
+ "name": "SbbFormAssociatedMixin",
129500
+ "module": "core/mixins/form-associated-mixin.js"
129560
129501
  }
129561
129502
  },
129562
129503
  {
129563
129504
  "kind": "method",
129564
- "name": "_registerInputFormListener",
129565
- "privacy": "private",
129505
+ "name": "updateFormValue",
129506
+ "privacy": "protected",
129566
129507
  "return": {
129567
129508
  "type": {
129568
129509
  "text": "void"
129569
129510
  }
129570
129511
  },
129512
+ "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",
129571
129513
  "inheritedFrom": {
129572
- "name": "SbbFormFieldElement",
129573
- "module": "form-field/form-field/form-field.component.js"
129514
+ "name": "SbbFormAssociatedMixin",
129515
+ "module": "core/mixins/form-associated-mixin.js"
129574
129516
  }
129575
129517
  },
129576
129518
  {
129577
129519
  "kind": "method",
129578
- "name": "_patchInputValue",
129579
- "privacy": "private",
129520
+ "name": "formState",
129521
+ "privacy": "protected",
129580
129522
  "return": {
129581
129523
  "type": {
129582
- "text": "void"
129524
+ "text": "FormRestoreState"
129583
129525
  }
129584
129526
  },
129585
129527
  "inheritedFrom": {
129586
- "name": "SbbFormFieldElement",
129587
- "module": "form-field/form-field/form-field.component.js"
129528
+ "name": "SbbFormAssociatedMixin",
129529
+ "module": "core/mixins/form-associated-mixin.js"
129588
129530
  }
129589
129531
  },
129590
129532
  {
129591
129533
  "kind": "method",
129592
- "name": "_unpatchInputValue",
129593
- "privacy": "private",
129534
+ "name": "setValidityFlag",
129535
+ "privacy": "protected",
129594
129536
  "return": {
129595
129537
  "type": {
129596
129538
  "text": "void"
129597
129539
  }
129598
129540
  },
129541
+ "parameters": [
129542
+ {
129543
+ "name": "flag",
129544
+ "type": {
129545
+ "text": "T"
129546
+ }
129547
+ },
129548
+ {
129549
+ "name": "message",
129550
+ "type": {
129551
+ "text": "string"
129552
+ }
129553
+ },
129554
+ {
129555
+ "name": "flagValue",
129556
+ "optional": true,
129557
+ "type": {
129558
+ "text": "ValidityStateFlags[T]"
129559
+ }
129560
+ }
129561
+ ],
129562
+ "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).",
129599
129563
  "inheritedFrom": {
129600
- "name": "SbbFormFieldElement",
129601
- "module": "form-field/form-field/form-field.component.js"
129564
+ "name": "SbbFormAssociatedMixin",
129565
+ "module": "core/mixins/form-associated-mixin.js"
129602
129566
  }
129603
129567
  },
129604
129568
  {
129605
129569
  "kind": "method",
129606
- "name": "_checkAndUpdateInputEmpty",
129607
- "privacy": "private",
129570
+ "name": "removeValidityFlag",
129571
+ "privacy": "protected",
129608
129572
  "return": {
129609
129573
  "type": {
129610
129574
  "text": "void"
129611
129575
  }
129612
129576
  },
129577
+ "parameters": [
129578
+ {
129579
+ "name": "flag",
129580
+ "type": {
129581
+ "text": "T"
129582
+ }
129583
+ }
129584
+ ],
129585
+ "description": "Removes the validity state flag entry and updates validity state.",
129613
129586
  "inheritedFrom": {
129614
- "name": "SbbFormFieldElement",
129615
- "module": "form-field/form-field/form-field.component.js"
129587
+ "name": "SbbFormAssociatedMixin",
129588
+ "module": "core/mixins/form-associated-mixin.js"
129616
129589
  }
129617
129590
  },
129618
129591
  {
129619
129592
  "kind": "method",
129620
- "name": "_isInputEmpty",
129621
- "privacy": "private",
129593
+ "name": "validate",
129594
+ "privacy": "protected",
129622
129595
  "return": {
129623
129596
  "type": {
129624
- "text": "boolean"
129597
+ "text": "void"
129625
129598
  }
129626
129599
  },
129600
+ "description": "To be called whenever the current element needs to be validated.",
129627
129601
  "inheritedFrom": {
129628
- "name": "SbbFormFieldElement",
129629
- "module": "form-field/form-field/form-field.component.js"
129602
+ "name": "SbbFormAssociatedMixin",
129603
+ "module": "core/mixins/form-associated-mixin.js"
129630
129604
  }
129631
129605
  },
129632
129606
  {
129633
129607
  "kind": "method",
129634
- "name": "_isInputValueEmpty",
129635
- "privacy": "private",
129608
+ "name": "shouldValidate",
129609
+ "privacy": "protected",
129636
129610
  "return": {
129637
129611
  "type": {
129638
129612
  "text": "boolean"
129639
129613
  }
129640
129614
  },
129615
+ "parameters": [
129616
+ {
129617
+ "name": "name",
129618
+ "type": {
129619
+ "text": "PropertyKey | undefined"
129620
+ }
129621
+ }
129622
+ ],
129623
+ "description": "Whether validation should be run on a property change with the given name.",
129641
129624
  "inheritedFrom": {
129642
- "name": "SbbFormFieldElement",
129643
- "module": "form-field/form-field/form-field.component.js"
129625
+ "name": "SbbFormAssociatedMixin",
129626
+ "module": "core/mixins/form-associated-mixin.js"
129644
129627
  }
129645
129628
  },
129646
129629
  {
129647
129630
  "kind": "method",
129648
- "name": "_onSlotErrorChange",
129631
+ "name": "_setInternalValidity",
129649
129632
  "privacy": "private",
129650
129633
  "return": {
129651
129634
  "type": {
129652
129635
  "text": "void"
129653
129636
  }
129654
129637
  },
129638
+ "inheritedFrom": {
129639
+ "name": "SbbFormAssociatedMixin",
129640
+ "module": "core/mixins/form-associated-mixin.js"
129641
+ }
129642
+ },
129643
+ {
129644
+ "kind": "field",
129645
+ "name": "role",
129646
+ "type": {
129647
+ "text": "ElementInternals['role']"
129648
+ },
129649
+ "privacy": "public",
129650
+ "static": true,
129651
+ "readonly": true,
129652
+ "default": "'button'",
129653
+ "inheritedFrom": {
129654
+ "name": "SbbButtonLikeBaseElement",
129655
+ "module": "core/base-elements/button-base-element.js"
129656
+ }
129657
+ },
129658
+ {
129659
+ "kind": "field",
129660
+ "name": "_preventScrollOnSpaceKeydown",
129661
+ "privacy": "private",
129662
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
129655
129663
  "parameters": [
129656
129664
  {
129657
- "name": "event",
129658
- "type": {
129659
- "text": "Event"
129660
- }
129665
+ "description": "The origin event.",
129666
+ "name": "event"
129661
129667
  }
129662
129668
  ],
129663
- "description": "It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-error> instances.",
129664
129669
  "inheritedFrom": {
129665
- "name": "SbbFormFieldElement",
129666
- "module": "form-field/form-field/form-field.component.js"
129670
+ "name": "SbbButtonLikeBaseElement",
129671
+ "module": "core/base-elements/button-base-element.js"
129667
129672
  }
129668
129673
  },
129669
129674
  {
129670
- "kind": "method",
129671
- "name": "_assignErrorMessageElements",
129675
+ "kind": "field",
129676
+ "name": "_removeActiveMarker",
129672
129677
  "privacy": "private",
129673
- "return": {
129674
- "type": {
129675
- "text": "void"
129678
+ "inheritedFrom": {
129679
+ "name": "SbbButtonLikeBaseElement",
129680
+ "module": "core/base-elements/button-base-element.js"
129681
+ }
129682
+ },
129683
+ {
129684
+ "kind": "field",
129685
+ "name": "_dispatchClickEventOnSpaceKeyup",
129686
+ "privacy": "private",
129687
+ "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.",
129688
+ "parameters": [
129689
+ {
129690
+ "description": "The origin event.",
129691
+ "name": "event"
129676
129692
  }
129677
- },
129693
+ ],
129678
129694
  "inheritedFrom": {
129679
- "name": "SbbFormFieldElement",
129680
- "module": "form-field/form-field/form-field.component.js"
129695
+ "name": "SbbButtonLikeBaseElement",
129696
+ "module": "core/base-elements/button-base-element.js"
129681
129697
  }
129682
129698
  },
129683
129699
  {
129684
- "kind": "method",
129685
- "name": "reset",
129686
- "privacy": "public",
129687
- "return": {
129688
- "type": {
129689
- "text": "void"
129690
- }
129691
- },
129692
- "description": "Manually reset the form field. Currently, this only resets the floating label.",
129700
+ "kind": "field",
129701
+ "name": "_dispatchClickEvent",
129702
+ "privacy": "private",
129693
129703
  "inheritedFrom": {
129694
- "name": "SbbFormFieldElement",
129695
- "module": "form-field/form-field/form-field.component.js"
129704
+ "name": "SbbButtonLikeBaseElement",
129705
+ "module": "core/base-elements/button-base-element.js"
129696
129706
  }
129697
129707
  },
129698
129708
  {
129699
- "kind": "method",
129700
- "name": "clear",
129701
- "privacy": "public",
129702
- "return": {
129703
- "type": {
129704
- "text": "void"
129705
- }
129709
+ "kind": "field",
129710
+ "name": "maybeDisabled",
129711
+ "type": {
129712
+ "text": "boolean | undefined"
129706
129713
  },
129707
- "description": "Manually clears the input value. It only works for inputs, selects are not supported.",
129714
+ "privacy": "protected",
129715
+ "readonly": true,
129708
129716
  "inheritedFrom": {
129709
- "name": "SbbFormFieldElement",
129710
- "module": "form-field/form-field/form-field.component.js"
129717
+ "name": "SbbActionBaseElement",
129718
+ "module": "core/base-elements/action-base-element.js"
129711
129719
  }
129712
129720
  },
129713
129721
  {
129714
- "kind": "method",
129715
- "name": "_syncNegative",
129716
- "privacy": "private",
129717
- "return": {
129718
- "type": {
129719
- "text": "void"
129720
- }
129722
+ "kind": "field",
129723
+ "name": "maybeDisabledInteractive",
129724
+ "type": {
129725
+ "text": "boolean | undefined"
129721
129726
  },
129727
+ "privacy": "protected",
129728
+ "readonly": true,
129722
129729
  "inheritedFrom": {
129723
- "name": "SbbFormFieldElement",
129724
- "module": "form-field/form-field/form-field.component.js"
129730
+ "name": "SbbActionBaseElement",
129731
+ "module": "core/base-elements/action-base-element.js"
129725
129732
  }
129726
129733
  },
129727
129734
  {
129728
129735
  "kind": "method",
129729
- "name": "_syncSize",
129730
- "privacy": "private",
129736
+ "name": "setupBaseEventHandlers",
129737
+ "privacy": "protected",
129731
129738
  "return": {
129732
129739
  "type": {
129733
129740
  "text": "void"
129734
129741
  }
129735
129742
  },
129736
129743
  "inheritedFrom": {
129737
- "name": "SbbFormFieldElement",
129738
- "module": "form-field/form-field/form-field.component.js"
129744
+ "name": "SbbActionBaseElement",
129745
+ "module": "core/base-elements/action-base-element.js"
129739
129746
  }
129740
129747
  },
129741
129748
  {
@@ -129845,12 +129852,38 @@
129845
129852
  }
129846
129853
  ],
129847
129854
  "superclass": {
129848
- "name": "SbbFormFieldElement",
129849
- "module": "form-field.pure.js"
129855
+ "name": "SbbSecondaryButtonElement",
129856
+ "module": "button/secondary-button.js"
129850
129857
  },
129851
- "tagName": "sbb-timetable-form-field",
129858
+ "tagName": "sbb-timetable-form-swap-button",
129852
129859
  "customElement": true,
129853
129860
  "attributes": [
129861
+ {
129862
+ "name": "size",
129863
+ "type": {
129864
+ "text": "SbbButtonSize"
129865
+ },
129866
+ "description": "Size variant, either l, m or s.",
129867
+ "default": "'l' / 's' (lean)",
129868
+ "fieldName": "size",
129869
+ "inheritedFrom": {
129870
+ "name": "SbbButtonCommonElementMixin",
129871
+ "module": "button/common/button-common.js"
129872
+ }
129873
+ },
129874
+ {
129875
+ "name": "loading",
129876
+ "type": {
129877
+ "text": "boolean"
129878
+ },
129879
+ "default": "false",
129880
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
129881
+ "fieldName": "loading",
129882
+ "inheritedFrom": {
129883
+ "name": "SbbButtonCommonElementMixin",
129884
+ "module": "button/common/button-common.js"
129885
+ }
129886
+ },
129854
129887
  {
129855
129888
  "name": "negative",
129856
129889
  "type": {
@@ -129865,154 +129898,121 @@
129865
129898
  }
129866
129899
  },
129867
129900
  {
129868
- "name": "error-space",
129901
+ "name": "icon-name",
129869
129902
  "type": {
129870
- "text": "'none' | 'reserve'"
129903
+ "text": "string"
129871
129904
  },
129872
- "default": "'none'",
129873
- "description": "Whether to reserve space for an error message.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
129874
- "fieldName": "errorSpace",
129905
+ "default": "''",
129906
+ "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.",
129907
+ "fieldName": "iconName",
129875
129908
  "inheritedFrom": {
129876
- "name": "SbbFormFieldElement",
129877
- "module": "form-field/form-field/form-field.component.js"
129909
+ "name": "SbbIconNameMixin",
129910
+ "module": "icon/icon-name-mixin.js"
129878
129911
  }
129879
129912
  },
129880
129913
  {
129881
- "name": "optional",
129914
+ "name": "disabled-interactive",
129882
129915
  "type": {
129883
129916
  "text": "boolean"
129884
129917
  },
129885
129918
  "default": "false",
129886
- "description": "Indicates whether the input is optional.",
129887
- "fieldName": "optional",
129919
+ "description": "Whether the button should be aria-disabled but stay interactive.",
129920
+ "fieldName": "disabledInteractive",
129888
129921
  "inheritedFrom": {
129889
- "name": "SbbFormFieldElement",
129890
- "module": "form-field/form-field/form-field.component.js"
129922
+ "name": "SbbDisabledInteractiveMixin",
129923
+ "module": "core/mixins/disabled-mixin.js"
129891
129924
  }
129892
129925
  },
129893
129926
  {
129894
- "name": "size",
129927
+ "name": "disabled",
129928
+ "description": "Whether the component is disabled.",
129929
+ "default": "false",
129895
129930
  "type": {
129896
- "text": "'l' | 'm' | 's'"
129931
+ "text": "boolean"
129897
129932
  },
129898
- "description": "Size variant, either l, m or s.",
129899
- "default": "'m' / 's' (lean)",
129900
- "fieldName": "size",
129933
+ "fieldName": "disabled",
129901
129934
  "inheritedFrom": {
129902
- "name": "SbbFormFieldElement",
129903
- "module": "form-field/form-field/form-field.component.js"
129935
+ "name": "SbbDisabledMixin",
129936
+ "module": "core/mixins/disabled-mixin.js"
129904
129937
  }
129905
129938
  },
129906
129939
  {
129907
- "name": "borderless",
129940
+ "name": "value",
129908
129941
  "type": {
129909
- "text": "boolean"
129942
+ "text": "string"
129910
129943
  },
129911
- "default": "false",
129912
- "description": "Whether to display the form field without a border.",
129913
- "fieldName": "borderless",
129944
+ "default": "''",
129945
+ "description": "Value of the form element.",
129946
+ "fieldName": "value",
129914
129947
  "inheritedFrom": {
129915
- "name": "SbbFormFieldElement",
129916
- "module": "form-field/form-field/form-field.component.js"
129948
+ "name": "SbbButtonBaseElement",
129949
+ "module": "core/base-elements/button-base-element.js"
129917
129950
  }
129918
129951
  },
129919
129952
  {
129920
- "name": "width",
129953
+ "name": "type",
129954
+ "description": "The type attribute to use for the button.",
129955
+ "default": "'button'",
129921
129956
  "type": {
129922
- "text": "'default' | 'collapse'"
129957
+ "text": "SbbButtonType"
129923
129958
  },
129924
- "default": "'default'",
129925
- "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
129926
- "fieldName": "width",
129959
+ "fieldName": "type",
129927
129960
  "inheritedFrom": {
129928
- "name": "SbbFormFieldElement",
129929
- "module": "form-field/form-field/form-field.component.js"
129961
+ "name": "SbbButtonBaseElement",
129962
+ "module": "core/base-elements/button-base-element.js"
129930
129963
  }
129931
129964
  },
129932
129965
  {
129933
- "name": "hidden-label",
129966
+ "name": "form",
129967
+ "description": "The `<form>` element to associate the button with.",
129934
129968
  "type": {
129935
- "text": "boolean"
129969
+ "text": "HTMLFormElement | null"
129936
129970
  },
129937
- "default": "false",
129938
- "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
129939
- "fieldName": "hiddenLabel",
129971
+ "fieldName": "form",
129940
129972
  "inheritedFrom": {
129941
- "name": "SbbFormFieldElement",
129942
- "module": "form-field/form-field/form-field.component.js"
129973
+ "name": "SbbButtonBaseElement",
129974
+ "module": "core/base-elements/button-base-element.js"
129943
129975
  }
129944
129976
  },
129945
129977
  {
129946
- "name": "floating-label",
129978
+ "name": "name",
129979
+ "description": "Name of the form element. Will be read from name attribute.",
129947
129980
  "type": {
129948
- "text": "boolean"
129981
+ "text": "string"
129949
129982
  },
129950
- "default": "false",
129951
- "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
129952
- "fieldName": "floatingLabel",
129983
+ "fieldName": "name",
129953
129984
  "inheritedFrom": {
129954
- "name": "SbbFormFieldElement",
129955
- "module": "form-field/form-field/form-field.component.js"
129985
+ "name": "SbbFormAssociatedMixin",
129986
+ "module": "core/mixins/form-associated-mixin.js"
129956
129987
  }
129957
129988
  }
129958
129989
  ],
129959
129990
  "slots": [
129960
129991
  {
129961
- "description": "Use this slot to render an input/select or a supported non-native element.",
129992
+ "description": "Use the unnamed slot to add content to the secondary-button.",
129962
129993
  "name": "",
129963
129994
  "inheritedFrom": {
129964
- "name": "SbbFormFieldElement",
129965
- "module": "form-field/form-field/form-field.component.js"
129966
- }
129967
- },
129968
- {
129969
- "description": "Use this slot to render a label.",
129970
- "name": "label",
129971
- "inheritedFrom": {
129972
- "name": "SbbFormFieldElement",
129973
- "module": "form-field/form-field/form-field.component.js"
129974
- }
129975
- },
129976
- {
129977
- "description": "Use this slot to render an icon on the left side of the input.",
129978
- "name": "prefix",
129979
- "inheritedFrom": {
129980
- "name": "SbbFormFieldElement",
129981
- "module": "form-field/form-field/form-field.component.js"
129982
- }
129983
- },
129984
- {
129985
- "description": "Use this slot to render an icon on the right side of the input.",
129986
- "name": "suffix",
129987
- "inheritedFrom": {
129988
- "name": "SbbFormFieldElement",
129989
- "module": "form-field/form-field/form-field.component.js"
129995
+ "name": "SbbSecondaryButtonElement",
129996
+ "module": "button/secondary-button/secondary-button.component.js"
129990
129997
  }
129991
129998
  },
129992
129999
  {
129993
- "description": "Use this slot to render an error.",
129994
- "name": "error",
130000
+ "description": "Slot used to display the icon, if one is set.",
130001
+ "name": "icon",
129995
130002
  "inheritedFrom": {
129996
- "name": "SbbFormFieldElement",
129997
- "module": "form-field/form-field/form-field.component.js"
130003
+ "name": "SbbSecondaryButtonElement",
130004
+ "module": "button/secondary-button/secondary-button.component.js"
129998
130005
  }
129999
130006
  }
130000
130007
  ],
130001
130008
  "cssProperties": [
130002
130009
  {
130003
- "description": "To override the focus outline offset,",
130004
- "name": "--sbb-form-field-outline-offset",
130005
- "inheritedFrom": {
130006
- "name": "SbbFormFieldElement",
130007
- "module": "form-field/form-field/form-field.component.js"
130008
- }
130009
- },
130010
- {
130011
- "description": "To override the z-index of the focus underline effect,",
130012
- "name": "--sbb-form-field-focus-underline-z-index",
130010
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
130011
+ "name": "--sbb-button-loading-delay",
130012
+ "default": "300ms",
130013
130013
  "inheritedFrom": {
130014
- "name": "SbbFormFieldElement",
130015
- "module": "form-field/form-field/form-field.component.js"
130014
+ "name": "SbbSecondaryButtonElement",
130015
+ "module": "button/secondary-button/secondary-button.component.js"
130016
130016
  }
130017
130017
  }
130018
130018
  ]
@@ -130021,10 +130021,10 @@
130021
130021
  "exports": [
130022
130022
  {
130023
130023
  "kind": "js",
130024
- "name": "SbbTimetableFormFieldElement",
130024
+ "name": "SbbTimetableFormSwapButtonElement",
130025
130025
  "declaration": {
130026
- "name": "SbbTimetableFormFieldElement",
130027
- "module": "timetable-form/timetable-form-field/timetable-form-field.component.js"
130026
+ "name": "SbbTimetableFormSwapButtonElement",
130027
+ "module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
130028
130028
  }
130029
130029
  }
130030
130030
  ]