@sbb-esta/lyne-elements-dev 4.5.1-dev.1772034641 → 4.5.1-dev.1772034938
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +872 -872
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -52177,228 +52177,6 @@
|
|
|
52177
52177
|
}
|
|
52178
52178
|
]
|
|
52179
52179
|
},
|
|
52180
|
-
{
|
|
52181
|
-
"kind": "javascript-module",
|
|
52182
|
-
"path": "core/decorators/base.js",
|
|
52183
|
-
"declarations": [],
|
|
52184
|
-
"exports": []
|
|
52185
|
-
},
|
|
52186
|
-
{
|
|
52187
|
-
"kind": "javascript-module",
|
|
52188
|
-
"path": "core/decorators/force-type.js",
|
|
52189
|
-
"declarations": [
|
|
52190
|
-
{
|
|
52191
|
-
"kind": "function",
|
|
52192
|
-
"name": "forceType",
|
|
52193
|
-
"return": {
|
|
52194
|
-
"type": {
|
|
52195
|
-
"text": "PropertyDecorator"
|
|
52196
|
-
}
|
|
52197
|
-
},
|
|
52198
|
-
"parameters": [
|
|
52199
|
-
{
|
|
52200
|
-
"name": "convert",
|
|
52201
|
-
"optional": true,
|
|
52202
|
-
"type": {
|
|
52203
|
-
"text": "(v: unknown) => V"
|
|
52204
|
-
}
|
|
52205
|
-
}
|
|
52206
|
-
],
|
|
52207
|
-
"description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
|
|
52208
|
-
}
|
|
52209
|
-
],
|
|
52210
|
-
"exports": [
|
|
52211
|
-
{
|
|
52212
|
-
"kind": "js",
|
|
52213
|
-
"name": "forceType",
|
|
52214
|
-
"declaration": {
|
|
52215
|
-
"name": "forceType",
|
|
52216
|
-
"module": "core/decorators/force-type.js"
|
|
52217
|
-
}
|
|
52218
|
-
}
|
|
52219
|
-
]
|
|
52220
|
-
},
|
|
52221
|
-
{
|
|
52222
|
-
"kind": "javascript-module",
|
|
52223
|
-
"path": "core/decorators/get-override.js",
|
|
52224
|
-
"declarations": [
|
|
52225
|
-
{
|
|
52226
|
-
"kind": "function",
|
|
52227
|
-
"name": "getOverride",
|
|
52228
|
-
"parameters": [
|
|
52229
|
-
{
|
|
52230
|
-
"name": "callback",
|
|
52231
|
-
"type": {
|
|
52232
|
-
"text": "(instance: C, innerValue: V) => V"
|
|
52233
|
-
}
|
|
52234
|
-
}
|
|
52235
|
-
],
|
|
52236
|
-
"description": "Decorator that overrides the underlying getter of the accessor."
|
|
52237
|
-
}
|
|
52238
|
-
],
|
|
52239
|
-
"exports": [
|
|
52240
|
-
{
|
|
52241
|
-
"kind": "js",
|
|
52242
|
-
"name": "getOverride",
|
|
52243
|
-
"declaration": {
|
|
52244
|
-
"name": "getOverride",
|
|
52245
|
-
"module": "core/decorators/get-override.js"
|
|
52246
|
-
}
|
|
52247
|
-
}
|
|
52248
|
-
]
|
|
52249
|
-
},
|
|
52250
|
-
{
|
|
52251
|
-
"kind": "javascript-module",
|
|
52252
|
-
"path": "core/decorators/handle-distinct-change.js",
|
|
52253
|
-
"declarations": [
|
|
52254
|
-
{
|
|
52255
|
-
"kind": "function",
|
|
52256
|
-
"name": "handleDistinctChange",
|
|
52257
|
-
"parameters": [
|
|
52258
|
-
{
|
|
52259
|
-
"name": "callback",
|
|
52260
|
-
"type": {
|
|
52261
|
-
"text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
|
|
52262
|
-
}
|
|
52263
|
-
}
|
|
52264
|
-
],
|
|
52265
|
-
"description": "Decorator that calls the given callback when the value\nof the associated property is changed."
|
|
52266
|
-
}
|
|
52267
|
-
],
|
|
52268
|
-
"exports": [
|
|
52269
|
-
{
|
|
52270
|
-
"kind": "js",
|
|
52271
|
-
"name": "handleDistinctChange",
|
|
52272
|
-
"declaration": {
|
|
52273
|
-
"name": "handleDistinctChange",
|
|
52274
|
-
"module": "core/decorators/handle-distinct-change.js"
|
|
52275
|
-
}
|
|
52276
|
-
}
|
|
52277
|
-
]
|
|
52278
|
-
},
|
|
52279
|
-
{
|
|
52280
|
-
"kind": "javascript-module",
|
|
52281
|
-
"path": "core/decorators/host-attributes.js",
|
|
52282
|
-
"declarations": [
|
|
52283
|
-
{
|
|
52284
|
-
"kind": "function",
|
|
52285
|
-
"name": "hostAttributes",
|
|
52286
|
-
"parameters": [
|
|
52287
|
-
{
|
|
52288
|
-
"name": "attributes",
|
|
52289
|
-
"type": {
|
|
52290
|
-
"text": "Record<string, string | null>"
|
|
52291
|
-
},
|
|
52292
|
-
"description": "A record of attributes to apply to the element."
|
|
52293
|
-
}
|
|
52294
|
-
],
|
|
52295
|
-
"description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value."
|
|
52296
|
-
}
|
|
52297
|
-
],
|
|
52298
|
-
"exports": [
|
|
52299
|
-
{
|
|
52300
|
-
"kind": "js",
|
|
52301
|
-
"name": "hostAttributes",
|
|
52302
|
-
"declaration": {
|
|
52303
|
-
"name": "hostAttributes",
|
|
52304
|
-
"module": "core/decorators/host-attributes.js"
|
|
52305
|
-
}
|
|
52306
|
-
}
|
|
52307
|
-
]
|
|
52308
|
-
},
|
|
52309
|
-
{
|
|
52310
|
-
"kind": "javascript-module",
|
|
52311
|
-
"path": "core/decorators/id-reference.js",
|
|
52312
|
-
"declarations": [
|
|
52313
|
-
{
|
|
52314
|
-
"kind": "function",
|
|
52315
|
-
"name": "idReference",
|
|
52316
|
-
"description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
|
|
52317
|
-
}
|
|
52318
|
-
],
|
|
52319
|
-
"exports": [
|
|
52320
|
-
{
|
|
52321
|
-
"kind": "js",
|
|
52322
|
-
"name": "idReference",
|
|
52323
|
-
"declaration": {
|
|
52324
|
-
"name": "idReference",
|
|
52325
|
-
"module": "core/decorators/id-reference.js"
|
|
52326
|
-
}
|
|
52327
|
-
}
|
|
52328
|
-
]
|
|
52329
|
-
},
|
|
52330
|
-
{
|
|
52331
|
-
"kind": "javascript-module",
|
|
52332
|
-
"path": "core/decorators/omit-empty-converter.js",
|
|
52333
|
-
"declarations": [
|
|
52334
|
-
{
|
|
52335
|
-
"kind": "variable",
|
|
52336
|
-
"name": "omitEmptyConverter",
|
|
52337
|
-
"type": {
|
|
52338
|
-
"text": "ComplexAttributeConverter"
|
|
52339
|
-
},
|
|
52340
|
-
"default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
|
|
52341
|
-
"description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
|
|
52342
|
-
}
|
|
52343
|
-
],
|
|
52344
|
-
"exports": [
|
|
52345
|
-
{
|
|
52346
|
-
"kind": "js",
|
|
52347
|
-
"name": "omitEmptyConverter",
|
|
52348
|
-
"declaration": {
|
|
52349
|
-
"name": "omitEmptyConverter",
|
|
52350
|
-
"module": "core/decorators/omit-empty-converter.js"
|
|
52351
|
-
}
|
|
52352
|
-
}
|
|
52353
|
-
]
|
|
52354
|
-
},
|
|
52355
|
-
{
|
|
52356
|
-
"kind": "javascript-module",
|
|
52357
|
-
"path": "core/decorators/plain-date.js",
|
|
52358
|
-
"declarations": [
|
|
52359
|
-
{
|
|
52360
|
-
"kind": "variable",
|
|
52361
|
-
"name": "plainDateConverter",
|
|
52362
|
-
"type": {
|
|
52363
|
-
"text": "ComplexAttributeConverter"
|
|
52364
|
-
},
|
|
52365
|
-
"default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
|
|
52366
|
-
"description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
|
|
52367
|
-
},
|
|
52368
|
-
{
|
|
52369
|
-
"kind": "function",
|
|
52370
|
-
"name": "plainDate",
|
|
52371
|
-
"parameters": [
|
|
52372
|
-
{
|
|
52373
|
-
"name": "config",
|
|
52374
|
-
"optional": true,
|
|
52375
|
-
"type": {
|
|
52376
|
-
"text": "SbbPlainDateConfiguration"
|
|
52377
|
-
}
|
|
52378
|
-
}
|
|
52379
|
-
],
|
|
52380
|
-
"description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
|
|
52381
|
-
}
|
|
52382
|
-
],
|
|
52383
|
-
"exports": [
|
|
52384
|
-
{
|
|
52385
|
-
"kind": "js",
|
|
52386
|
-
"name": "plainDateConverter",
|
|
52387
|
-
"declaration": {
|
|
52388
|
-
"name": "plainDateConverter",
|
|
52389
|
-
"module": "core/decorators/plain-date.js"
|
|
52390
|
-
}
|
|
52391
|
-
},
|
|
52392
|
-
{
|
|
52393
|
-
"kind": "js",
|
|
52394
|
-
"name": "plainDate",
|
|
52395
|
-
"declaration": {
|
|
52396
|
-
"name": "plainDate",
|
|
52397
|
-
"module": "core/decorators/plain-date.js"
|
|
52398
|
-
}
|
|
52399
|
-
}
|
|
52400
|
-
]
|
|
52401
|
-
},
|
|
52402
52180
|
{
|
|
52403
52181
|
"kind": "javascript-module",
|
|
52404
52182
|
"path": "core/dom/animation.js",
|
|
@@ -52837,6 +52615,228 @@
|
|
|
52837
52615
|
}
|
|
52838
52616
|
]
|
|
52839
52617
|
},
|
|
52618
|
+
{
|
|
52619
|
+
"kind": "javascript-module",
|
|
52620
|
+
"path": "core/decorators/base.js",
|
|
52621
|
+
"declarations": [],
|
|
52622
|
+
"exports": []
|
|
52623
|
+
},
|
|
52624
|
+
{
|
|
52625
|
+
"kind": "javascript-module",
|
|
52626
|
+
"path": "core/decorators/force-type.js",
|
|
52627
|
+
"declarations": [
|
|
52628
|
+
{
|
|
52629
|
+
"kind": "function",
|
|
52630
|
+
"name": "forceType",
|
|
52631
|
+
"return": {
|
|
52632
|
+
"type": {
|
|
52633
|
+
"text": "PropertyDecorator"
|
|
52634
|
+
}
|
|
52635
|
+
},
|
|
52636
|
+
"parameters": [
|
|
52637
|
+
{
|
|
52638
|
+
"name": "convert",
|
|
52639
|
+
"optional": true,
|
|
52640
|
+
"type": {
|
|
52641
|
+
"text": "(v: unknown) => V"
|
|
52642
|
+
}
|
|
52643
|
+
}
|
|
52644
|
+
],
|
|
52645
|
+
"description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
|
|
52646
|
+
}
|
|
52647
|
+
],
|
|
52648
|
+
"exports": [
|
|
52649
|
+
{
|
|
52650
|
+
"kind": "js",
|
|
52651
|
+
"name": "forceType",
|
|
52652
|
+
"declaration": {
|
|
52653
|
+
"name": "forceType",
|
|
52654
|
+
"module": "core/decorators/force-type.js"
|
|
52655
|
+
}
|
|
52656
|
+
}
|
|
52657
|
+
]
|
|
52658
|
+
},
|
|
52659
|
+
{
|
|
52660
|
+
"kind": "javascript-module",
|
|
52661
|
+
"path": "core/decorators/get-override.js",
|
|
52662
|
+
"declarations": [
|
|
52663
|
+
{
|
|
52664
|
+
"kind": "function",
|
|
52665
|
+
"name": "getOverride",
|
|
52666
|
+
"parameters": [
|
|
52667
|
+
{
|
|
52668
|
+
"name": "callback",
|
|
52669
|
+
"type": {
|
|
52670
|
+
"text": "(instance: C, innerValue: V) => V"
|
|
52671
|
+
}
|
|
52672
|
+
}
|
|
52673
|
+
],
|
|
52674
|
+
"description": "Decorator that overrides the underlying getter of the accessor."
|
|
52675
|
+
}
|
|
52676
|
+
],
|
|
52677
|
+
"exports": [
|
|
52678
|
+
{
|
|
52679
|
+
"kind": "js",
|
|
52680
|
+
"name": "getOverride",
|
|
52681
|
+
"declaration": {
|
|
52682
|
+
"name": "getOverride",
|
|
52683
|
+
"module": "core/decorators/get-override.js"
|
|
52684
|
+
}
|
|
52685
|
+
}
|
|
52686
|
+
]
|
|
52687
|
+
},
|
|
52688
|
+
{
|
|
52689
|
+
"kind": "javascript-module",
|
|
52690
|
+
"path": "core/decorators/handle-distinct-change.js",
|
|
52691
|
+
"declarations": [
|
|
52692
|
+
{
|
|
52693
|
+
"kind": "function",
|
|
52694
|
+
"name": "handleDistinctChange",
|
|
52695
|
+
"parameters": [
|
|
52696
|
+
{
|
|
52697
|
+
"name": "callback",
|
|
52698
|
+
"type": {
|
|
52699
|
+
"text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
|
|
52700
|
+
}
|
|
52701
|
+
}
|
|
52702
|
+
],
|
|
52703
|
+
"description": "Decorator that calls the given callback when the value\nof the associated property is changed."
|
|
52704
|
+
}
|
|
52705
|
+
],
|
|
52706
|
+
"exports": [
|
|
52707
|
+
{
|
|
52708
|
+
"kind": "js",
|
|
52709
|
+
"name": "handleDistinctChange",
|
|
52710
|
+
"declaration": {
|
|
52711
|
+
"name": "handleDistinctChange",
|
|
52712
|
+
"module": "core/decorators/handle-distinct-change.js"
|
|
52713
|
+
}
|
|
52714
|
+
}
|
|
52715
|
+
]
|
|
52716
|
+
},
|
|
52717
|
+
{
|
|
52718
|
+
"kind": "javascript-module",
|
|
52719
|
+
"path": "core/decorators/host-attributes.js",
|
|
52720
|
+
"declarations": [
|
|
52721
|
+
{
|
|
52722
|
+
"kind": "function",
|
|
52723
|
+
"name": "hostAttributes",
|
|
52724
|
+
"parameters": [
|
|
52725
|
+
{
|
|
52726
|
+
"name": "attributes",
|
|
52727
|
+
"type": {
|
|
52728
|
+
"text": "Record<string, string | null>"
|
|
52729
|
+
},
|
|
52730
|
+
"description": "A record of attributes to apply to the element."
|
|
52731
|
+
}
|
|
52732
|
+
],
|
|
52733
|
+
"description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value."
|
|
52734
|
+
}
|
|
52735
|
+
],
|
|
52736
|
+
"exports": [
|
|
52737
|
+
{
|
|
52738
|
+
"kind": "js",
|
|
52739
|
+
"name": "hostAttributes",
|
|
52740
|
+
"declaration": {
|
|
52741
|
+
"name": "hostAttributes",
|
|
52742
|
+
"module": "core/decorators/host-attributes.js"
|
|
52743
|
+
}
|
|
52744
|
+
}
|
|
52745
|
+
]
|
|
52746
|
+
},
|
|
52747
|
+
{
|
|
52748
|
+
"kind": "javascript-module",
|
|
52749
|
+
"path": "core/decorators/id-reference.js",
|
|
52750
|
+
"declarations": [
|
|
52751
|
+
{
|
|
52752
|
+
"kind": "function",
|
|
52753
|
+
"name": "idReference",
|
|
52754
|
+
"description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
|
|
52755
|
+
}
|
|
52756
|
+
],
|
|
52757
|
+
"exports": [
|
|
52758
|
+
{
|
|
52759
|
+
"kind": "js",
|
|
52760
|
+
"name": "idReference",
|
|
52761
|
+
"declaration": {
|
|
52762
|
+
"name": "idReference",
|
|
52763
|
+
"module": "core/decorators/id-reference.js"
|
|
52764
|
+
}
|
|
52765
|
+
}
|
|
52766
|
+
]
|
|
52767
|
+
},
|
|
52768
|
+
{
|
|
52769
|
+
"kind": "javascript-module",
|
|
52770
|
+
"path": "core/decorators/omit-empty-converter.js",
|
|
52771
|
+
"declarations": [
|
|
52772
|
+
{
|
|
52773
|
+
"kind": "variable",
|
|
52774
|
+
"name": "omitEmptyConverter",
|
|
52775
|
+
"type": {
|
|
52776
|
+
"text": "ComplexAttributeConverter"
|
|
52777
|
+
},
|
|
52778
|
+
"default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
|
|
52779
|
+
"description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
|
|
52780
|
+
}
|
|
52781
|
+
],
|
|
52782
|
+
"exports": [
|
|
52783
|
+
{
|
|
52784
|
+
"kind": "js",
|
|
52785
|
+
"name": "omitEmptyConverter",
|
|
52786
|
+
"declaration": {
|
|
52787
|
+
"name": "omitEmptyConverter",
|
|
52788
|
+
"module": "core/decorators/omit-empty-converter.js"
|
|
52789
|
+
}
|
|
52790
|
+
}
|
|
52791
|
+
]
|
|
52792
|
+
},
|
|
52793
|
+
{
|
|
52794
|
+
"kind": "javascript-module",
|
|
52795
|
+
"path": "core/decorators/plain-date.js",
|
|
52796
|
+
"declarations": [
|
|
52797
|
+
{
|
|
52798
|
+
"kind": "variable",
|
|
52799
|
+
"name": "plainDateConverter",
|
|
52800
|
+
"type": {
|
|
52801
|
+
"text": "ComplexAttributeConverter"
|
|
52802
|
+
},
|
|
52803
|
+
"default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
|
|
52804
|
+
"description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
|
|
52805
|
+
},
|
|
52806
|
+
{
|
|
52807
|
+
"kind": "function",
|
|
52808
|
+
"name": "plainDate",
|
|
52809
|
+
"parameters": [
|
|
52810
|
+
{
|
|
52811
|
+
"name": "config",
|
|
52812
|
+
"optional": true,
|
|
52813
|
+
"type": {
|
|
52814
|
+
"text": "SbbPlainDateConfiguration"
|
|
52815
|
+
}
|
|
52816
|
+
}
|
|
52817
|
+
],
|
|
52818
|
+
"description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
|
|
52819
|
+
}
|
|
52820
|
+
],
|
|
52821
|
+
"exports": [
|
|
52822
|
+
{
|
|
52823
|
+
"kind": "js",
|
|
52824
|
+
"name": "plainDateConverter",
|
|
52825
|
+
"declaration": {
|
|
52826
|
+
"name": "plainDateConverter",
|
|
52827
|
+
"module": "core/decorators/plain-date.js"
|
|
52828
|
+
}
|
|
52829
|
+
},
|
|
52830
|
+
{
|
|
52831
|
+
"kind": "js",
|
|
52832
|
+
"name": "plainDate",
|
|
52833
|
+
"declaration": {
|
|
52834
|
+
"name": "plainDate",
|
|
52835
|
+
"module": "core/decorators/plain-date.js"
|
|
52836
|
+
}
|
|
52837
|
+
}
|
|
52838
|
+
]
|
|
52839
|
+
},
|
|
52840
52840
|
{
|
|
52841
52841
|
"kind": "javascript-module",
|
|
52842
52842
|
"path": "core/eventing/composed-path-has-attribute.js",
|
|
@@ -100113,382 +100113,6 @@
|
|
|
100113
100113
|
}
|
|
100114
100114
|
]
|
|
100115
100115
|
},
|
|
100116
|
-
{
|
|
100117
|
-
"kind": "javascript-module",
|
|
100118
|
-
"path": "radio-button/radio-button-group/radio-button-group.component.js",
|
|
100119
|
-
"declarations": [
|
|
100120
|
-
{
|
|
100121
|
-
"kind": "class",
|
|
100122
|
-
"description": "It can be used as a container for one or more `sbb-radio-button`.",
|
|
100123
|
-
"name": "SbbRadioButtonGroupElement",
|
|
100124
|
-
"slots": [
|
|
100125
|
-
{
|
|
100126
|
-
"description": "Use the unnamed slot to add `sbb-radio-button` elements to the `sbb-radio-button-group`.",
|
|
100127
|
-
"name": ""
|
|
100128
|
-
},
|
|
100129
|
-
{
|
|
100130
|
-
"description": "Use this to provide a `sbb-error` to show an error message.",
|
|
100131
|
-
"name": "error"
|
|
100132
|
-
}
|
|
100133
|
-
],
|
|
100134
|
-
"members": [
|
|
100135
|
-
{
|
|
100136
|
-
"kind": "field",
|
|
100137
|
-
"name": "role",
|
|
100138
|
-
"type": {
|
|
100139
|
-
"text": "string"
|
|
100140
|
-
},
|
|
100141
|
-
"privacy": "public",
|
|
100142
|
-
"static": true,
|
|
100143
|
-
"readonly": true,
|
|
100144
|
-
"default": "'radiogroup'"
|
|
100145
|
-
},
|
|
100146
|
-
{
|
|
100147
|
-
"kind": "field",
|
|
100148
|
-
"name": "events",
|
|
100149
|
-
"privacy": "public",
|
|
100150
|
-
"static": true,
|
|
100151
|
-
"readonly": true,
|
|
100152
|
-
"default": "{ didChange: 'didChange', change: 'change', input: 'input', }",
|
|
100153
|
-
"type": {
|
|
100154
|
-
"text": "{\n didChange: 'didChange',\n change: 'change',\n input: 'input',\n }"
|
|
100155
|
-
}
|
|
100156
|
-
},
|
|
100157
|
-
{
|
|
100158
|
-
"kind": "field",
|
|
100159
|
-
"name": "allowEmptySelection",
|
|
100160
|
-
"type": {
|
|
100161
|
-
"text": "boolean"
|
|
100162
|
-
},
|
|
100163
|
-
"privacy": "public",
|
|
100164
|
-
"default": "false",
|
|
100165
|
-
"description": "Whether the radios can be deselected.",
|
|
100166
|
-
"attribute": "allow-empty-selection"
|
|
100167
|
-
},
|
|
100168
|
-
{
|
|
100169
|
-
"kind": "field",
|
|
100170
|
-
"name": "required",
|
|
100171
|
-
"type": {
|
|
100172
|
-
"text": "boolean"
|
|
100173
|
-
},
|
|
100174
|
-
"privacy": "public",
|
|
100175
|
-
"default": "false",
|
|
100176
|
-
"description": "Whether the radio group is required.",
|
|
100177
|
-
"attribute": "required"
|
|
100178
|
-
},
|
|
100179
|
-
{
|
|
100180
|
-
"kind": "field",
|
|
100181
|
-
"name": "value",
|
|
100182
|
-
"privacy": "public",
|
|
100183
|
-
"description": "The value of the radio group.",
|
|
100184
|
-
"type": {
|
|
100185
|
-
"text": "(T = string) | null"
|
|
100186
|
-
},
|
|
100187
|
-
"attribute": "value"
|
|
100188
|
-
},
|
|
100189
|
-
{
|
|
100190
|
-
"kind": "field",
|
|
100191
|
-
"name": "_fallbackValue",
|
|
100192
|
-
"type": {
|
|
100193
|
-
"text": "T | null"
|
|
100194
|
-
},
|
|
100195
|
-
"privacy": "private",
|
|
100196
|
-
"default": "null",
|
|
100197
|
-
"description": "Used to preserve the `value` in case the radios are not yet 'loaded'"
|
|
100198
|
-
},
|
|
100199
|
-
{
|
|
100200
|
-
"kind": "field",
|
|
100201
|
-
"name": "size",
|
|
100202
|
-
"type": {
|
|
100203
|
-
"text": "SbbRadioButtonSize"
|
|
100204
|
-
},
|
|
100205
|
-
"privacy": "public",
|
|
100206
|
-
"description": "Size variant, either xs, s or m.",
|
|
100207
|
-
"default": "'m' / 'xs' (lean)",
|
|
100208
|
-
"attribute": "size"
|
|
100209
|
-
},
|
|
100210
|
-
{
|
|
100211
|
-
"kind": "field",
|
|
100212
|
-
"name": "horizontalFrom",
|
|
100213
|
-
"type": {
|
|
100214
|
-
"text": "SbbHorizontalFrom | null"
|
|
100215
|
-
},
|
|
100216
|
-
"privacy": "public",
|
|
100217
|
-
"default": "null",
|
|
100218
|
-
"description": "Overrides the behaviour of `orientation` property.",
|
|
100219
|
-
"attribute": "horizontal-from",
|
|
100220
|
-
"reflects": true
|
|
100221
|
-
},
|
|
100222
|
-
{
|
|
100223
|
-
"kind": "field",
|
|
100224
|
-
"name": "orientation",
|
|
100225
|
-
"type": {
|
|
100226
|
-
"text": "SbbOrientation"
|
|
100227
|
-
},
|
|
100228
|
-
"privacy": "public",
|
|
100229
|
-
"default": "'horizontal'",
|
|
100230
|
-
"description": "Radio group's orientation, either horizontal or vertical.",
|
|
100231
|
-
"attribute": "orientation",
|
|
100232
|
-
"reflects": true
|
|
100233
|
-
},
|
|
100234
|
-
{
|
|
100235
|
-
"kind": "field",
|
|
100236
|
-
"name": "name",
|
|
100237
|
-
"type": {
|
|
100238
|
-
"text": "string"
|
|
100239
|
-
},
|
|
100240
|
-
"privacy": "public",
|
|
100241
|
-
"default": "`sbb-radio-button-group-${++nextId}`",
|
|
100242
|
-
"attribute": "name"
|
|
100243
|
-
},
|
|
100244
|
-
{
|
|
100245
|
-
"kind": "field",
|
|
100246
|
-
"name": "radioButtons",
|
|
100247
|
-
"type": {
|
|
100248
|
-
"text": "(SbbRadioButtonElement<T> | SbbRadioButtonPanelElement<T>)[]"
|
|
100249
|
-
},
|
|
100250
|
-
"privacy": "public",
|
|
100251
|
-
"description": "List of contained radio buttons.",
|
|
100252
|
-
"readonly": true
|
|
100253
|
-
},
|
|
100254
|
-
{
|
|
100255
|
-
"kind": "method",
|
|
100256
|
-
"name": "_onRadioChange",
|
|
100257
|
-
"privacy": "private",
|
|
100258
|
-
"return": {
|
|
100259
|
-
"type": {
|
|
100260
|
-
"text": "void"
|
|
100261
|
-
}
|
|
100262
|
-
},
|
|
100263
|
-
"parameters": [
|
|
100264
|
-
{
|
|
100265
|
-
"name": "event",
|
|
100266
|
-
"type": {
|
|
100267
|
-
"text": "Event"
|
|
100268
|
-
}
|
|
100269
|
-
}
|
|
100270
|
-
]
|
|
100271
|
-
},
|
|
100272
|
-
{
|
|
100273
|
-
"kind": "method",
|
|
100274
|
-
"name": "_updateRadiosName",
|
|
100275
|
-
"privacy": "private",
|
|
100276
|
-
"return": {
|
|
100277
|
-
"type": {
|
|
100278
|
-
"text": "void"
|
|
100279
|
-
}
|
|
100280
|
-
},
|
|
100281
|
-
"description": "Proxy 'name' to child radio-buttons"
|
|
100282
|
-
},
|
|
100283
|
-
{
|
|
100284
|
-
"kind": "method",
|
|
100285
|
-
"name": "_updateRadioState",
|
|
100286
|
-
"privacy": "private",
|
|
100287
|
-
"return": {
|
|
100288
|
-
"type": {
|
|
100289
|
-
"text": "void"
|
|
100290
|
-
}
|
|
100291
|
-
},
|
|
100292
|
-
"description": "Re-trigger the setter and update the checked state of the radios.\nMainly used to cover cases where the setter is called before the radios are loaded"
|
|
100293
|
-
},
|
|
100294
|
-
{
|
|
100295
|
-
"kind": "field",
|
|
100296
|
-
"name": "disabled",
|
|
100297
|
-
"privacy": "public",
|
|
100298
|
-
"description": "Whether the component is disabled.",
|
|
100299
|
-
"default": "false",
|
|
100300
|
-
"type": {
|
|
100301
|
-
"text": "boolean"
|
|
100302
|
-
},
|
|
100303
|
-
"attribute": "disabled",
|
|
100304
|
-
"reflects": true,
|
|
100305
|
-
"inheritedFrom": {
|
|
100306
|
-
"name": "SbbDisabledMixin",
|
|
100307
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
100308
|
-
}
|
|
100309
|
-
},
|
|
100310
|
-
{
|
|
100311
|
-
"kind": "field",
|
|
100312
|
-
"name": "#disabled",
|
|
100313
|
-
"privacy": "private",
|
|
100314
|
-
"type": {
|
|
100315
|
-
"text": "boolean"
|
|
100316
|
-
},
|
|
100317
|
-
"default": "false",
|
|
100318
|
-
"inheritedFrom": {
|
|
100319
|
-
"name": "SbbDisabledMixin",
|
|
100320
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
100321
|
-
}
|
|
100322
|
-
},
|
|
100323
|
-
{
|
|
100324
|
-
"kind": "method",
|
|
100325
|
-
"name": "isDisabledExternally",
|
|
100326
|
-
"privacy": "protected",
|
|
100327
|
-
"return": {
|
|
100328
|
-
"type": {
|
|
100329
|
-
"text": "boolean"
|
|
100330
|
-
}
|
|
100331
|
-
},
|
|
100332
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
100333
|
-
"inheritedFrom": {
|
|
100334
|
-
"name": "SbbDisabledMixin",
|
|
100335
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
100336
|
-
}
|
|
100337
|
-
},
|
|
100338
|
-
{
|
|
100339
|
-
"kind": "method",
|
|
100340
|
-
"name": "toggleState",
|
|
100341
|
-
"privacy": "protected",
|
|
100342
|
-
"return": {
|
|
100343
|
-
"type": {
|
|
100344
|
-
"text": "void"
|
|
100345
|
-
}
|
|
100346
|
-
},
|
|
100347
|
-
"parameters": [
|
|
100348
|
-
{
|
|
100349
|
-
"name": "value",
|
|
100350
|
-
"type": {
|
|
100351
|
-
"text": "string"
|
|
100352
|
-
}
|
|
100353
|
-
},
|
|
100354
|
-
{
|
|
100355
|
-
"name": "force",
|
|
100356
|
-
"optional": true,
|
|
100357
|
-
"type": {
|
|
100358
|
-
"text": "boolean"
|
|
100359
|
-
}
|
|
100360
|
-
}
|
|
100361
|
-
],
|
|
100362
|
-
"inheritedFrom": {
|
|
100363
|
-
"name": "SbbElementInternalsMixin",
|
|
100364
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
100365
|
-
}
|
|
100366
|
-
}
|
|
100367
|
-
],
|
|
100368
|
-
"events": [
|
|
100369
|
-
{
|
|
100370
|
-
"name": "didChange",
|
|
100371
|
-
"type": {
|
|
100372
|
-
"text": "Event"
|
|
100373
|
-
},
|
|
100374
|
-
"description": "Deprecated. Mirrors change event for React. Will be removed once React properly supports change events.",
|
|
100375
|
-
"deprecated": "true"
|
|
100376
|
-
}
|
|
100377
|
-
],
|
|
100378
|
-
"attributes": [
|
|
100379
|
-
{
|
|
100380
|
-
"name": "allow-empty-selection",
|
|
100381
|
-
"type": {
|
|
100382
|
-
"text": "boolean"
|
|
100383
|
-
},
|
|
100384
|
-
"default": "false",
|
|
100385
|
-
"description": "Whether the radios can be deselected.",
|
|
100386
|
-
"fieldName": "allowEmptySelection"
|
|
100387
|
-
},
|
|
100388
|
-
{
|
|
100389
|
-
"name": "required",
|
|
100390
|
-
"type": {
|
|
100391
|
-
"text": "boolean"
|
|
100392
|
-
},
|
|
100393
|
-
"default": "false",
|
|
100394
|
-
"description": "Whether the radio group is required.",
|
|
100395
|
-
"fieldName": "required"
|
|
100396
|
-
},
|
|
100397
|
-
{
|
|
100398
|
-
"name": "value",
|
|
100399
|
-
"description": "The value of the radio group.",
|
|
100400
|
-
"type": {
|
|
100401
|
-
"text": "T | null"
|
|
100402
|
-
},
|
|
100403
|
-
"fieldName": "value"
|
|
100404
|
-
},
|
|
100405
|
-
{
|
|
100406
|
-
"name": "size",
|
|
100407
|
-
"type": {
|
|
100408
|
-
"text": "SbbRadioButtonSize"
|
|
100409
|
-
},
|
|
100410
|
-
"description": "Size variant, either xs, s or m.",
|
|
100411
|
-
"default": "'m' / 'xs' (lean)",
|
|
100412
|
-
"fieldName": "size"
|
|
100413
|
-
},
|
|
100414
|
-
{
|
|
100415
|
-
"name": "horizontal-from",
|
|
100416
|
-
"type": {
|
|
100417
|
-
"text": "SbbHorizontalFrom | null"
|
|
100418
|
-
},
|
|
100419
|
-
"default": "null",
|
|
100420
|
-
"description": "Overrides the behaviour of `orientation` property.",
|
|
100421
|
-
"fieldName": "horizontalFrom"
|
|
100422
|
-
},
|
|
100423
|
-
{
|
|
100424
|
-
"name": "orientation",
|
|
100425
|
-
"type": {
|
|
100426
|
-
"text": "SbbOrientation"
|
|
100427
|
-
},
|
|
100428
|
-
"default": "'horizontal'",
|
|
100429
|
-
"description": "Radio group's orientation, either horizontal or vertical.",
|
|
100430
|
-
"fieldName": "orientation"
|
|
100431
|
-
},
|
|
100432
|
-
{
|
|
100433
|
-
"name": "name",
|
|
100434
|
-
"type": {
|
|
100435
|
-
"text": "string"
|
|
100436
|
-
},
|
|
100437
|
-
"default": "`sbb-radio-button-group-${++nextId}`",
|
|
100438
|
-
"fieldName": "name"
|
|
100439
|
-
},
|
|
100440
|
-
{
|
|
100441
|
-
"name": "disabled",
|
|
100442
|
-
"description": "Whether the component is disabled.",
|
|
100443
|
-
"default": "false",
|
|
100444
|
-
"type": {
|
|
100445
|
-
"text": "boolean"
|
|
100446
|
-
},
|
|
100447
|
-
"fieldName": "disabled",
|
|
100448
|
-
"inheritedFrom": {
|
|
100449
|
-
"name": "SbbDisabledMixin",
|
|
100450
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
100451
|
-
}
|
|
100452
|
-
}
|
|
100453
|
-
],
|
|
100454
|
-
"mixins": [
|
|
100455
|
-
{
|
|
100456
|
-
"name": "SbbDisabledMixin",
|
|
100457
|
-
"module": "core/mixins.js"
|
|
100458
|
-
},
|
|
100459
|
-
{
|
|
100460
|
-
"name": "SbbElementInternalsMixin",
|
|
100461
|
-
"module": "core/mixins.js"
|
|
100462
|
-
}
|
|
100463
|
-
],
|
|
100464
|
-
"superclass": {
|
|
100465
|
-
"name": "LitElement",
|
|
100466
|
-
"package": "lit"
|
|
100467
|
-
},
|
|
100468
|
-
"classGenerics": "T = string",
|
|
100469
|
-
"tagName": "sbb-radio-button-group",
|
|
100470
|
-
"customElement": true
|
|
100471
|
-
}
|
|
100472
|
-
],
|
|
100473
|
-
"exports": [
|
|
100474
|
-
{
|
|
100475
|
-
"kind": "js",
|
|
100476
|
-
"name": "SbbRadioButtonGroupElement",
|
|
100477
|
-
"declaration": {
|
|
100478
|
-
"name": "SbbRadioButtonGroupElement",
|
|
100479
|
-
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
100480
|
-
}
|
|
100481
|
-
},
|
|
100482
|
-
{
|
|
100483
|
-
"kind": "custom-element-definition",
|
|
100484
|
-
"name": "sbb-radio-button-group",
|
|
100485
|
-
"declaration": {
|
|
100486
|
-
"name": "SbbRadioButtonGroupElement",
|
|
100487
|
-
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
100488
|
-
}
|
|
100489
|
-
}
|
|
100490
|
-
]
|
|
100491
|
-
},
|
|
100492
100116
|
{
|
|
100493
100117
|
"kind": "javascript-module",
|
|
100494
100118
|
"path": "radio-button/radio-button-panel/radio-button-panel.component.js",
|
|
@@ -101651,6 +101275,382 @@
|
|
|
101651
101275
|
}
|
|
101652
101276
|
]
|
|
101653
101277
|
},
|
|
101278
|
+
{
|
|
101279
|
+
"kind": "javascript-module",
|
|
101280
|
+
"path": "radio-button/radio-button-group/radio-button-group.component.js",
|
|
101281
|
+
"declarations": [
|
|
101282
|
+
{
|
|
101283
|
+
"kind": "class",
|
|
101284
|
+
"description": "It can be used as a container for one or more `sbb-radio-button`.",
|
|
101285
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101286
|
+
"slots": [
|
|
101287
|
+
{
|
|
101288
|
+
"description": "Use the unnamed slot to add `sbb-radio-button` elements to the `sbb-radio-button-group`.",
|
|
101289
|
+
"name": ""
|
|
101290
|
+
},
|
|
101291
|
+
{
|
|
101292
|
+
"description": "Use this to provide a `sbb-error` to show an error message.",
|
|
101293
|
+
"name": "error"
|
|
101294
|
+
}
|
|
101295
|
+
],
|
|
101296
|
+
"members": [
|
|
101297
|
+
{
|
|
101298
|
+
"kind": "field",
|
|
101299
|
+
"name": "role",
|
|
101300
|
+
"type": {
|
|
101301
|
+
"text": "string"
|
|
101302
|
+
},
|
|
101303
|
+
"privacy": "public",
|
|
101304
|
+
"static": true,
|
|
101305
|
+
"readonly": true,
|
|
101306
|
+
"default": "'radiogroup'"
|
|
101307
|
+
},
|
|
101308
|
+
{
|
|
101309
|
+
"kind": "field",
|
|
101310
|
+
"name": "events",
|
|
101311
|
+
"privacy": "public",
|
|
101312
|
+
"static": true,
|
|
101313
|
+
"readonly": true,
|
|
101314
|
+
"default": "{ didChange: 'didChange', change: 'change', input: 'input', }",
|
|
101315
|
+
"type": {
|
|
101316
|
+
"text": "{\n didChange: 'didChange',\n change: 'change',\n input: 'input',\n }"
|
|
101317
|
+
}
|
|
101318
|
+
},
|
|
101319
|
+
{
|
|
101320
|
+
"kind": "field",
|
|
101321
|
+
"name": "allowEmptySelection",
|
|
101322
|
+
"type": {
|
|
101323
|
+
"text": "boolean"
|
|
101324
|
+
},
|
|
101325
|
+
"privacy": "public",
|
|
101326
|
+
"default": "false",
|
|
101327
|
+
"description": "Whether the radios can be deselected.",
|
|
101328
|
+
"attribute": "allow-empty-selection"
|
|
101329
|
+
},
|
|
101330
|
+
{
|
|
101331
|
+
"kind": "field",
|
|
101332
|
+
"name": "required",
|
|
101333
|
+
"type": {
|
|
101334
|
+
"text": "boolean"
|
|
101335
|
+
},
|
|
101336
|
+
"privacy": "public",
|
|
101337
|
+
"default": "false",
|
|
101338
|
+
"description": "Whether the radio group is required.",
|
|
101339
|
+
"attribute": "required"
|
|
101340
|
+
},
|
|
101341
|
+
{
|
|
101342
|
+
"kind": "field",
|
|
101343
|
+
"name": "value",
|
|
101344
|
+
"privacy": "public",
|
|
101345
|
+
"description": "The value of the radio group.",
|
|
101346
|
+
"type": {
|
|
101347
|
+
"text": "(T = string) | null"
|
|
101348
|
+
},
|
|
101349
|
+
"attribute": "value"
|
|
101350
|
+
},
|
|
101351
|
+
{
|
|
101352
|
+
"kind": "field",
|
|
101353
|
+
"name": "_fallbackValue",
|
|
101354
|
+
"type": {
|
|
101355
|
+
"text": "T | null"
|
|
101356
|
+
},
|
|
101357
|
+
"privacy": "private",
|
|
101358
|
+
"default": "null",
|
|
101359
|
+
"description": "Used to preserve the `value` in case the radios are not yet 'loaded'"
|
|
101360
|
+
},
|
|
101361
|
+
{
|
|
101362
|
+
"kind": "field",
|
|
101363
|
+
"name": "size",
|
|
101364
|
+
"type": {
|
|
101365
|
+
"text": "SbbRadioButtonSize"
|
|
101366
|
+
},
|
|
101367
|
+
"privacy": "public",
|
|
101368
|
+
"description": "Size variant, either xs, s or m.",
|
|
101369
|
+
"default": "'m' / 'xs' (lean)",
|
|
101370
|
+
"attribute": "size"
|
|
101371
|
+
},
|
|
101372
|
+
{
|
|
101373
|
+
"kind": "field",
|
|
101374
|
+
"name": "horizontalFrom",
|
|
101375
|
+
"type": {
|
|
101376
|
+
"text": "SbbHorizontalFrom | null"
|
|
101377
|
+
},
|
|
101378
|
+
"privacy": "public",
|
|
101379
|
+
"default": "null",
|
|
101380
|
+
"description": "Overrides the behaviour of `orientation` property.",
|
|
101381
|
+
"attribute": "horizontal-from",
|
|
101382
|
+
"reflects": true
|
|
101383
|
+
},
|
|
101384
|
+
{
|
|
101385
|
+
"kind": "field",
|
|
101386
|
+
"name": "orientation",
|
|
101387
|
+
"type": {
|
|
101388
|
+
"text": "SbbOrientation"
|
|
101389
|
+
},
|
|
101390
|
+
"privacy": "public",
|
|
101391
|
+
"default": "'horizontal'",
|
|
101392
|
+
"description": "Radio group's orientation, either horizontal or vertical.",
|
|
101393
|
+
"attribute": "orientation",
|
|
101394
|
+
"reflects": true
|
|
101395
|
+
},
|
|
101396
|
+
{
|
|
101397
|
+
"kind": "field",
|
|
101398
|
+
"name": "name",
|
|
101399
|
+
"type": {
|
|
101400
|
+
"text": "string"
|
|
101401
|
+
},
|
|
101402
|
+
"privacy": "public",
|
|
101403
|
+
"default": "`sbb-radio-button-group-${++nextId}`",
|
|
101404
|
+
"attribute": "name"
|
|
101405
|
+
},
|
|
101406
|
+
{
|
|
101407
|
+
"kind": "field",
|
|
101408
|
+
"name": "radioButtons",
|
|
101409
|
+
"type": {
|
|
101410
|
+
"text": "(SbbRadioButtonElement<T> | SbbRadioButtonPanelElement<T>)[]"
|
|
101411
|
+
},
|
|
101412
|
+
"privacy": "public",
|
|
101413
|
+
"description": "List of contained radio buttons.",
|
|
101414
|
+
"readonly": true
|
|
101415
|
+
},
|
|
101416
|
+
{
|
|
101417
|
+
"kind": "method",
|
|
101418
|
+
"name": "_onRadioChange",
|
|
101419
|
+
"privacy": "private",
|
|
101420
|
+
"return": {
|
|
101421
|
+
"type": {
|
|
101422
|
+
"text": "void"
|
|
101423
|
+
}
|
|
101424
|
+
},
|
|
101425
|
+
"parameters": [
|
|
101426
|
+
{
|
|
101427
|
+
"name": "event",
|
|
101428
|
+
"type": {
|
|
101429
|
+
"text": "Event"
|
|
101430
|
+
}
|
|
101431
|
+
}
|
|
101432
|
+
]
|
|
101433
|
+
},
|
|
101434
|
+
{
|
|
101435
|
+
"kind": "method",
|
|
101436
|
+
"name": "_updateRadiosName",
|
|
101437
|
+
"privacy": "private",
|
|
101438
|
+
"return": {
|
|
101439
|
+
"type": {
|
|
101440
|
+
"text": "void"
|
|
101441
|
+
}
|
|
101442
|
+
},
|
|
101443
|
+
"description": "Proxy 'name' to child radio-buttons"
|
|
101444
|
+
},
|
|
101445
|
+
{
|
|
101446
|
+
"kind": "method",
|
|
101447
|
+
"name": "_updateRadioState",
|
|
101448
|
+
"privacy": "private",
|
|
101449
|
+
"return": {
|
|
101450
|
+
"type": {
|
|
101451
|
+
"text": "void"
|
|
101452
|
+
}
|
|
101453
|
+
},
|
|
101454
|
+
"description": "Re-trigger the setter and update the checked state of the radios.\nMainly used to cover cases where the setter is called before the radios are loaded"
|
|
101455
|
+
},
|
|
101456
|
+
{
|
|
101457
|
+
"kind": "field",
|
|
101458
|
+
"name": "disabled",
|
|
101459
|
+
"privacy": "public",
|
|
101460
|
+
"description": "Whether the component is disabled.",
|
|
101461
|
+
"default": "false",
|
|
101462
|
+
"type": {
|
|
101463
|
+
"text": "boolean"
|
|
101464
|
+
},
|
|
101465
|
+
"attribute": "disabled",
|
|
101466
|
+
"reflects": true,
|
|
101467
|
+
"inheritedFrom": {
|
|
101468
|
+
"name": "SbbDisabledMixin",
|
|
101469
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101470
|
+
}
|
|
101471
|
+
},
|
|
101472
|
+
{
|
|
101473
|
+
"kind": "field",
|
|
101474
|
+
"name": "#disabled",
|
|
101475
|
+
"privacy": "private",
|
|
101476
|
+
"type": {
|
|
101477
|
+
"text": "boolean"
|
|
101478
|
+
},
|
|
101479
|
+
"default": "false",
|
|
101480
|
+
"inheritedFrom": {
|
|
101481
|
+
"name": "SbbDisabledMixin",
|
|
101482
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101483
|
+
}
|
|
101484
|
+
},
|
|
101485
|
+
{
|
|
101486
|
+
"kind": "method",
|
|
101487
|
+
"name": "isDisabledExternally",
|
|
101488
|
+
"privacy": "protected",
|
|
101489
|
+
"return": {
|
|
101490
|
+
"type": {
|
|
101491
|
+
"text": "boolean"
|
|
101492
|
+
}
|
|
101493
|
+
},
|
|
101494
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101495
|
+
"inheritedFrom": {
|
|
101496
|
+
"name": "SbbDisabledMixin",
|
|
101497
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101498
|
+
}
|
|
101499
|
+
},
|
|
101500
|
+
{
|
|
101501
|
+
"kind": "method",
|
|
101502
|
+
"name": "toggleState",
|
|
101503
|
+
"privacy": "protected",
|
|
101504
|
+
"return": {
|
|
101505
|
+
"type": {
|
|
101506
|
+
"text": "void"
|
|
101507
|
+
}
|
|
101508
|
+
},
|
|
101509
|
+
"parameters": [
|
|
101510
|
+
{
|
|
101511
|
+
"name": "value",
|
|
101512
|
+
"type": {
|
|
101513
|
+
"text": "string"
|
|
101514
|
+
}
|
|
101515
|
+
},
|
|
101516
|
+
{
|
|
101517
|
+
"name": "force",
|
|
101518
|
+
"optional": true,
|
|
101519
|
+
"type": {
|
|
101520
|
+
"text": "boolean"
|
|
101521
|
+
}
|
|
101522
|
+
}
|
|
101523
|
+
],
|
|
101524
|
+
"inheritedFrom": {
|
|
101525
|
+
"name": "SbbElementInternalsMixin",
|
|
101526
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
101527
|
+
}
|
|
101528
|
+
}
|
|
101529
|
+
],
|
|
101530
|
+
"events": [
|
|
101531
|
+
{
|
|
101532
|
+
"name": "didChange",
|
|
101533
|
+
"type": {
|
|
101534
|
+
"text": "Event"
|
|
101535
|
+
},
|
|
101536
|
+
"description": "Deprecated. Mirrors change event for React. Will be removed once React properly supports change events.",
|
|
101537
|
+
"deprecated": "true"
|
|
101538
|
+
}
|
|
101539
|
+
],
|
|
101540
|
+
"attributes": [
|
|
101541
|
+
{
|
|
101542
|
+
"name": "allow-empty-selection",
|
|
101543
|
+
"type": {
|
|
101544
|
+
"text": "boolean"
|
|
101545
|
+
},
|
|
101546
|
+
"default": "false",
|
|
101547
|
+
"description": "Whether the radios can be deselected.",
|
|
101548
|
+
"fieldName": "allowEmptySelection"
|
|
101549
|
+
},
|
|
101550
|
+
{
|
|
101551
|
+
"name": "required",
|
|
101552
|
+
"type": {
|
|
101553
|
+
"text": "boolean"
|
|
101554
|
+
},
|
|
101555
|
+
"default": "false",
|
|
101556
|
+
"description": "Whether the radio group is required.",
|
|
101557
|
+
"fieldName": "required"
|
|
101558
|
+
},
|
|
101559
|
+
{
|
|
101560
|
+
"name": "value",
|
|
101561
|
+
"description": "The value of the radio group.",
|
|
101562
|
+
"type": {
|
|
101563
|
+
"text": "T | null"
|
|
101564
|
+
},
|
|
101565
|
+
"fieldName": "value"
|
|
101566
|
+
},
|
|
101567
|
+
{
|
|
101568
|
+
"name": "size",
|
|
101569
|
+
"type": {
|
|
101570
|
+
"text": "SbbRadioButtonSize"
|
|
101571
|
+
},
|
|
101572
|
+
"description": "Size variant, either xs, s or m.",
|
|
101573
|
+
"default": "'m' / 'xs' (lean)",
|
|
101574
|
+
"fieldName": "size"
|
|
101575
|
+
},
|
|
101576
|
+
{
|
|
101577
|
+
"name": "horizontal-from",
|
|
101578
|
+
"type": {
|
|
101579
|
+
"text": "SbbHorizontalFrom | null"
|
|
101580
|
+
},
|
|
101581
|
+
"default": "null",
|
|
101582
|
+
"description": "Overrides the behaviour of `orientation` property.",
|
|
101583
|
+
"fieldName": "horizontalFrom"
|
|
101584
|
+
},
|
|
101585
|
+
{
|
|
101586
|
+
"name": "orientation",
|
|
101587
|
+
"type": {
|
|
101588
|
+
"text": "SbbOrientation"
|
|
101589
|
+
},
|
|
101590
|
+
"default": "'horizontal'",
|
|
101591
|
+
"description": "Radio group's orientation, either horizontal or vertical.",
|
|
101592
|
+
"fieldName": "orientation"
|
|
101593
|
+
},
|
|
101594
|
+
{
|
|
101595
|
+
"name": "name",
|
|
101596
|
+
"type": {
|
|
101597
|
+
"text": "string"
|
|
101598
|
+
},
|
|
101599
|
+
"default": "`sbb-radio-button-group-${++nextId}`",
|
|
101600
|
+
"fieldName": "name"
|
|
101601
|
+
},
|
|
101602
|
+
{
|
|
101603
|
+
"name": "disabled",
|
|
101604
|
+
"description": "Whether the component is disabled.",
|
|
101605
|
+
"default": "false",
|
|
101606
|
+
"type": {
|
|
101607
|
+
"text": "boolean"
|
|
101608
|
+
},
|
|
101609
|
+
"fieldName": "disabled",
|
|
101610
|
+
"inheritedFrom": {
|
|
101611
|
+
"name": "SbbDisabledMixin",
|
|
101612
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101613
|
+
}
|
|
101614
|
+
}
|
|
101615
|
+
],
|
|
101616
|
+
"mixins": [
|
|
101617
|
+
{
|
|
101618
|
+
"name": "SbbDisabledMixin",
|
|
101619
|
+
"module": "core/mixins.js"
|
|
101620
|
+
},
|
|
101621
|
+
{
|
|
101622
|
+
"name": "SbbElementInternalsMixin",
|
|
101623
|
+
"module": "core/mixins.js"
|
|
101624
|
+
}
|
|
101625
|
+
],
|
|
101626
|
+
"superclass": {
|
|
101627
|
+
"name": "LitElement",
|
|
101628
|
+
"package": "lit"
|
|
101629
|
+
},
|
|
101630
|
+
"classGenerics": "T = string",
|
|
101631
|
+
"tagName": "sbb-radio-button-group",
|
|
101632
|
+
"customElement": true
|
|
101633
|
+
}
|
|
101634
|
+
],
|
|
101635
|
+
"exports": [
|
|
101636
|
+
{
|
|
101637
|
+
"kind": "js",
|
|
101638
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101639
|
+
"declaration": {
|
|
101640
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101641
|
+
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
101642
|
+
}
|
|
101643
|
+
},
|
|
101644
|
+
{
|
|
101645
|
+
"kind": "custom-element-definition",
|
|
101646
|
+
"name": "sbb-radio-button-group",
|
|
101647
|
+
"declaration": {
|
|
101648
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101649
|
+
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
101650
|
+
}
|
|
101651
|
+
}
|
|
101652
|
+
]
|
|
101653
|
+
},
|
|
101654
101654
|
{
|
|
101655
101655
|
"kind": "javascript-module",
|
|
101656
101656
|
"path": "sidebar/sidebar/sidebar.component.js",
|
|
@@ -103450,303 +103450,76 @@
|
|
|
103450
103450
|
}
|
|
103451
103451
|
],
|
|
103452
103452
|
"inheritedFrom": {
|
|
103453
|
-
"name": "SbbTitleBase",
|
|
103454
|
-
"module": "title/title-base.js"
|
|
103455
|
-
}
|
|
103456
|
-
},
|
|
103457
|
-
{
|
|
103458
|
-
"kind": "field",
|
|
103459
|
-
"name": "role",
|
|
103460
|
-
"type": {
|
|
103461
|
-
"text": "string"
|
|
103462
|
-
},
|
|
103463
|
-
"privacy": "public",
|
|
103464
|
-
"static": true,
|
|
103465
|
-
"default": "'heading'",
|
|
103466
|
-
"inheritedFrom": {
|
|
103467
|
-
"name": "SbbTitleBase",
|
|
103468
|
-
"module": "title/title-base.js"
|
|
103469
|
-
}
|
|
103470
|
-
}
|
|
103471
|
-
],
|
|
103472
|
-
"attributes": [
|
|
103473
|
-
{
|
|
103474
|
-
"name": "level",
|
|
103475
|
-
"type": {
|
|
103476
|
-
"text": "SbbTitleLevel"
|
|
103477
|
-
},
|
|
103478
|
-
"default": "'2'",
|
|
103479
|
-
"description": "Title level",
|
|
103480
|
-
"fieldName": "level",
|
|
103481
|
-
"inheritedFrom": {
|
|
103482
|
-
"name": "SbbTitleBase",
|
|
103483
|
-
"module": "title/title-base.js"
|
|
103484
|
-
}
|
|
103485
|
-
},
|
|
103486
|
-
{
|
|
103487
|
-
"name": "visual-level",
|
|
103488
|
-
"type": {
|
|
103489
|
-
"text": "SbbTitleLevel | null"
|
|
103490
|
-
},
|
|
103491
|
-
"default": "null",
|
|
103492
|
-
"description": "Visual level for the title.",
|
|
103493
|
-
"fieldName": "visualLevel",
|
|
103494
|
-
"inheritedFrom": {
|
|
103495
|
-
"name": "SbbTitleBase",
|
|
103496
|
-
"module": "title/title-base.js"
|
|
103497
|
-
}
|
|
103498
|
-
}
|
|
103499
|
-
],
|
|
103500
|
-
"superclass": {
|
|
103501
|
-
"name": "SbbTitleBase",
|
|
103502
|
-
"module": "title.js"
|
|
103503
|
-
},
|
|
103504
|
-
"tagName": "sbb-sidebar-title",
|
|
103505
|
-
"customElement": true
|
|
103506
|
-
}
|
|
103507
|
-
],
|
|
103508
|
-
"exports": [
|
|
103509
|
-
{
|
|
103510
|
-
"kind": "js",
|
|
103511
|
-
"name": "SbbSidebarTitleElement",
|
|
103512
|
-
"declaration": {
|
|
103513
|
-
"name": "SbbSidebarTitleElement",
|
|
103514
|
-
"module": "sidebar/sidebar-title/sidebar-title.component.js"
|
|
103515
|
-
}
|
|
103516
|
-
},
|
|
103517
|
-
{
|
|
103518
|
-
"kind": "custom-element-definition",
|
|
103519
|
-
"name": "sbb-sidebar-title",
|
|
103520
|
-
"declaration": {
|
|
103521
|
-
"name": "SbbSidebarTitleElement",
|
|
103522
|
-
"module": "sidebar/sidebar-title/sidebar-title.component.js"
|
|
103523
|
-
}
|
|
103524
|
-
}
|
|
103525
|
-
]
|
|
103526
|
-
},
|
|
103527
|
-
{
|
|
103528
|
-
"kind": "javascript-module",
|
|
103529
|
-
"path": "stepper/step/step.component.js",
|
|
103530
|
-
"declarations": [
|
|
103531
|
-
{
|
|
103532
|
-
"kind": "class",
|
|
103533
|
-
"description": "Combined with a `sbb-stepper`, it displays a step's content.",
|
|
103534
|
-
"name": "SbbStepElement",
|
|
103535
|
-
"slots": [
|
|
103536
|
-
{
|
|
103537
|
-
"description": "Use the unnamed slot to provide content.",
|
|
103538
|
-
"name": ""
|
|
103539
|
-
}
|
|
103540
|
-
],
|
|
103541
|
-
"members": [
|
|
103542
|
-
{
|
|
103543
|
-
"kind": "field",
|
|
103544
|
-
"name": "role",
|
|
103545
|
-
"type": {
|
|
103546
|
-
"text": "string"
|
|
103547
|
-
},
|
|
103548
|
-
"privacy": "public",
|
|
103549
|
-
"static": true,
|
|
103550
|
-
"readonly": true,
|
|
103551
|
-
"default": "'tabpanel'"
|
|
103552
|
-
},
|
|
103553
|
-
{
|
|
103554
|
-
"kind": "field",
|
|
103555
|
-
"name": "events",
|
|
103556
|
-
"privacy": "public",
|
|
103557
|
-
"static": true,
|
|
103558
|
-
"readonly": true,
|
|
103559
|
-
"default": "{ validate: 'validate', resizechange: 'resizechange', }",
|
|
103560
|
-
"type": {
|
|
103561
|
-
"text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
|
|
103562
|
-
}
|
|
103563
|
-
},
|
|
103564
|
-
{
|
|
103565
|
-
"kind": "field",
|
|
103566
|
-
"name": "_stepResizeObserver",
|
|
103567
|
-
"privacy": "private",
|
|
103568
|
-
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
|
|
103569
|
-
},
|
|
103570
|
-
{
|
|
103571
|
-
"kind": "field",
|
|
103572
|
-
"name": "label",
|
|
103573
|
-
"type": {
|
|
103574
|
-
"text": "SbbStepLabelElement | null"
|
|
103575
|
-
},
|
|
103576
|
-
"privacy": "public",
|
|
103577
|
-
"description": "The label of the step.",
|
|
103578
|
-
"readonly": true,
|
|
103579
|
-
"default": "null"
|
|
103580
|
-
},
|
|
103581
|
-
{
|
|
103582
|
-
"kind": "field",
|
|
103583
|
-
"name": "_label",
|
|
103584
|
-
"type": {
|
|
103585
|
-
"text": "SbbStepLabelElement | null"
|
|
103586
|
-
},
|
|
103587
|
-
"privacy": "private",
|
|
103588
|
-
"default": "null"
|
|
103589
|
-
},
|
|
103590
|
-
{
|
|
103591
|
-
"kind": "field",
|
|
103592
|
-
"name": "stepper",
|
|
103593
|
-
"type": {
|
|
103594
|
-
"text": "SbbStepperElement | null"
|
|
103595
|
-
},
|
|
103596
|
-
"privacy": "public",
|
|
103597
|
-
"readonly": true
|
|
103598
|
-
},
|
|
103599
|
-
{
|
|
103600
|
-
"kind": "field",
|
|
103601
|
-
"name": "_previousOrientation",
|
|
103602
|
-
"type": {
|
|
103603
|
-
"text": "string | undefined"
|
|
103604
|
-
},
|
|
103605
|
-
"privacy": "private"
|
|
103606
|
-
},
|
|
103607
|
-
{
|
|
103608
|
-
"kind": "method",
|
|
103609
|
-
"name": "_handleClick",
|
|
103610
|
-
"privacy": "private",
|
|
103611
|
-
"return": {
|
|
103612
|
-
"type": {
|
|
103613
|
-
"text": "void"
|
|
103614
|
-
}
|
|
103615
|
-
},
|
|
103616
|
-
"parameters": [
|
|
103617
|
-
{
|
|
103618
|
-
"name": "event",
|
|
103619
|
-
"type": {
|
|
103620
|
-
"text": "Event"
|
|
103621
|
-
}
|
|
103622
|
-
}
|
|
103623
|
-
],
|
|
103624
|
-
"description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
|
|
103625
|
-
},
|
|
103626
|
-
{
|
|
103627
|
-
"kind": "method",
|
|
103628
|
-
"name": "_isGoNextElement",
|
|
103629
|
-
"privacy": "private",
|
|
103630
|
-
"return": {
|
|
103631
|
-
"type": {
|
|
103632
|
-
"text": "boolean"
|
|
103633
|
-
}
|
|
103634
|
-
},
|
|
103635
|
-
"parameters": [
|
|
103636
|
-
{
|
|
103637
|
-
"name": "element",
|
|
103638
|
-
"type": {
|
|
103639
|
-
"text": "HTMLElement"
|
|
103640
|
-
}
|
|
103641
|
-
}
|
|
103642
|
-
]
|
|
103643
|
-
},
|
|
103644
|
-
{
|
|
103645
|
-
"kind": "method",
|
|
103646
|
-
"name": "_isGoPreviousElement",
|
|
103647
|
-
"privacy": "private",
|
|
103648
|
-
"return": {
|
|
103649
|
-
"type": {
|
|
103650
|
-
"text": "boolean"
|
|
103651
|
-
}
|
|
103652
|
-
},
|
|
103653
|
-
"parameters": [
|
|
103654
|
-
{
|
|
103655
|
-
"name": "element",
|
|
103656
|
-
"type": {
|
|
103657
|
-
"text": "HTMLElement"
|
|
103658
|
-
}
|
|
103659
|
-
}
|
|
103660
|
-
]
|
|
103661
|
-
},
|
|
103662
|
-
{
|
|
103663
|
-
"kind": "method",
|
|
103664
|
-
"name": "_onStepElementResize",
|
|
103665
|
-
"privacy": "private",
|
|
103666
|
-
"return": {
|
|
103667
|
-
"type": {
|
|
103668
|
-
"text": "void"
|
|
103669
|
-
}
|
|
103670
|
-
}
|
|
103671
|
-
},
|
|
103672
|
-
{
|
|
103673
|
-
"kind": "method",
|
|
103674
|
-
"name": "_assignLabel",
|
|
103675
|
-
"privacy": "private",
|
|
103676
|
-
"return": {
|
|
103677
|
-
"type": {
|
|
103678
|
-
"text": "void"
|
|
103679
|
-
}
|
|
103680
|
-
}
|
|
103681
|
-
},
|
|
103682
|
-
{
|
|
103683
|
-
"kind": "method",
|
|
103684
|
-
"name": "toggleState",
|
|
103685
|
-
"privacy": "protected",
|
|
103686
|
-
"return": {
|
|
103687
|
-
"type": {
|
|
103688
|
-
"text": "void"
|
|
103689
|
-
}
|
|
103690
|
-
},
|
|
103691
|
-
"parameters": [
|
|
103692
|
-
{
|
|
103693
|
-
"name": "value",
|
|
103694
|
-
"type": {
|
|
103695
|
-
"text": "string"
|
|
103696
|
-
}
|
|
103697
|
-
},
|
|
103698
|
-
{
|
|
103699
|
-
"name": "force",
|
|
103700
|
-
"optional": true,
|
|
103701
|
-
"type": {
|
|
103702
|
-
"text": "boolean"
|
|
103703
|
-
}
|
|
103704
|
-
}
|
|
103705
|
-
],
|
|
103706
|
-
"inheritedFrom": {
|
|
103707
|
-
"name": "SbbElementInternalsMixin",
|
|
103708
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
103453
|
+
"name": "SbbTitleBase",
|
|
103454
|
+
"module": "title/title-base.js"
|
|
103709
103455
|
}
|
|
103710
|
-
}
|
|
103711
|
-
],
|
|
103712
|
-
"events": [
|
|
103456
|
+
},
|
|
103713
103457
|
{
|
|
103714
|
-
"
|
|
103458
|
+
"kind": "field",
|
|
103459
|
+
"name": "role",
|
|
103715
103460
|
"type": {
|
|
103716
|
-
"text": "
|
|
103461
|
+
"text": "string"
|
|
103717
103462
|
},
|
|
103718
|
-
"
|
|
103463
|
+
"privacy": "public",
|
|
103464
|
+
"static": true,
|
|
103465
|
+
"default": "'heading'",
|
|
103466
|
+
"inheritedFrom": {
|
|
103467
|
+
"name": "SbbTitleBase",
|
|
103468
|
+
"module": "title/title-base.js"
|
|
103469
|
+
}
|
|
103719
103470
|
}
|
|
103720
103471
|
],
|
|
103721
|
-
"
|
|
103472
|
+
"attributes": [
|
|
103722
103473
|
{
|
|
103723
|
-
"name": "
|
|
103724
|
-
"
|
|
103474
|
+
"name": "level",
|
|
103475
|
+
"type": {
|
|
103476
|
+
"text": "SbbTitleLevel"
|
|
103477
|
+
},
|
|
103478
|
+
"default": "'2'",
|
|
103479
|
+
"description": "Title level",
|
|
103480
|
+
"fieldName": "level",
|
|
103481
|
+
"inheritedFrom": {
|
|
103482
|
+
"name": "SbbTitleBase",
|
|
103483
|
+
"module": "title/title-base.js"
|
|
103484
|
+
}
|
|
103485
|
+
},
|
|
103486
|
+
{
|
|
103487
|
+
"name": "visual-level",
|
|
103488
|
+
"type": {
|
|
103489
|
+
"text": "SbbTitleLevel | null"
|
|
103490
|
+
},
|
|
103491
|
+
"default": "null",
|
|
103492
|
+
"description": "Visual level for the title.",
|
|
103493
|
+
"fieldName": "visualLevel",
|
|
103494
|
+
"inheritedFrom": {
|
|
103495
|
+
"name": "SbbTitleBase",
|
|
103496
|
+
"module": "title/title-base.js"
|
|
103497
|
+
}
|
|
103725
103498
|
}
|
|
103726
103499
|
],
|
|
103727
103500
|
"superclass": {
|
|
103728
|
-
"name": "
|
|
103729
|
-
"
|
|
103501
|
+
"name": "SbbTitleBase",
|
|
103502
|
+
"module": "title.js"
|
|
103730
103503
|
},
|
|
103731
|
-
"tagName": "sbb-
|
|
103504
|
+
"tagName": "sbb-sidebar-title",
|
|
103732
103505
|
"customElement": true
|
|
103733
103506
|
}
|
|
103734
103507
|
],
|
|
103735
103508
|
"exports": [
|
|
103736
103509
|
{
|
|
103737
103510
|
"kind": "js",
|
|
103738
|
-
"name": "
|
|
103511
|
+
"name": "SbbSidebarTitleElement",
|
|
103739
103512
|
"declaration": {
|
|
103740
|
-
"name": "
|
|
103741
|
-
"module": "
|
|
103513
|
+
"name": "SbbSidebarTitleElement",
|
|
103514
|
+
"module": "sidebar/sidebar-title/sidebar-title.component.js"
|
|
103742
103515
|
}
|
|
103743
103516
|
},
|
|
103744
103517
|
{
|
|
103745
103518
|
"kind": "custom-element-definition",
|
|
103746
|
-
"name": "sbb-
|
|
103519
|
+
"name": "sbb-sidebar-title",
|
|
103747
103520
|
"declaration": {
|
|
103748
|
-
"name": "
|
|
103749
|
-
"module": "
|
|
103521
|
+
"name": "SbbSidebarTitleElement",
|
|
103522
|
+
"module": "sidebar/sidebar-title/sidebar-title.component.js"
|
|
103750
103523
|
}
|
|
103751
103524
|
}
|
|
103752
103525
|
]
|
|
@@ -104630,6 +104403,233 @@
|
|
|
104630
104403
|
}
|
|
104631
104404
|
]
|
|
104632
104405
|
},
|
|
104406
|
+
{
|
|
104407
|
+
"kind": "javascript-module",
|
|
104408
|
+
"path": "stepper/step/step.component.js",
|
|
104409
|
+
"declarations": [
|
|
104410
|
+
{
|
|
104411
|
+
"kind": "class",
|
|
104412
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's content.",
|
|
104413
|
+
"name": "SbbStepElement",
|
|
104414
|
+
"slots": [
|
|
104415
|
+
{
|
|
104416
|
+
"description": "Use the unnamed slot to provide content.",
|
|
104417
|
+
"name": ""
|
|
104418
|
+
}
|
|
104419
|
+
],
|
|
104420
|
+
"members": [
|
|
104421
|
+
{
|
|
104422
|
+
"kind": "field",
|
|
104423
|
+
"name": "role",
|
|
104424
|
+
"type": {
|
|
104425
|
+
"text": "string"
|
|
104426
|
+
},
|
|
104427
|
+
"privacy": "public",
|
|
104428
|
+
"static": true,
|
|
104429
|
+
"readonly": true,
|
|
104430
|
+
"default": "'tabpanel'"
|
|
104431
|
+
},
|
|
104432
|
+
{
|
|
104433
|
+
"kind": "field",
|
|
104434
|
+
"name": "events",
|
|
104435
|
+
"privacy": "public",
|
|
104436
|
+
"static": true,
|
|
104437
|
+
"readonly": true,
|
|
104438
|
+
"default": "{ validate: 'validate', resizechange: 'resizechange', }",
|
|
104439
|
+
"type": {
|
|
104440
|
+
"text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
|
|
104441
|
+
}
|
|
104442
|
+
},
|
|
104443
|
+
{
|
|
104444
|
+
"kind": "field",
|
|
104445
|
+
"name": "_stepResizeObserver",
|
|
104446
|
+
"privacy": "private",
|
|
104447
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
|
|
104448
|
+
},
|
|
104449
|
+
{
|
|
104450
|
+
"kind": "field",
|
|
104451
|
+
"name": "label",
|
|
104452
|
+
"type": {
|
|
104453
|
+
"text": "SbbStepLabelElement | null"
|
|
104454
|
+
},
|
|
104455
|
+
"privacy": "public",
|
|
104456
|
+
"description": "The label of the step.",
|
|
104457
|
+
"readonly": true,
|
|
104458
|
+
"default": "null"
|
|
104459
|
+
},
|
|
104460
|
+
{
|
|
104461
|
+
"kind": "field",
|
|
104462
|
+
"name": "_label",
|
|
104463
|
+
"type": {
|
|
104464
|
+
"text": "SbbStepLabelElement | null"
|
|
104465
|
+
},
|
|
104466
|
+
"privacy": "private",
|
|
104467
|
+
"default": "null"
|
|
104468
|
+
},
|
|
104469
|
+
{
|
|
104470
|
+
"kind": "field",
|
|
104471
|
+
"name": "stepper",
|
|
104472
|
+
"type": {
|
|
104473
|
+
"text": "SbbStepperElement | null"
|
|
104474
|
+
},
|
|
104475
|
+
"privacy": "public",
|
|
104476
|
+
"readonly": true
|
|
104477
|
+
},
|
|
104478
|
+
{
|
|
104479
|
+
"kind": "field",
|
|
104480
|
+
"name": "_previousOrientation",
|
|
104481
|
+
"type": {
|
|
104482
|
+
"text": "string | undefined"
|
|
104483
|
+
},
|
|
104484
|
+
"privacy": "private"
|
|
104485
|
+
},
|
|
104486
|
+
{
|
|
104487
|
+
"kind": "method",
|
|
104488
|
+
"name": "_handleClick",
|
|
104489
|
+
"privacy": "private",
|
|
104490
|
+
"return": {
|
|
104491
|
+
"type": {
|
|
104492
|
+
"text": "void"
|
|
104493
|
+
}
|
|
104494
|
+
},
|
|
104495
|
+
"parameters": [
|
|
104496
|
+
{
|
|
104497
|
+
"name": "event",
|
|
104498
|
+
"type": {
|
|
104499
|
+
"text": "Event"
|
|
104500
|
+
}
|
|
104501
|
+
}
|
|
104502
|
+
],
|
|
104503
|
+
"description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
|
|
104504
|
+
},
|
|
104505
|
+
{
|
|
104506
|
+
"kind": "method",
|
|
104507
|
+
"name": "_isGoNextElement",
|
|
104508
|
+
"privacy": "private",
|
|
104509
|
+
"return": {
|
|
104510
|
+
"type": {
|
|
104511
|
+
"text": "boolean"
|
|
104512
|
+
}
|
|
104513
|
+
},
|
|
104514
|
+
"parameters": [
|
|
104515
|
+
{
|
|
104516
|
+
"name": "element",
|
|
104517
|
+
"type": {
|
|
104518
|
+
"text": "HTMLElement"
|
|
104519
|
+
}
|
|
104520
|
+
}
|
|
104521
|
+
]
|
|
104522
|
+
},
|
|
104523
|
+
{
|
|
104524
|
+
"kind": "method",
|
|
104525
|
+
"name": "_isGoPreviousElement",
|
|
104526
|
+
"privacy": "private",
|
|
104527
|
+
"return": {
|
|
104528
|
+
"type": {
|
|
104529
|
+
"text": "boolean"
|
|
104530
|
+
}
|
|
104531
|
+
},
|
|
104532
|
+
"parameters": [
|
|
104533
|
+
{
|
|
104534
|
+
"name": "element",
|
|
104535
|
+
"type": {
|
|
104536
|
+
"text": "HTMLElement"
|
|
104537
|
+
}
|
|
104538
|
+
}
|
|
104539
|
+
]
|
|
104540
|
+
},
|
|
104541
|
+
{
|
|
104542
|
+
"kind": "method",
|
|
104543
|
+
"name": "_onStepElementResize",
|
|
104544
|
+
"privacy": "private",
|
|
104545
|
+
"return": {
|
|
104546
|
+
"type": {
|
|
104547
|
+
"text": "void"
|
|
104548
|
+
}
|
|
104549
|
+
}
|
|
104550
|
+
},
|
|
104551
|
+
{
|
|
104552
|
+
"kind": "method",
|
|
104553
|
+
"name": "_assignLabel",
|
|
104554
|
+
"privacy": "private",
|
|
104555
|
+
"return": {
|
|
104556
|
+
"type": {
|
|
104557
|
+
"text": "void"
|
|
104558
|
+
}
|
|
104559
|
+
}
|
|
104560
|
+
},
|
|
104561
|
+
{
|
|
104562
|
+
"kind": "method",
|
|
104563
|
+
"name": "toggleState",
|
|
104564
|
+
"privacy": "protected",
|
|
104565
|
+
"return": {
|
|
104566
|
+
"type": {
|
|
104567
|
+
"text": "void"
|
|
104568
|
+
}
|
|
104569
|
+
},
|
|
104570
|
+
"parameters": [
|
|
104571
|
+
{
|
|
104572
|
+
"name": "value",
|
|
104573
|
+
"type": {
|
|
104574
|
+
"text": "string"
|
|
104575
|
+
}
|
|
104576
|
+
},
|
|
104577
|
+
{
|
|
104578
|
+
"name": "force",
|
|
104579
|
+
"optional": true,
|
|
104580
|
+
"type": {
|
|
104581
|
+
"text": "boolean"
|
|
104582
|
+
}
|
|
104583
|
+
}
|
|
104584
|
+
],
|
|
104585
|
+
"inheritedFrom": {
|
|
104586
|
+
"name": "SbbElementInternalsMixin",
|
|
104587
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
104588
|
+
}
|
|
104589
|
+
}
|
|
104590
|
+
],
|
|
104591
|
+
"events": [
|
|
104592
|
+
{
|
|
104593
|
+
"name": "validate",
|
|
104594
|
+
"type": {
|
|
104595
|
+
"text": "CustomEvent<SbbStepValidateEventDetails>"
|
|
104596
|
+
},
|
|
104597
|
+
"description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
|
|
104598
|
+
}
|
|
104599
|
+
],
|
|
104600
|
+
"mixins": [
|
|
104601
|
+
{
|
|
104602
|
+
"name": "SbbElementInternalsMixin",
|
|
104603
|
+
"module": "core/mixins.js"
|
|
104604
|
+
}
|
|
104605
|
+
],
|
|
104606
|
+
"superclass": {
|
|
104607
|
+
"name": "LitElement",
|
|
104608
|
+
"package": "lit"
|
|
104609
|
+
},
|
|
104610
|
+
"tagName": "sbb-step",
|
|
104611
|
+
"customElement": true
|
|
104612
|
+
}
|
|
104613
|
+
],
|
|
104614
|
+
"exports": [
|
|
104615
|
+
{
|
|
104616
|
+
"kind": "js",
|
|
104617
|
+
"name": "SbbStepElement",
|
|
104618
|
+
"declaration": {
|
|
104619
|
+
"name": "SbbStepElement",
|
|
104620
|
+
"module": "stepper/step/step.component.js"
|
|
104621
|
+
}
|
|
104622
|
+
},
|
|
104623
|
+
{
|
|
104624
|
+
"kind": "custom-element-definition",
|
|
104625
|
+
"name": "sbb-step",
|
|
104626
|
+
"declaration": {
|
|
104627
|
+
"name": "SbbStepElement",
|
|
104628
|
+
"module": "stepper/step/step.component.js"
|
|
104629
|
+
}
|
|
104630
|
+
}
|
|
104631
|
+
]
|
|
104632
|
+
},
|
|
104633
104633
|
{
|
|
104634
104634
|
"kind": "javascript-module",
|
|
104635
104635
|
"path": "stepper/stepper/stepper.component.js",
|