@sbb-esta/lyne-elements-dev 4.10.0-dev.1775549890 → 4.10.0-dev.1775566305
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 +1418 -1418
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -9403,6 +9403,205 @@
|
|
|
9403
9403
|
}
|
|
9404
9404
|
]
|
|
9405
9405
|
},
|
|
9406
|
+
{
|
|
9407
|
+
"kind": "javascript-module",
|
|
9408
|
+
"path": "chip-label/chip-label.component.js",
|
|
9409
|
+
"declarations": [
|
|
9410
|
+
{
|
|
9411
|
+
"kind": "class",
|
|
9412
|
+
"description": "It displays brief and compact information.",
|
|
9413
|
+
"name": "SbbChipLabelElement",
|
|
9414
|
+
"slots": [
|
|
9415
|
+
{
|
|
9416
|
+
"description": "Use the unnamed slot to add content to the `sbb-chip-label`.",
|
|
9417
|
+
"name": ""
|
|
9418
|
+
}
|
|
9419
|
+
],
|
|
9420
|
+
"members": [
|
|
9421
|
+
{
|
|
9422
|
+
"kind": "field",
|
|
9423
|
+
"name": "elementName",
|
|
9424
|
+
"type": {
|
|
9425
|
+
"text": "string"
|
|
9426
|
+
},
|
|
9427
|
+
"privacy": "public",
|
|
9428
|
+
"static": true,
|
|
9429
|
+
"readonly": true,
|
|
9430
|
+
"default": "'sbb-chip-label'",
|
|
9431
|
+
"inheritedFrom": {
|
|
9432
|
+
"name": "SbbElement",
|
|
9433
|
+
"module": "core/base-elements/element.js"
|
|
9434
|
+
}
|
|
9435
|
+
},
|
|
9436
|
+
{
|
|
9437
|
+
"kind": "field",
|
|
9438
|
+
"name": "size",
|
|
9439
|
+
"type": {
|
|
9440
|
+
"text": "'xxs' | 'xs' | 's'"
|
|
9441
|
+
},
|
|
9442
|
+
"privacy": "public",
|
|
9443
|
+
"default": "'xxs'",
|
|
9444
|
+
"description": "Size of the chip.",
|
|
9445
|
+
"attribute": "size",
|
|
9446
|
+
"reflects": true
|
|
9447
|
+
},
|
|
9448
|
+
{
|
|
9449
|
+
"kind": "field",
|
|
9450
|
+
"name": "color",
|
|
9451
|
+
"type": {
|
|
9452
|
+
"text": "'milk' | 'charcoal' | 'white' | 'granite'"
|
|
9453
|
+
},
|
|
9454
|
+
"privacy": "public",
|
|
9455
|
+
"default": "'milk'",
|
|
9456
|
+
"description": "Color of the chip.",
|
|
9457
|
+
"attribute": "color",
|
|
9458
|
+
"reflects": true
|
|
9459
|
+
},
|
|
9460
|
+
{
|
|
9461
|
+
"kind": "field",
|
|
9462
|
+
"name": "_hydrationRequired",
|
|
9463
|
+
"type": {
|
|
9464
|
+
"text": "boolean"
|
|
9465
|
+
},
|
|
9466
|
+
"privacy": "private",
|
|
9467
|
+
"default": "!!this.shadowRoot",
|
|
9468
|
+
"inheritedFrom": {
|
|
9469
|
+
"name": "SbbHydrationMixin",
|
|
9470
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
9471
|
+
}
|
|
9472
|
+
},
|
|
9473
|
+
{
|
|
9474
|
+
"kind": "field",
|
|
9475
|
+
"name": "_hydrationComplete",
|
|
9476
|
+
"privacy": "private",
|
|
9477
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
9478
|
+
"inheritedFrom": {
|
|
9479
|
+
"name": "SbbHydrationMixin",
|
|
9480
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
9481
|
+
}
|
|
9482
|
+
},
|
|
9483
|
+
{
|
|
9484
|
+
"kind": "field",
|
|
9485
|
+
"name": "_resolveHydration",
|
|
9486
|
+
"type": {
|
|
9487
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
9488
|
+
},
|
|
9489
|
+
"privacy": "private",
|
|
9490
|
+
"inheritedFrom": {
|
|
9491
|
+
"name": "SbbHydrationMixin",
|
|
9492
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
9493
|
+
}
|
|
9494
|
+
},
|
|
9495
|
+
{
|
|
9496
|
+
"kind": "field",
|
|
9497
|
+
"name": "hydrationRequired",
|
|
9498
|
+
"type": {
|
|
9499
|
+
"text": "boolean"
|
|
9500
|
+
},
|
|
9501
|
+
"privacy": "protected",
|
|
9502
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
9503
|
+
"readonly": true,
|
|
9504
|
+
"inheritedFrom": {
|
|
9505
|
+
"name": "SbbHydrationMixin",
|
|
9506
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
9507
|
+
},
|
|
9508
|
+
"default": "!!this.shadowRoot"
|
|
9509
|
+
},
|
|
9510
|
+
{
|
|
9511
|
+
"kind": "method",
|
|
9512
|
+
"name": "toggleState",
|
|
9513
|
+
"privacy": "protected",
|
|
9514
|
+
"return": {
|
|
9515
|
+
"type": {
|
|
9516
|
+
"text": "void"
|
|
9517
|
+
}
|
|
9518
|
+
},
|
|
9519
|
+
"parameters": [
|
|
9520
|
+
{
|
|
9521
|
+
"name": "value",
|
|
9522
|
+
"type": {
|
|
9523
|
+
"text": "string"
|
|
9524
|
+
}
|
|
9525
|
+
},
|
|
9526
|
+
{
|
|
9527
|
+
"name": "force",
|
|
9528
|
+
"optional": true,
|
|
9529
|
+
"type": {
|
|
9530
|
+
"text": "boolean"
|
|
9531
|
+
}
|
|
9532
|
+
}
|
|
9533
|
+
],
|
|
9534
|
+
"inheritedFrom": {
|
|
9535
|
+
"name": "SbbElementInternalsMixin",
|
|
9536
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
9537
|
+
}
|
|
9538
|
+
},
|
|
9539
|
+
{
|
|
9540
|
+
"kind": "field",
|
|
9541
|
+
"name": "['_$sbbElement$']",
|
|
9542
|
+
"type": {
|
|
9543
|
+
"text": "boolean"
|
|
9544
|
+
},
|
|
9545
|
+
"privacy": "public",
|
|
9546
|
+
"static": true,
|
|
9547
|
+
"default": "true",
|
|
9548
|
+
"inheritedFrom": {
|
|
9549
|
+
"name": "SbbElement",
|
|
9550
|
+
"module": "core/base-elements/element.js"
|
|
9551
|
+
}
|
|
9552
|
+
},
|
|
9553
|
+
{
|
|
9554
|
+
"kind": "field",
|
|
9555
|
+
"name": "_controllers",
|
|
9556
|
+
"type": {
|
|
9557
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
9558
|
+
},
|
|
9559
|
+
"privacy": "private",
|
|
9560
|
+
"inheritedFrom": {
|
|
9561
|
+
"name": "SbbElement",
|
|
9562
|
+
"module": "core/base-elements/element.js"
|
|
9563
|
+
}
|
|
9564
|
+
}
|
|
9565
|
+
],
|
|
9566
|
+
"attributes": [
|
|
9567
|
+
{
|
|
9568
|
+
"name": "size",
|
|
9569
|
+
"type": {
|
|
9570
|
+
"text": "'xxs' | 'xs' | 's'"
|
|
9571
|
+
},
|
|
9572
|
+
"default": "'xxs'",
|
|
9573
|
+
"description": "Size of the chip.",
|
|
9574
|
+
"fieldName": "size"
|
|
9575
|
+
},
|
|
9576
|
+
{
|
|
9577
|
+
"name": "color",
|
|
9578
|
+
"type": {
|
|
9579
|
+
"text": "'milk' | 'charcoal' | 'white' | 'granite'"
|
|
9580
|
+
},
|
|
9581
|
+
"default": "'milk'",
|
|
9582
|
+
"description": "Color of the chip.",
|
|
9583
|
+
"fieldName": "color"
|
|
9584
|
+
}
|
|
9585
|
+
],
|
|
9586
|
+
"superclass": {
|
|
9587
|
+
"name": "SbbElement",
|
|
9588
|
+
"module": "core/base-elements.js"
|
|
9589
|
+
},
|
|
9590
|
+
"tagName": "sbb-chip-label",
|
|
9591
|
+
"customElement": true
|
|
9592
|
+
}
|
|
9593
|
+
],
|
|
9594
|
+
"exports": [
|
|
9595
|
+
{
|
|
9596
|
+
"kind": "js",
|
|
9597
|
+
"name": "SbbChipLabelElement",
|
|
9598
|
+
"declaration": {
|
|
9599
|
+
"name": "SbbChipLabelElement",
|
|
9600
|
+
"module": "chip-label/chip-label.component.js"
|
|
9601
|
+
}
|
|
9602
|
+
}
|
|
9603
|
+
]
|
|
9604
|
+
},
|
|
9406
9605
|
{
|
|
9407
9606
|
"kind": "javascript-module",
|
|
9408
9607
|
"path": "clock/clock.component.js",
|
|
@@ -9833,205 +10032,6 @@
|
|
|
9833
10032
|
}
|
|
9834
10033
|
]
|
|
9835
10034
|
},
|
|
9836
|
-
{
|
|
9837
|
-
"kind": "javascript-module",
|
|
9838
|
-
"path": "chip-label/chip-label.component.js",
|
|
9839
|
-
"declarations": [
|
|
9840
|
-
{
|
|
9841
|
-
"kind": "class",
|
|
9842
|
-
"description": "It displays brief and compact information.",
|
|
9843
|
-
"name": "SbbChipLabelElement",
|
|
9844
|
-
"slots": [
|
|
9845
|
-
{
|
|
9846
|
-
"description": "Use the unnamed slot to add content to the `sbb-chip-label`.",
|
|
9847
|
-
"name": ""
|
|
9848
|
-
}
|
|
9849
|
-
],
|
|
9850
|
-
"members": [
|
|
9851
|
-
{
|
|
9852
|
-
"kind": "field",
|
|
9853
|
-
"name": "elementName",
|
|
9854
|
-
"type": {
|
|
9855
|
-
"text": "string"
|
|
9856
|
-
},
|
|
9857
|
-
"privacy": "public",
|
|
9858
|
-
"static": true,
|
|
9859
|
-
"readonly": true,
|
|
9860
|
-
"default": "'sbb-chip-label'",
|
|
9861
|
-
"inheritedFrom": {
|
|
9862
|
-
"name": "SbbElement",
|
|
9863
|
-
"module": "core/base-elements/element.js"
|
|
9864
|
-
}
|
|
9865
|
-
},
|
|
9866
|
-
{
|
|
9867
|
-
"kind": "field",
|
|
9868
|
-
"name": "size",
|
|
9869
|
-
"type": {
|
|
9870
|
-
"text": "'xxs' | 'xs' | 's'"
|
|
9871
|
-
},
|
|
9872
|
-
"privacy": "public",
|
|
9873
|
-
"default": "'xxs'",
|
|
9874
|
-
"description": "Size of the chip.",
|
|
9875
|
-
"attribute": "size",
|
|
9876
|
-
"reflects": true
|
|
9877
|
-
},
|
|
9878
|
-
{
|
|
9879
|
-
"kind": "field",
|
|
9880
|
-
"name": "color",
|
|
9881
|
-
"type": {
|
|
9882
|
-
"text": "'milk' | 'charcoal' | 'white' | 'granite'"
|
|
9883
|
-
},
|
|
9884
|
-
"privacy": "public",
|
|
9885
|
-
"default": "'milk'",
|
|
9886
|
-
"description": "Color of the chip.",
|
|
9887
|
-
"attribute": "color",
|
|
9888
|
-
"reflects": true
|
|
9889
|
-
},
|
|
9890
|
-
{
|
|
9891
|
-
"kind": "field",
|
|
9892
|
-
"name": "_hydrationRequired",
|
|
9893
|
-
"type": {
|
|
9894
|
-
"text": "boolean"
|
|
9895
|
-
},
|
|
9896
|
-
"privacy": "private",
|
|
9897
|
-
"default": "!!this.shadowRoot",
|
|
9898
|
-
"inheritedFrom": {
|
|
9899
|
-
"name": "SbbHydrationMixin",
|
|
9900
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
9901
|
-
}
|
|
9902
|
-
},
|
|
9903
|
-
{
|
|
9904
|
-
"kind": "field",
|
|
9905
|
-
"name": "_hydrationComplete",
|
|
9906
|
-
"privacy": "private",
|
|
9907
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
9908
|
-
"inheritedFrom": {
|
|
9909
|
-
"name": "SbbHydrationMixin",
|
|
9910
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
9911
|
-
}
|
|
9912
|
-
},
|
|
9913
|
-
{
|
|
9914
|
-
"kind": "field",
|
|
9915
|
-
"name": "_resolveHydration",
|
|
9916
|
-
"type": {
|
|
9917
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
9918
|
-
},
|
|
9919
|
-
"privacy": "private",
|
|
9920
|
-
"inheritedFrom": {
|
|
9921
|
-
"name": "SbbHydrationMixin",
|
|
9922
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
9923
|
-
}
|
|
9924
|
-
},
|
|
9925
|
-
{
|
|
9926
|
-
"kind": "field",
|
|
9927
|
-
"name": "hydrationRequired",
|
|
9928
|
-
"type": {
|
|
9929
|
-
"text": "boolean"
|
|
9930
|
-
},
|
|
9931
|
-
"privacy": "protected",
|
|
9932
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
9933
|
-
"readonly": true,
|
|
9934
|
-
"inheritedFrom": {
|
|
9935
|
-
"name": "SbbHydrationMixin",
|
|
9936
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
9937
|
-
},
|
|
9938
|
-
"default": "!!this.shadowRoot"
|
|
9939
|
-
},
|
|
9940
|
-
{
|
|
9941
|
-
"kind": "method",
|
|
9942
|
-
"name": "toggleState",
|
|
9943
|
-
"privacy": "protected",
|
|
9944
|
-
"return": {
|
|
9945
|
-
"type": {
|
|
9946
|
-
"text": "void"
|
|
9947
|
-
}
|
|
9948
|
-
},
|
|
9949
|
-
"parameters": [
|
|
9950
|
-
{
|
|
9951
|
-
"name": "value",
|
|
9952
|
-
"type": {
|
|
9953
|
-
"text": "string"
|
|
9954
|
-
}
|
|
9955
|
-
},
|
|
9956
|
-
{
|
|
9957
|
-
"name": "force",
|
|
9958
|
-
"optional": true,
|
|
9959
|
-
"type": {
|
|
9960
|
-
"text": "boolean"
|
|
9961
|
-
}
|
|
9962
|
-
}
|
|
9963
|
-
],
|
|
9964
|
-
"inheritedFrom": {
|
|
9965
|
-
"name": "SbbElementInternalsMixin",
|
|
9966
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
9967
|
-
}
|
|
9968
|
-
},
|
|
9969
|
-
{
|
|
9970
|
-
"kind": "field",
|
|
9971
|
-
"name": "['_$sbbElement$']",
|
|
9972
|
-
"type": {
|
|
9973
|
-
"text": "boolean"
|
|
9974
|
-
},
|
|
9975
|
-
"privacy": "public",
|
|
9976
|
-
"static": true,
|
|
9977
|
-
"default": "true",
|
|
9978
|
-
"inheritedFrom": {
|
|
9979
|
-
"name": "SbbElement",
|
|
9980
|
-
"module": "core/base-elements/element.js"
|
|
9981
|
-
}
|
|
9982
|
-
},
|
|
9983
|
-
{
|
|
9984
|
-
"kind": "field",
|
|
9985
|
-
"name": "_controllers",
|
|
9986
|
-
"type": {
|
|
9987
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
9988
|
-
},
|
|
9989
|
-
"privacy": "private",
|
|
9990
|
-
"inheritedFrom": {
|
|
9991
|
-
"name": "SbbElement",
|
|
9992
|
-
"module": "core/base-elements/element.js"
|
|
9993
|
-
}
|
|
9994
|
-
}
|
|
9995
|
-
],
|
|
9996
|
-
"attributes": [
|
|
9997
|
-
{
|
|
9998
|
-
"name": "size",
|
|
9999
|
-
"type": {
|
|
10000
|
-
"text": "'xxs' | 'xs' | 's'"
|
|
10001
|
-
},
|
|
10002
|
-
"default": "'xxs'",
|
|
10003
|
-
"description": "Size of the chip.",
|
|
10004
|
-
"fieldName": "size"
|
|
10005
|
-
},
|
|
10006
|
-
{
|
|
10007
|
-
"name": "color",
|
|
10008
|
-
"type": {
|
|
10009
|
-
"text": "'milk' | 'charcoal' | 'white' | 'granite'"
|
|
10010
|
-
},
|
|
10011
|
-
"default": "'milk'",
|
|
10012
|
-
"description": "Color of the chip.",
|
|
10013
|
-
"fieldName": "color"
|
|
10014
|
-
}
|
|
10015
|
-
],
|
|
10016
|
-
"superclass": {
|
|
10017
|
-
"name": "SbbElement",
|
|
10018
|
-
"module": "core/base-elements.js"
|
|
10019
|
-
},
|
|
10020
|
-
"tagName": "sbb-chip-label",
|
|
10021
|
-
"customElement": true
|
|
10022
|
-
}
|
|
10023
|
-
],
|
|
10024
|
-
"exports": [
|
|
10025
|
-
{
|
|
10026
|
-
"kind": "js",
|
|
10027
|
-
"name": "SbbChipLabelElement",
|
|
10028
|
-
"declaration": {
|
|
10029
|
-
"name": "SbbChipLabelElement",
|
|
10030
|
-
"module": "chip-label/chip-label.component.js"
|
|
10031
|
-
}
|
|
10032
|
-
}
|
|
10033
|
-
]
|
|
10034
|
-
},
|
|
10035
10035
|
{
|
|
10036
10036
|
"kind": "javascript-module",
|
|
10037
10037
|
"path": "container/container.js",
|
|
@@ -120224,16 +120224,20 @@
|
|
|
120224
120224
|
},
|
|
120225
120225
|
{
|
|
120226
120226
|
"kind": "javascript-module",
|
|
120227
|
-
"path": "sidebar/sidebar
|
|
120227
|
+
"path": "sidebar/sidebar/sidebar.component.js",
|
|
120228
120228
|
"declarations": [
|
|
120229
120229
|
{
|
|
120230
120230
|
"kind": "class",
|
|
120231
|
-
"description": "This
|
|
120232
|
-
"name": "
|
|
120231
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
120232
|
+
"name": "SbbSidebarElement",
|
|
120233
120233
|
"slots": [
|
|
120234
120234
|
{
|
|
120235
|
-
"description": "Use the unnamed slot to
|
|
120235
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
120236
120236
|
"name": ""
|
|
120237
|
+
},
|
|
120238
|
+
{
|
|
120239
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
120240
|
+
"name": "title"
|
|
120237
120241
|
}
|
|
120238
120242
|
],
|
|
120239
120243
|
"members": [
|
|
@@ -120246,946 +120250,483 @@
|
|
|
120246
120250
|
"privacy": "public",
|
|
120247
120251
|
"static": true,
|
|
120248
120252
|
"readonly": true,
|
|
120249
|
-
"default": "'sbb-sidebar-container'",
|
|
120250
120253
|
"inheritedFrom": {
|
|
120251
120254
|
"name": "SbbElement",
|
|
120252
120255
|
"module": "core/base-elements/element.js"
|
|
120253
|
-
}
|
|
120256
|
+
},
|
|
120257
|
+
"default": "'sbb-sidebar'"
|
|
120254
120258
|
},
|
|
120255
120259
|
{
|
|
120256
120260
|
"kind": "field",
|
|
120257
|
-
"name": "
|
|
120261
|
+
"name": "color",
|
|
120258
120262
|
"type": {
|
|
120259
|
-
"text": "
|
|
120263
|
+
"text": "'white' | 'milk'"
|
|
120260
120264
|
},
|
|
120261
120265
|
"privacy": "public",
|
|
120262
|
-
"
|
|
120263
|
-
"
|
|
120266
|
+
"default": "'white'",
|
|
120267
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
120268
|
+
"attribute": "color",
|
|
120269
|
+
"reflects": true
|
|
120264
120270
|
},
|
|
120265
120271
|
{
|
|
120266
120272
|
"kind": "field",
|
|
120267
|
-
"name": "
|
|
120273
|
+
"name": "mode",
|
|
120268
120274
|
"type": {
|
|
120269
|
-
"text": "
|
|
120275
|
+
"text": "'side' | 'over'"
|
|
120270
120276
|
},
|
|
120271
120277
|
"privacy": "public",
|
|
120272
|
-
"
|
|
120273
|
-
"
|
|
120278
|
+
"default": "'side'",
|
|
120279
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
120280
|
+
"attribute": "mode",
|
|
120281
|
+
"reflects": true
|
|
120274
120282
|
},
|
|
120275
120283
|
{
|
|
120276
120284
|
"kind": "field",
|
|
120277
|
-
"name": "
|
|
120285
|
+
"name": "position",
|
|
120278
120286
|
"type": {
|
|
120279
|
-
"text": "
|
|
120287
|
+
"text": "'start' | 'end'"
|
|
120280
120288
|
},
|
|
120281
120289
|
"privacy": "public",
|
|
120282
|
-
"
|
|
120283
|
-
"
|
|
120290
|
+
"default": "'start'",
|
|
120291
|
+
"description": "The side that the sidebar is attached to.",
|
|
120292
|
+
"attribute": "position",
|
|
120293
|
+
"reflects": true
|
|
120284
120294
|
},
|
|
120285
120295
|
{
|
|
120286
120296
|
"kind": "field",
|
|
120287
|
-
"name": "
|
|
120288
|
-
"
|
|
120289
|
-
|
|
120297
|
+
"name": "opened",
|
|
120298
|
+
"type": {
|
|
120299
|
+
"text": "boolean"
|
|
120300
|
+
},
|
|
120301
|
+
"privacy": "public",
|
|
120302
|
+
"default": "false",
|
|
120303
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
120304
|
+
"attribute": "opened",
|
|
120305
|
+
"reflects": true
|
|
120290
120306
|
},
|
|
120291
120307
|
{
|
|
120292
|
-
"kind": "
|
|
120293
|
-
"name": "
|
|
120294
|
-
"
|
|
120295
|
-
|
|
120296
|
-
|
|
120297
|
-
|
|
120298
|
-
|
|
120299
|
-
|
|
120308
|
+
"kind": "field",
|
|
120309
|
+
"name": "focusOnOpen",
|
|
120310
|
+
"type": {
|
|
120311
|
+
"text": "boolean"
|
|
120312
|
+
},
|
|
120313
|
+
"privacy": "public",
|
|
120314
|
+
"default": "false",
|
|
120315
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
120316
|
+
"attribute": "focus-on-open"
|
|
120300
120317
|
},
|
|
120301
120318
|
{
|
|
120302
|
-
"kind": "
|
|
120303
|
-
"name": "
|
|
120304
|
-
"
|
|
120305
|
-
|
|
120306
|
-
"type": {
|
|
120307
|
-
"text": "Promise<void>"
|
|
120308
|
-
}
|
|
120319
|
+
"kind": "field",
|
|
120320
|
+
"name": "container",
|
|
120321
|
+
"type": {
|
|
120322
|
+
"text": "SbbSidebarContainerElement | null"
|
|
120309
120323
|
},
|
|
120310
|
-
"
|
|
120324
|
+
"privacy": "public",
|
|
120325
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
120326
|
+
"readonly": true,
|
|
120327
|
+
"default": "null"
|
|
120311
120328
|
},
|
|
120312
120329
|
{
|
|
120313
120330
|
"kind": "field",
|
|
120314
|
-
"name": "
|
|
120331
|
+
"name": "_container",
|
|
120315
120332
|
"type": {
|
|
120316
|
-
"text": "
|
|
120333
|
+
"text": "SbbSidebarContainerElement | null"
|
|
120317
120334
|
},
|
|
120318
120335
|
"privacy": "private",
|
|
120319
|
-
"default": "
|
|
120320
|
-
"inheritedFrom": {
|
|
120321
|
-
"name": "SbbElement",
|
|
120322
|
-
"module": "core/base-elements/element.js"
|
|
120323
|
-
}
|
|
120336
|
+
"default": "null"
|
|
120324
120337
|
},
|
|
120325
120338
|
{
|
|
120326
120339
|
"kind": "field",
|
|
120327
|
-
"name": "
|
|
120340
|
+
"name": "_lastFocusedElement",
|
|
120341
|
+
"type": {
|
|
120342
|
+
"text": "HTMLElement | null"
|
|
120343
|
+
},
|
|
120328
120344
|
"privacy": "private",
|
|
120329
|
-
"default": "
|
|
120330
|
-
"inheritedFrom": {
|
|
120331
|
-
"name": "SbbElement",
|
|
120332
|
-
"module": "core/base-elements/element.js"
|
|
120333
|
-
}
|
|
120345
|
+
"default": "null"
|
|
120334
120346
|
},
|
|
120335
120347
|
{
|
|
120336
120348
|
"kind": "field",
|
|
120337
|
-
"name": "
|
|
120338
|
-
"type": {
|
|
120339
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
120340
|
-
},
|
|
120349
|
+
"name": "_focusTrapController",
|
|
120341
120350
|
"privacy": "private",
|
|
120342
|
-
"
|
|
120343
|
-
"name": "SbbElement",
|
|
120344
|
-
"module": "core/base-elements/element.js"
|
|
120345
|
-
}
|
|
120351
|
+
"default": "new SbbFocusTrapController(this)"
|
|
120346
120352
|
},
|
|
120347
120353
|
{
|
|
120348
120354
|
"kind": "field",
|
|
120349
|
-
"name": "
|
|
120350
|
-
"
|
|
120351
|
-
|
|
120352
|
-
},
|
|
120353
|
-
"privacy": "protected",
|
|
120354
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
120355
|
-
"readonly": true,
|
|
120356
|
-
"inheritedFrom": {
|
|
120357
|
-
"name": "SbbElement",
|
|
120358
|
-
"module": "core/base-elements/element.js"
|
|
120359
|
-
},
|
|
120360
|
-
"default": "!!this.shadowRoot"
|
|
120355
|
+
"name": "_escapableOverlayController",
|
|
120356
|
+
"privacy": "private",
|
|
120357
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
120361
120358
|
},
|
|
120362
120359
|
{
|
|
120363
120360
|
"kind": "method",
|
|
120364
|
-
"name": "
|
|
120365
|
-
"privacy": "
|
|
120361
|
+
"name": "toggle",
|
|
120362
|
+
"privacy": "public",
|
|
120366
120363
|
"return": {
|
|
120367
120364
|
"type": {
|
|
120368
120365
|
"text": "void"
|
|
120369
120366
|
}
|
|
120370
120367
|
},
|
|
120371
|
-
"
|
|
120372
|
-
{
|
|
120373
|
-
"name": "value",
|
|
120374
|
-
"type": {
|
|
120375
|
-
"text": "string"
|
|
120376
|
-
}
|
|
120377
|
-
},
|
|
120378
|
-
{
|
|
120379
|
-
"name": "force",
|
|
120380
|
-
"optional": true,
|
|
120381
|
-
"type": {
|
|
120382
|
-
"text": "boolean"
|
|
120383
|
-
}
|
|
120384
|
-
}
|
|
120385
|
-
],
|
|
120386
|
-
"inheritedFrom": {
|
|
120387
|
-
"name": "SbbElement",
|
|
120388
|
-
"module": "core/base-elements/element.js"
|
|
120389
|
-
}
|
|
120368
|
+
"description": "Toggles the sidebar visibility."
|
|
120390
120369
|
},
|
|
120391
120370
|
{
|
|
120392
|
-
"kind": "
|
|
120393
|
-
"name": "
|
|
120394
|
-
"type": {
|
|
120395
|
-
"text": "boolean"
|
|
120396
|
-
},
|
|
120371
|
+
"kind": "method",
|
|
120372
|
+
"name": "open",
|
|
120397
120373
|
"privacy": "public",
|
|
120398
|
-
"
|
|
120399
|
-
|
|
120374
|
+
"return": {
|
|
120375
|
+
"type": {
|
|
120376
|
+
"text": "void"
|
|
120377
|
+
}
|
|
120378
|
+
},
|
|
120379
|
+
"description": "Opens the sidebar.",
|
|
120400
120380
|
"inheritedFrom": {
|
|
120401
|
-
"name": "
|
|
120402
|
-
"module": "core/base-elements/element.js"
|
|
120381
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120382
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120403
120383
|
}
|
|
120404
120384
|
},
|
|
120405
120385
|
{
|
|
120406
|
-
"kind": "
|
|
120407
|
-
"name": "
|
|
120408
|
-
"type": {
|
|
120409
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
120410
|
-
},
|
|
120386
|
+
"kind": "method",
|
|
120387
|
+
"name": "_isZeroAnimationDuration",
|
|
120411
120388
|
"privacy": "private",
|
|
120412
|
-
"
|
|
120413
|
-
"
|
|
120414
|
-
|
|
120389
|
+
"return": {
|
|
120390
|
+
"type": {
|
|
120391
|
+
"text": "boolean"
|
|
120392
|
+
}
|
|
120415
120393
|
}
|
|
120416
|
-
}
|
|
120417
|
-
],
|
|
120418
|
-
"superclass": {
|
|
120419
|
-
"name": "SbbElement",
|
|
120420
|
-
"module": "core/base-elements.js"
|
|
120421
|
-
},
|
|
120422
|
-
"tagName": "sbb-sidebar-container",
|
|
120423
|
-
"customElement": true
|
|
120424
|
-
}
|
|
120425
|
-
],
|
|
120426
|
-
"exports": [
|
|
120427
|
-
{
|
|
120428
|
-
"kind": "js",
|
|
120429
|
-
"name": "SbbSidebarContainerElement",
|
|
120430
|
-
"declaration": {
|
|
120431
|
-
"name": "SbbSidebarContainerElement",
|
|
120432
|
-
"module": "sidebar/sidebar-container/sidebar-container.component.js"
|
|
120433
|
-
}
|
|
120434
|
-
}
|
|
120435
|
-
]
|
|
120436
|
-
},
|
|
120437
|
-
{
|
|
120438
|
-
"kind": "javascript-module",
|
|
120439
|
-
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
120440
|
-
"declarations": [
|
|
120441
|
-
{
|
|
120442
|
-
"kind": "class",
|
|
120443
|
-
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
120444
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
120445
|
-
"slots": [
|
|
120394
|
+
},
|
|
120446
120395
|
{
|
|
120447
|
-
"
|
|
120448
|
-
"name": "",
|
|
120449
|
-
"
|
|
120450
|
-
|
|
120451
|
-
"
|
|
120396
|
+
"kind": "method",
|
|
120397
|
+
"name": "_handleOpening",
|
|
120398
|
+
"privacy": "private",
|
|
120399
|
+
"return": {
|
|
120400
|
+
"type": {
|
|
120401
|
+
"text": "void"
|
|
120402
|
+
}
|
|
120452
120403
|
}
|
|
120453
120404
|
},
|
|
120454
120405
|
{
|
|
120455
|
-
"
|
|
120456
|
-
"name": "
|
|
120406
|
+
"kind": "method",
|
|
120407
|
+
"name": "close",
|
|
120408
|
+
"privacy": "public",
|
|
120409
|
+
"return": {
|
|
120410
|
+
"type": {
|
|
120411
|
+
"text": "void"
|
|
120412
|
+
}
|
|
120413
|
+
},
|
|
120414
|
+
"description": "Closes the sidebar.",
|
|
120457
120415
|
"inheritedFrom": {
|
|
120458
|
-
"name": "
|
|
120459
|
-
"module": "
|
|
120416
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120417
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120460
120418
|
}
|
|
120461
|
-
}
|
|
120462
|
-
],
|
|
120463
|
-
"members": [
|
|
120419
|
+
},
|
|
120464
120420
|
{
|
|
120465
|
-
"kind": "
|
|
120466
|
-
"name": "
|
|
120467
|
-
"
|
|
120468
|
-
|
|
120469
|
-
|
|
120470
|
-
|
|
120471
|
-
|
|
120472
|
-
|
|
120473
|
-
"inheritedFrom": {
|
|
120474
|
-
"name": "SbbElement",
|
|
120475
|
-
"module": "core/base-elements/element.js"
|
|
120476
|
-
},
|
|
120477
|
-
"default": "'sbb-sidebar-close-button'"
|
|
120421
|
+
"kind": "method",
|
|
120422
|
+
"name": "_handleClosing",
|
|
120423
|
+
"privacy": "private",
|
|
120424
|
+
"return": {
|
|
120425
|
+
"type": {
|
|
120426
|
+
"text": "void"
|
|
120427
|
+
}
|
|
120428
|
+
}
|
|
120478
120429
|
},
|
|
120479
120430
|
{
|
|
120480
|
-
"kind": "
|
|
120481
|
-
"name": "
|
|
120431
|
+
"kind": "method",
|
|
120432
|
+
"name": "_takeFocus",
|
|
120482
120433
|
"privacy": "private",
|
|
120483
|
-
"
|
|
120434
|
+
"return": {
|
|
120435
|
+
"type": {
|
|
120436
|
+
"text": "void"
|
|
120437
|
+
}
|
|
120438
|
+
}
|
|
120484
120439
|
},
|
|
120485
120440
|
{
|
|
120486
120441
|
"kind": "method",
|
|
120487
|
-
"name": "
|
|
120442
|
+
"name": "cedeFocus",
|
|
120488
120443
|
"privacy": "protected",
|
|
120489
120444
|
"return": {
|
|
120490
120445
|
"type": {
|
|
120491
|
-
"text": "
|
|
120446
|
+
"text": "void"
|
|
120492
120447
|
}
|
|
120493
|
-
},
|
|
120494
|
-
"description": "Override this method to render the component template.",
|
|
120495
|
-
"inheritedFrom": {
|
|
120496
|
-
"name": "SbbActionBaseElement",
|
|
120497
|
-
"module": "core/base-elements/action-base-element.js"
|
|
120498
120448
|
}
|
|
120499
120449
|
},
|
|
120500
120450
|
{
|
|
120501
120451
|
"kind": "method",
|
|
120502
|
-
"name": "
|
|
120503
|
-
"privacy": "
|
|
120452
|
+
"name": "_updateSidebarWidth",
|
|
120453
|
+
"privacy": "private",
|
|
120454
|
+
"return": {
|
|
120455
|
+
"type": {
|
|
120456
|
+
"text": "void"
|
|
120457
|
+
}
|
|
120458
|
+
},
|
|
120459
|
+
"parameters": [
|
|
120460
|
+
{
|
|
120461
|
+
"name": "oldPosition",
|
|
120462
|
+
"optional": true,
|
|
120463
|
+
"type": {
|
|
120464
|
+
"text": "this['position']"
|
|
120465
|
+
}
|
|
120466
|
+
}
|
|
120467
|
+
]
|
|
120468
|
+
},
|
|
120469
|
+
{
|
|
120470
|
+
"kind": "method",
|
|
120471
|
+
"name": "_buildCssWidthVar",
|
|
120472
|
+
"privacy": "private",
|
|
120504
120473
|
"return": {
|
|
120505
120474
|
"type": {
|
|
120506
120475
|
"text": "string"
|
|
120507
120476
|
}
|
|
120508
120477
|
},
|
|
120509
|
-
"
|
|
120510
|
-
|
|
120511
|
-
|
|
120478
|
+
"parameters": [
|
|
120479
|
+
{
|
|
120480
|
+
"name": "position",
|
|
120481
|
+
"default": "this.position"
|
|
120482
|
+
}
|
|
120483
|
+
]
|
|
120484
|
+
},
|
|
120485
|
+
{
|
|
120486
|
+
"kind": "method",
|
|
120487
|
+
"name": "_isModeOver",
|
|
120488
|
+
"privacy": "private",
|
|
120489
|
+
"return": {
|
|
120490
|
+
"type": {
|
|
120491
|
+
"text": "boolean"
|
|
120492
|
+
}
|
|
120512
120493
|
}
|
|
120513
120494
|
},
|
|
120514
120495
|
{
|
|
120515
|
-
"kind": "
|
|
120516
|
-
"name": "
|
|
120517
|
-
"
|
|
120518
|
-
|
|
120496
|
+
"kind": "method",
|
|
120497
|
+
"name": "_onTransitionEnd",
|
|
120498
|
+
"privacy": "private",
|
|
120499
|
+
"return": {
|
|
120500
|
+
"type": {
|
|
120501
|
+
"text": "void"
|
|
120502
|
+
}
|
|
120519
120503
|
},
|
|
120520
|
-
"
|
|
120521
|
-
|
|
120522
|
-
|
|
120523
|
-
|
|
120524
|
-
|
|
120525
|
-
|
|
120526
|
-
|
|
120527
|
-
|
|
120504
|
+
"parameters": [
|
|
120505
|
+
{
|
|
120506
|
+
"name": "event",
|
|
120507
|
+
"type": {
|
|
120508
|
+
"text": "TransitionEvent"
|
|
120509
|
+
}
|
|
120510
|
+
}
|
|
120511
|
+
]
|
|
120512
|
+
},
|
|
120513
|
+
{
|
|
120514
|
+
"kind": "method",
|
|
120515
|
+
"name": "_detectScrolledState",
|
|
120516
|
+
"privacy": "private",
|
|
120517
|
+
"return": {
|
|
120518
|
+
"type": {
|
|
120519
|
+
"text": "void"
|
|
120520
|
+
}
|
|
120528
120521
|
}
|
|
120529
120522
|
},
|
|
120530
120523
|
{
|
|
120531
120524
|
"kind": "field",
|
|
120532
|
-
"name": "
|
|
120525
|
+
"name": "isAnimating",
|
|
120533
120526
|
"type": {
|
|
120534
120527
|
"text": "boolean"
|
|
120535
120528
|
},
|
|
120536
120529
|
"privacy": "public",
|
|
120537
120530
|
"default": "false",
|
|
120538
|
-
"description": "Whether the
|
|
120539
|
-
"attribute": "loading",
|
|
120540
|
-
"reflects": true,
|
|
120531
|
+
"description": "Whether the component is currently animating.",
|
|
120541
120532
|
"inheritedFrom": {
|
|
120542
|
-
"name": "
|
|
120543
|
-
"module": "
|
|
120533
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120534
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120544
120535
|
}
|
|
120545
120536
|
},
|
|
120546
120537
|
{
|
|
120547
120538
|
"kind": "field",
|
|
120548
|
-
"name": "
|
|
120539
|
+
"name": "animationComplete",
|
|
120549
120540
|
"type": {
|
|
120550
|
-
"text": "
|
|
120541
|
+
"text": "Promise<void>"
|
|
120551
120542
|
},
|
|
120552
120543
|
"privacy": "public",
|
|
120553
|
-
"
|
|
120554
|
-
"
|
|
120555
|
-
"attribute": "negative",
|
|
120556
|
-
"reflects": true,
|
|
120544
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
120545
|
+
"readonly": true,
|
|
120557
120546
|
"inheritedFrom": {
|
|
120558
|
-
"name": "
|
|
120559
|
-
"module": "core/mixins/
|
|
120547
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120548
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120560
120549
|
}
|
|
120561
120550
|
},
|
|
120562
120551
|
{
|
|
120563
120552
|
"kind": "field",
|
|
120564
|
-
"name": "
|
|
120553
|
+
"name": "_animationPromise",
|
|
120565
120554
|
"type": {
|
|
120566
|
-
"text": "
|
|
120555
|
+
"text": "Promise<void>"
|
|
120567
120556
|
},
|
|
120568
|
-
"privacy": "
|
|
120569
|
-
"default": "''",
|
|
120570
|
-
"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.",
|
|
120571
|
-
"attribute": "icon-name",
|
|
120557
|
+
"privacy": "private",
|
|
120572
120558
|
"inheritedFrom": {
|
|
120573
|
-
"name": "
|
|
120574
|
-
"module": "
|
|
120559
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120560
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120575
120561
|
}
|
|
120576
120562
|
},
|
|
120577
120563
|
{
|
|
120578
120564
|
"kind": "method",
|
|
120579
|
-
"name": "
|
|
120565
|
+
"name": "startAnimation",
|
|
120580
120566
|
"privacy": "protected",
|
|
120581
120567
|
"return": {
|
|
120582
120568
|
"type": {
|
|
120583
|
-
"text": "
|
|
120569
|
+
"text": "void"
|
|
120584
120570
|
}
|
|
120585
120571
|
},
|
|
120586
|
-
"
|
|
120587
|
-
|
|
120588
|
-
|
|
120589
|
-
|
|
120590
|
-
|
|
120591
|
-
|
|
120592
|
-
|
|
120572
|
+
"inheritedFrom": {
|
|
120573
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120574
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120575
|
+
}
|
|
120576
|
+
},
|
|
120577
|
+
{
|
|
120578
|
+
"kind": "method",
|
|
120579
|
+
"name": "stopAnimation",
|
|
120580
|
+
"privacy": "protected",
|
|
120581
|
+
"return": {
|
|
120582
|
+
"type": {
|
|
120583
|
+
"text": "void"
|
|
120593
120584
|
}
|
|
120594
|
-
|
|
120585
|
+
},
|
|
120586
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
120595
120587
|
"inheritedFrom": {
|
|
120596
|
-
"name": "
|
|
120597
|
-
"module": "
|
|
120588
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120589
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120598
120590
|
}
|
|
120599
120591
|
},
|
|
120600
120592
|
{
|
|
120601
120593
|
"kind": "method",
|
|
120602
|
-
"name": "
|
|
120594
|
+
"name": "_enqueueAnimation",
|
|
120603
120595
|
"privacy": "private",
|
|
120604
120596
|
"return": {
|
|
120605
120597
|
"type": {
|
|
120606
|
-
"text": "
|
|
120598
|
+
"text": "Promise<void>"
|
|
120607
120599
|
}
|
|
120608
120600
|
},
|
|
120609
120601
|
"inheritedFrom": {
|
|
120610
|
-
"name": "
|
|
120611
|
-
"module": "
|
|
120602
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120603
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120612
120604
|
}
|
|
120613
120605
|
},
|
|
120614
120606
|
{
|
|
120615
120607
|
"kind": "field",
|
|
120616
|
-
"name": "
|
|
120608
|
+
"name": "events",
|
|
120609
|
+
"privacy": "public",
|
|
120610
|
+
"static": true,
|
|
120611
|
+
"readonly": true,
|
|
120612
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
120617
120613
|
"type": {
|
|
120618
|
-
"text": "
|
|
120614
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
120619
120615
|
},
|
|
120620
|
-
"privacy": "public",
|
|
120621
|
-
"default": "false",
|
|
120622
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120623
|
-
"attribute": "disabled-interactive",
|
|
120624
|
-
"reflects": true,
|
|
120625
120616
|
"inheritedFrom": {
|
|
120626
|
-
"name": "
|
|
120627
|
-
"module": "core/
|
|
120617
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120618
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120628
120619
|
}
|
|
120629
120620
|
},
|
|
120630
120621
|
{
|
|
120631
120622
|
"kind": "field",
|
|
120632
|
-
"name": "
|
|
120633
|
-
"privacy": "
|
|
120634
|
-
"description": "
|
|
120635
|
-
"default": "false",
|
|
120623
|
+
"name": "state",
|
|
120624
|
+
"privacy": "protected",
|
|
120625
|
+
"description": "The state of the component.",
|
|
120636
120626
|
"type": {
|
|
120637
|
-
"text": "
|
|
120627
|
+
"text": "SbbOpenedClosedState"
|
|
120638
120628
|
},
|
|
120639
|
-
"
|
|
120640
|
-
"reflects": true,
|
|
120629
|
+
"default": "'closed'",
|
|
120641
120630
|
"inheritedFrom": {
|
|
120642
|
-
"name": "
|
|
120643
|
-
"module": "core/
|
|
120631
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120632
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120644
120633
|
}
|
|
120645
120634
|
},
|
|
120646
120635
|
{
|
|
120647
120636
|
"kind": "field",
|
|
120648
|
-
"name": "
|
|
120637
|
+
"name": "_state",
|
|
120638
|
+
"type": {
|
|
120639
|
+
"text": "SbbOpenedClosedState"
|
|
120640
|
+
},
|
|
120649
120641
|
"privacy": "private",
|
|
120642
|
+
"inheritedFrom": {
|
|
120643
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120644
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120645
|
+
}
|
|
120646
|
+
},
|
|
120647
|
+
{
|
|
120648
|
+
"kind": "field",
|
|
120649
|
+
"name": "isOpen",
|
|
120650
120650
|
"type": {
|
|
120651
120651
|
"text": "boolean"
|
|
120652
120652
|
},
|
|
120653
|
-
"
|
|
120653
|
+
"privacy": "public",
|
|
120654
|
+
"description": "Whether the element is open.",
|
|
120655
|
+
"readonly": true,
|
|
120654
120656
|
"inheritedFrom": {
|
|
120655
|
-
"name": "
|
|
120656
|
-
"module": "core/
|
|
120657
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120658
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120657
120659
|
}
|
|
120658
120660
|
},
|
|
120659
120661
|
{
|
|
120660
120662
|
"kind": "method",
|
|
120661
|
-
"name": "
|
|
120662
|
-
"privacy": "
|
|
120663
|
+
"name": "escapeStrategy",
|
|
120664
|
+
"privacy": "public",
|
|
120663
120665
|
"return": {
|
|
120664
120666
|
"type": {
|
|
120665
|
-
"text": "
|
|
120667
|
+
"text": "void"
|
|
120666
120668
|
}
|
|
120667
120669
|
},
|
|
120668
|
-
"description": "
|
|
120670
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
120669
120671
|
"inheritedFrom": {
|
|
120670
|
-
"name": "
|
|
120671
|
-
"module": "core/
|
|
120672
|
-
}
|
|
120673
|
-
},
|
|
120674
|
-
{
|
|
120675
|
-
"kind": "field",
|
|
120676
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
120677
|
-
"type": {
|
|
120678
|
-
"text": "array"
|
|
120679
|
-
},
|
|
120680
|
-
"privacy": "private",
|
|
120681
|
-
"readonly": true,
|
|
120682
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
120683
|
-
"inheritedFrom": {
|
|
120684
|
-
"name": "SbbButtonBaseElement",
|
|
120685
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120686
|
-
}
|
|
120687
|
-
},
|
|
120688
|
-
{
|
|
120689
|
-
"kind": "field",
|
|
120690
|
-
"name": "value",
|
|
120691
|
-
"type": {
|
|
120692
|
-
"text": "string"
|
|
120693
|
-
},
|
|
120694
|
-
"privacy": "public",
|
|
120695
|
-
"inheritedFrom": {
|
|
120696
|
-
"name": "SbbButtonBaseElement",
|
|
120697
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120698
|
-
},
|
|
120699
|
-
"default": "''",
|
|
120700
|
-
"description": "Value of the form element.",
|
|
120701
|
-
"attribute": "value"
|
|
120702
|
-
},
|
|
120703
|
-
{
|
|
120704
|
-
"kind": "field",
|
|
120705
|
-
"name": "type",
|
|
120706
|
-
"privacy": "public",
|
|
120707
|
-
"description": "The type attribute to use for the button.",
|
|
120708
|
-
"default": "'button'",
|
|
120709
|
-
"type": {
|
|
120710
|
-
"text": "SbbButtonType"
|
|
120711
|
-
},
|
|
120712
|
-
"attribute": "type",
|
|
120713
|
-
"inheritedFrom": {
|
|
120714
|
-
"name": "SbbButtonBaseElement",
|
|
120715
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120716
|
-
}
|
|
120717
|
-
},
|
|
120718
|
-
{
|
|
120719
|
-
"kind": "field",
|
|
120720
|
-
"name": "form",
|
|
120721
|
-
"type": {
|
|
120722
|
-
"text": "HTMLFormElement | null"
|
|
120723
|
-
},
|
|
120724
|
-
"privacy": "public",
|
|
120725
|
-
"description": "The `<form>` element to associate the button with.",
|
|
120726
|
-
"inheritedFrom": {
|
|
120727
|
-
"name": "SbbButtonBaseElement",
|
|
120728
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120729
|
-
},
|
|
120730
|
-
"attribute": "form"
|
|
120731
|
-
},
|
|
120732
|
-
{
|
|
120733
|
-
"kind": "field",
|
|
120734
|
-
"name": "_formId",
|
|
120735
|
-
"type": {
|
|
120736
|
-
"text": "string"
|
|
120737
|
-
},
|
|
120738
|
-
"privacy": "private",
|
|
120739
|
-
"default": "''",
|
|
120740
|
-
"inheritedFrom": {
|
|
120741
|
-
"name": "SbbButtonBaseElement",
|
|
120742
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120743
|
-
}
|
|
120744
|
-
},
|
|
120745
|
-
{
|
|
120746
|
-
"kind": "field",
|
|
120747
|
-
"name": "_handleButtonClick",
|
|
120748
|
-
"privacy": "private",
|
|
120749
|
-
"inheritedFrom": {
|
|
120750
|
-
"name": "SbbButtonBaseElement",
|
|
120751
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120672
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120673
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120752
120674
|
}
|
|
120753
120675
|
},
|
|
120754
120676
|
{
|
|
120755
120677
|
"kind": "method",
|
|
120756
|
-
"name": "
|
|
120757
|
-
"privacy": "private",
|
|
120758
|
-
"return": {
|
|
120759
|
-
"type": {
|
|
120760
|
-
"text": "void"
|
|
120761
|
-
}
|
|
120762
|
-
},
|
|
120763
|
-
"parameters": [
|
|
120764
|
-
{
|
|
120765
|
-
"name": "form",
|
|
120766
|
-
"type": {
|
|
120767
|
-
"text": "HTMLFormElement"
|
|
120768
|
-
}
|
|
120769
|
-
}
|
|
120770
|
-
],
|
|
120771
|
-
"inheritedFrom": {
|
|
120772
|
-
"name": "SbbButtonBaseElement",
|
|
120773
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120774
|
-
}
|
|
120775
|
-
},
|
|
120776
|
-
{
|
|
120777
|
-
"kind": "field",
|
|
120778
|
-
"name": "_formKeyDown",
|
|
120779
|
-
"privacy": "private",
|
|
120780
|
-
"inheritedFrom": {
|
|
120781
|
-
"name": "SbbButtonBaseElement",
|
|
120782
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120783
|
-
}
|
|
120784
|
-
},
|
|
120785
|
-
{
|
|
120786
|
-
"kind": "field",
|
|
120787
|
-
"name": "formAssociated",
|
|
120788
|
-
"type": {
|
|
120789
|
-
"text": "boolean"
|
|
120790
|
-
},
|
|
120791
|
-
"privacy": "public",
|
|
120792
|
-
"static": true,
|
|
120793
|
-
"default": "true",
|
|
120794
|
-
"inheritedFrom": {
|
|
120795
|
-
"name": "SbbFormAssociatedMixin",
|
|
120796
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120797
|
-
}
|
|
120798
|
-
},
|
|
120799
|
-
{
|
|
120800
|
-
"kind": "field",
|
|
120801
|
-
"name": "name",
|
|
120802
|
-
"privacy": "public",
|
|
120803
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
120804
|
-
"type": {
|
|
120805
|
-
"text": "string"
|
|
120806
|
-
},
|
|
120807
|
-
"attribute": "name",
|
|
120808
|
-
"inheritedFrom": {
|
|
120809
|
-
"name": "SbbFormAssociatedMixin",
|
|
120810
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120811
|
-
}
|
|
120812
|
-
},
|
|
120813
|
-
{
|
|
120814
|
-
"kind": "field",
|
|
120815
|
-
"name": "validity",
|
|
120816
|
-
"type": {
|
|
120817
|
-
"text": "ValidityState"
|
|
120818
|
-
},
|
|
120819
|
-
"privacy": "public",
|
|
120820
|
-
"description": "Returns the ValidityState object for this element.",
|
|
120821
|
-
"readonly": true,
|
|
120822
|
-
"inheritedFrom": {
|
|
120823
|
-
"name": "SbbFormAssociatedMixin",
|
|
120824
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120825
|
-
}
|
|
120826
|
-
},
|
|
120827
|
-
{
|
|
120828
|
-
"kind": "field",
|
|
120829
|
-
"name": "validationMessage",
|
|
120830
|
-
"type": {
|
|
120831
|
-
"text": "string"
|
|
120832
|
-
},
|
|
120833
|
-
"privacy": "public",
|
|
120834
|
-
"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.",
|
|
120835
|
-
"readonly": true,
|
|
120836
|
-
"inheritedFrom": {
|
|
120837
|
-
"name": "SbbFormAssociatedMixin",
|
|
120838
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120839
|
-
}
|
|
120840
|
-
},
|
|
120841
|
-
{
|
|
120842
|
-
"kind": "field",
|
|
120843
|
-
"name": "willValidate",
|
|
120844
|
-
"type": {
|
|
120845
|
-
"text": "boolean"
|
|
120846
|
-
},
|
|
120847
|
-
"privacy": "public",
|
|
120848
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
120849
|
-
"readonly": true,
|
|
120850
|
-
"inheritedFrom": {
|
|
120851
|
-
"name": "SbbFormAssociatedMixin",
|
|
120852
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120853
|
-
}
|
|
120854
|
-
},
|
|
120855
|
-
{
|
|
120856
|
-
"kind": "field",
|
|
120857
|
-
"name": "_validityStates",
|
|
120858
|
-
"privacy": "private",
|
|
120859
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
120860
|
-
"inheritedFrom": {
|
|
120861
|
-
"name": "SbbFormAssociatedMixin",
|
|
120862
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120863
|
-
}
|
|
120864
|
-
},
|
|
120865
|
-
{
|
|
120866
|
-
"kind": "field",
|
|
120867
|
-
"name": "formDisabled",
|
|
120868
|
-
"type": {
|
|
120869
|
-
"text": "boolean"
|
|
120870
|
-
},
|
|
120678
|
+
"name": "dispatchBeforeOpenEvent",
|
|
120871
120679
|
"privacy": "protected",
|
|
120872
|
-
"default": "false",
|
|
120873
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
120874
|
-
"inheritedFrom": {
|
|
120875
|
-
"name": "SbbFormAssociatedMixin",
|
|
120876
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120877
|
-
}
|
|
120878
|
-
},
|
|
120879
|
-
{
|
|
120880
|
-
"kind": "method",
|
|
120881
|
-
"name": "checkValidity",
|
|
120882
|
-
"privacy": "public",
|
|
120883
|
-
"return": {
|
|
120884
|
-
"type": {
|
|
120885
|
-
"text": "boolean"
|
|
120886
|
-
}
|
|
120887
|
-
},
|
|
120888
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120889
|
-
"inheritedFrom": {
|
|
120890
|
-
"name": "SbbFormAssociatedMixin",
|
|
120891
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120892
|
-
}
|
|
120893
|
-
},
|
|
120894
|
-
{
|
|
120895
|
-
"kind": "method",
|
|
120896
|
-
"name": "reportValidity",
|
|
120897
|
-
"privacy": "public",
|
|
120898
120680
|
"return": {
|
|
120899
120681
|
"type": {
|
|
120900
120682
|
"text": "boolean"
|
|
120901
120683
|
}
|
|
120902
120684
|
},
|
|
120903
|
-
"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.",
|
|
120904
120685
|
"inheritedFrom": {
|
|
120905
|
-
"name": "
|
|
120906
|
-
"module": "core/
|
|
120907
|
-
}
|
|
120908
|
-
},
|
|
120909
|
-
{
|
|
120910
|
-
"kind": "method",
|
|
120911
|
-
"name": "setCustomValidity",
|
|
120912
|
-
"privacy": "public",
|
|
120913
|
-
"return": {
|
|
120914
|
-
"type": {
|
|
120915
|
-
"text": "void"
|
|
120916
|
-
}
|
|
120917
|
-
},
|
|
120918
|
-
"parameters": [
|
|
120919
|
-
{
|
|
120920
|
-
"name": "message",
|
|
120921
|
-
"type": {
|
|
120922
|
-
"text": "string"
|
|
120923
|
-
}
|
|
120924
|
-
}
|
|
120925
|
-
],
|
|
120926
|
-
"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.",
|
|
120927
|
-
"inheritedFrom": {
|
|
120928
|
-
"name": "SbbFormAssociatedMixin",
|
|
120929
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120930
|
-
}
|
|
120931
|
-
},
|
|
120932
|
-
{
|
|
120933
|
-
"kind": "method",
|
|
120934
|
-
"name": "_hasDisabledAncestor",
|
|
120935
|
-
"privacy": "private",
|
|
120936
|
-
"return": {
|
|
120937
|
-
"type": {
|
|
120938
|
-
"text": "boolean"
|
|
120939
|
-
}
|
|
120940
|
-
},
|
|
120941
|
-
"inheritedFrom": {
|
|
120942
|
-
"name": "SbbFormAssociatedMixin",
|
|
120943
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120944
|
-
}
|
|
120945
|
-
},
|
|
120946
|
-
{
|
|
120947
|
-
"kind": "method",
|
|
120948
|
-
"name": "updateFormValue",
|
|
120949
|
-
"privacy": "protected",
|
|
120950
|
-
"return": {
|
|
120951
|
-
"type": {
|
|
120952
|
-
"text": "void"
|
|
120953
|
-
}
|
|
120954
|
-
},
|
|
120955
|
-
"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",
|
|
120956
|
-
"inheritedFrom": {
|
|
120957
|
-
"name": "SbbFormAssociatedMixin",
|
|
120958
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120959
|
-
}
|
|
120960
|
-
},
|
|
120961
|
-
{
|
|
120962
|
-
"kind": "method",
|
|
120963
|
-
"name": "formState",
|
|
120964
|
-
"privacy": "protected",
|
|
120965
|
-
"return": {
|
|
120966
|
-
"type": {
|
|
120967
|
-
"text": "FormRestoreState"
|
|
120968
|
-
}
|
|
120969
|
-
},
|
|
120970
|
-
"inheritedFrom": {
|
|
120971
|
-
"name": "SbbFormAssociatedMixin",
|
|
120972
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120973
|
-
}
|
|
120974
|
-
},
|
|
120975
|
-
{
|
|
120976
|
-
"kind": "method",
|
|
120977
|
-
"name": "setValidityFlag",
|
|
120978
|
-
"privacy": "protected",
|
|
120979
|
-
"return": {
|
|
120980
|
-
"type": {
|
|
120981
|
-
"text": "void"
|
|
120982
|
-
}
|
|
120983
|
-
},
|
|
120984
|
-
"parameters": [
|
|
120985
|
-
{
|
|
120986
|
-
"name": "flag",
|
|
120987
|
-
"type": {
|
|
120988
|
-
"text": "T"
|
|
120989
|
-
}
|
|
120990
|
-
},
|
|
120991
|
-
{
|
|
120992
|
-
"name": "message",
|
|
120993
|
-
"type": {
|
|
120994
|
-
"text": "string"
|
|
120995
|
-
}
|
|
120996
|
-
},
|
|
120997
|
-
{
|
|
120998
|
-
"name": "flagValue",
|
|
120999
|
-
"optional": true,
|
|
121000
|
-
"type": {
|
|
121001
|
-
"text": "ValidityStateFlags[T]"
|
|
121002
|
-
}
|
|
121003
|
-
}
|
|
121004
|
-
],
|
|
121005
|
-
"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).",
|
|
121006
|
-
"inheritedFrom": {
|
|
121007
|
-
"name": "SbbFormAssociatedMixin",
|
|
121008
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121009
|
-
}
|
|
121010
|
-
},
|
|
121011
|
-
{
|
|
121012
|
-
"kind": "method",
|
|
121013
|
-
"name": "removeValidityFlag",
|
|
121014
|
-
"privacy": "protected",
|
|
121015
|
-
"return": {
|
|
121016
|
-
"type": {
|
|
121017
|
-
"text": "void"
|
|
121018
|
-
}
|
|
121019
|
-
},
|
|
121020
|
-
"parameters": [
|
|
121021
|
-
{
|
|
121022
|
-
"name": "flag",
|
|
121023
|
-
"type": {
|
|
121024
|
-
"text": "T"
|
|
121025
|
-
}
|
|
121026
|
-
}
|
|
121027
|
-
],
|
|
121028
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121029
|
-
"inheritedFrom": {
|
|
121030
|
-
"name": "SbbFormAssociatedMixin",
|
|
121031
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120686
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120687
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121032
120688
|
}
|
|
121033
120689
|
},
|
|
121034
120690
|
{
|
|
121035
120691
|
"kind": "method",
|
|
121036
|
-
"name": "
|
|
120692
|
+
"name": "dispatchOpenEvent",
|
|
121037
120693
|
"privacy": "protected",
|
|
121038
120694
|
"return": {
|
|
121039
120695
|
"type": {
|
|
121040
|
-
"text": "
|
|
120696
|
+
"text": "boolean"
|
|
121041
120697
|
}
|
|
121042
120698
|
},
|
|
121043
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
121044
120699
|
"inheritedFrom": {
|
|
121045
|
-
"name": "
|
|
121046
|
-
"module": "core/
|
|
120700
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120701
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121047
120702
|
}
|
|
121048
120703
|
},
|
|
121049
120704
|
{
|
|
121050
120705
|
"kind": "method",
|
|
121051
|
-
"name": "
|
|
120706
|
+
"name": "dispatchBeforeCloseEvent",
|
|
121052
120707
|
"privacy": "protected",
|
|
121053
120708
|
"return": {
|
|
121054
120709
|
"type": {
|
|
121055
120710
|
"text": "boolean"
|
|
121056
120711
|
}
|
|
121057
120712
|
},
|
|
121058
|
-
"parameters": [
|
|
121059
|
-
{
|
|
121060
|
-
"name": "name",
|
|
121061
|
-
"type": {
|
|
121062
|
-
"text": "PropertyKey | undefined"
|
|
121063
|
-
}
|
|
121064
|
-
}
|
|
121065
|
-
],
|
|
121066
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
121067
|
-
"inheritedFrom": {
|
|
121068
|
-
"name": "SbbFormAssociatedMixin",
|
|
121069
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121070
|
-
}
|
|
121071
|
-
},
|
|
121072
|
-
{
|
|
121073
|
-
"kind": "method",
|
|
121074
|
-
"name": "_setInternalValidity",
|
|
121075
|
-
"privacy": "private",
|
|
121076
|
-
"return": {
|
|
121077
|
-
"type": {
|
|
121078
|
-
"text": "void"
|
|
121079
|
-
}
|
|
121080
|
-
},
|
|
121081
|
-
"inheritedFrom": {
|
|
121082
|
-
"name": "SbbFormAssociatedMixin",
|
|
121083
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121084
|
-
}
|
|
121085
|
-
},
|
|
121086
|
-
{
|
|
121087
|
-
"kind": "field",
|
|
121088
|
-
"name": "role",
|
|
121089
|
-
"type": {
|
|
121090
|
-
"text": "ElementInternals['role']"
|
|
121091
|
-
},
|
|
121092
|
-
"privacy": "public",
|
|
121093
|
-
"static": true,
|
|
121094
|
-
"readonly": true,
|
|
121095
|
-
"default": "'button'",
|
|
121096
|
-
"inheritedFrom": {
|
|
121097
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121098
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121099
|
-
}
|
|
121100
|
-
},
|
|
121101
|
-
{
|
|
121102
|
-
"kind": "field",
|
|
121103
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
121104
|
-
"privacy": "private",
|
|
121105
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
121106
|
-
"parameters": [
|
|
121107
|
-
{
|
|
121108
|
-
"description": "The origin event.",
|
|
121109
|
-
"name": "event"
|
|
121110
|
-
}
|
|
121111
|
-
],
|
|
121112
|
-
"inheritedFrom": {
|
|
121113
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121114
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121115
|
-
}
|
|
121116
|
-
},
|
|
121117
|
-
{
|
|
121118
|
-
"kind": "field",
|
|
121119
|
-
"name": "_removeActiveMarker",
|
|
121120
|
-
"privacy": "private",
|
|
121121
|
-
"inheritedFrom": {
|
|
121122
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121123
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121124
|
-
}
|
|
121125
|
-
},
|
|
121126
|
-
{
|
|
121127
|
-
"kind": "field",
|
|
121128
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
121129
|
-
"privacy": "private",
|
|
121130
|
-
"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.",
|
|
121131
|
-
"parameters": [
|
|
121132
|
-
{
|
|
121133
|
-
"description": "The origin event.",
|
|
121134
|
-
"name": "event"
|
|
121135
|
-
}
|
|
121136
|
-
],
|
|
121137
|
-
"inheritedFrom": {
|
|
121138
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121139
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121140
|
-
}
|
|
121141
|
-
},
|
|
121142
|
-
{
|
|
121143
|
-
"kind": "field",
|
|
121144
|
-
"name": "_dispatchClickEvent",
|
|
121145
|
-
"privacy": "private",
|
|
121146
|
-
"inheritedFrom": {
|
|
121147
|
-
"name": "SbbButtonLikeBaseElement",
|
|
121148
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121149
|
-
}
|
|
121150
|
-
},
|
|
121151
|
-
{
|
|
121152
|
-
"kind": "field",
|
|
121153
|
-
"name": "maybeDisabled",
|
|
121154
|
-
"type": {
|
|
121155
|
-
"text": "boolean | undefined"
|
|
121156
|
-
},
|
|
121157
|
-
"privacy": "protected",
|
|
121158
|
-
"readonly": true,
|
|
121159
120713
|
"inheritedFrom": {
|
|
121160
|
-
"name": "
|
|
121161
|
-
"module": "core/base-elements/
|
|
121162
|
-
}
|
|
121163
|
-
},
|
|
121164
|
-
{
|
|
121165
|
-
"kind": "field",
|
|
121166
|
-
"name": "maybeDisabledInteractive",
|
|
121167
|
-
"type": {
|
|
121168
|
-
"text": "boolean | undefined"
|
|
121169
|
-
},
|
|
121170
|
-
"privacy": "protected",
|
|
121171
|
-
"readonly": true,
|
|
121172
|
-
"inheritedFrom": {
|
|
121173
|
-
"name": "SbbActionBaseElement",
|
|
121174
|
-
"module": "core/base-elements/action-base-element.js"
|
|
120714
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120715
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121175
120716
|
}
|
|
121176
120717
|
},
|
|
121177
120718
|
{
|
|
121178
120719
|
"kind": "method",
|
|
121179
|
-
"name": "
|
|
120720
|
+
"name": "dispatchCloseEvent",
|
|
121180
120721
|
"privacy": "protected",
|
|
121181
120722
|
"return": {
|
|
121182
120723
|
"type": {
|
|
121183
|
-
"text": "
|
|
120724
|
+
"text": "boolean"
|
|
121184
120725
|
}
|
|
121185
120726
|
},
|
|
121186
120727
|
"inheritedFrom": {
|
|
121187
|
-
"name": "
|
|
121188
|
-
"module": "core/base-elements/
|
|
120728
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120729
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121189
120730
|
}
|
|
121190
120731
|
},
|
|
121191
120732
|
{
|
|
@@ -121294,150 +120835,108 @@
|
|
|
121294
120835
|
}
|
|
121295
120836
|
}
|
|
121296
120837
|
],
|
|
121297
|
-
"superclass": {
|
|
121298
|
-
"name": "SbbSecondaryButtonElement",
|
|
121299
|
-
"module": "button.pure.js"
|
|
121300
|
-
},
|
|
121301
|
-
"tagName": "sbb-sidebar-close-button",
|
|
121302
|
-
"customElement": true,
|
|
121303
120838
|
"attributes": [
|
|
121304
120839
|
{
|
|
121305
|
-
"name": "
|
|
121306
|
-
"type": {
|
|
121307
|
-
"text": "SbbButtonSize"
|
|
121308
|
-
},
|
|
121309
|
-
"description": "Size variant, either l, m or s.",
|
|
121310
|
-
"default": "'l' / 's' (lean)",
|
|
121311
|
-
"fieldName": "size",
|
|
121312
|
-
"inheritedFrom": {
|
|
121313
|
-
"name": "SbbButtonCommonElementMixin",
|
|
121314
|
-
"module": "button/common/button-common.js"
|
|
121315
|
-
}
|
|
121316
|
-
},
|
|
121317
|
-
{
|
|
121318
|
-
"name": "loading",
|
|
120840
|
+
"name": "color",
|
|
121319
120841
|
"type": {
|
|
121320
|
-
"text": "
|
|
120842
|
+
"text": "'white' | 'milk'"
|
|
121321
120843
|
},
|
|
121322
|
-
"default": "
|
|
121323
|
-
"description": "
|
|
121324
|
-
"fieldName": "
|
|
121325
|
-
"inheritedFrom": {
|
|
121326
|
-
"name": "SbbButtonCommonElementMixin",
|
|
121327
|
-
"module": "button/common/button-common.js"
|
|
121328
|
-
}
|
|
120844
|
+
"default": "'white'",
|
|
120845
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
120846
|
+
"fieldName": "color"
|
|
121329
120847
|
},
|
|
121330
120848
|
{
|
|
121331
|
-
"name": "
|
|
120849
|
+
"name": "mode",
|
|
121332
120850
|
"type": {
|
|
121333
|
-
"text": "
|
|
120851
|
+
"text": "'side' | 'over'"
|
|
121334
120852
|
},
|
|
121335
|
-
"default": "
|
|
121336
|
-
"description": "
|
|
121337
|
-
"fieldName": "
|
|
121338
|
-
"inheritedFrom": {
|
|
121339
|
-
"name": "SbbNegativeMixin",
|
|
121340
|
-
"module": "core/mixins/negative-mixin.js"
|
|
121341
|
-
}
|
|
120853
|
+
"default": "'side'",
|
|
120854
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
120855
|
+
"fieldName": "mode"
|
|
121342
120856
|
},
|
|
121343
120857
|
{
|
|
121344
|
-
"name": "
|
|
120858
|
+
"name": "position",
|
|
121345
120859
|
"type": {
|
|
121346
|
-
"text": "
|
|
120860
|
+
"text": "'start' | 'end'"
|
|
121347
120861
|
},
|
|
121348
|
-
"default": "''",
|
|
121349
|
-
"description": "The
|
|
121350
|
-
"fieldName": "
|
|
121351
|
-
"inheritedFrom": {
|
|
121352
|
-
"name": "SbbIconNameMixin",
|
|
121353
|
-
"module": "icon/icon-name-mixin.js"
|
|
121354
|
-
}
|
|
120862
|
+
"default": "'start'",
|
|
120863
|
+
"description": "The side that the sidebar is attached to.",
|
|
120864
|
+
"fieldName": "position"
|
|
121355
120865
|
},
|
|
121356
120866
|
{
|
|
121357
|
-
"name": "
|
|
120867
|
+
"name": "opened",
|
|
121358
120868
|
"type": {
|
|
121359
120869
|
"text": "boolean"
|
|
121360
120870
|
},
|
|
121361
120871
|
"default": "false",
|
|
121362
|
-
"description": "Whether the
|
|
121363
|
-
"fieldName": "
|
|
121364
|
-
"inheritedFrom": {
|
|
121365
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
121366
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
121367
|
-
}
|
|
120872
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
120873
|
+
"fieldName": "opened"
|
|
121368
120874
|
},
|
|
121369
120875
|
{
|
|
121370
|
-
"name": "
|
|
121371
|
-
"description": "Whether the component is disabled.",
|
|
121372
|
-
"default": "false",
|
|
120876
|
+
"name": "focus-on-open",
|
|
121373
120877
|
"type": {
|
|
121374
120878
|
"text": "boolean"
|
|
121375
120879
|
},
|
|
121376
|
-
"
|
|
121377
|
-
"
|
|
121378
|
-
|
|
121379
|
-
|
|
121380
|
-
|
|
121381
|
-
|
|
120880
|
+
"default": "false",
|
|
120881
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
120882
|
+
"fieldName": "focusOnOpen"
|
|
120883
|
+
}
|
|
120884
|
+
],
|
|
120885
|
+
"mixins": [
|
|
121382
120886
|
{
|
|
121383
|
-
"name": "
|
|
120887
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120888
|
+
"module": "core/mixins.js"
|
|
120889
|
+
}
|
|
120890
|
+
],
|
|
120891
|
+
"superclass": {
|
|
120892
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120893
|
+
"module": "core/base-elements.js"
|
|
120894
|
+
},
|
|
120895
|
+
"tagName": "sbb-sidebar",
|
|
120896
|
+
"customElement": true,
|
|
120897
|
+
"events": [
|
|
120898
|
+
{
|
|
120899
|
+
"name": "beforeopen",
|
|
121384
120900
|
"type": {
|
|
121385
|
-
"text": "
|
|
120901
|
+
"text": "Event"
|
|
121386
120902
|
},
|
|
121387
|
-
"
|
|
121388
|
-
"description": "Value of the form element.",
|
|
121389
|
-
"fieldName": "value",
|
|
120903
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
121390
120904
|
"inheritedFrom": {
|
|
121391
|
-
"name": "
|
|
121392
|
-
"module": "core/base-elements/
|
|
120905
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120906
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121393
120907
|
}
|
|
121394
120908
|
},
|
|
121395
120909
|
{
|
|
121396
|
-
"name": "
|
|
121397
|
-
"description": "The type attribute to use for the button.",
|
|
121398
|
-
"default": "'button'",
|
|
120910
|
+
"name": "open",
|
|
121399
120911
|
"type": {
|
|
121400
|
-
"text": "
|
|
120912
|
+
"text": "Event"
|
|
121401
120913
|
},
|
|
121402
|
-
"
|
|
120914
|
+
"description": "Emits whenever the component is opened.",
|
|
121403
120915
|
"inheritedFrom": {
|
|
121404
|
-
"name": "
|
|
121405
|
-
"module": "core/base-elements/
|
|
120916
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120917
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121406
120918
|
}
|
|
121407
120919
|
},
|
|
121408
120920
|
{
|
|
121409
|
-
"name": "
|
|
121410
|
-
"description": "The `<form>` element to associate the button with.",
|
|
120921
|
+
"name": "beforeclose",
|
|
121411
120922
|
"type": {
|
|
121412
|
-
"text": "
|
|
120923
|
+
"text": "Event"
|
|
121413
120924
|
},
|
|
121414
|
-
"
|
|
120925
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
121415
120926
|
"inheritedFrom": {
|
|
121416
|
-
"name": "
|
|
121417
|
-
"module": "core/base-elements/
|
|
120927
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120928
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121418
120929
|
}
|
|
121419
120930
|
},
|
|
121420
120931
|
{
|
|
121421
|
-
"name": "
|
|
121422
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
120932
|
+
"name": "close",
|
|
121423
120933
|
"type": {
|
|
121424
|
-
"text": "
|
|
120934
|
+
"text": "Event"
|
|
121425
120935
|
},
|
|
121426
|
-
"
|
|
121427
|
-
"inheritedFrom": {
|
|
121428
|
-
"name": "SbbFormAssociatedMixin",
|
|
121429
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121430
|
-
}
|
|
121431
|
-
}
|
|
121432
|
-
],
|
|
121433
|
-
"cssProperties": [
|
|
121434
|
-
{
|
|
121435
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
121436
|
-
"name": "--sbb-button-loading-delay",
|
|
121437
|
-
"default": "300ms",
|
|
120936
|
+
"description": "Emits whenever the component is closed.",
|
|
121438
120937
|
"inheritedFrom": {
|
|
121439
|
-
"name": "
|
|
121440
|
-
"module": "
|
|
120938
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120939
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121441
120940
|
}
|
|
121442
120941
|
}
|
|
121443
120942
|
]
|
|
@@ -121446,26 +120945,38 @@
|
|
|
121446
120945
|
"exports": [
|
|
121447
120946
|
{
|
|
121448
120947
|
"kind": "js",
|
|
121449
|
-
"name": "
|
|
120948
|
+
"name": "SbbSidebarElement",
|
|
121450
120949
|
"declaration": {
|
|
121451
|
-
"name": "
|
|
121452
|
-
"module": "sidebar/sidebar
|
|
120950
|
+
"name": "SbbSidebarElement",
|
|
120951
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
121453
120952
|
}
|
|
121454
120953
|
}
|
|
121455
120954
|
]
|
|
121456
120955
|
},
|
|
121457
120956
|
{
|
|
121458
120957
|
"kind": "javascript-module",
|
|
121459
|
-
"path": "sidebar/sidebar-
|
|
120958
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
121460
120959
|
"declarations": [
|
|
121461
120960
|
{
|
|
121462
120961
|
"kind": "class",
|
|
121463
|
-
"description": "
|
|
121464
|
-
"name": "
|
|
120962
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
120963
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121465
120964
|
"slots": [
|
|
121466
120965
|
{
|
|
121467
|
-
"description": "Use the unnamed slot to add
|
|
121468
|
-
"name": ""
|
|
120966
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
120967
|
+
"name": "",
|
|
120968
|
+
"inheritedFrom": {
|
|
120969
|
+
"name": "SbbSecondaryButtonElement",
|
|
120970
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
120971
|
+
}
|
|
120972
|
+
},
|
|
120973
|
+
{
|
|
120974
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
120975
|
+
"name": "icon",
|
|
120976
|
+
"inheritedFrom": {
|
|
120977
|
+
"name": "SbbSecondaryButtonElement",
|
|
120978
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
120979
|
+
}
|
|
121469
120980
|
}
|
|
121470
120981
|
],
|
|
121471
120982
|
"members": [
|
|
@@ -121478,643 +120989,1076 @@
|
|
|
121478
120989
|
"privacy": "public",
|
|
121479
120990
|
"static": true,
|
|
121480
120991
|
"readonly": true,
|
|
121481
|
-
"default": "'sbb-sidebar-content'",
|
|
121482
120992
|
"inheritedFrom": {
|
|
121483
120993
|
"name": "SbbElement",
|
|
121484
120994
|
"module": "core/base-elements/element.js"
|
|
121485
|
-
}
|
|
120995
|
+
},
|
|
120996
|
+
"default": "'sbb-sidebar-close-button'"
|
|
121486
120997
|
},
|
|
121487
120998
|
{
|
|
121488
120999
|
"kind": "field",
|
|
121489
|
-
"name": "
|
|
121490
|
-
"type": {
|
|
121491
|
-
"text": "boolean"
|
|
121492
|
-
},
|
|
121000
|
+
"name": "_languageController",
|
|
121493
121001
|
"privacy": "private",
|
|
121494
|
-
"default": "
|
|
121002
|
+
"default": "new SbbLanguageController(this)"
|
|
121003
|
+
},
|
|
121004
|
+
{
|
|
121005
|
+
"kind": "method",
|
|
121006
|
+
"name": "renderTemplate",
|
|
121007
|
+
"privacy": "protected",
|
|
121008
|
+
"return": {
|
|
121009
|
+
"type": {
|
|
121010
|
+
"text": "TemplateResult"
|
|
121011
|
+
}
|
|
121012
|
+
},
|
|
121013
|
+
"description": "Override this method to render the component template.",
|
|
121495
121014
|
"inheritedFrom": {
|
|
121496
|
-
"name": "
|
|
121497
|
-
"module": "core/base-elements/element.js"
|
|
121015
|
+
"name": "SbbActionBaseElement",
|
|
121016
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121017
|
+
}
|
|
121018
|
+
},
|
|
121019
|
+
{
|
|
121020
|
+
"kind": "method",
|
|
121021
|
+
"name": "renderIconName",
|
|
121022
|
+
"privacy": "protected",
|
|
121023
|
+
"return": {
|
|
121024
|
+
"type": {
|
|
121025
|
+
"text": "string"
|
|
121026
|
+
}
|
|
121027
|
+
},
|
|
121028
|
+
"inheritedFrom": {
|
|
121029
|
+
"name": "SbbIconNameMixin",
|
|
121030
|
+
"module": "icon/icon-name-mixin.js"
|
|
121498
121031
|
}
|
|
121499
121032
|
},
|
|
121500
121033
|
{
|
|
121501
121034
|
"kind": "field",
|
|
121502
|
-
"name": "
|
|
121503
|
-
"
|
|
121504
|
-
|
|
121035
|
+
"name": "size",
|
|
121036
|
+
"type": {
|
|
121037
|
+
"text": "SbbButtonSize"
|
|
121038
|
+
},
|
|
121039
|
+
"privacy": "public",
|
|
121040
|
+
"description": "Size variant, either l, m or s.",
|
|
121041
|
+
"default": "'s'",
|
|
121042
|
+
"attribute": "size",
|
|
121043
|
+
"reflects": true,
|
|
121505
121044
|
"inheritedFrom": {
|
|
121506
|
-
"name": "
|
|
121507
|
-
"module": "
|
|
121045
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121046
|
+
"module": "button/common/button-common.js"
|
|
121508
121047
|
}
|
|
121509
121048
|
},
|
|
121510
121049
|
{
|
|
121511
121050
|
"kind": "field",
|
|
121512
|
-
"name": "
|
|
121051
|
+
"name": "loading",
|
|
121513
121052
|
"type": {
|
|
121514
|
-
"text": "
|
|
121053
|
+
"text": "boolean"
|
|
121515
121054
|
},
|
|
121516
|
-
"privacy": "
|
|
121055
|
+
"privacy": "public",
|
|
121056
|
+
"default": "false",
|
|
121057
|
+
"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.",
|
|
121058
|
+
"attribute": "loading",
|
|
121059
|
+
"reflects": true,
|
|
121517
121060
|
"inheritedFrom": {
|
|
121518
|
-
"name": "
|
|
121519
|
-
"module": "
|
|
121061
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121062
|
+
"module": "button/common/button-common.js"
|
|
121520
121063
|
}
|
|
121521
121064
|
},
|
|
121522
121065
|
{
|
|
121523
121066
|
"kind": "field",
|
|
121524
|
-
"name": "
|
|
121067
|
+
"name": "negative",
|
|
121525
121068
|
"type": {
|
|
121526
121069
|
"text": "boolean"
|
|
121527
121070
|
},
|
|
121528
|
-
"privacy": "
|
|
121529
|
-
"
|
|
121530
|
-
"
|
|
121071
|
+
"privacy": "public",
|
|
121072
|
+
"default": "false",
|
|
121073
|
+
"description": "Negative coloring variant flag.",
|
|
121074
|
+
"attribute": "negative",
|
|
121075
|
+
"reflects": true,
|
|
121531
121076
|
"inheritedFrom": {
|
|
121532
|
-
"name": "
|
|
121533
|
-
"module": "core/
|
|
121077
|
+
"name": "SbbNegativeMixin",
|
|
121078
|
+
"module": "core/mixins/negative-mixin.js"
|
|
121079
|
+
}
|
|
121080
|
+
},
|
|
121081
|
+
{
|
|
121082
|
+
"kind": "field",
|
|
121083
|
+
"name": "iconName",
|
|
121084
|
+
"type": {
|
|
121085
|
+
"text": "string"
|
|
121534
121086
|
},
|
|
121535
|
-
"
|
|
121087
|
+
"privacy": "public",
|
|
121088
|
+
"default": "''",
|
|
121089
|
+
"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.",
|
|
121090
|
+
"attribute": "icon-name",
|
|
121091
|
+
"inheritedFrom": {
|
|
121092
|
+
"name": "SbbIconNameMixin",
|
|
121093
|
+
"module": "icon/icon-name-mixin.js"
|
|
121094
|
+
}
|
|
121536
121095
|
},
|
|
121537
121096
|
{
|
|
121538
121097
|
"kind": "method",
|
|
121539
|
-
"name": "
|
|
121098
|
+
"name": "renderIconSlot",
|
|
121540
121099
|
"privacy": "protected",
|
|
121541
121100
|
"return": {
|
|
121542
121101
|
"type": {
|
|
121543
|
-
"text": "
|
|
121102
|
+
"text": "TemplateResult"
|
|
121544
121103
|
}
|
|
121545
121104
|
},
|
|
121546
121105
|
"parameters": [
|
|
121547
121106
|
{
|
|
121548
|
-
"name": "
|
|
121549
|
-
"type": {
|
|
121550
|
-
"text": "string"
|
|
121551
|
-
}
|
|
121552
|
-
},
|
|
121553
|
-
{
|
|
121554
|
-
"name": "force",
|
|
121107
|
+
"name": "classname",
|
|
121555
121108
|
"optional": true,
|
|
121556
121109
|
"type": {
|
|
121557
|
-
"text": "
|
|
121110
|
+
"text": "string"
|
|
121558
121111
|
}
|
|
121559
121112
|
}
|
|
121560
121113
|
],
|
|
121561
121114
|
"inheritedFrom": {
|
|
121562
|
-
"name": "
|
|
121563
|
-
"module": "
|
|
121115
|
+
"name": "SbbIconNameMixin",
|
|
121116
|
+
"module": "icon/icon-name-mixin.js"
|
|
121117
|
+
}
|
|
121118
|
+
},
|
|
121119
|
+
{
|
|
121120
|
+
"kind": "method",
|
|
121121
|
+
"name": "_renderIconName",
|
|
121122
|
+
"privacy": "private",
|
|
121123
|
+
"return": {
|
|
121124
|
+
"type": {
|
|
121125
|
+
"text": "string"
|
|
121126
|
+
}
|
|
121127
|
+
},
|
|
121128
|
+
"inheritedFrom": {
|
|
121129
|
+
"name": "SbbIconNameMixin",
|
|
121130
|
+
"module": "icon/icon-name-mixin.js"
|
|
121564
121131
|
}
|
|
121565
121132
|
},
|
|
121566
121133
|
{
|
|
121567
121134
|
"kind": "field",
|
|
121568
|
-
"name": "
|
|
121135
|
+
"name": "disabledInteractive",
|
|
121569
121136
|
"type": {
|
|
121570
121137
|
"text": "boolean"
|
|
121571
121138
|
},
|
|
121572
121139
|
"privacy": "public",
|
|
121573
|
-
"
|
|
121574
|
-
"
|
|
121140
|
+
"default": "false",
|
|
121141
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
121142
|
+
"attribute": "disabled-interactive",
|
|
121143
|
+
"reflects": true,
|
|
121575
121144
|
"inheritedFrom": {
|
|
121576
|
-
"name": "
|
|
121577
|
-
"module": "core/
|
|
121145
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
121146
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121578
121147
|
}
|
|
121579
121148
|
},
|
|
121580
121149
|
{
|
|
121581
121150
|
"kind": "field",
|
|
121582
|
-
"name": "
|
|
121151
|
+
"name": "disabled",
|
|
121152
|
+
"privacy": "public",
|
|
121153
|
+
"description": "Whether the component is disabled.",
|
|
121154
|
+
"default": "false",
|
|
121583
121155
|
"type": {
|
|
121584
|
-
"text": "
|
|
121156
|
+
"text": "boolean"
|
|
121585
121157
|
},
|
|
121158
|
+
"attribute": "disabled",
|
|
121159
|
+
"reflects": true,
|
|
121160
|
+
"inheritedFrom": {
|
|
121161
|
+
"name": "SbbDisabledMixin",
|
|
121162
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121163
|
+
}
|
|
121164
|
+
},
|
|
121165
|
+
{
|
|
121166
|
+
"kind": "field",
|
|
121167
|
+
"name": "#disabled",
|
|
121586
121168
|
"privacy": "private",
|
|
121169
|
+
"type": {
|
|
121170
|
+
"text": "boolean"
|
|
121171
|
+
},
|
|
121172
|
+
"default": "false",
|
|
121587
121173
|
"inheritedFrom": {
|
|
121588
|
-
"name": "
|
|
121589
|
-
"module": "core/
|
|
121174
|
+
"name": "SbbDisabledMixin",
|
|
121175
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121590
121176
|
}
|
|
121591
|
-
}
|
|
121592
|
-
],
|
|
121593
|
-
"superclass": {
|
|
121594
|
-
"name": "SbbElement",
|
|
121595
|
-
"module": "core/base-elements.js"
|
|
121596
|
-
},
|
|
121597
|
-
"tagName": "sbb-sidebar-content",
|
|
121598
|
-
"customElement": true
|
|
121599
|
-
}
|
|
121600
|
-
],
|
|
121601
|
-
"exports": [
|
|
121602
|
-
{
|
|
121603
|
-
"kind": "js",
|
|
121604
|
-
"name": "SbbSidebarContentElement",
|
|
121605
|
-
"declaration": {
|
|
121606
|
-
"name": "SbbSidebarContentElement",
|
|
121607
|
-
"module": "sidebar/sidebar-content/sidebar-content.component.js"
|
|
121608
|
-
}
|
|
121609
|
-
}
|
|
121610
|
-
]
|
|
121611
|
-
},
|
|
121612
|
-
{
|
|
121613
|
-
"kind": "javascript-module",
|
|
121614
|
-
"path": "sidebar/sidebar/sidebar.component.js",
|
|
121615
|
-
"declarations": [
|
|
121616
|
-
{
|
|
121617
|
-
"kind": "class",
|
|
121618
|
-
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
121619
|
-
"name": "SbbSidebarElement",
|
|
121620
|
-
"slots": [
|
|
121177
|
+
},
|
|
121621
121178
|
{
|
|
121622
|
-
"
|
|
121623
|
-
"name": ""
|
|
121179
|
+
"kind": "method",
|
|
121180
|
+
"name": "isDisabledExternally",
|
|
121181
|
+
"privacy": "protected",
|
|
121182
|
+
"return": {
|
|
121183
|
+
"type": {
|
|
121184
|
+
"text": "boolean"
|
|
121185
|
+
}
|
|
121186
|
+
},
|
|
121187
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
121188
|
+
"inheritedFrom": {
|
|
121189
|
+
"name": "SbbDisabledMixin",
|
|
121190
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121191
|
+
}
|
|
121192
|
+
},
|
|
121193
|
+
{
|
|
121194
|
+
"kind": "field",
|
|
121195
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
121196
|
+
"type": {
|
|
121197
|
+
"text": "array"
|
|
121198
|
+
},
|
|
121199
|
+
"privacy": "private",
|
|
121200
|
+
"readonly": true,
|
|
121201
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
121202
|
+
"inheritedFrom": {
|
|
121203
|
+
"name": "SbbButtonBaseElement",
|
|
121204
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121205
|
+
}
|
|
121624
121206
|
},
|
|
121625
|
-
{
|
|
121626
|
-
"description": "Use the title slot to add an <sbb-title>.",
|
|
121627
|
-
"name": "title"
|
|
121628
|
-
}
|
|
121629
|
-
],
|
|
121630
|
-
"members": [
|
|
121631
121207
|
{
|
|
121632
121208
|
"kind": "field",
|
|
121633
|
-
"name": "
|
|
121209
|
+
"name": "value",
|
|
121634
121210
|
"type": {
|
|
121635
121211
|
"text": "string"
|
|
121636
121212
|
},
|
|
121637
121213
|
"privacy": "public",
|
|
121638
|
-
"static": true,
|
|
121639
|
-
"readonly": true,
|
|
121640
121214
|
"inheritedFrom": {
|
|
121641
|
-
"name": "
|
|
121642
|
-
"module": "core/base-elements/element.js"
|
|
121215
|
+
"name": "SbbButtonBaseElement",
|
|
121216
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121643
121217
|
},
|
|
121644
|
-
"default": "'
|
|
121218
|
+
"default": "''",
|
|
121219
|
+
"description": "Value of the form element.",
|
|
121220
|
+
"attribute": "value"
|
|
121645
121221
|
},
|
|
121646
121222
|
{
|
|
121647
121223
|
"kind": "field",
|
|
121648
|
-
"name": "
|
|
121224
|
+
"name": "type",
|
|
121225
|
+
"privacy": "public",
|
|
121226
|
+
"description": "The type attribute to use for the button.",
|
|
121227
|
+
"default": "'button'",
|
|
121649
121228
|
"type": {
|
|
121650
|
-
"text": "
|
|
121229
|
+
"text": "SbbButtonType"
|
|
121651
121230
|
},
|
|
121652
|
-
"
|
|
121653
|
-
"
|
|
121654
|
-
|
|
121655
|
-
|
|
121656
|
-
|
|
121231
|
+
"attribute": "type",
|
|
121232
|
+
"inheritedFrom": {
|
|
121233
|
+
"name": "SbbButtonBaseElement",
|
|
121234
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121235
|
+
}
|
|
121657
121236
|
},
|
|
121658
121237
|
{
|
|
121659
121238
|
"kind": "field",
|
|
121660
|
-
"name": "
|
|
121239
|
+
"name": "form",
|
|
121661
121240
|
"type": {
|
|
121662
|
-
"text": "
|
|
121241
|
+
"text": "HTMLFormElement | null"
|
|
121663
121242
|
},
|
|
121664
121243
|
"privacy": "public",
|
|
121665
|
-
"
|
|
121666
|
-
"
|
|
121667
|
-
|
|
121668
|
-
|
|
121244
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121245
|
+
"inheritedFrom": {
|
|
121246
|
+
"name": "SbbButtonBaseElement",
|
|
121247
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121248
|
+
},
|
|
121249
|
+
"attribute": "form"
|
|
121669
121250
|
},
|
|
121670
121251
|
{
|
|
121671
121252
|
"kind": "field",
|
|
121672
|
-
"name": "
|
|
121253
|
+
"name": "_formId",
|
|
121673
121254
|
"type": {
|
|
121674
|
-
"text": "
|
|
121255
|
+
"text": "string"
|
|
121675
121256
|
},
|
|
121676
|
-
"privacy": "
|
|
121677
|
-
"default": "'
|
|
121678
|
-
"
|
|
121679
|
-
|
|
121680
|
-
|
|
121257
|
+
"privacy": "private",
|
|
121258
|
+
"default": "''",
|
|
121259
|
+
"inheritedFrom": {
|
|
121260
|
+
"name": "SbbButtonBaseElement",
|
|
121261
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121262
|
+
}
|
|
121681
121263
|
},
|
|
121682
121264
|
{
|
|
121683
121265
|
"kind": "field",
|
|
121684
|
-
"name": "
|
|
121266
|
+
"name": "_handleButtonClick",
|
|
121267
|
+
"privacy": "private",
|
|
121268
|
+
"inheritedFrom": {
|
|
121269
|
+
"name": "SbbButtonBaseElement",
|
|
121270
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121271
|
+
}
|
|
121272
|
+
},
|
|
121273
|
+
{
|
|
121274
|
+
"kind": "method",
|
|
121275
|
+
"name": "_requestSubmit",
|
|
121276
|
+
"privacy": "private",
|
|
121277
|
+
"return": {
|
|
121278
|
+
"type": {
|
|
121279
|
+
"text": "void"
|
|
121280
|
+
}
|
|
121281
|
+
},
|
|
121282
|
+
"parameters": [
|
|
121283
|
+
{
|
|
121284
|
+
"name": "form",
|
|
121285
|
+
"type": {
|
|
121286
|
+
"text": "HTMLFormElement"
|
|
121287
|
+
}
|
|
121288
|
+
}
|
|
121289
|
+
],
|
|
121290
|
+
"inheritedFrom": {
|
|
121291
|
+
"name": "SbbButtonBaseElement",
|
|
121292
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121293
|
+
}
|
|
121294
|
+
},
|
|
121295
|
+
{
|
|
121296
|
+
"kind": "field",
|
|
121297
|
+
"name": "_formKeyDown",
|
|
121298
|
+
"privacy": "private",
|
|
121299
|
+
"inheritedFrom": {
|
|
121300
|
+
"name": "SbbButtonBaseElement",
|
|
121301
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121302
|
+
}
|
|
121303
|
+
},
|
|
121304
|
+
{
|
|
121305
|
+
"kind": "field",
|
|
121306
|
+
"name": "formAssociated",
|
|
121685
121307
|
"type": {
|
|
121686
121308
|
"text": "boolean"
|
|
121687
121309
|
},
|
|
121688
121310
|
"privacy": "public",
|
|
121689
|
-
"
|
|
121690
|
-
"
|
|
121691
|
-
"
|
|
121692
|
-
|
|
121311
|
+
"static": true,
|
|
121312
|
+
"default": "true",
|
|
121313
|
+
"inheritedFrom": {
|
|
121314
|
+
"name": "SbbFormAssociatedMixin",
|
|
121315
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121316
|
+
}
|
|
121693
121317
|
},
|
|
121694
121318
|
{
|
|
121695
121319
|
"kind": "field",
|
|
121696
|
-
"name": "
|
|
121320
|
+
"name": "name",
|
|
121321
|
+
"privacy": "public",
|
|
121322
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121697
121323
|
"type": {
|
|
121698
|
-
"text": "
|
|
121324
|
+
"text": "string"
|
|
121699
121325
|
},
|
|
121700
|
-
"
|
|
121701
|
-
"
|
|
121702
|
-
|
|
121703
|
-
|
|
121326
|
+
"attribute": "name",
|
|
121327
|
+
"inheritedFrom": {
|
|
121328
|
+
"name": "SbbFormAssociatedMixin",
|
|
121329
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121330
|
+
}
|
|
121704
121331
|
},
|
|
121705
121332
|
{
|
|
121706
121333
|
"kind": "field",
|
|
121707
|
-
"name": "
|
|
121334
|
+
"name": "validity",
|
|
121708
121335
|
"type": {
|
|
121709
|
-
"text": "
|
|
121336
|
+
"text": "ValidityState"
|
|
121710
121337
|
},
|
|
121711
121338
|
"privacy": "public",
|
|
121712
|
-
"description": "Returns the
|
|
121339
|
+
"description": "Returns the ValidityState object for this element.",
|
|
121713
121340
|
"readonly": true,
|
|
121714
|
-
"
|
|
121341
|
+
"inheritedFrom": {
|
|
121342
|
+
"name": "SbbFormAssociatedMixin",
|
|
121343
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121344
|
+
}
|
|
121715
121345
|
},
|
|
121716
121346
|
{
|
|
121717
121347
|
"kind": "field",
|
|
121718
|
-
"name": "
|
|
121348
|
+
"name": "validationMessage",
|
|
121719
121349
|
"type": {
|
|
121720
|
-
"text": "
|
|
121350
|
+
"text": "string"
|
|
121721
121351
|
},
|
|
121722
|
-
"privacy": "
|
|
121723
|
-
"
|
|
121352
|
+
"privacy": "public",
|
|
121353
|
+
"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.",
|
|
121354
|
+
"readonly": true,
|
|
121355
|
+
"inheritedFrom": {
|
|
121356
|
+
"name": "SbbFormAssociatedMixin",
|
|
121357
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121358
|
+
}
|
|
121724
121359
|
},
|
|
121725
121360
|
{
|
|
121726
121361
|
"kind": "field",
|
|
121727
|
-
"name": "
|
|
121362
|
+
"name": "willValidate",
|
|
121728
121363
|
"type": {
|
|
121729
|
-
"text": "
|
|
121364
|
+
"text": "boolean"
|
|
121730
121365
|
},
|
|
121731
|
-
"privacy": "
|
|
121732
|
-
"
|
|
121366
|
+
"privacy": "public",
|
|
121367
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
121368
|
+
"readonly": true,
|
|
121369
|
+
"inheritedFrom": {
|
|
121370
|
+
"name": "SbbFormAssociatedMixin",
|
|
121371
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121372
|
+
}
|
|
121733
121373
|
},
|
|
121734
121374
|
{
|
|
121735
121375
|
"kind": "field",
|
|
121736
|
-
"name": "
|
|
121376
|
+
"name": "_validityStates",
|
|
121737
121377
|
"privacy": "private",
|
|
121738
|
-
"default": "new
|
|
121378
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
121379
|
+
"inheritedFrom": {
|
|
121380
|
+
"name": "SbbFormAssociatedMixin",
|
|
121381
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121382
|
+
}
|
|
121739
121383
|
},
|
|
121740
121384
|
{
|
|
121741
121385
|
"kind": "field",
|
|
121742
|
-
"name": "
|
|
121743
|
-
"
|
|
121744
|
-
|
|
121386
|
+
"name": "formDisabled",
|
|
121387
|
+
"type": {
|
|
121388
|
+
"text": "boolean"
|
|
121389
|
+
},
|
|
121390
|
+
"privacy": "protected",
|
|
121391
|
+
"default": "false",
|
|
121392
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
121393
|
+
"inheritedFrom": {
|
|
121394
|
+
"name": "SbbFormAssociatedMixin",
|
|
121395
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121396
|
+
}
|
|
121745
121397
|
},
|
|
121746
121398
|
{
|
|
121747
121399
|
"kind": "method",
|
|
121748
|
-
"name": "
|
|
121400
|
+
"name": "checkValidity",
|
|
121749
121401
|
"privacy": "public",
|
|
121750
121402
|
"return": {
|
|
121751
121403
|
"type": {
|
|
121752
|
-
"text": "
|
|
121404
|
+
"text": "boolean"
|
|
121753
121405
|
}
|
|
121754
121406
|
},
|
|
121755
|
-
"description": "
|
|
121407
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
121408
|
+
"inheritedFrom": {
|
|
121409
|
+
"name": "SbbFormAssociatedMixin",
|
|
121410
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121411
|
+
}
|
|
121756
121412
|
},
|
|
121757
121413
|
{
|
|
121758
121414
|
"kind": "method",
|
|
121759
|
-
"name": "
|
|
121415
|
+
"name": "reportValidity",
|
|
121416
|
+
"privacy": "public",
|
|
121417
|
+
"return": {
|
|
121418
|
+
"type": {
|
|
121419
|
+
"text": "boolean"
|
|
121420
|
+
}
|
|
121421
|
+
},
|
|
121422
|
+
"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.",
|
|
121423
|
+
"inheritedFrom": {
|
|
121424
|
+
"name": "SbbFormAssociatedMixin",
|
|
121425
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121426
|
+
}
|
|
121427
|
+
},
|
|
121428
|
+
{
|
|
121429
|
+
"kind": "method",
|
|
121430
|
+
"name": "setCustomValidity",
|
|
121760
121431
|
"privacy": "public",
|
|
121761
121432
|
"return": {
|
|
121762
121433
|
"type": {
|
|
121763
121434
|
"text": "void"
|
|
121764
121435
|
}
|
|
121765
121436
|
},
|
|
121766
|
-
"
|
|
121437
|
+
"parameters": [
|
|
121438
|
+
{
|
|
121439
|
+
"name": "message",
|
|
121440
|
+
"type": {
|
|
121441
|
+
"text": "string"
|
|
121442
|
+
}
|
|
121443
|
+
}
|
|
121444
|
+
],
|
|
121445
|
+
"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.",
|
|
121767
121446
|
"inheritedFrom": {
|
|
121768
|
-
"name": "
|
|
121769
|
-
"module": "core/
|
|
121447
|
+
"name": "SbbFormAssociatedMixin",
|
|
121448
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121770
121449
|
}
|
|
121771
121450
|
},
|
|
121772
121451
|
{
|
|
121773
121452
|
"kind": "method",
|
|
121774
|
-
"name": "
|
|
121453
|
+
"name": "_hasDisabledAncestor",
|
|
121775
121454
|
"privacy": "private",
|
|
121776
121455
|
"return": {
|
|
121777
121456
|
"type": {
|
|
121778
121457
|
"text": "boolean"
|
|
121779
121458
|
}
|
|
121459
|
+
},
|
|
121460
|
+
"inheritedFrom": {
|
|
121461
|
+
"name": "SbbFormAssociatedMixin",
|
|
121462
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121780
121463
|
}
|
|
121781
121464
|
},
|
|
121782
121465
|
{
|
|
121783
121466
|
"kind": "method",
|
|
121784
|
-
"name": "
|
|
121785
|
-
"privacy": "
|
|
121467
|
+
"name": "updateFormValue",
|
|
121468
|
+
"privacy": "protected",
|
|
121786
121469
|
"return": {
|
|
121787
121470
|
"type": {
|
|
121788
121471
|
"text": "void"
|
|
121789
121472
|
}
|
|
121473
|
+
},
|
|
121474
|
+
"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",
|
|
121475
|
+
"inheritedFrom": {
|
|
121476
|
+
"name": "SbbFormAssociatedMixin",
|
|
121477
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121790
121478
|
}
|
|
121791
121479
|
},
|
|
121792
121480
|
{
|
|
121793
121481
|
"kind": "method",
|
|
121794
|
-
"name": "
|
|
121795
|
-
"privacy": "
|
|
121482
|
+
"name": "formState",
|
|
121483
|
+
"privacy": "protected",
|
|
121796
121484
|
"return": {
|
|
121797
121485
|
"type": {
|
|
121798
|
-
"text": "
|
|
121486
|
+
"text": "FormRestoreState"
|
|
121799
121487
|
}
|
|
121800
121488
|
},
|
|
121801
|
-
"description": "Closes the sidebar.",
|
|
121802
121489
|
"inheritedFrom": {
|
|
121803
|
-
"name": "
|
|
121804
|
-
"module": "core/
|
|
121490
|
+
"name": "SbbFormAssociatedMixin",
|
|
121491
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121805
121492
|
}
|
|
121806
121493
|
},
|
|
121807
121494
|
{
|
|
121808
121495
|
"kind": "method",
|
|
121809
|
-
"name": "
|
|
121810
|
-
"privacy": "
|
|
121496
|
+
"name": "setValidityFlag",
|
|
121497
|
+
"privacy": "protected",
|
|
121811
121498
|
"return": {
|
|
121812
121499
|
"type": {
|
|
121813
121500
|
"text": "void"
|
|
121814
121501
|
}
|
|
121502
|
+
},
|
|
121503
|
+
"parameters": [
|
|
121504
|
+
{
|
|
121505
|
+
"name": "flag",
|
|
121506
|
+
"type": {
|
|
121507
|
+
"text": "T"
|
|
121508
|
+
}
|
|
121509
|
+
},
|
|
121510
|
+
{
|
|
121511
|
+
"name": "message",
|
|
121512
|
+
"type": {
|
|
121513
|
+
"text": "string"
|
|
121514
|
+
}
|
|
121515
|
+
},
|
|
121516
|
+
{
|
|
121517
|
+
"name": "flagValue",
|
|
121518
|
+
"optional": true,
|
|
121519
|
+
"type": {
|
|
121520
|
+
"text": "ValidityStateFlags[T]"
|
|
121521
|
+
}
|
|
121522
|
+
}
|
|
121523
|
+
],
|
|
121524
|
+
"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).",
|
|
121525
|
+
"inheritedFrom": {
|
|
121526
|
+
"name": "SbbFormAssociatedMixin",
|
|
121527
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121815
121528
|
}
|
|
121816
121529
|
},
|
|
121817
121530
|
{
|
|
121818
121531
|
"kind": "method",
|
|
121819
|
-
"name": "
|
|
121820
|
-
"privacy": "
|
|
121532
|
+
"name": "removeValidityFlag",
|
|
121533
|
+
"privacy": "protected",
|
|
121821
121534
|
"return": {
|
|
121822
121535
|
"type": {
|
|
121823
121536
|
"text": "void"
|
|
121824
121537
|
}
|
|
121538
|
+
},
|
|
121539
|
+
"parameters": [
|
|
121540
|
+
{
|
|
121541
|
+
"name": "flag",
|
|
121542
|
+
"type": {
|
|
121543
|
+
"text": "T"
|
|
121544
|
+
}
|
|
121545
|
+
}
|
|
121546
|
+
],
|
|
121547
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121548
|
+
"inheritedFrom": {
|
|
121549
|
+
"name": "SbbFormAssociatedMixin",
|
|
121550
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121825
121551
|
}
|
|
121826
121552
|
},
|
|
121827
121553
|
{
|
|
121828
121554
|
"kind": "method",
|
|
121829
|
-
"name": "
|
|
121555
|
+
"name": "validate",
|
|
121830
121556
|
"privacy": "protected",
|
|
121831
121557
|
"return": {
|
|
121832
121558
|
"type": {
|
|
121833
121559
|
"text": "void"
|
|
121834
121560
|
}
|
|
121561
|
+
},
|
|
121562
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
121563
|
+
"inheritedFrom": {
|
|
121564
|
+
"name": "SbbFormAssociatedMixin",
|
|
121565
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121835
121566
|
}
|
|
121836
121567
|
},
|
|
121837
121568
|
{
|
|
121838
121569
|
"kind": "method",
|
|
121839
|
-
"name": "
|
|
121840
|
-
"privacy": "
|
|
121570
|
+
"name": "shouldValidate",
|
|
121571
|
+
"privacy": "protected",
|
|
121841
121572
|
"return": {
|
|
121842
121573
|
"type": {
|
|
121843
|
-
"text": "
|
|
121574
|
+
"text": "boolean"
|
|
121844
121575
|
}
|
|
121845
121576
|
},
|
|
121846
121577
|
"parameters": [
|
|
121847
121578
|
{
|
|
121848
|
-
"name": "
|
|
121849
|
-
"optional": true,
|
|
121579
|
+
"name": "name",
|
|
121850
121580
|
"type": {
|
|
121851
|
-
"text": "
|
|
121581
|
+
"text": "PropertyKey | undefined"
|
|
121852
121582
|
}
|
|
121853
121583
|
}
|
|
121854
|
-
]
|
|
121584
|
+
],
|
|
121585
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
121586
|
+
"inheritedFrom": {
|
|
121587
|
+
"name": "SbbFormAssociatedMixin",
|
|
121588
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121589
|
+
}
|
|
121855
121590
|
},
|
|
121856
121591
|
{
|
|
121857
121592
|
"kind": "method",
|
|
121858
|
-
"name": "
|
|
121593
|
+
"name": "_setInternalValidity",
|
|
121859
121594
|
"privacy": "private",
|
|
121860
121595
|
"return": {
|
|
121861
121596
|
"type": {
|
|
121862
|
-
"text": "
|
|
121597
|
+
"text": "void"
|
|
121863
121598
|
}
|
|
121864
121599
|
},
|
|
121600
|
+
"inheritedFrom": {
|
|
121601
|
+
"name": "SbbFormAssociatedMixin",
|
|
121602
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121603
|
+
}
|
|
121604
|
+
},
|
|
121605
|
+
{
|
|
121606
|
+
"kind": "field",
|
|
121607
|
+
"name": "role",
|
|
121608
|
+
"type": {
|
|
121609
|
+
"text": "ElementInternals['role']"
|
|
121610
|
+
},
|
|
121611
|
+
"privacy": "public",
|
|
121612
|
+
"static": true,
|
|
121613
|
+
"readonly": true,
|
|
121614
|
+
"default": "'button'",
|
|
121615
|
+
"inheritedFrom": {
|
|
121616
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121617
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121618
|
+
}
|
|
121619
|
+
},
|
|
121620
|
+
{
|
|
121621
|
+
"kind": "field",
|
|
121622
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
121623
|
+
"privacy": "private",
|
|
121624
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
121865
121625
|
"parameters": [
|
|
121866
121626
|
{
|
|
121867
|
-
"
|
|
121868
|
-
"
|
|
121627
|
+
"description": "The origin event.",
|
|
121628
|
+
"name": "event"
|
|
121869
121629
|
}
|
|
121870
|
-
]
|
|
121630
|
+
],
|
|
121631
|
+
"inheritedFrom": {
|
|
121632
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121633
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121634
|
+
}
|
|
121871
121635
|
},
|
|
121872
121636
|
{
|
|
121873
|
-
"kind": "
|
|
121874
|
-
"name": "
|
|
121637
|
+
"kind": "field",
|
|
121638
|
+
"name": "_removeActiveMarker",
|
|
121875
121639
|
"privacy": "private",
|
|
121876
|
-
"
|
|
121877
|
-
"
|
|
121878
|
-
|
|
121640
|
+
"inheritedFrom": {
|
|
121641
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121642
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121643
|
+
}
|
|
121644
|
+
},
|
|
121645
|
+
{
|
|
121646
|
+
"kind": "field",
|
|
121647
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
121648
|
+
"privacy": "private",
|
|
121649
|
+
"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.",
|
|
121650
|
+
"parameters": [
|
|
121651
|
+
{
|
|
121652
|
+
"description": "The origin event.",
|
|
121653
|
+
"name": "event"
|
|
121879
121654
|
}
|
|
121655
|
+
],
|
|
121656
|
+
"inheritedFrom": {
|
|
121657
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121658
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121880
121659
|
}
|
|
121881
121660
|
},
|
|
121882
121661
|
{
|
|
121883
|
-
"kind": "
|
|
121884
|
-
"name": "
|
|
121662
|
+
"kind": "field",
|
|
121663
|
+
"name": "_dispatchClickEvent",
|
|
121885
121664
|
"privacy": "private",
|
|
121665
|
+
"inheritedFrom": {
|
|
121666
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121667
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121668
|
+
}
|
|
121669
|
+
},
|
|
121670
|
+
{
|
|
121671
|
+
"kind": "field",
|
|
121672
|
+
"name": "maybeDisabled",
|
|
121673
|
+
"type": {
|
|
121674
|
+
"text": "boolean | undefined"
|
|
121675
|
+
},
|
|
121676
|
+
"privacy": "protected",
|
|
121677
|
+
"readonly": true,
|
|
121678
|
+
"inheritedFrom": {
|
|
121679
|
+
"name": "SbbActionBaseElement",
|
|
121680
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121681
|
+
}
|
|
121682
|
+
},
|
|
121683
|
+
{
|
|
121684
|
+
"kind": "field",
|
|
121685
|
+
"name": "maybeDisabledInteractive",
|
|
121686
|
+
"type": {
|
|
121687
|
+
"text": "boolean | undefined"
|
|
121688
|
+
},
|
|
121689
|
+
"privacy": "protected",
|
|
121690
|
+
"readonly": true,
|
|
121691
|
+
"inheritedFrom": {
|
|
121692
|
+
"name": "SbbActionBaseElement",
|
|
121693
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121694
|
+
}
|
|
121695
|
+
},
|
|
121696
|
+
{
|
|
121697
|
+
"kind": "method",
|
|
121698
|
+
"name": "setupBaseEventHandlers",
|
|
121699
|
+
"privacy": "protected",
|
|
121886
121700
|
"return": {
|
|
121887
121701
|
"type": {
|
|
121888
121702
|
"text": "void"
|
|
121889
121703
|
}
|
|
121890
121704
|
},
|
|
121891
|
-
"
|
|
121892
|
-
|
|
121893
|
-
|
|
121894
|
-
|
|
121895
|
-
"text": "TransitionEvent"
|
|
121896
|
-
}
|
|
121897
|
-
}
|
|
121898
|
-
]
|
|
121705
|
+
"inheritedFrom": {
|
|
121706
|
+
"name": "SbbActionBaseElement",
|
|
121707
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121708
|
+
}
|
|
121899
121709
|
},
|
|
121900
121710
|
{
|
|
121901
|
-
"kind": "
|
|
121902
|
-
"name": "
|
|
121711
|
+
"kind": "field",
|
|
121712
|
+
"name": "_hydrationRequired",
|
|
121713
|
+
"type": {
|
|
121714
|
+
"text": "boolean"
|
|
121715
|
+
},
|
|
121716
|
+
"privacy": "private",
|
|
121717
|
+
"default": "!!this.shadowRoot",
|
|
121718
|
+
"inheritedFrom": {
|
|
121719
|
+
"name": "SbbElement",
|
|
121720
|
+
"module": "core/base-elements/element.js"
|
|
121721
|
+
}
|
|
121722
|
+
},
|
|
121723
|
+
{
|
|
121724
|
+
"kind": "field",
|
|
121725
|
+
"name": "_hydrationComplete",
|
|
121726
|
+
"privacy": "private",
|
|
121727
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
121728
|
+
"inheritedFrom": {
|
|
121729
|
+
"name": "SbbElement",
|
|
121730
|
+
"module": "core/base-elements/element.js"
|
|
121731
|
+
}
|
|
121732
|
+
},
|
|
121733
|
+
{
|
|
121734
|
+
"kind": "field",
|
|
121735
|
+
"name": "_resolveHydration",
|
|
121736
|
+
"type": {
|
|
121737
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
121738
|
+
},
|
|
121903
121739
|
"privacy": "private",
|
|
121740
|
+
"inheritedFrom": {
|
|
121741
|
+
"name": "SbbElement",
|
|
121742
|
+
"module": "core/base-elements/element.js"
|
|
121743
|
+
}
|
|
121744
|
+
},
|
|
121745
|
+
{
|
|
121746
|
+
"kind": "field",
|
|
121747
|
+
"name": "hydrationRequired",
|
|
121748
|
+
"type": {
|
|
121749
|
+
"text": "boolean"
|
|
121750
|
+
},
|
|
121751
|
+
"privacy": "protected",
|
|
121752
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
121753
|
+
"readonly": true,
|
|
121754
|
+
"inheritedFrom": {
|
|
121755
|
+
"name": "SbbElement",
|
|
121756
|
+
"module": "core/base-elements/element.js"
|
|
121757
|
+
},
|
|
121758
|
+
"default": "!!this.shadowRoot"
|
|
121759
|
+
},
|
|
121760
|
+
{
|
|
121761
|
+
"kind": "method",
|
|
121762
|
+
"name": "toggleState",
|
|
121763
|
+
"privacy": "protected",
|
|
121904
121764
|
"return": {
|
|
121905
121765
|
"type": {
|
|
121906
121766
|
"text": "void"
|
|
121907
121767
|
}
|
|
121768
|
+
},
|
|
121769
|
+
"parameters": [
|
|
121770
|
+
{
|
|
121771
|
+
"name": "value",
|
|
121772
|
+
"type": {
|
|
121773
|
+
"text": "string"
|
|
121774
|
+
}
|
|
121775
|
+
},
|
|
121776
|
+
{
|
|
121777
|
+
"name": "force",
|
|
121778
|
+
"optional": true,
|
|
121779
|
+
"type": {
|
|
121780
|
+
"text": "boolean"
|
|
121781
|
+
}
|
|
121782
|
+
}
|
|
121783
|
+
],
|
|
121784
|
+
"inheritedFrom": {
|
|
121785
|
+
"name": "SbbElement",
|
|
121786
|
+
"module": "core/base-elements/element.js"
|
|
121908
121787
|
}
|
|
121909
121788
|
},
|
|
121910
121789
|
{
|
|
121911
121790
|
"kind": "field",
|
|
121912
|
-
"name": "
|
|
121791
|
+
"name": "['_$sbbElement$']",
|
|
121913
121792
|
"type": {
|
|
121914
121793
|
"text": "boolean"
|
|
121915
121794
|
},
|
|
121916
121795
|
"privacy": "public",
|
|
121917
|
-
"
|
|
121918
|
-
"
|
|
121796
|
+
"static": true,
|
|
121797
|
+
"default": "true",
|
|
121919
121798
|
"inheritedFrom": {
|
|
121920
|
-
"name": "
|
|
121921
|
-
"module": "core/
|
|
121799
|
+
"name": "SbbElement",
|
|
121800
|
+
"module": "core/base-elements/element.js"
|
|
121922
121801
|
}
|
|
121923
121802
|
},
|
|
121924
121803
|
{
|
|
121925
121804
|
"kind": "field",
|
|
121926
|
-
"name": "
|
|
121805
|
+
"name": "_controllers",
|
|
121927
121806
|
"type": {
|
|
121928
|
-
"text": "
|
|
121807
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
121929
121808
|
},
|
|
121930
|
-
"privacy": "
|
|
121931
|
-
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
121932
|
-
"readonly": true,
|
|
121809
|
+
"privacy": "private",
|
|
121933
121810
|
"inheritedFrom": {
|
|
121934
|
-
"name": "
|
|
121935
|
-
"module": "core/
|
|
121811
|
+
"name": "SbbElement",
|
|
121812
|
+
"module": "core/base-elements/element.js"
|
|
121936
121813
|
}
|
|
121937
|
-
}
|
|
121814
|
+
}
|
|
121815
|
+
],
|
|
121816
|
+
"superclass": {
|
|
121817
|
+
"name": "SbbSecondaryButtonElement",
|
|
121818
|
+
"module": "button.pure.js"
|
|
121819
|
+
},
|
|
121820
|
+
"tagName": "sbb-sidebar-close-button",
|
|
121821
|
+
"customElement": true,
|
|
121822
|
+
"attributes": [
|
|
121938
121823
|
{
|
|
121939
|
-
"
|
|
121940
|
-
"name": "_animationPromise",
|
|
121824
|
+
"name": "size",
|
|
121941
121825
|
"type": {
|
|
121942
|
-
"text": "
|
|
121826
|
+
"text": "SbbButtonSize"
|
|
121943
121827
|
},
|
|
121944
|
-
"
|
|
121828
|
+
"description": "Size variant, either l, m or s.",
|
|
121829
|
+
"default": "'l' / 's' (lean)",
|
|
121830
|
+
"fieldName": "size",
|
|
121945
121831
|
"inheritedFrom": {
|
|
121946
|
-
"name": "
|
|
121947
|
-
"module": "
|
|
121832
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121833
|
+
"module": "button/common/button-common.js"
|
|
121948
121834
|
}
|
|
121949
121835
|
},
|
|
121950
121836
|
{
|
|
121951
|
-
"
|
|
121952
|
-
"
|
|
121953
|
-
|
|
121954
|
-
"return": {
|
|
121955
|
-
"type": {
|
|
121956
|
-
"text": "void"
|
|
121957
|
-
}
|
|
121837
|
+
"name": "loading",
|
|
121838
|
+
"type": {
|
|
121839
|
+
"text": "boolean"
|
|
121958
121840
|
},
|
|
121841
|
+
"default": "false",
|
|
121842
|
+
"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.",
|
|
121843
|
+
"fieldName": "loading",
|
|
121959
121844
|
"inheritedFrom": {
|
|
121960
|
-
"name": "
|
|
121961
|
-
"module": "
|
|
121845
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121846
|
+
"module": "button/common/button-common.js"
|
|
121962
121847
|
}
|
|
121963
121848
|
},
|
|
121964
121849
|
{
|
|
121965
|
-
"
|
|
121966
|
-
"
|
|
121967
|
-
|
|
121968
|
-
"return": {
|
|
121969
|
-
"type": {
|
|
121970
|
-
"text": "void"
|
|
121971
|
-
}
|
|
121850
|
+
"name": "negative",
|
|
121851
|
+
"type": {
|
|
121852
|
+
"text": "boolean"
|
|
121972
121853
|
},
|
|
121973
|
-
"
|
|
121854
|
+
"default": "false",
|
|
121855
|
+
"description": "Negative coloring variant flag.",
|
|
121856
|
+
"fieldName": "negative",
|
|
121974
121857
|
"inheritedFrom": {
|
|
121975
|
-
"name": "
|
|
121976
|
-
"module": "core/mixins/
|
|
121858
|
+
"name": "SbbNegativeMixin",
|
|
121859
|
+
"module": "core/mixins/negative-mixin.js"
|
|
121977
121860
|
}
|
|
121978
121861
|
},
|
|
121979
121862
|
{
|
|
121980
|
-
"
|
|
121981
|
-
"
|
|
121982
|
-
|
|
121983
|
-
"return": {
|
|
121984
|
-
"type": {
|
|
121985
|
-
"text": "Promise<void>"
|
|
121986
|
-
}
|
|
121863
|
+
"name": "icon-name",
|
|
121864
|
+
"type": {
|
|
121865
|
+
"text": "string"
|
|
121987
121866
|
},
|
|
121867
|
+
"default": "''",
|
|
121868
|
+
"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.",
|
|
121869
|
+
"fieldName": "iconName",
|
|
121988
121870
|
"inheritedFrom": {
|
|
121989
|
-
"name": "
|
|
121990
|
-
"module": "
|
|
121871
|
+
"name": "SbbIconNameMixin",
|
|
121872
|
+
"module": "icon/icon-name-mixin.js"
|
|
121991
121873
|
}
|
|
121992
121874
|
},
|
|
121993
121875
|
{
|
|
121994
|
-
"
|
|
121995
|
-
"name": "events",
|
|
121996
|
-
"privacy": "public",
|
|
121997
|
-
"static": true,
|
|
121998
|
-
"readonly": true,
|
|
121999
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
121876
|
+
"name": "disabled-interactive",
|
|
122000
121877
|
"type": {
|
|
122001
|
-
"text": "
|
|
121878
|
+
"text": "boolean"
|
|
122002
121879
|
},
|
|
121880
|
+
"default": "false",
|
|
121881
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
121882
|
+
"fieldName": "disabledInteractive",
|
|
122003
121883
|
"inheritedFrom": {
|
|
122004
|
-
"name": "
|
|
122005
|
-
"module": "core/
|
|
121884
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
121885
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
122006
121886
|
}
|
|
122007
121887
|
},
|
|
122008
121888
|
{
|
|
122009
|
-
"
|
|
122010
|
-
"
|
|
122011
|
-
"
|
|
122012
|
-
"description": "The state of the component.",
|
|
121889
|
+
"name": "disabled",
|
|
121890
|
+
"description": "Whether the component is disabled.",
|
|
121891
|
+
"default": "false",
|
|
122013
121892
|
"type": {
|
|
122014
|
-
"text": "
|
|
121893
|
+
"text": "boolean"
|
|
122015
121894
|
},
|
|
122016
|
-
"
|
|
121895
|
+
"fieldName": "disabled",
|
|
122017
121896
|
"inheritedFrom": {
|
|
122018
|
-
"name": "
|
|
122019
|
-
"module": "core/
|
|
121897
|
+
"name": "SbbDisabledMixin",
|
|
121898
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
122020
121899
|
}
|
|
122021
121900
|
},
|
|
122022
121901
|
{
|
|
122023
|
-
"
|
|
122024
|
-
"name": "_state",
|
|
121902
|
+
"name": "value",
|
|
122025
121903
|
"type": {
|
|
122026
|
-
"text": "
|
|
121904
|
+
"text": "string"
|
|
122027
121905
|
},
|
|
122028
|
-
"
|
|
121906
|
+
"default": "''",
|
|
121907
|
+
"description": "Value of the form element.",
|
|
121908
|
+
"fieldName": "value",
|
|
122029
121909
|
"inheritedFrom": {
|
|
122030
|
-
"name": "
|
|
122031
|
-
"module": "core/base-elements/
|
|
121910
|
+
"name": "SbbButtonBaseElement",
|
|
121911
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122032
121912
|
}
|
|
122033
121913
|
},
|
|
122034
121914
|
{
|
|
122035
|
-
"
|
|
122036
|
-
"
|
|
121915
|
+
"name": "type",
|
|
121916
|
+
"description": "The type attribute to use for the button.",
|
|
121917
|
+
"default": "'button'",
|
|
122037
121918
|
"type": {
|
|
122038
|
-
"text": "
|
|
121919
|
+
"text": "SbbButtonType"
|
|
122039
121920
|
},
|
|
122040
|
-
"
|
|
122041
|
-
"description": "Whether the element is open.",
|
|
122042
|
-
"readonly": true,
|
|
121921
|
+
"fieldName": "type",
|
|
122043
121922
|
"inheritedFrom": {
|
|
122044
|
-
"name": "
|
|
122045
|
-
"module": "core/base-elements/
|
|
121923
|
+
"name": "SbbButtonBaseElement",
|
|
121924
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122046
121925
|
}
|
|
122047
121926
|
},
|
|
122048
121927
|
{
|
|
122049
|
-
"
|
|
122050
|
-
"
|
|
122051
|
-
"
|
|
122052
|
-
|
|
122053
|
-
"type": {
|
|
122054
|
-
"text": "void"
|
|
122055
|
-
}
|
|
121928
|
+
"name": "form",
|
|
121929
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121930
|
+
"type": {
|
|
121931
|
+
"text": "HTMLFormElement | null"
|
|
122056
121932
|
},
|
|
122057
|
-
"
|
|
121933
|
+
"fieldName": "form",
|
|
122058
121934
|
"inheritedFrom": {
|
|
122059
|
-
"name": "
|
|
122060
|
-
"module": "core/base-elements/
|
|
121935
|
+
"name": "SbbButtonBaseElement",
|
|
121936
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122061
121937
|
}
|
|
122062
121938
|
},
|
|
122063
121939
|
{
|
|
122064
|
-
"
|
|
122065
|
-
"
|
|
122066
|
-
"
|
|
122067
|
-
|
|
122068
|
-
"type": {
|
|
122069
|
-
"text": "boolean"
|
|
122070
|
-
}
|
|
121940
|
+
"name": "name",
|
|
121941
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121942
|
+
"type": {
|
|
121943
|
+
"text": "string"
|
|
122071
121944
|
},
|
|
121945
|
+
"fieldName": "name",
|
|
122072
121946
|
"inheritedFrom": {
|
|
122073
|
-
"name": "
|
|
122074
|
-
"module": "core/
|
|
121947
|
+
"name": "SbbFormAssociatedMixin",
|
|
121948
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
122075
121949
|
}
|
|
122076
|
-
}
|
|
121950
|
+
}
|
|
121951
|
+
],
|
|
121952
|
+
"cssProperties": [
|
|
122077
121953
|
{
|
|
122078
|
-
"
|
|
122079
|
-
"name": "
|
|
122080
|
-
"
|
|
122081
|
-
"
|
|
122082
|
-
"
|
|
122083
|
-
|
|
122084
|
-
|
|
121954
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
121955
|
+
"name": "--sbb-button-loading-delay",
|
|
121956
|
+
"default": "300ms",
|
|
121957
|
+
"inheritedFrom": {
|
|
121958
|
+
"name": "SbbSecondaryButtonElement",
|
|
121959
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121960
|
+
}
|
|
121961
|
+
}
|
|
121962
|
+
]
|
|
121963
|
+
}
|
|
121964
|
+
],
|
|
121965
|
+
"exports": [
|
|
121966
|
+
{
|
|
121967
|
+
"kind": "js",
|
|
121968
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121969
|
+
"declaration": {
|
|
121970
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121971
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
121972
|
+
}
|
|
121973
|
+
}
|
|
121974
|
+
]
|
|
121975
|
+
},
|
|
121976
|
+
{
|
|
121977
|
+
"kind": "javascript-module",
|
|
121978
|
+
"path": "sidebar/sidebar-container/sidebar-container.component.js",
|
|
121979
|
+
"declarations": [
|
|
121980
|
+
{
|
|
121981
|
+
"kind": "class",
|
|
121982
|
+
"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.",
|
|
121983
|
+
"name": "SbbSidebarContainerElement",
|
|
121984
|
+
"slots": [
|
|
121985
|
+
{
|
|
121986
|
+
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
121987
|
+
"name": ""
|
|
121988
|
+
}
|
|
121989
|
+
],
|
|
121990
|
+
"members": [
|
|
121991
|
+
{
|
|
121992
|
+
"kind": "field",
|
|
121993
|
+
"name": "elementName",
|
|
121994
|
+
"type": {
|
|
121995
|
+
"text": "string"
|
|
122085
121996
|
},
|
|
121997
|
+
"privacy": "public",
|
|
121998
|
+
"static": true,
|
|
121999
|
+
"readonly": true,
|
|
122000
|
+
"default": "'sbb-sidebar-container'",
|
|
122086
122001
|
"inheritedFrom": {
|
|
122087
|
-
"name": "
|
|
122088
|
-
"module": "core/base-elements/
|
|
122002
|
+
"name": "SbbElement",
|
|
122003
|
+
"module": "core/base-elements/element.js"
|
|
122089
122004
|
}
|
|
122090
122005
|
},
|
|
122006
|
+
{
|
|
122007
|
+
"kind": "field",
|
|
122008
|
+
"name": "sidebars",
|
|
122009
|
+
"type": {
|
|
122010
|
+
"text": "SbbSidebarElement[]"
|
|
122011
|
+
},
|
|
122012
|
+
"privacy": "public",
|
|
122013
|
+
"description": "The sidebar children.",
|
|
122014
|
+
"readonly": true
|
|
122015
|
+
},
|
|
122016
|
+
{
|
|
122017
|
+
"kind": "field",
|
|
122018
|
+
"name": "start",
|
|
122019
|
+
"type": {
|
|
122020
|
+
"text": "SbbSidebarElement | null"
|
|
122021
|
+
},
|
|
122022
|
+
"privacy": "public",
|
|
122023
|
+
"description": "The sidebar child with the `start` position.",
|
|
122024
|
+
"readonly": true
|
|
122025
|
+
},
|
|
122026
|
+
{
|
|
122027
|
+
"kind": "field",
|
|
122028
|
+
"name": "end",
|
|
122029
|
+
"type": {
|
|
122030
|
+
"text": "SbbSidebarElement | null"
|
|
122031
|
+
},
|
|
122032
|
+
"privacy": "public",
|
|
122033
|
+
"description": "The sidebar child with the `end` position.",
|
|
122034
|
+
"readonly": true
|
|
122035
|
+
},
|
|
122036
|
+
{
|
|
122037
|
+
"kind": "field",
|
|
122038
|
+
"name": "_forcedClosedSidebars",
|
|
122039
|
+
"privacy": "private",
|
|
122040
|
+
"default": "new WeakSet<SbbSidebarElement>()"
|
|
122041
|
+
},
|
|
122091
122042
|
{
|
|
122092
122043
|
"kind": "method",
|
|
122093
|
-
"name": "
|
|
122094
|
-
"privacy": "
|
|
122044
|
+
"name": "_handleWidthChange",
|
|
122045
|
+
"privacy": "private",
|
|
122095
122046
|
"return": {
|
|
122096
122047
|
"type": {
|
|
122097
|
-
"text": "
|
|
122048
|
+
"text": "void"
|
|
122098
122049
|
}
|
|
122099
|
-
},
|
|
122100
|
-
"inheritedFrom": {
|
|
122101
|
-
"name": "SbbOpenCloseBaseElement",
|
|
122102
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
122103
122050
|
}
|
|
122104
122051
|
},
|
|
122105
122052
|
{
|
|
122106
122053
|
"kind": "method",
|
|
122107
|
-
"name": "
|
|
122108
|
-
"privacy": "
|
|
122054
|
+
"name": "_calculateSpaceState",
|
|
122055
|
+
"privacy": "private",
|
|
122109
122056
|
"return": {
|
|
122110
122057
|
"type": {
|
|
122111
|
-
"text": "
|
|
122058
|
+
"text": "Promise<void>"
|
|
122112
122059
|
}
|
|
122113
122060
|
},
|
|
122114
|
-
"
|
|
122115
|
-
"name": "SbbOpenCloseBaseElement",
|
|
122116
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
122117
|
-
}
|
|
122061
|
+
"description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
|
|
122118
122062
|
},
|
|
122119
122063
|
{
|
|
122120
122064
|
"kind": "field",
|
|
@@ -122222,120 +122166,176 @@
|
|
|
122222
122166
|
}
|
|
122223
122167
|
}
|
|
122224
122168
|
],
|
|
122225
|
-
"
|
|
122169
|
+
"superclass": {
|
|
122170
|
+
"name": "SbbElement",
|
|
122171
|
+
"module": "core/base-elements.js"
|
|
122172
|
+
},
|
|
122173
|
+
"tagName": "sbb-sidebar-container",
|
|
122174
|
+
"customElement": true
|
|
122175
|
+
}
|
|
122176
|
+
],
|
|
122177
|
+
"exports": [
|
|
122178
|
+
{
|
|
122179
|
+
"kind": "js",
|
|
122180
|
+
"name": "SbbSidebarContainerElement",
|
|
122181
|
+
"declaration": {
|
|
122182
|
+
"name": "SbbSidebarContainerElement",
|
|
122183
|
+
"module": "sidebar/sidebar-container/sidebar-container.component.js"
|
|
122184
|
+
}
|
|
122185
|
+
}
|
|
122186
|
+
]
|
|
122187
|
+
},
|
|
122188
|
+
{
|
|
122189
|
+
"kind": "javascript-module",
|
|
122190
|
+
"path": "sidebar/sidebar-content/sidebar-content.component.js",
|
|
122191
|
+
"declarations": [
|
|
122192
|
+
{
|
|
122193
|
+
"kind": "class",
|
|
122194
|
+
"description": "Container for the sidebar content. Intended to be placed inside an `sbb-sidebar-container` element.",
|
|
122195
|
+
"name": "SbbSidebarContentElement",
|
|
122196
|
+
"slots": [
|
|
122226
122197
|
{
|
|
122227
|
-
"
|
|
122198
|
+
"description": "Use the unnamed slot to add any content elements. Further `sbb-sidebar-container`s are possible.",
|
|
122199
|
+
"name": ""
|
|
122200
|
+
}
|
|
122201
|
+
],
|
|
122202
|
+
"members": [
|
|
122203
|
+
{
|
|
122204
|
+
"kind": "field",
|
|
122205
|
+
"name": "elementName",
|
|
122228
122206
|
"type": {
|
|
122229
|
-
"text": "
|
|
122207
|
+
"text": "string"
|
|
122230
122208
|
},
|
|
122231
|
-
"
|
|
122232
|
-
"
|
|
122233
|
-
"
|
|
122209
|
+
"privacy": "public",
|
|
122210
|
+
"static": true,
|
|
122211
|
+
"readonly": true,
|
|
122212
|
+
"default": "'sbb-sidebar-content'",
|
|
122213
|
+
"inheritedFrom": {
|
|
122214
|
+
"name": "SbbElement",
|
|
122215
|
+
"module": "core/base-elements/element.js"
|
|
122216
|
+
}
|
|
122234
122217
|
},
|
|
122235
122218
|
{
|
|
122236
|
-
"
|
|
122219
|
+
"kind": "field",
|
|
122220
|
+
"name": "_hydrationRequired",
|
|
122237
122221
|
"type": {
|
|
122238
|
-
"text": "
|
|
122222
|
+
"text": "boolean"
|
|
122239
122223
|
},
|
|
122240
|
-
"
|
|
122241
|
-
"
|
|
122242
|
-
"
|
|
122224
|
+
"privacy": "private",
|
|
122225
|
+
"default": "!!this.shadowRoot",
|
|
122226
|
+
"inheritedFrom": {
|
|
122227
|
+
"name": "SbbElement",
|
|
122228
|
+
"module": "core/base-elements/element.js"
|
|
122229
|
+
}
|
|
122243
122230
|
},
|
|
122244
122231
|
{
|
|
122245
|
-
"
|
|
122246
|
-
"
|
|
122247
|
-
|
|
122248
|
-
|
|
122249
|
-
"
|
|
122250
|
-
|
|
122251
|
-
|
|
122232
|
+
"kind": "field",
|
|
122233
|
+
"name": "_hydrationComplete",
|
|
122234
|
+
"privacy": "private",
|
|
122235
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
122236
|
+
"inheritedFrom": {
|
|
122237
|
+
"name": "SbbElement",
|
|
122238
|
+
"module": "core/base-elements/element.js"
|
|
122239
|
+
}
|
|
122252
122240
|
},
|
|
122253
122241
|
{
|
|
122254
|
-
"
|
|
122242
|
+
"kind": "field",
|
|
122243
|
+
"name": "_resolveHydration",
|
|
122255
122244
|
"type": {
|
|
122256
|
-
"text": "boolean"
|
|
122245
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
122257
122246
|
},
|
|
122258
|
-
"
|
|
122259
|
-
"
|
|
122260
|
-
|
|
122247
|
+
"privacy": "private",
|
|
122248
|
+
"inheritedFrom": {
|
|
122249
|
+
"name": "SbbElement",
|
|
122250
|
+
"module": "core/base-elements/element.js"
|
|
122251
|
+
}
|
|
122261
122252
|
},
|
|
122262
122253
|
{
|
|
122263
|
-
"
|
|
122254
|
+
"kind": "field",
|
|
122255
|
+
"name": "hydrationRequired",
|
|
122264
122256
|
"type": {
|
|
122265
122257
|
"text": "boolean"
|
|
122266
122258
|
},
|
|
122267
|
-
"
|
|
122268
|
-
"description": "
|
|
122269
|
-
"
|
|
122270
|
-
}
|
|
122271
|
-
],
|
|
122272
|
-
"mixins": [
|
|
122273
|
-
{
|
|
122274
|
-
"name": "SbbAnimationCompleteMixin",
|
|
122275
|
-
"module": "core/mixins.js"
|
|
122276
|
-
}
|
|
122277
|
-
],
|
|
122278
|
-
"superclass": {
|
|
122279
|
-
"name": "SbbOpenCloseBaseElement",
|
|
122280
|
-
"module": "core/base-elements.js"
|
|
122281
|
-
},
|
|
122282
|
-
"tagName": "sbb-sidebar",
|
|
122283
|
-
"customElement": true,
|
|
122284
|
-
"events": [
|
|
122285
|
-
{
|
|
122286
|
-
"name": "beforeopen",
|
|
122287
|
-
"type": {
|
|
122288
|
-
"text": "Event"
|
|
122289
|
-
},
|
|
122290
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
122259
|
+
"privacy": "protected",
|
|
122260
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
122261
|
+
"readonly": true,
|
|
122291
122262
|
"inheritedFrom": {
|
|
122292
|
-
"name": "
|
|
122293
|
-
"module": "core/base-elements/
|
|
122294
|
-
}
|
|
122263
|
+
"name": "SbbElement",
|
|
122264
|
+
"module": "core/base-elements/element.js"
|
|
122265
|
+
},
|
|
122266
|
+
"default": "!!this.shadowRoot"
|
|
122295
122267
|
},
|
|
122296
122268
|
{
|
|
122297
|
-
"
|
|
122298
|
-
"
|
|
122299
|
-
|
|
122269
|
+
"kind": "method",
|
|
122270
|
+
"name": "toggleState",
|
|
122271
|
+
"privacy": "protected",
|
|
122272
|
+
"return": {
|
|
122273
|
+
"type": {
|
|
122274
|
+
"text": "void"
|
|
122275
|
+
}
|
|
122300
122276
|
},
|
|
122301
|
-
"
|
|
122277
|
+
"parameters": [
|
|
122278
|
+
{
|
|
122279
|
+
"name": "value",
|
|
122280
|
+
"type": {
|
|
122281
|
+
"text": "string"
|
|
122282
|
+
}
|
|
122283
|
+
},
|
|
122284
|
+
{
|
|
122285
|
+
"name": "force",
|
|
122286
|
+
"optional": true,
|
|
122287
|
+
"type": {
|
|
122288
|
+
"text": "boolean"
|
|
122289
|
+
}
|
|
122290
|
+
}
|
|
122291
|
+
],
|
|
122302
122292
|
"inheritedFrom": {
|
|
122303
|
-
"name": "
|
|
122304
|
-
"module": "core/base-elements/
|
|
122293
|
+
"name": "SbbElement",
|
|
122294
|
+
"module": "core/base-elements/element.js"
|
|
122305
122295
|
}
|
|
122306
122296
|
},
|
|
122307
122297
|
{
|
|
122308
|
-
"
|
|
122298
|
+
"kind": "field",
|
|
122299
|
+
"name": "['_$sbbElement$']",
|
|
122309
122300
|
"type": {
|
|
122310
|
-
"text": "
|
|
122301
|
+
"text": "boolean"
|
|
122311
122302
|
},
|
|
122312
|
-
"
|
|
122303
|
+
"privacy": "public",
|
|
122304
|
+
"static": true,
|
|
122305
|
+
"default": "true",
|
|
122313
122306
|
"inheritedFrom": {
|
|
122314
|
-
"name": "
|
|
122315
|
-
"module": "core/base-elements/
|
|
122307
|
+
"name": "SbbElement",
|
|
122308
|
+
"module": "core/base-elements/element.js"
|
|
122316
122309
|
}
|
|
122317
122310
|
},
|
|
122318
122311
|
{
|
|
122319
|
-
"
|
|
122312
|
+
"kind": "field",
|
|
122313
|
+
"name": "_controllers",
|
|
122320
122314
|
"type": {
|
|
122321
|
-
"text": "
|
|
122315
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
122322
122316
|
},
|
|
122323
|
-
"
|
|
122317
|
+
"privacy": "private",
|
|
122324
122318
|
"inheritedFrom": {
|
|
122325
|
-
"name": "
|
|
122326
|
-
"module": "core/base-elements/
|
|
122319
|
+
"name": "SbbElement",
|
|
122320
|
+
"module": "core/base-elements/element.js"
|
|
122327
122321
|
}
|
|
122328
122322
|
}
|
|
122329
|
-
]
|
|
122323
|
+
],
|
|
122324
|
+
"superclass": {
|
|
122325
|
+
"name": "SbbElement",
|
|
122326
|
+
"module": "core/base-elements.js"
|
|
122327
|
+
},
|
|
122328
|
+
"tagName": "sbb-sidebar-content",
|
|
122329
|
+
"customElement": true
|
|
122330
122330
|
}
|
|
122331
122331
|
],
|
|
122332
122332
|
"exports": [
|
|
122333
122333
|
{
|
|
122334
122334
|
"kind": "js",
|
|
122335
|
-
"name": "
|
|
122335
|
+
"name": "SbbSidebarContentElement",
|
|
122336
122336
|
"declaration": {
|
|
122337
|
-
"name": "
|
|
122338
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
122337
|
+
"name": "SbbSidebarContentElement",
|
|
122338
|
+
"module": "sidebar/sidebar-content/sidebar-content.component.js"
|
|
122339
122339
|
}
|
|
122340
122340
|
}
|
|
122341
122341
|
]
|