@sbb-esta/lyne-elements-dev 4.7.0-dev.1772773080 → 4.7.0-dev.1772832064
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 +1046 -1046
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -78732,6 +78732,115 @@
|
|
|
78732
78732
|
}
|
|
78733
78733
|
]
|
|
78734
78734
|
},
|
|
78735
|
+
{
|
|
78736
|
+
"kind": "javascript-module",
|
|
78737
|
+
"path": "header/header-environment/header-environment.component.js",
|
|
78738
|
+
"declarations": [
|
|
78739
|
+
{
|
|
78740
|
+
"kind": "class",
|
|
78741
|
+
"description": "It displays a ribbon inside the header to indicate the current environment.",
|
|
78742
|
+
"name": "SbbHeaderEnvironmentElement",
|
|
78743
|
+
"cssProperties": [
|
|
78744
|
+
{
|
|
78745
|
+
"description": "Can be used change the ribbon color.",
|
|
78746
|
+
"name": "--sbb-header-environment-background-color",
|
|
78747
|
+
"default": "var(sbb-color-granite)"
|
|
78748
|
+
},
|
|
78749
|
+
{
|
|
78750
|
+
"description": "Can be used change the text color.",
|
|
78751
|
+
"name": "--sbb-header-environment-color",
|
|
78752
|
+
"default": "var(sbb-color-white)"
|
|
78753
|
+
}
|
|
78754
|
+
],
|
|
78755
|
+
"slots": [
|
|
78756
|
+
{
|
|
78757
|
+
"description": "Use the unnamed slot to add the environment.",
|
|
78758
|
+
"name": ""
|
|
78759
|
+
}
|
|
78760
|
+
],
|
|
78761
|
+
"members": [
|
|
78762
|
+
{
|
|
78763
|
+
"kind": "field",
|
|
78764
|
+
"name": "_env",
|
|
78765
|
+
"type": {
|
|
78766
|
+
"text": "string | null"
|
|
78767
|
+
},
|
|
78768
|
+
"privacy": "private",
|
|
78769
|
+
"default": "null"
|
|
78770
|
+
},
|
|
78771
|
+
{
|
|
78772
|
+
"kind": "method",
|
|
78773
|
+
"name": "_slottedTextChange",
|
|
78774
|
+
"privacy": "private",
|
|
78775
|
+
"return": {
|
|
78776
|
+
"type": {
|
|
78777
|
+
"text": "void"
|
|
78778
|
+
}
|
|
78779
|
+
}
|
|
78780
|
+
},
|
|
78781
|
+
{
|
|
78782
|
+
"kind": "method",
|
|
78783
|
+
"name": "toggleState",
|
|
78784
|
+
"privacy": "protected",
|
|
78785
|
+
"return": {
|
|
78786
|
+
"type": {
|
|
78787
|
+
"text": "void"
|
|
78788
|
+
}
|
|
78789
|
+
},
|
|
78790
|
+
"parameters": [
|
|
78791
|
+
{
|
|
78792
|
+
"name": "value",
|
|
78793
|
+
"type": {
|
|
78794
|
+
"text": "string"
|
|
78795
|
+
}
|
|
78796
|
+
},
|
|
78797
|
+
{
|
|
78798
|
+
"name": "force",
|
|
78799
|
+
"optional": true,
|
|
78800
|
+
"type": {
|
|
78801
|
+
"text": "boolean"
|
|
78802
|
+
}
|
|
78803
|
+
}
|
|
78804
|
+
],
|
|
78805
|
+
"inheritedFrom": {
|
|
78806
|
+
"name": "SbbElementInternalsMixin",
|
|
78807
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
78808
|
+
}
|
|
78809
|
+
}
|
|
78810
|
+
],
|
|
78811
|
+
"mixins": [
|
|
78812
|
+
{
|
|
78813
|
+
"name": "SbbElementInternalsMixin",
|
|
78814
|
+
"module": "core/mixins.js"
|
|
78815
|
+
}
|
|
78816
|
+
],
|
|
78817
|
+
"superclass": {
|
|
78818
|
+
"name": "LitElement",
|
|
78819
|
+
"package": "lit"
|
|
78820
|
+
},
|
|
78821
|
+
"tagName": "sbb-header-environment",
|
|
78822
|
+
"customElement": true
|
|
78823
|
+
}
|
|
78824
|
+
],
|
|
78825
|
+
"exports": [
|
|
78826
|
+
{
|
|
78827
|
+
"kind": "js",
|
|
78828
|
+
"name": "SbbHeaderEnvironmentElement",
|
|
78829
|
+
"declaration": {
|
|
78830
|
+
"name": "SbbHeaderEnvironmentElement",
|
|
78831
|
+
"module": "header/header-environment/header-environment.component.js"
|
|
78832
|
+
}
|
|
78833
|
+
},
|
|
78834
|
+
{
|
|
78835
|
+
"kind": "custom-element-definition",
|
|
78836
|
+
"name": "sbb-header-environment",
|
|
78837
|
+
"declaration": {
|
|
78838
|
+
"name": "SbbHeaderEnvironmentElement",
|
|
78839
|
+
"module": "header/header-environment/header-environment.component.js"
|
|
78840
|
+
}
|
|
78841
|
+
}
|
|
78842
|
+
]
|
|
78843
|
+
},
|
|
78735
78844
|
{
|
|
78736
78845
|
"kind": "javascript-module",
|
|
78737
78846
|
"path": "header/header-link/header-link.component.js",
|
|
@@ -79220,115 +79329,6 @@
|
|
|
79220
79329
|
}
|
|
79221
79330
|
]
|
|
79222
79331
|
},
|
|
79223
|
-
{
|
|
79224
|
-
"kind": "javascript-module",
|
|
79225
|
-
"path": "header/header-environment/header-environment.component.js",
|
|
79226
|
-
"declarations": [
|
|
79227
|
-
{
|
|
79228
|
-
"kind": "class",
|
|
79229
|
-
"description": "It displays a ribbon inside the header to indicate the current environment.",
|
|
79230
|
-
"name": "SbbHeaderEnvironmentElement",
|
|
79231
|
-
"cssProperties": [
|
|
79232
|
-
{
|
|
79233
|
-
"description": "Can be used change the ribbon color.",
|
|
79234
|
-
"name": "--sbb-header-environment-background-color",
|
|
79235
|
-
"default": "var(sbb-color-granite)"
|
|
79236
|
-
},
|
|
79237
|
-
{
|
|
79238
|
-
"description": "Can be used change the text color.",
|
|
79239
|
-
"name": "--sbb-header-environment-color",
|
|
79240
|
-
"default": "var(sbb-color-white)"
|
|
79241
|
-
}
|
|
79242
|
-
],
|
|
79243
|
-
"slots": [
|
|
79244
|
-
{
|
|
79245
|
-
"description": "Use the unnamed slot to add the environment.",
|
|
79246
|
-
"name": ""
|
|
79247
|
-
}
|
|
79248
|
-
],
|
|
79249
|
-
"members": [
|
|
79250
|
-
{
|
|
79251
|
-
"kind": "field",
|
|
79252
|
-
"name": "_env",
|
|
79253
|
-
"type": {
|
|
79254
|
-
"text": "string | null"
|
|
79255
|
-
},
|
|
79256
|
-
"privacy": "private",
|
|
79257
|
-
"default": "null"
|
|
79258
|
-
},
|
|
79259
|
-
{
|
|
79260
|
-
"kind": "method",
|
|
79261
|
-
"name": "_slottedTextChange",
|
|
79262
|
-
"privacy": "private",
|
|
79263
|
-
"return": {
|
|
79264
|
-
"type": {
|
|
79265
|
-
"text": "void"
|
|
79266
|
-
}
|
|
79267
|
-
}
|
|
79268
|
-
},
|
|
79269
|
-
{
|
|
79270
|
-
"kind": "method",
|
|
79271
|
-
"name": "toggleState",
|
|
79272
|
-
"privacy": "protected",
|
|
79273
|
-
"return": {
|
|
79274
|
-
"type": {
|
|
79275
|
-
"text": "void"
|
|
79276
|
-
}
|
|
79277
|
-
},
|
|
79278
|
-
"parameters": [
|
|
79279
|
-
{
|
|
79280
|
-
"name": "value",
|
|
79281
|
-
"type": {
|
|
79282
|
-
"text": "string"
|
|
79283
|
-
}
|
|
79284
|
-
},
|
|
79285
|
-
{
|
|
79286
|
-
"name": "force",
|
|
79287
|
-
"optional": true,
|
|
79288
|
-
"type": {
|
|
79289
|
-
"text": "boolean"
|
|
79290
|
-
}
|
|
79291
|
-
}
|
|
79292
|
-
],
|
|
79293
|
-
"inheritedFrom": {
|
|
79294
|
-
"name": "SbbElementInternalsMixin",
|
|
79295
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
79296
|
-
}
|
|
79297
|
-
}
|
|
79298
|
-
],
|
|
79299
|
-
"mixins": [
|
|
79300
|
-
{
|
|
79301
|
-
"name": "SbbElementInternalsMixin",
|
|
79302
|
-
"module": "core/mixins.js"
|
|
79303
|
-
}
|
|
79304
|
-
],
|
|
79305
|
-
"superclass": {
|
|
79306
|
-
"name": "LitElement",
|
|
79307
|
-
"package": "lit"
|
|
79308
|
-
},
|
|
79309
|
-
"tagName": "sbb-header-environment",
|
|
79310
|
-
"customElement": true
|
|
79311
|
-
}
|
|
79312
|
-
],
|
|
79313
|
-
"exports": [
|
|
79314
|
-
{
|
|
79315
|
-
"kind": "js",
|
|
79316
|
-
"name": "SbbHeaderEnvironmentElement",
|
|
79317
|
-
"declaration": {
|
|
79318
|
-
"name": "SbbHeaderEnvironmentElement",
|
|
79319
|
-
"module": "header/header-environment/header-environment.component.js"
|
|
79320
|
-
}
|
|
79321
|
-
},
|
|
79322
|
-
{
|
|
79323
|
-
"kind": "custom-element-definition",
|
|
79324
|
-
"name": "sbb-header-environment",
|
|
79325
|
-
"declaration": {
|
|
79326
|
-
"name": "SbbHeaderEnvironmentElement",
|
|
79327
|
-
"module": "header/header-environment/header-environment.component.js"
|
|
79328
|
-
}
|
|
79329
|
-
}
|
|
79330
|
-
]
|
|
79331
|
-
},
|
|
79332
79332
|
{
|
|
79333
79333
|
"kind": "javascript-module",
|
|
79334
79334
|
"path": "icon-sidebar/icon-sidebar/icon-sidebar.component.js",
|
|
@@ -101779,262 +101779,309 @@
|
|
|
101779
101779
|
},
|
|
101780
101780
|
{
|
|
101781
101781
|
"kind": "javascript-module",
|
|
101782
|
-
"path": "sidebar/sidebar/sidebar.component.js",
|
|
101782
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
101783
101783
|
"declarations": [
|
|
101784
101784
|
{
|
|
101785
101785
|
"kind": "class",
|
|
101786
|
-
"description": "
|
|
101787
|
-
"name": "
|
|
101786
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
101787
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
101788
101788
|
"slots": [
|
|
101789
101789
|
{
|
|
101790
|
-
"description": "Use the unnamed slot to
|
|
101791
|
-
"name": ""
|
|
101790
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
101791
|
+
"name": "",
|
|
101792
|
+
"inheritedFrom": {
|
|
101793
|
+
"name": "SbbSecondaryButtonElement",
|
|
101794
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
101795
|
+
}
|
|
101792
101796
|
},
|
|
101793
101797
|
{
|
|
101794
|
-
"description": "
|
|
101795
|
-
"name": "
|
|
101798
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
101799
|
+
"name": "icon",
|
|
101800
|
+
"inheritedFrom": {
|
|
101801
|
+
"name": "SbbSecondaryButtonElement",
|
|
101802
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
101803
|
+
}
|
|
101796
101804
|
}
|
|
101797
101805
|
],
|
|
101798
101806
|
"members": [
|
|
101799
101807
|
{
|
|
101800
101808
|
"kind": "field",
|
|
101801
|
-
"name": "
|
|
101802
|
-
"
|
|
101803
|
-
|
|
101804
|
-
},
|
|
101805
|
-
"privacy": "public",
|
|
101806
|
-
"default": "'white'",
|
|
101807
|
-
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
101808
|
-
"attribute": "color",
|
|
101809
|
-
"reflects": true
|
|
101809
|
+
"name": "_languageController",
|
|
101810
|
+
"privacy": "private",
|
|
101811
|
+
"default": "new SbbLanguageController(this)"
|
|
101810
101812
|
},
|
|
101811
101813
|
{
|
|
101812
|
-
"kind": "
|
|
101813
|
-
"name": "
|
|
101814
|
-
"
|
|
101815
|
-
|
|
101814
|
+
"kind": "method",
|
|
101815
|
+
"name": "renderTemplate",
|
|
101816
|
+
"privacy": "protected",
|
|
101817
|
+
"return": {
|
|
101818
|
+
"type": {
|
|
101819
|
+
"text": "TemplateResult"
|
|
101820
|
+
}
|
|
101816
101821
|
},
|
|
101817
|
-
"
|
|
101818
|
-
"
|
|
101819
|
-
|
|
101820
|
-
|
|
101821
|
-
|
|
101822
|
+
"description": "Override this method to render the component template.",
|
|
101823
|
+
"inheritedFrom": {
|
|
101824
|
+
"name": "SbbActionBaseElement",
|
|
101825
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101826
|
+
}
|
|
101822
101827
|
},
|
|
101823
101828
|
{
|
|
101824
|
-
"kind": "
|
|
101825
|
-
"name": "
|
|
101826
|
-
"
|
|
101827
|
-
|
|
101829
|
+
"kind": "method",
|
|
101830
|
+
"name": "renderIconName",
|
|
101831
|
+
"privacy": "protected",
|
|
101832
|
+
"return": {
|
|
101833
|
+
"type": {
|
|
101834
|
+
"text": "string"
|
|
101835
|
+
}
|
|
101828
101836
|
},
|
|
101829
|
-
"
|
|
101830
|
-
|
|
101831
|
-
|
|
101832
|
-
|
|
101833
|
-
"reflects": true
|
|
101837
|
+
"inheritedFrom": {
|
|
101838
|
+
"name": "SbbIconNameMixin",
|
|
101839
|
+
"module": "icon/icon-name-mixin.js"
|
|
101840
|
+
}
|
|
101834
101841
|
},
|
|
101835
101842
|
{
|
|
101836
101843
|
"kind": "field",
|
|
101837
|
-
"name": "
|
|
101844
|
+
"name": "size",
|
|
101838
101845
|
"type": {
|
|
101839
|
-
"text": "
|
|
101846
|
+
"text": "SbbButtonSize"
|
|
101840
101847
|
},
|
|
101841
101848
|
"privacy": "public",
|
|
101842
|
-
"
|
|
101843
|
-
"
|
|
101844
|
-
"attribute": "
|
|
101845
|
-
"reflects": true
|
|
101849
|
+
"description": "Size variant, either l, m or s.",
|
|
101850
|
+
"default": "'s'",
|
|
101851
|
+
"attribute": "size",
|
|
101852
|
+
"reflects": true,
|
|
101853
|
+
"inheritedFrom": {
|
|
101854
|
+
"name": "SbbButtonCommonElementMixin",
|
|
101855
|
+
"module": "button/common/button-common.js"
|
|
101856
|
+
}
|
|
101846
101857
|
},
|
|
101847
101858
|
{
|
|
101848
101859
|
"kind": "field",
|
|
101849
|
-
"name": "
|
|
101860
|
+
"name": "loading",
|
|
101850
101861
|
"type": {
|
|
101851
101862
|
"text": "boolean"
|
|
101852
101863
|
},
|
|
101853
101864
|
"privacy": "public",
|
|
101854
101865
|
"default": "false",
|
|
101855
|
-
"description": "Whether the
|
|
101856
|
-
"attribute": "
|
|
101866
|
+
"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.",
|
|
101867
|
+
"attribute": "loading",
|
|
101868
|
+
"reflects": true,
|
|
101869
|
+
"inheritedFrom": {
|
|
101870
|
+
"name": "SbbButtonCommonElementMixin",
|
|
101871
|
+
"module": "button/common/button-common.js"
|
|
101872
|
+
}
|
|
101857
101873
|
},
|
|
101858
101874
|
{
|
|
101859
101875
|
"kind": "field",
|
|
101860
|
-
"name": "
|
|
101876
|
+
"name": "negative",
|
|
101861
101877
|
"type": {
|
|
101862
|
-
"text": "
|
|
101878
|
+
"text": "boolean"
|
|
101863
101879
|
},
|
|
101864
101880
|
"privacy": "public",
|
|
101865
|
-
"
|
|
101866
|
-
"
|
|
101867
|
-
"
|
|
101868
|
-
|
|
101869
|
-
|
|
101870
|
-
|
|
101871
|
-
|
|
101872
|
-
|
|
101873
|
-
"text": "SbbSidebarContainerElement | null"
|
|
101874
|
-
},
|
|
101875
|
-
"privacy": "private",
|
|
101876
|
-
"default": "null"
|
|
101881
|
+
"default": "false",
|
|
101882
|
+
"description": "Negative coloring variant flag.",
|
|
101883
|
+
"attribute": "negative",
|
|
101884
|
+
"reflects": true,
|
|
101885
|
+
"inheritedFrom": {
|
|
101886
|
+
"name": "SbbNegativeMixin",
|
|
101887
|
+
"module": "core/mixins/negative-mixin.js"
|
|
101888
|
+
}
|
|
101877
101889
|
},
|
|
101878
101890
|
{
|
|
101879
101891
|
"kind": "field",
|
|
101880
|
-
"name": "
|
|
101892
|
+
"name": "iconName",
|
|
101881
101893
|
"type": {
|
|
101882
|
-
"text": "
|
|
101894
|
+
"text": "string"
|
|
101883
101895
|
},
|
|
101884
|
-
"privacy": "private",
|
|
101885
|
-
"default": "null"
|
|
101886
|
-
},
|
|
101887
|
-
{
|
|
101888
|
-
"kind": "field",
|
|
101889
|
-
"name": "_focusTrapController",
|
|
101890
|
-
"privacy": "private",
|
|
101891
|
-
"default": "new SbbFocusTrapController(this)"
|
|
101892
|
-
},
|
|
101893
|
-
{
|
|
101894
|
-
"kind": "field",
|
|
101895
|
-
"name": "_escapableOverlayController",
|
|
101896
|
-
"privacy": "private",
|
|
101897
|
-
"default": "new SbbEscapableOverlayController(this)"
|
|
101898
|
-
},
|
|
101899
|
-
{
|
|
101900
|
-
"kind": "method",
|
|
101901
|
-
"name": "toggle",
|
|
101902
101896
|
"privacy": "public",
|
|
101903
|
-
"
|
|
101904
|
-
|
|
101905
|
-
|
|
101906
|
-
|
|
101907
|
-
|
|
101908
|
-
|
|
101897
|
+
"default": "''",
|
|
101898
|
+
"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.",
|
|
101899
|
+
"attribute": "icon-name",
|
|
101900
|
+
"inheritedFrom": {
|
|
101901
|
+
"name": "SbbIconNameMixin",
|
|
101902
|
+
"module": "icon/icon-name-mixin.js"
|
|
101903
|
+
}
|
|
101909
101904
|
},
|
|
101910
101905
|
{
|
|
101911
101906
|
"kind": "method",
|
|
101912
|
-
"name": "
|
|
101913
|
-
"privacy": "
|
|
101907
|
+
"name": "renderIconSlot",
|
|
101908
|
+
"privacy": "protected",
|
|
101914
101909
|
"return": {
|
|
101915
101910
|
"type": {
|
|
101916
|
-
"text": "
|
|
101911
|
+
"text": "TemplateResult"
|
|
101917
101912
|
}
|
|
101918
101913
|
},
|
|
101919
|
-
"
|
|
101914
|
+
"parameters": [
|
|
101915
|
+
{
|
|
101916
|
+
"name": "classname",
|
|
101917
|
+
"optional": true,
|
|
101918
|
+
"type": {
|
|
101919
|
+
"text": "string"
|
|
101920
|
+
}
|
|
101921
|
+
}
|
|
101922
|
+
],
|
|
101920
101923
|
"inheritedFrom": {
|
|
101921
|
-
"name": "
|
|
101922
|
-
"module": "
|
|
101924
|
+
"name": "SbbIconNameMixin",
|
|
101925
|
+
"module": "icon/icon-name-mixin.js"
|
|
101923
101926
|
}
|
|
101924
101927
|
},
|
|
101925
101928
|
{
|
|
101926
101929
|
"kind": "method",
|
|
101927
|
-
"name": "
|
|
101930
|
+
"name": "_renderIconName",
|
|
101928
101931
|
"privacy": "private",
|
|
101929
101932
|
"return": {
|
|
101930
101933
|
"type": {
|
|
101931
|
-
"text": "
|
|
101934
|
+
"text": "string"
|
|
101932
101935
|
}
|
|
101936
|
+
},
|
|
101937
|
+
"inheritedFrom": {
|
|
101938
|
+
"name": "SbbIconNameMixin",
|
|
101939
|
+
"module": "icon/icon-name-mixin.js"
|
|
101933
101940
|
}
|
|
101934
101941
|
},
|
|
101935
101942
|
{
|
|
101936
|
-
"kind": "
|
|
101937
|
-
"name": "
|
|
101938
|
-
"
|
|
101939
|
-
|
|
101940
|
-
|
|
101941
|
-
|
|
101942
|
-
|
|
101943
|
+
"kind": "field",
|
|
101944
|
+
"name": "disabledInteractive",
|
|
101945
|
+
"type": {
|
|
101946
|
+
"text": "boolean"
|
|
101947
|
+
},
|
|
101948
|
+
"privacy": "public",
|
|
101949
|
+
"default": "false",
|
|
101950
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101951
|
+
"attribute": "disabled-interactive",
|
|
101952
|
+
"reflects": true,
|
|
101953
|
+
"inheritedFrom": {
|
|
101954
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
101955
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101943
101956
|
}
|
|
101944
101957
|
},
|
|
101945
101958
|
{
|
|
101946
|
-
"kind": "
|
|
101947
|
-
"name": "
|
|
101959
|
+
"kind": "field",
|
|
101960
|
+
"name": "disabled",
|
|
101948
101961
|
"privacy": "public",
|
|
101949
|
-
"
|
|
101950
|
-
|
|
101951
|
-
|
|
101952
|
-
|
|
101962
|
+
"description": "Whether the component is disabled.",
|
|
101963
|
+
"default": "false",
|
|
101964
|
+
"type": {
|
|
101965
|
+
"text": "boolean"
|
|
101953
101966
|
},
|
|
101954
|
-
"
|
|
101967
|
+
"attribute": "disabled",
|
|
101968
|
+
"reflects": true,
|
|
101955
101969
|
"inheritedFrom": {
|
|
101956
|
-
"name": "
|
|
101957
|
-
"module": "core/
|
|
101958
|
-
}
|
|
101959
|
-
},
|
|
101960
|
-
{
|
|
101961
|
-
"kind": "method",
|
|
101962
|
-
"name": "_handleClosing",
|
|
101963
|
-
"privacy": "private",
|
|
101964
|
-
"return": {
|
|
101965
|
-
"type": {
|
|
101966
|
-
"text": "void"
|
|
101967
|
-
}
|
|
101970
|
+
"name": "SbbDisabledMixin",
|
|
101971
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101968
101972
|
}
|
|
101969
101973
|
},
|
|
101970
101974
|
{
|
|
101971
|
-
"kind": "
|
|
101972
|
-
"name": "
|
|
101975
|
+
"kind": "field",
|
|
101976
|
+
"name": "#disabled",
|
|
101973
101977
|
"privacy": "private",
|
|
101974
|
-
"
|
|
101975
|
-
"
|
|
101976
|
-
|
|
101977
|
-
|
|
101978
|
+
"type": {
|
|
101979
|
+
"text": "boolean"
|
|
101980
|
+
},
|
|
101981
|
+
"default": "false",
|
|
101982
|
+
"inheritedFrom": {
|
|
101983
|
+
"name": "SbbDisabledMixin",
|
|
101984
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101978
101985
|
}
|
|
101979
101986
|
},
|
|
101980
101987
|
{
|
|
101981
101988
|
"kind": "method",
|
|
101982
|
-
"name": "
|
|
101989
|
+
"name": "isDisabledExternally",
|
|
101983
101990
|
"privacy": "protected",
|
|
101984
101991
|
"return": {
|
|
101985
101992
|
"type": {
|
|
101986
|
-
"text": "
|
|
101993
|
+
"text": "boolean"
|
|
101987
101994
|
}
|
|
101995
|
+
},
|
|
101996
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101997
|
+
"inheritedFrom": {
|
|
101998
|
+
"name": "SbbDisabledMixin",
|
|
101999
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101988
102000
|
}
|
|
101989
102001
|
},
|
|
101990
102002
|
{
|
|
101991
|
-
"kind": "
|
|
101992
|
-
"name": "
|
|
101993
|
-
"
|
|
101994
|
-
|
|
101995
|
-
"type": {
|
|
101996
|
-
"text": "void"
|
|
101997
|
-
}
|
|
102003
|
+
"kind": "field",
|
|
102004
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
102005
|
+
"type": {
|
|
102006
|
+
"text": "array"
|
|
101998
102007
|
},
|
|
101999
|
-
"
|
|
102000
|
-
|
|
102001
|
-
|
|
102002
|
-
|
|
102003
|
-
|
|
102004
|
-
|
|
102005
|
-
|
|
102006
|
-
}
|
|
102007
|
-
]
|
|
102008
|
+
"privacy": "private",
|
|
102009
|
+
"readonly": true,
|
|
102010
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
102011
|
+
"inheritedFrom": {
|
|
102012
|
+
"name": "SbbButtonBaseElement",
|
|
102013
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102014
|
+
}
|
|
102008
102015
|
},
|
|
102009
102016
|
{
|
|
102010
|
-
"kind": "
|
|
102011
|
-
"name": "
|
|
102012
|
-
"
|
|
102013
|
-
|
|
102014
|
-
"type": {
|
|
102015
|
-
"text": "string"
|
|
102016
|
-
}
|
|
102017
|
+
"kind": "field",
|
|
102018
|
+
"name": "value",
|
|
102019
|
+
"type": {
|
|
102020
|
+
"text": "string"
|
|
102017
102021
|
},
|
|
102018
|
-
"
|
|
102019
|
-
|
|
102020
|
-
|
|
102021
|
-
|
|
102022
|
-
|
|
102023
|
-
|
|
102022
|
+
"privacy": "public",
|
|
102023
|
+
"inheritedFrom": {
|
|
102024
|
+
"name": "SbbButtonBaseElement",
|
|
102025
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102026
|
+
},
|
|
102027
|
+
"default": "''",
|
|
102028
|
+
"description": "Value of the form element.",
|
|
102029
|
+
"attribute": "value"
|
|
102024
102030
|
},
|
|
102025
102031
|
{
|
|
102026
|
-
"kind": "
|
|
102027
|
-
"name": "
|
|
102032
|
+
"kind": "field",
|
|
102033
|
+
"name": "type",
|
|
102034
|
+
"privacy": "public",
|
|
102035
|
+
"description": "The type attribute to use for the button.",
|
|
102036
|
+
"default": "'button'",
|
|
102037
|
+
"type": {
|
|
102038
|
+
"text": "SbbButtonType"
|
|
102039
|
+
},
|
|
102040
|
+
"attribute": "type",
|
|
102041
|
+
"inheritedFrom": {
|
|
102042
|
+
"name": "SbbButtonBaseElement",
|
|
102043
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102044
|
+
}
|
|
102045
|
+
},
|
|
102046
|
+
{
|
|
102047
|
+
"kind": "field",
|
|
102048
|
+
"name": "form",
|
|
102049
|
+
"type": {
|
|
102050
|
+
"text": "HTMLFormElement | null"
|
|
102051
|
+
},
|
|
102052
|
+
"privacy": "public",
|
|
102053
|
+
"description": "The `<form>` element to associate the button with.",
|
|
102054
|
+
"inheritedFrom": {
|
|
102055
|
+
"name": "SbbButtonBaseElement",
|
|
102056
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102057
|
+
},
|
|
102058
|
+
"attribute": "form"
|
|
102059
|
+
},
|
|
102060
|
+
{
|
|
102061
|
+
"kind": "field",
|
|
102062
|
+
"name": "_formId",
|
|
102063
|
+
"type": {
|
|
102064
|
+
"text": "string"
|
|
102065
|
+
},
|
|
102028
102066
|
"privacy": "private",
|
|
102029
|
-
"
|
|
102030
|
-
|
|
102031
|
-
|
|
102032
|
-
|
|
102067
|
+
"default": "''",
|
|
102068
|
+
"inheritedFrom": {
|
|
102069
|
+
"name": "SbbButtonBaseElement",
|
|
102070
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102071
|
+
}
|
|
102072
|
+
},
|
|
102073
|
+
{
|
|
102074
|
+
"kind": "field",
|
|
102075
|
+
"name": "_handleButtonClick",
|
|
102076
|
+
"privacy": "private",
|
|
102077
|
+
"inheritedFrom": {
|
|
102078
|
+
"name": "SbbButtonBaseElement",
|
|
102079
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102033
102080
|
}
|
|
102034
102081
|
},
|
|
102035
102082
|
{
|
|
102036
102083
|
"kind": "method",
|
|
102037
|
-
"name": "
|
|
102084
|
+
"name": "_requestSubmit",
|
|
102038
102085
|
"privacy": "private",
|
|
102039
102086
|
"return": {
|
|
102040
102087
|
"type": {
|
|
@@ -102043,110 +102090,154 @@
|
|
|
102043
102090
|
},
|
|
102044
102091
|
"parameters": [
|
|
102045
102092
|
{
|
|
102046
|
-
"name": "
|
|
102093
|
+
"name": "form",
|
|
102047
102094
|
"type": {
|
|
102048
|
-
"text": "
|
|
102095
|
+
"text": "HTMLFormElement"
|
|
102049
102096
|
}
|
|
102050
102097
|
}
|
|
102051
|
-
]
|
|
102098
|
+
],
|
|
102099
|
+
"inheritedFrom": {
|
|
102100
|
+
"name": "SbbButtonBaseElement",
|
|
102101
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102102
|
+
}
|
|
102052
102103
|
},
|
|
102053
102104
|
{
|
|
102054
|
-
"kind": "
|
|
102055
|
-
"name": "
|
|
102105
|
+
"kind": "field",
|
|
102106
|
+
"name": "_formKeyDown",
|
|
102056
102107
|
"privacy": "private",
|
|
102057
|
-
"
|
|
102058
|
-
"
|
|
102059
|
-
|
|
102060
|
-
}
|
|
102108
|
+
"inheritedFrom": {
|
|
102109
|
+
"name": "SbbButtonBaseElement",
|
|
102110
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102061
102111
|
}
|
|
102062
102112
|
},
|
|
102063
102113
|
{
|
|
102064
102114
|
"kind": "field",
|
|
102065
|
-
"name": "
|
|
102115
|
+
"name": "formAssociated",
|
|
102066
102116
|
"type": {
|
|
102067
102117
|
"text": "boolean"
|
|
102068
102118
|
},
|
|
102069
102119
|
"privacy": "public",
|
|
102070
|
-
"
|
|
102071
|
-
"
|
|
102120
|
+
"static": true,
|
|
102121
|
+
"default": "true",
|
|
102072
102122
|
"inheritedFrom": {
|
|
102073
|
-
"name": "
|
|
102074
|
-
"module": "core/mixins/
|
|
102123
|
+
"name": "SbbFormAssociatedMixin",
|
|
102124
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102075
102125
|
}
|
|
102076
102126
|
},
|
|
102077
102127
|
{
|
|
102078
102128
|
"kind": "field",
|
|
102079
|
-
"name": "
|
|
102129
|
+
"name": "name",
|
|
102130
|
+
"privacy": "public",
|
|
102131
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
102080
102132
|
"type": {
|
|
102081
|
-
"text": "
|
|
102133
|
+
"text": "string"
|
|
102134
|
+
},
|
|
102135
|
+
"attribute": "name",
|
|
102136
|
+
"inheritedFrom": {
|
|
102137
|
+
"name": "SbbFormAssociatedMixin",
|
|
102138
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102139
|
+
}
|
|
102140
|
+
},
|
|
102141
|
+
{
|
|
102142
|
+
"kind": "field",
|
|
102143
|
+
"name": "validity",
|
|
102144
|
+
"type": {
|
|
102145
|
+
"text": "ValidityState"
|
|
102082
102146
|
},
|
|
102083
102147
|
"privacy": "public",
|
|
102084
|
-
"description": "Returns
|
|
102148
|
+
"description": "Returns the ValidityState object for this element.",
|
|
102085
102149
|
"readonly": true,
|
|
102086
102150
|
"inheritedFrom": {
|
|
102087
|
-
"name": "
|
|
102088
|
-
"module": "core/mixins/
|
|
102151
|
+
"name": "SbbFormAssociatedMixin",
|
|
102152
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102089
102153
|
}
|
|
102090
102154
|
},
|
|
102091
102155
|
{
|
|
102092
102156
|
"kind": "field",
|
|
102093
|
-
"name": "
|
|
102157
|
+
"name": "validationMessage",
|
|
102094
102158
|
"type": {
|
|
102095
|
-
"text": "
|
|
102159
|
+
"text": "string"
|
|
102160
|
+
},
|
|
102161
|
+
"privacy": "public",
|
|
102162
|
+
"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.",
|
|
102163
|
+
"readonly": true,
|
|
102164
|
+
"inheritedFrom": {
|
|
102165
|
+
"name": "SbbFormAssociatedMixin",
|
|
102166
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102167
|
+
}
|
|
102168
|
+
},
|
|
102169
|
+
{
|
|
102170
|
+
"kind": "field",
|
|
102171
|
+
"name": "willValidate",
|
|
102172
|
+
"type": {
|
|
102173
|
+
"text": "boolean"
|
|
102096
102174
|
},
|
|
102175
|
+
"privacy": "public",
|
|
102176
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
102177
|
+
"readonly": true,
|
|
102178
|
+
"inheritedFrom": {
|
|
102179
|
+
"name": "SbbFormAssociatedMixin",
|
|
102180
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102181
|
+
}
|
|
102182
|
+
},
|
|
102183
|
+
{
|
|
102184
|
+
"kind": "field",
|
|
102185
|
+
"name": "_validityStates",
|
|
102097
102186
|
"privacy": "private",
|
|
102187
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
102098
102188
|
"inheritedFrom": {
|
|
102099
|
-
"name": "
|
|
102100
|
-
"module": "core/mixins/
|
|
102189
|
+
"name": "SbbFormAssociatedMixin",
|
|
102190
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102101
102191
|
}
|
|
102102
102192
|
},
|
|
102103
102193
|
{
|
|
102104
|
-
"kind": "
|
|
102105
|
-
"name": "
|
|
102106
|
-
"
|
|
102107
|
-
|
|
102108
|
-
"type": {
|
|
102109
|
-
"text": "void"
|
|
102110
|
-
}
|
|
102194
|
+
"kind": "field",
|
|
102195
|
+
"name": "formDisabled",
|
|
102196
|
+
"type": {
|
|
102197
|
+
"text": "boolean"
|
|
102111
102198
|
},
|
|
102199
|
+
"privacy": "protected",
|
|
102200
|
+
"default": "false",
|
|
102201
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
102112
102202
|
"inheritedFrom": {
|
|
102113
|
-
"name": "
|
|
102114
|
-
"module": "core/mixins/
|
|
102203
|
+
"name": "SbbFormAssociatedMixin",
|
|
102204
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102115
102205
|
}
|
|
102116
102206
|
},
|
|
102117
102207
|
{
|
|
102118
102208
|
"kind": "method",
|
|
102119
|
-
"name": "
|
|
102120
|
-
"privacy": "
|
|
102209
|
+
"name": "checkValidity",
|
|
102210
|
+
"privacy": "public",
|
|
102121
102211
|
"return": {
|
|
102122
102212
|
"type": {
|
|
102123
|
-
"text": "
|
|
102213
|
+
"text": "boolean"
|
|
102124
102214
|
}
|
|
102125
102215
|
},
|
|
102126
|
-
"description": "
|
|
102216
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
102127
102217
|
"inheritedFrom": {
|
|
102128
|
-
"name": "
|
|
102129
|
-
"module": "core/mixins/
|
|
102218
|
+
"name": "SbbFormAssociatedMixin",
|
|
102219
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102130
102220
|
}
|
|
102131
102221
|
},
|
|
102132
102222
|
{
|
|
102133
102223
|
"kind": "method",
|
|
102134
|
-
"name": "
|
|
102135
|
-
"privacy": "
|
|
102224
|
+
"name": "reportValidity",
|
|
102225
|
+
"privacy": "public",
|
|
102136
102226
|
"return": {
|
|
102137
102227
|
"type": {
|
|
102138
|
-
"text": "
|
|
102228
|
+
"text": "boolean"
|
|
102139
102229
|
}
|
|
102140
102230
|
},
|
|
102231
|
+
"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.",
|
|
102141
102232
|
"inheritedFrom": {
|
|
102142
|
-
"name": "
|
|
102143
|
-
"module": "core/mixins/
|
|
102233
|
+
"name": "SbbFormAssociatedMixin",
|
|
102234
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102144
102235
|
}
|
|
102145
102236
|
},
|
|
102146
102237
|
{
|
|
102147
102238
|
"kind": "method",
|
|
102148
|
-
"name": "
|
|
102149
|
-
"privacy": "
|
|
102239
|
+
"name": "setCustomValidity",
|
|
102240
|
+
"privacy": "public",
|
|
102150
102241
|
"return": {
|
|
102151
102242
|
"type": {
|
|
102152
102243
|
"text": "void"
|
|
@@ -102154,320 +102245,287 @@
|
|
|
102154
102245
|
},
|
|
102155
102246
|
"parameters": [
|
|
102156
102247
|
{
|
|
102157
|
-
"name": "
|
|
102248
|
+
"name": "message",
|
|
102158
102249
|
"type": {
|
|
102159
102250
|
"text": "string"
|
|
102160
102251
|
}
|
|
102161
|
-
},
|
|
102162
|
-
{
|
|
102163
|
-
"name": "force",
|
|
102164
|
-
"optional": true,
|
|
102165
|
-
"type": {
|
|
102166
|
-
"text": "boolean"
|
|
102167
|
-
}
|
|
102168
102252
|
}
|
|
102169
102253
|
],
|
|
102254
|
+
"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.",
|
|
102170
102255
|
"inheritedFrom": {
|
|
102171
|
-
"name": "
|
|
102172
|
-
"module": "core/
|
|
102256
|
+
"name": "SbbFormAssociatedMixin",
|
|
102257
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102173
102258
|
}
|
|
102174
102259
|
},
|
|
102175
102260
|
{
|
|
102176
|
-
"kind": "
|
|
102177
|
-
"name": "
|
|
102178
|
-
"privacy": "
|
|
102179
|
-
"
|
|
102180
|
-
|
|
102181
|
-
|
|
102182
|
-
|
|
102183
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
102261
|
+
"kind": "method",
|
|
102262
|
+
"name": "_hasDisabledAncestor",
|
|
102263
|
+
"privacy": "private",
|
|
102264
|
+
"return": {
|
|
102265
|
+
"type": {
|
|
102266
|
+
"text": "boolean"
|
|
102267
|
+
}
|
|
102184
102268
|
},
|
|
102185
102269
|
"inheritedFrom": {
|
|
102186
|
-
"name": "
|
|
102187
|
-
"module": "core/
|
|
102270
|
+
"name": "SbbFormAssociatedMixin",
|
|
102271
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102188
102272
|
}
|
|
102189
102273
|
},
|
|
102190
102274
|
{
|
|
102191
|
-
"kind": "
|
|
102192
|
-
"name": "
|
|
102275
|
+
"kind": "method",
|
|
102276
|
+
"name": "updateFormValue",
|
|
102193
102277
|
"privacy": "protected",
|
|
102194
|
-
"
|
|
102195
|
-
|
|
102196
|
-
|
|
102278
|
+
"return": {
|
|
102279
|
+
"type": {
|
|
102280
|
+
"text": "void"
|
|
102281
|
+
}
|
|
102197
102282
|
},
|
|
102198
|
-
"
|
|
102283
|
+
"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",
|
|
102199
102284
|
"inheritedFrom": {
|
|
102200
|
-
"name": "
|
|
102201
|
-
"module": "core/
|
|
102202
|
-
}
|
|
102203
|
-
},
|
|
102204
|
-
{
|
|
102205
|
-
"kind": "field",
|
|
102206
|
-
"name": "_state",
|
|
102207
|
-
"type": {
|
|
102208
|
-
"text": "SbbOpenedClosedState"
|
|
102209
|
-
},
|
|
102210
|
-
"privacy": "private",
|
|
102211
|
-
"inheritedFrom": {
|
|
102212
|
-
"name": "SbbOpenCloseBaseElement",
|
|
102213
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
102285
|
+
"name": "SbbFormAssociatedMixin",
|
|
102286
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102214
102287
|
}
|
|
102215
102288
|
},
|
|
102216
102289
|
{
|
|
102217
|
-
"kind": "
|
|
102218
|
-
"name": "
|
|
102219
|
-
"
|
|
102220
|
-
|
|
102290
|
+
"kind": "method",
|
|
102291
|
+
"name": "formState",
|
|
102292
|
+
"privacy": "protected",
|
|
102293
|
+
"return": {
|
|
102294
|
+
"type": {
|
|
102295
|
+
"text": "FormRestoreState"
|
|
102296
|
+
}
|
|
102221
102297
|
},
|
|
102222
|
-
"privacy": "public",
|
|
102223
|
-
"description": "Whether the element is open.",
|
|
102224
|
-
"readonly": true,
|
|
102225
102298
|
"inheritedFrom": {
|
|
102226
|
-
"name": "
|
|
102227
|
-
"module": "core/
|
|
102299
|
+
"name": "SbbFormAssociatedMixin",
|
|
102300
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102228
102301
|
}
|
|
102229
102302
|
},
|
|
102230
102303
|
{
|
|
102231
102304
|
"kind": "method",
|
|
102232
|
-
"name": "
|
|
102233
|
-
"privacy": "
|
|
102305
|
+
"name": "setValidityFlag",
|
|
102306
|
+
"privacy": "protected",
|
|
102234
102307
|
"return": {
|
|
102235
102308
|
"type": {
|
|
102236
102309
|
"text": "void"
|
|
102237
102310
|
}
|
|
102238
102311
|
},
|
|
102239
|
-
"
|
|
102312
|
+
"parameters": [
|
|
102313
|
+
{
|
|
102314
|
+
"name": "flag",
|
|
102315
|
+
"type": {
|
|
102316
|
+
"text": "T"
|
|
102317
|
+
}
|
|
102318
|
+
},
|
|
102319
|
+
{
|
|
102320
|
+
"name": "message",
|
|
102321
|
+
"type": {
|
|
102322
|
+
"text": "string"
|
|
102323
|
+
}
|
|
102324
|
+
},
|
|
102325
|
+
{
|
|
102326
|
+
"name": "flagValue",
|
|
102327
|
+
"optional": true,
|
|
102328
|
+
"type": {
|
|
102329
|
+
"text": "ValidityStateFlags[T]"
|
|
102330
|
+
}
|
|
102331
|
+
}
|
|
102332
|
+
],
|
|
102333
|
+
"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).",
|
|
102240
102334
|
"inheritedFrom": {
|
|
102241
|
-
"name": "
|
|
102242
|
-
"module": "core/
|
|
102335
|
+
"name": "SbbFormAssociatedMixin",
|
|
102336
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102243
102337
|
}
|
|
102244
102338
|
},
|
|
102245
102339
|
{
|
|
102246
102340
|
"kind": "method",
|
|
102247
|
-
"name": "
|
|
102341
|
+
"name": "removeValidityFlag",
|
|
102248
102342
|
"privacy": "protected",
|
|
102249
102343
|
"return": {
|
|
102250
102344
|
"type": {
|
|
102251
|
-
"text": "
|
|
102345
|
+
"text": "void"
|
|
102252
102346
|
}
|
|
102253
102347
|
},
|
|
102348
|
+
"parameters": [
|
|
102349
|
+
{
|
|
102350
|
+
"name": "flag",
|
|
102351
|
+
"type": {
|
|
102352
|
+
"text": "T"
|
|
102353
|
+
}
|
|
102354
|
+
}
|
|
102355
|
+
],
|
|
102356
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
102254
102357
|
"inheritedFrom": {
|
|
102255
|
-
"name": "
|
|
102256
|
-
"module": "core/
|
|
102358
|
+
"name": "SbbFormAssociatedMixin",
|
|
102359
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102257
102360
|
}
|
|
102258
102361
|
},
|
|
102259
102362
|
{
|
|
102260
102363
|
"kind": "method",
|
|
102261
|
-
"name": "
|
|
102364
|
+
"name": "validate",
|
|
102262
102365
|
"privacy": "protected",
|
|
102263
102366
|
"return": {
|
|
102264
102367
|
"type": {
|
|
102265
|
-
"text": "
|
|
102368
|
+
"text": "void"
|
|
102266
102369
|
}
|
|
102267
102370
|
},
|
|
102371
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
102268
102372
|
"inheritedFrom": {
|
|
102269
|
-
"name": "
|
|
102270
|
-
"module": "core/
|
|
102373
|
+
"name": "SbbFormAssociatedMixin",
|
|
102374
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102271
102375
|
}
|
|
102272
102376
|
},
|
|
102273
102377
|
{
|
|
102274
102378
|
"kind": "method",
|
|
102275
|
-
"name": "
|
|
102379
|
+
"name": "shouldValidate",
|
|
102276
102380
|
"privacy": "protected",
|
|
102277
102381
|
"return": {
|
|
102278
102382
|
"type": {
|
|
102279
102383
|
"text": "boolean"
|
|
102280
102384
|
}
|
|
102281
102385
|
},
|
|
102386
|
+
"parameters": [
|
|
102387
|
+
{
|
|
102388
|
+
"name": "name",
|
|
102389
|
+
"type": {
|
|
102390
|
+
"text": "PropertyKey | undefined"
|
|
102391
|
+
}
|
|
102392
|
+
}
|
|
102393
|
+
],
|
|
102394
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
102282
102395
|
"inheritedFrom": {
|
|
102283
|
-
"name": "
|
|
102284
|
-
"module": "core/
|
|
102396
|
+
"name": "SbbFormAssociatedMixin",
|
|
102397
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102285
102398
|
}
|
|
102286
102399
|
},
|
|
102287
102400
|
{
|
|
102288
102401
|
"kind": "method",
|
|
102289
|
-
"name": "
|
|
102290
|
-
"privacy": "
|
|
102402
|
+
"name": "_setInternalValidity",
|
|
102403
|
+
"privacy": "private",
|
|
102291
102404
|
"return": {
|
|
102292
102405
|
"type": {
|
|
102293
|
-
"text": "
|
|
102406
|
+
"text": "void"
|
|
102294
102407
|
}
|
|
102295
102408
|
},
|
|
102296
102409
|
"inheritedFrom": {
|
|
102297
|
-
"name": "
|
|
102298
|
-
"module": "core/
|
|
102410
|
+
"name": "SbbFormAssociatedMixin",
|
|
102411
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102299
102412
|
}
|
|
102300
|
-
}
|
|
102301
|
-
],
|
|
102302
|
-
"attributes": [
|
|
102303
|
-
{
|
|
102304
|
-
"name": "color",
|
|
102305
|
-
"type": {
|
|
102306
|
-
"text": "'white' | 'milk'"
|
|
102307
|
-
},
|
|
102308
|
-
"default": "'white'",
|
|
102309
|
-
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
102310
|
-
"fieldName": "color"
|
|
102311
102413
|
},
|
|
102312
102414
|
{
|
|
102313
|
-
"
|
|
102314
|
-
"
|
|
102315
|
-
"text": "'side' | 'over'"
|
|
102316
|
-
},
|
|
102317
|
-
"default": "'side'",
|
|
102318
|
-
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
102319
|
-
"fieldName": "mode"
|
|
102320
|
-
},
|
|
102321
|
-
{
|
|
102322
|
-
"name": "position",
|
|
102323
|
-
"type": {
|
|
102324
|
-
"text": "'start' | 'end'"
|
|
102325
|
-
},
|
|
102326
|
-
"default": "'start'",
|
|
102327
|
-
"description": "The side that the sidebar is attached to.",
|
|
102328
|
-
"fieldName": "position"
|
|
102329
|
-
},
|
|
102330
|
-
{
|
|
102331
|
-
"name": "opened",
|
|
102415
|
+
"kind": "field",
|
|
102416
|
+
"name": "role",
|
|
102332
102417
|
"type": {
|
|
102333
|
-
"text": "
|
|
102418
|
+
"text": "ElementInternals['role']"
|
|
102334
102419
|
},
|
|
102335
|
-
"
|
|
102336
|
-
"
|
|
102337
|
-
"
|
|
102420
|
+
"privacy": "public",
|
|
102421
|
+
"static": true,
|
|
102422
|
+
"readonly": true,
|
|
102423
|
+
"default": "'button'",
|
|
102424
|
+
"inheritedFrom": {
|
|
102425
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102426
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102427
|
+
}
|
|
102338
102428
|
},
|
|
102339
102429
|
{
|
|
102340
|
-
"
|
|
102341
|
-
"
|
|
102342
|
-
|
|
102343
|
-
|
|
102344
|
-
"
|
|
102345
|
-
|
|
102346
|
-
|
|
102347
|
-
|
|
102348
|
-
|
|
102349
|
-
|
|
102350
|
-
{
|
|
102351
|
-
"name": "SbbAnimationCompleteMixin",
|
|
102352
|
-
"module": "core/mixins.js"
|
|
102353
|
-
}
|
|
102354
|
-
],
|
|
102355
|
-
"superclass": {
|
|
102356
|
-
"name": "SbbOpenCloseBaseElement",
|
|
102357
|
-
"module": "core/base-elements.js"
|
|
102358
|
-
},
|
|
102359
|
-
"tagName": "sbb-sidebar",
|
|
102360
|
-
"customElement": true,
|
|
102361
|
-
"events": [
|
|
102362
|
-
{
|
|
102363
|
-
"name": "beforeopen",
|
|
102364
|
-
"type": {
|
|
102365
|
-
"text": "Event"
|
|
102366
|
-
},
|
|
102367
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
102430
|
+
"kind": "field",
|
|
102431
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
102432
|
+
"privacy": "private",
|
|
102433
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
102434
|
+
"parameters": [
|
|
102435
|
+
{
|
|
102436
|
+
"description": "The origin event.",
|
|
102437
|
+
"name": "event"
|
|
102438
|
+
}
|
|
102439
|
+
],
|
|
102368
102440
|
"inheritedFrom": {
|
|
102369
|
-
"name": "
|
|
102370
|
-
"module": "core/base-elements/
|
|
102441
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102442
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102371
102443
|
}
|
|
102372
102444
|
},
|
|
102373
102445
|
{
|
|
102374
|
-
"
|
|
102375
|
-
"
|
|
102376
|
-
|
|
102377
|
-
},
|
|
102378
|
-
"description": "Emits whenever the component is opened.",
|
|
102446
|
+
"kind": "field",
|
|
102447
|
+
"name": "_removeActiveMarker",
|
|
102448
|
+
"privacy": "private",
|
|
102379
102449
|
"inheritedFrom": {
|
|
102380
|
-
"name": "
|
|
102381
|
-
"module": "core/base-elements/
|
|
102450
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102451
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102382
102452
|
}
|
|
102383
102453
|
},
|
|
102384
102454
|
{
|
|
102385
|
-
"
|
|
102386
|
-
"
|
|
102387
|
-
|
|
102388
|
-
|
|
102389
|
-
"
|
|
102455
|
+
"kind": "field",
|
|
102456
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
102457
|
+
"privacy": "private",
|
|
102458
|
+
"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.",
|
|
102459
|
+
"parameters": [
|
|
102460
|
+
{
|
|
102461
|
+
"description": "The origin event.",
|
|
102462
|
+
"name": "event"
|
|
102463
|
+
}
|
|
102464
|
+
],
|
|
102390
102465
|
"inheritedFrom": {
|
|
102391
|
-
"name": "
|
|
102392
|
-
"module": "core/base-elements/
|
|
102466
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102467
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102393
102468
|
}
|
|
102394
102469
|
},
|
|
102395
102470
|
{
|
|
102396
|
-
"
|
|
102397
|
-
"
|
|
102398
|
-
|
|
102399
|
-
},
|
|
102400
|
-
"description": "Emits whenever the component is closed.",
|
|
102471
|
+
"kind": "field",
|
|
102472
|
+
"name": "_dispatchClickEvent",
|
|
102473
|
+
"privacy": "private",
|
|
102401
102474
|
"inheritedFrom": {
|
|
102402
|
-
"name": "
|
|
102403
|
-
"module": "core/base-elements/
|
|
102475
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102476
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102404
102477
|
}
|
|
102405
|
-
}
|
|
102406
|
-
]
|
|
102407
|
-
}
|
|
102408
|
-
],
|
|
102409
|
-
"exports": [
|
|
102410
|
-
{
|
|
102411
|
-
"kind": "js",
|
|
102412
|
-
"name": "SbbSidebarElement",
|
|
102413
|
-
"declaration": {
|
|
102414
|
-
"name": "SbbSidebarElement",
|
|
102415
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
102416
|
-
}
|
|
102417
|
-
},
|
|
102418
|
-
{
|
|
102419
|
-
"kind": "custom-element-definition",
|
|
102420
|
-
"name": "sbb-sidebar",
|
|
102421
|
-
"declaration": {
|
|
102422
|
-
"name": "SbbSidebarElement",
|
|
102423
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
102424
|
-
}
|
|
102425
|
-
}
|
|
102426
|
-
]
|
|
102427
|
-
},
|
|
102428
|
-
{
|
|
102429
|
-
"kind": "javascript-module",
|
|
102430
|
-
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
102431
|
-
"declarations": [
|
|
102432
|
-
{
|
|
102433
|
-
"kind": "class",
|
|
102434
|
-
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
102435
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
102436
|
-
"slots": [
|
|
102478
|
+
},
|
|
102437
102479
|
{
|
|
102438
|
-
"
|
|
102439
|
-
"name": "",
|
|
102480
|
+
"kind": "method",
|
|
102481
|
+
"name": "toggleState",
|
|
102482
|
+
"privacy": "protected",
|
|
102483
|
+
"return": {
|
|
102484
|
+
"type": {
|
|
102485
|
+
"text": "void"
|
|
102486
|
+
}
|
|
102487
|
+
},
|
|
102488
|
+
"parameters": [
|
|
102489
|
+
{
|
|
102490
|
+
"name": "value",
|
|
102491
|
+
"type": {
|
|
102492
|
+
"text": "string"
|
|
102493
|
+
}
|
|
102494
|
+
},
|
|
102495
|
+
{
|
|
102496
|
+
"name": "force",
|
|
102497
|
+
"optional": true,
|
|
102498
|
+
"type": {
|
|
102499
|
+
"text": "boolean"
|
|
102500
|
+
}
|
|
102501
|
+
}
|
|
102502
|
+
],
|
|
102440
102503
|
"inheritedFrom": {
|
|
102441
|
-
"name": "
|
|
102442
|
-
"module": "
|
|
102504
|
+
"name": "SbbActionBaseElement",
|
|
102505
|
+
"module": "core/base-elements/action-base-element.js"
|
|
102443
102506
|
}
|
|
102444
102507
|
},
|
|
102445
102508
|
{
|
|
102446
|
-
"
|
|
102447
|
-
"name": "
|
|
102509
|
+
"kind": "field",
|
|
102510
|
+
"name": "maybeDisabled",
|
|
102511
|
+
"type": {
|
|
102512
|
+
"text": "boolean | undefined"
|
|
102513
|
+
},
|
|
102514
|
+
"privacy": "protected",
|
|
102515
|
+
"readonly": true,
|
|
102448
102516
|
"inheritedFrom": {
|
|
102449
|
-
"name": "
|
|
102450
|
-
"module": "
|
|
102517
|
+
"name": "SbbActionBaseElement",
|
|
102518
|
+
"module": "core/base-elements/action-base-element.js"
|
|
102451
102519
|
}
|
|
102452
|
-
}
|
|
102453
|
-
],
|
|
102454
|
-
"members": [
|
|
102455
|
-
{
|
|
102456
|
-
"kind": "field",
|
|
102457
|
-
"name": "_languageController",
|
|
102458
|
-
"privacy": "private",
|
|
102459
|
-
"default": "new SbbLanguageController(this)"
|
|
102460
102520
|
},
|
|
102461
102521
|
{
|
|
102462
|
-
"kind": "
|
|
102463
|
-
"name": "
|
|
102464
|
-
"
|
|
102465
|
-
|
|
102466
|
-
"type": {
|
|
102467
|
-
"text": "TemplateResult"
|
|
102468
|
-
}
|
|
102522
|
+
"kind": "field",
|
|
102523
|
+
"name": "maybeDisabledInteractive",
|
|
102524
|
+
"type": {
|
|
102525
|
+
"text": "boolean | undefined"
|
|
102469
102526
|
},
|
|
102470
|
-
"
|
|
102527
|
+
"privacy": "protected",
|
|
102528
|
+
"readonly": true,
|
|
102471
102529
|
"inheritedFrom": {
|
|
102472
102530
|
"name": "SbbActionBaseElement",
|
|
102473
102531
|
"module": "core/base-elements/action-base-element.js"
|
|
@@ -102475,417 +102533,446 @@
|
|
|
102475
102533
|
},
|
|
102476
102534
|
{
|
|
102477
102535
|
"kind": "method",
|
|
102478
|
-
"name": "
|
|
102536
|
+
"name": "setupBaseEventHandlers",
|
|
102479
102537
|
"privacy": "protected",
|
|
102480
102538
|
"return": {
|
|
102481
102539
|
"type": {
|
|
102482
|
-
"text": "
|
|
102540
|
+
"text": "void"
|
|
102483
102541
|
}
|
|
102484
102542
|
},
|
|
102485
102543
|
"inheritedFrom": {
|
|
102486
|
-
"name": "
|
|
102487
|
-
"module": "
|
|
102544
|
+
"name": "SbbActionBaseElement",
|
|
102545
|
+
"module": "core/base-elements/action-base-element.js"
|
|
102488
102546
|
}
|
|
102489
|
-
}
|
|
102547
|
+
}
|
|
102548
|
+
],
|
|
102549
|
+
"superclass": {
|
|
102550
|
+
"name": "SbbSecondaryButtonElement",
|
|
102551
|
+
"module": "button/secondary-button.js"
|
|
102552
|
+
},
|
|
102553
|
+
"tagName": "sbb-sidebar-close-button",
|
|
102554
|
+
"customElement": true,
|
|
102555
|
+
"attributes": [
|
|
102490
102556
|
{
|
|
102491
|
-
"kind": "field",
|
|
102492
102557
|
"name": "size",
|
|
102493
102558
|
"type": {
|
|
102494
102559
|
"text": "SbbButtonSize"
|
|
102495
102560
|
},
|
|
102496
|
-
"privacy": "public",
|
|
102497
102561
|
"description": "Size variant, either l, m or s.",
|
|
102498
|
-
"default": "'s'",
|
|
102499
|
-
"
|
|
102500
|
-
"reflects": true,
|
|
102562
|
+
"default": "'l' / 's' (lean)",
|
|
102563
|
+
"fieldName": "size",
|
|
102501
102564
|
"inheritedFrom": {
|
|
102502
102565
|
"name": "SbbButtonCommonElementMixin",
|
|
102503
102566
|
"module": "button/common/button-common.js"
|
|
102504
102567
|
}
|
|
102505
102568
|
},
|
|
102506
102569
|
{
|
|
102507
|
-
"kind": "field",
|
|
102508
102570
|
"name": "loading",
|
|
102509
102571
|
"type": {
|
|
102510
102572
|
"text": "boolean"
|
|
102511
102573
|
},
|
|
102512
|
-
"privacy": "public",
|
|
102513
102574
|
"default": "false",
|
|
102514
102575
|
"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.",
|
|
102515
|
-
"
|
|
102516
|
-
"reflects": true,
|
|
102576
|
+
"fieldName": "loading",
|
|
102517
102577
|
"inheritedFrom": {
|
|
102518
102578
|
"name": "SbbButtonCommonElementMixin",
|
|
102519
102579
|
"module": "button/common/button-common.js"
|
|
102520
102580
|
}
|
|
102521
102581
|
},
|
|
102522
102582
|
{
|
|
102523
|
-
"kind": "field",
|
|
102524
102583
|
"name": "negative",
|
|
102525
102584
|
"type": {
|
|
102526
102585
|
"text": "boolean"
|
|
102527
102586
|
},
|
|
102528
|
-
"privacy": "public",
|
|
102529
102587
|
"default": "false",
|
|
102530
102588
|
"description": "Negative coloring variant flag.",
|
|
102531
|
-
"
|
|
102532
|
-
"reflects": true,
|
|
102589
|
+
"fieldName": "negative",
|
|
102533
102590
|
"inheritedFrom": {
|
|
102534
102591
|
"name": "SbbNegativeMixin",
|
|
102535
102592
|
"module": "core/mixins/negative-mixin.js"
|
|
102536
102593
|
}
|
|
102537
102594
|
},
|
|
102538
102595
|
{
|
|
102539
|
-
"
|
|
102540
|
-
"name": "iconName",
|
|
102596
|
+
"name": "icon-name",
|
|
102541
102597
|
"type": {
|
|
102542
102598
|
"text": "string"
|
|
102543
102599
|
},
|
|
102544
|
-
"privacy": "public",
|
|
102545
102600
|
"default": "''",
|
|
102546
102601
|
"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.",
|
|
102547
|
-
"
|
|
102548
|
-
"inheritedFrom": {
|
|
102549
|
-
"name": "SbbIconNameMixin",
|
|
102550
|
-
"module": "icon/icon-name-mixin.js"
|
|
102551
|
-
}
|
|
102552
|
-
},
|
|
102553
|
-
{
|
|
102554
|
-
"kind": "method",
|
|
102555
|
-
"name": "renderIconSlot",
|
|
102556
|
-
"privacy": "protected",
|
|
102557
|
-
"return": {
|
|
102558
|
-
"type": {
|
|
102559
|
-
"text": "TemplateResult"
|
|
102560
|
-
}
|
|
102561
|
-
},
|
|
102562
|
-
"parameters": [
|
|
102563
|
-
{
|
|
102564
|
-
"name": "classname",
|
|
102565
|
-
"optional": true,
|
|
102566
|
-
"type": {
|
|
102567
|
-
"text": "string"
|
|
102568
|
-
}
|
|
102569
|
-
}
|
|
102570
|
-
],
|
|
102571
|
-
"inheritedFrom": {
|
|
102572
|
-
"name": "SbbIconNameMixin",
|
|
102573
|
-
"module": "icon/icon-name-mixin.js"
|
|
102574
|
-
}
|
|
102575
|
-
},
|
|
102576
|
-
{
|
|
102577
|
-
"kind": "method",
|
|
102578
|
-
"name": "_renderIconName",
|
|
102579
|
-
"privacy": "private",
|
|
102580
|
-
"return": {
|
|
102581
|
-
"type": {
|
|
102582
|
-
"text": "string"
|
|
102583
|
-
}
|
|
102584
|
-
},
|
|
102602
|
+
"fieldName": "iconName",
|
|
102585
102603
|
"inheritedFrom": {
|
|
102586
102604
|
"name": "SbbIconNameMixin",
|
|
102587
102605
|
"module": "icon/icon-name-mixin.js"
|
|
102588
102606
|
}
|
|
102589
102607
|
},
|
|
102590
102608
|
{
|
|
102591
|
-
"
|
|
102592
|
-
"name": "disabledInteractive",
|
|
102609
|
+
"name": "disabled-interactive",
|
|
102593
102610
|
"type": {
|
|
102594
102611
|
"text": "boolean"
|
|
102595
102612
|
},
|
|
102596
|
-
"privacy": "public",
|
|
102597
102613
|
"default": "false",
|
|
102598
102614
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102599
|
-
"
|
|
102600
|
-
"reflects": true,
|
|
102615
|
+
"fieldName": "disabledInteractive",
|
|
102601
102616
|
"inheritedFrom": {
|
|
102602
102617
|
"name": "SbbDisabledInteractiveMixin",
|
|
102603
102618
|
"module": "core/mixins/disabled-mixin.js"
|
|
102604
102619
|
}
|
|
102605
102620
|
},
|
|
102606
102621
|
{
|
|
102607
|
-
"kind": "field",
|
|
102608
102622
|
"name": "disabled",
|
|
102609
|
-
"privacy": "public",
|
|
102610
102623
|
"description": "Whether the component is disabled.",
|
|
102611
102624
|
"default": "false",
|
|
102612
102625
|
"type": {
|
|
102613
102626
|
"text": "boolean"
|
|
102614
102627
|
},
|
|
102615
|
-
"
|
|
102616
|
-
"reflects": true,
|
|
102628
|
+
"fieldName": "disabled",
|
|
102617
102629
|
"inheritedFrom": {
|
|
102618
102630
|
"name": "SbbDisabledMixin",
|
|
102619
102631
|
"module": "core/mixins/disabled-mixin.js"
|
|
102620
102632
|
}
|
|
102621
102633
|
},
|
|
102634
|
+
{
|
|
102635
|
+
"name": "value",
|
|
102636
|
+
"type": {
|
|
102637
|
+
"text": "string"
|
|
102638
|
+
},
|
|
102639
|
+
"default": "''",
|
|
102640
|
+
"description": "Value of the form element.",
|
|
102641
|
+
"fieldName": "value",
|
|
102642
|
+
"inheritedFrom": {
|
|
102643
|
+
"name": "SbbButtonBaseElement",
|
|
102644
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102645
|
+
}
|
|
102646
|
+
},
|
|
102647
|
+
{
|
|
102648
|
+
"name": "type",
|
|
102649
|
+
"description": "The type attribute to use for the button.",
|
|
102650
|
+
"default": "'button'",
|
|
102651
|
+
"type": {
|
|
102652
|
+
"text": "SbbButtonType"
|
|
102653
|
+
},
|
|
102654
|
+
"fieldName": "type",
|
|
102655
|
+
"inheritedFrom": {
|
|
102656
|
+
"name": "SbbButtonBaseElement",
|
|
102657
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102658
|
+
}
|
|
102659
|
+
},
|
|
102660
|
+
{
|
|
102661
|
+
"name": "form",
|
|
102662
|
+
"description": "The `<form>` element to associate the button with.",
|
|
102663
|
+
"type": {
|
|
102664
|
+
"text": "HTMLFormElement | null"
|
|
102665
|
+
},
|
|
102666
|
+
"fieldName": "form",
|
|
102667
|
+
"inheritedFrom": {
|
|
102668
|
+
"name": "SbbButtonBaseElement",
|
|
102669
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102670
|
+
}
|
|
102671
|
+
},
|
|
102672
|
+
{
|
|
102673
|
+
"name": "name",
|
|
102674
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
102675
|
+
"type": {
|
|
102676
|
+
"text": "string"
|
|
102677
|
+
},
|
|
102678
|
+
"fieldName": "name",
|
|
102679
|
+
"inheritedFrom": {
|
|
102680
|
+
"name": "SbbFormAssociatedMixin",
|
|
102681
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102682
|
+
}
|
|
102683
|
+
}
|
|
102684
|
+
],
|
|
102685
|
+
"cssProperties": [
|
|
102686
|
+
{
|
|
102687
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
102688
|
+
"name": "--sbb-button-loading-delay",
|
|
102689
|
+
"default": "300ms",
|
|
102690
|
+
"inheritedFrom": {
|
|
102691
|
+
"name": "SbbSecondaryButtonElement",
|
|
102692
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
102693
|
+
}
|
|
102694
|
+
}
|
|
102695
|
+
]
|
|
102696
|
+
}
|
|
102697
|
+
],
|
|
102698
|
+
"exports": [
|
|
102699
|
+
{
|
|
102700
|
+
"kind": "js",
|
|
102701
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
102702
|
+
"declaration": {
|
|
102703
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
102704
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
102705
|
+
}
|
|
102706
|
+
},
|
|
102707
|
+
{
|
|
102708
|
+
"kind": "custom-element-definition",
|
|
102709
|
+
"name": "sbb-sidebar-close-button",
|
|
102710
|
+
"declaration": {
|
|
102711
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
102712
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
102713
|
+
}
|
|
102714
|
+
}
|
|
102715
|
+
]
|
|
102716
|
+
},
|
|
102717
|
+
{
|
|
102718
|
+
"kind": "javascript-module",
|
|
102719
|
+
"path": "sidebar/sidebar/sidebar.component.js",
|
|
102720
|
+
"declarations": [
|
|
102721
|
+
{
|
|
102722
|
+
"kind": "class",
|
|
102723
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
102724
|
+
"name": "SbbSidebarElement",
|
|
102725
|
+
"slots": [
|
|
102726
|
+
{
|
|
102727
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
102728
|
+
"name": ""
|
|
102729
|
+
},
|
|
102730
|
+
{
|
|
102731
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
102732
|
+
"name": "title"
|
|
102733
|
+
}
|
|
102734
|
+
],
|
|
102735
|
+
"members": [
|
|
102736
|
+
{
|
|
102737
|
+
"kind": "field",
|
|
102738
|
+
"name": "color",
|
|
102739
|
+
"type": {
|
|
102740
|
+
"text": "'white' | 'milk'"
|
|
102741
|
+
},
|
|
102742
|
+
"privacy": "public",
|
|
102743
|
+
"default": "'white'",
|
|
102744
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
102745
|
+
"attribute": "color",
|
|
102746
|
+
"reflects": true
|
|
102747
|
+
},
|
|
102748
|
+
{
|
|
102749
|
+
"kind": "field",
|
|
102750
|
+
"name": "mode",
|
|
102751
|
+
"type": {
|
|
102752
|
+
"text": "'side' | 'over'"
|
|
102753
|
+
},
|
|
102754
|
+
"privacy": "public",
|
|
102755
|
+
"default": "'side'",
|
|
102756
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
102757
|
+
"attribute": "mode",
|
|
102758
|
+
"reflects": true
|
|
102759
|
+
},
|
|
102622
102760
|
{
|
|
102623
102761
|
"kind": "field",
|
|
102624
|
-
"name": "
|
|
102625
|
-
"privacy": "private",
|
|
102762
|
+
"name": "position",
|
|
102626
102763
|
"type": {
|
|
102627
|
-
"text": "
|
|
102764
|
+
"text": "'start' | 'end'"
|
|
102628
102765
|
},
|
|
102629
|
-
"
|
|
102630
|
-
"
|
|
102631
|
-
|
|
102632
|
-
|
|
102633
|
-
|
|
102766
|
+
"privacy": "public",
|
|
102767
|
+
"default": "'start'",
|
|
102768
|
+
"description": "The side that the sidebar is attached to.",
|
|
102769
|
+
"attribute": "position",
|
|
102770
|
+
"reflects": true
|
|
102634
102771
|
},
|
|
102635
102772
|
{
|
|
102636
|
-
"kind": "
|
|
102637
|
-
"name": "
|
|
102638
|
-
"
|
|
102639
|
-
|
|
102640
|
-
"type": {
|
|
102641
|
-
"text": "boolean"
|
|
102642
|
-
}
|
|
102773
|
+
"kind": "field",
|
|
102774
|
+
"name": "opened",
|
|
102775
|
+
"type": {
|
|
102776
|
+
"text": "boolean"
|
|
102643
102777
|
},
|
|
102644
|
-
"
|
|
102645
|
-
"
|
|
102646
|
-
|
|
102647
|
-
|
|
102648
|
-
|
|
102778
|
+
"privacy": "public",
|
|
102779
|
+
"default": "false",
|
|
102780
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
102781
|
+
"attribute": "opened",
|
|
102782
|
+
"reflects": true
|
|
102649
102783
|
},
|
|
102650
102784
|
{
|
|
102651
102785
|
"kind": "field",
|
|
102652
|
-
"name": "
|
|
102786
|
+
"name": "focusOnOpen",
|
|
102653
102787
|
"type": {
|
|
102654
|
-
"text": "
|
|
102788
|
+
"text": "boolean"
|
|
102655
102789
|
},
|
|
102656
|
-
"privacy": "
|
|
102657
|
-
"
|
|
102658
|
-
"
|
|
102659
|
-
"
|
|
102660
|
-
"name": "SbbButtonBaseElement",
|
|
102661
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102662
|
-
}
|
|
102790
|
+
"privacy": "public",
|
|
102791
|
+
"default": "false",
|
|
102792
|
+
"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.",
|
|
102793
|
+
"attribute": "focus-on-open"
|
|
102663
102794
|
},
|
|
102664
102795
|
{
|
|
102665
102796
|
"kind": "field",
|
|
102666
|
-
"name": "
|
|
102797
|
+
"name": "container",
|
|
102667
102798
|
"type": {
|
|
102668
|
-
"text": "
|
|
102799
|
+
"text": "SbbSidebarContainerElement | null"
|
|
102669
102800
|
},
|
|
102670
102801
|
"privacy": "public",
|
|
102671
|
-
"
|
|
102672
|
-
|
|
102673
|
-
|
|
102674
|
-
},
|
|
102675
|
-
"default": "''",
|
|
102676
|
-
"description": "Value of the form element.",
|
|
102677
|
-
"attribute": "value"
|
|
102802
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
102803
|
+
"readonly": true,
|
|
102804
|
+
"default": "null"
|
|
102678
102805
|
},
|
|
102679
102806
|
{
|
|
102680
102807
|
"kind": "field",
|
|
102681
|
-
"name": "
|
|
102682
|
-
"privacy": "public",
|
|
102683
|
-
"description": "The type attribute to use for the button.",
|
|
102684
|
-
"default": "'button'",
|
|
102808
|
+
"name": "_container",
|
|
102685
102809
|
"type": {
|
|
102686
|
-
"text": "
|
|
102810
|
+
"text": "SbbSidebarContainerElement | null"
|
|
102687
102811
|
},
|
|
102688
|
-
"
|
|
102689
|
-
"
|
|
102690
|
-
"name": "SbbButtonBaseElement",
|
|
102691
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102692
|
-
}
|
|
102812
|
+
"privacy": "private",
|
|
102813
|
+
"default": "null"
|
|
102693
102814
|
},
|
|
102694
102815
|
{
|
|
102695
102816
|
"kind": "field",
|
|
102696
|
-
"name": "
|
|
102817
|
+
"name": "_lastFocusedElement",
|
|
102697
102818
|
"type": {
|
|
102698
|
-
"text": "
|
|
102699
|
-
},
|
|
102700
|
-
"privacy": "public",
|
|
102701
|
-
"description": "The `<form>` element to associate the button with.",
|
|
102702
|
-
"inheritedFrom": {
|
|
102703
|
-
"name": "SbbButtonBaseElement",
|
|
102704
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102819
|
+
"text": "HTMLElement | null"
|
|
102705
102820
|
},
|
|
102706
|
-
"
|
|
102821
|
+
"privacy": "private",
|
|
102822
|
+
"default": "null"
|
|
102707
102823
|
},
|
|
102708
102824
|
{
|
|
102709
102825
|
"kind": "field",
|
|
102710
|
-
"name": "
|
|
102711
|
-
"type": {
|
|
102712
|
-
"text": "string"
|
|
102713
|
-
},
|
|
102826
|
+
"name": "_focusTrapController",
|
|
102714
102827
|
"privacy": "private",
|
|
102715
|
-
"default": "
|
|
102716
|
-
"inheritedFrom": {
|
|
102717
|
-
"name": "SbbButtonBaseElement",
|
|
102718
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102719
|
-
}
|
|
102828
|
+
"default": "new SbbFocusTrapController(this)"
|
|
102720
102829
|
},
|
|
102721
102830
|
{
|
|
102722
102831
|
"kind": "field",
|
|
102723
|
-
"name": "
|
|
102832
|
+
"name": "_escapableOverlayController",
|
|
102724
102833
|
"privacy": "private",
|
|
102725
|
-
"
|
|
102726
|
-
"name": "SbbButtonBaseElement",
|
|
102727
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102728
|
-
}
|
|
102834
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
102729
102835
|
},
|
|
102730
102836
|
{
|
|
102731
102837
|
"kind": "method",
|
|
102732
|
-
"name": "
|
|
102733
|
-
"privacy": "
|
|
102838
|
+
"name": "toggle",
|
|
102839
|
+
"privacy": "public",
|
|
102734
102840
|
"return": {
|
|
102735
102841
|
"type": {
|
|
102736
102842
|
"text": "void"
|
|
102737
102843
|
}
|
|
102738
102844
|
},
|
|
102739
|
-
"
|
|
102740
|
-
|
|
102741
|
-
|
|
102742
|
-
|
|
102743
|
-
|
|
102744
|
-
|
|
102845
|
+
"description": "Toggles the sidebar visibility."
|
|
102846
|
+
},
|
|
102847
|
+
{
|
|
102848
|
+
"kind": "method",
|
|
102849
|
+
"name": "open",
|
|
102850
|
+
"privacy": "public",
|
|
102851
|
+
"return": {
|
|
102852
|
+
"type": {
|
|
102853
|
+
"text": "void"
|
|
102745
102854
|
}
|
|
102746
|
-
|
|
102855
|
+
},
|
|
102856
|
+
"description": "Opens the sidebar.",
|
|
102747
102857
|
"inheritedFrom": {
|
|
102748
|
-
"name": "
|
|
102749
|
-
"module": "core/base-elements/
|
|
102858
|
+
"name": "SbbOpenCloseBaseElement",
|
|
102859
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
102750
102860
|
}
|
|
102751
102861
|
},
|
|
102752
102862
|
{
|
|
102753
|
-
"kind": "
|
|
102754
|
-
"name": "
|
|
102863
|
+
"kind": "method",
|
|
102864
|
+
"name": "_isZeroAnimationDuration",
|
|
102755
102865
|
"privacy": "private",
|
|
102756
|
-
"
|
|
102757
|
-
"
|
|
102758
|
-
|
|
102866
|
+
"return": {
|
|
102867
|
+
"type": {
|
|
102868
|
+
"text": "boolean"
|
|
102869
|
+
}
|
|
102759
102870
|
}
|
|
102760
102871
|
},
|
|
102761
102872
|
{
|
|
102762
|
-
"kind": "
|
|
102763
|
-
"name": "
|
|
102764
|
-
"
|
|
102765
|
-
|
|
102766
|
-
|
|
102767
|
-
|
|
102768
|
-
|
|
102769
|
-
"default": "true",
|
|
102770
|
-
"inheritedFrom": {
|
|
102771
|
-
"name": "SbbFormAssociatedMixin",
|
|
102772
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102873
|
+
"kind": "method",
|
|
102874
|
+
"name": "_handleOpening",
|
|
102875
|
+
"privacy": "private",
|
|
102876
|
+
"return": {
|
|
102877
|
+
"type": {
|
|
102878
|
+
"text": "void"
|
|
102879
|
+
}
|
|
102773
102880
|
}
|
|
102774
102881
|
},
|
|
102775
102882
|
{
|
|
102776
|
-
"kind": "
|
|
102777
|
-
"name": "
|
|
102883
|
+
"kind": "method",
|
|
102884
|
+
"name": "close",
|
|
102778
102885
|
"privacy": "public",
|
|
102779
|
-
"
|
|
102780
|
-
|
|
102781
|
-
|
|
102886
|
+
"return": {
|
|
102887
|
+
"type": {
|
|
102888
|
+
"text": "void"
|
|
102889
|
+
}
|
|
102782
102890
|
},
|
|
102783
|
-
"
|
|
102891
|
+
"description": "Closes the sidebar.",
|
|
102784
102892
|
"inheritedFrom": {
|
|
102785
|
-
"name": "
|
|
102786
|
-
"module": "core/
|
|
102893
|
+
"name": "SbbOpenCloseBaseElement",
|
|
102894
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
102787
102895
|
}
|
|
102788
102896
|
},
|
|
102789
102897
|
{
|
|
102790
|
-
"kind": "
|
|
102791
|
-
"name": "
|
|
102792
|
-
"
|
|
102793
|
-
|
|
102794
|
-
|
|
102795
|
-
|
|
102796
|
-
|
|
102797
|
-
"readonly": true,
|
|
102798
|
-
"inheritedFrom": {
|
|
102799
|
-
"name": "SbbFormAssociatedMixin",
|
|
102800
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102898
|
+
"kind": "method",
|
|
102899
|
+
"name": "_handleClosing",
|
|
102900
|
+
"privacy": "private",
|
|
102901
|
+
"return": {
|
|
102902
|
+
"type": {
|
|
102903
|
+
"text": "void"
|
|
102904
|
+
}
|
|
102801
102905
|
}
|
|
102802
102906
|
},
|
|
102803
102907
|
{
|
|
102804
|
-
"kind": "
|
|
102805
|
-
"name": "
|
|
102806
|
-
"
|
|
102807
|
-
|
|
102808
|
-
|
|
102809
|
-
|
|
102810
|
-
|
|
102811
|
-
"readonly": true,
|
|
102812
|
-
"inheritedFrom": {
|
|
102813
|
-
"name": "SbbFormAssociatedMixin",
|
|
102814
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102908
|
+
"kind": "method",
|
|
102909
|
+
"name": "_takeFocus",
|
|
102910
|
+
"privacy": "private",
|
|
102911
|
+
"return": {
|
|
102912
|
+
"type": {
|
|
102913
|
+
"text": "void"
|
|
102914
|
+
}
|
|
102815
102915
|
}
|
|
102816
102916
|
},
|
|
102817
102917
|
{
|
|
102818
|
-
"kind": "
|
|
102819
|
-
"name": "
|
|
102820
|
-
"
|
|
102821
|
-
|
|
102822
|
-
|
|
102823
|
-
|
|
102824
|
-
|
|
102825
|
-
"readonly": true,
|
|
102826
|
-
"inheritedFrom": {
|
|
102827
|
-
"name": "SbbFormAssociatedMixin",
|
|
102828
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102918
|
+
"kind": "method",
|
|
102919
|
+
"name": "cedeFocus",
|
|
102920
|
+
"privacy": "protected",
|
|
102921
|
+
"return": {
|
|
102922
|
+
"type": {
|
|
102923
|
+
"text": "void"
|
|
102924
|
+
}
|
|
102829
102925
|
}
|
|
102830
102926
|
},
|
|
102831
102927
|
{
|
|
102832
|
-
"kind": "
|
|
102833
|
-
"name": "
|
|
102928
|
+
"kind": "method",
|
|
102929
|
+
"name": "_updateSidebarWidth",
|
|
102834
102930
|
"privacy": "private",
|
|
102835
|
-
"
|
|
102836
|
-
|
|
102837
|
-
|
|
102838
|
-
|
|
102839
|
-
}
|
|
102840
|
-
},
|
|
102841
|
-
{
|
|
102842
|
-
"kind": "field",
|
|
102843
|
-
"name": "formDisabled",
|
|
102844
|
-
"type": {
|
|
102845
|
-
"text": "boolean"
|
|
102931
|
+
"return": {
|
|
102932
|
+
"type": {
|
|
102933
|
+
"text": "void"
|
|
102934
|
+
}
|
|
102846
102935
|
},
|
|
102847
|
-
"
|
|
102848
|
-
|
|
102849
|
-
|
|
102850
|
-
|
|
102851
|
-
|
|
102852
|
-
|
|
102853
|
-
|
|
102936
|
+
"parameters": [
|
|
102937
|
+
{
|
|
102938
|
+
"name": "oldPosition",
|
|
102939
|
+
"optional": true,
|
|
102940
|
+
"type": {
|
|
102941
|
+
"text": "this['position']"
|
|
102942
|
+
}
|
|
102943
|
+
}
|
|
102944
|
+
]
|
|
102854
102945
|
},
|
|
102855
102946
|
{
|
|
102856
102947
|
"kind": "method",
|
|
102857
|
-
"name": "
|
|
102858
|
-
"privacy": "
|
|
102948
|
+
"name": "_buildCssWidthVar",
|
|
102949
|
+
"privacy": "private",
|
|
102859
102950
|
"return": {
|
|
102860
102951
|
"type": {
|
|
102861
|
-
"text": "
|
|
102952
|
+
"text": "string"
|
|
102862
102953
|
}
|
|
102863
102954
|
},
|
|
102864
|
-
"
|
|
102865
|
-
|
|
102866
|
-
|
|
102867
|
-
|
|
102868
|
-
|
|
102955
|
+
"parameters": [
|
|
102956
|
+
{
|
|
102957
|
+
"name": "position",
|
|
102958
|
+
"default": "this.position"
|
|
102959
|
+
}
|
|
102960
|
+
]
|
|
102869
102961
|
},
|
|
102870
102962
|
{
|
|
102871
102963
|
"kind": "method",
|
|
102872
|
-
"name": "
|
|
102873
|
-
"privacy": "
|
|
102964
|
+
"name": "_isModeOver",
|
|
102965
|
+
"privacy": "private",
|
|
102874
102966
|
"return": {
|
|
102875
102967
|
"type": {
|
|
102876
102968
|
"text": "boolean"
|
|
102877
102969
|
}
|
|
102878
|
-
},
|
|
102879
|
-
"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.",
|
|
102880
|
-
"inheritedFrom": {
|
|
102881
|
-
"name": "SbbFormAssociatedMixin",
|
|
102882
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102883
102970
|
}
|
|
102884
102971
|
},
|
|
102885
102972
|
{
|
|
102886
102973
|
"kind": "method",
|
|
102887
|
-
"name": "
|
|
102888
|
-
"privacy": "
|
|
102974
|
+
"name": "_onTransitionEnd",
|
|
102975
|
+
"privacy": "private",
|
|
102889
102976
|
"return": {
|
|
102890
102977
|
"type": {
|
|
102891
102978
|
"text": "void"
|
|
@@ -102893,451 +102980,364 @@
|
|
|
102893
102980
|
},
|
|
102894
102981
|
"parameters": [
|
|
102895
102982
|
{
|
|
102896
|
-
"name": "
|
|
102983
|
+
"name": "event",
|
|
102897
102984
|
"type": {
|
|
102898
|
-
"text": "
|
|
102985
|
+
"text": "TransitionEvent"
|
|
102899
102986
|
}
|
|
102900
102987
|
}
|
|
102901
|
-
]
|
|
102902
|
-
"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.",
|
|
102903
|
-
"inheritedFrom": {
|
|
102904
|
-
"name": "SbbFormAssociatedMixin",
|
|
102905
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102906
|
-
}
|
|
102988
|
+
]
|
|
102907
102989
|
},
|
|
102908
102990
|
{
|
|
102909
102991
|
"kind": "method",
|
|
102910
|
-
"name": "
|
|
102992
|
+
"name": "_detectScrolledState",
|
|
102911
102993
|
"privacy": "private",
|
|
102912
102994
|
"return": {
|
|
102913
102995
|
"type": {
|
|
102914
|
-
"text": "
|
|
102996
|
+
"text": "void"
|
|
102915
102997
|
}
|
|
102998
|
+
}
|
|
102999
|
+
},
|
|
103000
|
+
{
|
|
103001
|
+
"kind": "field",
|
|
103002
|
+
"name": "isAnimating",
|
|
103003
|
+
"type": {
|
|
103004
|
+
"text": "boolean"
|
|
102916
103005
|
},
|
|
103006
|
+
"privacy": "public",
|
|
103007
|
+
"default": "false",
|
|
103008
|
+
"description": "Whether the component is currently animating.",
|
|
102917
103009
|
"inheritedFrom": {
|
|
102918
|
-
"name": "
|
|
102919
|
-
"module": "core/mixins/
|
|
103010
|
+
"name": "SbbAnimationCompleteMixin",
|
|
103011
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
102920
103012
|
}
|
|
102921
103013
|
},
|
|
102922
103014
|
{
|
|
102923
|
-
"kind": "
|
|
102924
|
-
"name": "
|
|
102925
|
-
"
|
|
102926
|
-
|
|
102927
|
-
"type": {
|
|
102928
|
-
"text": "void"
|
|
102929
|
-
}
|
|
103015
|
+
"kind": "field",
|
|
103016
|
+
"name": "animationComplete",
|
|
103017
|
+
"type": {
|
|
103018
|
+
"text": "Promise<void>"
|
|
102930
103019
|
},
|
|
102931
|
-
"
|
|
103020
|
+
"privacy": "public",
|
|
103021
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
103022
|
+
"readonly": true,
|
|
102932
103023
|
"inheritedFrom": {
|
|
102933
|
-
"name": "
|
|
102934
|
-
"module": "core/mixins/
|
|
103024
|
+
"name": "SbbAnimationCompleteMixin",
|
|
103025
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
102935
103026
|
}
|
|
102936
103027
|
},
|
|
102937
103028
|
{
|
|
102938
|
-
"kind": "
|
|
102939
|
-
"name": "
|
|
102940
|
-
"
|
|
102941
|
-
|
|
102942
|
-
"type": {
|
|
102943
|
-
"text": "FormRestoreState"
|
|
102944
|
-
}
|
|
103029
|
+
"kind": "field",
|
|
103030
|
+
"name": "_animationPromise",
|
|
103031
|
+
"type": {
|
|
103032
|
+
"text": "Promise<void>"
|
|
102945
103033
|
},
|
|
103034
|
+
"privacy": "private",
|
|
102946
103035
|
"inheritedFrom": {
|
|
102947
|
-
"name": "
|
|
102948
|
-
"module": "core/mixins/
|
|
103036
|
+
"name": "SbbAnimationCompleteMixin",
|
|
103037
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
102949
103038
|
}
|
|
102950
103039
|
},
|
|
102951
103040
|
{
|
|
102952
103041
|
"kind": "method",
|
|
102953
|
-
"name": "
|
|
103042
|
+
"name": "startAnimation",
|
|
102954
103043
|
"privacy": "protected",
|
|
102955
103044
|
"return": {
|
|
102956
103045
|
"type": {
|
|
102957
103046
|
"text": "void"
|
|
102958
103047
|
}
|
|
102959
103048
|
},
|
|
102960
|
-
"parameters": [
|
|
102961
|
-
{
|
|
102962
|
-
"name": "flag",
|
|
102963
|
-
"type": {
|
|
102964
|
-
"text": "T"
|
|
102965
|
-
}
|
|
102966
|
-
},
|
|
102967
|
-
{
|
|
102968
|
-
"name": "message",
|
|
102969
|
-
"type": {
|
|
102970
|
-
"text": "string"
|
|
102971
|
-
}
|
|
102972
|
-
},
|
|
102973
|
-
{
|
|
102974
|
-
"name": "flagValue",
|
|
102975
|
-
"optional": true,
|
|
102976
|
-
"type": {
|
|
102977
|
-
"text": "ValidityStateFlags[T]"
|
|
102978
|
-
}
|
|
102979
|
-
}
|
|
102980
|
-
],
|
|
102981
|
-
"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).",
|
|
102982
103049
|
"inheritedFrom": {
|
|
102983
|
-
"name": "
|
|
102984
|
-
"module": "core/mixins/
|
|
103050
|
+
"name": "SbbAnimationCompleteMixin",
|
|
103051
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
102985
103052
|
}
|
|
102986
103053
|
},
|
|
102987
103054
|
{
|
|
102988
103055
|
"kind": "method",
|
|
102989
|
-
"name": "
|
|
103056
|
+
"name": "stopAnimation",
|
|
102990
103057
|
"privacy": "protected",
|
|
102991
103058
|
"return": {
|
|
102992
103059
|
"type": {
|
|
102993
103060
|
"text": "void"
|
|
102994
103061
|
}
|
|
102995
103062
|
},
|
|
102996
|
-
"
|
|
102997
|
-
{
|
|
102998
|
-
"name": "flag",
|
|
102999
|
-
"type": {
|
|
103000
|
-
"text": "T"
|
|
103001
|
-
}
|
|
103002
|
-
}
|
|
103003
|
-
],
|
|
103004
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
103063
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
103005
103064
|
"inheritedFrom": {
|
|
103006
|
-
"name": "
|
|
103007
|
-
"module": "core/mixins/
|
|
103065
|
+
"name": "SbbAnimationCompleteMixin",
|
|
103066
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
103008
103067
|
}
|
|
103009
103068
|
},
|
|
103010
103069
|
{
|
|
103011
103070
|
"kind": "method",
|
|
103012
|
-
"name": "
|
|
103013
|
-
"privacy": "
|
|
103071
|
+
"name": "_enqueueAnimation",
|
|
103072
|
+
"privacy": "private",
|
|
103014
103073
|
"return": {
|
|
103015
103074
|
"type": {
|
|
103016
|
-
"text": "void"
|
|
103075
|
+
"text": "Promise<void>"
|
|
103017
103076
|
}
|
|
103018
103077
|
},
|
|
103019
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
103020
103078
|
"inheritedFrom": {
|
|
103021
|
-
"name": "
|
|
103022
|
-
"module": "core/mixins/
|
|
103079
|
+
"name": "SbbAnimationCompleteMixin",
|
|
103080
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
103023
103081
|
}
|
|
103024
103082
|
},
|
|
103025
103083
|
{
|
|
103026
103084
|
"kind": "method",
|
|
103027
|
-
"name": "
|
|
103085
|
+
"name": "toggleState",
|
|
103028
103086
|
"privacy": "protected",
|
|
103029
103087
|
"return": {
|
|
103030
103088
|
"type": {
|
|
103031
|
-
"text": "
|
|
103089
|
+
"text": "void"
|
|
103032
103090
|
}
|
|
103033
103091
|
},
|
|
103034
103092
|
"parameters": [
|
|
103035
103093
|
{
|
|
103036
|
-
"name": "
|
|
103094
|
+
"name": "value",
|
|
103037
103095
|
"type": {
|
|
103038
|
-
"text": "
|
|
103096
|
+
"text": "string"
|
|
103097
|
+
}
|
|
103098
|
+
},
|
|
103099
|
+
{
|
|
103100
|
+
"name": "force",
|
|
103101
|
+
"optional": true,
|
|
103102
|
+
"type": {
|
|
103103
|
+
"text": "boolean"
|
|
103039
103104
|
}
|
|
103040
103105
|
}
|
|
103041
103106
|
],
|
|
103042
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
103043
|
-
"inheritedFrom": {
|
|
103044
|
-
"name": "SbbFormAssociatedMixin",
|
|
103045
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
103046
|
-
}
|
|
103047
|
-
},
|
|
103048
|
-
{
|
|
103049
|
-
"kind": "method",
|
|
103050
|
-
"name": "_setInternalValidity",
|
|
103051
|
-
"privacy": "private",
|
|
103052
|
-
"return": {
|
|
103053
|
-
"type": {
|
|
103054
|
-
"text": "void"
|
|
103055
|
-
}
|
|
103056
|
-
},
|
|
103057
103107
|
"inheritedFrom": {
|
|
103058
|
-
"name": "
|
|
103059
|
-
"module": "core/
|
|
103108
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103109
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103060
103110
|
}
|
|
103061
103111
|
},
|
|
103062
103112
|
{
|
|
103063
103113
|
"kind": "field",
|
|
103064
|
-
"name": "
|
|
103065
|
-
"type": {
|
|
103066
|
-
"text": "ElementInternals['role']"
|
|
103067
|
-
},
|
|
103114
|
+
"name": "events",
|
|
103068
103115
|
"privacy": "public",
|
|
103069
103116
|
"static": true,
|
|
103070
103117
|
"readonly": true,
|
|
103071
|
-
"default": "'
|
|
103118
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
103119
|
+
"type": {
|
|
103120
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
103121
|
+
},
|
|
103072
103122
|
"inheritedFrom": {
|
|
103073
|
-
"name": "
|
|
103074
|
-
"module": "core/base-elements/
|
|
103123
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103124
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103075
103125
|
}
|
|
103076
103126
|
},
|
|
103077
103127
|
{
|
|
103078
103128
|
"kind": "field",
|
|
103079
|
-
"name": "
|
|
103080
|
-
"privacy": "
|
|
103081
|
-
"description": "
|
|
103082
|
-
"
|
|
103083
|
-
|
|
103084
|
-
|
|
103085
|
-
|
|
103086
|
-
}
|
|
103087
|
-
],
|
|
103129
|
+
"name": "state",
|
|
103130
|
+
"privacy": "protected",
|
|
103131
|
+
"description": "The state of the component.",
|
|
103132
|
+
"type": {
|
|
103133
|
+
"text": "SbbOpenedClosedState"
|
|
103134
|
+
},
|
|
103135
|
+
"default": "'closed'",
|
|
103088
103136
|
"inheritedFrom": {
|
|
103089
|
-
"name": "
|
|
103090
|
-
"module": "core/base-elements/
|
|
103137
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103138
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103091
103139
|
}
|
|
103092
103140
|
},
|
|
103093
103141
|
{
|
|
103094
103142
|
"kind": "field",
|
|
103095
|
-
"name": "
|
|
103143
|
+
"name": "_state",
|
|
103144
|
+
"type": {
|
|
103145
|
+
"text": "SbbOpenedClosedState"
|
|
103146
|
+
},
|
|
103096
103147
|
"privacy": "private",
|
|
103097
103148
|
"inheritedFrom": {
|
|
103098
|
-
"name": "
|
|
103099
|
-
"module": "core/base-elements/
|
|
103149
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103150
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103100
103151
|
}
|
|
103101
103152
|
},
|
|
103102
103153
|
{
|
|
103103
103154
|
"kind": "field",
|
|
103104
|
-
"name": "
|
|
103105
|
-
"
|
|
103106
|
-
|
|
103107
|
-
|
|
103108
|
-
|
|
103109
|
-
|
|
103110
|
-
|
|
103111
|
-
}
|
|
103112
|
-
],
|
|
103155
|
+
"name": "isOpen",
|
|
103156
|
+
"type": {
|
|
103157
|
+
"text": "boolean"
|
|
103158
|
+
},
|
|
103159
|
+
"privacy": "public",
|
|
103160
|
+
"description": "Whether the element is open.",
|
|
103161
|
+
"readonly": true,
|
|
103113
103162
|
"inheritedFrom": {
|
|
103114
|
-
"name": "
|
|
103115
|
-
"module": "core/base-elements/
|
|
103163
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103164
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103116
103165
|
}
|
|
103117
103166
|
},
|
|
103118
103167
|
{
|
|
103119
|
-
"kind": "
|
|
103120
|
-
"name": "
|
|
103121
|
-
"privacy": "
|
|
103168
|
+
"kind": "method",
|
|
103169
|
+
"name": "escapeStrategy",
|
|
103170
|
+
"privacy": "public",
|
|
103171
|
+
"return": {
|
|
103172
|
+
"type": {
|
|
103173
|
+
"text": "void"
|
|
103174
|
+
}
|
|
103175
|
+
},
|
|
103176
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
103122
103177
|
"inheritedFrom": {
|
|
103123
|
-
"name": "
|
|
103124
|
-
"module": "core/base-elements/
|
|
103178
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103179
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103125
103180
|
}
|
|
103126
103181
|
},
|
|
103127
103182
|
{
|
|
103128
103183
|
"kind": "method",
|
|
103129
|
-
"name": "
|
|
103184
|
+
"name": "dispatchBeforeOpenEvent",
|
|
103130
103185
|
"privacy": "protected",
|
|
103131
103186
|
"return": {
|
|
103132
103187
|
"type": {
|
|
103133
|
-
"text": "
|
|
103188
|
+
"text": "boolean"
|
|
103134
103189
|
}
|
|
103135
103190
|
},
|
|
103136
|
-
"parameters": [
|
|
103137
|
-
{
|
|
103138
|
-
"name": "value",
|
|
103139
|
-
"type": {
|
|
103140
|
-
"text": "string"
|
|
103141
|
-
}
|
|
103142
|
-
},
|
|
103143
|
-
{
|
|
103144
|
-
"name": "force",
|
|
103145
|
-
"optional": true,
|
|
103146
|
-
"type": {
|
|
103147
|
-
"text": "boolean"
|
|
103148
|
-
}
|
|
103149
|
-
}
|
|
103150
|
-
],
|
|
103151
103191
|
"inheritedFrom": {
|
|
103152
|
-
"name": "
|
|
103153
|
-
"module": "core/base-elements/
|
|
103192
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103193
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103154
103194
|
}
|
|
103155
103195
|
},
|
|
103156
103196
|
{
|
|
103157
|
-
"kind": "
|
|
103158
|
-
"name": "
|
|
103159
|
-
"type": {
|
|
103160
|
-
"text": "boolean | undefined"
|
|
103161
|
-
},
|
|
103197
|
+
"kind": "method",
|
|
103198
|
+
"name": "dispatchOpenEvent",
|
|
103162
103199
|
"privacy": "protected",
|
|
103163
|
-
"
|
|
103200
|
+
"return": {
|
|
103201
|
+
"type": {
|
|
103202
|
+
"text": "boolean"
|
|
103203
|
+
}
|
|
103204
|
+
},
|
|
103164
103205
|
"inheritedFrom": {
|
|
103165
|
-
"name": "
|
|
103166
|
-
"module": "core/base-elements/
|
|
103206
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103207
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103167
103208
|
}
|
|
103168
103209
|
},
|
|
103169
103210
|
{
|
|
103170
|
-
"kind": "
|
|
103171
|
-
"name": "
|
|
103172
|
-
"type": {
|
|
103173
|
-
"text": "boolean | undefined"
|
|
103174
|
-
},
|
|
103211
|
+
"kind": "method",
|
|
103212
|
+
"name": "dispatchBeforeCloseEvent",
|
|
103175
103213
|
"privacy": "protected",
|
|
103176
|
-
"
|
|
103214
|
+
"return": {
|
|
103215
|
+
"type": {
|
|
103216
|
+
"text": "boolean"
|
|
103217
|
+
}
|
|
103218
|
+
},
|
|
103177
103219
|
"inheritedFrom": {
|
|
103178
|
-
"name": "
|
|
103179
|
-
"module": "core/base-elements/
|
|
103220
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103221
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103180
103222
|
}
|
|
103181
103223
|
},
|
|
103182
103224
|
{
|
|
103183
103225
|
"kind": "method",
|
|
103184
|
-
"name": "
|
|
103226
|
+
"name": "dispatchCloseEvent",
|
|
103185
103227
|
"privacy": "protected",
|
|
103186
103228
|
"return": {
|
|
103187
103229
|
"type": {
|
|
103188
|
-
"text": "
|
|
103230
|
+
"text": "boolean"
|
|
103189
103231
|
}
|
|
103190
103232
|
},
|
|
103191
103233
|
"inheritedFrom": {
|
|
103192
|
-
"name": "
|
|
103193
|
-
"module": "core/base-elements/
|
|
103234
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103235
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103194
103236
|
}
|
|
103195
103237
|
}
|
|
103196
103238
|
],
|
|
103197
|
-
"superclass": {
|
|
103198
|
-
"name": "SbbSecondaryButtonElement",
|
|
103199
|
-
"module": "button/secondary-button.js"
|
|
103200
|
-
},
|
|
103201
|
-
"tagName": "sbb-sidebar-close-button",
|
|
103202
|
-
"customElement": true,
|
|
103203
103239
|
"attributes": [
|
|
103204
103240
|
{
|
|
103205
|
-
"name": "
|
|
103206
|
-
"type": {
|
|
103207
|
-
"text": "SbbButtonSize"
|
|
103208
|
-
},
|
|
103209
|
-
"description": "Size variant, either l, m or s.",
|
|
103210
|
-
"default": "'l' / 's' (lean)",
|
|
103211
|
-
"fieldName": "size",
|
|
103212
|
-
"inheritedFrom": {
|
|
103213
|
-
"name": "SbbButtonCommonElementMixin",
|
|
103214
|
-
"module": "button/common/button-common.js"
|
|
103215
|
-
}
|
|
103216
|
-
},
|
|
103217
|
-
{
|
|
103218
|
-
"name": "loading",
|
|
103241
|
+
"name": "color",
|
|
103219
103242
|
"type": {
|
|
103220
|
-
"text": "
|
|
103243
|
+
"text": "'white' | 'milk'"
|
|
103221
103244
|
},
|
|
103222
|
-
"default": "
|
|
103223
|
-
"description": "
|
|
103224
|
-
"fieldName": "
|
|
103225
|
-
"inheritedFrom": {
|
|
103226
|
-
"name": "SbbButtonCommonElementMixin",
|
|
103227
|
-
"module": "button/common/button-common.js"
|
|
103228
|
-
}
|
|
103245
|
+
"default": "'white'",
|
|
103246
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
103247
|
+
"fieldName": "color"
|
|
103229
103248
|
},
|
|
103230
103249
|
{
|
|
103231
|
-
"name": "
|
|
103250
|
+
"name": "mode",
|
|
103232
103251
|
"type": {
|
|
103233
|
-
"text": "
|
|
103252
|
+
"text": "'side' | 'over'"
|
|
103234
103253
|
},
|
|
103235
|
-
"default": "
|
|
103236
|
-
"description": "
|
|
103237
|
-
"fieldName": "
|
|
103238
|
-
"inheritedFrom": {
|
|
103239
|
-
"name": "SbbNegativeMixin",
|
|
103240
|
-
"module": "core/mixins/negative-mixin.js"
|
|
103241
|
-
}
|
|
103254
|
+
"default": "'side'",
|
|
103255
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
103256
|
+
"fieldName": "mode"
|
|
103242
103257
|
},
|
|
103243
103258
|
{
|
|
103244
|
-
"name": "
|
|
103259
|
+
"name": "position",
|
|
103245
103260
|
"type": {
|
|
103246
|
-
"text": "
|
|
103261
|
+
"text": "'start' | 'end'"
|
|
103247
103262
|
},
|
|
103248
|
-
"default": "''",
|
|
103249
|
-
"description": "The
|
|
103250
|
-
"fieldName": "
|
|
103251
|
-
"inheritedFrom": {
|
|
103252
|
-
"name": "SbbIconNameMixin",
|
|
103253
|
-
"module": "icon/icon-name-mixin.js"
|
|
103254
|
-
}
|
|
103263
|
+
"default": "'start'",
|
|
103264
|
+
"description": "The side that the sidebar is attached to.",
|
|
103265
|
+
"fieldName": "position"
|
|
103255
103266
|
},
|
|
103256
103267
|
{
|
|
103257
|
-
"name": "
|
|
103268
|
+
"name": "opened",
|
|
103258
103269
|
"type": {
|
|
103259
103270
|
"text": "boolean"
|
|
103260
103271
|
},
|
|
103261
103272
|
"default": "false",
|
|
103262
|
-
"description": "Whether the
|
|
103263
|
-
"fieldName": "
|
|
103264
|
-
"inheritedFrom": {
|
|
103265
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
103266
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
103267
|
-
}
|
|
103273
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
103274
|
+
"fieldName": "opened"
|
|
103268
103275
|
},
|
|
103269
103276
|
{
|
|
103270
|
-
"name": "
|
|
103271
|
-
"description": "Whether the component is disabled.",
|
|
103272
|
-
"default": "false",
|
|
103277
|
+
"name": "focus-on-open",
|
|
103273
103278
|
"type": {
|
|
103274
103279
|
"text": "boolean"
|
|
103275
103280
|
},
|
|
103276
|
-
"
|
|
103277
|
-
"
|
|
103278
|
-
|
|
103279
|
-
|
|
103280
|
-
|
|
103281
|
-
|
|
103281
|
+
"default": "false",
|
|
103282
|
+
"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.",
|
|
103283
|
+
"fieldName": "focusOnOpen"
|
|
103284
|
+
}
|
|
103285
|
+
],
|
|
103286
|
+
"mixins": [
|
|
103282
103287
|
{
|
|
103283
|
-
"name": "
|
|
103288
|
+
"name": "SbbAnimationCompleteMixin",
|
|
103289
|
+
"module": "core/mixins.js"
|
|
103290
|
+
}
|
|
103291
|
+
],
|
|
103292
|
+
"superclass": {
|
|
103293
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103294
|
+
"module": "core/base-elements.js"
|
|
103295
|
+
},
|
|
103296
|
+
"tagName": "sbb-sidebar",
|
|
103297
|
+
"customElement": true,
|
|
103298
|
+
"events": [
|
|
103299
|
+
{
|
|
103300
|
+
"name": "beforeopen",
|
|
103284
103301
|
"type": {
|
|
103285
|
-
"text": "
|
|
103302
|
+
"text": "Event"
|
|
103286
103303
|
},
|
|
103287
|
-
"
|
|
103288
|
-
"description": "Value of the form element.",
|
|
103289
|
-
"fieldName": "value",
|
|
103304
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
103290
103305
|
"inheritedFrom": {
|
|
103291
|
-
"name": "
|
|
103292
|
-
"module": "core/base-elements/
|
|
103306
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103307
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103293
103308
|
}
|
|
103294
103309
|
},
|
|
103295
103310
|
{
|
|
103296
|
-
"name": "
|
|
103297
|
-
"description": "The type attribute to use for the button.",
|
|
103298
|
-
"default": "'button'",
|
|
103311
|
+
"name": "open",
|
|
103299
103312
|
"type": {
|
|
103300
|
-
"text": "
|
|
103313
|
+
"text": "Event"
|
|
103301
103314
|
},
|
|
103302
|
-
"
|
|
103315
|
+
"description": "Emits whenever the component is opened.",
|
|
103303
103316
|
"inheritedFrom": {
|
|
103304
|
-
"name": "
|
|
103305
|
-
"module": "core/base-elements/
|
|
103317
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103318
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103306
103319
|
}
|
|
103307
103320
|
},
|
|
103308
103321
|
{
|
|
103309
|
-
"name": "
|
|
103310
|
-
"description": "The `<form>` element to associate the button with.",
|
|
103322
|
+
"name": "beforeclose",
|
|
103311
103323
|
"type": {
|
|
103312
|
-
"text": "
|
|
103324
|
+
"text": "Event"
|
|
103313
103325
|
},
|
|
103314
|
-
"
|
|
103326
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
103315
103327
|
"inheritedFrom": {
|
|
103316
|
-
"name": "
|
|
103317
|
-
"module": "core/base-elements/
|
|
103328
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103329
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103318
103330
|
}
|
|
103319
103331
|
},
|
|
103320
103332
|
{
|
|
103321
|
-
"name": "
|
|
103322
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
103333
|
+
"name": "close",
|
|
103323
103334
|
"type": {
|
|
103324
|
-
"text": "
|
|
103335
|
+
"text": "Event"
|
|
103325
103336
|
},
|
|
103326
|
-
"
|
|
103327
|
-
"inheritedFrom": {
|
|
103328
|
-
"name": "SbbFormAssociatedMixin",
|
|
103329
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
103330
|
-
}
|
|
103331
|
-
}
|
|
103332
|
-
],
|
|
103333
|
-
"cssProperties": [
|
|
103334
|
-
{
|
|
103335
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
103336
|
-
"name": "--sbb-button-loading-delay",
|
|
103337
|
-
"default": "300ms",
|
|
103337
|
+
"description": "Emits whenever the component is closed.",
|
|
103338
103338
|
"inheritedFrom": {
|
|
103339
|
-
"name": "
|
|
103340
|
-
"module": "
|
|
103339
|
+
"name": "SbbOpenCloseBaseElement",
|
|
103340
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
103341
103341
|
}
|
|
103342
103342
|
}
|
|
103343
103343
|
]
|
|
@@ -103346,18 +103346,18 @@
|
|
|
103346
103346
|
"exports": [
|
|
103347
103347
|
{
|
|
103348
103348
|
"kind": "js",
|
|
103349
|
-
"name": "
|
|
103349
|
+
"name": "SbbSidebarElement",
|
|
103350
103350
|
"declaration": {
|
|
103351
|
-
"name": "
|
|
103352
|
-
"module": "sidebar/sidebar
|
|
103351
|
+
"name": "SbbSidebarElement",
|
|
103352
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
103353
103353
|
}
|
|
103354
103354
|
},
|
|
103355
103355
|
{
|
|
103356
103356
|
"kind": "custom-element-definition",
|
|
103357
|
-
"name": "sbb-sidebar
|
|
103357
|
+
"name": "sbb-sidebar",
|
|
103358
103358
|
"declaration": {
|
|
103359
|
-
"name": "
|
|
103360
|
-
"module": "sidebar/sidebar
|
|
103359
|
+
"name": "SbbSidebarElement",
|
|
103360
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
103361
103361
|
}
|
|
103362
103362
|
}
|
|
103363
103363
|
]
|