@sbb-esta/lyne-elements-dev 4.9.0-dev.1775146176 → 4.9.0-dev.1775154663
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
CHANGED
|
@@ -60619,6 +60619,240 @@
|
|
|
60619
60619
|
}
|
|
60620
60620
|
]
|
|
60621
60621
|
},
|
|
60622
|
+
{
|
|
60623
|
+
"kind": "javascript-module",
|
|
60624
|
+
"path": "container/container/container.component.js",
|
|
60625
|
+
"declarations": [
|
|
60626
|
+
{
|
|
60627
|
+
"kind": "class",
|
|
60628
|
+
"description": "It displays its content with the default page spacing.",
|
|
60629
|
+
"name": "SbbContainerElement",
|
|
60630
|
+
"cssProperties": [
|
|
60631
|
+
{
|
|
60632
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
60633
|
+
"name": "--sbb-page-spacing-padding"
|
|
60634
|
+
}
|
|
60635
|
+
],
|
|
60636
|
+
"slots": [
|
|
60637
|
+
{
|
|
60638
|
+
"description": "Use the unnamed slot to add anything to the container.",
|
|
60639
|
+
"name": ""
|
|
60640
|
+
},
|
|
60641
|
+
{
|
|
60642
|
+
"description": "The slot used by the sbb-sticky-bar component.",
|
|
60643
|
+
"name": "sticky-bar"
|
|
60644
|
+
},
|
|
60645
|
+
{
|
|
60646
|
+
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
60647
|
+
"name": "image"
|
|
60648
|
+
}
|
|
60649
|
+
],
|
|
60650
|
+
"members": [
|
|
60651
|
+
{
|
|
60652
|
+
"kind": "field",
|
|
60653
|
+
"name": "elementName",
|
|
60654
|
+
"type": {
|
|
60655
|
+
"text": "string"
|
|
60656
|
+
},
|
|
60657
|
+
"privacy": "public",
|
|
60658
|
+
"static": true,
|
|
60659
|
+
"readonly": true,
|
|
60660
|
+
"default": "'sbb-container'",
|
|
60661
|
+
"inheritedFrom": {
|
|
60662
|
+
"name": "SbbElement",
|
|
60663
|
+
"module": "core/base-elements/element.js"
|
|
60664
|
+
}
|
|
60665
|
+
},
|
|
60666
|
+
{
|
|
60667
|
+
"kind": "field",
|
|
60668
|
+
"name": "expanded",
|
|
60669
|
+
"type": {
|
|
60670
|
+
"text": "boolean"
|
|
60671
|
+
},
|
|
60672
|
+
"privacy": "public",
|
|
60673
|
+
"default": "false",
|
|
60674
|
+
"description": "Whether the container is expanded.",
|
|
60675
|
+
"attribute": "expanded",
|
|
60676
|
+
"reflects": true
|
|
60677
|
+
},
|
|
60678
|
+
{
|
|
60679
|
+
"kind": "field",
|
|
60680
|
+
"name": "backgroundExpanded",
|
|
60681
|
+
"type": {
|
|
60682
|
+
"text": "boolean"
|
|
60683
|
+
},
|
|
60684
|
+
"privacy": "public",
|
|
60685
|
+
"default": "false",
|
|
60686
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
60687
|
+
"attribute": "background-expanded",
|
|
60688
|
+
"reflects": true
|
|
60689
|
+
},
|
|
60690
|
+
{
|
|
60691
|
+
"kind": "field",
|
|
60692
|
+
"name": "color",
|
|
60693
|
+
"type": {
|
|
60694
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
60695
|
+
},
|
|
60696
|
+
"privacy": "public",
|
|
60697
|
+
"default": "'white'",
|
|
60698
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
60699
|
+
"attribute": "color",
|
|
60700
|
+
"reflects": true
|
|
60701
|
+
},
|
|
60702
|
+
{
|
|
60703
|
+
"kind": "field",
|
|
60704
|
+
"name": "_hydrationRequired",
|
|
60705
|
+
"type": {
|
|
60706
|
+
"text": "boolean"
|
|
60707
|
+
},
|
|
60708
|
+
"privacy": "private",
|
|
60709
|
+
"default": "!!this.shadowRoot",
|
|
60710
|
+
"inheritedFrom": {
|
|
60711
|
+
"name": "SbbHydrationMixin",
|
|
60712
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
60713
|
+
}
|
|
60714
|
+
},
|
|
60715
|
+
{
|
|
60716
|
+
"kind": "field",
|
|
60717
|
+
"name": "_hydrationComplete",
|
|
60718
|
+
"privacy": "private",
|
|
60719
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
60720
|
+
"inheritedFrom": {
|
|
60721
|
+
"name": "SbbHydrationMixin",
|
|
60722
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
60723
|
+
}
|
|
60724
|
+
},
|
|
60725
|
+
{
|
|
60726
|
+
"kind": "field",
|
|
60727
|
+
"name": "_resolveHydration",
|
|
60728
|
+
"type": {
|
|
60729
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
60730
|
+
},
|
|
60731
|
+
"privacy": "private",
|
|
60732
|
+
"inheritedFrom": {
|
|
60733
|
+
"name": "SbbHydrationMixin",
|
|
60734
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
60735
|
+
}
|
|
60736
|
+
},
|
|
60737
|
+
{
|
|
60738
|
+
"kind": "field",
|
|
60739
|
+
"name": "hydrationRequired",
|
|
60740
|
+
"type": {
|
|
60741
|
+
"text": "boolean"
|
|
60742
|
+
},
|
|
60743
|
+
"privacy": "protected",
|
|
60744
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
60745
|
+
"readonly": true,
|
|
60746
|
+
"inheritedFrom": {
|
|
60747
|
+
"name": "SbbHydrationMixin",
|
|
60748
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
60749
|
+
},
|
|
60750
|
+
"default": "!!this.shadowRoot"
|
|
60751
|
+
},
|
|
60752
|
+
{
|
|
60753
|
+
"kind": "method",
|
|
60754
|
+
"name": "toggleState",
|
|
60755
|
+
"privacy": "protected",
|
|
60756
|
+
"return": {
|
|
60757
|
+
"type": {
|
|
60758
|
+
"text": "void"
|
|
60759
|
+
}
|
|
60760
|
+
},
|
|
60761
|
+
"parameters": [
|
|
60762
|
+
{
|
|
60763
|
+
"name": "value",
|
|
60764
|
+
"type": {
|
|
60765
|
+
"text": "string"
|
|
60766
|
+
}
|
|
60767
|
+
},
|
|
60768
|
+
{
|
|
60769
|
+
"name": "force",
|
|
60770
|
+
"optional": true,
|
|
60771
|
+
"type": {
|
|
60772
|
+
"text": "boolean"
|
|
60773
|
+
}
|
|
60774
|
+
}
|
|
60775
|
+
],
|
|
60776
|
+
"inheritedFrom": {
|
|
60777
|
+
"name": "SbbElementInternalsMixin",
|
|
60778
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
60779
|
+
}
|
|
60780
|
+
},
|
|
60781
|
+
{
|
|
60782
|
+
"kind": "field",
|
|
60783
|
+
"name": "['_$sbbElement$']",
|
|
60784
|
+
"type": {
|
|
60785
|
+
"text": "boolean"
|
|
60786
|
+
},
|
|
60787
|
+
"privacy": "public",
|
|
60788
|
+
"static": true,
|
|
60789
|
+
"default": "true",
|
|
60790
|
+
"inheritedFrom": {
|
|
60791
|
+
"name": "SbbElement",
|
|
60792
|
+
"module": "core/base-elements/element.js"
|
|
60793
|
+
}
|
|
60794
|
+
},
|
|
60795
|
+
{
|
|
60796
|
+
"kind": "field",
|
|
60797
|
+
"name": "_controllers",
|
|
60798
|
+
"type": {
|
|
60799
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
60800
|
+
},
|
|
60801
|
+
"privacy": "private",
|
|
60802
|
+
"inheritedFrom": {
|
|
60803
|
+
"name": "SbbElement",
|
|
60804
|
+
"module": "core/base-elements/element.js"
|
|
60805
|
+
}
|
|
60806
|
+
}
|
|
60807
|
+
],
|
|
60808
|
+
"attributes": [
|
|
60809
|
+
{
|
|
60810
|
+
"name": "expanded",
|
|
60811
|
+
"type": {
|
|
60812
|
+
"text": "boolean"
|
|
60813
|
+
},
|
|
60814
|
+
"default": "false",
|
|
60815
|
+
"description": "Whether the container is expanded.",
|
|
60816
|
+
"fieldName": "expanded"
|
|
60817
|
+
},
|
|
60818
|
+
{
|
|
60819
|
+
"name": "background-expanded",
|
|
60820
|
+
"type": {
|
|
60821
|
+
"text": "boolean"
|
|
60822
|
+
},
|
|
60823
|
+
"default": "false",
|
|
60824
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
60825
|
+
"fieldName": "backgroundExpanded"
|
|
60826
|
+
},
|
|
60827
|
+
{
|
|
60828
|
+
"name": "color",
|
|
60829
|
+
"type": {
|
|
60830
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
60831
|
+
},
|
|
60832
|
+
"default": "'white'",
|
|
60833
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
60834
|
+
"fieldName": "color"
|
|
60835
|
+
}
|
|
60836
|
+
],
|
|
60837
|
+
"superclass": {
|
|
60838
|
+
"name": "SbbElement",
|
|
60839
|
+
"module": "core/base-elements.js"
|
|
60840
|
+
},
|
|
60841
|
+
"tagName": "sbb-container",
|
|
60842
|
+
"customElement": true
|
|
60843
|
+
}
|
|
60844
|
+
],
|
|
60845
|
+
"exports": [
|
|
60846
|
+
{
|
|
60847
|
+
"kind": "js",
|
|
60848
|
+
"name": "SbbContainerElement",
|
|
60849
|
+
"declaration": {
|
|
60850
|
+
"name": "SbbContainerElement",
|
|
60851
|
+
"module": "container/container/container.component.js"
|
|
60852
|
+
}
|
|
60853
|
+
}
|
|
60854
|
+
]
|
|
60855
|
+
},
|
|
60622
60856
|
{
|
|
60623
60857
|
"kind": "javascript-module",
|
|
60624
60858
|
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
@@ -61081,240 +61315,6 @@
|
|
|
61081
61315
|
}
|
|
61082
61316
|
]
|
|
61083
61317
|
},
|
|
61084
|
-
{
|
|
61085
|
-
"kind": "javascript-module",
|
|
61086
|
-
"path": "container/container/container.component.js",
|
|
61087
|
-
"declarations": [
|
|
61088
|
-
{
|
|
61089
|
-
"kind": "class",
|
|
61090
|
-
"description": "It displays its content with the default page spacing.",
|
|
61091
|
-
"name": "SbbContainerElement",
|
|
61092
|
-
"cssProperties": [
|
|
61093
|
-
{
|
|
61094
|
-
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
61095
|
-
"name": "--sbb-page-spacing-padding"
|
|
61096
|
-
}
|
|
61097
|
-
],
|
|
61098
|
-
"slots": [
|
|
61099
|
-
{
|
|
61100
|
-
"description": "Use the unnamed slot to add anything to the container.",
|
|
61101
|
-
"name": ""
|
|
61102
|
-
},
|
|
61103
|
-
{
|
|
61104
|
-
"description": "The slot used by the sbb-sticky-bar component.",
|
|
61105
|
-
"name": "sticky-bar"
|
|
61106
|
-
},
|
|
61107
|
-
{
|
|
61108
|
-
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
61109
|
-
"name": "image"
|
|
61110
|
-
}
|
|
61111
|
-
],
|
|
61112
|
-
"members": [
|
|
61113
|
-
{
|
|
61114
|
-
"kind": "field",
|
|
61115
|
-
"name": "elementName",
|
|
61116
|
-
"type": {
|
|
61117
|
-
"text": "string"
|
|
61118
|
-
},
|
|
61119
|
-
"privacy": "public",
|
|
61120
|
-
"static": true,
|
|
61121
|
-
"readonly": true,
|
|
61122
|
-
"default": "'sbb-container'",
|
|
61123
|
-
"inheritedFrom": {
|
|
61124
|
-
"name": "SbbElement",
|
|
61125
|
-
"module": "core/base-elements/element.js"
|
|
61126
|
-
}
|
|
61127
|
-
},
|
|
61128
|
-
{
|
|
61129
|
-
"kind": "field",
|
|
61130
|
-
"name": "expanded",
|
|
61131
|
-
"type": {
|
|
61132
|
-
"text": "boolean"
|
|
61133
|
-
},
|
|
61134
|
-
"privacy": "public",
|
|
61135
|
-
"default": "false",
|
|
61136
|
-
"description": "Whether the container is expanded.",
|
|
61137
|
-
"attribute": "expanded",
|
|
61138
|
-
"reflects": true
|
|
61139
|
-
},
|
|
61140
|
-
{
|
|
61141
|
-
"kind": "field",
|
|
61142
|
-
"name": "backgroundExpanded",
|
|
61143
|
-
"type": {
|
|
61144
|
-
"text": "boolean"
|
|
61145
|
-
},
|
|
61146
|
-
"privacy": "public",
|
|
61147
|
-
"default": "false",
|
|
61148
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
61149
|
-
"attribute": "background-expanded",
|
|
61150
|
-
"reflects": true
|
|
61151
|
-
},
|
|
61152
|
-
{
|
|
61153
|
-
"kind": "field",
|
|
61154
|
-
"name": "color",
|
|
61155
|
-
"type": {
|
|
61156
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
61157
|
-
},
|
|
61158
|
-
"privacy": "public",
|
|
61159
|
-
"default": "'white'",
|
|
61160
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
61161
|
-
"attribute": "color",
|
|
61162
|
-
"reflects": true
|
|
61163
|
-
},
|
|
61164
|
-
{
|
|
61165
|
-
"kind": "field",
|
|
61166
|
-
"name": "_hydrationRequired",
|
|
61167
|
-
"type": {
|
|
61168
|
-
"text": "boolean"
|
|
61169
|
-
},
|
|
61170
|
-
"privacy": "private",
|
|
61171
|
-
"default": "!!this.shadowRoot",
|
|
61172
|
-
"inheritedFrom": {
|
|
61173
|
-
"name": "SbbHydrationMixin",
|
|
61174
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
61175
|
-
}
|
|
61176
|
-
},
|
|
61177
|
-
{
|
|
61178
|
-
"kind": "field",
|
|
61179
|
-
"name": "_hydrationComplete",
|
|
61180
|
-
"privacy": "private",
|
|
61181
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
61182
|
-
"inheritedFrom": {
|
|
61183
|
-
"name": "SbbHydrationMixin",
|
|
61184
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
61185
|
-
}
|
|
61186
|
-
},
|
|
61187
|
-
{
|
|
61188
|
-
"kind": "field",
|
|
61189
|
-
"name": "_resolveHydration",
|
|
61190
|
-
"type": {
|
|
61191
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
61192
|
-
},
|
|
61193
|
-
"privacy": "private",
|
|
61194
|
-
"inheritedFrom": {
|
|
61195
|
-
"name": "SbbHydrationMixin",
|
|
61196
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
61197
|
-
}
|
|
61198
|
-
},
|
|
61199
|
-
{
|
|
61200
|
-
"kind": "field",
|
|
61201
|
-
"name": "hydrationRequired",
|
|
61202
|
-
"type": {
|
|
61203
|
-
"text": "boolean"
|
|
61204
|
-
},
|
|
61205
|
-
"privacy": "protected",
|
|
61206
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
61207
|
-
"readonly": true,
|
|
61208
|
-
"inheritedFrom": {
|
|
61209
|
-
"name": "SbbHydrationMixin",
|
|
61210
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
61211
|
-
},
|
|
61212
|
-
"default": "!!this.shadowRoot"
|
|
61213
|
-
},
|
|
61214
|
-
{
|
|
61215
|
-
"kind": "method",
|
|
61216
|
-
"name": "toggleState",
|
|
61217
|
-
"privacy": "protected",
|
|
61218
|
-
"return": {
|
|
61219
|
-
"type": {
|
|
61220
|
-
"text": "void"
|
|
61221
|
-
}
|
|
61222
|
-
},
|
|
61223
|
-
"parameters": [
|
|
61224
|
-
{
|
|
61225
|
-
"name": "value",
|
|
61226
|
-
"type": {
|
|
61227
|
-
"text": "string"
|
|
61228
|
-
}
|
|
61229
|
-
},
|
|
61230
|
-
{
|
|
61231
|
-
"name": "force",
|
|
61232
|
-
"optional": true,
|
|
61233
|
-
"type": {
|
|
61234
|
-
"text": "boolean"
|
|
61235
|
-
}
|
|
61236
|
-
}
|
|
61237
|
-
],
|
|
61238
|
-
"inheritedFrom": {
|
|
61239
|
-
"name": "SbbElementInternalsMixin",
|
|
61240
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
61241
|
-
}
|
|
61242
|
-
},
|
|
61243
|
-
{
|
|
61244
|
-
"kind": "field",
|
|
61245
|
-
"name": "['_$sbbElement$']",
|
|
61246
|
-
"type": {
|
|
61247
|
-
"text": "boolean"
|
|
61248
|
-
},
|
|
61249
|
-
"privacy": "public",
|
|
61250
|
-
"static": true,
|
|
61251
|
-
"default": "true",
|
|
61252
|
-
"inheritedFrom": {
|
|
61253
|
-
"name": "SbbElement",
|
|
61254
|
-
"module": "core/base-elements/element.js"
|
|
61255
|
-
}
|
|
61256
|
-
},
|
|
61257
|
-
{
|
|
61258
|
-
"kind": "field",
|
|
61259
|
-
"name": "_controllers",
|
|
61260
|
-
"type": {
|
|
61261
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
61262
|
-
},
|
|
61263
|
-
"privacy": "private",
|
|
61264
|
-
"inheritedFrom": {
|
|
61265
|
-
"name": "SbbElement",
|
|
61266
|
-
"module": "core/base-elements/element.js"
|
|
61267
|
-
}
|
|
61268
|
-
}
|
|
61269
|
-
],
|
|
61270
|
-
"attributes": [
|
|
61271
|
-
{
|
|
61272
|
-
"name": "expanded",
|
|
61273
|
-
"type": {
|
|
61274
|
-
"text": "boolean"
|
|
61275
|
-
},
|
|
61276
|
-
"default": "false",
|
|
61277
|
-
"description": "Whether the container is expanded.",
|
|
61278
|
-
"fieldName": "expanded"
|
|
61279
|
-
},
|
|
61280
|
-
{
|
|
61281
|
-
"name": "background-expanded",
|
|
61282
|
-
"type": {
|
|
61283
|
-
"text": "boolean"
|
|
61284
|
-
},
|
|
61285
|
-
"default": "false",
|
|
61286
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
61287
|
-
"fieldName": "backgroundExpanded"
|
|
61288
|
-
},
|
|
61289
|
-
{
|
|
61290
|
-
"name": "color",
|
|
61291
|
-
"type": {
|
|
61292
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
61293
|
-
},
|
|
61294
|
-
"default": "'white'",
|
|
61295
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
61296
|
-
"fieldName": "color"
|
|
61297
|
-
}
|
|
61298
|
-
],
|
|
61299
|
-
"superclass": {
|
|
61300
|
-
"name": "SbbElement",
|
|
61301
|
-
"module": "core/base-elements.js"
|
|
61302
|
-
},
|
|
61303
|
-
"tagName": "sbb-container",
|
|
61304
|
-
"customElement": true
|
|
61305
|
-
}
|
|
61306
|
-
],
|
|
61307
|
-
"exports": [
|
|
61308
|
-
{
|
|
61309
|
-
"kind": "js",
|
|
61310
|
-
"name": "SbbContainerElement",
|
|
61311
|
-
"declaration": {
|
|
61312
|
-
"name": "SbbContainerElement",
|
|
61313
|
-
"module": "container/container/container.component.js"
|
|
61314
|
-
}
|
|
61315
|
-
}
|
|
61316
|
-
]
|
|
61317
|
-
},
|
|
61318
61318
|
{
|
|
61319
61319
|
"kind": "javascript-module",
|
|
61320
61320
|
"path": "core/a11y/arrow-navigation.js",
|
|
@@ -77844,26 +77844,6 @@
|
|
|
77844
77844
|
}
|
|
77845
77845
|
]
|
|
77846
77846
|
},
|
|
77847
|
-
{
|
|
77848
|
-
"kind": "javascript-module",
|
|
77849
|
-
"path": "core/styles/styles.js",
|
|
77850
|
-
"declarations": [
|
|
77851
|
-
{
|
|
77852
|
-
"kind": "variable",
|
|
77853
|
-
"name": "boxSizingStyles"
|
|
77854
|
-
}
|
|
77855
|
-
],
|
|
77856
|
-
"exports": [
|
|
77857
|
-
{
|
|
77858
|
-
"kind": "js",
|
|
77859
|
-
"name": "boxSizingStyles",
|
|
77860
|
-
"declaration": {
|
|
77861
|
-
"name": "boxSizingStyles",
|
|
77862
|
-
"module": "core/styles/styles.js"
|
|
77863
|
-
}
|
|
77864
|
-
}
|
|
77865
|
-
]
|
|
77866
|
-
},
|
|
77867
77847
|
{
|
|
77868
77848
|
"kind": "javascript-module",
|
|
77869
77849
|
"path": "core/testing/event-spy.js",
|
|
@@ -78261,6 +78241,26 @@
|
|
|
78261
78241
|
}
|
|
78262
78242
|
]
|
|
78263
78243
|
},
|
|
78244
|
+
{
|
|
78245
|
+
"kind": "javascript-module",
|
|
78246
|
+
"path": "core/styles/styles.js",
|
|
78247
|
+
"declarations": [
|
|
78248
|
+
{
|
|
78249
|
+
"kind": "variable",
|
|
78250
|
+
"name": "boxSizingStyles"
|
|
78251
|
+
}
|
|
78252
|
+
],
|
|
78253
|
+
"exports": [
|
|
78254
|
+
{
|
|
78255
|
+
"kind": "js",
|
|
78256
|
+
"name": "boxSizingStyles",
|
|
78257
|
+
"declaration": {
|
|
78258
|
+
"name": "boxSizingStyles",
|
|
78259
|
+
"module": "core/styles/styles.js"
|
|
78260
|
+
}
|
|
78261
|
+
}
|
|
78262
|
+
]
|
|
78263
|
+
},
|
|
78264
78264
|
{
|
|
78265
78265
|
"kind": "javascript-module",
|
|
78266
78266
|
"path": "datepicker/common/datepicker-button.js",
|
|
@@ -100091,15 +100091,15 @@
|
|
|
100091
100091
|
},
|
|
100092
100092
|
{
|
|
100093
100093
|
"kind": "javascript-module",
|
|
100094
|
-
"path": "link/block-link
|
|
100094
|
+
"path": "link/block-link/block-link.component.js",
|
|
100095
100095
|
"declarations": [
|
|
100096
100096
|
{
|
|
100097
100097
|
"kind": "class",
|
|
100098
|
-
"description": "It displays a link enhanced with the SBB Design
|
|
100099
|
-
"name": "
|
|
100098
|
+
"description": "It displays a link enhanced with the SBB Design.",
|
|
100099
|
+
"name": "SbbBlockLinkElement",
|
|
100100
100100
|
"slots": [
|
|
100101
100101
|
{
|
|
100102
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link
|
|
100102
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
100103
100103
|
"name": ""
|
|
100104
100104
|
},
|
|
100105
100105
|
{
|
|
@@ -100121,7 +100121,7 @@
|
|
|
100121
100121
|
"name": "SbbElement",
|
|
100122
100122
|
"module": "core/base-elements/element.js"
|
|
100123
100123
|
},
|
|
100124
|
-
"default": "'sbb-block-link
|
|
100124
|
+
"default": "'sbb-block-link'"
|
|
100125
100125
|
},
|
|
100126
100126
|
{
|
|
100127
100127
|
"kind": "field",
|
|
@@ -100250,22 +100250,6 @@
|
|
|
100250
100250
|
"module": "icon/icon-name-mixin.js"
|
|
100251
100251
|
}
|
|
100252
100252
|
},
|
|
100253
|
-
{
|
|
100254
|
-
"kind": "field",
|
|
100255
|
-
"name": "disabledInteractive",
|
|
100256
|
-
"type": {
|
|
100257
|
-
"text": "boolean"
|
|
100258
|
-
},
|
|
100259
|
-
"privacy": "public",
|
|
100260
|
-
"default": "false",
|
|
100261
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
100262
|
-
"attribute": "disabled-interactive",
|
|
100263
|
-
"reflects": true,
|
|
100264
|
-
"inheritedFrom": {
|
|
100265
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
100266
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
100267
|
-
}
|
|
100268
|
-
},
|
|
100269
100253
|
{
|
|
100270
100254
|
"kind": "field",
|
|
100271
100255
|
"name": "disabled",
|
|
@@ -100312,308 +100296,246 @@
|
|
|
100312
100296
|
},
|
|
100313
100297
|
{
|
|
100314
100298
|
"kind": "field",
|
|
100315
|
-
"name": "
|
|
100316
|
-
"type": {
|
|
100317
|
-
"text": "array"
|
|
100318
|
-
},
|
|
100319
|
-
"privacy": "private",
|
|
100320
|
-
"readonly": true,
|
|
100321
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
100322
|
-
"inheritedFrom": {
|
|
100323
|
-
"name": "SbbButtonBaseElement",
|
|
100324
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100325
|
-
}
|
|
100326
|
-
},
|
|
100327
|
-
{
|
|
100328
|
-
"kind": "field",
|
|
100329
|
-
"name": "value",
|
|
100299
|
+
"name": "href",
|
|
100330
100300
|
"type": {
|
|
100331
100301
|
"text": "string"
|
|
100332
100302
|
},
|
|
100333
100303
|
"privacy": "public",
|
|
100334
|
-
"inheritedFrom": {
|
|
100335
|
-
"name": "SbbButtonBaseElement",
|
|
100336
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100337
|
-
},
|
|
100338
100304
|
"default": "''",
|
|
100339
|
-
"description": "
|
|
100340
|
-
"attribute": "
|
|
100341
|
-
|
|
100342
|
-
{
|
|
100343
|
-
"kind": "field",
|
|
100344
|
-
"name": "type",
|
|
100345
|
-
"privacy": "public",
|
|
100346
|
-
"description": "The type attribute to use for the button.",
|
|
100347
|
-
"default": "'button'",
|
|
100348
|
-
"type": {
|
|
100349
|
-
"text": "SbbButtonType"
|
|
100350
|
-
},
|
|
100351
|
-
"attribute": "type",
|
|
100305
|
+
"description": "The href value you want to link to.",
|
|
100306
|
+
"attribute": "href",
|
|
100307
|
+
"reflects": true,
|
|
100352
100308
|
"inheritedFrom": {
|
|
100353
|
-
"name": "
|
|
100354
|
-
"module": "core/base-elements/
|
|
100309
|
+
"name": "SbbLinkBaseElement",
|
|
100310
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100355
100311
|
}
|
|
100356
100312
|
},
|
|
100357
100313
|
{
|
|
100358
100314
|
"kind": "field",
|
|
100359
|
-
"name": "
|
|
100315
|
+
"name": "target",
|
|
100360
100316
|
"type": {
|
|
100361
|
-
"text": "
|
|
100317
|
+
"text": "LinkTargetType | string"
|
|
100362
100318
|
},
|
|
100363
100319
|
"privacy": "public",
|
|
100364
|
-
"
|
|
100320
|
+
"default": "''",
|
|
100321
|
+
"description": "Where to display the linked URL.",
|
|
100322
|
+
"attribute": "target",
|
|
100323
|
+
"reflects": true,
|
|
100365
100324
|
"inheritedFrom": {
|
|
100366
|
-
"name": "
|
|
100367
|
-
"module": "core/base-elements/
|
|
100368
|
-
}
|
|
100369
|
-
"attribute": "form"
|
|
100325
|
+
"name": "SbbLinkBaseElement",
|
|
100326
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100327
|
+
}
|
|
100370
100328
|
},
|
|
100371
100329
|
{
|
|
100372
100330
|
"kind": "field",
|
|
100373
|
-
"name": "
|
|
100331
|
+
"name": "rel",
|
|
100374
100332
|
"type": {
|
|
100375
100333
|
"text": "string"
|
|
100376
100334
|
},
|
|
100377
|
-
"privacy": "
|
|
100335
|
+
"privacy": "public",
|
|
100378
100336
|
"default": "''",
|
|
100337
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
100338
|
+
"attribute": "rel",
|
|
100339
|
+
"reflects": true,
|
|
100379
100340
|
"inheritedFrom": {
|
|
100380
|
-
"name": "
|
|
100381
|
-
"module": "core/base-elements/
|
|
100382
|
-
}
|
|
100383
|
-
},
|
|
100384
|
-
{
|
|
100385
|
-
"kind": "field",
|
|
100386
|
-
"name": "_handleButtonClick",
|
|
100387
|
-
"privacy": "private",
|
|
100388
|
-
"inheritedFrom": {
|
|
100389
|
-
"name": "SbbButtonBaseElement",
|
|
100390
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100391
|
-
}
|
|
100392
|
-
},
|
|
100393
|
-
{
|
|
100394
|
-
"kind": "method",
|
|
100395
|
-
"name": "_requestSubmit",
|
|
100396
|
-
"privacy": "private",
|
|
100397
|
-
"return": {
|
|
100398
|
-
"type": {
|
|
100399
|
-
"text": "void"
|
|
100400
|
-
}
|
|
100401
|
-
},
|
|
100402
|
-
"parameters": [
|
|
100403
|
-
{
|
|
100404
|
-
"name": "form",
|
|
100405
|
-
"type": {
|
|
100406
|
-
"text": "HTMLFormElement"
|
|
100407
|
-
}
|
|
100408
|
-
}
|
|
100409
|
-
],
|
|
100410
|
-
"inheritedFrom": {
|
|
100411
|
-
"name": "SbbButtonBaseElement",
|
|
100412
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100413
|
-
}
|
|
100414
|
-
},
|
|
100415
|
-
{
|
|
100416
|
-
"kind": "field",
|
|
100417
|
-
"name": "_formKeyDown",
|
|
100418
|
-
"privacy": "private",
|
|
100419
|
-
"inheritedFrom": {
|
|
100420
|
-
"name": "SbbButtonBaseElement",
|
|
100421
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100341
|
+
"name": "SbbLinkBaseElement",
|
|
100342
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100422
100343
|
}
|
|
100423
100344
|
},
|
|
100424
100345
|
{
|
|
100425
100346
|
"kind": "field",
|
|
100426
|
-
"name": "
|
|
100347
|
+
"name": "download",
|
|
100427
100348
|
"type": {
|
|
100428
100349
|
"text": "boolean"
|
|
100429
100350
|
},
|
|
100430
100351
|
"privacy": "public",
|
|
100431
|
-
"
|
|
100432
|
-
"
|
|
100352
|
+
"default": "false",
|
|
100353
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
100354
|
+
"attribute": "download",
|
|
100355
|
+
"reflects": true,
|
|
100433
100356
|
"inheritedFrom": {
|
|
100434
|
-
"name": "
|
|
100435
|
-
"module": "core/
|
|
100357
|
+
"name": "SbbLinkBaseElement",
|
|
100358
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100436
100359
|
}
|
|
100437
100360
|
},
|
|
100438
100361
|
{
|
|
100439
100362
|
"kind": "field",
|
|
100440
|
-
"name": "
|
|
100441
|
-
"privacy": "public",
|
|
100442
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
100363
|
+
"name": "accessibilityLabel",
|
|
100443
100364
|
"type": {
|
|
100444
100365
|
"text": "string"
|
|
100445
100366
|
},
|
|
100446
|
-
"
|
|
100367
|
+
"privacy": "public",
|
|
100368
|
+
"default": "''",
|
|
100369
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
100370
|
+
"attribute": "accessibility-label",
|
|
100447
100371
|
"inheritedFrom": {
|
|
100448
|
-
"name": "
|
|
100449
|
-
"module": "core/
|
|
100372
|
+
"name": "SbbLinkBaseElement",
|
|
100373
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100450
100374
|
}
|
|
100451
100375
|
},
|
|
100452
100376
|
{
|
|
100453
100377
|
"kind": "field",
|
|
100454
|
-
"name": "
|
|
100378
|
+
"name": "accessibilityCurrent",
|
|
100455
100379
|
"type": {
|
|
100456
|
-
"text": "
|
|
100380
|
+
"text": "string"
|
|
100457
100381
|
},
|
|
100458
100382
|
"privacy": "public",
|
|
100459
|
-
"
|
|
100460
|
-
"
|
|
100383
|
+
"default": "''",
|
|
100384
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
100385
|
+
"attribute": "accessibility-current",
|
|
100461
100386
|
"inheritedFrom": {
|
|
100462
|
-
"name": "
|
|
100463
|
-
"module": "core/
|
|
100387
|
+
"name": "SbbLinkBaseElement",
|
|
100388
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100464
100389
|
}
|
|
100465
100390
|
},
|
|
100466
100391
|
{
|
|
100467
100392
|
"kind": "field",
|
|
100468
|
-
"name": "
|
|
100469
|
-
"
|
|
100470
|
-
|
|
100471
|
-
},
|
|
100472
|
-
"privacy": "public",
|
|
100473
|
-
"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.",
|
|
100474
|
-
"readonly": true,
|
|
100393
|
+
"name": "language",
|
|
100394
|
+
"privacy": "protected",
|
|
100395
|
+
"default": "new SbbLanguageController(this)",
|
|
100475
100396
|
"inheritedFrom": {
|
|
100476
|
-
"name": "
|
|
100477
|
-
"module": "core/
|
|
100397
|
+
"name": "SbbLinkBaseElement",
|
|
100398
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100478
100399
|
}
|
|
100479
100400
|
},
|
|
100480
100401
|
{
|
|
100481
100402
|
"kind": "field",
|
|
100482
|
-
"name": "
|
|
100403
|
+
"name": "anchorRole",
|
|
100483
100404
|
"type": {
|
|
100484
|
-
"text": "
|
|
100405
|
+
"text": "string | null"
|
|
100485
100406
|
},
|
|
100486
|
-
"privacy": "
|
|
100487
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
100407
|
+
"privacy": "protected",
|
|
100488
100408
|
"readonly": true,
|
|
100409
|
+
"default": "null",
|
|
100489
100410
|
"inheritedFrom": {
|
|
100490
|
-
"name": "
|
|
100491
|
-
"module": "core/
|
|
100411
|
+
"name": "SbbLinkBaseElement",
|
|
100412
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100492
100413
|
}
|
|
100493
100414
|
},
|
|
100494
100415
|
{
|
|
100495
100416
|
"kind": "field",
|
|
100496
|
-
"name": "
|
|
100417
|
+
"name": "_evaluateRelAttribute",
|
|
100497
100418
|
"privacy": "private",
|
|
100498
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
100499
100419
|
"inheritedFrom": {
|
|
100500
|
-
"name": "
|
|
100501
|
-
"module": "core/
|
|
100420
|
+
"name": "SbbLinkBaseElement",
|
|
100421
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100422
|
+
}
|
|
100423
|
+
},
|
|
100424
|
+
{
|
|
100425
|
+
"kind": "method",
|
|
100426
|
+
"name": "renderLink",
|
|
100427
|
+
"privacy": "protected",
|
|
100428
|
+
"return": {
|
|
100429
|
+
"type": {
|
|
100430
|
+
"text": "TemplateResult"
|
|
100431
|
+
}
|
|
100432
|
+
},
|
|
100433
|
+
"parameters": [
|
|
100434
|
+
{
|
|
100435
|
+
"name": "renderContent",
|
|
100436
|
+
"type": {
|
|
100437
|
+
"text": "TemplateResult"
|
|
100438
|
+
}
|
|
100439
|
+
}
|
|
100440
|
+
],
|
|
100441
|
+
"inheritedFrom": {
|
|
100442
|
+
"name": "SbbLinkBaseElement",
|
|
100443
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100502
100444
|
}
|
|
100503
100445
|
},
|
|
100504
100446
|
{
|
|
100505
100447
|
"kind": "field",
|
|
100506
|
-
"name": "
|
|
100448
|
+
"name": "maybeDisabled",
|
|
100507
100449
|
"type": {
|
|
100508
|
-
"text": "boolean"
|
|
100450
|
+
"text": "boolean | undefined"
|
|
100509
100451
|
},
|
|
100510
100452
|
"privacy": "protected",
|
|
100511
|
-
"
|
|
100512
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
100453
|
+
"readonly": true,
|
|
100513
100454
|
"inheritedFrom": {
|
|
100514
|
-
"name": "
|
|
100515
|
-
"module": "core/
|
|
100455
|
+
"name": "SbbActionBaseElement",
|
|
100456
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100516
100457
|
}
|
|
100517
100458
|
},
|
|
100518
100459
|
{
|
|
100519
|
-
"kind": "
|
|
100520
|
-
"name": "
|
|
100521
|
-
"
|
|
100522
|
-
|
|
100523
|
-
"type": {
|
|
100524
|
-
"text": "boolean"
|
|
100525
|
-
}
|
|
100460
|
+
"kind": "field",
|
|
100461
|
+
"name": "maybeDisabledInteractive",
|
|
100462
|
+
"type": {
|
|
100463
|
+
"text": "boolean | undefined"
|
|
100526
100464
|
},
|
|
100527
|
-
"
|
|
100465
|
+
"privacy": "protected",
|
|
100466
|
+
"readonly": true,
|
|
100528
100467
|
"inheritedFrom": {
|
|
100529
|
-
"name": "
|
|
100530
|
-
"module": "core/
|
|
100468
|
+
"name": "SbbActionBaseElement",
|
|
100469
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100531
100470
|
}
|
|
100532
100471
|
},
|
|
100533
100472
|
{
|
|
100534
100473
|
"kind": "method",
|
|
100535
|
-
"name": "
|
|
100536
|
-
"privacy": "
|
|
100474
|
+
"name": "setupBaseEventHandlers",
|
|
100475
|
+
"privacy": "protected",
|
|
100537
100476
|
"return": {
|
|
100538
100477
|
"type": {
|
|
100539
|
-
"text": "
|
|
100478
|
+
"text": "void"
|
|
100540
100479
|
}
|
|
100541
100480
|
},
|
|
100542
|
-
"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.",
|
|
100543
100481
|
"inheritedFrom": {
|
|
100544
|
-
"name": "
|
|
100545
|
-
"module": "core/
|
|
100482
|
+
"name": "SbbActionBaseElement",
|
|
100483
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100546
100484
|
}
|
|
100547
100485
|
},
|
|
100548
100486
|
{
|
|
100549
|
-
"kind": "
|
|
100550
|
-
"name": "
|
|
100551
|
-
"
|
|
100552
|
-
|
|
100553
|
-
"type": {
|
|
100554
|
-
"text": "void"
|
|
100555
|
-
}
|
|
100487
|
+
"kind": "field",
|
|
100488
|
+
"name": "_hydrationRequired",
|
|
100489
|
+
"type": {
|
|
100490
|
+
"text": "boolean"
|
|
100556
100491
|
},
|
|
100557
|
-
"
|
|
100558
|
-
|
|
100559
|
-
"name": "message",
|
|
100560
|
-
"type": {
|
|
100561
|
-
"text": "string"
|
|
100562
|
-
}
|
|
100563
|
-
}
|
|
100564
|
-
],
|
|
100565
|
-
"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.",
|
|
100492
|
+
"privacy": "private",
|
|
100493
|
+
"default": "!!this.shadowRoot",
|
|
100566
100494
|
"inheritedFrom": {
|
|
100567
|
-
"name": "
|
|
100568
|
-
"module": "core/
|
|
100495
|
+
"name": "SbbElement",
|
|
100496
|
+
"module": "core/base-elements/element.js"
|
|
100569
100497
|
}
|
|
100570
100498
|
},
|
|
100571
100499
|
{
|
|
100572
|
-
"kind": "
|
|
100573
|
-
"name": "
|
|
100500
|
+
"kind": "field",
|
|
100501
|
+
"name": "_hydrationComplete",
|
|
100574
100502
|
"privacy": "private",
|
|
100575
|
-
"
|
|
100576
|
-
"type": {
|
|
100577
|
-
"text": "boolean"
|
|
100578
|
-
}
|
|
100579
|
-
},
|
|
100503
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
100580
100504
|
"inheritedFrom": {
|
|
100581
|
-
"name": "
|
|
100582
|
-
"module": "core/
|
|
100505
|
+
"name": "SbbElement",
|
|
100506
|
+
"module": "core/base-elements/element.js"
|
|
100583
100507
|
}
|
|
100584
100508
|
},
|
|
100585
100509
|
{
|
|
100586
|
-
"kind": "
|
|
100587
|
-
"name": "
|
|
100588
|
-
"
|
|
100589
|
-
|
|
100590
|
-
"type": {
|
|
100591
|
-
"text": "void"
|
|
100592
|
-
}
|
|
100510
|
+
"kind": "field",
|
|
100511
|
+
"name": "_resolveHydration",
|
|
100512
|
+
"type": {
|
|
100513
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
100593
100514
|
},
|
|
100594
|
-
"
|
|
100515
|
+
"privacy": "private",
|
|
100595
100516
|
"inheritedFrom": {
|
|
100596
|
-
"name": "
|
|
100597
|
-
"module": "core/
|
|
100517
|
+
"name": "SbbElement",
|
|
100518
|
+
"module": "core/base-elements/element.js"
|
|
100598
100519
|
}
|
|
100599
100520
|
},
|
|
100600
100521
|
{
|
|
100601
|
-
"kind": "
|
|
100602
|
-
"name": "
|
|
100603
|
-
"
|
|
100604
|
-
|
|
100605
|
-
"type": {
|
|
100606
|
-
"text": "FormRestoreState"
|
|
100607
|
-
}
|
|
100522
|
+
"kind": "field",
|
|
100523
|
+
"name": "hydrationRequired",
|
|
100524
|
+
"type": {
|
|
100525
|
+
"text": "boolean"
|
|
100608
100526
|
},
|
|
100527
|
+
"privacy": "protected",
|
|
100528
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
100529
|
+
"readonly": true,
|
|
100609
100530
|
"inheritedFrom": {
|
|
100610
|
-
"name": "
|
|
100611
|
-
"module": "core/
|
|
100612
|
-
}
|
|
100531
|
+
"name": "SbbElement",
|
|
100532
|
+
"module": "core/base-elements/element.js"
|
|
100533
|
+
},
|
|
100534
|
+
"default": "!!this.shadowRoot"
|
|
100613
100535
|
},
|
|
100614
100536
|
{
|
|
100615
100537
|
"kind": "method",
|
|
100616
|
-
"name": "
|
|
100538
|
+
"name": "toggleState",
|
|
100617
100539
|
"privacy": "protected",
|
|
100618
100540
|
"return": {
|
|
100619
100541
|
"type": {
|
|
@@ -100622,447 +100544,196 @@
|
|
|
100622
100544
|
},
|
|
100623
100545
|
"parameters": [
|
|
100624
100546
|
{
|
|
100625
|
-
"name": "
|
|
100626
|
-
"type": {
|
|
100627
|
-
"text": "T"
|
|
100628
|
-
}
|
|
100629
|
-
},
|
|
100630
|
-
{
|
|
100631
|
-
"name": "message",
|
|
100547
|
+
"name": "value",
|
|
100632
100548
|
"type": {
|
|
100633
100549
|
"text": "string"
|
|
100634
100550
|
}
|
|
100635
100551
|
},
|
|
100636
100552
|
{
|
|
100637
|
-
"name": "
|
|
100553
|
+
"name": "force",
|
|
100638
100554
|
"optional": true,
|
|
100639
100555
|
"type": {
|
|
100640
|
-
"text": "
|
|
100556
|
+
"text": "boolean"
|
|
100641
100557
|
}
|
|
100642
100558
|
}
|
|
100643
100559
|
],
|
|
100644
|
-
"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).",
|
|
100645
100560
|
"inheritedFrom": {
|
|
100646
|
-
"name": "
|
|
100647
|
-
"module": "core/
|
|
100561
|
+
"name": "SbbElement",
|
|
100562
|
+
"module": "core/base-elements/element.js"
|
|
100648
100563
|
}
|
|
100649
100564
|
},
|
|
100650
100565
|
{
|
|
100651
|
-
"kind": "
|
|
100652
|
-
"name": "
|
|
100653
|
-
"
|
|
100654
|
-
|
|
100655
|
-
"type": {
|
|
100656
|
-
"text": "void"
|
|
100657
|
-
}
|
|
100566
|
+
"kind": "field",
|
|
100567
|
+
"name": "['_$sbbElement$']",
|
|
100568
|
+
"type": {
|
|
100569
|
+
"text": "boolean"
|
|
100658
100570
|
},
|
|
100659
|
-
"
|
|
100660
|
-
|
|
100661
|
-
|
|
100662
|
-
"type": {
|
|
100663
|
-
"text": "T"
|
|
100664
|
-
}
|
|
100665
|
-
}
|
|
100666
|
-
],
|
|
100667
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
100571
|
+
"privacy": "public",
|
|
100572
|
+
"static": true,
|
|
100573
|
+
"default": "true",
|
|
100668
100574
|
"inheritedFrom": {
|
|
100669
|
-
"name": "
|
|
100670
|
-
"module": "core/
|
|
100575
|
+
"name": "SbbElement",
|
|
100576
|
+
"module": "core/base-elements/element.js"
|
|
100671
100577
|
}
|
|
100672
100578
|
},
|
|
100673
100579
|
{
|
|
100674
|
-
"kind": "
|
|
100675
|
-
"name": "
|
|
100676
|
-
"
|
|
100677
|
-
|
|
100678
|
-
"type": {
|
|
100679
|
-
"text": "void"
|
|
100680
|
-
}
|
|
100580
|
+
"kind": "field",
|
|
100581
|
+
"name": "_controllers",
|
|
100582
|
+
"type": {
|
|
100583
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
100681
100584
|
},
|
|
100682
|
-
"
|
|
100585
|
+
"privacy": "private",
|
|
100683
100586
|
"inheritedFrom": {
|
|
100684
|
-
"name": "
|
|
100685
|
-
"module": "core/
|
|
100587
|
+
"name": "SbbElement",
|
|
100588
|
+
"module": "core/base-elements/element.js"
|
|
100686
100589
|
}
|
|
100590
|
+
}
|
|
100591
|
+
],
|
|
100592
|
+
"mixins": [
|
|
100593
|
+
{
|
|
100594
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100595
|
+
"module": "link/common/block-link-common.js"
|
|
100687
100596
|
},
|
|
100688
100597
|
{
|
|
100689
|
-
"
|
|
100690
|
-
"
|
|
100691
|
-
|
|
100692
|
-
|
|
100693
|
-
|
|
100694
|
-
|
|
100695
|
-
|
|
100598
|
+
"name": "SbbDisabledMixin",
|
|
100599
|
+
"module": "core/mixins.js"
|
|
100600
|
+
}
|
|
100601
|
+
],
|
|
100602
|
+
"superclass": {
|
|
100603
|
+
"name": "SbbLinkBaseElement",
|
|
100604
|
+
"module": "core/base-elements.js"
|
|
100605
|
+
},
|
|
100606
|
+
"tagName": "sbb-block-link",
|
|
100607
|
+
"customElement": true,
|
|
100608
|
+
"attributes": [
|
|
100609
|
+
{
|
|
100610
|
+
"name": "icon-placement",
|
|
100611
|
+
"type": {
|
|
100612
|
+
"text": "SbbIconPlacement"
|
|
100696
100613
|
},
|
|
100697
|
-
"
|
|
100698
|
-
|
|
100699
|
-
|
|
100700
|
-
"type": {
|
|
100701
|
-
"text": "PropertyKey | undefined"
|
|
100702
|
-
}
|
|
100703
|
-
}
|
|
100704
|
-
],
|
|
100705
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
100614
|
+
"default": "'start'",
|
|
100615
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
100616
|
+
"fieldName": "iconPlacement",
|
|
100706
100617
|
"inheritedFrom": {
|
|
100707
|
-
"name": "
|
|
100708
|
-
"module": "
|
|
100618
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100619
|
+
"module": "link/common/block-link-common.js"
|
|
100709
100620
|
}
|
|
100710
100621
|
},
|
|
100711
100622
|
{
|
|
100712
|
-
"
|
|
100713
|
-
"
|
|
100714
|
-
|
|
100715
|
-
"return": {
|
|
100716
|
-
"type": {
|
|
100717
|
-
"text": "void"
|
|
100718
|
-
}
|
|
100623
|
+
"name": "size",
|
|
100624
|
+
"type": {
|
|
100625
|
+
"text": "SbbLinkSize"
|
|
100719
100626
|
},
|
|
100627
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
100628
|
+
"default": "'s' / 'xs' (lean)",
|
|
100629
|
+
"fieldName": "size",
|
|
100720
100630
|
"inheritedFrom": {
|
|
100721
|
-
"name": "
|
|
100722
|
-
"module": "
|
|
100631
|
+
"name": "SbbLinkCommonElementMixin",
|
|
100632
|
+
"module": "link/common/link-common.js"
|
|
100723
100633
|
}
|
|
100724
100634
|
},
|
|
100725
100635
|
{
|
|
100726
|
-
"
|
|
100727
|
-
"name": "role",
|
|
100636
|
+
"name": "icon-name",
|
|
100728
100637
|
"type": {
|
|
100729
|
-
"text": "
|
|
100730
|
-
},
|
|
100731
|
-
"privacy": "public",
|
|
100732
|
-
"static": true,
|
|
100733
|
-
"readonly": true,
|
|
100734
|
-
"default": "'button'",
|
|
100735
|
-
"inheritedFrom": {
|
|
100736
|
-
"name": "SbbButtonLikeBaseElement",
|
|
100737
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100738
|
-
}
|
|
100739
|
-
},
|
|
100740
|
-
{
|
|
100741
|
-
"kind": "field",
|
|
100742
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
100743
|
-
"privacy": "private",
|
|
100744
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
100745
|
-
"parameters": [
|
|
100746
|
-
{
|
|
100747
|
-
"description": "The origin event.",
|
|
100748
|
-
"name": "event"
|
|
100749
|
-
}
|
|
100750
|
-
],
|
|
100751
|
-
"inheritedFrom": {
|
|
100752
|
-
"name": "SbbButtonLikeBaseElement",
|
|
100753
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100754
|
-
}
|
|
100755
|
-
},
|
|
100756
|
-
{
|
|
100757
|
-
"kind": "field",
|
|
100758
|
-
"name": "_removeActiveMarker",
|
|
100759
|
-
"privacy": "private",
|
|
100760
|
-
"inheritedFrom": {
|
|
100761
|
-
"name": "SbbButtonLikeBaseElement",
|
|
100762
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100763
|
-
}
|
|
100764
|
-
},
|
|
100765
|
-
{
|
|
100766
|
-
"kind": "field",
|
|
100767
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
100768
|
-
"privacy": "private",
|
|
100769
|
-
"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.",
|
|
100770
|
-
"parameters": [
|
|
100771
|
-
{
|
|
100772
|
-
"description": "The origin event.",
|
|
100773
|
-
"name": "event"
|
|
100774
|
-
}
|
|
100775
|
-
],
|
|
100776
|
-
"inheritedFrom": {
|
|
100777
|
-
"name": "SbbButtonLikeBaseElement",
|
|
100778
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100779
|
-
}
|
|
100780
|
-
},
|
|
100781
|
-
{
|
|
100782
|
-
"kind": "field",
|
|
100783
|
-
"name": "_dispatchClickEvent",
|
|
100784
|
-
"privacy": "private",
|
|
100785
|
-
"inheritedFrom": {
|
|
100786
|
-
"name": "SbbButtonLikeBaseElement",
|
|
100787
|
-
"module": "core/base-elements/button-base-element.js"
|
|
100788
|
-
}
|
|
100789
|
-
},
|
|
100790
|
-
{
|
|
100791
|
-
"kind": "field",
|
|
100792
|
-
"name": "maybeDisabled",
|
|
100793
|
-
"type": {
|
|
100794
|
-
"text": "boolean | undefined"
|
|
100795
|
-
},
|
|
100796
|
-
"privacy": "protected",
|
|
100797
|
-
"readonly": true,
|
|
100798
|
-
"inheritedFrom": {
|
|
100799
|
-
"name": "SbbActionBaseElement",
|
|
100800
|
-
"module": "core/base-elements/action-base-element.js"
|
|
100801
|
-
}
|
|
100802
|
-
},
|
|
100803
|
-
{
|
|
100804
|
-
"kind": "field",
|
|
100805
|
-
"name": "maybeDisabledInteractive",
|
|
100806
|
-
"type": {
|
|
100807
|
-
"text": "boolean | undefined"
|
|
100808
|
-
},
|
|
100809
|
-
"privacy": "protected",
|
|
100810
|
-
"readonly": true,
|
|
100811
|
-
"inheritedFrom": {
|
|
100812
|
-
"name": "SbbActionBaseElement",
|
|
100813
|
-
"module": "core/base-elements/action-base-element.js"
|
|
100814
|
-
}
|
|
100815
|
-
},
|
|
100816
|
-
{
|
|
100817
|
-
"kind": "method",
|
|
100818
|
-
"name": "setupBaseEventHandlers",
|
|
100819
|
-
"privacy": "protected",
|
|
100820
|
-
"return": {
|
|
100821
|
-
"type": {
|
|
100822
|
-
"text": "void"
|
|
100823
|
-
}
|
|
100824
|
-
},
|
|
100825
|
-
"inheritedFrom": {
|
|
100826
|
-
"name": "SbbActionBaseElement",
|
|
100827
|
-
"module": "core/base-elements/action-base-element.js"
|
|
100828
|
-
}
|
|
100829
|
-
},
|
|
100830
|
-
{
|
|
100831
|
-
"kind": "field",
|
|
100832
|
-
"name": "_hydrationRequired",
|
|
100833
|
-
"type": {
|
|
100834
|
-
"text": "boolean"
|
|
100835
|
-
},
|
|
100836
|
-
"privacy": "private",
|
|
100837
|
-
"default": "!!this.shadowRoot",
|
|
100838
|
-
"inheritedFrom": {
|
|
100839
|
-
"name": "SbbElement",
|
|
100840
|
-
"module": "core/base-elements/element.js"
|
|
100841
|
-
}
|
|
100842
|
-
},
|
|
100843
|
-
{
|
|
100844
|
-
"kind": "field",
|
|
100845
|
-
"name": "_hydrationComplete",
|
|
100846
|
-
"privacy": "private",
|
|
100847
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
100848
|
-
"inheritedFrom": {
|
|
100849
|
-
"name": "SbbElement",
|
|
100850
|
-
"module": "core/base-elements/element.js"
|
|
100851
|
-
}
|
|
100852
|
-
},
|
|
100853
|
-
{
|
|
100854
|
-
"kind": "field",
|
|
100855
|
-
"name": "_resolveHydration",
|
|
100856
|
-
"type": {
|
|
100857
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
100858
|
-
},
|
|
100859
|
-
"privacy": "private",
|
|
100860
|
-
"inheritedFrom": {
|
|
100861
|
-
"name": "SbbElement",
|
|
100862
|
-
"module": "core/base-elements/element.js"
|
|
100863
|
-
}
|
|
100864
|
-
},
|
|
100865
|
-
{
|
|
100866
|
-
"kind": "field",
|
|
100867
|
-
"name": "hydrationRequired",
|
|
100868
|
-
"type": {
|
|
100869
|
-
"text": "boolean"
|
|
100870
|
-
},
|
|
100871
|
-
"privacy": "protected",
|
|
100872
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
100873
|
-
"readonly": true,
|
|
100874
|
-
"inheritedFrom": {
|
|
100875
|
-
"name": "SbbElement",
|
|
100876
|
-
"module": "core/base-elements/element.js"
|
|
100877
|
-
},
|
|
100878
|
-
"default": "!!this.shadowRoot"
|
|
100879
|
-
},
|
|
100880
|
-
{
|
|
100881
|
-
"kind": "method",
|
|
100882
|
-
"name": "toggleState",
|
|
100883
|
-
"privacy": "protected",
|
|
100884
|
-
"return": {
|
|
100885
|
-
"type": {
|
|
100886
|
-
"text": "void"
|
|
100887
|
-
}
|
|
100638
|
+
"text": "string"
|
|
100888
100639
|
},
|
|
100889
|
-
"
|
|
100890
|
-
|
|
100891
|
-
|
|
100892
|
-
"type": {
|
|
100893
|
-
"text": "string"
|
|
100894
|
-
}
|
|
100895
|
-
},
|
|
100896
|
-
{
|
|
100897
|
-
"name": "force",
|
|
100898
|
-
"optional": true,
|
|
100899
|
-
"type": {
|
|
100900
|
-
"text": "boolean"
|
|
100901
|
-
}
|
|
100902
|
-
}
|
|
100903
|
-
],
|
|
100640
|
+
"default": "''",
|
|
100641
|
+
"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.",
|
|
100642
|
+
"fieldName": "iconName",
|
|
100904
100643
|
"inheritedFrom": {
|
|
100905
|
-
"name": "
|
|
100906
|
-
"module": "
|
|
100644
|
+
"name": "SbbIconNameMixin",
|
|
100645
|
+
"module": "icon/icon-name-mixin.js"
|
|
100907
100646
|
}
|
|
100908
100647
|
},
|
|
100909
100648
|
{
|
|
100910
|
-
"
|
|
100911
|
-
"
|
|
100649
|
+
"name": "disabled",
|
|
100650
|
+
"description": "Whether the component is disabled.",
|
|
100651
|
+
"default": "false",
|
|
100912
100652
|
"type": {
|
|
100913
100653
|
"text": "boolean"
|
|
100914
100654
|
},
|
|
100915
|
-
"
|
|
100916
|
-
"static": true,
|
|
100917
|
-
"default": "true",
|
|
100918
|
-
"inheritedFrom": {
|
|
100919
|
-
"name": "SbbElement",
|
|
100920
|
-
"module": "core/base-elements/element.js"
|
|
100921
|
-
}
|
|
100922
|
-
},
|
|
100923
|
-
{
|
|
100924
|
-
"kind": "field",
|
|
100925
|
-
"name": "_controllers",
|
|
100926
|
-
"type": {
|
|
100927
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
100928
|
-
},
|
|
100929
|
-
"privacy": "private",
|
|
100655
|
+
"fieldName": "disabled",
|
|
100930
100656
|
"inheritedFrom": {
|
|
100931
|
-
"name": "
|
|
100932
|
-
"module": "core/
|
|
100657
|
+
"name": "SbbDisabledMixin",
|
|
100658
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100933
100659
|
}
|
|
100934
|
-
}
|
|
100935
|
-
],
|
|
100936
|
-
"mixins": [
|
|
100937
|
-
{
|
|
100938
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
100939
|
-
"module": "link/common/block-link-common.js"
|
|
100940
100660
|
},
|
|
100941
100661
|
{
|
|
100942
|
-
"name": "
|
|
100943
|
-
"module": "core/mixins.js"
|
|
100944
|
-
}
|
|
100945
|
-
],
|
|
100946
|
-
"superclass": {
|
|
100947
|
-
"name": "SbbButtonBaseElement",
|
|
100948
|
-
"module": "core/base-elements.js"
|
|
100949
|
-
},
|
|
100950
|
-
"tagName": "sbb-block-link-button",
|
|
100951
|
-
"customElement": true,
|
|
100952
|
-
"attributes": [
|
|
100953
|
-
{
|
|
100954
|
-
"name": "icon-placement",
|
|
100662
|
+
"name": "href",
|
|
100955
100663
|
"type": {
|
|
100956
|
-
"text": "
|
|
100664
|
+
"text": "string"
|
|
100957
100665
|
},
|
|
100958
|
-
"default": "'
|
|
100959
|
-
"description": "
|
|
100960
|
-
"fieldName": "
|
|
100666
|
+
"default": "''",
|
|
100667
|
+
"description": "The href value you want to link to.",
|
|
100668
|
+
"fieldName": "href",
|
|
100961
100669
|
"inheritedFrom": {
|
|
100962
|
-
"name": "
|
|
100963
|
-
"module": "
|
|
100670
|
+
"name": "SbbLinkBaseElement",
|
|
100671
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100964
100672
|
}
|
|
100965
100673
|
},
|
|
100966
100674
|
{
|
|
100967
|
-
"name": "
|
|
100675
|
+
"name": "target",
|
|
100968
100676
|
"type": {
|
|
100969
|
-
"text": "
|
|
100677
|
+
"text": "LinkTargetType | string"
|
|
100970
100678
|
},
|
|
100971
|
-
"
|
|
100972
|
-
"
|
|
100973
|
-
"fieldName": "
|
|
100679
|
+
"default": "''",
|
|
100680
|
+
"description": "Where to display the linked URL.",
|
|
100681
|
+
"fieldName": "target",
|
|
100974
100682
|
"inheritedFrom": {
|
|
100975
|
-
"name": "
|
|
100976
|
-
"module": "
|
|
100683
|
+
"name": "SbbLinkBaseElement",
|
|
100684
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100977
100685
|
}
|
|
100978
100686
|
},
|
|
100979
100687
|
{
|
|
100980
|
-
"name": "
|
|
100688
|
+
"name": "rel",
|
|
100981
100689
|
"type": {
|
|
100982
100690
|
"text": "string"
|
|
100983
100691
|
},
|
|
100984
100692
|
"default": "''",
|
|
100985
|
-
"description": "The
|
|
100986
|
-
"fieldName": "
|
|
100693
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
100694
|
+
"fieldName": "rel",
|
|
100987
100695
|
"inheritedFrom": {
|
|
100988
|
-
"name": "
|
|
100989
|
-
"module": "
|
|
100696
|
+
"name": "SbbLinkBaseElement",
|
|
100697
|
+
"module": "core/base-elements/link-base-element.js"
|
|
100990
100698
|
}
|
|
100991
100699
|
},
|
|
100992
100700
|
{
|
|
100993
|
-
"name": "
|
|
100701
|
+
"name": "download",
|
|
100994
100702
|
"type": {
|
|
100995
100703
|
"text": "boolean"
|
|
100996
100704
|
},
|
|
100997
100705
|
"default": "false",
|
|
100998
|
-
"description": "Whether the
|
|
100999
|
-
"fieldName": "
|
|
101000
|
-
"inheritedFrom": {
|
|
101001
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
101002
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101003
|
-
}
|
|
101004
|
-
},
|
|
101005
|
-
{
|
|
101006
|
-
"name": "disabled",
|
|
101007
|
-
"description": "Whether the component is disabled.",
|
|
101008
|
-
"default": "false",
|
|
101009
|
-
"type": {
|
|
101010
|
-
"text": "boolean"
|
|
101011
|
-
},
|
|
101012
|
-
"fieldName": "disabled",
|
|
100706
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
100707
|
+
"fieldName": "download",
|
|
101013
100708
|
"inheritedFrom": {
|
|
101014
|
-
"name": "
|
|
101015
|
-
"module": "core/
|
|
100709
|
+
"name": "SbbLinkBaseElement",
|
|
100710
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101016
100711
|
}
|
|
101017
100712
|
},
|
|
101018
100713
|
{
|
|
101019
|
-
"name": "
|
|
100714
|
+
"name": "accessibility-label",
|
|
101020
100715
|
"type": {
|
|
101021
100716
|
"text": "string"
|
|
101022
100717
|
},
|
|
101023
100718
|
"default": "''",
|
|
101024
|
-
"description": "
|
|
101025
|
-
"fieldName": "
|
|
101026
|
-
"inheritedFrom": {
|
|
101027
|
-
"name": "SbbButtonBaseElement",
|
|
101028
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101029
|
-
}
|
|
101030
|
-
},
|
|
101031
|
-
{
|
|
101032
|
-
"name": "type",
|
|
101033
|
-
"description": "The type attribute to use for the button.",
|
|
101034
|
-
"default": "'button'",
|
|
101035
|
-
"type": {
|
|
101036
|
-
"text": "SbbButtonType"
|
|
101037
|
-
},
|
|
101038
|
-
"fieldName": "type",
|
|
101039
|
-
"inheritedFrom": {
|
|
101040
|
-
"name": "SbbButtonBaseElement",
|
|
101041
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101042
|
-
}
|
|
101043
|
-
},
|
|
101044
|
-
{
|
|
101045
|
-
"name": "form",
|
|
101046
|
-
"description": "The `<form>` element to associate the button with.",
|
|
101047
|
-
"type": {
|
|
101048
|
-
"text": "HTMLFormElement | null"
|
|
101049
|
-
},
|
|
101050
|
-
"fieldName": "form",
|
|
100719
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
100720
|
+
"fieldName": "accessibilityLabel",
|
|
101051
100721
|
"inheritedFrom": {
|
|
101052
|
-
"name": "
|
|
101053
|
-
"module": "core/base-elements/
|
|
100722
|
+
"name": "SbbLinkBaseElement",
|
|
100723
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101054
100724
|
}
|
|
101055
100725
|
},
|
|
101056
100726
|
{
|
|
101057
|
-
"name": "
|
|
101058
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
100727
|
+
"name": "accessibility-current",
|
|
101059
100728
|
"type": {
|
|
101060
100729
|
"text": "string"
|
|
101061
100730
|
},
|
|
101062
|
-
"
|
|
100731
|
+
"default": "''",
|
|
100732
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
100733
|
+
"fieldName": "accessibilityCurrent",
|
|
101063
100734
|
"inheritedFrom": {
|
|
101064
|
-
"name": "
|
|
101065
|
-
"module": "core/
|
|
100735
|
+
"name": "SbbLinkBaseElement",
|
|
100736
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101066
100737
|
}
|
|
101067
100738
|
}
|
|
101068
100739
|
]
|
|
@@ -101071,25 +100742,25 @@
|
|
|
101071
100742
|
"exports": [
|
|
101072
100743
|
{
|
|
101073
100744
|
"kind": "js",
|
|
101074
|
-
"name": "
|
|
100745
|
+
"name": "SbbBlockLinkElement",
|
|
101075
100746
|
"declaration": {
|
|
101076
|
-
"name": "
|
|
101077
|
-
"module": "link/block-link
|
|
100747
|
+
"name": "SbbBlockLinkElement",
|
|
100748
|
+
"module": "link/block-link/block-link.component.js"
|
|
101078
100749
|
}
|
|
101079
100750
|
}
|
|
101080
100751
|
]
|
|
101081
100752
|
},
|
|
101082
100753
|
{
|
|
101083
100754
|
"kind": "javascript-module",
|
|
101084
|
-
"path": "link/block-link/block-link.component.js",
|
|
100755
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
101085
100756
|
"declarations": [
|
|
101086
100757
|
{
|
|
101087
100758
|
"kind": "class",
|
|
101088
|
-
"description": "It displays a link enhanced with the SBB Design.",
|
|
101089
|
-
"name": "
|
|
100759
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
100760
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101090
100761
|
"slots": [
|
|
101091
100762
|
{
|
|
101092
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
100763
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
101093
100764
|
"name": ""
|
|
101094
100765
|
},
|
|
101095
100766
|
{
|
|
@@ -101111,7 +100782,7 @@
|
|
|
101111
100782
|
"name": "SbbElement",
|
|
101112
100783
|
"module": "core/base-elements/element.js"
|
|
101113
100784
|
},
|
|
101114
|
-
"default": "'sbb-block-link'"
|
|
100785
|
+
"default": "'sbb-block-link-button'"
|
|
101115
100786
|
},
|
|
101116
100787
|
{
|
|
101117
100788
|
"kind": "field",
|
|
@@ -101240,6 +100911,22 @@
|
|
|
101240
100911
|
"module": "icon/icon-name-mixin.js"
|
|
101241
100912
|
}
|
|
101242
100913
|
},
|
|
100914
|
+
{
|
|
100915
|
+
"kind": "field",
|
|
100916
|
+
"name": "disabledInteractive",
|
|
100917
|
+
"type": {
|
|
100918
|
+
"text": "boolean"
|
|
100919
|
+
},
|
|
100920
|
+
"privacy": "public",
|
|
100921
|
+
"default": "false",
|
|
100922
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
100923
|
+
"attribute": "disabled-interactive",
|
|
100924
|
+
"reflects": true,
|
|
100925
|
+
"inheritedFrom": {
|
|
100926
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
100927
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100928
|
+
}
|
|
100929
|
+
},
|
|
101243
100930
|
{
|
|
101244
100931
|
"kind": "field",
|
|
101245
100932
|
"name": "disabled",
|
|
@@ -101286,151 +100973,479 @@
|
|
|
101286
100973
|
},
|
|
101287
100974
|
{
|
|
101288
100975
|
"kind": "field",
|
|
101289
|
-
"name": "
|
|
100976
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
100977
|
+
"type": {
|
|
100978
|
+
"text": "array"
|
|
100979
|
+
},
|
|
100980
|
+
"privacy": "private",
|
|
100981
|
+
"readonly": true,
|
|
100982
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
100983
|
+
"inheritedFrom": {
|
|
100984
|
+
"name": "SbbButtonBaseElement",
|
|
100985
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100986
|
+
}
|
|
100987
|
+
},
|
|
100988
|
+
{
|
|
100989
|
+
"kind": "field",
|
|
100990
|
+
"name": "value",
|
|
101290
100991
|
"type": {
|
|
101291
100992
|
"text": "string"
|
|
101292
100993
|
},
|
|
101293
100994
|
"privacy": "public",
|
|
100995
|
+
"inheritedFrom": {
|
|
100996
|
+
"name": "SbbButtonBaseElement",
|
|
100997
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100998
|
+
},
|
|
101294
100999
|
"default": "''",
|
|
101295
|
-
"description": "
|
|
101296
|
-
"attribute": "
|
|
101297
|
-
|
|
101000
|
+
"description": "Value of the form element.",
|
|
101001
|
+
"attribute": "value"
|
|
101002
|
+
},
|
|
101003
|
+
{
|
|
101004
|
+
"kind": "field",
|
|
101005
|
+
"name": "type",
|
|
101006
|
+
"privacy": "public",
|
|
101007
|
+
"description": "The type attribute to use for the button.",
|
|
101008
|
+
"default": "'button'",
|
|
101009
|
+
"type": {
|
|
101010
|
+
"text": "SbbButtonType"
|
|
101011
|
+
},
|
|
101012
|
+
"attribute": "type",
|
|
101298
101013
|
"inheritedFrom": {
|
|
101299
|
-
"name": "
|
|
101300
|
-
"module": "core/base-elements/
|
|
101014
|
+
"name": "SbbButtonBaseElement",
|
|
101015
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101301
101016
|
}
|
|
101302
101017
|
},
|
|
101303
101018
|
{
|
|
101304
101019
|
"kind": "field",
|
|
101305
|
-
"name": "
|
|
101020
|
+
"name": "form",
|
|
101306
101021
|
"type": {
|
|
101307
|
-
"text": "
|
|
101022
|
+
"text": "HTMLFormElement | null"
|
|
101308
101023
|
},
|
|
101309
101024
|
"privacy": "public",
|
|
101310
|
-
"
|
|
101311
|
-
"description": "Where to display the linked URL.",
|
|
101312
|
-
"attribute": "target",
|
|
101313
|
-
"reflects": true,
|
|
101025
|
+
"description": "The `<form>` element to associate the button with.",
|
|
101314
101026
|
"inheritedFrom": {
|
|
101315
|
-
"name": "
|
|
101316
|
-
"module": "core/base-elements/
|
|
101317
|
-
}
|
|
101027
|
+
"name": "SbbButtonBaseElement",
|
|
101028
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101029
|
+
},
|
|
101030
|
+
"attribute": "form"
|
|
101318
101031
|
},
|
|
101319
101032
|
{
|
|
101320
101033
|
"kind": "field",
|
|
101321
|
-
"name": "
|
|
101034
|
+
"name": "_formId",
|
|
101322
101035
|
"type": {
|
|
101323
101036
|
"text": "string"
|
|
101324
101037
|
},
|
|
101325
|
-
"privacy": "
|
|
101038
|
+
"privacy": "private",
|
|
101326
101039
|
"default": "''",
|
|
101327
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
101328
|
-
"attribute": "rel",
|
|
101329
|
-
"reflects": true,
|
|
101330
101040
|
"inheritedFrom": {
|
|
101331
|
-
"name": "
|
|
101332
|
-
"module": "core/base-elements/
|
|
101041
|
+
"name": "SbbButtonBaseElement",
|
|
101042
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101333
101043
|
}
|
|
101334
101044
|
},
|
|
101335
101045
|
{
|
|
101336
101046
|
"kind": "field",
|
|
101337
|
-
"name": "
|
|
101047
|
+
"name": "_handleButtonClick",
|
|
101048
|
+
"privacy": "private",
|
|
101049
|
+
"inheritedFrom": {
|
|
101050
|
+
"name": "SbbButtonBaseElement",
|
|
101051
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101052
|
+
}
|
|
101053
|
+
},
|
|
101054
|
+
{
|
|
101055
|
+
"kind": "method",
|
|
101056
|
+
"name": "_requestSubmit",
|
|
101057
|
+
"privacy": "private",
|
|
101058
|
+
"return": {
|
|
101059
|
+
"type": {
|
|
101060
|
+
"text": "void"
|
|
101061
|
+
}
|
|
101062
|
+
},
|
|
101063
|
+
"parameters": [
|
|
101064
|
+
{
|
|
101065
|
+
"name": "form",
|
|
101066
|
+
"type": {
|
|
101067
|
+
"text": "HTMLFormElement"
|
|
101068
|
+
}
|
|
101069
|
+
}
|
|
101070
|
+
],
|
|
101071
|
+
"inheritedFrom": {
|
|
101072
|
+
"name": "SbbButtonBaseElement",
|
|
101073
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101074
|
+
}
|
|
101075
|
+
},
|
|
101076
|
+
{
|
|
101077
|
+
"kind": "field",
|
|
101078
|
+
"name": "_formKeyDown",
|
|
101079
|
+
"privacy": "private",
|
|
101080
|
+
"inheritedFrom": {
|
|
101081
|
+
"name": "SbbButtonBaseElement",
|
|
101082
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101083
|
+
}
|
|
101084
|
+
},
|
|
101085
|
+
{
|
|
101086
|
+
"kind": "field",
|
|
101087
|
+
"name": "formAssociated",
|
|
101338
101088
|
"type": {
|
|
101339
101089
|
"text": "boolean"
|
|
101340
101090
|
},
|
|
101341
101091
|
"privacy": "public",
|
|
101342
|
-
"
|
|
101343
|
-
"
|
|
101344
|
-
"attribute": "download",
|
|
101345
|
-
"reflects": true,
|
|
101092
|
+
"static": true,
|
|
101093
|
+
"default": "true",
|
|
101346
101094
|
"inheritedFrom": {
|
|
101347
|
-
"name": "
|
|
101348
|
-
"module": "core/
|
|
101095
|
+
"name": "SbbFormAssociatedMixin",
|
|
101096
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101349
101097
|
}
|
|
101350
101098
|
},
|
|
101351
101099
|
{
|
|
101352
101100
|
"kind": "field",
|
|
101353
|
-
"name": "
|
|
101101
|
+
"name": "name",
|
|
101102
|
+
"privacy": "public",
|
|
101103
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
101354
101104
|
"type": {
|
|
101355
101105
|
"text": "string"
|
|
101356
101106
|
},
|
|
101107
|
+
"attribute": "name",
|
|
101108
|
+
"inheritedFrom": {
|
|
101109
|
+
"name": "SbbFormAssociatedMixin",
|
|
101110
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101111
|
+
}
|
|
101112
|
+
},
|
|
101113
|
+
{
|
|
101114
|
+
"kind": "field",
|
|
101115
|
+
"name": "validity",
|
|
101116
|
+
"type": {
|
|
101117
|
+
"text": "ValidityState"
|
|
101118
|
+
},
|
|
101357
101119
|
"privacy": "public",
|
|
101358
|
-
"
|
|
101359
|
-
"
|
|
101360
|
-
"attribute": "accessibility-label",
|
|
101120
|
+
"description": "Returns the ValidityState object for this element.",
|
|
101121
|
+
"readonly": true,
|
|
101361
101122
|
"inheritedFrom": {
|
|
101362
|
-
"name": "
|
|
101363
|
-
"module": "core/
|
|
101123
|
+
"name": "SbbFormAssociatedMixin",
|
|
101124
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101364
101125
|
}
|
|
101365
101126
|
},
|
|
101366
101127
|
{
|
|
101367
101128
|
"kind": "field",
|
|
101368
|
-
"name": "
|
|
101129
|
+
"name": "validationMessage",
|
|
101369
101130
|
"type": {
|
|
101370
101131
|
"text": "string"
|
|
101371
101132
|
},
|
|
101372
101133
|
"privacy": "public",
|
|
101373
|
-
"
|
|
101374
|
-
"
|
|
101375
|
-
"attribute": "accessibility-current",
|
|
101134
|
+
"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.",
|
|
101135
|
+
"readonly": true,
|
|
101376
101136
|
"inheritedFrom": {
|
|
101377
|
-
"name": "
|
|
101378
|
-
"module": "core/
|
|
101137
|
+
"name": "SbbFormAssociatedMixin",
|
|
101138
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101379
101139
|
}
|
|
101380
101140
|
},
|
|
101381
101141
|
{
|
|
101382
101142
|
"kind": "field",
|
|
101383
|
-
"name": "
|
|
101384
|
-
"
|
|
101385
|
-
|
|
101143
|
+
"name": "willValidate",
|
|
101144
|
+
"type": {
|
|
101145
|
+
"text": "boolean"
|
|
101146
|
+
},
|
|
101147
|
+
"privacy": "public",
|
|
101148
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
101149
|
+
"readonly": true,
|
|
101386
101150
|
"inheritedFrom": {
|
|
101387
|
-
"name": "
|
|
101388
|
-
"module": "core/
|
|
101151
|
+
"name": "SbbFormAssociatedMixin",
|
|
101152
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101389
101153
|
}
|
|
101390
101154
|
},
|
|
101391
101155
|
{
|
|
101392
101156
|
"kind": "field",
|
|
101393
|
-
"name": "
|
|
101157
|
+
"name": "_validityStates",
|
|
101158
|
+
"privacy": "private",
|
|
101159
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101160
|
+
"inheritedFrom": {
|
|
101161
|
+
"name": "SbbFormAssociatedMixin",
|
|
101162
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101163
|
+
}
|
|
101164
|
+
},
|
|
101165
|
+
{
|
|
101166
|
+
"kind": "field",
|
|
101167
|
+
"name": "formDisabled",
|
|
101394
101168
|
"type": {
|
|
101395
|
-
"text": "
|
|
101169
|
+
"text": "boolean"
|
|
101396
101170
|
},
|
|
101397
101171
|
"privacy": "protected",
|
|
101398
|
-
"
|
|
101399
|
-
"
|
|
101172
|
+
"default": "false",
|
|
101173
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
101400
101174
|
"inheritedFrom": {
|
|
101401
|
-
"name": "
|
|
101402
|
-
"module": "core/
|
|
101175
|
+
"name": "SbbFormAssociatedMixin",
|
|
101176
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101403
101177
|
}
|
|
101404
101178
|
},
|
|
101405
101179
|
{
|
|
101406
|
-
"kind": "
|
|
101407
|
-
"name": "
|
|
101180
|
+
"kind": "method",
|
|
101181
|
+
"name": "checkValidity",
|
|
101182
|
+
"privacy": "public",
|
|
101183
|
+
"return": {
|
|
101184
|
+
"type": {
|
|
101185
|
+
"text": "boolean"
|
|
101186
|
+
}
|
|
101187
|
+
},
|
|
101188
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101189
|
+
"inheritedFrom": {
|
|
101190
|
+
"name": "SbbFormAssociatedMixin",
|
|
101191
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101192
|
+
}
|
|
101193
|
+
},
|
|
101194
|
+
{
|
|
101195
|
+
"kind": "method",
|
|
101196
|
+
"name": "reportValidity",
|
|
101197
|
+
"privacy": "public",
|
|
101198
|
+
"return": {
|
|
101199
|
+
"type": {
|
|
101200
|
+
"text": "boolean"
|
|
101201
|
+
}
|
|
101202
|
+
},
|
|
101203
|
+
"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.",
|
|
101204
|
+
"inheritedFrom": {
|
|
101205
|
+
"name": "SbbFormAssociatedMixin",
|
|
101206
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101207
|
+
}
|
|
101208
|
+
},
|
|
101209
|
+
{
|
|
101210
|
+
"kind": "method",
|
|
101211
|
+
"name": "setCustomValidity",
|
|
101212
|
+
"privacy": "public",
|
|
101213
|
+
"return": {
|
|
101214
|
+
"type": {
|
|
101215
|
+
"text": "void"
|
|
101216
|
+
}
|
|
101217
|
+
},
|
|
101218
|
+
"parameters": [
|
|
101219
|
+
{
|
|
101220
|
+
"name": "message",
|
|
101221
|
+
"type": {
|
|
101222
|
+
"text": "string"
|
|
101223
|
+
}
|
|
101224
|
+
}
|
|
101225
|
+
],
|
|
101226
|
+
"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.",
|
|
101227
|
+
"inheritedFrom": {
|
|
101228
|
+
"name": "SbbFormAssociatedMixin",
|
|
101229
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101230
|
+
}
|
|
101231
|
+
},
|
|
101232
|
+
{
|
|
101233
|
+
"kind": "method",
|
|
101234
|
+
"name": "_hasDisabledAncestor",
|
|
101408
101235
|
"privacy": "private",
|
|
101236
|
+
"return": {
|
|
101237
|
+
"type": {
|
|
101238
|
+
"text": "boolean"
|
|
101239
|
+
}
|
|
101240
|
+
},
|
|
101409
101241
|
"inheritedFrom": {
|
|
101410
|
-
"name": "
|
|
101411
|
-
"module": "core/
|
|
101242
|
+
"name": "SbbFormAssociatedMixin",
|
|
101243
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101412
101244
|
}
|
|
101413
101245
|
},
|
|
101414
101246
|
{
|
|
101415
101247
|
"kind": "method",
|
|
101416
|
-
"name": "
|
|
101248
|
+
"name": "updateFormValue",
|
|
101417
101249
|
"privacy": "protected",
|
|
101418
101250
|
"return": {
|
|
101419
101251
|
"type": {
|
|
101420
|
-
"text": "
|
|
101252
|
+
"text": "void"
|
|
101253
|
+
}
|
|
101254
|
+
},
|
|
101255
|
+
"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",
|
|
101256
|
+
"inheritedFrom": {
|
|
101257
|
+
"name": "SbbFormAssociatedMixin",
|
|
101258
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101259
|
+
}
|
|
101260
|
+
},
|
|
101261
|
+
{
|
|
101262
|
+
"kind": "method",
|
|
101263
|
+
"name": "formState",
|
|
101264
|
+
"privacy": "protected",
|
|
101265
|
+
"return": {
|
|
101266
|
+
"type": {
|
|
101267
|
+
"text": "FormRestoreState"
|
|
101268
|
+
}
|
|
101269
|
+
},
|
|
101270
|
+
"inheritedFrom": {
|
|
101271
|
+
"name": "SbbFormAssociatedMixin",
|
|
101272
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101273
|
+
}
|
|
101274
|
+
},
|
|
101275
|
+
{
|
|
101276
|
+
"kind": "method",
|
|
101277
|
+
"name": "setValidityFlag",
|
|
101278
|
+
"privacy": "protected",
|
|
101279
|
+
"return": {
|
|
101280
|
+
"type": {
|
|
101281
|
+
"text": "void"
|
|
101421
101282
|
}
|
|
101422
101283
|
},
|
|
101423
101284
|
"parameters": [
|
|
101424
101285
|
{
|
|
101425
|
-
"name": "
|
|
101286
|
+
"name": "flag",
|
|
101426
101287
|
"type": {
|
|
101427
|
-
"text": "
|
|
101288
|
+
"text": "T"
|
|
101289
|
+
}
|
|
101290
|
+
},
|
|
101291
|
+
{
|
|
101292
|
+
"name": "message",
|
|
101293
|
+
"type": {
|
|
101294
|
+
"text": "string"
|
|
101295
|
+
}
|
|
101296
|
+
},
|
|
101297
|
+
{
|
|
101298
|
+
"name": "flagValue",
|
|
101299
|
+
"optional": true,
|
|
101300
|
+
"type": {
|
|
101301
|
+
"text": "ValidityStateFlags[T]"
|
|
101428
101302
|
}
|
|
101429
101303
|
}
|
|
101430
101304
|
],
|
|
101305
|
+
"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).",
|
|
101431
101306
|
"inheritedFrom": {
|
|
101432
|
-
"name": "
|
|
101433
|
-
"module": "core/
|
|
101307
|
+
"name": "SbbFormAssociatedMixin",
|
|
101308
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101309
|
+
}
|
|
101310
|
+
},
|
|
101311
|
+
{
|
|
101312
|
+
"kind": "method",
|
|
101313
|
+
"name": "removeValidityFlag",
|
|
101314
|
+
"privacy": "protected",
|
|
101315
|
+
"return": {
|
|
101316
|
+
"type": {
|
|
101317
|
+
"text": "void"
|
|
101318
|
+
}
|
|
101319
|
+
},
|
|
101320
|
+
"parameters": [
|
|
101321
|
+
{
|
|
101322
|
+
"name": "flag",
|
|
101323
|
+
"type": {
|
|
101324
|
+
"text": "T"
|
|
101325
|
+
}
|
|
101326
|
+
}
|
|
101327
|
+
],
|
|
101328
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
101329
|
+
"inheritedFrom": {
|
|
101330
|
+
"name": "SbbFormAssociatedMixin",
|
|
101331
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101332
|
+
}
|
|
101333
|
+
},
|
|
101334
|
+
{
|
|
101335
|
+
"kind": "method",
|
|
101336
|
+
"name": "validate",
|
|
101337
|
+
"privacy": "protected",
|
|
101338
|
+
"return": {
|
|
101339
|
+
"type": {
|
|
101340
|
+
"text": "void"
|
|
101341
|
+
}
|
|
101342
|
+
},
|
|
101343
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
101344
|
+
"inheritedFrom": {
|
|
101345
|
+
"name": "SbbFormAssociatedMixin",
|
|
101346
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101347
|
+
}
|
|
101348
|
+
},
|
|
101349
|
+
{
|
|
101350
|
+
"kind": "method",
|
|
101351
|
+
"name": "shouldValidate",
|
|
101352
|
+
"privacy": "protected",
|
|
101353
|
+
"return": {
|
|
101354
|
+
"type": {
|
|
101355
|
+
"text": "boolean"
|
|
101356
|
+
}
|
|
101357
|
+
},
|
|
101358
|
+
"parameters": [
|
|
101359
|
+
{
|
|
101360
|
+
"name": "name",
|
|
101361
|
+
"type": {
|
|
101362
|
+
"text": "PropertyKey | undefined"
|
|
101363
|
+
}
|
|
101364
|
+
}
|
|
101365
|
+
],
|
|
101366
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
101367
|
+
"inheritedFrom": {
|
|
101368
|
+
"name": "SbbFormAssociatedMixin",
|
|
101369
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101370
|
+
}
|
|
101371
|
+
},
|
|
101372
|
+
{
|
|
101373
|
+
"kind": "method",
|
|
101374
|
+
"name": "_setInternalValidity",
|
|
101375
|
+
"privacy": "private",
|
|
101376
|
+
"return": {
|
|
101377
|
+
"type": {
|
|
101378
|
+
"text": "void"
|
|
101379
|
+
}
|
|
101380
|
+
},
|
|
101381
|
+
"inheritedFrom": {
|
|
101382
|
+
"name": "SbbFormAssociatedMixin",
|
|
101383
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101384
|
+
}
|
|
101385
|
+
},
|
|
101386
|
+
{
|
|
101387
|
+
"kind": "field",
|
|
101388
|
+
"name": "role",
|
|
101389
|
+
"type": {
|
|
101390
|
+
"text": "ElementInternals['role']"
|
|
101391
|
+
},
|
|
101392
|
+
"privacy": "public",
|
|
101393
|
+
"static": true,
|
|
101394
|
+
"readonly": true,
|
|
101395
|
+
"default": "'button'",
|
|
101396
|
+
"inheritedFrom": {
|
|
101397
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101398
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101399
|
+
}
|
|
101400
|
+
},
|
|
101401
|
+
{
|
|
101402
|
+
"kind": "field",
|
|
101403
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
101404
|
+
"privacy": "private",
|
|
101405
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
101406
|
+
"parameters": [
|
|
101407
|
+
{
|
|
101408
|
+
"description": "The origin event.",
|
|
101409
|
+
"name": "event"
|
|
101410
|
+
}
|
|
101411
|
+
],
|
|
101412
|
+
"inheritedFrom": {
|
|
101413
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101414
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101415
|
+
}
|
|
101416
|
+
},
|
|
101417
|
+
{
|
|
101418
|
+
"kind": "field",
|
|
101419
|
+
"name": "_removeActiveMarker",
|
|
101420
|
+
"privacy": "private",
|
|
101421
|
+
"inheritedFrom": {
|
|
101422
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101423
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101424
|
+
}
|
|
101425
|
+
},
|
|
101426
|
+
{
|
|
101427
|
+
"kind": "field",
|
|
101428
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
101429
|
+
"privacy": "private",
|
|
101430
|
+
"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.",
|
|
101431
|
+
"parameters": [
|
|
101432
|
+
{
|
|
101433
|
+
"description": "The origin event.",
|
|
101434
|
+
"name": "event"
|
|
101435
|
+
}
|
|
101436
|
+
],
|
|
101437
|
+
"inheritedFrom": {
|
|
101438
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101439
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101440
|
+
}
|
|
101441
|
+
},
|
|
101442
|
+
{
|
|
101443
|
+
"kind": "field",
|
|
101444
|
+
"name": "_dispatchClickEvent",
|
|
101445
|
+
"privacy": "private",
|
|
101446
|
+
"inheritedFrom": {
|
|
101447
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101448
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101434
101449
|
}
|
|
101435
101450
|
},
|
|
101436
101451
|
{
|
|
@@ -101585,15 +101600,15 @@
|
|
|
101585
101600
|
"module": "link/common/block-link-common.js"
|
|
101586
101601
|
},
|
|
101587
101602
|
{
|
|
101588
|
-
"name": "
|
|
101603
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
101589
101604
|
"module": "core/mixins.js"
|
|
101590
101605
|
}
|
|
101591
101606
|
],
|
|
101592
101607
|
"superclass": {
|
|
101593
|
-
"name": "
|
|
101608
|
+
"name": "SbbButtonBaseElement",
|
|
101594
101609
|
"module": "core/base-elements.js"
|
|
101595
101610
|
},
|
|
101596
|
-
"tagName": "sbb-block-link",
|
|
101611
|
+
"tagName": "sbb-block-link-button",
|
|
101597
101612
|
"customElement": true,
|
|
101598
101613
|
"attributes": [
|
|
101599
101614
|
{
|
|
@@ -101636,94 +101651,79 @@
|
|
|
101636
101651
|
}
|
|
101637
101652
|
},
|
|
101638
101653
|
{
|
|
101639
|
-
"name": "disabled",
|
|
101640
|
-
"description": "Whether the component is disabled.",
|
|
101641
|
-
"default": "false",
|
|
101654
|
+
"name": "disabled-interactive",
|
|
101642
101655
|
"type": {
|
|
101643
101656
|
"text": "boolean"
|
|
101644
101657
|
},
|
|
101645
|
-
"
|
|
101658
|
+
"default": "false",
|
|
101659
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101660
|
+
"fieldName": "disabledInteractive",
|
|
101646
101661
|
"inheritedFrom": {
|
|
101647
|
-
"name": "
|
|
101662
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
101648
101663
|
"module": "core/mixins/disabled-mixin.js"
|
|
101649
101664
|
}
|
|
101650
101665
|
},
|
|
101651
101666
|
{
|
|
101652
|
-
"name": "
|
|
101653
|
-
"
|
|
101654
|
-
|
|
101655
|
-
},
|
|
101656
|
-
"default": "''",
|
|
101657
|
-
"description": "The href value you want to link to.",
|
|
101658
|
-
"fieldName": "href",
|
|
101659
|
-
"inheritedFrom": {
|
|
101660
|
-
"name": "SbbLinkBaseElement",
|
|
101661
|
-
"module": "core/base-elements/link-base-element.js"
|
|
101662
|
-
}
|
|
101663
|
-
},
|
|
101664
|
-
{
|
|
101665
|
-
"name": "target",
|
|
101667
|
+
"name": "disabled",
|
|
101668
|
+
"description": "Whether the component is disabled.",
|
|
101669
|
+
"default": "false",
|
|
101666
101670
|
"type": {
|
|
101667
|
-
"text": "
|
|
101671
|
+
"text": "boolean"
|
|
101668
101672
|
},
|
|
101669
|
-
"
|
|
101670
|
-
"description": "Where to display the linked URL.",
|
|
101671
|
-
"fieldName": "target",
|
|
101673
|
+
"fieldName": "disabled",
|
|
101672
101674
|
"inheritedFrom": {
|
|
101673
|
-
"name": "
|
|
101674
|
-
"module": "core/
|
|
101675
|
+
"name": "SbbDisabledMixin",
|
|
101676
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101675
101677
|
}
|
|
101676
101678
|
},
|
|
101677
101679
|
{
|
|
101678
|
-
"name": "
|
|
101680
|
+
"name": "value",
|
|
101679
101681
|
"type": {
|
|
101680
101682
|
"text": "string"
|
|
101681
101683
|
},
|
|
101682
101684
|
"default": "''",
|
|
101683
|
-
"description": "
|
|
101684
|
-
"fieldName": "
|
|
101685
|
+
"description": "Value of the form element.",
|
|
101686
|
+
"fieldName": "value",
|
|
101685
101687
|
"inheritedFrom": {
|
|
101686
|
-
"name": "
|
|
101687
|
-
"module": "core/base-elements/
|
|
101688
|
+
"name": "SbbButtonBaseElement",
|
|
101689
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101688
101690
|
}
|
|
101689
101691
|
},
|
|
101690
101692
|
{
|
|
101691
|
-
"name": "
|
|
101693
|
+
"name": "type",
|
|
101694
|
+
"description": "The type attribute to use for the button.",
|
|
101695
|
+
"default": "'button'",
|
|
101692
101696
|
"type": {
|
|
101693
|
-
"text": "
|
|
101697
|
+
"text": "SbbButtonType"
|
|
101694
101698
|
},
|
|
101695
|
-
"
|
|
101696
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
101697
|
-
"fieldName": "download",
|
|
101699
|
+
"fieldName": "type",
|
|
101698
101700
|
"inheritedFrom": {
|
|
101699
|
-
"name": "
|
|
101700
|
-
"module": "core/base-elements/
|
|
101701
|
+
"name": "SbbButtonBaseElement",
|
|
101702
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101701
101703
|
}
|
|
101702
101704
|
},
|
|
101703
101705
|
{
|
|
101704
|
-
"name": "
|
|
101706
|
+
"name": "form",
|
|
101707
|
+
"description": "The `<form>` element to associate the button with.",
|
|
101705
101708
|
"type": {
|
|
101706
|
-
"text": "
|
|
101709
|
+
"text": "HTMLFormElement | null"
|
|
101707
101710
|
},
|
|
101708
|
-
"
|
|
101709
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
101710
|
-
"fieldName": "accessibilityLabel",
|
|
101711
|
+
"fieldName": "form",
|
|
101711
101712
|
"inheritedFrom": {
|
|
101712
|
-
"name": "
|
|
101713
|
-
"module": "core/base-elements/
|
|
101713
|
+
"name": "SbbButtonBaseElement",
|
|
101714
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101714
101715
|
}
|
|
101715
101716
|
},
|
|
101716
101717
|
{
|
|
101717
|
-
"name": "
|
|
101718
|
+
"name": "name",
|
|
101719
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
101718
101720
|
"type": {
|
|
101719
101721
|
"text": "string"
|
|
101720
101722
|
},
|
|
101721
|
-
"
|
|
101722
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
101723
|
-
"fieldName": "accessibilityCurrent",
|
|
101723
|
+
"fieldName": "name",
|
|
101724
101724
|
"inheritedFrom": {
|
|
101725
|
-
"name": "
|
|
101726
|
-
"module": "core/
|
|
101725
|
+
"name": "SbbFormAssociatedMixin",
|
|
101726
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101727
101727
|
}
|
|
101728
101728
|
}
|
|
101729
101729
|
]
|
|
@@ -101732,10 +101732,10 @@
|
|
|
101732
101732
|
"exports": [
|
|
101733
101733
|
{
|
|
101734
101734
|
"kind": "js",
|
|
101735
|
-
"name": "
|
|
101735
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101736
101736
|
"declaration": {
|
|
101737
|
-
"name": "
|
|
101738
|
-
"module": "link/block-link/block-link.component.js"
|
|
101737
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101738
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
101739
101739
|
}
|
|
101740
101740
|
}
|
|
101741
101741
|
]
|