@sbb-esta/lyne-elements-dev 5.0.0-next.1-dev.1777554721 → 5.0.0-next.1-dev.1777673087
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 +1574 -1574
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -125113,51 +125113,20 @@
|
|
|
125113
125113
|
},
|
|
125114
125114
|
{
|
|
125115
125115
|
"kind": "javascript-module",
|
|
125116
|
-
"path": "link/
|
|
125116
|
+
"path": "link/common/block-link-common.js",
|
|
125117
125117
|
"declarations": [
|
|
125118
125118
|
{
|
|
125119
125119
|
"kind": "class",
|
|
125120
|
-
"description": "
|
|
125121
|
-
"name": "
|
|
125122
|
-
"slots": [
|
|
125123
|
-
{
|
|
125124
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
125125
|
-
"name": ""
|
|
125126
|
-
},
|
|
125127
|
-
{
|
|
125128
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
125129
|
-
"name": "icon"
|
|
125130
|
-
}
|
|
125131
|
-
],
|
|
125120
|
+
"description": "",
|
|
125121
|
+
"name": "SbbBlockLinkCommonElementMixinType",
|
|
125132
125122
|
"members": [
|
|
125133
125123
|
{
|
|
125134
125124
|
"kind": "field",
|
|
125135
|
-
"name": "
|
|
125136
|
-
"type": {
|
|
125137
|
-
"text": "string"
|
|
125138
|
-
},
|
|
125139
|
-
"privacy": "public",
|
|
125140
|
-
"static": true,
|
|
125141
|
-
"readonly": true,
|
|
125142
|
-
"inheritedFrom": {
|
|
125143
|
-
"name": "SbbElement",
|
|
125144
|
-
"module": "core/base-elements/element.js"
|
|
125145
|
-
},
|
|
125146
|
-
"default": "'sbb-block-link-static'"
|
|
125147
|
-
},
|
|
125148
|
-
{
|
|
125149
|
-
"kind": "field",
|
|
125150
|
-
"name": "styles",
|
|
125125
|
+
"name": "iconPlacement",
|
|
125151
125126
|
"type": {
|
|
125152
|
-
"text": "
|
|
125127
|
+
"text": "SbbIconPlacement"
|
|
125153
125128
|
},
|
|
125154
|
-
"privacy": "public"
|
|
125155
|
-
"static": true,
|
|
125156
|
-
"default": "[unsafeCSS(blockStyle)]",
|
|
125157
|
-
"inheritedFrom": {
|
|
125158
|
-
"name": "SbbLinkCommonElementMixin",
|
|
125159
|
-
"module": "link/common/link-common.js"
|
|
125160
|
-
}
|
|
125129
|
+
"privacy": "public"
|
|
125161
125130
|
},
|
|
125162
125131
|
{
|
|
125163
125132
|
"kind": "field",
|
|
@@ -125165,30 +125134,20 @@
|
|
|
125165
125134
|
"type": {
|
|
125166
125135
|
"text": "SbbLinkSize"
|
|
125167
125136
|
},
|
|
125168
|
-
"privacy": "public"
|
|
125169
|
-
"description": "Size variant, either xs, s or m.",
|
|
125170
|
-
"default": "'s' / 'xs' (lean)",
|
|
125171
|
-
"attribute": "size",
|
|
125172
|
-
"reflects": true,
|
|
125173
|
-
"inheritedFrom": {
|
|
125174
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
125175
|
-
"module": "link/common/block-link-common.js"
|
|
125176
|
-
}
|
|
125137
|
+
"privacy": "public"
|
|
125177
125138
|
},
|
|
125178
125139
|
{
|
|
125179
125140
|
"kind": "field",
|
|
125180
|
-
"name": "
|
|
125141
|
+
"name": "styles",
|
|
125181
125142
|
"type": {
|
|
125182
|
-
"text": "
|
|
125143
|
+
"text": "CSSResultGroup"
|
|
125183
125144
|
},
|
|
125184
125145
|
"privacy": "public",
|
|
125185
|
-
"
|
|
125186
|
-
"
|
|
125187
|
-
"attribute": "icon-placement",
|
|
125188
|
-
"reflects": true,
|
|
125146
|
+
"static": true,
|
|
125147
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
125189
125148
|
"inheritedFrom": {
|
|
125190
|
-
"name": "
|
|
125191
|
-
"module": "link/common/
|
|
125149
|
+
"name": "SbbLinkCommonElementMixin",
|
|
125150
|
+
"module": "link/common/link-common.js"
|
|
125192
125151
|
}
|
|
125193
125152
|
},
|
|
125194
125153
|
{
|
|
@@ -125206,6 +125165,22 @@
|
|
|
125206
125165
|
"module": "core/base-elements/action-base-element.js"
|
|
125207
125166
|
}
|
|
125208
125167
|
},
|
|
125168
|
+
{
|
|
125169
|
+
"kind": "field",
|
|
125170
|
+
"name": "negative",
|
|
125171
|
+
"type": {
|
|
125172
|
+
"text": "boolean"
|
|
125173
|
+
},
|
|
125174
|
+
"privacy": "public",
|
|
125175
|
+
"default": "false",
|
|
125176
|
+
"description": "Negative coloring variant flag.",
|
|
125177
|
+
"attribute": "negative",
|
|
125178
|
+
"reflects": true,
|
|
125179
|
+
"inheritedFrom": {
|
|
125180
|
+
"name": "SbbNegativeMixin",
|
|
125181
|
+
"module": "core/mixins/negative-mixin.js"
|
|
125182
|
+
}
|
|
125183
|
+
},
|
|
125209
125184
|
{
|
|
125210
125185
|
"kind": "field",
|
|
125211
125186
|
"name": "elementDependencies",
|
|
@@ -125286,50 +125261,6 @@
|
|
|
125286
125261
|
"module": "icon/icon-name-mixin.js"
|
|
125287
125262
|
}
|
|
125288
125263
|
},
|
|
125289
|
-
{
|
|
125290
|
-
"kind": "field",
|
|
125291
|
-
"name": "disabled",
|
|
125292
|
-
"privacy": "public",
|
|
125293
|
-
"description": "Whether the component is disabled.",
|
|
125294
|
-
"default": "false",
|
|
125295
|
-
"type": {
|
|
125296
|
-
"text": "boolean"
|
|
125297
|
-
},
|
|
125298
|
-
"attribute": "disabled",
|
|
125299
|
-
"reflects": true,
|
|
125300
|
-
"inheritedFrom": {
|
|
125301
|
-
"name": "SbbDisabledMixin",
|
|
125302
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
125303
|
-
}
|
|
125304
|
-
},
|
|
125305
|
-
{
|
|
125306
|
-
"kind": "field",
|
|
125307
|
-
"name": "#disabled",
|
|
125308
|
-
"privacy": "private",
|
|
125309
|
-
"type": {
|
|
125310
|
-
"text": "boolean"
|
|
125311
|
-
},
|
|
125312
|
-
"default": "false",
|
|
125313
|
-
"inheritedFrom": {
|
|
125314
|
-
"name": "SbbDisabledMixin",
|
|
125315
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
125316
|
-
}
|
|
125317
|
-
},
|
|
125318
|
-
{
|
|
125319
|
-
"kind": "method",
|
|
125320
|
-
"name": "isDisabledExternally",
|
|
125321
|
-
"privacy": "protected",
|
|
125322
|
-
"return": {
|
|
125323
|
-
"type": {
|
|
125324
|
-
"text": "boolean"
|
|
125325
|
-
}
|
|
125326
|
-
},
|
|
125327
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
125328
|
-
"inheritedFrom": {
|
|
125329
|
-
"name": "SbbDisabledMixin",
|
|
125330
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
125331
|
-
}
|
|
125332
|
-
},
|
|
125333
125264
|
{
|
|
125334
125265
|
"kind": "field",
|
|
125335
125266
|
"name": "maybeDisabled",
|
|
@@ -125384,6 +125315,20 @@
|
|
|
125384
125315
|
"module": "core/base-elements/element.js"
|
|
125385
125316
|
}
|
|
125386
125317
|
},
|
|
125318
|
+
{
|
|
125319
|
+
"kind": "field",
|
|
125320
|
+
"name": "elementName",
|
|
125321
|
+
"type": {
|
|
125322
|
+
"text": "string"
|
|
125323
|
+
},
|
|
125324
|
+
"privacy": "public",
|
|
125325
|
+
"static": true,
|
|
125326
|
+
"readonly": true,
|
|
125327
|
+
"inheritedFrom": {
|
|
125328
|
+
"name": "SbbElement",
|
|
125329
|
+
"module": "core/base-elements/element.js"
|
|
125330
|
+
}
|
|
125331
|
+
},
|
|
125387
125332
|
{
|
|
125388
125333
|
"kind": "field",
|
|
125389
125334
|
"name": "role",
|
|
@@ -125643,45 +125588,30 @@
|
|
|
125643
125588
|
],
|
|
125644
125589
|
"mixins": [
|
|
125645
125590
|
{
|
|
125646
|
-
"name": "
|
|
125647
|
-
"module": "link/common/
|
|
125591
|
+
"name": "SbbLinkCommonElementMixin",
|
|
125592
|
+
"module": "link/common/link-common.js"
|
|
125648
125593
|
},
|
|
125649
125594
|
{
|
|
125650
|
-
"name": "
|
|
125651
|
-
"module": "
|
|
125595
|
+
"name": "SbbIconNameMixin",
|
|
125596
|
+
"module": "icon.pure.js"
|
|
125652
125597
|
}
|
|
125653
125598
|
],
|
|
125654
125599
|
"superclass": {
|
|
125655
125600
|
"name": "SbbActionBaseElement",
|
|
125656
125601
|
"module": "core.js"
|
|
125657
125602
|
},
|
|
125658
|
-
"tagName": "sbb-block-link-static",
|
|
125659
|
-
"customElement": true,
|
|
125660
125603
|
"attributes": [
|
|
125661
125604
|
{
|
|
125662
|
-
"name": "
|
|
125663
|
-
"type": {
|
|
125664
|
-
"text": "SbbLinkSize"
|
|
125665
|
-
},
|
|
125666
|
-
"description": "Size variant, either xs, s or m.",
|
|
125667
|
-
"default": "'s' / 'xs' (lean)",
|
|
125668
|
-
"fieldName": "size",
|
|
125669
|
-
"inheritedFrom": {
|
|
125670
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
125671
|
-
"module": "link/common/block-link-common.js"
|
|
125672
|
-
}
|
|
125673
|
-
},
|
|
125674
|
-
{
|
|
125675
|
-
"name": "icon-placement",
|
|
125605
|
+
"name": "negative",
|
|
125676
125606
|
"type": {
|
|
125677
|
-
"text": "
|
|
125607
|
+
"text": "boolean"
|
|
125678
125608
|
},
|
|
125679
|
-
"default": "
|
|
125680
|
-
"description": "
|
|
125681
|
-
"fieldName": "
|
|
125609
|
+
"default": "false",
|
|
125610
|
+
"description": "Negative coloring variant flag.",
|
|
125611
|
+
"fieldName": "negative",
|
|
125682
125612
|
"inheritedFrom": {
|
|
125683
|
-
"name": "
|
|
125684
|
-
"module": "
|
|
125613
|
+
"name": "SbbNegativeMixin",
|
|
125614
|
+
"module": "core/mixins/negative-mixin.js"
|
|
125685
125615
|
}
|
|
125686
125616
|
},
|
|
125687
125617
|
{
|
|
@@ -125696,50 +125626,27 @@
|
|
|
125696
125626
|
"name": "SbbIconNameMixin",
|
|
125697
125627
|
"module": "icon/icon-name-mixin.js"
|
|
125698
125628
|
}
|
|
125699
|
-
},
|
|
125700
|
-
{
|
|
125701
|
-
"name": "disabled",
|
|
125702
|
-
"description": "Whether the component is disabled.",
|
|
125703
|
-
"default": "false",
|
|
125704
|
-
"type": {
|
|
125705
|
-
"text": "boolean"
|
|
125706
|
-
},
|
|
125707
|
-
"fieldName": "disabled",
|
|
125708
|
-
"inheritedFrom": {
|
|
125709
|
-
"name": "SbbDisabledMixin",
|
|
125710
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
125711
|
-
}
|
|
125712
125629
|
}
|
|
125713
125630
|
]
|
|
125714
|
-
}
|
|
125715
|
-
],
|
|
125716
|
-
"exports": [
|
|
125717
|
-
{
|
|
125718
|
-
"kind": "js",
|
|
125719
|
-
"name": "SbbBlockLinkStaticElement",
|
|
125720
|
-
"declaration": {
|
|
125721
|
-
"name": "SbbBlockLinkStaticElement",
|
|
125722
|
-
"module": "link/block-link-static/block-link-static.component.js"
|
|
125723
|
-
}
|
|
125724
|
-
}
|
|
125725
|
-
]
|
|
125726
|
-
},
|
|
125727
|
-
{
|
|
125728
|
-
"kind": "javascript-module",
|
|
125729
|
-
"path": "link/common/block-link-common.js",
|
|
125730
|
-
"declarations": [
|
|
125631
|
+
},
|
|
125731
125632
|
{
|
|
125732
|
-
"kind": "
|
|
125633
|
+
"kind": "mixin",
|
|
125733
125634
|
"description": "",
|
|
125734
|
-
"name": "
|
|
125635
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
125735
125636
|
"members": [
|
|
125736
125637
|
{
|
|
125737
125638
|
"kind": "field",
|
|
125738
|
-
"name": "
|
|
125639
|
+
"name": "styles",
|
|
125739
125640
|
"type": {
|
|
125740
|
-
"text": "
|
|
125641
|
+
"text": "CSSResultGroup"
|
|
125741
125642
|
},
|
|
125742
|
-
"privacy": "public"
|
|
125643
|
+
"privacy": "public",
|
|
125644
|
+
"static": true,
|
|
125645
|
+
"default": "[unsafeCSS(blockStyle)]",
|
|
125646
|
+
"inheritedFrom": {
|
|
125647
|
+
"name": "SbbLinkCommonElementMixin",
|
|
125648
|
+
"module": "link/common/link-common.js"
|
|
125649
|
+
}
|
|
125743
125650
|
},
|
|
125744
125651
|
{
|
|
125745
125652
|
"kind": "field",
|
|
@@ -125747,21 +125654,23 @@
|
|
|
125747
125654
|
"type": {
|
|
125748
125655
|
"text": "SbbLinkSize"
|
|
125749
125656
|
},
|
|
125750
|
-
"privacy": "public"
|
|
125657
|
+
"privacy": "public",
|
|
125658
|
+
"description": "Size variant, either xs, s or m.",
|
|
125659
|
+
"default": "'s' / 'xs' (lean)",
|
|
125660
|
+
"attribute": "size",
|
|
125661
|
+
"reflects": true
|
|
125751
125662
|
},
|
|
125752
125663
|
{
|
|
125753
125664
|
"kind": "field",
|
|
125754
|
-
"name": "
|
|
125665
|
+
"name": "iconPlacement",
|
|
125755
125666
|
"type": {
|
|
125756
|
-
"text": "
|
|
125667
|
+
"text": "SbbIconPlacement"
|
|
125757
125668
|
},
|
|
125758
125669
|
"privacy": "public",
|
|
125759
|
-
"
|
|
125760
|
-
"
|
|
125761
|
-
"
|
|
125762
|
-
|
|
125763
|
-
"module": "link/common/link-common.js"
|
|
125764
|
-
}
|
|
125670
|
+
"default": "'start'",
|
|
125671
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
125672
|
+
"attribute": "icon-placement",
|
|
125673
|
+
"reflects": true
|
|
125765
125674
|
},
|
|
125766
125675
|
{
|
|
125767
125676
|
"kind": "method",
|
|
@@ -125772,10 +125681,9 @@
|
|
|
125772
125681
|
"text": "TemplateResult"
|
|
125773
125682
|
}
|
|
125774
125683
|
},
|
|
125775
|
-
"description": "Override this method to render the component template.",
|
|
125776
125684
|
"inheritedFrom": {
|
|
125777
|
-
"name": "
|
|
125778
|
-
"module": "
|
|
125685
|
+
"name": "SbbLinkCommonElementMixin",
|
|
125686
|
+
"module": "link/common/link-common.js"
|
|
125779
125687
|
}
|
|
125780
125688
|
},
|
|
125781
125689
|
{
|
|
@@ -125802,12 +125710,12 @@
|
|
|
125802
125710
|
},
|
|
125803
125711
|
"privacy": "public",
|
|
125804
125712
|
"static": true,
|
|
125713
|
+
"default": "[SbbIconElement]",
|
|
125805
125714
|
"inheritedFrom": {
|
|
125806
|
-
"name": "
|
|
125807
|
-
"module": "
|
|
125808
|
-
}
|
|
125809
|
-
|
|
125810
|
-
},
|
|
125715
|
+
"name": "SbbIconNameMixin",
|
|
125716
|
+
"module": "icon/icon-name-mixin.js"
|
|
125717
|
+
}
|
|
125718
|
+
},
|
|
125811
125719
|
{
|
|
125812
125720
|
"kind": "field",
|
|
125813
125721
|
"name": "iconName",
|
|
@@ -125873,6 +125781,156 @@
|
|
|
125873
125781
|
"name": "SbbIconNameMixin",
|
|
125874
125782
|
"module": "icon/icon-name-mixin.js"
|
|
125875
125783
|
}
|
|
125784
|
+
}
|
|
125785
|
+
],
|
|
125786
|
+
"attributes": [
|
|
125787
|
+
{
|
|
125788
|
+
"name": "size",
|
|
125789
|
+
"type": {
|
|
125790
|
+
"text": "SbbLinkSize"
|
|
125791
|
+
},
|
|
125792
|
+
"description": "Size variant, either xs, s or m.",
|
|
125793
|
+
"default": "'s' / 'xs' (lean)",
|
|
125794
|
+
"fieldName": "size"
|
|
125795
|
+
},
|
|
125796
|
+
{
|
|
125797
|
+
"name": "icon-placement",
|
|
125798
|
+
"type": {
|
|
125799
|
+
"text": "SbbIconPlacement"
|
|
125800
|
+
},
|
|
125801
|
+
"default": "'start'",
|
|
125802
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
125803
|
+
"fieldName": "iconPlacement"
|
|
125804
|
+
},
|
|
125805
|
+
{
|
|
125806
|
+
"name": "negative",
|
|
125807
|
+
"type": {
|
|
125808
|
+
"text": "boolean"
|
|
125809
|
+
},
|
|
125810
|
+
"default": "false",
|
|
125811
|
+
"description": "Negative coloring variant flag.",
|
|
125812
|
+
"fieldName": "negative",
|
|
125813
|
+
"inheritedFrom": {
|
|
125814
|
+
"name": "SbbNegativeMixin",
|
|
125815
|
+
"module": "core/mixins/negative-mixin.js"
|
|
125816
|
+
}
|
|
125817
|
+
},
|
|
125818
|
+
{
|
|
125819
|
+
"name": "icon-name",
|
|
125820
|
+
"type": {
|
|
125821
|
+
"text": "string"
|
|
125822
|
+
},
|
|
125823
|
+
"default": "''",
|
|
125824
|
+
"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.",
|
|
125825
|
+
"fieldName": "iconName",
|
|
125826
|
+
"inheritedFrom": {
|
|
125827
|
+
"name": "SbbIconNameMixin",
|
|
125828
|
+
"module": "icon/icon-name-mixin.js"
|
|
125829
|
+
}
|
|
125830
|
+
}
|
|
125831
|
+
],
|
|
125832
|
+
"mixins": [
|
|
125833
|
+
{
|
|
125834
|
+
"name": "SbbLinkCommonElementMixin",
|
|
125835
|
+
"module": "link/common/link-common.js"
|
|
125836
|
+
},
|
|
125837
|
+
{
|
|
125838
|
+
"name": "SbbIconNameMixin",
|
|
125839
|
+
"module": "icon.pure.js"
|
|
125840
|
+
}
|
|
125841
|
+
],
|
|
125842
|
+
"parameters": [
|
|
125843
|
+
{
|
|
125844
|
+
"name": "superClass",
|
|
125845
|
+
"type": {
|
|
125846
|
+
"text": "T"
|
|
125847
|
+
}
|
|
125848
|
+
}
|
|
125849
|
+
]
|
|
125850
|
+
}
|
|
125851
|
+
],
|
|
125852
|
+
"exports": [
|
|
125853
|
+
{
|
|
125854
|
+
"kind": "js",
|
|
125855
|
+
"name": "SbbBlockLinkCommonElementMixinType",
|
|
125856
|
+
"declaration": {
|
|
125857
|
+
"name": "SbbBlockLinkCommonElementMixinType",
|
|
125858
|
+
"module": "link/common/block-link-common.js"
|
|
125859
|
+
}
|
|
125860
|
+
},
|
|
125861
|
+
{
|
|
125862
|
+
"kind": "js",
|
|
125863
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
125864
|
+
"declaration": {
|
|
125865
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
125866
|
+
"module": "link/common/block-link-common.js"
|
|
125867
|
+
}
|
|
125868
|
+
}
|
|
125869
|
+
]
|
|
125870
|
+
},
|
|
125871
|
+
{
|
|
125872
|
+
"kind": "javascript-module",
|
|
125873
|
+
"path": "link/common/inline-link-common.js",
|
|
125874
|
+
"declarations": [
|
|
125875
|
+
{
|
|
125876
|
+
"kind": "class",
|
|
125877
|
+
"description": "",
|
|
125878
|
+
"name": "SbbInlineLinkCommonElementMixinType",
|
|
125879
|
+
"mixins": [
|
|
125880
|
+
{
|
|
125881
|
+
"name": "SbbLinkCommonElementMixin",
|
|
125882
|
+
"module": "link/common/link-common.js"
|
|
125883
|
+
}
|
|
125884
|
+
],
|
|
125885
|
+
"superclass": {
|
|
125886
|
+
"name": "SbbActionBaseElement",
|
|
125887
|
+
"module": "core.js"
|
|
125888
|
+
},
|
|
125889
|
+
"members": [
|
|
125890
|
+
{
|
|
125891
|
+
"kind": "field",
|
|
125892
|
+
"name": "styles",
|
|
125893
|
+
"type": {
|
|
125894
|
+
"text": "CSSResultGroup"
|
|
125895
|
+
},
|
|
125896
|
+
"privacy": "public",
|
|
125897
|
+
"static": true,
|
|
125898
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
125899
|
+
"inheritedFrom": {
|
|
125900
|
+
"name": "SbbLinkCommonElementMixin",
|
|
125901
|
+
"module": "link/common/link-common.js"
|
|
125902
|
+
}
|
|
125903
|
+
},
|
|
125904
|
+
{
|
|
125905
|
+
"kind": "method",
|
|
125906
|
+
"name": "renderTemplate",
|
|
125907
|
+
"privacy": "protected",
|
|
125908
|
+
"return": {
|
|
125909
|
+
"type": {
|
|
125910
|
+
"text": "TemplateResult"
|
|
125911
|
+
}
|
|
125912
|
+
},
|
|
125913
|
+
"description": "Override this method to render the component template.",
|
|
125914
|
+
"inheritedFrom": {
|
|
125915
|
+
"name": "SbbActionBaseElement",
|
|
125916
|
+
"module": "core/base-elements/action-base-element.js"
|
|
125917
|
+
}
|
|
125918
|
+
},
|
|
125919
|
+
{
|
|
125920
|
+
"kind": "field",
|
|
125921
|
+
"name": "negative",
|
|
125922
|
+
"type": {
|
|
125923
|
+
"text": "boolean"
|
|
125924
|
+
},
|
|
125925
|
+
"privacy": "public",
|
|
125926
|
+
"default": "false",
|
|
125927
|
+
"description": "Negative coloring variant flag.",
|
|
125928
|
+
"attribute": "negative",
|
|
125929
|
+
"reflects": true,
|
|
125930
|
+
"inheritedFrom": {
|
|
125931
|
+
"name": "SbbNegativeMixin",
|
|
125932
|
+
"module": "core/mixins/negative-mixin.js"
|
|
125933
|
+
}
|
|
125876
125934
|
},
|
|
125877
125935
|
{
|
|
125878
125936
|
"kind": "field",
|
|
@@ -125942,6 +126000,19 @@
|
|
|
125942
126000
|
"module": "core/base-elements/element.js"
|
|
125943
126001
|
}
|
|
125944
126002
|
},
|
|
126003
|
+
{
|
|
126004
|
+
"kind": "field",
|
|
126005
|
+
"name": "elementDependencies",
|
|
126006
|
+
"type": {
|
|
126007
|
+
"text": "SbbElementType[] | undefined"
|
|
126008
|
+
},
|
|
126009
|
+
"privacy": "public",
|
|
126010
|
+
"static": true,
|
|
126011
|
+
"inheritedFrom": {
|
|
126012
|
+
"name": "SbbElement",
|
|
126013
|
+
"module": "core/base-elements/element.js"
|
|
126014
|
+
}
|
|
126015
|
+
},
|
|
125945
126016
|
{
|
|
125946
126017
|
"kind": "field",
|
|
125947
126018
|
"name": "role",
|
|
@@ -126199,20 +126270,6 @@
|
|
|
126199
126270
|
}
|
|
126200
126271
|
}
|
|
126201
126272
|
],
|
|
126202
|
-
"mixins": [
|
|
126203
|
-
{
|
|
126204
|
-
"name": "SbbLinkCommonElementMixin",
|
|
126205
|
-
"module": "link/common/link-common.js"
|
|
126206
|
-
},
|
|
126207
|
-
{
|
|
126208
|
-
"name": "SbbIconNameMixin",
|
|
126209
|
-
"module": "icon.pure.js"
|
|
126210
|
-
}
|
|
126211
|
-
],
|
|
126212
|
-
"superclass": {
|
|
126213
|
-
"name": "SbbActionBaseElement",
|
|
126214
|
-
"module": "core.js"
|
|
126215
|
-
},
|
|
126216
126273
|
"attributes": [
|
|
126217
126274
|
{
|
|
126218
126275
|
"name": "negative",
|
|
@@ -126226,26 +126283,13 @@
|
|
|
126226
126283
|
"name": "SbbNegativeMixin",
|
|
126227
126284
|
"module": "core/mixins/negative-mixin.js"
|
|
126228
126285
|
}
|
|
126229
|
-
},
|
|
126230
|
-
{
|
|
126231
|
-
"name": "icon-name",
|
|
126232
|
-
"type": {
|
|
126233
|
-
"text": "string"
|
|
126234
|
-
},
|
|
126235
|
-
"default": "''",
|
|
126236
|
-
"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.",
|
|
126237
|
-
"fieldName": "iconName",
|
|
126238
|
-
"inheritedFrom": {
|
|
126239
|
-
"name": "SbbIconNameMixin",
|
|
126240
|
-
"module": "icon/icon-name-mixin.js"
|
|
126241
|
-
}
|
|
126242
126286
|
}
|
|
126243
126287
|
]
|
|
126244
126288
|
},
|
|
126245
126289
|
{
|
|
126246
126290
|
"kind": "mixin",
|
|
126247
126291
|
"description": "",
|
|
126248
|
-
"name": "
|
|
126292
|
+
"name": "SbbInlineLinkCommonElementMixin",
|
|
126249
126293
|
"members": [
|
|
126250
126294
|
{
|
|
126251
126295
|
"kind": "field",
|
|
@@ -126255,36 +126299,12 @@
|
|
|
126255
126299
|
},
|
|
126256
126300
|
"privacy": "public",
|
|
126257
126301
|
"static": true,
|
|
126258
|
-
"default": "[unsafeCSS(
|
|
126302
|
+
"default": "[unsafeCSS(inlineStyle)]",
|
|
126259
126303
|
"inheritedFrom": {
|
|
126260
126304
|
"name": "SbbLinkCommonElementMixin",
|
|
126261
126305
|
"module": "link/common/link-common.js"
|
|
126262
126306
|
}
|
|
126263
126307
|
},
|
|
126264
|
-
{
|
|
126265
|
-
"kind": "field",
|
|
126266
|
-
"name": "size",
|
|
126267
|
-
"type": {
|
|
126268
|
-
"text": "SbbLinkSize"
|
|
126269
|
-
},
|
|
126270
|
-
"privacy": "public",
|
|
126271
|
-
"description": "Size variant, either xs, s or m.",
|
|
126272
|
-
"default": "'s' / 'xs' (lean)",
|
|
126273
|
-
"attribute": "size",
|
|
126274
|
-
"reflects": true
|
|
126275
|
-
},
|
|
126276
|
-
{
|
|
126277
|
-
"kind": "field",
|
|
126278
|
-
"name": "iconPlacement",
|
|
126279
|
-
"type": {
|
|
126280
|
-
"text": "SbbIconPlacement"
|
|
126281
|
-
},
|
|
126282
|
-
"privacy": "public",
|
|
126283
|
-
"default": "'start'",
|
|
126284
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
126285
|
-
"attribute": "icon-placement",
|
|
126286
|
-
"reflects": true
|
|
126287
|
-
},
|
|
126288
126308
|
{
|
|
126289
126309
|
"kind": "method",
|
|
126290
126310
|
"name": "renderTemplate",
|
|
@@ -126314,111 +126334,27 @@
|
|
|
126314
126334
|
"name": "SbbNegativeMixin",
|
|
126315
126335
|
"module": "core/mixins/negative-mixin.js"
|
|
126316
126336
|
}
|
|
126317
|
-
}
|
|
126337
|
+
}
|
|
126338
|
+
],
|
|
126339
|
+
"mixins": [
|
|
126318
126340
|
{
|
|
126319
|
-
"
|
|
126320
|
-
"
|
|
126341
|
+
"name": "SbbLinkCommonElementMixin",
|
|
126342
|
+
"module": "link/common/link-common.js"
|
|
126343
|
+
}
|
|
126344
|
+
],
|
|
126345
|
+
"parameters": [
|
|
126346
|
+
{
|
|
126347
|
+
"name": "superClass",
|
|
126321
126348
|
"type": {
|
|
126322
|
-
"text": "
|
|
126323
|
-
},
|
|
126324
|
-
"privacy": "public",
|
|
126325
|
-
"static": true,
|
|
126326
|
-
"default": "[SbbIconElement]",
|
|
126327
|
-
"inheritedFrom": {
|
|
126328
|
-
"name": "SbbIconNameMixin",
|
|
126329
|
-
"module": "icon/icon-name-mixin.js"
|
|
126349
|
+
"text": "T"
|
|
126330
126350
|
}
|
|
126331
|
-
}
|
|
126351
|
+
}
|
|
126352
|
+
],
|
|
126353
|
+
"attributes": [
|
|
126332
126354
|
{
|
|
126333
|
-
"
|
|
126334
|
-
"name": "iconName",
|
|
126355
|
+
"name": "negative",
|
|
126335
126356
|
"type": {
|
|
126336
|
-
"text": "
|
|
126337
|
-
},
|
|
126338
|
-
"privacy": "public",
|
|
126339
|
-
"default": "''",
|
|
126340
|
-
"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.",
|
|
126341
|
-
"attribute": "icon-name",
|
|
126342
|
-
"inheritedFrom": {
|
|
126343
|
-
"name": "SbbIconNameMixin",
|
|
126344
|
-
"module": "icon/icon-name-mixin.js"
|
|
126345
|
-
}
|
|
126346
|
-
},
|
|
126347
|
-
{
|
|
126348
|
-
"kind": "method",
|
|
126349
|
-
"name": "renderIconSlot",
|
|
126350
|
-
"privacy": "protected",
|
|
126351
|
-
"return": {
|
|
126352
|
-
"type": {
|
|
126353
|
-
"text": "TemplateResult"
|
|
126354
|
-
}
|
|
126355
|
-
},
|
|
126356
|
-
"parameters": [
|
|
126357
|
-
{
|
|
126358
|
-
"name": "classname",
|
|
126359
|
-
"optional": true,
|
|
126360
|
-
"type": {
|
|
126361
|
-
"text": "string"
|
|
126362
|
-
}
|
|
126363
|
-
}
|
|
126364
|
-
],
|
|
126365
|
-
"inheritedFrom": {
|
|
126366
|
-
"name": "SbbIconNameMixin",
|
|
126367
|
-
"module": "icon/icon-name-mixin.js"
|
|
126368
|
-
}
|
|
126369
|
-
},
|
|
126370
|
-
{
|
|
126371
|
-
"kind": "method",
|
|
126372
|
-
"name": "renderIconName",
|
|
126373
|
-
"privacy": "protected",
|
|
126374
|
-
"return": {
|
|
126375
|
-
"type": {
|
|
126376
|
-
"text": "string"
|
|
126377
|
-
}
|
|
126378
|
-
},
|
|
126379
|
-
"inheritedFrom": {
|
|
126380
|
-
"name": "SbbIconNameMixin",
|
|
126381
|
-
"module": "icon/icon-name-mixin.js"
|
|
126382
|
-
}
|
|
126383
|
-
},
|
|
126384
|
-
{
|
|
126385
|
-
"kind": "method",
|
|
126386
|
-
"name": "_renderIconName",
|
|
126387
|
-
"privacy": "private",
|
|
126388
|
-
"return": {
|
|
126389
|
-
"type": {
|
|
126390
|
-
"text": "string"
|
|
126391
|
-
}
|
|
126392
|
-
},
|
|
126393
|
-
"inheritedFrom": {
|
|
126394
|
-
"name": "SbbIconNameMixin",
|
|
126395
|
-
"module": "icon/icon-name-mixin.js"
|
|
126396
|
-
}
|
|
126397
|
-
}
|
|
126398
|
-
],
|
|
126399
|
-
"attributes": [
|
|
126400
|
-
{
|
|
126401
|
-
"name": "size",
|
|
126402
|
-
"type": {
|
|
126403
|
-
"text": "SbbLinkSize"
|
|
126404
|
-
},
|
|
126405
|
-
"description": "Size variant, either xs, s or m.",
|
|
126406
|
-
"default": "'s' / 'xs' (lean)",
|
|
126407
|
-
"fieldName": "size"
|
|
126408
|
-
},
|
|
126409
|
-
{
|
|
126410
|
-
"name": "icon-placement",
|
|
126411
|
-
"type": {
|
|
126412
|
-
"text": "SbbIconPlacement"
|
|
126413
|
-
},
|
|
126414
|
-
"default": "'start'",
|
|
126415
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
126416
|
-
"fieldName": "iconPlacement"
|
|
126417
|
-
},
|
|
126418
|
-
{
|
|
126419
|
-
"name": "negative",
|
|
126420
|
-
"type": {
|
|
126421
|
-
"text": "boolean"
|
|
126357
|
+
"text": "boolean"
|
|
126422
126358
|
},
|
|
126423
126359
|
"default": "false",
|
|
126424
126360
|
"description": "Negative coloring variant flag.",
|
|
@@ -126427,37 +126363,6 @@
|
|
|
126427
126363
|
"name": "SbbNegativeMixin",
|
|
126428
126364
|
"module": "core/mixins/negative-mixin.js"
|
|
126429
126365
|
}
|
|
126430
|
-
},
|
|
126431
|
-
{
|
|
126432
|
-
"name": "icon-name",
|
|
126433
|
-
"type": {
|
|
126434
|
-
"text": "string"
|
|
126435
|
-
},
|
|
126436
|
-
"default": "''",
|
|
126437
|
-
"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.",
|
|
126438
|
-
"fieldName": "iconName",
|
|
126439
|
-
"inheritedFrom": {
|
|
126440
|
-
"name": "SbbIconNameMixin",
|
|
126441
|
-
"module": "icon/icon-name-mixin.js"
|
|
126442
|
-
}
|
|
126443
|
-
}
|
|
126444
|
-
],
|
|
126445
|
-
"mixins": [
|
|
126446
|
-
{
|
|
126447
|
-
"name": "SbbLinkCommonElementMixin",
|
|
126448
|
-
"module": "link/common/link-common.js"
|
|
126449
|
-
},
|
|
126450
|
-
{
|
|
126451
|
-
"name": "SbbIconNameMixin",
|
|
126452
|
-
"module": "icon.pure.js"
|
|
126453
|
-
}
|
|
126454
|
-
],
|
|
126455
|
-
"parameters": [
|
|
126456
|
-
{
|
|
126457
|
-
"name": "superClass",
|
|
126458
|
-
"type": {
|
|
126459
|
-
"text": "T"
|
|
126460
|
-
}
|
|
126461
126366
|
}
|
|
126462
126367
|
]
|
|
126463
126368
|
}
|
|
@@ -126465,70 +126370,56 @@
|
|
|
126465
126370
|
"exports": [
|
|
126466
126371
|
{
|
|
126467
126372
|
"kind": "js",
|
|
126468
|
-
"name": "
|
|
126373
|
+
"name": "SbbInlineLinkCommonElementMixinType",
|
|
126469
126374
|
"declaration": {
|
|
126470
|
-
"name": "
|
|
126471
|
-
"module": "link/common/
|
|
126375
|
+
"name": "SbbInlineLinkCommonElementMixinType",
|
|
126376
|
+
"module": "link/common/inline-link-common.js"
|
|
126472
126377
|
}
|
|
126473
126378
|
},
|
|
126474
126379
|
{
|
|
126475
126380
|
"kind": "js",
|
|
126476
|
-
"name": "
|
|
126381
|
+
"name": "SbbInlineLinkCommonElementMixin",
|
|
126477
126382
|
"declaration": {
|
|
126478
|
-
"name": "
|
|
126479
|
-
"module": "link/common/
|
|
126383
|
+
"name": "SbbInlineLinkCommonElementMixin",
|
|
126384
|
+
"module": "link/common/inline-link-common.js"
|
|
126480
126385
|
}
|
|
126481
126386
|
}
|
|
126482
126387
|
]
|
|
126483
126388
|
},
|
|
126484
126389
|
{
|
|
126485
126390
|
"kind": "javascript-module",
|
|
126486
|
-
"path": "link/common/
|
|
126391
|
+
"path": "link/common/link-common.js",
|
|
126487
126392
|
"declarations": [
|
|
126488
126393
|
{
|
|
126489
126394
|
"kind": "class",
|
|
126490
126395
|
"description": "",
|
|
126491
|
-
"name": "
|
|
126396
|
+
"name": "SbbLinkCommonElementMixinType",
|
|
126492
126397
|
"mixins": [
|
|
126493
126398
|
{
|
|
126494
|
-
"name": "
|
|
126495
|
-
"module": "
|
|
126399
|
+
"name": "SbbNegativeMixin",
|
|
126400
|
+
"module": "core.js"
|
|
126496
126401
|
}
|
|
126497
126402
|
],
|
|
126498
126403
|
"superclass": {
|
|
126499
126404
|
"name": "SbbActionBaseElement",
|
|
126500
126405
|
"module": "core.js"
|
|
126501
126406
|
},
|
|
126502
|
-
"
|
|
126407
|
+
"attributes": [
|
|
126503
126408
|
{
|
|
126504
|
-
"
|
|
126505
|
-
"name": "styles",
|
|
126409
|
+
"name": "negative",
|
|
126506
126410
|
"type": {
|
|
126507
|
-
"text": "
|
|
126508
|
-
},
|
|
126509
|
-
"privacy": "public",
|
|
126510
|
-
"static": true,
|
|
126511
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
126512
|
-
"inheritedFrom": {
|
|
126513
|
-
"name": "SbbLinkCommonElementMixin",
|
|
126514
|
-
"module": "link/common/link-common.js"
|
|
126515
|
-
}
|
|
126516
|
-
},
|
|
126517
|
-
{
|
|
126518
|
-
"kind": "method",
|
|
126519
|
-
"name": "renderTemplate",
|
|
126520
|
-
"privacy": "protected",
|
|
126521
|
-
"return": {
|
|
126522
|
-
"type": {
|
|
126523
|
-
"text": "TemplateResult"
|
|
126524
|
-
}
|
|
126411
|
+
"text": "boolean"
|
|
126525
126412
|
},
|
|
126526
|
-
"
|
|
126413
|
+
"default": "false",
|
|
126414
|
+
"description": "Negative coloring variant flag.",
|
|
126415
|
+
"fieldName": "negative",
|
|
126527
126416
|
"inheritedFrom": {
|
|
126528
|
-
"name": "
|
|
126529
|
-
"module": "core/
|
|
126417
|
+
"name": "SbbNegativeMixin",
|
|
126418
|
+
"module": "core/mixins/negative-mixin.js"
|
|
126530
126419
|
}
|
|
126531
|
-
}
|
|
126420
|
+
}
|
|
126421
|
+
],
|
|
126422
|
+
"members": [
|
|
126532
126423
|
{
|
|
126533
126424
|
"kind": "field",
|
|
126534
126425
|
"name": "negative",
|
|
@@ -126585,6 +126476,21 @@
|
|
|
126585
126476
|
"module": "core/base-elements/action-base-element.js"
|
|
126586
126477
|
}
|
|
126587
126478
|
},
|
|
126479
|
+
{
|
|
126480
|
+
"kind": "method",
|
|
126481
|
+
"name": "renderTemplate",
|
|
126482
|
+
"privacy": "protected",
|
|
126483
|
+
"return": {
|
|
126484
|
+
"type": {
|
|
126485
|
+
"text": "TemplateResult"
|
|
126486
|
+
}
|
|
126487
|
+
},
|
|
126488
|
+
"description": "Override this method to render the component template.",
|
|
126489
|
+
"inheritedFrom": {
|
|
126490
|
+
"name": "SbbActionBaseElement",
|
|
126491
|
+
"module": "core/base-elements/action-base-element.js"
|
|
126492
|
+
}
|
|
126493
|
+
},
|
|
126588
126494
|
{
|
|
126589
126495
|
"kind": "field",
|
|
126590
126496
|
"name": "['_$sbbElement$']",
|
|
@@ -126882,27 +126788,12 @@
|
|
|
126882
126788
|
"module": "core/base-elements/element.js"
|
|
126883
126789
|
}
|
|
126884
126790
|
}
|
|
126885
|
-
],
|
|
126886
|
-
"attributes": [
|
|
126887
|
-
{
|
|
126888
|
-
"name": "negative",
|
|
126889
|
-
"type": {
|
|
126890
|
-
"text": "boolean"
|
|
126891
|
-
},
|
|
126892
|
-
"default": "false",
|
|
126893
|
-
"description": "Negative coloring variant flag.",
|
|
126894
|
-
"fieldName": "negative",
|
|
126895
|
-
"inheritedFrom": {
|
|
126896
|
-
"name": "SbbNegativeMixin",
|
|
126897
|
-
"module": "core/mixins/negative-mixin.js"
|
|
126898
|
-
}
|
|
126899
|
-
}
|
|
126900
126791
|
]
|
|
126901
126792
|
},
|
|
126902
126793
|
{
|
|
126903
126794
|
"kind": "mixin",
|
|
126904
126795
|
"description": "",
|
|
126905
|
-
"name": "
|
|
126796
|
+
"name": "SbbLinkCommonElementMixin",
|
|
126906
126797
|
"members": [
|
|
126907
126798
|
{
|
|
126908
126799
|
"kind": "field",
|
|
@@ -126912,11 +126803,7 @@
|
|
|
126912
126803
|
},
|
|
126913
126804
|
"privacy": "public",
|
|
126914
126805
|
"static": true,
|
|
126915
|
-
"default": "[unsafeCSS(
|
|
126916
|
-
"inheritedFrom": {
|
|
126917
|
-
"name": "SbbLinkCommonElementMixin",
|
|
126918
|
-
"module": "link/common/link-common.js"
|
|
126919
|
-
}
|
|
126806
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
126920
126807
|
},
|
|
126921
126808
|
{
|
|
126922
126809
|
"kind": "method",
|
|
@@ -126926,10 +126813,6 @@
|
|
|
126926
126813
|
"type": {
|
|
126927
126814
|
"text": "TemplateResult"
|
|
126928
126815
|
}
|
|
126929
|
-
},
|
|
126930
|
-
"inheritedFrom": {
|
|
126931
|
-
"name": "SbbLinkCommonElementMixin",
|
|
126932
|
-
"module": "link/common/link-common.js"
|
|
126933
126816
|
}
|
|
126934
126817
|
},
|
|
126935
126818
|
{
|
|
@@ -126951,8 +126834,8 @@
|
|
|
126951
126834
|
],
|
|
126952
126835
|
"mixins": [
|
|
126953
126836
|
{
|
|
126954
|
-
"name": "
|
|
126955
|
-
"module": "
|
|
126837
|
+
"name": "SbbNegativeMixin",
|
|
126838
|
+
"module": "core.js"
|
|
126956
126839
|
}
|
|
126957
126840
|
],
|
|
126958
126841
|
"parameters": [
|
|
@@ -126983,80 +126866,112 @@
|
|
|
126983
126866
|
"exports": [
|
|
126984
126867
|
{
|
|
126985
126868
|
"kind": "js",
|
|
126986
|
-
"name": "
|
|
126869
|
+
"name": "SbbLinkCommonElementMixinType",
|
|
126987
126870
|
"declaration": {
|
|
126988
|
-
"name": "
|
|
126989
|
-
"module": "link/common/
|
|
126871
|
+
"name": "SbbLinkCommonElementMixinType",
|
|
126872
|
+
"module": "link/common/link-common.js"
|
|
126990
126873
|
}
|
|
126991
126874
|
},
|
|
126992
126875
|
{
|
|
126993
126876
|
"kind": "js",
|
|
126994
|
-
"name": "
|
|
126877
|
+
"name": "SbbLinkCommonElementMixin",
|
|
126995
126878
|
"declaration": {
|
|
126996
|
-
"name": "
|
|
126997
|
-
"module": "link/common/
|
|
126879
|
+
"name": "SbbLinkCommonElementMixin",
|
|
126880
|
+
"module": "link/common/link-common.js"
|
|
126998
126881
|
}
|
|
126999
126882
|
}
|
|
127000
126883
|
]
|
|
127001
126884
|
},
|
|
127002
126885
|
{
|
|
127003
126886
|
"kind": "javascript-module",
|
|
127004
|
-
"path": "link/
|
|
126887
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
127005
126888
|
"declarations": [
|
|
127006
126889
|
{
|
|
127007
126890
|
"kind": "class",
|
|
127008
|
-
"description": "",
|
|
127009
|
-
"name": "
|
|
127010
|
-
"
|
|
126891
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
126892
|
+
"name": "SbbBlockLinkStaticElement",
|
|
126893
|
+
"slots": [
|
|
127011
126894
|
{
|
|
127012
|
-
"
|
|
127013
|
-
"
|
|
126895
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
126896
|
+
"name": ""
|
|
126897
|
+
},
|
|
126898
|
+
{
|
|
126899
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
126900
|
+
"name": "icon"
|
|
127014
126901
|
}
|
|
127015
126902
|
],
|
|
127016
|
-
"
|
|
127017
|
-
"name": "SbbActionBaseElement",
|
|
127018
|
-
"module": "core.js"
|
|
127019
|
-
},
|
|
127020
|
-
"attributes": [
|
|
126903
|
+
"members": [
|
|
127021
126904
|
{
|
|
127022
|
-
"
|
|
126905
|
+
"kind": "field",
|
|
126906
|
+
"name": "elementName",
|
|
127023
126907
|
"type": {
|
|
127024
|
-
"text": "
|
|
126908
|
+
"text": "string"
|
|
127025
126909
|
},
|
|
127026
|
-
"
|
|
127027
|
-
"
|
|
127028
|
-
"
|
|
126910
|
+
"privacy": "public",
|
|
126911
|
+
"static": true,
|
|
126912
|
+
"readonly": true,
|
|
127029
126913
|
"inheritedFrom": {
|
|
127030
|
-
"name": "
|
|
127031
|
-
"module": "core/
|
|
126914
|
+
"name": "SbbElement",
|
|
126915
|
+
"module": "core/base-elements/element.js"
|
|
126916
|
+
},
|
|
126917
|
+
"default": "'sbb-block-link-static'"
|
|
126918
|
+
},
|
|
126919
|
+
{
|
|
126920
|
+
"kind": "field",
|
|
126921
|
+
"name": "styles",
|
|
126922
|
+
"type": {
|
|
126923
|
+
"text": "CSSResultGroup"
|
|
126924
|
+
},
|
|
126925
|
+
"privacy": "public",
|
|
126926
|
+
"static": true,
|
|
126927
|
+
"default": "[unsafeCSS(blockStyle)]",
|
|
126928
|
+
"inheritedFrom": {
|
|
126929
|
+
"name": "SbbLinkCommonElementMixin",
|
|
126930
|
+
"module": "link/common/link-common.js"
|
|
127032
126931
|
}
|
|
127033
|
-
}
|
|
127034
|
-
],
|
|
127035
|
-
"members": [
|
|
126932
|
+
},
|
|
127036
126933
|
{
|
|
127037
126934
|
"kind": "field",
|
|
127038
|
-
"name": "
|
|
126935
|
+
"name": "size",
|
|
127039
126936
|
"type": {
|
|
127040
|
-
"text": "
|
|
126937
|
+
"text": "SbbLinkSize"
|
|
127041
126938
|
},
|
|
127042
126939
|
"privacy": "public",
|
|
127043
|
-
"
|
|
127044
|
-
"
|
|
127045
|
-
"attribute": "
|
|
126940
|
+
"description": "Size variant, either xs, s or m.",
|
|
126941
|
+
"default": "'s' / 'xs' (lean)",
|
|
126942
|
+
"attribute": "size",
|
|
127046
126943
|
"reflects": true,
|
|
127047
126944
|
"inheritedFrom": {
|
|
127048
|
-
"name": "
|
|
127049
|
-
"module": "
|
|
126945
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
126946
|
+
"module": "link/common/block-link-common.js"
|
|
127050
126947
|
}
|
|
127051
126948
|
},
|
|
127052
126949
|
{
|
|
127053
126950
|
"kind": "field",
|
|
127054
|
-
"name": "
|
|
126951
|
+
"name": "iconPlacement",
|
|
127055
126952
|
"type": {
|
|
127056
|
-
"text": "
|
|
126953
|
+
"text": "SbbIconPlacement"
|
|
127057
126954
|
},
|
|
126955
|
+
"privacy": "public",
|
|
126956
|
+
"default": "'start'",
|
|
126957
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
126958
|
+
"attribute": "icon-placement",
|
|
126959
|
+
"reflects": true,
|
|
126960
|
+
"inheritedFrom": {
|
|
126961
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
126962
|
+
"module": "link/common/block-link-common.js"
|
|
126963
|
+
}
|
|
126964
|
+
},
|
|
126965
|
+
{
|
|
126966
|
+
"kind": "method",
|
|
126967
|
+
"name": "renderTemplate",
|
|
127058
126968
|
"privacy": "protected",
|
|
127059
|
-
"
|
|
126969
|
+
"return": {
|
|
126970
|
+
"type": {
|
|
126971
|
+
"text": "TemplateResult"
|
|
126972
|
+
}
|
|
126973
|
+
},
|
|
126974
|
+
"description": "Override this method to render the component template.",
|
|
127060
126975
|
"inheritedFrom": {
|
|
127061
126976
|
"name": "SbbActionBaseElement",
|
|
127062
126977
|
"module": "core/base-elements/action-base-element.js"
|
|
@@ -127064,82 +126979,177 @@
|
|
|
127064
126979
|
},
|
|
127065
126980
|
{
|
|
127066
126981
|
"kind": "field",
|
|
127067
|
-
"name": "
|
|
126982
|
+
"name": "elementDependencies",
|
|
127068
126983
|
"type": {
|
|
127069
|
-
"text": "
|
|
126984
|
+
"text": "SbbElementType[]"
|
|
127070
126985
|
},
|
|
127071
|
-
"privacy": "
|
|
127072
|
-
"
|
|
126986
|
+
"privacy": "public",
|
|
126987
|
+
"static": true,
|
|
127073
126988
|
"inheritedFrom": {
|
|
127074
|
-
"name": "
|
|
127075
|
-
"module": "core/base-elements/
|
|
126989
|
+
"name": "SbbElement",
|
|
126990
|
+
"module": "core/base-elements/element.js"
|
|
126991
|
+
},
|
|
126992
|
+
"default": "[SbbIconElement]"
|
|
126993
|
+
},
|
|
126994
|
+
{
|
|
126995
|
+
"kind": "field",
|
|
126996
|
+
"name": "iconName",
|
|
126997
|
+
"type": {
|
|
126998
|
+
"text": "string"
|
|
126999
|
+
},
|
|
127000
|
+
"privacy": "public",
|
|
127001
|
+
"default": "''",
|
|
127002
|
+
"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.",
|
|
127003
|
+
"attribute": "icon-name",
|
|
127004
|
+
"inheritedFrom": {
|
|
127005
|
+
"name": "SbbIconNameMixin",
|
|
127006
|
+
"module": "icon/icon-name-mixin.js"
|
|
127076
127007
|
}
|
|
127077
127008
|
},
|
|
127078
127009
|
{
|
|
127079
127010
|
"kind": "method",
|
|
127080
|
-
"name": "
|
|
127011
|
+
"name": "renderIconSlot",
|
|
127081
127012
|
"privacy": "protected",
|
|
127082
127013
|
"return": {
|
|
127083
127014
|
"type": {
|
|
127084
|
-
"text": "
|
|
127015
|
+
"text": "TemplateResult"
|
|
127085
127016
|
}
|
|
127086
127017
|
},
|
|
127018
|
+
"parameters": [
|
|
127019
|
+
{
|
|
127020
|
+
"name": "classname",
|
|
127021
|
+
"optional": true,
|
|
127022
|
+
"type": {
|
|
127023
|
+
"text": "string"
|
|
127024
|
+
}
|
|
127025
|
+
}
|
|
127026
|
+
],
|
|
127087
127027
|
"inheritedFrom": {
|
|
127088
|
-
"name": "
|
|
127089
|
-
"module": "
|
|
127028
|
+
"name": "SbbIconNameMixin",
|
|
127029
|
+
"module": "icon/icon-name-mixin.js"
|
|
127090
127030
|
}
|
|
127091
127031
|
},
|
|
127092
127032
|
{
|
|
127093
127033
|
"kind": "method",
|
|
127094
|
-
"name": "
|
|
127034
|
+
"name": "renderIconName",
|
|
127095
127035
|
"privacy": "protected",
|
|
127096
127036
|
"return": {
|
|
127097
127037
|
"type": {
|
|
127098
|
-
"text": "
|
|
127038
|
+
"text": "string"
|
|
127099
127039
|
}
|
|
127100
127040
|
},
|
|
127101
|
-
"description": "Override this method to render the component template.",
|
|
127102
127041
|
"inheritedFrom": {
|
|
127103
|
-
"name": "
|
|
127104
|
-
"module": "
|
|
127042
|
+
"name": "SbbIconNameMixin",
|
|
127043
|
+
"module": "icon/icon-name-mixin.js"
|
|
127044
|
+
}
|
|
127045
|
+
},
|
|
127046
|
+
{
|
|
127047
|
+
"kind": "method",
|
|
127048
|
+
"name": "_renderIconName",
|
|
127049
|
+
"privacy": "private",
|
|
127050
|
+
"return": {
|
|
127051
|
+
"type": {
|
|
127052
|
+
"text": "string"
|
|
127053
|
+
}
|
|
127054
|
+
},
|
|
127055
|
+
"inheritedFrom": {
|
|
127056
|
+
"name": "SbbIconNameMixin",
|
|
127057
|
+
"module": "icon/icon-name-mixin.js"
|
|
127105
127058
|
}
|
|
127106
127059
|
},
|
|
127107
127060
|
{
|
|
127108
127061
|
"kind": "field",
|
|
127109
|
-
"name": "
|
|
127062
|
+
"name": "disabled",
|
|
127063
|
+
"privacy": "public",
|
|
127064
|
+
"description": "Whether the component is disabled.",
|
|
127065
|
+
"default": "false",
|
|
127110
127066
|
"type": {
|
|
127111
127067
|
"text": "boolean"
|
|
127112
127068
|
},
|
|
127113
|
-
"
|
|
127114
|
-
"
|
|
127115
|
-
"default": "true",
|
|
127069
|
+
"attribute": "disabled",
|
|
127070
|
+
"reflects": true,
|
|
127116
127071
|
"inheritedFrom": {
|
|
127117
|
-
"name": "
|
|
127118
|
-
"module": "core/
|
|
127072
|
+
"name": "SbbDisabledMixin",
|
|
127073
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
127119
127074
|
}
|
|
127120
127075
|
},
|
|
127121
127076
|
{
|
|
127122
127077
|
"kind": "field",
|
|
127123
|
-
"name": "
|
|
127078
|
+
"name": "#disabled",
|
|
127079
|
+
"privacy": "private",
|
|
127124
127080
|
"type": {
|
|
127125
|
-
"text": "
|
|
127081
|
+
"text": "boolean"
|
|
127126
127082
|
},
|
|
127127
|
-
"
|
|
127128
|
-
"
|
|
127083
|
+
"default": "false",
|
|
127084
|
+
"inheritedFrom": {
|
|
127085
|
+
"name": "SbbDisabledMixin",
|
|
127086
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
127087
|
+
}
|
|
127088
|
+
},
|
|
127089
|
+
{
|
|
127090
|
+
"kind": "method",
|
|
127091
|
+
"name": "isDisabledExternally",
|
|
127092
|
+
"privacy": "protected",
|
|
127093
|
+
"return": {
|
|
127094
|
+
"type": {
|
|
127095
|
+
"text": "boolean"
|
|
127096
|
+
}
|
|
127097
|
+
},
|
|
127098
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
127099
|
+
"inheritedFrom": {
|
|
127100
|
+
"name": "SbbDisabledMixin",
|
|
127101
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
127102
|
+
}
|
|
127103
|
+
},
|
|
127104
|
+
{
|
|
127105
|
+
"kind": "field",
|
|
127106
|
+
"name": "maybeDisabled",
|
|
127107
|
+
"type": {
|
|
127108
|
+
"text": "boolean | undefined"
|
|
127109
|
+
},
|
|
127110
|
+
"privacy": "protected",
|
|
127129
127111
|
"readonly": true,
|
|
127130
127112
|
"inheritedFrom": {
|
|
127131
|
-
"name": "
|
|
127132
|
-
"module": "core/base-elements/element.js"
|
|
127113
|
+
"name": "SbbActionBaseElement",
|
|
127114
|
+
"module": "core/base-elements/action-base-element.js"
|
|
127133
127115
|
}
|
|
127134
127116
|
},
|
|
127135
127117
|
{
|
|
127136
127118
|
"kind": "field",
|
|
127137
|
-
"name": "
|
|
127119
|
+
"name": "maybeDisabledInteractive",
|
|
127138
127120
|
"type": {
|
|
127139
|
-
"text": "
|
|
127121
|
+
"text": "boolean | undefined"
|
|
127122
|
+
},
|
|
127123
|
+
"privacy": "protected",
|
|
127124
|
+
"readonly": true,
|
|
127125
|
+
"inheritedFrom": {
|
|
127126
|
+
"name": "SbbActionBaseElement",
|
|
127127
|
+
"module": "core/base-elements/action-base-element.js"
|
|
127128
|
+
}
|
|
127129
|
+
},
|
|
127130
|
+
{
|
|
127131
|
+
"kind": "method",
|
|
127132
|
+
"name": "setupBaseEventHandlers",
|
|
127133
|
+
"privacy": "protected",
|
|
127134
|
+
"return": {
|
|
127135
|
+
"type": {
|
|
127136
|
+
"text": "void"
|
|
127137
|
+
}
|
|
127138
|
+
},
|
|
127139
|
+
"inheritedFrom": {
|
|
127140
|
+
"name": "SbbActionBaseElement",
|
|
127141
|
+
"module": "core/base-elements/action-base-element.js"
|
|
127142
|
+
}
|
|
127143
|
+
},
|
|
127144
|
+
{
|
|
127145
|
+
"kind": "field",
|
|
127146
|
+
"name": "['_$sbbElement$']",
|
|
127147
|
+
"type": {
|
|
127148
|
+
"text": "boolean"
|
|
127140
127149
|
},
|
|
127141
127150
|
"privacy": "public",
|
|
127142
127151
|
"static": true,
|
|
127152
|
+
"default": "true",
|
|
127143
127153
|
"inheritedFrom": {
|
|
127144
127154
|
"name": "SbbElement",
|
|
127145
127155
|
"module": "core/base-elements/element.js"
|
|
@@ -127401,76 +127411,74 @@
|
|
|
127401
127411
|
"module": "core/base-elements/element.js"
|
|
127402
127412
|
}
|
|
127403
127413
|
}
|
|
127404
|
-
]
|
|
127405
|
-
|
|
127406
|
-
{
|
|
127407
|
-
"kind": "mixin",
|
|
127408
|
-
"description": "",
|
|
127409
|
-
"name": "SbbLinkCommonElementMixin",
|
|
127410
|
-
"members": [
|
|
127411
|
-
{
|
|
127412
|
-
"kind": "field",
|
|
127413
|
-
"name": "styles",
|
|
127414
|
-
"type": {
|
|
127415
|
-
"text": "CSSResultGroup"
|
|
127416
|
-
},
|
|
127417
|
-
"privacy": "public",
|
|
127418
|
-
"static": true,
|
|
127419
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
127420
|
-
},
|
|
127414
|
+
],
|
|
127415
|
+
"mixins": [
|
|
127421
127416
|
{
|
|
127422
|
-
"
|
|
127423
|
-
"
|
|
127424
|
-
"privacy": "protected",
|
|
127425
|
-
"return": {
|
|
127426
|
-
"type": {
|
|
127427
|
-
"text": "TemplateResult"
|
|
127428
|
-
}
|
|
127429
|
-
}
|
|
127417
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
127418
|
+
"module": "link/common/block-link-common.js"
|
|
127430
127419
|
},
|
|
127431
127420
|
{
|
|
127432
|
-
"
|
|
127433
|
-
"name": "negative",
|
|
127434
|
-
"type": {
|
|
127435
|
-
"text": "boolean"
|
|
127436
|
-
},
|
|
127437
|
-
"privacy": "public",
|
|
127438
|
-
"default": "false",
|
|
127439
|
-
"description": "Negative coloring variant flag.",
|
|
127440
|
-
"attribute": "negative",
|
|
127441
|
-
"reflects": true,
|
|
127442
|
-
"inheritedFrom": {
|
|
127443
|
-
"name": "SbbNegativeMixin",
|
|
127444
|
-
"module": "core/mixins/negative-mixin.js"
|
|
127445
|
-
}
|
|
127446
|
-
}
|
|
127447
|
-
],
|
|
127448
|
-
"mixins": [
|
|
127449
|
-
{
|
|
127450
|
-
"name": "SbbNegativeMixin",
|
|
127421
|
+
"name": "SbbDisabledMixin",
|
|
127451
127422
|
"module": "core.js"
|
|
127452
127423
|
}
|
|
127453
127424
|
],
|
|
127454
|
-
"
|
|
127425
|
+
"superclass": {
|
|
127426
|
+
"name": "SbbActionBaseElement",
|
|
127427
|
+
"module": "core.js"
|
|
127428
|
+
},
|
|
127429
|
+
"tagName": "sbb-block-link-static",
|
|
127430
|
+
"customElement": true,
|
|
127431
|
+
"attributes": [
|
|
127455
127432
|
{
|
|
127456
|
-
"name": "
|
|
127433
|
+
"name": "size",
|
|
127457
127434
|
"type": {
|
|
127458
|
-
"text": "
|
|
127435
|
+
"text": "SbbLinkSize"
|
|
127436
|
+
},
|
|
127437
|
+
"description": "Size variant, either xs, s or m.",
|
|
127438
|
+
"default": "'s' / 'xs' (lean)",
|
|
127439
|
+
"fieldName": "size",
|
|
127440
|
+
"inheritedFrom": {
|
|
127441
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
127442
|
+
"module": "link/common/block-link-common.js"
|
|
127459
127443
|
}
|
|
127460
|
-
}
|
|
127461
|
-
],
|
|
127462
|
-
"attributes": [
|
|
127444
|
+
},
|
|
127463
127445
|
{
|
|
127464
|
-
"name": "
|
|
127446
|
+
"name": "icon-placement",
|
|
127465
127447
|
"type": {
|
|
127466
|
-
"text": "
|
|
127448
|
+
"text": "SbbIconPlacement"
|
|
127449
|
+
},
|
|
127450
|
+
"default": "'start'",
|
|
127451
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
127452
|
+
"fieldName": "iconPlacement",
|
|
127453
|
+
"inheritedFrom": {
|
|
127454
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
127455
|
+
"module": "link/common/block-link-common.js"
|
|
127456
|
+
}
|
|
127457
|
+
},
|
|
127458
|
+
{
|
|
127459
|
+
"name": "icon-name",
|
|
127460
|
+
"type": {
|
|
127461
|
+
"text": "string"
|
|
127467
127462
|
},
|
|
127463
|
+
"default": "''",
|
|
127464
|
+
"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.",
|
|
127465
|
+
"fieldName": "iconName",
|
|
127466
|
+
"inheritedFrom": {
|
|
127467
|
+
"name": "SbbIconNameMixin",
|
|
127468
|
+
"module": "icon/icon-name-mixin.js"
|
|
127469
|
+
}
|
|
127470
|
+
},
|
|
127471
|
+
{
|
|
127472
|
+
"name": "disabled",
|
|
127473
|
+
"description": "Whether the component is disabled.",
|
|
127468
127474
|
"default": "false",
|
|
127469
|
-
"
|
|
127470
|
-
|
|
127475
|
+
"type": {
|
|
127476
|
+
"text": "boolean"
|
|
127477
|
+
},
|
|
127478
|
+
"fieldName": "disabled",
|
|
127471
127479
|
"inheritedFrom": {
|
|
127472
|
-
"name": "
|
|
127473
|
-
"module": "core/mixins/
|
|
127480
|
+
"name": "SbbDisabledMixin",
|
|
127481
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
127474
127482
|
}
|
|
127475
127483
|
}
|
|
127476
127484
|
]
|
|
@@ -127479,18 +127487,10 @@
|
|
|
127479
127487
|
"exports": [
|
|
127480
127488
|
{
|
|
127481
127489
|
"kind": "js",
|
|
127482
|
-
"name": "
|
|
127483
|
-
"declaration": {
|
|
127484
|
-
"name": "SbbLinkCommonElementMixinType",
|
|
127485
|
-
"module": "link/common/link-common.js"
|
|
127486
|
-
}
|
|
127487
|
-
},
|
|
127488
|
-
{
|
|
127489
|
-
"kind": "js",
|
|
127490
|
-
"name": "SbbLinkCommonElementMixin",
|
|
127490
|
+
"name": "SbbBlockLinkStaticElement",
|
|
127491
127491
|
"declaration": {
|
|
127492
|
-
"name": "
|
|
127493
|
-
"module": "link/
|
|
127492
|
+
"name": "SbbBlockLinkStaticElement",
|
|
127493
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
127494
127494
|
}
|
|
127495
127495
|
}
|
|
127496
127496
|
]
|
|
@@ -148729,20 +148729,28 @@
|
|
|
148729
148729
|
},
|
|
148730
148730
|
{
|
|
148731
148731
|
"kind": "javascript-module",
|
|
148732
|
-
"path": "sidebar/sidebar/sidebar.component.js",
|
|
148732
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
148733
148733
|
"declarations": [
|
|
148734
148734
|
{
|
|
148735
148735
|
"kind": "class",
|
|
148736
|
-
"description": "
|
|
148737
|
-
"name": "
|
|
148736
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
148737
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
148738
148738
|
"slots": [
|
|
148739
148739
|
{
|
|
148740
|
-
"description": "Use the unnamed slot to
|
|
148741
|
-
"name": ""
|
|
148740
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
148741
|
+
"name": "",
|
|
148742
|
+
"inheritedFrom": {
|
|
148743
|
+
"name": "SbbSecondaryButtonElement",
|
|
148744
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
148745
|
+
}
|
|
148742
148746
|
},
|
|
148743
148747
|
{
|
|
148744
|
-
"description": "
|
|
148745
|
-
"name": "
|
|
148748
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
148749
|
+
"name": "icon",
|
|
148750
|
+
"inheritedFrom": {
|
|
148751
|
+
"name": "SbbSecondaryButtonElement",
|
|
148752
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
148753
|
+
}
|
|
148746
148754
|
}
|
|
148747
148755
|
],
|
|
148748
148756
|
"members": [
|
|
@@ -148759,208 +148767,470 @@
|
|
|
148759
148767
|
"name": "SbbElement",
|
|
148760
148768
|
"module": "core/base-elements/element.js"
|
|
148761
148769
|
},
|
|
148762
|
-
"default": "'sbb-sidebar'"
|
|
148770
|
+
"default": "'sbb-sidebar-close-button'"
|
|
148763
148771
|
},
|
|
148764
148772
|
{
|
|
148765
148773
|
"kind": "field",
|
|
148766
|
-
"name": "
|
|
148767
|
-
"
|
|
148768
|
-
|
|
148774
|
+
"name": "_languageController",
|
|
148775
|
+
"privacy": "private",
|
|
148776
|
+
"default": "new SbbLanguageController(this)"
|
|
148777
|
+
},
|
|
148778
|
+
{
|
|
148779
|
+
"kind": "method",
|
|
148780
|
+
"name": "renderTemplate",
|
|
148781
|
+
"privacy": "protected",
|
|
148782
|
+
"return": {
|
|
148783
|
+
"type": {
|
|
148784
|
+
"text": "TemplateResult"
|
|
148785
|
+
}
|
|
148769
148786
|
},
|
|
148770
|
-
"
|
|
148771
|
-
"
|
|
148772
|
-
|
|
148773
|
-
|
|
148774
|
-
|
|
148787
|
+
"description": "Override this method to render the component template.",
|
|
148788
|
+
"inheritedFrom": {
|
|
148789
|
+
"name": "SbbActionBaseElement",
|
|
148790
|
+
"module": "core/base-elements/action-base-element.js"
|
|
148791
|
+
}
|
|
148792
|
+
},
|
|
148793
|
+
{
|
|
148794
|
+
"kind": "method",
|
|
148795
|
+
"name": "renderIconName",
|
|
148796
|
+
"privacy": "protected",
|
|
148797
|
+
"return": {
|
|
148798
|
+
"type": {
|
|
148799
|
+
"text": "string"
|
|
148800
|
+
}
|
|
148801
|
+
},
|
|
148802
|
+
"inheritedFrom": {
|
|
148803
|
+
"name": "SbbIconNameMixin",
|
|
148804
|
+
"module": "icon/icon-name-mixin.js"
|
|
148805
|
+
}
|
|
148775
148806
|
},
|
|
148776
148807
|
{
|
|
148777
148808
|
"kind": "field",
|
|
148778
|
-
"name": "
|
|
148809
|
+
"name": "size",
|
|
148779
148810
|
"type": {
|
|
148780
|
-
"text": "
|
|
148811
|
+
"text": "SbbButtonSize"
|
|
148781
148812
|
},
|
|
148782
148813
|
"privacy": "public",
|
|
148783
|
-
"
|
|
148784
|
-
"
|
|
148785
|
-
"attribute": "
|
|
148786
|
-
"reflects": true
|
|
148814
|
+
"description": "Size variant, either l, m or s.",
|
|
148815
|
+
"default": "'s'",
|
|
148816
|
+
"attribute": "size",
|
|
148817
|
+
"reflects": true,
|
|
148818
|
+
"inheritedFrom": {
|
|
148819
|
+
"name": "SbbButtonCommonElementMixin",
|
|
148820
|
+
"module": "button/common/button-common.js"
|
|
148821
|
+
}
|
|
148787
148822
|
},
|
|
148788
148823
|
{
|
|
148789
148824
|
"kind": "field",
|
|
148790
|
-
"name": "
|
|
148825
|
+
"name": "styles",
|
|
148791
148826
|
"type": {
|
|
148792
|
-
"text": "
|
|
148827
|
+
"text": "CSSResultGroup"
|
|
148793
148828
|
},
|
|
148794
148829
|
"privacy": "public",
|
|
148795
|
-
"
|
|
148796
|
-
"
|
|
148797
|
-
"
|
|
148798
|
-
|
|
148830
|
+
"static": true,
|
|
148831
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
148832
|
+
"inheritedFrom": {
|
|
148833
|
+
"name": "SbbButtonCommonElementMixin",
|
|
148834
|
+
"module": "button/common/button-common.js"
|
|
148835
|
+
}
|
|
148799
148836
|
},
|
|
148800
148837
|
{
|
|
148801
148838
|
"kind": "field",
|
|
148802
|
-
"name": "
|
|
148839
|
+
"name": "loading",
|
|
148803
148840
|
"type": {
|
|
148804
148841
|
"text": "boolean"
|
|
148805
148842
|
},
|
|
148806
148843
|
"privacy": "public",
|
|
148807
148844
|
"default": "false",
|
|
148808
|
-
"description": "Whether the
|
|
148809
|
-
"attribute": "
|
|
148810
|
-
"reflects": true
|
|
148845
|
+
"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.",
|
|
148846
|
+
"attribute": "loading",
|
|
148847
|
+
"reflects": true,
|
|
148848
|
+
"inheritedFrom": {
|
|
148849
|
+
"name": "SbbButtonCommonElementMixin",
|
|
148850
|
+
"module": "button/common/button-common.js"
|
|
148851
|
+
}
|
|
148811
148852
|
},
|
|
148812
148853
|
{
|
|
148813
148854
|
"kind": "field",
|
|
148814
|
-
"name": "
|
|
148855
|
+
"name": "negative",
|
|
148815
148856
|
"type": {
|
|
148816
148857
|
"text": "boolean"
|
|
148817
148858
|
},
|
|
148818
148859
|
"privacy": "public",
|
|
148819
148860
|
"default": "false",
|
|
148820
|
-
"description": "
|
|
148821
|
-
"attribute": "
|
|
148861
|
+
"description": "Negative coloring variant flag.",
|
|
148862
|
+
"attribute": "negative",
|
|
148863
|
+
"reflects": true,
|
|
148864
|
+
"inheritedFrom": {
|
|
148865
|
+
"name": "SbbNegativeMixin",
|
|
148866
|
+
"module": "core/mixins/negative-mixin.js"
|
|
148867
|
+
}
|
|
148822
148868
|
},
|
|
148823
148869
|
{
|
|
148824
148870
|
"kind": "field",
|
|
148825
|
-
"name": "
|
|
148871
|
+
"name": "elementDependencies",
|
|
148826
148872
|
"type": {
|
|
148827
|
-
"text": "
|
|
148873
|
+
"text": "SbbElementType[]"
|
|
148828
148874
|
},
|
|
148829
148875
|
"privacy": "public",
|
|
148830
|
-
"
|
|
148831
|
-
"
|
|
148832
|
-
|
|
148876
|
+
"static": true,
|
|
148877
|
+
"inheritedFrom": {
|
|
148878
|
+
"name": "SbbElement",
|
|
148879
|
+
"module": "core/base-elements/element.js"
|
|
148880
|
+
},
|
|
148881
|
+
"default": "[SbbIconElement]"
|
|
148833
148882
|
},
|
|
148834
148883
|
{
|
|
148835
148884
|
"kind": "field",
|
|
148836
|
-
"name": "
|
|
148885
|
+
"name": "iconName",
|
|
148837
148886
|
"type": {
|
|
148838
|
-
"text": "
|
|
148887
|
+
"text": "string"
|
|
148839
148888
|
},
|
|
148840
|
-
"privacy": "
|
|
148841
|
-
"default": "
|
|
148889
|
+
"privacy": "public",
|
|
148890
|
+
"default": "''",
|
|
148891
|
+
"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.",
|
|
148892
|
+
"attribute": "icon-name",
|
|
148893
|
+
"inheritedFrom": {
|
|
148894
|
+
"name": "SbbIconNameMixin",
|
|
148895
|
+
"module": "icon/icon-name-mixin.js"
|
|
148896
|
+
}
|
|
148842
148897
|
},
|
|
148843
148898
|
{
|
|
148844
|
-
"kind": "
|
|
148845
|
-
"name": "
|
|
148846
|
-
"
|
|
148847
|
-
|
|
148899
|
+
"kind": "method",
|
|
148900
|
+
"name": "renderIconSlot",
|
|
148901
|
+
"privacy": "protected",
|
|
148902
|
+
"return": {
|
|
148903
|
+
"type": {
|
|
148904
|
+
"text": "TemplateResult"
|
|
148905
|
+
}
|
|
148848
148906
|
},
|
|
148849
|
-
"
|
|
148850
|
-
|
|
148907
|
+
"parameters": [
|
|
148908
|
+
{
|
|
148909
|
+
"name": "classname",
|
|
148910
|
+
"optional": true,
|
|
148911
|
+
"type": {
|
|
148912
|
+
"text": "string"
|
|
148913
|
+
}
|
|
148914
|
+
}
|
|
148915
|
+
],
|
|
148916
|
+
"inheritedFrom": {
|
|
148917
|
+
"name": "SbbIconNameMixin",
|
|
148918
|
+
"module": "icon/icon-name-mixin.js"
|
|
148919
|
+
}
|
|
148851
148920
|
},
|
|
148852
148921
|
{
|
|
148853
|
-
"kind": "
|
|
148854
|
-
"name": "
|
|
148922
|
+
"kind": "method",
|
|
148923
|
+
"name": "_renderIconName",
|
|
148855
148924
|
"privacy": "private",
|
|
148856
|
-
"
|
|
148925
|
+
"return": {
|
|
148926
|
+
"type": {
|
|
148927
|
+
"text": "string"
|
|
148928
|
+
}
|
|
148929
|
+
},
|
|
148930
|
+
"inheritedFrom": {
|
|
148931
|
+
"name": "SbbIconNameMixin",
|
|
148932
|
+
"module": "icon/icon-name-mixin.js"
|
|
148933
|
+
}
|
|
148857
148934
|
},
|
|
148858
148935
|
{
|
|
148859
148936
|
"kind": "field",
|
|
148860
|
-
"name": "
|
|
148861
|
-
"
|
|
148862
|
-
|
|
148937
|
+
"name": "disabledInteractive",
|
|
148938
|
+
"type": {
|
|
148939
|
+
"text": "boolean"
|
|
148940
|
+
},
|
|
148941
|
+
"privacy": "public",
|
|
148942
|
+
"default": "false",
|
|
148943
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
148944
|
+
"attribute": "disabled-interactive",
|
|
148945
|
+
"reflects": true,
|
|
148946
|
+
"inheritedFrom": {
|
|
148947
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
148948
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
148949
|
+
}
|
|
148863
148950
|
},
|
|
148864
148951
|
{
|
|
148865
148952
|
"kind": "field",
|
|
148866
|
-
"name": "
|
|
148867
|
-
"privacy": "
|
|
148953
|
+
"name": "disabled",
|
|
148954
|
+
"privacy": "public",
|
|
148955
|
+
"description": "Whether the component is disabled.",
|
|
148956
|
+
"default": "false",
|
|
148957
|
+
"type": {
|
|
148958
|
+
"text": "boolean"
|
|
148959
|
+
},
|
|
148960
|
+
"attribute": "disabled",
|
|
148961
|
+
"reflects": true,
|
|
148962
|
+
"inheritedFrom": {
|
|
148963
|
+
"name": "SbbDisabledMixin",
|
|
148964
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
148965
|
+
}
|
|
148966
|
+
},
|
|
148967
|
+
{
|
|
148968
|
+
"kind": "field",
|
|
148969
|
+
"name": "#disabled",
|
|
148970
|
+
"privacy": "private",
|
|
148971
|
+
"type": {
|
|
148972
|
+
"text": "boolean"
|
|
148973
|
+
},
|
|
148974
|
+
"default": "false",
|
|
148975
|
+
"inheritedFrom": {
|
|
148976
|
+
"name": "SbbDisabledMixin",
|
|
148977
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
148978
|
+
}
|
|
148868
148979
|
},
|
|
148869
148980
|
{
|
|
148870
148981
|
"kind": "method",
|
|
148871
|
-
"name": "
|
|
148872
|
-
"privacy": "
|
|
148982
|
+
"name": "isDisabledExternally",
|
|
148983
|
+
"privacy": "protected",
|
|
148873
148984
|
"return": {
|
|
148874
148985
|
"type": {
|
|
148875
|
-
"text": "
|
|
148986
|
+
"text": "boolean"
|
|
148876
148987
|
}
|
|
148877
148988
|
},
|
|
148878
|
-
"description": "
|
|
148989
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
148990
|
+
"inheritedFrom": {
|
|
148991
|
+
"name": "SbbDisabledMixin",
|
|
148992
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
148993
|
+
}
|
|
148879
148994
|
},
|
|
148880
148995
|
{
|
|
148881
|
-
"kind": "
|
|
148882
|
-
"name": "
|
|
148996
|
+
"kind": "field",
|
|
148997
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
148998
|
+
"type": {
|
|
148999
|
+
"text": "array"
|
|
149000
|
+
},
|
|
149001
|
+
"privacy": "private",
|
|
149002
|
+
"readonly": true,
|
|
149003
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
149004
|
+
"inheritedFrom": {
|
|
149005
|
+
"name": "SbbButtonBaseElement",
|
|
149006
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149007
|
+
}
|
|
149008
|
+
},
|
|
149009
|
+
{
|
|
149010
|
+
"kind": "field",
|
|
149011
|
+
"name": "value",
|
|
149012
|
+
"type": {
|
|
149013
|
+
"text": "string"
|
|
149014
|
+
},
|
|
148883
149015
|
"privacy": "public",
|
|
148884
|
-
"
|
|
148885
|
-
"
|
|
148886
|
-
|
|
148887
|
-
}
|
|
149016
|
+
"inheritedFrom": {
|
|
149017
|
+
"name": "SbbButtonBaseElement",
|
|
149018
|
+
"module": "core/base-elements/button-base-element.js"
|
|
148888
149019
|
},
|
|
148889
|
-
"
|
|
149020
|
+
"default": "''",
|
|
149021
|
+
"description": "Value of the form element.",
|
|
149022
|
+
"attribute": "value"
|
|
149023
|
+
},
|
|
149024
|
+
{
|
|
149025
|
+
"kind": "field",
|
|
149026
|
+
"name": "type",
|
|
149027
|
+
"privacy": "public",
|
|
149028
|
+
"description": "The type attribute to use for the button.",
|
|
149029
|
+
"default": "'button'",
|
|
149030
|
+
"type": {
|
|
149031
|
+
"text": "SbbButtonType"
|
|
149032
|
+
},
|
|
149033
|
+
"attribute": "type",
|
|
148890
149034
|
"inheritedFrom": {
|
|
148891
|
-
"name": "
|
|
148892
|
-
"module": "core/base-elements/
|
|
149035
|
+
"name": "SbbButtonBaseElement",
|
|
149036
|
+
"module": "core/base-elements/button-base-element.js"
|
|
148893
149037
|
}
|
|
148894
149038
|
},
|
|
148895
149039
|
{
|
|
148896
|
-
"kind": "
|
|
148897
|
-
"name": "
|
|
149040
|
+
"kind": "field",
|
|
149041
|
+
"name": "form",
|
|
149042
|
+
"type": {
|
|
149043
|
+
"text": "HTMLFormElement | null"
|
|
149044
|
+
},
|
|
149045
|
+
"privacy": "public",
|
|
149046
|
+
"description": "The `<form>` element to associate the button with.",
|
|
149047
|
+
"inheritedFrom": {
|
|
149048
|
+
"name": "SbbButtonBaseElement",
|
|
149049
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149050
|
+
},
|
|
149051
|
+
"attribute": "form"
|
|
149052
|
+
},
|
|
149053
|
+
{
|
|
149054
|
+
"kind": "field",
|
|
149055
|
+
"name": "_formId",
|
|
149056
|
+
"type": {
|
|
149057
|
+
"text": "string"
|
|
149058
|
+
},
|
|
148898
149059
|
"privacy": "private",
|
|
148899
|
-
"
|
|
148900
|
-
|
|
148901
|
-
|
|
148902
|
-
|
|
149060
|
+
"default": "''",
|
|
149061
|
+
"inheritedFrom": {
|
|
149062
|
+
"name": "SbbButtonBaseElement",
|
|
149063
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149064
|
+
}
|
|
149065
|
+
},
|
|
149066
|
+
{
|
|
149067
|
+
"kind": "field",
|
|
149068
|
+
"name": "_handleButtonClick",
|
|
149069
|
+
"privacy": "private",
|
|
149070
|
+
"inheritedFrom": {
|
|
149071
|
+
"name": "SbbButtonBaseElement",
|
|
149072
|
+
"module": "core/base-elements/button-base-element.js"
|
|
148903
149073
|
}
|
|
148904
149074
|
},
|
|
148905
149075
|
{
|
|
148906
149076
|
"kind": "method",
|
|
148907
|
-
"name": "
|
|
149077
|
+
"name": "_requestSubmit",
|
|
148908
149078
|
"privacy": "private",
|
|
148909
149079
|
"return": {
|
|
148910
149080
|
"type": {
|
|
148911
149081
|
"text": "void"
|
|
148912
149082
|
}
|
|
149083
|
+
},
|
|
149084
|
+
"parameters": [
|
|
149085
|
+
{
|
|
149086
|
+
"name": "form",
|
|
149087
|
+
"type": {
|
|
149088
|
+
"text": "HTMLFormElement"
|
|
149089
|
+
}
|
|
149090
|
+
}
|
|
149091
|
+
],
|
|
149092
|
+
"inheritedFrom": {
|
|
149093
|
+
"name": "SbbButtonBaseElement",
|
|
149094
|
+
"module": "core/base-elements/button-base-element.js"
|
|
148913
149095
|
}
|
|
148914
149096
|
},
|
|
148915
149097
|
{
|
|
148916
|
-
"kind": "
|
|
148917
|
-
"name": "
|
|
149098
|
+
"kind": "field",
|
|
149099
|
+
"name": "_formKeyDown",
|
|
149100
|
+
"privacy": "private",
|
|
149101
|
+
"inheritedFrom": {
|
|
149102
|
+
"name": "SbbButtonBaseElement",
|
|
149103
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149104
|
+
}
|
|
149105
|
+
},
|
|
149106
|
+
{
|
|
149107
|
+
"kind": "field",
|
|
149108
|
+
"name": "formAssociated",
|
|
149109
|
+
"type": {
|
|
149110
|
+
"text": "boolean"
|
|
149111
|
+
},
|
|
148918
149112
|
"privacy": "public",
|
|
148919
|
-
"
|
|
148920
|
-
|
|
148921
|
-
|
|
148922
|
-
|
|
149113
|
+
"static": true,
|
|
149114
|
+
"default": "true",
|
|
149115
|
+
"inheritedFrom": {
|
|
149116
|
+
"name": "SbbFormAssociatedMixin",
|
|
149117
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149118
|
+
}
|
|
149119
|
+
},
|
|
149120
|
+
{
|
|
149121
|
+
"kind": "field",
|
|
149122
|
+
"name": "name",
|
|
149123
|
+
"privacy": "public",
|
|
149124
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
149125
|
+
"type": {
|
|
149126
|
+
"text": "string"
|
|
148923
149127
|
},
|
|
148924
|
-
"
|
|
149128
|
+
"attribute": "name",
|
|
148925
149129
|
"inheritedFrom": {
|
|
148926
|
-
"name": "
|
|
148927
|
-
"module": "core/
|
|
149130
|
+
"name": "SbbFormAssociatedMixin",
|
|
149131
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
148928
149132
|
}
|
|
148929
149133
|
},
|
|
148930
149134
|
{
|
|
148931
|
-
"kind": "
|
|
148932
|
-
"name": "
|
|
149135
|
+
"kind": "field",
|
|
149136
|
+
"name": "validity",
|
|
149137
|
+
"type": {
|
|
149138
|
+
"text": "ValidityState"
|
|
149139
|
+
},
|
|
149140
|
+
"privacy": "public",
|
|
149141
|
+
"description": "Returns the ValidityState object for this element.",
|
|
149142
|
+
"readonly": true,
|
|
149143
|
+
"inheritedFrom": {
|
|
149144
|
+
"name": "SbbFormAssociatedMixin",
|
|
149145
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149146
|
+
}
|
|
149147
|
+
},
|
|
149148
|
+
{
|
|
149149
|
+
"kind": "field",
|
|
149150
|
+
"name": "validationMessage",
|
|
149151
|
+
"type": {
|
|
149152
|
+
"text": "string"
|
|
149153
|
+
},
|
|
149154
|
+
"privacy": "public",
|
|
149155
|
+
"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.",
|
|
149156
|
+
"readonly": true,
|
|
149157
|
+
"inheritedFrom": {
|
|
149158
|
+
"name": "SbbFormAssociatedMixin",
|
|
149159
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149160
|
+
}
|
|
149161
|
+
},
|
|
149162
|
+
{
|
|
149163
|
+
"kind": "field",
|
|
149164
|
+
"name": "willValidate",
|
|
149165
|
+
"type": {
|
|
149166
|
+
"text": "boolean"
|
|
149167
|
+
},
|
|
149168
|
+
"privacy": "public",
|
|
149169
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
149170
|
+
"readonly": true,
|
|
149171
|
+
"inheritedFrom": {
|
|
149172
|
+
"name": "SbbFormAssociatedMixin",
|
|
149173
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149174
|
+
}
|
|
149175
|
+
},
|
|
149176
|
+
{
|
|
149177
|
+
"kind": "field",
|
|
149178
|
+
"name": "_validityStates",
|
|
148933
149179
|
"privacy": "private",
|
|
148934
|
-
"
|
|
148935
|
-
|
|
148936
|
-
|
|
148937
|
-
|
|
149180
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
149181
|
+
"inheritedFrom": {
|
|
149182
|
+
"name": "SbbFormAssociatedMixin",
|
|
149183
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149184
|
+
}
|
|
149185
|
+
},
|
|
149186
|
+
{
|
|
149187
|
+
"kind": "field",
|
|
149188
|
+
"name": "formDisabled",
|
|
149189
|
+
"type": {
|
|
149190
|
+
"text": "boolean"
|
|
149191
|
+
},
|
|
149192
|
+
"privacy": "protected",
|
|
149193
|
+
"default": "false",
|
|
149194
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
149195
|
+
"inheritedFrom": {
|
|
149196
|
+
"name": "SbbFormAssociatedMixin",
|
|
149197
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
148938
149198
|
}
|
|
148939
149199
|
},
|
|
148940
149200
|
{
|
|
148941
149201
|
"kind": "method",
|
|
148942
|
-
"name": "
|
|
148943
|
-
"privacy": "
|
|
149202
|
+
"name": "checkValidity",
|
|
149203
|
+
"privacy": "public",
|
|
148944
149204
|
"return": {
|
|
148945
149205
|
"type": {
|
|
148946
|
-
"text": "
|
|
149206
|
+
"text": "boolean"
|
|
148947
149207
|
}
|
|
149208
|
+
},
|
|
149209
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
149210
|
+
"inheritedFrom": {
|
|
149211
|
+
"name": "SbbFormAssociatedMixin",
|
|
149212
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
148948
149213
|
}
|
|
148949
149214
|
},
|
|
148950
149215
|
{
|
|
148951
149216
|
"kind": "method",
|
|
148952
|
-
"name": "
|
|
148953
|
-
"privacy": "
|
|
149217
|
+
"name": "reportValidity",
|
|
149218
|
+
"privacy": "public",
|
|
148954
149219
|
"return": {
|
|
148955
149220
|
"type": {
|
|
148956
|
-
"text": "
|
|
149221
|
+
"text": "boolean"
|
|
148957
149222
|
}
|
|
149223
|
+
},
|
|
149224
|
+
"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.",
|
|
149225
|
+
"inheritedFrom": {
|
|
149226
|
+
"name": "SbbFormAssociatedMixin",
|
|
149227
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
148958
149228
|
}
|
|
148959
149229
|
},
|
|
148960
149230
|
{
|
|
148961
149231
|
"kind": "method",
|
|
148962
|
-
"name": "
|
|
148963
|
-
"privacy": "
|
|
149232
|
+
"name": "setCustomValidity",
|
|
149233
|
+
"privacy": "public",
|
|
148964
149234
|
"return": {
|
|
148965
149235
|
"type": {
|
|
148966
149236
|
"text": "void"
|
|
@@ -148968,44 +149238,65 @@
|
|
|
148968
149238
|
},
|
|
148969
149239
|
"parameters": [
|
|
148970
149240
|
{
|
|
148971
|
-
"name": "
|
|
148972
|
-
"optional": true,
|
|
149241
|
+
"name": "message",
|
|
148973
149242
|
"type": {
|
|
148974
|
-
"text": "
|
|
149243
|
+
"text": "string"
|
|
148975
149244
|
}
|
|
148976
149245
|
}
|
|
148977
|
-
]
|
|
149246
|
+
],
|
|
149247
|
+
"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.",
|
|
149248
|
+
"inheritedFrom": {
|
|
149249
|
+
"name": "SbbFormAssociatedMixin",
|
|
149250
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149251
|
+
}
|
|
148978
149252
|
},
|
|
148979
149253
|
{
|
|
148980
149254
|
"kind": "method",
|
|
148981
|
-
"name": "
|
|
149255
|
+
"name": "_hasDisabledAncestor",
|
|
148982
149256
|
"privacy": "private",
|
|
148983
149257
|
"return": {
|
|
148984
149258
|
"type": {
|
|
148985
|
-
"text": "
|
|
149259
|
+
"text": "boolean"
|
|
149260
|
+
}
|
|
149261
|
+
},
|
|
149262
|
+
"inheritedFrom": {
|
|
149263
|
+
"name": "SbbFormAssociatedMixin",
|
|
149264
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149265
|
+
}
|
|
149266
|
+
},
|
|
149267
|
+
{
|
|
149268
|
+
"kind": "method",
|
|
149269
|
+
"name": "updateFormValue",
|
|
149270
|
+
"privacy": "protected",
|
|
149271
|
+
"return": {
|
|
149272
|
+
"type": {
|
|
149273
|
+
"text": "void"
|
|
148986
149274
|
}
|
|
148987
149275
|
},
|
|
148988
|
-
"
|
|
148989
|
-
|
|
148990
|
-
|
|
148991
|
-
|
|
148992
|
-
|
|
148993
|
-
]
|
|
149276
|
+
"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",
|
|
149277
|
+
"inheritedFrom": {
|
|
149278
|
+
"name": "SbbFormAssociatedMixin",
|
|
149279
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149280
|
+
}
|
|
148994
149281
|
},
|
|
148995
149282
|
{
|
|
148996
149283
|
"kind": "method",
|
|
148997
|
-
"name": "
|
|
148998
|
-
"privacy": "
|
|
149284
|
+
"name": "formState",
|
|
149285
|
+
"privacy": "protected",
|
|
148999
149286
|
"return": {
|
|
149000
149287
|
"type": {
|
|
149001
|
-
"text": "
|
|
149288
|
+
"text": "FormRestoreState"
|
|
149002
149289
|
}
|
|
149290
|
+
},
|
|
149291
|
+
"inheritedFrom": {
|
|
149292
|
+
"name": "SbbFormAssociatedMixin",
|
|
149293
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149003
149294
|
}
|
|
149004
149295
|
},
|
|
149005
149296
|
{
|
|
149006
149297
|
"kind": "method",
|
|
149007
|
-
"name": "
|
|
149008
|
-
"privacy": "
|
|
149298
|
+
"name": "setValidityFlag",
|
|
149299
|
+
"privacy": "protected",
|
|
149009
149300
|
"return": {
|
|
149010
149301
|
"type": {
|
|
149011
149302
|
"text": "void"
|
|
@@ -149013,230 +149304,209 @@
|
|
|
149013
149304
|
},
|
|
149014
149305
|
"parameters": [
|
|
149015
149306
|
{
|
|
149016
|
-
"name": "
|
|
149307
|
+
"name": "flag",
|
|
149017
149308
|
"type": {
|
|
149018
|
-
"text": "
|
|
149309
|
+
"text": "T"
|
|
149310
|
+
}
|
|
149311
|
+
},
|
|
149312
|
+
{
|
|
149313
|
+
"name": "message",
|
|
149314
|
+
"type": {
|
|
149315
|
+
"text": "string"
|
|
149316
|
+
}
|
|
149317
|
+
},
|
|
149318
|
+
{
|
|
149319
|
+
"name": "flagValue",
|
|
149320
|
+
"optional": true,
|
|
149321
|
+
"type": {
|
|
149322
|
+
"text": "ValidityStateFlags[T]"
|
|
149019
149323
|
}
|
|
149020
149324
|
}
|
|
149021
|
-
]
|
|
149325
|
+
],
|
|
149326
|
+
"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).",
|
|
149327
|
+
"inheritedFrom": {
|
|
149328
|
+
"name": "SbbFormAssociatedMixin",
|
|
149329
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149330
|
+
}
|
|
149022
149331
|
},
|
|
149023
149332
|
{
|
|
149024
149333
|
"kind": "method",
|
|
149025
|
-
"name": "
|
|
149026
|
-
"privacy": "
|
|
149334
|
+
"name": "removeValidityFlag",
|
|
149335
|
+
"privacy": "protected",
|
|
149027
149336
|
"return": {
|
|
149028
149337
|
"type": {
|
|
149029
149338
|
"text": "void"
|
|
149030
149339
|
}
|
|
149031
|
-
}
|
|
149032
|
-
},
|
|
149033
|
-
{
|
|
149034
|
-
"kind": "field",
|
|
149035
|
-
"name": "isAnimating",
|
|
149036
|
-
"type": {
|
|
149037
|
-
"text": "boolean"
|
|
149038
|
-
},
|
|
149039
|
-
"privacy": "public",
|
|
149040
|
-
"default": "false",
|
|
149041
|
-
"description": "Whether the component is currently animating.",
|
|
149042
|
-
"inheritedFrom": {
|
|
149043
|
-
"name": "SbbAnimationCompleteMixin",
|
|
149044
|
-
"module": "core/mixins/animation-complete-mixin.js"
|
|
149045
|
-
}
|
|
149046
|
-
},
|
|
149047
|
-
{
|
|
149048
|
-
"kind": "field",
|
|
149049
|
-
"name": "animationComplete",
|
|
149050
|
-
"type": {
|
|
149051
|
-
"text": "Promise<void>"
|
|
149052
|
-
},
|
|
149053
|
-
"privacy": "public",
|
|
149054
|
-
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
149055
|
-
"readonly": true,
|
|
149056
|
-
"inheritedFrom": {
|
|
149057
|
-
"name": "SbbAnimationCompleteMixin",
|
|
149058
|
-
"module": "core/mixins/animation-complete-mixin.js"
|
|
149059
|
-
}
|
|
149060
|
-
},
|
|
149061
|
-
{
|
|
149062
|
-
"kind": "field",
|
|
149063
|
-
"name": "_animationPromise",
|
|
149064
|
-
"type": {
|
|
149065
|
-
"text": "Promise<void>"
|
|
149066
149340
|
},
|
|
149067
|
-
"
|
|
149341
|
+
"parameters": [
|
|
149342
|
+
{
|
|
149343
|
+
"name": "flag",
|
|
149344
|
+
"type": {
|
|
149345
|
+
"text": "T"
|
|
149346
|
+
}
|
|
149347
|
+
}
|
|
149348
|
+
],
|
|
149349
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
149068
149350
|
"inheritedFrom": {
|
|
149069
|
-
"name": "
|
|
149070
|
-
"module": "core/mixins/
|
|
149351
|
+
"name": "SbbFormAssociatedMixin",
|
|
149352
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149071
149353
|
}
|
|
149072
149354
|
},
|
|
149073
149355
|
{
|
|
149074
149356
|
"kind": "method",
|
|
149075
|
-
"name": "
|
|
149357
|
+
"name": "validate",
|
|
149076
149358
|
"privacy": "protected",
|
|
149077
149359
|
"return": {
|
|
149078
149360
|
"type": {
|
|
149079
149361
|
"text": "void"
|
|
149080
149362
|
}
|
|
149081
149363
|
},
|
|
149364
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
149082
149365
|
"inheritedFrom": {
|
|
149083
|
-
"name": "
|
|
149084
|
-
"module": "core/mixins/
|
|
149366
|
+
"name": "SbbFormAssociatedMixin",
|
|
149367
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149085
149368
|
}
|
|
149086
149369
|
},
|
|
149087
149370
|
{
|
|
149088
149371
|
"kind": "method",
|
|
149089
|
-
"name": "
|
|
149372
|
+
"name": "shouldValidate",
|
|
149090
149373
|
"privacy": "protected",
|
|
149091
149374
|
"return": {
|
|
149092
149375
|
"type": {
|
|
149093
|
-
"text": "
|
|
149376
|
+
"text": "boolean"
|
|
149094
149377
|
}
|
|
149095
149378
|
},
|
|
149096
|
-
"
|
|
149379
|
+
"parameters": [
|
|
149380
|
+
{
|
|
149381
|
+
"name": "name",
|
|
149382
|
+
"type": {
|
|
149383
|
+
"text": "PropertyKey | undefined"
|
|
149384
|
+
}
|
|
149385
|
+
}
|
|
149386
|
+
],
|
|
149387
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
149097
149388
|
"inheritedFrom": {
|
|
149098
|
-
"name": "
|
|
149099
|
-
"module": "core/mixins/
|
|
149389
|
+
"name": "SbbFormAssociatedMixin",
|
|
149390
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149100
149391
|
}
|
|
149101
149392
|
},
|
|
149102
149393
|
{
|
|
149103
149394
|
"kind": "method",
|
|
149104
|
-
"name": "
|
|
149395
|
+
"name": "_setInternalValidity",
|
|
149105
149396
|
"privacy": "private",
|
|
149106
149397
|
"return": {
|
|
149107
149398
|
"type": {
|
|
149108
|
-
"text": "
|
|
149399
|
+
"text": "void"
|
|
149109
149400
|
}
|
|
149110
149401
|
},
|
|
149111
149402
|
"inheritedFrom": {
|
|
149112
|
-
"name": "
|
|
149113
|
-
"module": "core/mixins/
|
|
149403
|
+
"name": "SbbFormAssociatedMixin",
|
|
149404
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149114
149405
|
}
|
|
149115
149406
|
},
|
|
149116
149407
|
{
|
|
149117
149408
|
"kind": "field",
|
|
149118
|
-
"name": "
|
|
149119
|
-
"privacy": "public",
|
|
149120
|
-
"static": true,
|
|
149121
|
-
"readonly": true,
|
|
149122
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
149409
|
+
"name": "role",
|
|
149123
149410
|
"type": {
|
|
149124
|
-
"text": "
|
|
149411
|
+
"text": "ElementInternals['role']"
|
|
149125
149412
|
},
|
|
149413
|
+
"privacy": "public",
|
|
149414
|
+
"static": true,
|
|
149126
149415
|
"inheritedFrom": {
|
|
149127
|
-
"name": "
|
|
149128
|
-
"module": "core/base-elements/
|
|
149129
|
-
}
|
|
149130
|
-
},
|
|
149131
|
-
{
|
|
149132
|
-
"kind": "field",
|
|
149133
|
-
"name": "state",
|
|
149134
|
-
"privacy": "protected",
|
|
149135
|
-
"description": "The state of the component.",
|
|
149136
|
-
"type": {
|
|
149137
|
-
"text": "SbbOpenedClosedState"
|
|
149416
|
+
"name": "SbbElement",
|
|
149417
|
+
"module": "core/base-elements/element.js"
|
|
149138
149418
|
},
|
|
149139
|
-
"
|
|
149140
|
-
"
|
|
149141
|
-
"name": "SbbOpenCloseBaseElement",
|
|
149142
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
149143
|
-
}
|
|
149419
|
+
"readonly": true,
|
|
149420
|
+
"default": "'button'"
|
|
149144
149421
|
},
|
|
149145
149422
|
{
|
|
149146
149423
|
"kind": "field",
|
|
149147
|
-
"name": "
|
|
149148
|
-
"type": {
|
|
149149
|
-
"text": "SbbOpenedClosedState"
|
|
149150
|
-
},
|
|
149424
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
149151
149425
|
"privacy": "private",
|
|
149426
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
149427
|
+
"parameters": [
|
|
149428
|
+
{
|
|
149429
|
+
"description": "The origin event.",
|
|
149430
|
+
"name": "event"
|
|
149431
|
+
}
|
|
149432
|
+
],
|
|
149152
149433
|
"inheritedFrom": {
|
|
149153
|
-
"name": "
|
|
149154
|
-
"module": "core/base-elements/
|
|
149434
|
+
"name": "SbbButtonLikeBaseElement",
|
|
149435
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149155
149436
|
}
|
|
149156
149437
|
},
|
|
149157
149438
|
{
|
|
149158
149439
|
"kind": "field",
|
|
149159
|
-
"name": "
|
|
149160
|
-
"
|
|
149161
|
-
"text": "boolean"
|
|
149162
|
-
},
|
|
149163
|
-
"privacy": "public",
|
|
149164
|
-
"description": "Whether the element is open.",
|
|
149165
|
-
"readonly": true,
|
|
149440
|
+
"name": "_removeActiveMarker",
|
|
149441
|
+
"privacy": "private",
|
|
149166
149442
|
"inheritedFrom": {
|
|
149167
|
-
"name": "
|
|
149168
|
-
"module": "core/base-elements/
|
|
149443
|
+
"name": "SbbButtonLikeBaseElement",
|
|
149444
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149169
149445
|
}
|
|
149170
149446
|
},
|
|
149171
149447
|
{
|
|
149172
|
-
"kind": "
|
|
149173
|
-
"name": "
|
|
149174
|
-
"privacy": "
|
|
149175
|
-
"
|
|
149176
|
-
|
|
149177
|
-
|
|
149448
|
+
"kind": "field",
|
|
149449
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
149450
|
+
"privacy": "private",
|
|
149451
|
+
"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.",
|
|
149452
|
+
"parameters": [
|
|
149453
|
+
{
|
|
149454
|
+
"description": "The origin event.",
|
|
149455
|
+
"name": "event"
|
|
149178
149456
|
}
|
|
149179
|
-
|
|
149180
|
-
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
149457
|
+
],
|
|
149181
149458
|
"inheritedFrom": {
|
|
149182
|
-
"name": "
|
|
149183
|
-
"module": "core/base-elements/
|
|
149459
|
+
"name": "SbbButtonLikeBaseElement",
|
|
149460
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149184
149461
|
}
|
|
149185
149462
|
},
|
|
149186
149463
|
{
|
|
149187
|
-
"kind": "
|
|
149188
|
-
"name": "
|
|
149189
|
-
"privacy": "
|
|
149190
|
-
"return": {
|
|
149191
|
-
"type": {
|
|
149192
|
-
"text": "boolean"
|
|
149193
|
-
}
|
|
149194
|
-
},
|
|
149464
|
+
"kind": "field",
|
|
149465
|
+
"name": "_dispatchClickEvent",
|
|
149466
|
+
"privacy": "private",
|
|
149195
149467
|
"inheritedFrom": {
|
|
149196
|
-
"name": "
|
|
149197
|
-
"module": "core/base-elements/
|
|
149468
|
+
"name": "SbbButtonLikeBaseElement",
|
|
149469
|
+
"module": "core/base-elements/button-base-element.js"
|
|
149198
149470
|
}
|
|
149199
149471
|
},
|
|
149200
149472
|
{
|
|
149201
|
-
"kind": "
|
|
149202
|
-
"name": "
|
|
149203
|
-
"
|
|
149204
|
-
|
|
149205
|
-
"type": {
|
|
149206
|
-
"text": "boolean"
|
|
149207
|
-
}
|
|
149473
|
+
"kind": "field",
|
|
149474
|
+
"name": "maybeDisabled",
|
|
149475
|
+
"type": {
|
|
149476
|
+
"text": "boolean | undefined"
|
|
149208
149477
|
},
|
|
149478
|
+
"privacy": "protected",
|
|
149479
|
+
"readonly": true,
|
|
149209
149480
|
"inheritedFrom": {
|
|
149210
|
-
"name": "
|
|
149211
|
-
"module": "core/base-elements/
|
|
149481
|
+
"name": "SbbActionBaseElement",
|
|
149482
|
+
"module": "core/base-elements/action-base-element.js"
|
|
149212
149483
|
}
|
|
149213
|
-
},
|
|
149214
|
-
{
|
|
149215
|
-
"kind": "
|
|
149216
|
-
"name": "
|
|
149217
|
-
"
|
|
149218
|
-
|
|
149219
|
-
"type": {
|
|
149220
|
-
"text": "boolean"
|
|
149221
|
-
}
|
|
149484
|
+
},
|
|
149485
|
+
{
|
|
149486
|
+
"kind": "field",
|
|
149487
|
+
"name": "maybeDisabledInteractive",
|
|
149488
|
+
"type": {
|
|
149489
|
+
"text": "boolean | undefined"
|
|
149222
149490
|
},
|
|
149491
|
+
"privacy": "protected",
|
|
149492
|
+
"readonly": true,
|
|
149223
149493
|
"inheritedFrom": {
|
|
149224
|
-
"name": "
|
|
149225
|
-
"module": "core/base-elements/
|
|
149494
|
+
"name": "SbbActionBaseElement",
|
|
149495
|
+
"module": "core/base-elements/action-base-element.js"
|
|
149226
149496
|
}
|
|
149227
149497
|
},
|
|
149228
149498
|
{
|
|
149229
149499
|
"kind": "method",
|
|
149230
|
-
"name": "
|
|
149500
|
+
"name": "setupBaseEventHandlers",
|
|
149231
149501
|
"privacy": "protected",
|
|
149232
149502
|
"return": {
|
|
149233
149503
|
"type": {
|
|
149234
|
-
"text": "
|
|
149504
|
+
"text": "void"
|
|
149235
149505
|
}
|
|
149236
149506
|
},
|
|
149237
149507
|
"inheritedFrom": {
|
|
149238
|
-
"name": "
|
|
149239
|
-
"module": "core/base-elements/
|
|
149508
|
+
"name": "SbbActionBaseElement",
|
|
149509
|
+
"module": "core/base-elements/action-base-element.js"
|
|
149240
149510
|
}
|
|
149241
149511
|
},
|
|
149242
149512
|
{
|
|
@@ -149253,32 +149523,6 @@
|
|
|
149253
149523
|
"module": "core/base-elements/element.js"
|
|
149254
149524
|
}
|
|
149255
149525
|
},
|
|
149256
|
-
{
|
|
149257
|
-
"kind": "field",
|
|
149258
|
-
"name": "elementDependencies",
|
|
149259
|
-
"type": {
|
|
149260
|
-
"text": "SbbElementType[] | undefined"
|
|
149261
|
-
},
|
|
149262
|
-
"privacy": "public",
|
|
149263
|
-
"static": true,
|
|
149264
|
-
"inheritedFrom": {
|
|
149265
|
-
"name": "SbbElement",
|
|
149266
|
-
"module": "core/base-elements/element.js"
|
|
149267
|
-
}
|
|
149268
|
-
},
|
|
149269
|
-
{
|
|
149270
|
-
"kind": "field",
|
|
149271
|
-
"name": "role",
|
|
149272
|
-
"type": {
|
|
149273
|
-
"text": "ElementInternals['role'] | undefined"
|
|
149274
|
-
},
|
|
149275
|
-
"privacy": "public",
|
|
149276
|
-
"static": true,
|
|
149277
|
-
"inheritedFrom": {
|
|
149278
|
-
"name": "SbbElement",
|
|
149279
|
-
"module": "core/base-elements/element.js"
|
|
149280
|
-
}
|
|
149281
|
-
},
|
|
149282
149526
|
{
|
|
149283
149527
|
"kind": "field",
|
|
149284
149528
|
"name": "_controllers",
|
|
@@ -149463,754 +149707,460 @@
|
|
|
149463
149707
|
"return": {
|
|
149464
149708
|
"type": {
|
|
149465
149709
|
"text": "void"
|
|
149466
|
-
}
|
|
149467
|
-
},
|
|
149468
|
-
"parameters": [
|
|
149469
|
-
{
|
|
149470
|
-
"name": "slot",
|
|
149471
|
-
"type": {
|
|
149472
|
-
"text": "HTMLSlotElement"
|
|
149473
|
-
}
|
|
149474
|
-
}
|
|
149475
|
-
],
|
|
149476
|
-
"inheritedFrom": {
|
|
149477
|
-
"name": "SbbElement",
|
|
149478
|
-
"module": "core/base-elements/element.js"
|
|
149479
|
-
}
|
|
149480
|
-
},
|
|
149481
|
-
{
|
|
149482
|
-
"kind": "method",
|
|
149483
|
-
"name": "_observeTextNodesInSlot",
|
|
149484
|
-
"privacy": "private",
|
|
149485
|
-
"return": {
|
|
149486
|
-
"type": {
|
|
149487
|
-
"text": "void"
|
|
149488
|
-
}
|
|
149489
|
-
},
|
|
149490
|
-
"parameters": [
|
|
149491
|
-
{
|
|
149492
|
-
"name": "slot",
|
|
149493
|
-
"type": {
|
|
149494
|
-
"text": "HTMLSlotElement"
|
|
149495
|
-
}
|
|
149496
|
-
}
|
|
149497
|
-
],
|
|
149498
|
-
"inheritedFrom": {
|
|
149499
|
-
"name": "SbbElement",
|
|
149500
|
-
"module": "core/base-elements/element.js"
|
|
149501
|
-
}
|
|
149502
|
-
},
|
|
149503
|
-
{
|
|
149504
|
-
"kind": "method",
|
|
149505
|
-
"name": "_hasSlottedContent",
|
|
149506
|
-
"privacy": "private",
|
|
149507
|
-
"return": {
|
|
149508
|
-
"type": {
|
|
149509
|
-
"text": "boolean"
|
|
149510
|
-
}
|
|
149511
|
-
},
|
|
149512
|
-
"parameters": [
|
|
149513
|
-
{
|
|
149514
|
-
"name": "slot",
|
|
149515
|
-
"type": {
|
|
149516
|
-
"text": "HTMLSlotElement"
|
|
149517
|
-
}
|
|
149518
|
-
}
|
|
149519
|
-
],
|
|
149520
|
-
"inheritedFrom": {
|
|
149521
|
-
"name": "SbbElement",
|
|
149522
|
-
"module": "core/base-elements/element.js"
|
|
149523
|
-
}
|
|
149524
|
-
}
|
|
149525
|
-
],
|
|
149526
|
-
"attributes": [
|
|
149527
|
-
{
|
|
149528
|
-
"name": "color",
|
|
149529
|
-
"type": {
|
|
149530
|
-
"text": "'white' | 'milk'"
|
|
149531
|
-
},
|
|
149532
|
-
"default": "'white'",
|
|
149533
|
-
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
149534
|
-
"fieldName": "color"
|
|
149535
|
-
},
|
|
149536
|
-
{
|
|
149537
|
-
"name": "mode",
|
|
149538
|
-
"type": {
|
|
149539
|
-
"text": "'side' | 'over'"
|
|
149540
|
-
},
|
|
149541
|
-
"default": "'side'",
|
|
149542
|
-
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
149543
|
-
"fieldName": "mode"
|
|
149544
|
-
},
|
|
149545
|
-
{
|
|
149546
|
-
"name": "position",
|
|
149547
|
-
"type": {
|
|
149548
|
-
"text": "'start' | 'end'"
|
|
149549
|
-
},
|
|
149550
|
-
"default": "'start'",
|
|
149551
|
-
"description": "The side that the sidebar is attached to.",
|
|
149552
|
-
"fieldName": "position"
|
|
149553
|
-
},
|
|
149554
|
-
{
|
|
149555
|
-
"name": "opened",
|
|
149556
|
-
"type": {
|
|
149557
|
-
"text": "boolean"
|
|
149558
|
-
},
|
|
149559
|
-
"default": "false",
|
|
149560
|
-
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
149561
|
-
"fieldName": "opened"
|
|
149562
|
-
},
|
|
149563
|
-
{
|
|
149564
|
-
"name": "focus-on-open",
|
|
149565
|
-
"type": {
|
|
149566
|
-
"text": "boolean"
|
|
149567
|
-
},
|
|
149568
|
-
"default": "false",
|
|
149569
|
-
"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.",
|
|
149570
|
-
"fieldName": "focusOnOpen"
|
|
149571
|
-
}
|
|
149572
|
-
],
|
|
149573
|
-
"mixins": [
|
|
149574
|
-
{
|
|
149575
|
-
"name": "SbbAnimationCompleteMixin",
|
|
149576
|
-
"module": "core.js"
|
|
149577
|
-
}
|
|
149578
|
-
],
|
|
149579
|
-
"superclass": {
|
|
149580
|
-
"name": "SbbOpenCloseBaseElement",
|
|
149581
|
-
"module": "core.js"
|
|
149582
|
-
},
|
|
149583
|
-
"tagName": "sbb-sidebar",
|
|
149584
|
-
"customElement": true,
|
|
149585
|
-
"events": [
|
|
149586
|
-
{
|
|
149587
|
-
"name": "beforeopen",
|
|
149588
|
-
"type": {
|
|
149589
|
-
"text": "Event"
|
|
149590
|
-
},
|
|
149591
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
149592
|
-
"inheritedFrom": {
|
|
149593
|
-
"name": "SbbOpenCloseBaseElement",
|
|
149594
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
149595
|
-
}
|
|
149596
|
-
},
|
|
149597
|
-
{
|
|
149598
|
-
"name": "open",
|
|
149599
|
-
"type": {
|
|
149600
|
-
"text": "Event"
|
|
149601
|
-
},
|
|
149602
|
-
"description": "Emits whenever the component is opened.",
|
|
149603
|
-
"inheritedFrom": {
|
|
149604
|
-
"name": "SbbOpenCloseBaseElement",
|
|
149605
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
149606
|
-
}
|
|
149607
|
-
},
|
|
149608
|
-
{
|
|
149609
|
-
"name": "beforeclose",
|
|
149610
|
-
"type": {
|
|
149611
|
-
"text": "Event"
|
|
149612
|
-
},
|
|
149613
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
149614
|
-
"inheritedFrom": {
|
|
149615
|
-
"name": "SbbOpenCloseBaseElement",
|
|
149616
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
149617
|
-
}
|
|
149618
|
-
},
|
|
149619
|
-
{
|
|
149620
|
-
"name": "close",
|
|
149621
|
-
"type": {
|
|
149622
|
-
"text": "Event"
|
|
149623
|
-
},
|
|
149624
|
-
"description": "Emits whenever the component is closed.",
|
|
149625
|
-
"inheritedFrom": {
|
|
149626
|
-
"name": "SbbOpenCloseBaseElement",
|
|
149627
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
149628
|
-
}
|
|
149629
|
-
}
|
|
149630
|
-
]
|
|
149631
|
-
}
|
|
149632
|
-
],
|
|
149633
|
-
"exports": [
|
|
149634
|
-
{
|
|
149635
|
-
"kind": "js",
|
|
149636
|
-
"name": "SbbSidebarElement",
|
|
149637
|
-
"declaration": {
|
|
149638
|
-
"name": "SbbSidebarElement",
|
|
149639
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
149640
|
-
}
|
|
149641
|
-
}
|
|
149642
|
-
]
|
|
149643
|
-
},
|
|
149644
|
-
{
|
|
149645
|
-
"kind": "javascript-module",
|
|
149646
|
-
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
149647
|
-
"declarations": [
|
|
149648
|
-
{
|
|
149649
|
-
"kind": "class",
|
|
149650
|
-
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
149651
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
149652
|
-
"slots": [
|
|
149653
|
-
{
|
|
149654
|
-
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
149655
|
-
"name": "",
|
|
149656
|
-
"inheritedFrom": {
|
|
149657
|
-
"name": "SbbSecondaryButtonElement",
|
|
149658
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
149659
|
-
}
|
|
149660
|
-
},
|
|
149661
|
-
{
|
|
149662
|
-
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
149663
|
-
"name": "icon",
|
|
149664
|
-
"inheritedFrom": {
|
|
149665
|
-
"name": "SbbSecondaryButtonElement",
|
|
149666
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
149667
|
-
}
|
|
149668
|
-
}
|
|
149669
|
-
],
|
|
149670
|
-
"members": [
|
|
149671
|
-
{
|
|
149672
|
-
"kind": "field",
|
|
149673
|
-
"name": "elementName",
|
|
149674
|
-
"type": {
|
|
149675
|
-
"text": "string"
|
|
149710
|
+
}
|
|
149676
149711
|
},
|
|
149677
|
-
"
|
|
149678
|
-
|
|
149679
|
-
|
|
149712
|
+
"parameters": [
|
|
149713
|
+
{
|
|
149714
|
+
"name": "slot",
|
|
149715
|
+
"type": {
|
|
149716
|
+
"text": "HTMLSlotElement"
|
|
149717
|
+
}
|
|
149718
|
+
}
|
|
149719
|
+
],
|
|
149680
149720
|
"inheritedFrom": {
|
|
149681
149721
|
"name": "SbbElement",
|
|
149682
149722
|
"module": "core/base-elements/element.js"
|
|
149683
|
-
}
|
|
149684
|
-
"default": "'sbb-sidebar-close-button'"
|
|
149685
|
-
},
|
|
149686
|
-
{
|
|
149687
|
-
"kind": "field",
|
|
149688
|
-
"name": "_languageController",
|
|
149689
|
-
"privacy": "private",
|
|
149690
|
-
"default": "new SbbLanguageController(this)"
|
|
149723
|
+
}
|
|
149691
149724
|
},
|
|
149692
149725
|
{
|
|
149693
149726
|
"kind": "method",
|
|
149694
|
-
"name": "
|
|
149695
|
-
"privacy": "
|
|
149727
|
+
"name": "_observeTextNodesInSlot",
|
|
149728
|
+
"privacy": "private",
|
|
149696
149729
|
"return": {
|
|
149697
149730
|
"type": {
|
|
149698
|
-
"text": "
|
|
149731
|
+
"text": "void"
|
|
149699
149732
|
}
|
|
149700
149733
|
},
|
|
149701
|
-
"
|
|
149734
|
+
"parameters": [
|
|
149735
|
+
{
|
|
149736
|
+
"name": "slot",
|
|
149737
|
+
"type": {
|
|
149738
|
+
"text": "HTMLSlotElement"
|
|
149739
|
+
}
|
|
149740
|
+
}
|
|
149741
|
+
],
|
|
149702
149742
|
"inheritedFrom": {
|
|
149703
|
-
"name": "
|
|
149704
|
-
"module": "core/base-elements/
|
|
149743
|
+
"name": "SbbElement",
|
|
149744
|
+
"module": "core/base-elements/element.js"
|
|
149705
149745
|
}
|
|
149706
149746
|
},
|
|
149707
149747
|
{
|
|
149708
149748
|
"kind": "method",
|
|
149709
|
-
"name": "
|
|
149710
|
-
"privacy": "
|
|
149749
|
+
"name": "_hasSlottedContent",
|
|
149750
|
+
"privacy": "private",
|
|
149711
149751
|
"return": {
|
|
149712
149752
|
"type": {
|
|
149713
|
-
"text": "
|
|
149753
|
+
"text": "boolean"
|
|
149714
149754
|
}
|
|
149715
149755
|
},
|
|
149756
|
+
"parameters": [
|
|
149757
|
+
{
|
|
149758
|
+
"name": "slot",
|
|
149759
|
+
"type": {
|
|
149760
|
+
"text": "HTMLSlotElement"
|
|
149761
|
+
}
|
|
149762
|
+
}
|
|
149763
|
+
],
|
|
149716
149764
|
"inheritedFrom": {
|
|
149717
|
-
"name": "
|
|
149718
|
-
"module": "
|
|
149765
|
+
"name": "SbbElement",
|
|
149766
|
+
"module": "core/base-elements/element.js"
|
|
149719
149767
|
}
|
|
149720
|
-
}
|
|
149768
|
+
}
|
|
149769
|
+
],
|
|
149770
|
+
"superclass": {
|
|
149771
|
+
"name": "SbbSecondaryButtonElement",
|
|
149772
|
+
"module": "button.pure.js"
|
|
149773
|
+
},
|
|
149774
|
+
"tagName": "sbb-sidebar-close-button",
|
|
149775
|
+
"customElement": true,
|
|
149776
|
+
"attributes": [
|
|
149721
149777
|
{
|
|
149722
|
-
"kind": "field",
|
|
149723
149778
|
"name": "size",
|
|
149724
149779
|
"type": {
|
|
149725
149780
|
"text": "SbbButtonSize"
|
|
149726
149781
|
},
|
|
149727
|
-
"privacy": "public",
|
|
149728
149782
|
"description": "Size variant, either l, m or s.",
|
|
149729
|
-
"default": "'s'",
|
|
149730
|
-
"
|
|
149731
|
-
"reflects": true,
|
|
149732
|
-
"inheritedFrom": {
|
|
149733
|
-
"name": "SbbButtonCommonElementMixin",
|
|
149734
|
-
"module": "button/common/button-common.js"
|
|
149735
|
-
}
|
|
149736
|
-
},
|
|
149737
|
-
{
|
|
149738
|
-
"kind": "field",
|
|
149739
|
-
"name": "styles",
|
|
149740
|
-
"type": {
|
|
149741
|
-
"text": "CSSResultGroup"
|
|
149742
|
-
},
|
|
149743
|
-
"privacy": "public",
|
|
149744
|
-
"static": true,
|
|
149745
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
149783
|
+
"default": "'m' / 's' (lean)",
|
|
149784
|
+
"fieldName": "size",
|
|
149746
149785
|
"inheritedFrom": {
|
|
149747
149786
|
"name": "SbbButtonCommonElementMixin",
|
|
149748
149787
|
"module": "button/common/button-common.js"
|
|
149749
149788
|
}
|
|
149750
149789
|
},
|
|
149751
149790
|
{
|
|
149752
|
-
"kind": "field",
|
|
149753
149791
|
"name": "loading",
|
|
149754
149792
|
"type": {
|
|
149755
149793
|
"text": "boolean"
|
|
149756
149794
|
},
|
|
149757
|
-
"privacy": "public",
|
|
149758
149795
|
"default": "false",
|
|
149759
149796
|
"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.",
|
|
149760
|
-
"
|
|
149761
|
-
"reflects": true,
|
|
149797
|
+
"fieldName": "loading",
|
|
149762
149798
|
"inheritedFrom": {
|
|
149763
149799
|
"name": "SbbButtonCommonElementMixin",
|
|
149764
149800
|
"module": "button/common/button-common.js"
|
|
149765
149801
|
}
|
|
149766
149802
|
},
|
|
149767
149803
|
{
|
|
149768
|
-
"kind": "field",
|
|
149769
149804
|
"name": "negative",
|
|
149770
149805
|
"type": {
|
|
149771
149806
|
"text": "boolean"
|
|
149772
149807
|
},
|
|
149773
|
-
"privacy": "public",
|
|
149774
149808
|
"default": "false",
|
|
149775
149809
|
"description": "Negative coloring variant flag.",
|
|
149776
|
-
"
|
|
149777
|
-
"reflects": true,
|
|
149810
|
+
"fieldName": "negative",
|
|
149778
149811
|
"inheritedFrom": {
|
|
149779
149812
|
"name": "SbbNegativeMixin",
|
|
149780
149813
|
"module": "core/mixins/negative-mixin.js"
|
|
149781
149814
|
}
|
|
149782
149815
|
},
|
|
149783
149816
|
{
|
|
149784
|
-
"
|
|
149785
|
-
"name": "elementDependencies",
|
|
149786
|
-
"type": {
|
|
149787
|
-
"text": "SbbElementType[]"
|
|
149788
|
-
},
|
|
149789
|
-
"privacy": "public",
|
|
149790
|
-
"static": true,
|
|
149791
|
-
"inheritedFrom": {
|
|
149792
|
-
"name": "SbbElement",
|
|
149793
|
-
"module": "core/base-elements/element.js"
|
|
149794
|
-
},
|
|
149795
|
-
"default": "[SbbIconElement]"
|
|
149796
|
-
},
|
|
149797
|
-
{
|
|
149798
|
-
"kind": "field",
|
|
149799
|
-
"name": "iconName",
|
|
149817
|
+
"name": "icon-name",
|
|
149800
149818
|
"type": {
|
|
149801
149819
|
"text": "string"
|
|
149802
149820
|
},
|
|
149803
|
-
"privacy": "public",
|
|
149804
149821
|
"default": "''",
|
|
149805
149822
|
"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.",
|
|
149806
|
-
"
|
|
149807
|
-
"inheritedFrom": {
|
|
149808
|
-
"name": "SbbIconNameMixin",
|
|
149809
|
-
"module": "icon/icon-name-mixin.js"
|
|
149810
|
-
}
|
|
149811
|
-
},
|
|
149812
|
-
{
|
|
149813
|
-
"kind": "method",
|
|
149814
|
-
"name": "renderIconSlot",
|
|
149815
|
-
"privacy": "protected",
|
|
149816
|
-
"return": {
|
|
149817
|
-
"type": {
|
|
149818
|
-
"text": "TemplateResult"
|
|
149819
|
-
}
|
|
149820
|
-
},
|
|
149821
|
-
"parameters": [
|
|
149822
|
-
{
|
|
149823
|
-
"name": "classname",
|
|
149824
|
-
"optional": true,
|
|
149825
|
-
"type": {
|
|
149826
|
-
"text": "string"
|
|
149827
|
-
}
|
|
149828
|
-
}
|
|
149829
|
-
],
|
|
149830
|
-
"inheritedFrom": {
|
|
149831
|
-
"name": "SbbIconNameMixin",
|
|
149832
|
-
"module": "icon/icon-name-mixin.js"
|
|
149833
|
-
}
|
|
149834
|
-
},
|
|
149835
|
-
{
|
|
149836
|
-
"kind": "method",
|
|
149837
|
-
"name": "_renderIconName",
|
|
149838
|
-
"privacy": "private",
|
|
149839
|
-
"return": {
|
|
149840
|
-
"type": {
|
|
149841
|
-
"text": "string"
|
|
149842
|
-
}
|
|
149843
|
-
},
|
|
149823
|
+
"fieldName": "iconName",
|
|
149844
149824
|
"inheritedFrom": {
|
|
149845
149825
|
"name": "SbbIconNameMixin",
|
|
149846
149826
|
"module": "icon/icon-name-mixin.js"
|
|
149847
149827
|
}
|
|
149848
149828
|
},
|
|
149849
149829
|
{
|
|
149850
|
-
"
|
|
149851
|
-
"name": "disabledInteractive",
|
|
149830
|
+
"name": "disabled-interactive",
|
|
149852
149831
|
"type": {
|
|
149853
149832
|
"text": "boolean"
|
|
149854
149833
|
},
|
|
149855
|
-
"privacy": "public",
|
|
149856
149834
|
"default": "false",
|
|
149857
149835
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
149858
|
-
"
|
|
149859
|
-
"reflects": true,
|
|
149836
|
+
"fieldName": "disabledInteractive",
|
|
149860
149837
|
"inheritedFrom": {
|
|
149861
149838
|
"name": "SbbDisabledInteractiveMixin",
|
|
149862
149839
|
"module": "core/mixins/disabled-mixin.js"
|
|
149863
149840
|
}
|
|
149864
149841
|
},
|
|
149865
149842
|
{
|
|
149866
|
-
"kind": "field",
|
|
149867
149843
|
"name": "disabled",
|
|
149868
|
-
"privacy": "public",
|
|
149869
149844
|
"description": "Whether the component is disabled.",
|
|
149870
149845
|
"default": "false",
|
|
149871
149846
|
"type": {
|
|
149872
149847
|
"text": "boolean"
|
|
149873
149848
|
},
|
|
149874
|
-
"
|
|
149875
|
-
"reflects": true,
|
|
149876
|
-
"inheritedFrom": {
|
|
149877
|
-
"name": "SbbDisabledMixin",
|
|
149878
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
149879
|
-
}
|
|
149880
|
-
},
|
|
149881
|
-
{
|
|
149882
|
-
"kind": "field",
|
|
149883
|
-
"name": "#disabled",
|
|
149884
|
-
"privacy": "private",
|
|
149885
|
-
"type": {
|
|
149886
|
-
"text": "boolean"
|
|
149887
|
-
},
|
|
149888
|
-
"default": "false",
|
|
149889
|
-
"inheritedFrom": {
|
|
149890
|
-
"name": "SbbDisabledMixin",
|
|
149891
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
149892
|
-
}
|
|
149893
|
-
},
|
|
149894
|
-
{
|
|
149895
|
-
"kind": "method",
|
|
149896
|
-
"name": "isDisabledExternally",
|
|
149897
|
-
"privacy": "protected",
|
|
149898
|
-
"return": {
|
|
149899
|
-
"type": {
|
|
149900
|
-
"text": "boolean"
|
|
149901
|
-
}
|
|
149902
|
-
},
|
|
149903
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
149849
|
+
"fieldName": "disabled",
|
|
149904
149850
|
"inheritedFrom": {
|
|
149905
149851
|
"name": "SbbDisabledMixin",
|
|
149906
149852
|
"module": "core/mixins/disabled-mixin.js"
|
|
149907
149853
|
}
|
|
149908
149854
|
},
|
|
149909
149855
|
{
|
|
149910
|
-
"kind": "field",
|
|
149911
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
149912
|
-
"type": {
|
|
149913
|
-
"text": "array"
|
|
149914
|
-
},
|
|
149915
|
-
"privacy": "private",
|
|
149916
|
-
"readonly": true,
|
|
149917
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
149918
|
-
"inheritedFrom": {
|
|
149919
|
-
"name": "SbbButtonBaseElement",
|
|
149920
|
-
"module": "core/base-elements/button-base-element.js"
|
|
149921
|
-
}
|
|
149922
|
-
},
|
|
149923
|
-
{
|
|
149924
|
-
"kind": "field",
|
|
149925
149856
|
"name": "value",
|
|
149926
149857
|
"type": {
|
|
149927
149858
|
"text": "string"
|
|
149928
149859
|
},
|
|
149929
|
-
"privacy": "public",
|
|
149930
|
-
"inheritedFrom": {
|
|
149931
|
-
"name": "SbbButtonBaseElement",
|
|
149932
|
-
"module": "core/base-elements/button-base-element.js"
|
|
149933
|
-
},
|
|
149934
|
-
"default": "''",
|
|
149935
|
-
"description": "Value of the form element.",
|
|
149936
|
-
"attribute": "value"
|
|
149937
|
-
},
|
|
149938
|
-
{
|
|
149939
|
-
"kind": "field",
|
|
149940
|
-
"name": "type",
|
|
149941
|
-
"privacy": "public",
|
|
149942
|
-
"description": "The type attribute to use for the button.",
|
|
149943
|
-
"default": "'button'",
|
|
149944
|
-
"type": {
|
|
149945
|
-
"text": "SbbButtonType"
|
|
149946
|
-
},
|
|
149947
|
-
"attribute": "type",
|
|
149948
|
-
"inheritedFrom": {
|
|
149949
|
-
"name": "SbbButtonBaseElement",
|
|
149950
|
-
"module": "core/base-elements/button-base-element.js"
|
|
149951
|
-
}
|
|
149952
|
-
},
|
|
149953
|
-
{
|
|
149954
|
-
"kind": "field",
|
|
149955
|
-
"name": "form",
|
|
149956
|
-
"type": {
|
|
149957
|
-
"text": "HTMLFormElement | null"
|
|
149958
|
-
},
|
|
149959
|
-
"privacy": "public",
|
|
149960
|
-
"description": "The `<form>` element to associate the button with.",
|
|
149961
|
-
"inheritedFrom": {
|
|
149962
|
-
"name": "SbbButtonBaseElement",
|
|
149963
|
-
"module": "core/base-elements/button-base-element.js"
|
|
149964
|
-
},
|
|
149965
|
-
"attribute": "form"
|
|
149966
|
-
},
|
|
149967
|
-
{
|
|
149968
|
-
"kind": "field",
|
|
149969
|
-
"name": "_formId",
|
|
149970
|
-
"type": {
|
|
149971
|
-
"text": "string"
|
|
149972
|
-
},
|
|
149973
|
-
"privacy": "private",
|
|
149974
149860
|
"default": "''",
|
|
149861
|
+
"description": "Value of the form element.",
|
|
149862
|
+
"fieldName": "value",
|
|
149975
149863
|
"inheritedFrom": {
|
|
149976
149864
|
"name": "SbbButtonBaseElement",
|
|
149977
149865
|
"module": "core/base-elements/button-base-element.js"
|
|
149978
149866
|
}
|
|
149979
149867
|
},
|
|
149980
149868
|
{
|
|
149981
|
-
"
|
|
149982
|
-
"
|
|
149983
|
-
"
|
|
149869
|
+
"name": "type",
|
|
149870
|
+
"description": "The type attribute to use for the button.",
|
|
149871
|
+
"default": "'button'",
|
|
149872
|
+
"type": {
|
|
149873
|
+
"text": "SbbButtonType"
|
|
149874
|
+
},
|
|
149875
|
+
"fieldName": "type",
|
|
149984
149876
|
"inheritedFrom": {
|
|
149985
149877
|
"name": "SbbButtonBaseElement",
|
|
149986
149878
|
"module": "core/base-elements/button-base-element.js"
|
|
149987
149879
|
}
|
|
149988
149880
|
},
|
|
149989
149881
|
{
|
|
149990
|
-
"
|
|
149991
|
-
"
|
|
149992
|
-
"
|
|
149993
|
-
|
|
149994
|
-
"type": {
|
|
149995
|
-
"text": "void"
|
|
149996
|
-
}
|
|
149882
|
+
"name": "form",
|
|
149883
|
+
"description": "The `<form>` element to associate the button with.",
|
|
149884
|
+
"type": {
|
|
149885
|
+
"text": "HTMLFormElement | null"
|
|
149997
149886
|
},
|
|
149998
|
-
"
|
|
149999
|
-
{
|
|
150000
|
-
"name": "form",
|
|
150001
|
-
"type": {
|
|
150002
|
-
"text": "HTMLFormElement"
|
|
150003
|
-
}
|
|
150004
|
-
}
|
|
150005
|
-
],
|
|
149887
|
+
"fieldName": "form",
|
|
150006
149888
|
"inheritedFrom": {
|
|
150007
149889
|
"name": "SbbButtonBaseElement",
|
|
150008
149890
|
"module": "core/base-elements/button-base-element.js"
|
|
150009
149891
|
}
|
|
150010
149892
|
},
|
|
150011
149893
|
{
|
|
150012
|
-
"
|
|
150013
|
-
"
|
|
150014
|
-
"
|
|
149894
|
+
"name": "name",
|
|
149895
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
149896
|
+
"type": {
|
|
149897
|
+
"text": "string"
|
|
149898
|
+
},
|
|
149899
|
+
"fieldName": "name",
|
|
150015
149900
|
"inheritedFrom": {
|
|
150016
|
-
"name": "
|
|
150017
|
-
"module": "core/
|
|
149901
|
+
"name": "SbbFormAssociatedMixin",
|
|
149902
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
149903
|
+
}
|
|
149904
|
+
}
|
|
149905
|
+
],
|
|
149906
|
+
"cssProperties": [
|
|
149907
|
+
{
|
|
149908
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
149909
|
+
"name": "--sbb-button-loading-delay",
|
|
149910
|
+
"default": "300ms",
|
|
149911
|
+
"inheritedFrom": {
|
|
149912
|
+
"name": "SbbSecondaryButtonElement",
|
|
149913
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
150018
149914
|
}
|
|
149915
|
+
}
|
|
149916
|
+
]
|
|
149917
|
+
}
|
|
149918
|
+
],
|
|
149919
|
+
"exports": [
|
|
149920
|
+
{
|
|
149921
|
+
"kind": "js",
|
|
149922
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
149923
|
+
"declaration": {
|
|
149924
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
149925
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
149926
|
+
}
|
|
149927
|
+
}
|
|
149928
|
+
]
|
|
149929
|
+
},
|
|
149930
|
+
{
|
|
149931
|
+
"kind": "javascript-module",
|
|
149932
|
+
"path": "sidebar/sidebar/sidebar.component.js",
|
|
149933
|
+
"declarations": [
|
|
149934
|
+
{
|
|
149935
|
+
"kind": "class",
|
|
149936
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
149937
|
+
"name": "SbbSidebarElement",
|
|
149938
|
+
"slots": [
|
|
149939
|
+
{
|
|
149940
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
149941
|
+
"name": ""
|
|
150019
149942
|
},
|
|
149943
|
+
{
|
|
149944
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
149945
|
+
"name": "title"
|
|
149946
|
+
}
|
|
149947
|
+
],
|
|
149948
|
+
"members": [
|
|
150020
149949
|
{
|
|
150021
149950
|
"kind": "field",
|
|
150022
|
-
"name": "
|
|
149951
|
+
"name": "elementName",
|
|
150023
149952
|
"type": {
|
|
150024
|
-
"text": "
|
|
149953
|
+
"text": "string"
|
|
150025
149954
|
},
|
|
150026
149955
|
"privacy": "public",
|
|
150027
149956
|
"static": true,
|
|
150028
|
-
"
|
|
149957
|
+
"readonly": true,
|
|
150029
149958
|
"inheritedFrom": {
|
|
150030
|
-
"name": "
|
|
150031
|
-
"module": "core/
|
|
150032
|
-
}
|
|
149959
|
+
"name": "SbbElement",
|
|
149960
|
+
"module": "core/base-elements/element.js"
|
|
149961
|
+
},
|
|
149962
|
+
"default": "'sbb-sidebar'"
|
|
150033
149963
|
},
|
|
150034
149964
|
{
|
|
150035
149965
|
"kind": "field",
|
|
150036
|
-
"name": "
|
|
149966
|
+
"name": "color",
|
|
149967
|
+
"type": {
|
|
149968
|
+
"text": "'white' | 'milk'"
|
|
149969
|
+
},
|
|
150037
149970
|
"privacy": "public",
|
|
150038
|
-
"
|
|
149971
|
+
"default": "'white'",
|
|
149972
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
149973
|
+
"attribute": "color",
|
|
149974
|
+
"reflects": true
|
|
149975
|
+
},
|
|
149976
|
+
{
|
|
149977
|
+
"kind": "field",
|
|
149978
|
+
"name": "mode",
|
|
150039
149979
|
"type": {
|
|
150040
|
-
"text": "
|
|
149980
|
+
"text": "'side' | 'over'"
|
|
150041
149981
|
},
|
|
150042
|
-
"
|
|
150043
|
-
"
|
|
150044
|
-
|
|
150045
|
-
|
|
150046
|
-
|
|
149982
|
+
"privacy": "public",
|
|
149983
|
+
"default": "'side'",
|
|
149984
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
149985
|
+
"attribute": "mode",
|
|
149986
|
+
"reflects": true
|
|
150047
149987
|
},
|
|
150048
149988
|
{
|
|
150049
149989
|
"kind": "field",
|
|
150050
|
-
"name": "
|
|
149990
|
+
"name": "position",
|
|
150051
149991
|
"type": {
|
|
150052
|
-
"text": "
|
|
149992
|
+
"text": "'start' | 'end'"
|
|
150053
149993
|
},
|
|
150054
149994
|
"privacy": "public",
|
|
150055
|
-
"
|
|
150056
|
-
"
|
|
150057
|
-
"
|
|
150058
|
-
|
|
150059
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150060
|
-
}
|
|
149995
|
+
"default": "'start'",
|
|
149996
|
+
"description": "The side that the sidebar is attached to.",
|
|
149997
|
+
"attribute": "position",
|
|
149998
|
+
"reflects": true
|
|
150061
149999
|
},
|
|
150062
150000
|
{
|
|
150063
150001
|
"kind": "field",
|
|
150064
|
-
"name": "
|
|
150002
|
+
"name": "opened",
|
|
150065
150003
|
"type": {
|
|
150066
|
-
"text": "
|
|
150004
|
+
"text": "boolean"
|
|
150067
150005
|
},
|
|
150068
150006
|
"privacy": "public",
|
|
150069
|
-
"
|
|
150070
|
-
"
|
|
150071
|
-
"
|
|
150072
|
-
|
|
150073
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150074
|
-
}
|
|
150007
|
+
"default": "false",
|
|
150008
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
150009
|
+
"attribute": "opened",
|
|
150010
|
+
"reflects": true
|
|
150075
150011
|
},
|
|
150076
150012
|
{
|
|
150077
150013
|
"kind": "field",
|
|
150078
|
-
"name": "
|
|
150014
|
+
"name": "focusOnOpen",
|
|
150079
150015
|
"type": {
|
|
150080
150016
|
"text": "boolean"
|
|
150081
150017
|
},
|
|
150082
150018
|
"privacy": "public",
|
|
150083
|
-
"
|
|
150019
|
+
"default": "false",
|
|
150020
|
+
"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.",
|
|
150021
|
+
"attribute": "focus-on-open"
|
|
150022
|
+
},
|
|
150023
|
+
{
|
|
150024
|
+
"kind": "field",
|
|
150025
|
+
"name": "container",
|
|
150026
|
+
"type": {
|
|
150027
|
+
"text": "SbbSidebarContainerElement | null"
|
|
150028
|
+
},
|
|
150029
|
+
"privacy": "public",
|
|
150030
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
150084
150031
|
"readonly": true,
|
|
150085
|
-
"
|
|
150086
|
-
"name": "SbbFormAssociatedMixin",
|
|
150087
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150088
|
-
}
|
|
150032
|
+
"default": "null"
|
|
150089
150033
|
},
|
|
150090
150034
|
{
|
|
150091
150035
|
"kind": "field",
|
|
150092
|
-
"name": "
|
|
150036
|
+
"name": "_container",
|
|
150037
|
+
"type": {
|
|
150038
|
+
"text": "SbbSidebarContainerElement | null"
|
|
150039
|
+
},
|
|
150093
150040
|
"privacy": "private",
|
|
150094
|
-
"default": "
|
|
150095
|
-
"inheritedFrom": {
|
|
150096
|
-
"name": "SbbFormAssociatedMixin",
|
|
150097
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150098
|
-
}
|
|
150041
|
+
"default": "null"
|
|
150099
150042
|
},
|
|
150100
150043
|
{
|
|
150101
150044
|
"kind": "field",
|
|
150102
|
-
"name": "
|
|
150045
|
+
"name": "_lastFocusedElement",
|
|
150103
150046
|
"type": {
|
|
150104
|
-
"text": "
|
|
150047
|
+
"text": "HTMLElement | null"
|
|
150105
150048
|
},
|
|
150106
|
-
"privacy": "
|
|
150107
|
-
"default": "
|
|
150108
|
-
|
|
150109
|
-
|
|
150110
|
-
|
|
150111
|
-
|
|
150112
|
-
|
|
150049
|
+
"privacy": "private",
|
|
150050
|
+
"default": "null"
|
|
150051
|
+
},
|
|
150052
|
+
{
|
|
150053
|
+
"kind": "field",
|
|
150054
|
+
"name": "_focusTrapController",
|
|
150055
|
+
"privacy": "private",
|
|
150056
|
+
"default": "new SbbFocusTrapController(this)"
|
|
150057
|
+
},
|
|
150058
|
+
{
|
|
150059
|
+
"kind": "field",
|
|
150060
|
+
"name": "_escapableOverlayController",
|
|
150061
|
+
"privacy": "private",
|
|
150062
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
150063
|
+
},
|
|
150064
|
+
{
|
|
150065
|
+
"kind": "field",
|
|
150066
|
+
"name": "_closeOnNavigation",
|
|
150067
|
+
"privacy": "private"
|
|
150113
150068
|
},
|
|
150114
150069
|
{
|
|
150115
150070
|
"kind": "method",
|
|
150116
|
-
"name": "
|
|
150071
|
+
"name": "toggle",
|
|
150117
150072
|
"privacy": "public",
|
|
150118
150073
|
"return": {
|
|
150119
150074
|
"type": {
|
|
150120
|
-
"text": "
|
|
150075
|
+
"text": "void"
|
|
150121
150076
|
}
|
|
150122
150077
|
},
|
|
150123
|
-
"description": "
|
|
150124
|
-
"inheritedFrom": {
|
|
150125
|
-
"name": "SbbFormAssociatedMixin",
|
|
150126
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150127
|
-
}
|
|
150078
|
+
"description": "Toggles the sidebar visibility."
|
|
150128
150079
|
},
|
|
150129
150080
|
{
|
|
150130
150081
|
"kind": "method",
|
|
150131
|
-
"name": "
|
|
150082
|
+
"name": "open",
|
|
150132
150083
|
"privacy": "public",
|
|
150133
150084
|
"return": {
|
|
150134
150085
|
"type": {
|
|
150135
|
-
"text": "
|
|
150086
|
+
"text": "void"
|
|
150136
150087
|
}
|
|
150137
150088
|
},
|
|
150138
|
-
"description": "
|
|
150089
|
+
"description": "Opens the sidebar.",
|
|
150139
150090
|
"inheritedFrom": {
|
|
150140
|
-
"name": "
|
|
150141
|
-
"module": "core/
|
|
150091
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150092
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150093
|
+
}
|
|
150094
|
+
},
|
|
150095
|
+
{
|
|
150096
|
+
"kind": "method",
|
|
150097
|
+
"name": "_isZeroAnimationDuration",
|
|
150098
|
+
"privacy": "private",
|
|
150099
|
+
"return": {
|
|
150100
|
+
"type": {
|
|
150101
|
+
"text": "boolean"
|
|
150102
|
+
}
|
|
150103
|
+
}
|
|
150104
|
+
},
|
|
150105
|
+
{
|
|
150106
|
+
"kind": "method",
|
|
150107
|
+
"name": "_handleOpening",
|
|
150108
|
+
"privacy": "private",
|
|
150109
|
+
"return": {
|
|
150110
|
+
"type": {
|
|
150111
|
+
"text": "void"
|
|
150112
|
+
}
|
|
150142
150113
|
}
|
|
150143
150114
|
},
|
|
150144
150115
|
{
|
|
150145
150116
|
"kind": "method",
|
|
150146
|
-
"name": "
|
|
150117
|
+
"name": "close",
|
|
150147
150118
|
"privacy": "public",
|
|
150148
150119
|
"return": {
|
|
150149
150120
|
"type": {
|
|
150150
150121
|
"text": "void"
|
|
150151
150122
|
}
|
|
150152
150123
|
},
|
|
150153
|
-
"
|
|
150154
|
-
{
|
|
150155
|
-
"name": "message",
|
|
150156
|
-
"type": {
|
|
150157
|
-
"text": "string"
|
|
150158
|
-
}
|
|
150159
|
-
}
|
|
150160
|
-
],
|
|
150161
|
-
"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.",
|
|
150124
|
+
"description": "Closes the sidebar.",
|
|
150162
150125
|
"inheritedFrom": {
|
|
150163
|
-
"name": "
|
|
150164
|
-
"module": "core/
|
|
150126
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150127
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150165
150128
|
}
|
|
150166
150129
|
},
|
|
150167
150130
|
{
|
|
150168
150131
|
"kind": "method",
|
|
150169
|
-
"name": "
|
|
150132
|
+
"name": "_handleClosing",
|
|
150170
150133
|
"privacy": "private",
|
|
150171
150134
|
"return": {
|
|
150172
150135
|
"type": {
|
|
150173
|
-
"text": "
|
|
150136
|
+
"text": "void"
|
|
150174
150137
|
}
|
|
150175
|
-
},
|
|
150176
|
-
"inheritedFrom": {
|
|
150177
|
-
"name": "SbbFormAssociatedMixin",
|
|
150178
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150179
150138
|
}
|
|
150180
150139
|
},
|
|
150181
150140
|
{
|
|
150182
150141
|
"kind": "method",
|
|
150183
|
-
"name": "
|
|
150184
|
-
"privacy": "
|
|
150142
|
+
"name": "_takeFocus",
|
|
150143
|
+
"privacy": "private",
|
|
150185
150144
|
"return": {
|
|
150186
150145
|
"type": {
|
|
150187
150146
|
"text": "void"
|
|
150188
150147
|
}
|
|
150189
|
-
},
|
|
150190
|
-
"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",
|
|
150191
|
-
"inheritedFrom": {
|
|
150192
|
-
"name": "SbbFormAssociatedMixin",
|
|
150193
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150194
150148
|
}
|
|
150195
150149
|
},
|
|
150196
150150
|
{
|
|
150197
150151
|
"kind": "method",
|
|
150198
|
-
"name": "
|
|
150152
|
+
"name": "cedeFocus",
|
|
150199
150153
|
"privacy": "protected",
|
|
150200
150154
|
"return": {
|
|
150201
150155
|
"type": {
|
|
150202
|
-
"text": "
|
|
150156
|
+
"text": "void"
|
|
150203
150157
|
}
|
|
150204
|
-
},
|
|
150205
|
-
"inheritedFrom": {
|
|
150206
|
-
"name": "SbbFormAssociatedMixin",
|
|
150207
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150208
150158
|
}
|
|
150209
150159
|
},
|
|
150210
150160
|
{
|
|
150211
150161
|
"kind": "method",
|
|
150212
|
-
"name": "
|
|
150213
|
-
"privacy": "
|
|
150162
|
+
"name": "_updateSidebarWidth",
|
|
150163
|
+
"privacy": "private",
|
|
150214
150164
|
"return": {
|
|
150215
150165
|
"type": {
|
|
150216
150166
|
"text": "void"
|
|
@@ -150218,35 +150168,44 @@
|
|
|
150218
150168
|
},
|
|
150219
150169
|
"parameters": [
|
|
150220
150170
|
{
|
|
150221
|
-
"name": "
|
|
150222
|
-
"type": {
|
|
150223
|
-
"text": "T"
|
|
150224
|
-
}
|
|
150225
|
-
},
|
|
150226
|
-
{
|
|
150227
|
-
"name": "message",
|
|
150228
|
-
"type": {
|
|
150229
|
-
"text": "string"
|
|
150230
|
-
}
|
|
150231
|
-
},
|
|
150232
|
-
{
|
|
150233
|
-
"name": "flagValue",
|
|
150171
|
+
"name": "oldPosition",
|
|
150234
150172
|
"optional": true,
|
|
150235
150173
|
"type": {
|
|
150236
|
-
"text": "
|
|
150174
|
+
"text": "this['position']"
|
|
150237
150175
|
}
|
|
150238
150176
|
}
|
|
150239
|
-
]
|
|
150240
|
-
|
|
150241
|
-
|
|
150242
|
-
|
|
150243
|
-
|
|
150177
|
+
]
|
|
150178
|
+
},
|
|
150179
|
+
{
|
|
150180
|
+
"kind": "method",
|
|
150181
|
+
"name": "_buildCssWidthVar",
|
|
150182
|
+
"privacy": "private",
|
|
150183
|
+
"return": {
|
|
150184
|
+
"type": {
|
|
150185
|
+
"text": "string"
|
|
150186
|
+
}
|
|
150187
|
+
},
|
|
150188
|
+
"parameters": [
|
|
150189
|
+
{
|
|
150190
|
+
"name": "position",
|
|
150191
|
+
"default": "this.position"
|
|
150192
|
+
}
|
|
150193
|
+
]
|
|
150194
|
+
},
|
|
150195
|
+
{
|
|
150196
|
+
"kind": "method",
|
|
150197
|
+
"name": "_isModeOver",
|
|
150198
|
+
"privacy": "private",
|
|
150199
|
+
"return": {
|
|
150200
|
+
"type": {
|
|
150201
|
+
"text": "boolean"
|
|
150202
|
+
}
|
|
150244
150203
|
}
|
|
150245
150204
|
},
|
|
150246
150205
|
{
|
|
150247
150206
|
"kind": "method",
|
|
150248
|
-
"name": "
|
|
150249
|
-
"privacy": "
|
|
150207
|
+
"name": "_onTransitionEnd",
|
|
150208
|
+
"privacy": "private",
|
|
150250
150209
|
"return": {
|
|
150251
150210
|
"type": {
|
|
150252
150211
|
"text": "void"
|
|
@@ -150254,173 +150213,230 @@
|
|
|
150254
150213
|
},
|
|
150255
150214
|
"parameters": [
|
|
150256
150215
|
{
|
|
150257
|
-
"name": "
|
|
150216
|
+
"name": "event",
|
|
150258
150217
|
"type": {
|
|
150259
|
-
"text": "
|
|
150218
|
+
"text": "TransitionEvent"
|
|
150260
150219
|
}
|
|
150261
150220
|
}
|
|
150262
|
-
]
|
|
150263
|
-
|
|
150221
|
+
]
|
|
150222
|
+
},
|
|
150223
|
+
{
|
|
150224
|
+
"kind": "method",
|
|
150225
|
+
"name": "_detectScrolledState",
|
|
150226
|
+
"privacy": "private",
|
|
150227
|
+
"return": {
|
|
150228
|
+
"type": {
|
|
150229
|
+
"text": "void"
|
|
150230
|
+
}
|
|
150231
|
+
}
|
|
150232
|
+
},
|
|
150233
|
+
{
|
|
150234
|
+
"kind": "field",
|
|
150235
|
+
"name": "isAnimating",
|
|
150236
|
+
"type": {
|
|
150237
|
+
"text": "boolean"
|
|
150238
|
+
},
|
|
150239
|
+
"privacy": "public",
|
|
150240
|
+
"default": "false",
|
|
150241
|
+
"description": "Whether the component is currently animating.",
|
|
150264
150242
|
"inheritedFrom": {
|
|
150265
|
-
"name": "
|
|
150266
|
-
"module": "core/mixins/
|
|
150243
|
+
"name": "SbbAnimationCompleteMixin",
|
|
150244
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
150245
|
+
}
|
|
150246
|
+
},
|
|
150247
|
+
{
|
|
150248
|
+
"kind": "field",
|
|
150249
|
+
"name": "animationComplete",
|
|
150250
|
+
"type": {
|
|
150251
|
+
"text": "Promise<void>"
|
|
150252
|
+
},
|
|
150253
|
+
"privacy": "public",
|
|
150254
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
150255
|
+
"readonly": true,
|
|
150256
|
+
"inheritedFrom": {
|
|
150257
|
+
"name": "SbbAnimationCompleteMixin",
|
|
150258
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
150259
|
+
}
|
|
150260
|
+
},
|
|
150261
|
+
{
|
|
150262
|
+
"kind": "field",
|
|
150263
|
+
"name": "_animationPromise",
|
|
150264
|
+
"type": {
|
|
150265
|
+
"text": "Promise<void>"
|
|
150266
|
+
},
|
|
150267
|
+
"privacy": "private",
|
|
150268
|
+
"inheritedFrom": {
|
|
150269
|
+
"name": "SbbAnimationCompleteMixin",
|
|
150270
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
150267
150271
|
}
|
|
150268
150272
|
},
|
|
150269
150273
|
{
|
|
150270
150274
|
"kind": "method",
|
|
150271
|
-
"name": "
|
|
150275
|
+
"name": "startAnimation",
|
|
150272
150276
|
"privacy": "protected",
|
|
150273
150277
|
"return": {
|
|
150274
150278
|
"type": {
|
|
150275
150279
|
"text": "void"
|
|
150276
150280
|
}
|
|
150277
150281
|
},
|
|
150278
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
150279
150282
|
"inheritedFrom": {
|
|
150280
|
-
"name": "
|
|
150281
|
-
"module": "core/mixins/
|
|
150283
|
+
"name": "SbbAnimationCompleteMixin",
|
|
150284
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
150282
150285
|
}
|
|
150283
150286
|
},
|
|
150284
150287
|
{
|
|
150285
150288
|
"kind": "method",
|
|
150286
|
-
"name": "
|
|
150289
|
+
"name": "stopAnimation",
|
|
150287
150290
|
"privacy": "protected",
|
|
150288
150291
|
"return": {
|
|
150289
150292
|
"type": {
|
|
150290
|
-
"text": "
|
|
150293
|
+
"text": "void"
|
|
150291
150294
|
}
|
|
150292
150295
|
},
|
|
150293
|
-
"
|
|
150294
|
-
{
|
|
150295
|
-
"name": "name",
|
|
150296
|
-
"type": {
|
|
150297
|
-
"text": "PropertyKey | undefined"
|
|
150298
|
-
}
|
|
150299
|
-
}
|
|
150300
|
-
],
|
|
150301
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
150296
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
150302
150297
|
"inheritedFrom": {
|
|
150303
|
-
"name": "
|
|
150304
|
-
"module": "core/mixins/
|
|
150298
|
+
"name": "SbbAnimationCompleteMixin",
|
|
150299
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
150305
150300
|
}
|
|
150306
150301
|
},
|
|
150307
150302
|
{
|
|
150308
150303
|
"kind": "method",
|
|
150309
|
-
"name": "
|
|
150304
|
+
"name": "_enqueueAnimation",
|
|
150310
150305
|
"privacy": "private",
|
|
150311
150306
|
"return": {
|
|
150312
150307
|
"type": {
|
|
150313
|
-
"text": "void"
|
|
150308
|
+
"text": "Promise<void>"
|
|
150314
150309
|
}
|
|
150315
150310
|
},
|
|
150316
150311
|
"inheritedFrom": {
|
|
150317
|
-
"name": "
|
|
150318
|
-
"module": "core/mixins/
|
|
150312
|
+
"name": "SbbAnimationCompleteMixin",
|
|
150313
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
150319
150314
|
}
|
|
150320
150315
|
},
|
|
150321
150316
|
{
|
|
150322
150317
|
"kind": "field",
|
|
150323
|
-
"name": "
|
|
150324
|
-
"type": {
|
|
150325
|
-
"text": "ElementInternals['role']"
|
|
150326
|
-
},
|
|
150318
|
+
"name": "events",
|
|
150327
150319
|
"privacy": "public",
|
|
150328
150320
|
"static": true,
|
|
150329
|
-
"inheritedFrom": {
|
|
150330
|
-
"name": "SbbElement",
|
|
150331
|
-
"module": "core/base-elements/element.js"
|
|
150332
|
-
},
|
|
150333
150321
|
"readonly": true,
|
|
150334
|
-
"default": "'
|
|
150322
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
150323
|
+
"type": {
|
|
150324
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
150325
|
+
},
|
|
150326
|
+
"inheritedFrom": {
|
|
150327
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150328
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150329
|
+
}
|
|
150335
150330
|
},
|
|
150336
150331
|
{
|
|
150337
150332
|
"kind": "field",
|
|
150338
|
-
"name": "
|
|
150339
|
-
"privacy": "
|
|
150340
|
-
"description": "
|
|
150341
|
-
"
|
|
150342
|
-
|
|
150343
|
-
|
|
150344
|
-
|
|
150345
|
-
}
|
|
150346
|
-
],
|
|
150333
|
+
"name": "state",
|
|
150334
|
+
"privacy": "protected",
|
|
150335
|
+
"description": "The state of the component.",
|
|
150336
|
+
"type": {
|
|
150337
|
+
"text": "SbbOpenedClosedState"
|
|
150338
|
+
},
|
|
150339
|
+
"default": "'closed'",
|
|
150347
150340
|
"inheritedFrom": {
|
|
150348
|
-
"name": "
|
|
150349
|
-
"module": "core/base-elements/
|
|
150341
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150342
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150350
150343
|
}
|
|
150351
150344
|
},
|
|
150352
150345
|
{
|
|
150353
150346
|
"kind": "field",
|
|
150354
|
-
"name": "
|
|
150347
|
+
"name": "_state",
|
|
150348
|
+
"type": {
|
|
150349
|
+
"text": "SbbOpenedClosedState"
|
|
150350
|
+
},
|
|
150355
150351
|
"privacy": "private",
|
|
150356
150352
|
"inheritedFrom": {
|
|
150357
|
-
"name": "
|
|
150358
|
-
"module": "core/base-elements/
|
|
150353
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150354
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150359
150355
|
}
|
|
150360
150356
|
},
|
|
150361
150357
|
{
|
|
150362
150358
|
"kind": "field",
|
|
150363
|
-
"name": "
|
|
150364
|
-
"
|
|
150365
|
-
|
|
150366
|
-
|
|
150367
|
-
|
|
150368
|
-
|
|
150369
|
-
|
|
150359
|
+
"name": "isOpen",
|
|
150360
|
+
"type": {
|
|
150361
|
+
"text": "boolean"
|
|
150362
|
+
},
|
|
150363
|
+
"privacy": "public",
|
|
150364
|
+
"description": "Whether the element is open.",
|
|
150365
|
+
"readonly": true,
|
|
150366
|
+
"inheritedFrom": {
|
|
150367
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150368
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150369
|
+
}
|
|
150370
|
+
},
|
|
150371
|
+
{
|
|
150372
|
+
"kind": "method",
|
|
150373
|
+
"name": "escapeStrategy",
|
|
150374
|
+
"privacy": "public",
|
|
150375
|
+
"return": {
|
|
150376
|
+
"type": {
|
|
150377
|
+
"text": "void"
|
|
150370
150378
|
}
|
|
150371
|
-
|
|
150379
|
+
},
|
|
150380
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
150372
150381
|
"inheritedFrom": {
|
|
150373
|
-
"name": "
|
|
150374
|
-
"module": "core/base-elements/
|
|
150382
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150383
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150375
150384
|
}
|
|
150376
150385
|
},
|
|
150377
150386
|
{
|
|
150378
|
-
"kind": "
|
|
150379
|
-
"name": "
|
|
150380
|
-
"privacy": "
|
|
150387
|
+
"kind": "method",
|
|
150388
|
+
"name": "dispatchBeforeOpenEvent",
|
|
150389
|
+
"privacy": "protected",
|
|
150390
|
+
"return": {
|
|
150391
|
+
"type": {
|
|
150392
|
+
"text": "boolean"
|
|
150393
|
+
}
|
|
150394
|
+
},
|
|
150381
150395
|
"inheritedFrom": {
|
|
150382
|
-
"name": "
|
|
150383
|
-
"module": "core/base-elements/
|
|
150396
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150397
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150384
150398
|
}
|
|
150385
150399
|
},
|
|
150386
150400
|
{
|
|
150387
|
-
"kind": "
|
|
150388
|
-
"name": "
|
|
150389
|
-
"type": {
|
|
150390
|
-
"text": "boolean | undefined"
|
|
150391
|
-
},
|
|
150401
|
+
"kind": "method",
|
|
150402
|
+
"name": "dispatchOpenEvent",
|
|
150392
150403
|
"privacy": "protected",
|
|
150393
|
-
"
|
|
150404
|
+
"return": {
|
|
150405
|
+
"type": {
|
|
150406
|
+
"text": "boolean"
|
|
150407
|
+
}
|
|
150408
|
+
},
|
|
150394
150409
|
"inheritedFrom": {
|
|
150395
|
-
"name": "
|
|
150396
|
-
"module": "core/base-elements/
|
|
150410
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150411
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150397
150412
|
}
|
|
150398
150413
|
},
|
|
150399
150414
|
{
|
|
150400
|
-
"kind": "
|
|
150401
|
-
"name": "
|
|
150402
|
-
"type": {
|
|
150403
|
-
"text": "boolean | undefined"
|
|
150404
|
-
},
|
|
150415
|
+
"kind": "method",
|
|
150416
|
+
"name": "dispatchBeforeCloseEvent",
|
|
150405
150417
|
"privacy": "protected",
|
|
150406
|
-
"
|
|
150418
|
+
"return": {
|
|
150419
|
+
"type": {
|
|
150420
|
+
"text": "boolean"
|
|
150421
|
+
}
|
|
150422
|
+
},
|
|
150407
150423
|
"inheritedFrom": {
|
|
150408
|
-
"name": "
|
|
150409
|
-
"module": "core/base-elements/
|
|
150424
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150425
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150410
150426
|
}
|
|
150411
150427
|
},
|
|
150412
150428
|
{
|
|
150413
150429
|
"kind": "method",
|
|
150414
|
-
"name": "
|
|
150430
|
+
"name": "dispatchCloseEvent",
|
|
150415
150431
|
"privacy": "protected",
|
|
150416
150432
|
"return": {
|
|
150417
150433
|
"type": {
|
|
150418
|
-
"text": "
|
|
150434
|
+
"text": "boolean"
|
|
150419
150435
|
}
|
|
150420
150436
|
},
|
|
150421
150437
|
"inheritedFrom": {
|
|
150422
|
-
"name": "
|
|
150423
|
-
"module": "core/base-elements/
|
|
150438
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150439
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150424
150440
|
}
|
|
150425
150441
|
},
|
|
150426
150442
|
{
|
|
@@ -150437,6 +150453,32 @@
|
|
|
150437
150453
|
"module": "core/base-elements/element.js"
|
|
150438
150454
|
}
|
|
150439
150455
|
},
|
|
150456
|
+
{
|
|
150457
|
+
"kind": "field",
|
|
150458
|
+
"name": "elementDependencies",
|
|
150459
|
+
"type": {
|
|
150460
|
+
"text": "SbbElementType[] | undefined"
|
|
150461
|
+
},
|
|
150462
|
+
"privacy": "public",
|
|
150463
|
+
"static": true,
|
|
150464
|
+
"inheritedFrom": {
|
|
150465
|
+
"name": "SbbElement",
|
|
150466
|
+
"module": "core/base-elements/element.js"
|
|
150467
|
+
}
|
|
150468
|
+
},
|
|
150469
|
+
{
|
|
150470
|
+
"kind": "field",
|
|
150471
|
+
"name": "role",
|
|
150472
|
+
"type": {
|
|
150473
|
+
"text": "ElementInternals['role'] | undefined"
|
|
150474
|
+
},
|
|
150475
|
+
"privacy": "public",
|
|
150476
|
+
"static": true,
|
|
150477
|
+
"inheritedFrom": {
|
|
150478
|
+
"name": "SbbElement",
|
|
150479
|
+
"module": "core/base-elements/element.js"
|
|
150480
|
+
}
|
|
150481
|
+
},
|
|
150440
150482
|
{
|
|
150441
150483
|
"kind": "field",
|
|
150442
150484
|
"name": "_controllers",
|
|
@@ -150681,150 +150723,108 @@
|
|
|
150681
150723
|
}
|
|
150682
150724
|
}
|
|
150683
150725
|
],
|
|
150684
|
-
"superclass": {
|
|
150685
|
-
"name": "SbbSecondaryButtonElement",
|
|
150686
|
-
"module": "button.pure.js"
|
|
150687
|
-
},
|
|
150688
|
-
"tagName": "sbb-sidebar-close-button",
|
|
150689
|
-
"customElement": true,
|
|
150690
150726
|
"attributes": [
|
|
150691
150727
|
{
|
|
150692
|
-
"name": "
|
|
150693
|
-
"type": {
|
|
150694
|
-
"text": "SbbButtonSize"
|
|
150695
|
-
},
|
|
150696
|
-
"description": "Size variant, either l, m or s.",
|
|
150697
|
-
"default": "'m' / 's' (lean)",
|
|
150698
|
-
"fieldName": "size",
|
|
150699
|
-
"inheritedFrom": {
|
|
150700
|
-
"name": "SbbButtonCommonElementMixin",
|
|
150701
|
-
"module": "button/common/button-common.js"
|
|
150702
|
-
}
|
|
150703
|
-
},
|
|
150704
|
-
{
|
|
150705
|
-
"name": "loading",
|
|
150728
|
+
"name": "color",
|
|
150706
150729
|
"type": {
|
|
150707
|
-
"text": "
|
|
150730
|
+
"text": "'white' | 'milk'"
|
|
150708
150731
|
},
|
|
150709
|
-
"default": "
|
|
150710
|
-
"description": "
|
|
150711
|
-
"fieldName": "
|
|
150712
|
-
"inheritedFrom": {
|
|
150713
|
-
"name": "SbbButtonCommonElementMixin",
|
|
150714
|
-
"module": "button/common/button-common.js"
|
|
150715
|
-
}
|
|
150732
|
+
"default": "'white'",
|
|
150733
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
150734
|
+
"fieldName": "color"
|
|
150716
150735
|
},
|
|
150717
150736
|
{
|
|
150718
|
-
"name": "
|
|
150737
|
+
"name": "mode",
|
|
150719
150738
|
"type": {
|
|
150720
|
-
"text": "
|
|
150739
|
+
"text": "'side' | 'over'"
|
|
150721
150740
|
},
|
|
150722
|
-
"default": "
|
|
150723
|
-
"description": "
|
|
150724
|
-
"fieldName": "
|
|
150725
|
-
"inheritedFrom": {
|
|
150726
|
-
"name": "SbbNegativeMixin",
|
|
150727
|
-
"module": "core/mixins/negative-mixin.js"
|
|
150728
|
-
}
|
|
150741
|
+
"default": "'side'",
|
|
150742
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
150743
|
+
"fieldName": "mode"
|
|
150729
150744
|
},
|
|
150730
150745
|
{
|
|
150731
|
-
"name": "
|
|
150746
|
+
"name": "position",
|
|
150732
150747
|
"type": {
|
|
150733
|
-
"text": "
|
|
150748
|
+
"text": "'start' | 'end'"
|
|
150734
150749
|
},
|
|
150735
|
-
"default": "''",
|
|
150736
|
-
"description": "The
|
|
150737
|
-
"fieldName": "
|
|
150738
|
-
"inheritedFrom": {
|
|
150739
|
-
"name": "SbbIconNameMixin",
|
|
150740
|
-
"module": "icon/icon-name-mixin.js"
|
|
150741
|
-
}
|
|
150750
|
+
"default": "'start'",
|
|
150751
|
+
"description": "The side that the sidebar is attached to.",
|
|
150752
|
+
"fieldName": "position"
|
|
150742
150753
|
},
|
|
150743
150754
|
{
|
|
150744
|
-
"name": "
|
|
150755
|
+
"name": "opened",
|
|
150745
150756
|
"type": {
|
|
150746
150757
|
"text": "boolean"
|
|
150747
150758
|
},
|
|
150748
150759
|
"default": "false",
|
|
150749
|
-
"description": "Whether the
|
|
150750
|
-
"fieldName": "
|
|
150751
|
-
"inheritedFrom": {
|
|
150752
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
150753
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
150754
|
-
}
|
|
150760
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
150761
|
+
"fieldName": "opened"
|
|
150755
150762
|
},
|
|
150756
150763
|
{
|
|
150757
|
-
"name": "
|
|
150758
|
-
"description": "Whether the component is disabled.",
|
|
150759
|
-
"default": "false",
|
|
150764
|
+
"name": "focus-on-open",
|
|
150760
150765
|
"type": {
|
|
150761
150766
|
"text": "boolean"
|
|
150762
150767
|
},
|
|
150763
|
-
"
|
|
150764
|
-
"
|
|
150765
|
-
|
|
150766
|
-
|
|
150767
|
-
|
|
150768
|
-
|
|
150768
|
+
"default": "false",
|
|
150769
|
+
"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.",
|
|
150770
|
+
"fieldName": "focusOnOpen"
|
|
150771
|
+
}
|
|
150772
|
+
],
|
|
150773
|
+
"mixins": [
|
|
150769
150774
|
{
|
|
150770
|
-
"name": "
|
|
150775
|
+
"name": "SbbAnimationCompleteMixin",
|
|
150776
|
+
"module": "core.js"
|
|
150777
|
+
}
|
|
150778
|
+
],
|
|
150779
|
+
"superclass": {
|
|
150780
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150781
|
+
"module": "core.js"
|
|
150782
|
+
},
|
|
150783
|
+
"tagName": "sbb-sidebar",
|
|
150784
|
+
"customElement": true,
|
|
150785
|
+
"events": [
|
|
150786
|
+
{
|
|
150787
|
+
"name": "beforeopen",
|
|
150771
150788
|
"type": {
|
|
150772
|
-
"text": "
|
|
150789
|
+
"text": "Event"
|
|
150773
150790
|
},
|
|
150774
|
-
"
|
|
150775
|
-
"description": "Value of the form element.",
|
|
150776
|
-
"fieldName": "value",
|
|
150791
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
150777
150792
|
"inheritedFrom": {
|
|
150778
|
-
"name": "
|
|
150779
|
-
"module": "core/base-elements/
|
|
150793
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150794
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150780
150795
|
}
|
|
150781
150796
|
},
|
|
150782
150797
|
{
|
|
150783
|
-
"name": "
|
|
150784
|
-
"description": "The type attribute to use for the button.",
|
|
150785
|
-
"default": "'button'",
|
|
150798
|
+
"name": "open",
|
|
150786
150799
|
"type": {
|
|
150787
|
-
"text": "
|
|
150800
|
+
"text": "Event"
|
|
150788
150801
|
},
|
|
150789
|
-
"
|
|
150802
|
+
"description": "Emits whenever the component is opened.",
|
|
150790
150803
|
"inheritedFrom": {
|
|
150791
|
-
"name": "
|
|
150792
|
-
"module": "core/base-elements/
|
|
150804
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150805
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150793
150806
|
}
|
|
150794
150807
|
},
|
|
150795
150808
|
{
|
|
150796
|
-
"name": "
|
|
150797
|
-
"description": "The `<form>` element to associate the button with.",
|
|
150809
|
+
"name": "beforeclose",
|
|
150798
150810
|
"type": {
|
|
150799
|
-
"text": "
|
|
150811
|
+
"text": "Event"
|
|
150800
150812
|
},
|
|
150801
|
-
"
|
|
150813
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
150802
150814
|
"inheritedFrom": {
|
|
150803
|
-
"name": "
|
|
150804
|
-
"module": "core/base-elements/
|
|
150815
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150816
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150805
150817
|
}
|
|
150806
150818
|
},
|
|
150807
150819
|
{
|
|
150808
|
-
"name": "
|
|
150809
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
150820
|
+
"name": "close",
|
|
150810
150821
|
"type": {
|
|
150811
|
-
"text": "
|
|
150822
|
+
"text": "Event"
|
|
150812
150823
|
},
|
|
150813
|
-
"
|
|
150814
|
-
"inheritedFrom": {
|
|
150815
|
-
"name": "SbbFormAssociatedMixin",
|
|
150816
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
150817
|
-
}
|
|
150818
|
-
}
|
|
150819
|
-
],
|
|
150820
|
-
"cssProperties": [
|
|
150821
|
-
{
|
|
150822
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
150823
|
-
"name": "--sbb-button-loading-delay",
|
|
150824
|
-
"default": "300ms",
|
|
150824
|
+
"description": "Emits whenever the component is closed.",
|
|
150825
150825
|
"inheritedFrom": {
|
|
150826
|
-
"name": "
|
|
150827
|
-
"module": "
|
|
150826
|
+
"name": "SbbOpenCloseBaseElement",
|
|
150827
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
150828
150828
|
}
|
|
150829
150829
|
}
|
|
150830
150830
|
]
|
|
@@ -150833,10 +150833,10 @@
|
|
|
150833
150833
|
"exports": [
|
|
150834
150834
|
{
|
|
150835
150835
|
"kind": "js",
|
|
150836
|
-
"name": "
|
|
150836
|
+
"name": "SbbSidebarElement",
|
|
150837
150837
|
"declaration": {
|
|
150838
|
-
"name": "
|
|
150839
|
-
"module": "sidebar/sidebar
|
|
150838
|
+
"name": "SbbSidebarElement",
|
|
150839
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
150840
150840
|
}
|
|
150841
150841
|
}
|
|
150842
150842
|
]
|