@sbb-esta/lyne-elements-dev 4.7.0-dev.1773160191 → 4.7.0-dev.1773208987
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 +759 -759
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -36559,12 +36559,12 @@
|
|
|
36559
36559
|
},
|
|
36560
36560
|
{
|
|
36561
36561
|
"kind": "javascript-module",
|
|
36562
|
-
"path": "button/accent-button
|
|
36562
|
+
"path": "button/accent-button/accent-button.component.js",
|
|
36563
36563
|
"declarations": [
|
|
36564
36564
|
{
|
|
36565
36565
|
"kind": "class",
|
|
36566
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant
|
|
36567
|
-
"name": "
|
|
36566
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
36567
|
+
"name": "SbbAccentButtonElement",
|
|
36568
36568
|
"cssProperties": [
|
|
36569
36569
|
{
|
|
36570
36570
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -36574,7 +36574,7 @@
|
|
|
36574
36574
|
],
|
|
36575
36575
|
"slots": [
|
|
36576
36576
|
{
|
|
36577
|
-
"description": "Use the unnamed slot to add content to the accent-button
|
|
36577
|
+
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
36578
36578
|
"name": ""
|
|
36579
36579
|
},
|
|
36580
36580
|
{
|
|
@@ -36592,7 +36592,7 @@
|
|
|
36592
36592
|
"privacy": "public",
|
|
36593
36593
|
"static": true,
|
|
36594
36594
|
"readonly": true,
|
|
36595
|
-
"default": "'sbb-accent-button
|
|
36595
|
+
"default": "'sbb-accent-button'",
|
|
36596
36596
|
"inheritedFrom": {
|
|
36597
36597
|
"name": "SbbElement",
|
|
36598
36598
|
"module": "core/base-elements/element.js"
|
|
@@ -36789,1195 +36789,1163 @@
|
|
|
36789
36789
|
},
|
|
36790
36790
|
{
|
|
36791
36791
|
"kind": "field",
|
|
36792
|
-
"name": "
|
|
36793
|
-
"type": {
|
|
36794
|
-
"text": "string"
|
|
36795
|
-
},
|
|
36796
|
-
"privacy": "public",
|
|
36797
|
-
"default": "''",
|
|
36798
|
-
"description": "The href value you want to link to.",
|
|
36799
|
-
"attribute": "href",
|
|
36800
|
-
"reflects": true,
|
|
36801
|
-
"inheritedFrom": {
|
|
36802
|
-
"name": "SbbLinkBaseElement",
|
|
36803
|
-
"module": "core/base-elements/link-base-element.js"
|
|
36804
|
-
}
|
|
36805
|
-
},
|
|
36806
|
-
{
|
|
36807
|
-
"kind": "field",
|
|
36808
|
-
"name": "target",
|
|
36792
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
36809
36793
|
"type": {
|
|
36810
|
-
"text": "
|
|
36794
|
+
"text": "array"
|
|
36811
36795
|
},
|
|
36812
|
-
"privacy": "
|
|
36813
|
-
"
|
|
36814
|
-
"
|
|
36815
|
-
"attribute": "target",
|
|
36816
|
-
"reflects": true,
|
|
36796
|
+
"privacy": "private",
|
|
36797
|
+
"readonly": true,
|
|
36798
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
36817
36799
|
"inheritedFrom": {
|
|
36818
|
-
"name": "
|
|
36819
|
-
"module": "core/base-elements/
|
|
36800
|
+
"name": "SbbButtonBaseElement",
|
|
36801
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36820
36802
|
}
|
|
36821
36803
|
},
|
|
36822
36804
|
{
|
|
36823
36805
|
"kind": "field",
|
|
36824
|
-
"name": "
|
|
36806
|
+
"name": "value",
|
|
36825
36807
|
"type": {
|
|
36826
36808
|
"text": "string"
|
|
36827
36809
|
},
|
|
36828
36810
|
"privacy": "public",
|
|
36829
36811
|
"default": "''",
|
|
36830
|
-
"description": "
|
|
36831
|
-
"attribute": "
|
|
36832
|
-
"reflects": true,
|
|
36812
|
+
"description": "Value of the form element.",
|
|
36813
|
+
"attribute": "value",
|
|
36833
36814
|
"inheritedFrom": {
|
|
36834
|
-
"name": "
|
|
36835
|
-
"module": "core/base-elements/
|
|
36815
|
+
"name": "SbbButtonBaseElement",
|
|
36816
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36836
36817
|
}
|
|
36837
36818
|
},
|
|
36838
36819
|
{
|
|
36839
36820
|
"kind": "field",
|
|
36840
|
-
"name": "
|
|
36821
|
+
"name": "type",
|
|
36822
|
+
"privacy": "public",
|
|
36823
|
+
"description": "The type attribute to use for the button.",
|
|
36824
|
+
"default": "'button'",
|
|
36841
36825
|
"type": {
|
|
36842
|
-
"text": "
|
|
36826
|
+
"text": "SbbButtonType"
|
|
36843
36827
|
},
|
|
36844
|
-
"
|
|
36845
|
-
"default": "false",
|
|
36846
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
36847
|
-
"attribute": "download",
|
|
36848
|
-
"reflects": true,
|
|
36828
|
+
"attribute": "type",
|
|
36849
36829
|
"inheritedFrom": {
|
|
36850
|
-
"name": "
|
|
36851
|
-
"module": "core/base-elements/
|
|
36830
|
+
"name": "SbbButtonBaseElement",
|
|
36831
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36852
36832
|
}
|
|
36853
36833
|
},
|
|
36854
36834
|
{
|
|
36855
36835
|
"kind": "field",
|
|
36856
|
-
"name": "
|
|
36836
|
+
"name": "form",
|
|
36857
36837
|
"type": {
|
|
36858
|
-
"text": "
|
|
36838
|
+
"text": "HTMLFormElement | null"
|
|
36859
36839
|
},
|
|
36860
36840
|
"privacy": "public",
|
|
36861
|
-
"
|
|
36862
|
-
"
|
|
36863
|
-
"attribute": "accessibility-label",
|
|
36841
|
+
"description": "The `<form>` element to associate the button with.",
|
|
36842
|
+
"attribute": "form",
|
|
36864
36843
|
"inheritedFrom": {
|
|
36865
|
-
"name": "
|
|
36866
|
-
"module": "core/base-elements/
|
|
36844
|
+
"name": "SbbButtonBaseElement",
|
|
36845
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36867
36846
|
}
|
|
36868
36847
|
},
|
|
36869
36848
|
{
|
|
36870
36849
|
"kind": "field",
|
|
36871
|
-
"name": "
|
|
36850
|
+
"name": "_formId",
|
|
36872
36851
|
"type": {
|
|
36873
36852
|
"text": "string"
|
|
36874
36853
|
},
|
|
36875
|
-
"privacy": "
|
|
36854
|
+
"privacy": "private",
|
|
36876
36855
|
"default": "''",
|
|
36877
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
36878
|
-
"attribute": "accessibility-current",
|
|
36879
|
-
"inheritedFrom": {
|
|
36880
|
-
"name": "SbbLinkBaseElement",
|
|
36881
|
-
"module": "core/base-elements/link-base-element.js"
|
|
36882
|
-
}
|
|
36883
|
-
},
|
|
36884
|
-
{
|
|
36885
|
-
"kind": "field",
|
|
36886
|
-
"name": "language",
|
|
36887
|
-
"privacy": "protected",
|
|
36888
|
-
"default": "new SbbLanguageController(this)",
|
|
36889
|
-
"inheritedFrom": {
|
|
36890
|
-
"name": "SbbLinkBaseElement",
|
|
36891
|
-
"module": "core/base-elements/link-base-element.js"
|
|
36892
|
-
}
|
|
36893
|
-
},
|
|
36894
|
-
{
|
|
36895
|
-
"kind": "field",
|
|
36896
|
-
"name": "anchorRole",
|
|
36897
|
-
"type": {
|
|
36898
|
-
"text": "string | null"
|
|
36899
|
-
},
|
|
36900
|
-
"privacy": "protected",
|
|
36901
|
-
"readonly": true,
|
|
36902
|
-
"default": "null",
|
|
36903
36856
|
"inheritedFrom": {
|
|
36904
|
-
"name": "
|
|
36905
|
-
"module": "core/base-elements/
|
|
36857
|
+
"name": "SbbButtonBaseElement",
|
|
36858
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36906
36859
|
}
|
|
36907
36860
|
},
|
|
36908
36861
|
{
|
|
36909
36862
|
"kind": "field",
|
|
36910
|
-
"name": "
|
|
36863
|
+
"name": "_handleButtonClick",
|
|
36911
36864
|
"privacy": "private",
|
|
36912
36865
|
"inheritedFrom": {
|
|
36913
|
-
"name": "
|
|
36914
|
-
"module": "core/base-elements/
|
|
36866
|
+
"name": "SbbButtonBaseElement",
|
|
36867
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36915
36868
|
}
|
|
36916
36869
|
},
|
|
36917
36870
|
{
|
|
36918
36871
|
"kind": "method",
|
|
36919
|
-
"name": "
|
|
36920
|
-
"privacy": "
|
|
36872
|
+
"name": "_requestSubmit",
|
|
36873
|
+
"privacy": "private",
|
|
36921
36874
|
"return": {
|
|
36922
36875
|
"type": {
|
|
36923
|
-
"text": "
|
|
36876
|
+
"text": "void"
|
|
36924
36877
|
}
|
|
36925
36878
|
},
|
|
36926
36879
|
"parameters": [
|
|
36927
36880
|
{
|
|
36928
|
-
"name": "
|
|
36881
|
+
"name": "form",
|
|
36929
36882
|
"type": {
|
|
36930
|
-
"text": "
|
|
36883
|
+
"text": "HTMLFormElement"
|
|
36931
36884
|
}
|
|
36932
36885
|
}
|
|
36933
36886
|
],
|
|
36934
36887
|
"inheritedFrom": {
|
|
36935
|
-
"name": "
|
|
36936
|
-
"module": "core/base-elements/
|
|
36888
|
+
"name": "SbbButtonBaseElement",
|
|
36889
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36937
36890
|
}
|
|
36938
36891
|
},
|
|
36939
36892
|
{
|
|
36940
36893
|
"kind": "field",
|
|
36941
|
-
"name": "
|
|
36942
|
-
"
|
|
36943
|
-
"text": "boolean | undefined"
|
|
36944
|
-
},
|
|
36945
|
-
"privacy": "protected",
|
|
36946
|
-
"readonly": true,
|
|
36894
|
+
"name": "_formKeyDown",
|
|
36895
|
+
"privacy": "private",
|
|
36947
36896
|
"inheritedFrom": {
|
|
36948
|
-
"name": "
|
|
36949
|
-
"module": "core/base-elements/
|
|
36897
|
+
"name": "SbbButtonBaseElement",
|
|
36898
|
+
"module": "core/base-elements/button-base-element.js"
|
|
36950
36899
|
}
|
|
36951
36900
|
},
|
|
36952
36901
|
{
|
|
36953
36902
|
"kind": "field",
|
|
36954
|
-
"name": "
|
|
36903
|
+
"name": "formAssociated",
|
|
36955
36904
|
"type": {
|
|
36956
|
-
"text": "boolean
|
|
36905
|
+
"text": "boolean"
|
|
36957
36906
|
},
|
|
36958
|
-
"privacy": "
|
|
36959
|
-
"
|
|
36907
|
+
"privacy": "public",
|
|
36908
|
+
"static": true,
|
|
36909
|
+
"default": "true",
|
|
36960
36910
|
"inheritedFrom": {
|
|
36961
|
-
"name": "
|
|
36962
|
-
"module": "core/
|
|
36911
|
+
"name": "SbbFormAssociatedMixin",
|
|
36912
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
36963
36913
|
}
|
|
36964
36914
|
},
|
|
36965
36915
|
{
|
|
36966
|
-
"kind": "
|
|
36967
|
-
"name": "
|
|
36968
|
-
"privacy": "
|
|
36969
|
-
"
|
|
36970
|
-
|
|
36971
|
-
|
|
36972
|
-
}
|
|
36916
|
+
"kind": "field",
|
|
36917
|
+
"name": "name",
|
|
36918
|
+
"privacy": "public",
|
|
36919
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
36920
|
+
"type": {
|
|
36921
|
+
"text": "string"
|
|
36973
36922
|
},
|
|
36923
|
+
"attribute": "name",
|
|
36974
36924
|
"inheritedFrom": {
|
|
36975
|
-
"name": "
|
|
36976
|
-
"module": "core/
|
|
36925
|
+
"name": "SbbFormAssociatedMixin",
|
|
36926
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
36977
36927
|
}
|
|
36978
36928
|
},
|
|
36979
36929
|
{
|
|
36980
36930
|
"kind": "field",
|
|
36981
|
-
"name": "
|
|
36931
|
+
"name": "validity",
|
|
36982
36932
|
"type": {
|
|
36983
|
-
"text": "
|
|
36933
|
+
"text": "ValidityState"
|
|
36984
36934
|
},
|
|
36985
|
-
"privacy": "
|
|
36986
|
-
"
|
|
36935
|
+
"privacy": "public",
|
|
36936
|
+
"description": "Returns the ValidityState object for this element.",
|
|
36937
|
+
"readonly": true,
|
|
36987
36938
|
"inheritedFrom": {
|
|
36988
|
-
"name": "
|
|
36989
|
-
"module": "core/mixins/
|
|
36939
|
+
"name": "SbbFormAssociatedMixin",
|
|
36940
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
36990
36941
|
}
|
|
36991
36942
|
},
|
|
36992
36943
|
{
|
|
36993
36944
|
"kind": "field",
|
|
36994
|
-
"name": "
|
|
36995
|
-
"
|
|
36996
|
-
|
|
36945
|
+
"name": "validationMessage",
|
|
36946
|
+
"type": {
|
|
36947
|
+
"text": "string"
|
|
36948
|
+
},
|
|
36949
|
+
"privacy": "public",
|
|
36950
|
+
"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.",
|
|
36951
|
+
"readonly": true,
|
|
36997
36952
|
"inheritedFrom": {
|
|
36998
|
-
"name": "
|
|
36999
|
-
"module": "core/mixins/
|
|
36953
|
+
"name": "SbbFormAssociatedMixin",
|
|
36954
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37000
36955
|
}
|
|
37001
36956
|
},
|
|
37002
36957
|
{
|
|
37003
36958
|
"kind": "field",
|
|
37004
|
-
"name": "
|
|
36959
|
+
"name": "willValidate",
|
|
37005
36960
|
"type": {
|
|
37006
|
-
"text": "
|
|
36961
|
+
"text": "boolean"
|
|
37007
36962
|
},
|
|
36963
|
+
"privacy": "public",
|
|
36964
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
36965
|
+
"readonly": true,
|
|
36966
|
+
"inheritedFrom": {
|
|
36967
|
+
"name": "SbbFormAssociatedMixin",
|
|
36968
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
36969
|
+
}
|
|
36970
|
+
},
|
|
36971
|
+
{
|
|
36972
|
+
"kind": "field",
|
|
36973
|
+
"name": "_validityStates",
|
|
37008
36974
|
"privacy": "private",
|
|
36975
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
37009
36976
|
"inheritedFrom": {
|
|
37010
|
-
"name": "
|
|
37011
|
-
"module": "core/mixins/
|
|
36977
|
+
"name": "SbbFormAssociatedMixin",
|
|
36978
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37012
36979
|
}
|
|
37013
36980
|
},
|
|
37014
36981
|
{
|
|
37015
36982
|
"kind": "field",
|
|
37016
|
-
"name": "
|
|
36983
|
+
"name": "formDisabled",
|
|
37017
36984
|
"type": {
|
|
37018
36985
|
"text": "boolean"
|
|
37019
36986
|
},
|
|
37020
36987
|
"privacy": "protected",
|
|
37021
|
-
"
|
|
37022
|
-
"
|
|
36988
|
+
"default": "false",
|
|
36989
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
37023
36990
|
"inheritedFrom": {
|
|
37024
|
-
"name": "
|
|
37025
|
-
"module": "core/mixins/
|
|
37026
|
-
}
|
|
37027
|
-
"default": "!!this.shadowRoot"
|
|
36991
|
+
"name": "SbbFormAssociatedMixin",
|
|
36992
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
36993
|
+
}
|
|
37028
36994
|
},
|
|
37029
36995
|
{
|
|
37030
36996
|
"kind": "method",
|
|
37031
|
-
"name": "
|
|
37032
|
-
"privacy": "
|
|
36997
|
+
"name": "checkValidity",
|
|
36998
|
+
"privacy": "public",
|
|
37033
36999
|
"return": {
|
|
37034
37000
|
"type": {
|
|
37035
|
-
"text": "
|
|
37001
|
+
"text": "boolean"
|
|
37036
37002
|
}
|
|
37037
37003
|
},
|
|
37038
|
-
"
|
|
37039
|
-
|
|
37040
|
-
|
|
37041
|
-
|
|
37042
|
-
|
|
37043
|
-
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
|
|
37047
|
-
|
|
37004
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
37005
|
+
"inheritedFrom": {
|
|
37006
|
+
"name": "SbbFormAssociatedMixin",
|
|
37007
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37008
|
+
}
|
|
37009
|
+
},
|
|
37010
|
+
{
|
|
37011
|
+
"kind": "method",
|
|
37012
|
+
"name": "reportValidity",
|
|
37013
|
+
"privacy": "public",
|
|
37014
|
+
"return": {
|
|
37015
|
+
"type": {
|
|
37016
|
+
"text": "boolean"
|
|
37017
|
+
}
|
|
37018
|
+
},
|
|
37019
|
+
"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.",
|
|
37020
|
+
"inheritedFrom": {
|
|
37021
|
+
"name": "SbbFormAssociatedMixin",
|
|
37022
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37023
|
+
}
|
|
37024
|
+
},
|
|
37025
|
+
{
|
|
37026
|
+
"kind": "method",
|
|
37027
|
+
"name": "setCustomValidity",
|
|
37028
|
+
"privacy": "public",
|
|
37029
|
+
"return": {
|
|
37030
|
+
"type": {
|
|
37031
|
+
"text": "void"
|
|
37032
|
+
}
|
|
37033
|
+
},
|
|
37034
|
+
"parameters": [
|
|
37035
|
+
{
|
|
37036
|
+
"name": "message",
|
|
37048
37037
|
"type": {
|
|
37049
|
-
"text": "
|
|
37038
|
+
"text": "string"
|
|
37050
37039
|
}
|
|
37051
37040
|
}
|
|
37052
37041
|
],
|
|
37042
|
+
"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.",
|
|
37053
37043
|
"inheritedFrom": {
|
|
37054
|
-
"name": "
|
|
37055
|
-
"module": "core/mixins/
|
|
37044
|
+
"name": "SbbFormAssociatedMixin",
|
|
37045
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37056
37046
|
}
|
|
37057
37047
|
},
|
|
37058
37048
|
{
|
|
37059
|
-
"kind": "
|
|
37060
|
-
"name": "
|
|
37061
|
-
"
|
|
37062
|
-
|
|
37049
|
+
"kind": "method",
|
|
37050
|
+
"name": "_hasDisabledAncestor",
|
|
37051
|
+
"privacy": "private",
|
|
37052
|
+
"return": {
|
|
37053
|
+
"type": {
|
|
37054
|
+
"text": "boolean"
|
|
37055
|
+
}
|
|
37063
37056
|
},
|
|
37064
|
-
"privacy": "public",
|
|
37065
|
-
"static": true,
|
|
37066
|
-
"default": "true",
|
|
37067
37057
|
"inheritedFrom": {
|
|
37068
|
-
"name": "
|
|
37069
|
-
"module": "core/
|
|
37058
|
+
"name": "SbbFormAssociatedMixin",
|
|
37059
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37070
37060
|
}
|
|
37071
37061
|
},
|
|
37072
37062
|
{
|
|
37073
|
-
"kind": "
|
|
37074
|
-
"name": "
|
|
37075
|
-
"
|
|
37076
|
-
|
|
37063
|
+
"kind": "method",
|
|
37064
|
+
"name": "updateFormValue",
|
|
37065
|
+
"privacy": "protected",
|
|
37066
|
+
"return": {
|
|
37067
|
+
"type": {
|
|
37068
|
+
"text": "void"
|
|
37069
|
+
}
|
|
37077
37070
|
},
|
|
37078
|
-
"
|
|
37071
|
+
"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",
|
|
37079
37072
|
"inheritedFrom": {
|
|
37080
|
-
"name": "
|
|
37081
|
-
"module": "core/
|
|
37073
|
+
"name": "SbbFormAssociatedMixin",
|
|
37074
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37082
37075
|
}
|
|
37083
|
-
}
|
|
37084
|
-
],
|
|
37085
|
-
"mixins": [
|
|
37086
|
-
{
|
|
37087
|
-
"name": "SbbButtonCommonElementMixin",
|
|
37088
|
-
"module": "button/common.js"
|
|
37089
37076
|
},
|
|
37090
37077
|
{
|
|
37091
|
-
"
|
|
37092
|
-
"
|
|
37078
|
+
"kind": "method",
|
|
37079
|
+
"name": "formState",
|
|
37080
|
+
"privacy": "protected",
|
|
37081
|
+
"return": {
|
|
37082
|
+
"type": {
|
|
37083
|
+
"text": "FormRestoreState"
|
|
37084
|
+
}
|
|
37085
|
+
},
|
|
37086
|
+
"inheritedFrom": {
|
|
37087
|
+
"name": "SbbFormAssociatedMixin",
|
|
37088
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37089
|
+
}
|
|
37093
37090
|
},
|
|
37094
37091
|
{
|
|
37095
|
-
"
|
|
37096
|
-
"
|
|
37097
|
-
|
|
37098
|
-
|
|
37099
|
-
|
|
37100
|
-
|
|
37101
|
-
|
|
37102
|
-
},
|
|
37103
|
-
"tagName": "sbb-accent-button-link",
|
|
37104
|
-
"customElement": true,
|
|
37105
|
-
"attributes": [
|
|
37106
|
-
{
|
|
37107
|
-
"name": "size",
|
|
37108
|
-
"type": {
|
|
37109
|
-
"text": "SbbButtonSize"
|
|
37092
|
+
"kind": "method",
|
|
37093
|
+
"name": "setValidityFlag",
|
|
37094
|
+
"privacy": "protected",
|
|
37095
|
+
"return": {
|
|
37096
|
+
"type": {
|
|
37097
|
+
"text": "void"
|
|
37098
|
+
}
|
|
37110
37099
|
},
|
|
37111
|
-
"
|
|
37112
|
-
|
|
37113
|
-
|
|
37100
|
+
"parameters": [
|
|
37101
|
+
{
|
|
37102
|
+
"name": "flag",
|
|
37103
|
+
"type": {
|
|
37104
|
+
"text": "T"
|
|
37105
|
+
}
|
|
37106
|
+
},
|
|
37107
|
+
{
|
|
37108
|
+
"name": "message",
|
|
37109
|
+
"type": {
|
|
37110
|
+
"text": "string"
|
|
37111
|
+
}
|
|
37112
|
+
},
|
|
37113
|
+
{
|
|
37114
|
+
"name": "flagValue",
|
|
37115
|
+
"optional": true,
|
|
37116
|
+
"type": {
|
|
37117
|
+
"text": "ValidityStateFlags[T]"
|
|
37118
|
+
}
|
|
37119
|
+
}
|
|
37120
|
+
],
|
|
37121
|
+
"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).",
|
|
37114
37122
|
"inheritedFrom": {
|
|
37115
|
-
"name": "
|
|
37116
|
-
"module": "
|
|
37123
|
+
"name": "SbbFormAssociatedMixin",
|
|
37124
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37117
37125
|
}
|
|
37118
37126
|
},
|
|
37119
37127
|
{
|
|
37120
|
-
"
|
|
37121
|
-
"
|
|
37122
|
-
|
|
37128
|
+
"kind": "method",
|
|
37129
|
+
"name": "removeValidityFlag",
|
|
37130
|
+
"privacy": "protected",
|
|
37131
|
+
"return": {
|
|
37132
|
+
"type": {
|
|
37133
|
+
"text": "void"
|
|
37134
|
+
}
|
|
37123
37135
|
},
|
|
37124
|
-
"
|
|
37125
|
-
|
|
37126
|
-
|
|
37136
|
+
"parameters": [
|
|
37137
|
+
{
|
|
37138
|
+
"name": "flag",
|
|
37139
|
+
"type": {
|
|
37140
|
+
"text": "T"
|
|
37141
|
+
}
|
|
37142
|
+
}
|
|
37143
|
+
],
|
|
37144
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
37127
37145
|
"inheritedFrom": {
|
|
37128
|
-
"name": "
|
|
37129
|
-
"module": "
|
|
37146
|
+
"name": "SbbFormAssociatedMixin",
|
|
37147
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37130
37148
|
}
|
|
37131
37149
|
},
|
|
37132
37150
|
{
|
|
37133
|
-
"
|
|
37134
|
-
"
|
|
37135
|
-
|
|
37151
|
+
"kind": "method",
|
|
37152
|
+
"name": "validate",
|
|
37153
|
+
"privacy": "protected",
|
|
37154
|
+
"return": {
|
|
37155
|
+
"type": {
|
|
37156
|
+
"text": "void"
|
|
37157
|
+
}
|
|
37136
37158
|
},
|
|
37137
|
-
"
|
|
37138
|
-
"description": "Negative coloring variant flag.",
|
|
37139
|
-
"fieldName": "negative",
|
|
37159
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
37140
37160
|
"inheritedFrom": {
|
|
37141
|
-
"name": "
|
|
37142
|
-
"module": "core/mixins/
|
|
37161
|
+
"name": "SbbFormAssociatedMixin",
|
|
37162
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37143
37163
|
}
|
|
37144
37164
|
},
|
|
37145
37165
|
{
|
|
37146
|
-
"
|
|
37147
|
-
"
|
|
37148
|
-
|
|
37166
|
+
"kind": "method",
|
|
37167
|
+
"name": "shouldValidate",
|
|
37168
|
+
"privacy": "protected",
|
|
37169
|
+
"return": {
|
|
37170
|
+
"type": {
|
|
37171
|
+
"text": "boolean"
|
|
37172
|
+
}
|
|
37149
37173
|
},
|
|
37150
|
-
"
|
|
37151
|
-
|
|
37152
|
-
|
|
37174
|
+
"parameters": [
|
|
37175
|
+
{
|
|
37176
|
+
"name": "name",
|
|
37177
|
+
"type": {
|
|
37178
|
+
"text": "PropertyKey | undefined"
|
|
37179
|
+
}
|
|
37180
|
+
}
|
|
37181
|
+
],
|
|
37182
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
37153
37183
|
"inheritedFrom": {
|
|
37154
|
-
"name": "
|
|
37155
|
-
"module": "
|
|
37184
|
+
"name": "SbbFormAssociatedMixin",
|
|
37185
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37156
37186
|
}
|
|
37157
37187
|
},
|
|
37158
37188
|
{
|
|
37159
|
-
"
|
|
37160
|
-
"
|
|
37161
|
-
|
|
37189
|
+
"kind": "method",
|
|
37190
|
+
"name": "_setInternalValidity",
|
|
37191
|
+
"privacy": "private",
|
|
37192
|
+
"return": {
|
|
37193
|
+
"type": {
|
|
37194
|
+
"text": "void"
|
|
37195
|
+
}
|
|
37162
37196
|
},
|
|
37163
|
-
"default": "false",
|
|
37164
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
37165
|
-
"fieldName": "disabledInteractive",
|
|
37166
37197
|
"inheritedFrom": {
|
|
37167
|
-
"name": "
|
|
37168
|
-
"module": "core/mixins/
|
|
37198
|
+
"name": "SbbFormAssociatedMixin",
|
|
37199
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37169
37200
|
}
|
|
37170
37201
|
},
|
|
37171
37202
|
{
|
|
37172
|
-
"
|
|
37173
|
-
"
|
|
37174
|
-
"default": "false",
|
|
37203
|
+
"kind": "field",
|
|
37204
|
+
"name": "role",
|
|
37175
37205
|
"type": {
|
|
37176
|
-
"text": "
|
|
37206
|
+
"text": "ElementInternals['role']"
|
|
37177
37207
|
},
|
|
37178
|
-
"
|
|
37208
|
+
"privacy": "public",
|
|
37209
|
+
"static": true,
|
|
37210
|
+
"readonly": true,
|
|
37211
|
+
"default": "'button'",
|
|
37179
37212
|
"inheritedFrom": {
|
|
37180
|
-
"name": "
|
|
37181
|
-
"module": "core/
|
|
37213
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37214
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37182
37215
|
}
|
|
37183
37216
|
},
|
|
37184
37217
|
{
|
|
37185
|
-
"
|
|
37218
|
+
"kind": "field",
|
|
37219
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
37220
|
+
"privacy": "private",
|
|
37221
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
37222
|
+
"parameters": [
|
|
37223
|
+
{
|
|
37224
|
+
"description": "The origin event.",
|
|
37225
|
+
"name": "event"
|
|
37226
|
+
}
|
|
37227
|
+
],
|
|
37228
|
+
"inheritedFrom": {
|
|
37229
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37230
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37231
|
+
}
|
|
37232
|
+
},
|
|
37233
|
+
{
|
|
37234
|
+
"kind": "field",
|
|
37235
|
+
"name": "_removeActiveMarker",
|
|
37236
|
+
"privacy": "private",
|
|
37237
|
+
"inheritedFrom": {
|
|
37238
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37239
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37240
|
+
}
|
|
37241
|
+
},
|
|
37242
|
+
{
|
|
37243
|
+
"kind": "field",
|
|
37244
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
37245
|
+
"privacy": "private",
|
|
37246
|
+
"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.",
|
|
37247
|
+
"parameters": [
|
|
37248
|
+
{
|
|
37249
|
+
"description": "The origin event.",
|
|
37250
|
+
"name": "event"
|
|
37251
|
+
}
|
|
37252
|
+
],
|
|
37253
|
+
"inheritedFrom": {
|
|
37254
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37255
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37256
|
+
}
|
|
37257
|
+
},
|
|
37258
|
+
{
|
|
37259
|
+
"kind": "field",
|
|
37260
|
+
"name": "_dispatchClickEvent",
|
|
37261
|
+
"privacy": "private",
|
|
37262
|
+
"inheritedFrom": {
|
|
37263
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37264
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37265
|
+
}
|
|
37266
|
+
},
|
|
37267
|
+
{
|
|
37268
|
+
"kind": "field",
|
|
37269
|
+
"name": "maybeDisabled",
|
|
37186
37270
|
"type": {
|
|
37187
|
-
"text": "
|
|
37271
|
+
"text": "boolean | undefined"
|
|
37188
37272
|
},
|
|
37189
|
-
"
|
|
37190
|
-
"
|
|
37191
|
-
"fieldName": "href",
|
|
37273
|
+
"privacy": "protected",
|
|
37274
|
+
"readonly": true,
|
|
37192
37275
|
"inheritedFrom": {
|
|
37193
|
-
"name": "
|
|
37194
|
-
"module": "core/base-elements/
|
|
37276
|
+
"name": "SbbActionBaseElement",
|
|
37277
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37195
37278
|
}
|
|
37196
37279
|
},
|
|
37197
37280
|
{
|
|
37198
|
-
"
|
|
37281
|
+
"kind": "field",
|
|
37282
|
+
"name": "maybeDisabledInteractive",
|
|
37199
37283
|
"type": {
|
|
37200
|
-
"text": "
|
|
37284
|
+
"text": "boolean | undefined"
|
|
37201
37285
|
},
|
|
37202
|
-
"
|
|
37203
|
-
"
|
|
37204
|
-
"fieldName": "target",
|
|
37286
|
+
"privacy": "protected",
|
|
37287
|
+
"readonly": true,
|
|
37205
37288
|
"inheritedFrom": {
|
|
37206
|
-
"name": "
|
|
37207
|
-
"module": "core/base-elements/
|
|
37289
|
+
"name": "SbbActionBaseElement",
|
|
37290
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37208
37291
|
}
|
|
37209
37292
|
},
|
|
37210
37293
|
{
|
|
37211
|
-
"
|
|
37212
|
-
"
|
|
37213
|
-
|
|
37294
|
+
"kind": "method",
|
|
37295
|
+
"name": "setupBaseEventHandlers",
|
|
37296
|
+
"privacy": "protected",
|
|
37297
|
+
"return": {
|
|
37298
|
+
"type": {
|
|
37299
|
+
"text": "void"
|
|
37300
|
+
}
|
|
37214
37301
|
},
|
|
37215
|
-
"default": "''",
|
|
37216
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37217
|
-
"fieldName": "rel",
|
|
37218
37302
|
"inheritedFrom": {
|
|
37219
|
-
"name": "
|
|
37220
|
-
"module": "core/base-elements/
|
|
37303
|
+
"name": "SbbActionBaseElement",
|
|
37304
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37221
37305
|
}
|
|
37222
37306
|
},
|
|
37223
37307
|
{
|
|
37224
|
-
"
|
|
37308
|
+
"kind": "field",
|
|
37309
|
+
"name": "_hydrationRequired",
|
|
37225
37310
|
"type": {
|
|
37226
37311
|
"text": "boolean"
|
|
37227
37312
|
},
|
|
37228
|
-
"
|
|
37229
|
-
"
|
|
37230
|
-
"fieldName": "download",
|
|
37313
|
+
"privacy": "private",
|
|
37314
|
+
"default": "!!this.shadowRoot",
|
|
37231
37315
|
"inheritedFrom": {
|
|
37232
|
-
"name": "
|
|
37233
|
-
"module": "core/
|
|
37316
|
+
"name": "SbbHydrationMixin",
|
|
37317
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37234
37318
|
}
|
|
37235
37319
|
},
|
|
37236
37320
|
{
|
|
37237
|
-
"
|
|
37238
|
-
"
|
|
37239
|
-
|
|
37240
|
-
|
|
37241
|
-
"default": "''",
|
|
37242
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
37243
|
-
"fieldName": "accessibilityLabel",
|
|
37321
|
+
"kind": "field",
|
|
37322
|
+
"name": "_hydrationComplete",
|
|
37323
|
+
"privacy": "private",
|
|
37324
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
37244
37325
|
"inheritedFrom": {
|
|
37245
|
-
"name": "
|
|
37246
|
-
"module": "core/
|
|
37326
|
+
"name": "SbbHydrationMixin",
|
|
37327
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37247
37328
|
}
|
|
37248
37329
|
},
|
|
37249
37330
|
{
|
|
37250
|
-
"
|
|
37331
|
+
"kind": "field",
|
|
37332
|
+
"name": "_resolveHydration",
|
|
37251
37333
|
"type": {
|
|
37252
|
-
"text": "
|
|
37334
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
37253
37335
|
},
|
|
37254
|
-
"
|
|
37255
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
37256
|
-
"fieldName": "accessibilityCurrent",
|
|
37336
|
+
"privacy": "private",
|
|
37257
37337
|
"inheritedFrom": {
|
|
37258
|
-
"name": "
|
|
37259
|
-
"module": "core/
|
|
37338
|
+
"name": "SbbHydrationMixin",
|
|
37339
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37260
37340
|
}
|
|
37261
|
-
}
|
|
37262
|
-
]
|
|
37263
|
-
}
|
|
37264
|
-
],
|
|
37265
|
-
"exports": [
|
|
37266
|
-
{
|
|
37267
|
-
"kind": "js",
|
|
37268
|
-
"name": "SbbAccentButtonLinkElement",
|
|
37269
|
-
"declaration": {
|
|
37270
|
-
"name": "SbbAccentButtonLinkElement",
|
|
37271
|
-
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
37272
|
-
}
|
|
37273
|
-
}
|
|
37274
|
-
]
|
|
37275
|
-
},
|
|
37276
|
-
{
|
|
37277
|
-
"kind": "javascript-module",
|
|
37278
|
-
"path": "button/accent-button/accent-button.component.js",
|
|
37279
|
-
"declarations": [
|
|
37280
|
-
{
|
|
37281
|
-
"kind": "class",
|
|
37282
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
37283
|
-
"name": "SbbAccentButtonElement",
|
|
37284
|
-
"cssProperties": [
|
|
37285
|
-
{
|
|
37286
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
37287
|
-
"name": "--sbb-button-loading-delay",
|
|
37288
|
-
"default": "300ms"
|
|
37289
|
-
}
|
|
37290
|
-
],
|
|
37291
|
-
"slots": [
|
|
37341
|
+
},
|
|
37292
37342
|
{
|
|
37293
|
-
"
|
|
37294
|
-
"name": ""
|
|
37343
|
+
"kind": "field",
|
|
37344
|
+
"name": "hydrationRequired",
|
|
37345
|
+
"type": {
|
|
37346
|
+
"text": "boolean"
|
|
37347
|
+
},
|
|
37348
|
+
"privacy": "protected",
|
|
37349
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
37350
|
+
"readonly": true,
|
|
37351
|
+
"inheritedFrom": {
|
|
37352
|
+
"name": "SbbHydrationMixin",
|
|
37353
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
37354
|
+
},
|
|
37355
|
+
"default": "!!this.shadowRoot"
|
|
37295
37356
|
},
|
|
37296
37357
|
{
|
|
37297
|
-
"
|
|
37298
|
-
"name": "
|
|
37299
|
-
|
|
37300
|
-
|
|
37301
|
-
|
|
37358
|
+
"kind": "method",
|
|
37359
|
+
"name": "toggleState",
|
|
37360
|
+
"privacy": "protected",
|
|
37361
|
+
"return": {
|
|
37362
|
+
"type": {
|
|
37363
|
+
"text": "void"
|
|
37364
|
+
}
|
|
37365
|
+
},
|
|
37366
|
+
"parameters": [
|
|
37367
|
+
{
|
|
37368
|
+
"name": "value",
|
|
37369
|
+
"type": {
|
|
37370
|
+
"text": "string"
|
|
37371
|
+
}
|
|
37372
|
+
},
|
|
37373
|
+
{
|
|
37374
|
+
"name": "force",
|
|
37375
|
+
"optional": true,
|
|
37376
|
+
"type": {
|
|
37377
|
+
"text": "boolean"
|
|
37378
|
+
}
|
|
37379
|
+
}
|
|
37380
|
+
],
|
|
37381
|
+
"inheritedFrom": {
|
|
37382
|
+
"name": "SbbElementInternalsMixin",
|
|
37383
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
37384
|
+
}
|
|
37385
|
+
},
|
|
37302
37386
|
{
|
|
37303
37387
|
"kind": "field",
|
|
37304
|
-
"name": "
|
|
37388
|
+
"name": "['_$sbbElement$']",
|
|
37305
37389
|
"type": {
|
|
37306
|
-
"text": "
|
|
37390
|
+
"text": "boolean"
|
|
37307
37391
|
},
|
|
37308
37392
|
"privacy": "public",
|
|
37309
37393
|
"static": true,
|
|
37310
|
-
"
|
|
37311
|
-
"
|
|
37394
|
+
"default": "true",
|
|
37395
|
+
"inheritedFrom": {
|
|
37396
|
+
"name": "SbbElement",
|
|
37397
|
+
"module": "core/base-elements/element.js"
|
|
37398
|
+
}
|
|
37399
|
+
},
|
|
37400
|
+
{
|
|
37401
|
+
"kind": "field",
|
|
37402
|
+
"name": "_controllers",
|
|
37403
|
+
"type": {
|
|
37404
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
37405
|
+
},
|
|
37406
|
+
"privacy": "private",
|
|
37312
37407
|
"inheritedFrom": {
|
|
37313
37408
|
"name": "SbbElement",
|
|
37314
37409
|
"module": "core/base-elements/element.js"
|
|
37315
37410
|
}
|
|
37411
|
+
}
|
|
37412
|
+
],
|
|
37413
|
+
"mixins": [
|
|
37414
|
+
{
|
|
37415
|
+
"name": "SbbButtonCommonElementMixin",
|
|
37416
|
+
"module": "button/common.js"
|
|
37316
37417
|
},
|
|
37317
37418
|
{
|
|
37318
|
-
"
|
|
37419
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
37420
|
+
"module": "core/mixins.js"
|
|
37421
|
+
}
|
|
37422
|
+
],
|
|
37423
|
+
"superclass": {
|
|
37424
|
+
"name": "SbbButtonBaseElement",
|
|
37425
|
+
"module": "core/base-elements.js"
|
|
37426
|
+
},
|
|
37427
|
+
"tagName": "sbb-accent-button",
|
|
37428
|
+
"customElement": true,
|
|
37429
|
+
"attributes": [
|
|
37430
|
+
{
|
|
37319
37431
|
"name": "size",
|
|
37320
37432
|
"type": {
|
|
37321
37433
|
"text": "SbbButtonSize"
|
|
37322
37434
|
},
|
|
37323
|
-
"privacy": "public",
|
|
37324
37435
|
"description": "Size variant, either l, m or s.",
|
|
37325
37436
|
"default": "'l' / 's' (lean)",
|
|
37326
|
-
"
|
|
37327
|
-
"reflects": true,
|
|
37437
|
+
"fieldName": "size",
|
|
37328
37438
|
"inheritedFrom": {
|
|
37329
37439
|
"name": "SbbButtonCommonElementMixin",
|
|
37330
37440
|
"module": "button/common/button-common.js"
|
|
37331
37441
|
}
|
|
37332
37442
|
},
|
|
37333
37443
|
{
|
|
37334
|
-
"kind": "field",
|
|
37335
37444
|
"name": "loading",
|
|
37336
37445
|
"type": {
|
|
37337
37446
|
"text": "boolean"
|
|
37338
37447
|
},
|
|
37339
|
-
"privacy": "public",
|
|
37340
37448
|
"default": "false",
|
|
37341
37449
|
"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.",
|
|
37342
|
-
"
|
|
37343
|
-
"reflects": true,
|
|
37450
|
+
"fieldName": "loading",
|
|
37344
37451
|
"inheritedFrom": {
|
|
37345
37452
|
"name": "SbbButtonCommonElementMixin",
|
|
37346
37453
|
"module": "button/common/button-common.js"
|
|
37347
37454
|
}
|
|
37348
37455
|
},
|
|
37349
37456
|
{
|
|
37350
|
-
"kind": "method",
|
|
37351
|
-
"name": "renderTemplate",
|
|
37352
|
-
"privacy": "protected",
|
|
37353
|
-
"return": {
|
|
37354
|
-
"type": {
|
|
37355
|
-
"text": "TemplateResult"
|
|
37356
|
-
}
|
|
37357
|
-
},
|
|
37358
|
-
"description": "Override this method to render the component template.",
|
|
37359
|
-
"inheritedFrom": {
|
|
37360
|
-
"name": "SbbActionBaseElement",
|
|
37361
|
-
"module": "core/base-elements/action-base-element.js"
|
|
37362
|
-
}
|
|
37363
|
-
},
|
|
37364
|
-
{
|
|
37365
|
-
"kind": "field",
|
|
37366
37457
|
"name": "negative",
|
|
37367
37458
|
"type": {
|
|
37368
37459
|
"text": "boolean"
|
|
37369
37460
|
},
|
|
37370
|
-
"privacy": "public",
|
|
37371
37461
|
"default": "false",
|
|
37372
37462
|
"description": "Negative coloring variant flag.",
|
|
37373
|
-
"
|
|
37374
|
-
"reflects": true,
|
|
37463
|
+
"fieldName": "negative",
|
|
37375
37464
|
"inheritedFrom": {
|
|
37376
37465
|
"name": "SbbNegativeMixin",
|
|
37377
37466
|
"module": "core/mixins/negative-mixin.js"
|
|
37378
37467
|
}
|
|
37379
37468
|
},
|
|
37380
37469
|
{
|
|
37381
|
-
"
|
|
37382
|
-
"name": "iconName",
|
|
37470
|
+
"name": "icon-name",
|
|
37383
37471
|
"type": {
|
|
37384
37472
|
"text": "string"
|
|
37385
37473
|
},
|
|
37386
|
-
"privacy": "public",
|
|
37387
37474
|
"default": "''",
|
|
37388
37475
|
"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.",
|
|
37389
|
-
"
|
|
37390
|
-
"inheritedFrom": {
|
|
37391
|
-
"name": "SbbIconNameMixin",
|
|
37392
|
-
"module": "icon/icon-name-mixin.js"
|
|
37393
|
-
}
|
|
37394
|
-
},
|
|
37395
|
-
{
|
|
37396
|
-
"kind": "method",
|
|
37397
|
-
"name": "renderIconSlot",
|
|
37398
|
-
"privacy": "protected",
|
|
37399
|
-
"return": {
|
|
37400
|
-
"type": {
|
|
37401
|
-
"text": "TemplateResult"
|
|
37402
|
-
}
|
|
37403
|
-
},
|
|
37404
|
-
"parameters": [
|
|
37405
|
-
{
|
|
37406
|
-
"name": "classname",
|
|
37407
|
-
"optional": true,
|
|
37408
|
-
"type": {
|
|
37409
|
-
"text": "string"
|
|
37410
|
-
}
|
|
37411
|
-
}
|
|
37412
|
-
],
|
|
37413
|
-
"inheritedFrom": {
|
|
37414
|
-
"name": "SbbIconNameMixin",
|
|
37415
|
-
"module": "icon/icon-name-mixin.js"
|
|
37416
|
-
}
|
|
37417
|
-
},
|
|
37418
|
-
{
|
|
37419
|
-
"kind": "method",
|
|
37420
|
-
"name": "renderIconName",
|
|
37421
|
-
"privacy": "protected",
|
|
37422
|
-
"return": {
|
|
37423
|
-
"type": {
|
|
37424
|
-
"text": "string"
|
|
37425
|
-
}
|
|
37426
|
-
},
|
|
37427
|
-
"inheritedFrom": {
|
|
37428
|
-
"name": "SbbIconNameMixin",
|
|
37429
|
-
"module": "icon/icon-name-mixin.js"
|
|
37430
|
-
}
|
|
37431
|
-
},
|
|
37432
|
-
{
|
|
37433
|
-
"kind": "method",
|
|
37434
|
-
"name": "_renderIconName",
|
|
37435
|
-
"privacy": "private",
|
|
37436
|
-
"return": {
|
|
37437
|
-
"type": {
|
|
37438
|
-
"text": "string"
|
|
37439
|
-
}
|
|
37440
|
-
},
|
|
37476
|
+
"fieldName": "iconName",
|
|
37441
37477
|
"inheritedFrom": {
|
|
37442
37478
|
"name": "SbbIconNameMixin",
|
|
37443
37479
|
"module": "icon/icon-name-mixin.js"
|
|
37444
37480
|
}
|
|
37445
37481
|
},
|
|
37446
37482
|
{
|
|
37447
|
-
"
|
|
37448
|
-
"name": "disabledInteractive",
|
|
37483
|
+
"name": "disabled-interactive",
|
|
37449
37484
|
"type": {
|
|
37450
37485
|
"text": "boolean"
|
|
37451
37486
|
},
|
|
37452
|
-
"privacy": "public",
|
|
37453
37487
|
"default": "false",
|
|
37454
37488
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
37455
|
-
"
|
|
37456
|
-
"reflects": true,
|
|
37489
|
+
"fieldName": "disabledInteractive",
|
|
37457
37490
|
"inheritedFrom": {
|
|
37458
37491
|
"name": "SbbDisabledInteractiveMixin",
|
|
37459
37492
|
"module": "core/mixins/disabled-mixin.js"
|
|
37460
37493
|
}
|
|
37461
37494
|
},
|
|
37462
37495
|
{
|
|
37463
|
-
"kind": "field",
|
|
37464
37496
|
"name": "disabled",
|
|
37465
|
-
"privacy": "public",
|
|
37466
37497
|
"description": "Whether the component is disabled.",
|
|
37467
37498
|
"default": "false",
|
|
37468
37499
|
"type": {
|
|
37469
37500
|
"text": "boolean"
|
|
37470
37501
|
},
|
|
37471
|
-
"
|
|
37472
|
-
"reflects": true,
|
|
37473
|
-
"inheritedFrom": {
|
|
37474
|
-
"name": "SbbDisabledMixin",
|
|
37475
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
37476
|
-
}
|
|
37477
|
-
},
|
|
37478
|
-
{
|
|
37479
|
-
"kind": "field",
|
|
37480
|
-
"name": "#disabled",
|
|
37481
|
-
"privacy": "private",
|
|
37482
|
-
"type": {
|
|
37483
|
-
"text": "boolean"
|
|
37484
|
-
},
|
|
37485
|
-
"default": "false",
|
|
37486
|
-
"inheritedFrom": {
|
|
37487
|
-
"name": "SbbDisabledMixin",
|
|
37488
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
37489
|
-
}
|
|
37490
|
-
},
|
|
37491
|
-
{
|
|
37492
|
-
"kind": "method",
|
|
37493
|
-
"name": "isDisabledExternally",
|
|
37494
|
-
"privacy": "protected",
|
|
37495
|
-
"return": {
|
|
37496
|
-
"type": {
|
|
37497
|
-
"text": "boolean"
|
|
37498
|
-
}
|
|
37499
|
-
},
|
|
37500
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
37502
|
+
"fieldName": "disabled",
|
|
37501
37503
|
"inheritedFrom": {
|
|
37502
37504
|
"name": "SbbDisabledMixin",
|
|
37503
37505
|
"module": "core/mixins/disabled-mixin.js"
|
|
37504
37506
|
}
|
|
37505
37507
|
},
|
|
37506
37508
|
{
|
|
37507
|
-
"kind": "field",
|
|
37508
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
37509
|
-
"type": {
|
|
37510
|
-
"text": "array"
|
|
37511
|
-
},
|
|
37512
|
-
"privacy": "private",
|
|
37513
|
-
"readonly": true,
|
|
37514
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
37515
|
-
"inheritedFrom": {
|
|
37516
|
-
"name": "SbbButtonBaseElement",
|
|
37517
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37518
|
-
}
|
|
37519
|
-
},
|
|
37520
|
-
{
|
|
37521
|
-
"kind": "field",
|
|
37522
37509
|
"name": "value",
|
|
37523
37510
|
"type": {
|
|
37524
37511
|
"text": "string"
|
|
37525
37512
|
},
|
|
37526
|
-
"privacy": "public",
|
|
37527
37513
|
"default": "''",
|
|
37528
37514
|
"description": "Value of the form element.",
|
|
37529
|
-
"
|
|
37515
|
+
"fieldName": "value",
|
|
37530
37516
|
"inheritedFrom": {
|
|
37531
37517
|
"name": "SbbButtonBaseElement",
|
|
37532
37518
|
"module": "core/base-elements/button-base-element.js"
|
|
37533
37519
|
}
|
|
37534
37520
|
},
|
|
37535
37521
|
{
|
|
37536
|
-
"kind": "field",
|
|
37537
37522
|
"name": "type",
|
|
37538
|
-
"privacy": "public",
|
|
37539
37523
|
"description": "The type attribute to use for the button.",
|
|
37540
37524
|
"default": "'button'",
|
|
37541
37525
|
"type": {
|
|
37542
37526
|
"text": "SbbButtonType"
|
|
37543
37527
|
},
|
|
37544
|
-
"
|
|
37528
|
+
"fieldName": "type",
|
|
37545
37529
|
"inheritedFrom": {
|
|
37546
37530
|
"name": "SbbButtonBaseElement",
|
|
37547
37531
|
"module": "core/base-elements/button-base-element.js"
|
|
37548
37532
|
}
|
|
37549
37533
|
},
|
|
37550
37534
|
{
|
|
37551
|
-
"kind": "field",
|
|
37552
37535
|
"name": "form",
|
|
37553
|
-
"type": {
|
|
37554
|
-
"text": "HTMLFormElement | null"
|
|
37555
|
-
},
|
|
37556
|
-
"privacy": "public",
|
|
37557
37536
|
"description": "The `<form>` element to associate the button with.",
|
|
37558
|
-
"attribute": "form",
|
|
37559
|
-
"inheritedFrom": {
|
|
37560
|
-
"name": "SbbButtonBaseElement",
|
|
37561
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37562
|
-
}
|
|
37563
|
-
},
|
|
37564
|
-
{
|
|
37565
|
-
"kind": "field",
|
|
37566
|
-
"name": "_formId",
|
|
37567
37537
|
"type": {
|
|
37568
|
-
"text": "
|
|
37569
|
-
},
|
|
37570
|
-
"privacy": "private",
|
|
37571
|
-
"default": "''",
|
|
37572
|
-
"inheritedFrom": {
|
|
37573
|
-
"name": "SbbButtonBaseElement",
|
|
37574
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37575
|
-
}
|
|
37576
|
-
},
|
|
37577
|
-
{
|
|
37578
|
-
"kind": "field",
|
|
37579
|
-
"name": "_handleButtonClick",
|
|
37580
|
-
"privacy": "private",
|
|
37581
|
-
"inheritedFrom": {
|
|
37582
|
-
"name": "SbbButtonBaseElement",
|
|
37583
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37584
|
-
}
|
|
37585
|
-
},
|
|
37586
|
-
{
|
|
37587
|
-
"kind": "method",
|
|
37588
|
-
"name": "_requestSubmit",
|
|
37589
|
-
"privacy": "private",
|
|
37590
|
-
"return": {
|
|
37591
|
-
"type": {
|
|
37592
|
-
"text": "void"
|
|
37593
|
-
}
|
|
37538
|
+
"text": "HTMLFormElement | null"
|
|
37594
37539
|
},
|
|
37595
|
-
"
|
|
37596
|
-
{
|
|
37597
|
-
"name": "form",
|
|
37598
|
-
"type": {
|
|
37599
|
-
"text": "HTMLFormElement"
|
|
37600
|
-
}
|
|
37601
|
-
}
|
|
37602
|
-
],
|
|
37603
|
-
"inheritedFrom": {
|
|
37604
|
-
"name": "SbbButtonBaseElement",
|
|
37605
|
-
"module": "core/base-elements/button-base-element.js"
|
|
37606
|
-
}
|
|
37607
|
-
},
|
|
37608
|
-
{
|
|
37609
|
-
"kind": "field",
|
|
37610
|
-
"name": "_formKeyDown",
|
|
37611
|
-
"privacy": "private",
|
|
37540
|
+
"fieldName": "form",
|
|
37612
37541
|
"inheritedFrom": {
|
|
37613
37542
|
"name": "SbbButtonBaseElement",
|
|
37614
37543
|
"module": "core/base-elements/button-base-element.js"
|
|
37615
37544
|
}
|
|
37616
37545
|
},
|
|
37617
37546
|
{
|
|
37618
|
-
"kind": "field",
|
|
37619
|
-
"name": "formAssociated",
|
|
37620
|
-
"type": {
|
|
37621
|
-
"text": "boolean"
|
|
37622
|
-
},
|
|
37623
|
-
"privacy": "public",
|
|
37624
|
-
"static": true,
|
|
37625
|
-
"default": "true",
|
|
37626
|
-
"inheritedFrom": {
|
|
37627
|
-
"name": "SbbFormAssociatedMixin",
|
|
37628
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37629
|
-
}
|
|
37630
|
-
},
|
|
37631
|
-
{
|
|
37632
|
-
"kind": "field",
|
|
37633
37547
|
"name": "name",
|
|
37634
|
-
"privacy": "public",
|
|
37635
37548
|
"description": "Name of the form element. Will be read from name attribute.",
|
|
37636
37549
|
"type": {
|
|
37637
37550
|
"text": "string"
|
|
37638
37551
|
},
|
|
37639
|
-
"
|
|
37552
|
+
"fieldName": "name",
|
|
37640
37553
|
"inheritedFrom": {
|
|
37641
37554
|
"name": "SbbFormAssociatedMixin",
|
|
37642
37555
|
"module": "core/mixins/form-associated-mixin.js"
|
|
37643
37556
|
}
|
|
37557
|
+
}
|
|
37558
|
+
]
|
|
37559
|
+
}
|
|
37560
|
+
],
|
|
37561
|
+
"exports": [
|
|
37562
|
+
{
|
|
37563
|
+
"kind": "js",
|
|
37564
|
+
"name": "SbbAccentButtonElement",
|
|
37565
|
+
"declaration": {
|
|
37566
|
+
"name": "SbbAccentButtonElement",
|
|
37567
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
37568
|
+
}
|
|
37569
|
+
}
|
|
37570
|
+
]
|
|
37571
|
+
},
|
|
37572
|
+
{
|
|
37573
|
+
"kind": "javascript-module",
|
|
37574
|
+
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
37575
|
+
"declarations": [
|
|
37576
|
+
{
|
|
37577
|
+
"kind": "class",
|
|
37578
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
37579
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37580
|
+
"cssProperties": [
|
|
37581
|
+
{
|
|
37582
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
37583
|
+
"name": "--sbb-button-loading-delay",
|
|
37584
|
+
"default": "300ms"
|
|
37585
|
+
}
|
|
37586
|
+
],
|
|
37587
|
+
"slots": [
|
|
37588
|
+
{
|
|
37589
|
+
"description": "Use the unnamed slot to add content to the accent-button-link.",
|
|
37590
|
+
"name": ""
|
|
37644
37591
|
},
|
|
37592
|
+
{
|
|
37593
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
37594
|
+
"name": "icon"
|
|
37595
|
+
}
|
|
37596
|
+
],
|
|
37597
|
+
"members": [
|
|
37645
37598
|
{
|
|
37646
37599
|
"kind": "field",
|
|
37647
|
-
"name": "
|
|
37600
|
+
"name": "elementName",
|
|
37648
37601
|
"type": {
|
|
37649
|
-
"text": "
|
|
37602
|
+
"text": "string"
|
|
37650
37603
|
},
|
|
37651
37604
|
"privacy": "public",
|
|
37652
|
-
"
|
|
37605
|
+
"static": true,
|
|
37653
37606
|
"readonly": true,
|
|
37607
|
+
"default": "'sbb-accent-button-link'",
|
|
37654
37608
|
"inheritedFrom": {
|
|
37655
|
-
"name": "
|
|
37656
|
-
"module": "core/
|
|
37609
|
+
"name": "SbbElement",
|
|
37610
|
+
"module": "core/base-elements/element.js"
|
|
37657
37611
|
}
|
|
37658
37612
|
},
|
|
37659
37613
|
{
|
|
37660
37614
|
"kind": "field",
|
|
37661
|
-
"name": "
|
|
37615
|
+
"name": "size",
|
|
37662
37616
|
"type": {
|
|
37663
|
-
"text": "
|
|
37617
|
+
"text": "SbbButtonSize"
|
|
37664
37618
|
},
|
|
37665
37619
|
"privacy": "public",
|
|
37666
|
-
"description": "
|
|
37667
|
-
"
|
|
37620
|
+
"description": "Size variant, either l, m or s.",
|
|
37621
|
+
"default": "'l' / 's' (lean)",
|
|
37622
|
+
"attribute": "size",
|
|
37623
|
+
"reflects": true,
|
|
37668
37624
|
"inheritedFrom": {
|
|
37669
|
-
"name": "
|
|
37670
|
-
"module": "
|
|
37625
|
+
"name": "SbbButtonCommonElementMixin",
|
|
37626
|
+
"module": "button/common/button-common.js"
|
|
37671
37627
|
}
|
|
37672
37628
|
},
|
|
37673
37629
|
{
|
|
37674
37630
|
"kind": "field",
|
|
37675
|
-
"name": "
|
|
37631
|
+
"name": "loading",
|
|
37676
37632
|
"type": {
|
|
37677
37633
|
"text": "boolean"
|
|
37678
37634
|
},
|
|
37679
37635
|
"privacy": "public",
|
|
37680
|
-
"
|
|
37681
|
-
"
|
|
37636
|
+
"default": "false",
|
|
37637
|
+
"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.",
|
|
37638
|
+
"attribute": "loading",
|
|
37639
|
+
"reflects": true,
|
|
37682
37640
|
"inheritedFrom": {
|
|
37683
|
-
"name": "
|
|
37684
|
-
"module": "
|
|
37641
|
+
"name": "SbbButtonCommonElementMixin",
|
|
37642
|
+
"module": "button/common/button-common.js"
|
|
37685
37643
|
}
|
|
37686
37644
|
},
|
|
37687
37645
|
{
|
|
37688
|
-
"kind": "
|
|
37689
|
-
"name": "
|
|
37690
|
-
"privacy": "
|
|
37691
|
-
"
|
|
37646
|
+
"kind": "method",
|
|
37647
|
+
"name": "renderTemplate",
|
|
37648
|
+
"privacy": "protected",
|
|
37649
|
+
"return": {
|
|
37650
|
+
"type": {
|
|
37651
|
+
"text": "TemplateResult"
|
|
37652
|
+
}
|
|
37653
|
+
},
|
|
37654
|
+
"description": "Override this method to render the component template.",
|
|
37692
37655
|
"inheritedFrom": {
|
|
37693
|
-
"name": "
|
|
37694
|
-
"module": "core/
|
|
37656
|
+
"name": "SbbActionBaseElement",
|
|
37657
|
+
"module": "core/base-elements/action-base-element.js"
|
|
37695
37658
|
}
|
|
37696
37659
|
},
|
|
37697
37660
|
{
|
|
37698
37661
|
"kind": "field",
|
|
37699
|
-
"name": "
|
|
37662
|
+
"name": "negative",
|
|
37700
37663
|
"type": {
|
|
37701
37664
|
"text": "boolean"
|
|
37702
37665
|
},
|
|
37703
|
-
"privacy": "
|
|
37666
|
+
"privacy": "public",
|
|
37704
37667
|
"default": "false",
|
|
37705
|
-
"description": "
|
|
37668
|
+
"description": "Negative coloring variant flag.",
|
|
37669
|
+
"attribute": "negative",
|
|
37670
|
+
"reflects": true,
|
|
37706
37671
|
"inheritedFrom": {
|
|
37707
|
-
"name": "
|
|
37708
|
-
"module": "core/mixins/
|
|
37672
|
+
"name": "SbbNegativeMixin",
|
|
37673
|
+
"module": "core/mixins/negative-mixin.js"
|
|
37709
37674
|
}
|
|
37710
37675
|
},
|
|
37711
37676
|
{
|
|
37712
|
-
"kind": "
|
|
37713
|
-
"name": "
|
|
37714
|
-
"
|
|
37715
|
-
|
|
37716
|
-
"type": {
|
|
37717
|
-
"text": "boolean"
|
|
37718
|
-
}
|
|
37677
|
+
"kind": "field",
|
|
37678
|
+
"name": "iconName",
|
|
37679
|
+
"type": {
|
|
37680
|
+
"text": "string"
|
|
37719
37681
|
},
|
|
37720
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
37721
|
-
"inheritedFrom": {
|
|
37722
|
-
"name": "SbbFormAssociatedMixin",
|
|
37723
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
37724
|
-
}
|
|
37725
|
-
},
|
|
37726
|
-
{
|
|
37727
|
-
"kind": "method",
|
|
37728
|
-
"name": "reportValidity",
|
|
37729
37682
|
"privacy": "public",
|
|
37730
|
-
"
|
|
37731
|
-
|
|
37732
|
-
|
|
37733
|
-
}
|
|
37734
|
-
},
|
|
37735
|
-
"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.",
|
|
37683
|
+
"default": "''",
|
|
37684
|
+
"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.",
|
|
37685
|
+
"attribute": "icon-name",
|
|
37736
37686
|
"inheritedFrom": {
|
|
37737
|
-
"name": "
|
|
37738
|
-
"module": "
|
|
37687
|
+
"name": "SbbIconNameMixin",
|
|
37688
|
+
"module": "icon/icon-name-mixin.js"
|
|
37739
37689
|
}
|
|
37740
37690
|
},
|
|
37741
37691
|
{
|
|
37742
37692
|
"kind": "method",
|
|
37743
|
-
"name": "
|
|
37744
|
-
"privacy": "
|
|
37693
|
+
"name": "renderIconSlot",
|
|
37694
|
+
"privacy": "protected",
|
|
37745
37695
|
"return": {
|
|
37746
37696
|
"type": {
|
|
37747
|
-
"text": "
|
|
37697
|
+
"text": "TemplateResult"
|
|
37748
37698
|
}
|
|
37749
37699
|
},
|
|
37750
37700
|
"parameters": [
|
|
37751
37701
|
{
|
|
37752
|
-
"name": "
|
|
37702
|
+
"name": "classname",
|
|
37703
|
+
"optional": true,
|
|
37753
37704
|
"type": {
|
|
37754
37705
|
"text": "string"
|
|
37755
37706
|
}
|
|
37756
37707
|
}
|
|
37757
37708
|
],
|
|
37758
|
-
"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.",
|
|
37759
37709
|
"inheritedFrom": {
|
|
37760
|
-
"name": "
|
|
37761
|
-
"module": "
|
|
37710
|
+
"name": "SbbIconNameMixin",
|
|
37711
|
+
"module": "icon/icon-name-mixin.js"
|
|
37762
37712
|
}
|
|
37763
37713
|
},
|
|
37764
37714
|
{
|
|
37765
37715
|
"kind": "method",
|
|
37766
|
-
"name": "
|
|
37767
|
-
"privacy": "
|
|
37716
|
+
"name": "renderIconName",
|
|
37717
|
+
"privacy": "protected",
|
|
37768
37718
|
"return": {
|
|
37769
37719
|
"type": {
|
|
37770
|
-
"text": "
|
|
37720
|
+
"text": "string"
|
|
37771
37721
|
}
|
|
37772
37722
|
},
|
|
37773
37723
|
"inheritedFrom": {
|
|
37774
|
-
"name": "
|
|
37775
|
-
"module": "
|
|
37724
|
+
"name": "SbbIconNameMixin",
|
|
37725
|
+
"module": "icon/icon-name-mixin.js"
|
|
37776
37726
|
}
|
|
37777
37727
|
},
|
|
37778
37728
|
{
|
|
37779
37729
|
"kind": "method",
|
|
37780
|
-
"name": "
|
|
37781
|
-
"privacy": "
|
|
37730
|
+
"name": "_renderIconName",
|
|
37731
|
+
"privacy": "private",
|
|
37782
37732
|
"return": {
|
|
37783
37733
|
"type": {
|
|
37784
|
-
"text": "
|
|
37734
|
+
"text": "string"
|
|
37785
37735
|
}
|
|
37786
37736
|
},
|
|
37787
|
-
"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",
|
|
37788
37737
|
"inheritedFrom": {
|
|
37789
|
-
"name": "
|
|
37790
|
-
"module": "
|
|
37738
|
+
"name": "SbbIconNameMixin",
|
|
37739
|
+
"module": "icon/icon-name-mixin.js"
|
|
37791
37740
|
}
|
|
37792
37741
|
},
|
|
37793
37742
|
{
|
|
37794
|
-
"kind": "
|
|
37795
|
-
"name": "
|
|
37796
|
-
"
|
|
37797
|
-
|
|
37798
|
-
"type": {
|
|
37799
|
-
"text": "FormRestoreState"
|
|
37800
|
-
}
|
|
37743
|
+
"kind": "field",
|
|
37744
|
+
"name": "disabledInteractive",
|
|
37745
|
+
"type": {
|
|
37746
|
+
"text": "boolean"
|
|
37801
37747
|
},
|
|
37748
|
+
"privacy": "public",
|
|
37749
|
+
"default": "false",
|
|
37750
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
37751
|
+
"attribute": "disabled-interactive",
|
|
37752
|
+
"reflects": true,
|
|
37802
37753
|
"inheritedFrom": {
|
|
37803
|
-
"name": "
|
|
37804
|
-
"module": "core/mixins/
|
|
37754
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
37755
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37805
37756
|
}
|
|
37806
37757
|
},
|
|
37807
37758
|
{
|
|
37808
|
-
"kind": "
|
|
37809
|
-
"name": "
|
|
37810
|
-
"privacy": "
|
|
37811
|
-
"
|
|
37812
|
-
|
|
37813
|
-
|
|
37814
|
-
|
|
37759
|
+
"kind": "field",
|
|
37760
|
+
"name": "disabled",
|
|
37761
|
+
"privacy": "public",
|
|
37762
|
+
"description": "Whether the component is disabled.",
|
|
37763
|
+
"default": "false",
|
|
37764
|
+
"type": {
|
|
37765
|
+
"text": "boolean"
|
|
37815
37766
|
},
|
|
37816
|
-
"
|
|
37817
|
-
|
|
37818
|
-
"name": "flag",
|
|
37819
|
-
"type": {
|
|
37820
|
-
"text": "T"
|
|
37821
|
-
}
|
|
37822
|
-
},
|
|
37823
|
-
{
|
|
37824
|
-
"name": "message",
|
|
37825
|
-
"type": {
|
|
37826
|
-
"text": "string"
|
|
37827
|
-
}
|
|
37828
|
-
},
|
|
37829
|
-
{
|
|
37830
|
-
"name": "flagValue",
|
|
37831
|
-
"optional": true,
|
|
37832
|
-
"type": {
|
|
37833
|
-
"text": "ValidityStateFlags[T]"
|
|
37834
|
-
}
|
|
37835
|
-
}
|
|
37836
|
-
],
|
|
37837
|
-
"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).",
|
|
37767
|
+
"attribute": "disabled",
|
|
37768
|
+
"reflects": true,
|
|
37838
37769
|
"inheritedFrom": {
|
|
37839
|
-
"name": "
|
|
37840
|
-
"module": "core/mixins/
|
|
37770
|
+
"name": "SbbDisabledMixin",
|
|
37771
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37772
|
+
}
|
|
37773
|
+
},
|
|
37774
|
+
{
|
|
37775
|
+
"kind": "field",
|
|
37776
|
+
"name": "#disabled",
|
|
37777
|
+
"privacy": "private",
|
|
37778
|
+
"type": {
|
|
37779
|
+
"text": "boolean"
|
|
37780
|
+
},
|
|
37781
|
+
"default": "false",
|
|
37782
|
+
"inheritedFrom": {
|
|
37783
|
+
"name": "SbbDisabledMixin",
|
|
37784
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37841
37785
|
}
|
|
37842
37786
|
},
|
|
37843
37787
|
{
|
|
37844
37788
|
"kind": "method",
|
|
37845
|
-
"name": "
|
|
37789
|
+
"name": "isDisabledExternally",
|
|
37846
37790
|
"privacy": "protected",
|
|
37847
37791
|
"return": {
|
|
37848
37792
|
"type": {
|
|
37849
|
-
"text": "
|
|
37793
|
+
"text": "boolean"
|
|
37850
37794
|
}
|
|
37851
37795
|
},
|
|
37852
|
-
"
|
|
37853
|
-
|
|
37854
|
-
|
|
37855
|
-
|
|
37856
|
-
|
|
37857
|
-
|
|
37858
|
-
|
|
37859
|
-
|
|
37860
|
-
"
|
|
37796
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
37797
|
+
"inheritedFrom": {
|
|
37798
|
+
"name": "SbbDisabledMixin",
|
|
37799
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
37800
|
+
}
|
|
37801
|
+
},
|
|
37802
|
+
{
|
|
37803
|
+
"kind": "field",
|
|
37804
|
+
"name": "href",
|
|
37805
|
+
"type": {
|
|
37806
|
+
"text": "string"
|
|
37807
|
+
},
|
|
37808
|
+
"privacy": "public",
|
|
37809
|
+
"default": "''",
|
|
37810
|
+
"description": "The href value you want to link to.",
|
|
37811
|
+
"attribute": "href",
|
|
37812
|
+
"reflects": true,
|
|
37861
37813
|
"inheritedFrom": {
|
|
37862
|
-
"name": "
|
|
37863
|
-
"module": "core/
|
|
37814
|
+
"name": "SbbLinkBaseElement",
|
|
37815
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37864
37816
|
}
|
|
37865
37817
|
},
|
|
37866
37818
|
{
|
|
37867
|
-
"kind": "
|
|
37868
|
-
"name": "
|
|
37869
|
-
"
|
|
37870
|
-
|
|
37871
|
-
"type": {
|
|
37872
|
-
"text": "void"
|
|
37873
|
-
}
|
|
37819
|
+
"kind": "field",
|
|
37820
|
+
"name": "target",
|
|
37821
|
+
"type": {
|
|
37822
|
+
"text": "LinkTargetType | string"
|
|
37874
37823
|
},
|
|
37875
|
-
"
|
|
37824
|
+
"privacy": "public",
|
|
37825
|
+
"default": "''",
|
|
37826
|
+
"description": "Where to display the linked URL.",
|
|
37827
|
+
"attribute": "target",
|
|
37828
|
+
"reflects": true,
|
|
37876
37829
|
"inheritedFrom": {
|
|
37877
|
-
"name": "
|
|
37878
|
-
"module": "core/
|
|
37830
|
+
"name": "SbbLinkBaseElement",
|
|
37831
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37879
37832
|
}
|
|
37880
37833
|
},
|
|
37881
37834
|
{
|
|
37882
|
-
"kind": "
|
|
37883
|
-
"name": "
|
|
37884
|
-
"
|
|
37885
|
-
|
|
37886
|
-
"type": {
|
|
37887
|
-
"text": "boolean"
|
|
37888
|
-
}
|
|
37835
|
+
"kind": "field",
|
|
37836
|
+
"name": "rel",
|
|
37837
|
+
"type": {
|
|
37838
|
+
"text": "string"
|
|
37889
37839
|
},
|
|
37890
|
-
"
|
|
37891
|
-
|
|
37892
|
-
|
|
37893
|
-
|
|
37894
|
-
|
|
37895
|
-
}
|
|
37896
|
-
}
|
|
37897
|
-
],
|
|
37898
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
37840
|
+
"privacy": "public",
|
|
37841
|
+
"default": "''",
|
|
37842
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37843
|
+
"attribute": "rel",
|
|
37844
|
+
"reflects": true,
|
|
37899
37845
|
"inheritedFrom": {
|
|
37900
|
-
"name": "
|
|
37901
|
-
"module": "core/
|
|
37846
|
+
"name": "SbbLinkBaseElement",
|
|
37847
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37902
37848
|
}
|
|
37903
37849
|
},
|
|
37904
37850
|
{
|
|
37905
|
-
"kind": "
|
|
37906
|
-
"name": "
|
|
37907
|
-
"
|
|
37908
|
-
|
|
37909
|
-
"type": {
|
|
37910
|
-
"text": "void"
|
|
37911
|
-
}
|
|
37851
|
+
"kind": "field",
|
|
37852
|
+
"name": "download",
|
|
37853
|
+
"type": {
|
|
37854
|
+
"text": "boolean"
|
|
37912
37855
|
},
|
|
37856
|
+
"privacy": "public",
|
|
37857
|
+
"default": "false",
|
|
37858
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
37859
|
+
"attribute": "download",
|
|
37860
|
+
"reflects": true,
|
|
37913
37861
|
"inheritedFrom": {
|
|
37914
|
-
"name": "
|
|
37915
|
-
"module": "core/
|
|
37862
|
+
"name": "SbbLinkBaseElement",
|
|
37863
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37916
37864
|
}
|
|
37917
37865
|
},
|
|
37918
37866
|
{
|
|
37919
37867
|
"kind": "field",
|
|
37920
|
-
"name": "
|
|
37868
|
+
"name": "accessibilityLabel",
|
|
37921
37869
|
"type": {
|
|
37922
|
-
"text": "
|
|
37870
|
+
"text": "string"
|
|
37923
37871
|
},
|
|
37924
37872
|
"privacy": "public",
|
|
37925
|
-
"
|
|
37926
|
-
"
|
|
37927
|
-
"
|
|
37873
|
+
"default": "''",
|
|
37874
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
37875
|
+
"attribute": "accessibility-label",
|
|
37928
37876
|
"inheritedFrom": {
|
|
37929
|
-
"name": "
|
|
37930
|
-
"module": "core/base-elements/
|
|
37877
|
+
"name": "SbbLinkBaseElement",
|
|
37878
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37931
37879
|
}
|
|
37932
37880
|
},
|
|
37933
37881
|
{
|
|
37934
37882
|
"kind": "field",
|
|
37935
|
-
"name": "
|
|
37936
|
-
"
|
|
37937
|
-
|
|
37938
|
-
|
|
37939
|
-
|
|
37940
|
-
|
|
37941
|
-
|
|
37942
|
-
|
|
37943
|
-
],
|
|
37883
|
+
"name": "accessibilityCurrent",
|
|
37884
|
+
"type": {
|
|
37885
|
+
"text": "string"
|
|
37886
|
+
},
|
|
37887
|
+
"privacy": "public",
|
|
37888
|
+
"default": "''",
|
|
37889
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
37890
|
+
"attribute": "accessibility-current",
|
|
37944
37891
|
"inheritedFrom": {
|
|
37945
|
-
"name": "
|
|
37946
|
-
"module": "core/base-elements/
|
|
37892
|
+
"name": "SbbLinkBaseElement",
|
|
37893
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37947
37894
|
}
|
|
37948
37895
|
},
|
|
37949
37896
|
{
|
|
37950
37897
|
"kind": "field",
|
|
37951
|
-
"name": "
|
|
37952
|
-
"privacy": "
|
|
37898
|
+
"name": "language",
|
|
37899
|
+
"privacy": "protected",
|
|
37900
|
+
"default": "new SbbLanguageController(this)",
|
|
37953
37901
|
"inheritedFrom": {
|
|
37954
|
-
"name": "
|
|
37955
|
-
"module": "core/base-elements/
|
|
37902
|
+
"name": "SbbLinkBaseElement",
|
|
37903
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37956
37904
|
}
|
|
37957
37905
|
},
|
|
37958
37906
|
{
|
|
37959
37907
|
"kind": "field",
|
|
37960
|
-
"name": "
|
|
37961
|
-
"
|
|
37962
|
-
|
|
37963
|
-
|
|
37964
|
-
|
|
37965
|
-
|
|
37966
|
-
|
|
37967
|
-
}
|
|
37968
|
-
],
|
|
37908
|
+
"name": "anchorRole",
|
|
37909
|
+
"type": {
|
|
37910
|
+
"text": "string | null"
|
|
37911
|
+
},
|
|
37912
|
+
"privacy": "protected",
|
|
37913
|
+
"readonly": true,
|
|
37914
|
+
"default": "null",
|
|
37969
37915
|
"inheritedFrom": {
|
|
37970
|
-
"name": "
|
|
37971
|
-
"module": "core/base-elements/
|
|
37916
|
+
"name": "SbbLinkBaseElement",
|
|
37917
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37972
37918
|
}
|
|
37973
37919
|
},
|
|
37974
37920
|
{
|
|
37975
37921
|
"kind": "field",
|
|
37976
|
-
"name": "
|
|
37922
|
+
"name": "_evaluateRelAttribute",
|
|
37977
37923
|
"privacy": "private",
|
|
37978
37924
|
"inheritedFrom": {
|
|
37979
|
-
"name": "
|
|
37980
|
-
"module": "core/base-elements/
|
|
37925
|
+
"name": "SbbLinkBaseElement",
|
|
37926
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37927
|
+
}
|
|
37928
|
+
},
|
|
37929
|
+
{
|
|
37930
|
+
"kind": "method",
|
|
37931
|
+
"name": "renderLink",
|
|
37932
|
+
"privacy": "protected",
|
|
37933
|
+
"return": {
|
|
37934
|
+
"type": {
|
|
37935
|
+
"text": "TemplateResult"
|
|
37936
|
+
}
|
|
37937
|
+
},
|
|
37938
|
+
"parameters": [
|
|
37939
|
+
{
|
|
37940
|
+
"name": "renderContent",
|
|
37941
|
+
"type": {
|
|
37942
|
+
"text": "TemplateResult"
|
|
37943
|
+
}
|
|
37944
|
+
}
|
|
37945
|
+
],
|
|
37946
|
+
"inheritedFrom": {
|
|
37947
|
+
"name": "SbbLinkBaseElement",
|
|
37948
|
+
"module": "core/base-elements/link-base-element.js"
|
|
37981
37949
|
}
|
|
37982
37950
|
},
|
|
37983
37951
|
{
|
|
@@ -38132,15 +38100,19 @@
|
|
|
38132
38100
|
"module": "button/common.js"
|
|
38133
38101
|
},
|
|
38134
38102
|
{
|
|
38135
|
-
"name": "
|
|
38103
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
38104
|
+
"module": "core/mixins.js"
|
|
38105
|
+
},
|
|
38106
|
+
{
|
|
38107
|
+
"name": "SbbDisabledMixin",
|
|
38136
38108
|
"module": "core/mixins.js"
|
|
38137
38109
|
}
|
|
38138
38110
|
],
|
|
38139
38111
|
"superclass": {
|
|
38140
|
-
"name": "
|
|
38112
|
+
"name": "SbbLinkBaseElement",
|
|
38141
38113
|
"module": "core/base-elements.js"
|
|
38142
38114
|
},
|
|
38143
|
-
"tagName": "sbb-accent-button",
|
|
38115
|
+
"tagName": "sbb-accent-button-link",
|
|
38144
38116
|
"customElement": true,
|
|
38145
38117
|
"attributes": [
|
|
38146
38118
|
{
|
|
@@ -38222,53 +38194,81 @@
|
|
|
38222
38194
|
}
|
|
38223
38195
|
},
|
|
38224
38196
|
{
|
|
38225
|
-
"name": "
|
|
38197
|
+
"name": "href",
|
|
38226
38198
|
"type": {
|
|
38227
38199
|
"text": "string"
|
|
38228
38200
|
},
|
|
38229
38201
|
"default": "''",
|
|
38230
|
-
"description": "
|
|
38231
|
-
"fieldName": "
|
|
38202
|
+
"description": "The href value you want to link to.",
|
|
38203
|
+
"fieldName": "href",
|
|
38232
38204
|
"inheritedFrom": {
|
|
38233
|
-
"name": "
|
|
38234
|
-
"module": "core/base-elements/
|
|
38205
|
+
"name": "SbbLinkBaseElement",
|
|
38206
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38235
38207
|
}
|
|
38236
38208
|
},
|
|
38237
38209
|
{
|
|
38238
|
-
"name": "
|
|
38239
|
-
"description": "The type attribute to use for the button.",
|
|
38240
|
-
"default": "'button'",
|
|
38210
|
+
"name": "target",
|
|
38241
38211
|
"type": {
|
|
38242
|
-
"text": "
|
|
38212
|
+
"text": "LinkTargetType | string"
|
|
38243
38213
|
},
|
|
38244
|
-
"
|
|
38214
|
+
"default": "''",
|
|
38215
|
+
"description": "Where to display the linked URL.",
|
|
38216
|
+
"fieldName": "target",
|
|
38245
38217
|
"inheritedFrom": {
|
|
38246
|
-
"name": "
|
|
38247
|
-
"module": "core/base-elements/
|
|
38218
|
+
"name": "SbbLinkBaseElement",
|
|
38219
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38248
38220
|
}
|
|
38249
38221
|
},
|
|
38250
38222
|
{
|
|
38251
|
-
"name": "
|
|
38252
|
-
"description": "The `<form>` element to associate the button with.",
|
|
38223
|
+
"name": "rel",
|
|
38253
38224
|
"type": {
|
|
38254
|
-
"text": "
|
|
38225
|
+
"text": "string"
|
|
38255
38226
|
},
|
|
38256
|
-
"
|
|
38227
|
+
"default": "''",
|
|
38228
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38229
|
+
"fieldName": "rel",
|
|
38257
38230
|
"inheritedFrom": {
|
|
38258
|
-
"name": "
|
|
38259
|
-
"module": "core/base-elements/
|
|
38231
|
+
"name": "SbbLinkBaseElement",
|
|
38232
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38260
38233
|
}
|
|
38261
38234
|
},
|
|
38262
38235
|
{
|
|
38263
|
-
"name": "
|
|
38264
|
-
"
|
|
38236
|
+
"name": "download",
|
|
38237
|
+
"type": {
|
|
38238
|
+
"text": "boolean"
|
|
38239
|
+
},
|
|
38240
|
+
"default": "false",
|
|
38241
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
38242
|
+
"fieldName": "download",
|
|
38243
|
+
"inheritedFrom": {
|
|
38244
|
+
"name": "SbbLinkBaseElement",
|
|
38245
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38246
|
+
}
|
|
38247
|
+
},
|
|
38248
|
+
{
|
|
38249
|
+
"name": "accessibility-label",
|
|
38265
38250
|
"type": {
|
|
38266
38251
|
"text": "string"
|
|
38267
38252
|
},
|
|
38268
|
-
"
|
|
38253
|
+
"default": "''",
|
|
38254
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38255
|
+
"fieldName": "accessibilityLabel",
|
|
38269
38256
|
"inheritedFrom": {
|
|
38270
|
-
"name": "
|
|
38271
|
-
"module": "core/
|
|
38257
|
+
"name": "SbbLinkBaseElement",
|
|
38258
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38259
|
+
}
|
|
38260
|
+
},
|
|
38261
|
+
{
|
|
38262
|
+
"name": "accessibility-current",
|
|
38263
|
+
"type": {
|
|
38264
|
+
"text": "string"
|
|
38265
|
+
},
|
|
38266
|
+
"default": "''",
|
|
38267
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
38268
|
+
"fieldName": "accessibilityCurrent",
|
|
38269
|
+
"inheritedFrom": {
|
|
38270
|
+
"name": "SbbLinkBaseElement",
|
|
38271
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38272
38272
|
}
|
|
38273
38273
|
}
|
|
38274
38274
|
]
|
|
@@ -38277,10 +38277,10 @@
|
|
|
38277
38277
|
"exports": [
|
|
38278
38278
|
{
|
|
38279
38279
|
"kind": "js",
|
|
38280
|
-
"name": "
|
|
38280
|
+
"name": "SbbAccentButtonLinkElement",
|
|
38281
38281
|
"declaration": {
|
|
38282
|
-
"name": "
|
|
38283
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
38282
|
+
"name": "SbbAccentButtonLinkElement",
|
|
38283
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
38284
38284
|
}
|
|
38285
38285
|
}
|
|
38286
38286
|
]
|