@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776331625 → 5.0.0-next-dev.1776332244
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 +1318 -1318
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -42554,12 +42554,12 @@
|
|
|
42554
42554
|
},
|
|
42555
42555
|
{
|
|
42556
42556
|
"kind": "javascript-module",
|
|
42557
|
-
"path": "button/accent-button/accent-button.component.js",
|
|
42557
|
+
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
42558
42558
|
"declarations": [
|
|
42559
42559
|
{
|
|
42560
42560
|
"kind": "class",
|
|
42561
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
42562
|
-
"name": "
|
|
42561
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
42562
|
+
"name": "SbbAccentButtonLinkElement",
|
|
42563
42563
|
"cssProperties": [
|
|
42564
42564
|
{
|
|
42565
42565
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -42569,7 +42569,7 @@
|
|
|
42569
42569
|
],
|
|
42570
42570
|
"slots": [
|
|
42571
42571
|
{
|
|
42572
|
-
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
42572
|
+
"description": "Use the unnamed slot to add content to the accent-button-link.",
|
|
42573
42573
|
"name": ""
|
|
42574
42574
|
},
|
|
42575
42575
|
{
|
|
@@ -42587,7 +42587,7 @@
|
|
|
42587
42587
|
"privacy": "public",
|
|
42588
42588
|
"static": true,
|
|
42589
42589
|
"readonly": true,
|
|
42590
|
-
"default": "'sbb-accent-button'",
|
|
42590
|
+
"default": "'sbb-accent-button-link'",
|
|
42591
42591
|
"inheritedFrom": {
|
|
42592
42592
|
"name": "SbbElement",
|
|
42593
42593
|
"module": "core/base-elements/element.js"
|
|
@@ -42798,243 +42798,298 @@
|
|
|
42798
42798
|
},
|
|
42799
42799
|
{
|
|
42800
42800
|
"kind": "field",
|
|
42801
|
-
"name": "
|
|
42801
|
+
"name": "href",
|
|
42802
42802
|
"type": {
|
|
42803
|
-
"text": "
|
|
42803
|
+
"text": "string"
|
|
42804
42804
|
},
|
|
42805
|
-
"privacy": "
|
|
42806
|
-
"
|
|
42807
|
-
"
|
|
42805
|
+
"privacy": "public",
|
|
42806
|
+
"default": "''",
|
|
42807
|
+
"description": "The href value you want to link to.",
|
|
42808
|
+
"attribute": "href",
|
|
42809
|
+
"reflects": true,
|
|
42808
42810
|
"inheritedFrom": {
|
|
42809
|
-
"name": "
|
|
42810
|
-
"module": "core/base-elements/
|
|
42811
|
+
"name": "SbbLinkBaseElement",
|
|
42812
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42811
42813
|
}
|
|
42812
42814
|
},
|
|
42813
42815
|
{
|
|
42814
42816
|
"kind": "field",
|
|
42815
|
-
"name": "
|
|
42817
|
+
"name": "target",
|
|
42816
42818
|
"type": {
|
|
42817
|
-
"text": "string"
|
|
42819
|
+
"text": "LinkTargetType | string"
|
|
42818
42820
|
},
|
|
42819
42821
|
"privacy": "public",
|
|
42820
42822
|
"default": "''",
|
|
42821
|
-
"description": "
|
|
42822
|
-
"attribute": "
|
|
42823
|
+
"description": "Where to display the linked URL.",
|
|
42824
|
+
"attribute": "target",
|
|
42825
|
+
"reflects": true,
|
|
42823
42826
|
"inheritedFrom": {
|
|
42824
|
-
"name": "
|
|
42825
|
-
"module": "core/base-elements/
|
|
42827
|
+
"name": "SbbLinkBaseElement",
|
|
42828
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42826
42829
|
}
|
|
42827
42830
|
},
|
|
42828
42831
|
{
|
|
42829
42832
|
"kind": "field",
|
|
42830
|
-
"name": "
|
|
42833
|
+
"name": "rel",
|
|
42834
|
+
"type": {
|
|
42835
|
+
"text": "string"
|
|
42836
|
+
},
|
|
42831
42837
|
"privacy": "public",
|
|
42832
|
-
"
|
|
42833
|
-
"
|
|
42838
|
+
"default": "''",
|
|
42839
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
42840
|
+
"attribute": "rel",
|
|
42841
|
+
"reflects": true,
|
|
42842
|
+
"inheritedFrom": {
|
|
42843
|
+
"name": "SbbLinkBaseElement",
|
|
42844
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42845
|
+
}
|
|
42846
|
+
},
|
|
42847
|
+
{
|
|
42848
|
+
"kind": "field",
|
|
42849
|
+
"name": "download",
|
|
42834
42850
|
"type": {
|
|
42835
|
-
"text": "
|
|
42851
|
+
"text": "boolean"
|
|
42836
42852
|
},
|
|
42837
|
-
"
|
|
42853
|
+
"privacy": "public",
|
|
42854
|
+
"default": "false",
|
|
42855
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
42856
|
+
"attribute": "download",
|
|
42857
|
+
"reflects": true,
|
|
42838
42858
|
"inheritedFrom": {
|
|
42839
|
-
"name": "
|
|
42840
|
-
"module": "core/base-elements/
|
|
42859
|
+
"name": "SbbLinkBaseElement",
|
|
42860
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42841
42861
|
}
|
|
42842
42862
|
},
|
|
42843
42863
|
{
|
|
42844
42864
|
"kind": "field",
|
|
42845
|
-
"name": "
|
|
42865
|
+
"name": "accessibilityLabel",
|
|
42846
42866
|
"type": {
|
|
42847
|
-
"text": "
|
|
42867
|
+
"text": "string"
|
|
42848
42868
|
},
|
|
42849
42869
|
"privacy": "public",
|
|
42850
|
-
"
|
|
42851
|
-
"
|
|
42870
|
+
"default": "''",
|
|
42871
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
42872
|
+
"attribute": "accessibility-label",
|
|
42852
42873
|
"inheritedFrom": {
|
|
42853
|
-
"name": "
|
|
42854
|
-
"module": "core/base-elements/
|
|
42874
|
+
"name": "SbbLinkBaseElement",
|
|
42875
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42855
42876
|
}
|
|
42856
42877
|
},
|
|
42857
42878
|
{
|
|
42858
42879
|
"kind": "field",
|
|
42859
|
-
"name": "
|
|
42880
|
+
"name": "accessibilityCurrent",
|
|
42860
42881
|
"type": {
|
|
42861
42882
|
"text": "string"
|
|
42862
42883
|
},
|
|
42863
|
-
"privacy": "
|
|
42884
|
+
"privacy": "public",
|
|
42864
42885
|
"default": "''",
|
|
42886
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
42887
|
+
"attribute": "accessibility-current",
|
|
42865
42888
|
"inheritedFrom": {
|
|
42866
|
-
"name": "
|
|
42867
|
-
"module": "core/base-elements/
|
|
42889
|
+
"name": "SbbLinkBaseElement",
|
|
42890
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42868
42891
|
}
|
|
42869
42892
|
},
|
|
42870
42893
|
{
|
|
42871
42894
|
"kind": "field",
|
|
42872
|
-
"name": "
|
|
42895
|
+
"name": "language",
|
|
42896
|
+
"privacy": "protected",
|
|
42897
|
+
"default": "new SbbLanguageController(this)",
|
|
42898
|
+
"inheritedFrom": {
|
|
42899
|
+
"name": "SbbLinkBaseElement",
|
|
42900
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42901
|
+
}
|
|
42902
|
+
},
|
|
42903
|
+
{
|
|
42904
|
+
"kind": "field",
|
|
42905
|
+
"name": "anchorRole",
|
|
42906
|
+
"type": {
|
|
42907
|
+
"text": "string | null"
|
|
42908
|
+
},
|
|
42909
|
+
"privacy": "protected",
|
|
42910
|
+
"readonly": true,
|
|
42911
|
+
"default": "null",
|
|
42912
|
+
"inheritedFrom": {
|
|
42913
|
+
"name": "SbbLinkBaseElement",
|
|
42914
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42915
|
+
}
|
|
42916
|
+
},
|
|
42917
|
+
{
|
|
42918
|
+
"kind": "field",
|
|
42919
|
+
"name": "_evaluateRelAttribute",
|
|
42873
42920
|
"privacy": "private",
|
|
42874
42921
|
"inheritedFrom": {
|
|
42875
|
-
"name": "
|
|
42876
|
-
"module": "core/base-elements/
|
|
42922
|
+
"name": "SbbLinkBaseElement",
|
|
42923
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42877
42924
|
}
|
|
42878
42925
|
},
|
|
42879
42926
|
{
|
|
42880
42927
|
"kind": "method",
|
|
42881
|
-
"name": "
|
|
42882
|
-
"privacy": "
|
|
42928
|
+
"name": "renderLink",
|
|
42929
|
+
"privacy": "protected",
|
|
42883
42930
|
"return": {
|
|
42884
42931
|
"type": {
|
|
42885
|
-
"text": "
|
|
42932
|
+
"text": "TemplateResult"
|
|
42886
42933
|
}
|
|
42887
42934
|
},
|
|
42888
42935
|
"parameters": [
|
|
42889
42936
|
{
|
|
42890
|
-
"name": "
|
|
42937
|
+
"name": "renderContent",
|
|
42891
42938
|
"type": {
|
|
42892
|
-
"text": "
|
|
42939
|
+
"text": "TemplateResult"
|
|
42893
42940
|
}
|
|
42894
42941
|
}
|
|
42895
42942
|
],
|
|
42896
42943
|
"inheritedFrom": {
|
|
42897
|
-
"name": "
|
|
42898
|
-
"module": "core/base-elements/
|
|
42944
|
+
"name": "SbbLinkBaseElement",
|
|
42945
|
+
"module": "core/base-elements/link-base-element.js"
|
|
42899
42946
|
}
|
|
42900
42947
|
},
|
|
42901
42948
|
{
|
|
42902
42949
|
"kind": "field",
|
|
42903
|
-
"name": "
|
|
42904
|
-
"
|
|
42950
|
+
"name": "maybeDisabled",
|
|
42951
|
+
"type": {
|
|
42952
|
+
"text": "boolean | undefined"
|
|
42953
|
+
},
|
|
42954
|
+
"privacy": "protected",
|
|
42955
|
+
"readonly": true,
|
|
42905
42956
|
"inheritedFrom": {
|
|
42906
|
-
"name": "
|
|
42907
|
-
"module": "core/base-elements/
|
|
42957
|
+
"name": "SbbActionBaseElement",
|
|
42958
|
+
"module": "core/base-elements/action-base-element.js"
|
|
42908
42959
|
}
|
|
42909
42960
|
},
|
|
42910
42961
|
{
|
|
42911
42962
|
"kind": "field",
|
|
42912
|
-
"name": "
|
|
42963
|
+
"name": "maybeDisabledInteractive",
|
|
42913
42964
|
"type": {
|
|
42914
|
-
"text": "boolean"
|
|
42965
|
+
"text": "boolean | undefined"
|
|
42915
42966
|
},
|
|
42916
|
-
"privacy": "
|
|
42917
|
-
"
|
|
42918
|
-
"default": "true",
|
|
42967
|
+
"privacy": "protected",
|
|
42968
|
+
"readonly": true,
|
|
42919
42969
|
"inheritedFrom": {
|
|
42920
|
-
"name": "
|
|
42921
|
-
"module": "core/
|
|
42970
|
+
"name": "SbbActionBaseElement",
|
|
42971
|
+
"module": "core/base-elements/action-base-element.js"
|
|
42972
|
+
}
|
|
42973
|
+
},
|
|
42974
|
+
{
|
|
42975
|
+
"kind": "method",
|
|
42976
|
+
"name": "setupBaseEventHandlers",
|
|
42977
|
+
"privacy": "protected",
|
|
42978
|
+
"return": {
|
|
42979
|
+
"type": {
|
|
42980
|
+
"text": "void"
|
|
42981
|
+
}
|
|
42982
|
+
},
|
|
42983
|
+
"inheritedFrom": {
|
|
42984
|
+
"name": "SbbActionBaseElement",
|
|
42985
|
+
"module": "core/base-elements/action-base-element.js"
|
|
42922
42986
|
}
|
|
42923
42987
|
},
|
|
42924
42988
|
{
|
|
42925
42989
|
"kind": "field",
|
|
42926
|
-
"name": "
|
|
42927
|
-
"privacy": "public",
|
|
42928
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
42990
|
+
"name": "['_$sbbElement$']",
|
|
42929
42991
|
"type": {
|
|
42930
|
-
"text": "
|
|
42992
|
+
"text": "boolean"
|
|
42931
42993
|
},
|
|
42932
|
-
"
|
|
42994
|
+
"privacy": "public",
|
|
42995
|
+
"static": true,
|
|
42996
|
+
"default": "true",
|
|
42933
42997
|
"inheritedFrom": {
|
|
42934
|
-
"name": "
|
|
42935
|
-
"module": "core/
|
|
42998
|
+
"name": "SbbElement",
|
|
42999
|
+
"module": "core/base-elements/element.js"
|
|
42936
43000
|
}
|
|
42937
43001
|
},
|
|
42938
43002
|
{
|
|
42939
43003
|
"kind": "field",
|
|
42940
|
-
"name": "
|
|
43004
|
+
"name": "role",
|
|
42941
43005
|
"type": {
|
|
42942
|
-
"text": "
|
|
43006
|
+
"text": "ElementInternals['role'] | undefined"
|
|
42943
43007
|
},
|
|
42944
43008
|
"privacy": "public",
|
|
42945
|
-
"
|
|
42946
|
-
"readonly": true,
|
|
43009
|
+
"static": true,
|
|
42947
43010
|
"inheritedFrom": {
|
|
42948
|
-
"name": "
|
|
42949
|
-
"module": "core/
|
|
43011
|
+
"name": "SbbElement",
|
|
43012
|
+
"module": "core/base-elements/element.js"
|
|
42950
43013
|
}
|
|
42951
43014
|
},
|
|
42952
43015
|
{
|
|
42953
43016
|
"kind": "field",
|
|
42954
|
-
"name": "
|
|
43017
|
+
"name": "_controllers",
|
|
42955
43018
|
"type": {
|
|
42956
|
-
"text": "
|
|
43019
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
42957
43020
|
},
|
|
42958
|
-
"privacy": "
|
|
42959
|
-
"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.",
|
|
42960
|
-
"readonly": true,
|
|
43021
|
+
"privacy": "private",
|
|
42961
43022
|
"inheritedFrom": {
|
|
42962
|
-
"name": "
|
|
42963
|
-
"module": "core/
|
|
43023
|
+
"name": "SbbElement",
|
|
43024
|
+
"module": "core/base-elements/element.js"
|
|
42964
43025
|
}
|
|
42965
43026
|
},
|
|
42966
43027
|
{
|
|
42967
43028
|
"kind": "field",
|
|
42968
|
-
"name": "
|
|
43029
|
+
"name": "_hydrationRequired",
|
|
42969
43030
|
"type": {
|
|
42970
43031
|
"text": "boolean"
|
|
42971
43032
|
},
|
|
42972
|
-
"privacy": "
|
|
42973
|
-
"
|
|
42974
|
-
"readonly": true,
|
|
43033
|
+
"privacy": "private",
|
|
43034
|
+
"default": "!!this.shadowRoot",
|
|
42975
43035
|
"inheritedFrom": {
|
|
42976
|
-
"name": "
|
|
42977
|
-
"module": "core/
|
|
43036
|
+
"name": "SbbElement",
|
|
43037
|
+
"module": "core/base-elements/element.js"
|
|
42978
43038
|
}
|
|
42979
43039
|
},
|
|
42980
43040
|
{
|
|
42981
43041
|
"kind": "field",
|
|
42982
|
-
"name": "
|
|
43042
|
+
"name": "_hydrationComplete",
|
|
42983
43043
|
"privacy": "private",
|
|
42984
|
-
"default": "new
|
|
43044
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
42985
43045
|
"inheritedFrom": {
|
|
42986
|
-
"name": "
|
|
42987
|
-
"module": "core/
|
|
43046
|
+
"name": "SbbElement",
|
|
43047
|
+
"module": "core/base-elements/element.js"
|
|
42988
43048
|
}
|
|
42989
43049
|
},
|
|
42990
43050
|
{
|
|
42991
43051
|
"kind": "field",
|
|
42992
|
-
"name": "
|
|
43052
|
+
"name": "_resolveHydration",
|
|
42993
43053
|
"type": {
|
|
42994
|
-
"text": "boolean"
|
|
43054
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
42995
43055
|
},
|
|
42996
|
-
"privacy": "
|
|
42997
|
-
"default": "false",
|
|
42998
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
43056
|
+
"privacy": "private",
|
|
42999
43057
|
"inheritedFrom": {
|
|
43000
|
-
"name": "
|
|
43001
|
-
"module": "core/
|
|
43058
|
+
"name": "SbbElement",
|
|
43059
|
+
"module": "core/base-elements/element.js"
|
|
43002
43060
|
}
|
|
43003
43061
|
},
|
|
43004
43062
|
{
|
|
43005
|
-
"kind": "
|
|
43006
|
-
"name": "
|
|
43007
|
-
"
|
|
43008
|
-
|
|
43009
|
-
"type": {
|
|
43010
|
-
"text": "boolean"
|
|
43011
|
-
}
|
|
43063
|
+
"kind": "field",
|
|
43064
|
+
"name": "_textObserver",
|
|
43065
|
+
"type": {
|
|
43066
|
+
"text": "MutationObserver | undefined"
|
|
43012
43067
|
},
|
|
43013
|
-
"
|
|
43068
|
+
"privacy": "private",
|
|
43014
43069
|
"inheritedFrom": {
|
|
43015
|
-
"name": "
|
|
43016
|
-
"module": "core/
|
|
43070
|
+
"name": "SbbElement",
|
|
43071
|
+
"module": "core/base-elements/element.js"
|
|
43017
43072
|
}
|
|
43018
43073
|
},
|
|
43019
43074
|
{
|
|
43020
|
-
"kind": "
|
|
43021
|
-
"name": "
|
|
43022
|
-
"
|
|
43023
|
-
|
|
43024
|
-
"type": {
|
|
43025
|
-
"text": "boolean"
|
|
43026
|
-
}
|
|
43075
|
+
"kind": "field",
|
|
43076
|
+
"name": "hydrationRequired",
|
|
43077
|
+
"type": {
|
|
43078
|
+
"text": "boolean"
|
|
43027
43079
|
},
|
|
43028
|
-
"
|
|
43080
|
+
"privacy": "protected",
|
|
43081
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
43082
|
+
"readonly": true,
|
|
43029
43083
|
"inheritedFrom": {
|
|
43030
|
-
"name": "
|
|
43031
|
-
"module": "core/
|
|
43032
|
-
}
|
|
43084
|
+
"name": "SbbElement",
|
|
43085
|
+
"module": "core/base-elements/element.js"
|
|
43086
|
+
},
|
|
43087
|
+
"default": "!!this.shadowRoot"
|
|
43033
43088
|
},
|
|
43034
43089
|
{
|
|
43035
43090
|
"kind": "method",
|
|
43036
|
-
"name": "
|
|
43037
|
-
"privacy": "
|
|
43091
|
+
"name": "toggleState",
|
|
43092
|
+
"privacy": "protected",
|
|
43038
43093
|
"return": {
|
|
43039
43094
|
"type": {
|
|
43040
43095
|
"text": "void"
|
|
@@ -43042,65 +43097,56 @@
|
|
|
43042
43097
|
},
|
|
43043
43098
|
"parameters": [
|
|
43044
43099
|
{
|
|
43045
|
-
"name": "
|
|
43100
|
+
"name": "value",
|
|
43046
43101
|
"type": {
|
|
43047
43102
|
"text": "string"
|
|
43048
43103
|
}
|
|
43104
|
+
},
|
|
43105
|
+
{
|
|
43106
|
+
"name": "force",
|
|
43107
|
+
"optional": true,
|
|
43108
|
+
"type": {
|
|
43109
|
+
"text": "boolean"
|
|
43110
|
+
}
|
|
43049
43111
|
}
|
|
43050
43112
|
],
|
|
43051
|
-
"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.",
|
|
43052
43113
|
"inheritedFrom": {
|
|
43053
|
-
"name": "
|
|
43054
|
-
"module": "core/
|
|
43114
|
+
"name": "SbbElement",
|
|
43115
|
+
"module": "core/base-elements/element.js"
|
|
43055
43116
|
}
|
|
43056
43117
|
},
|
|
43057
43118
|
{
|
|
43058
43119
|
"kind": "method",
|
|
43059
|
-
"name": "
|
|
43120
|
+
"name": "_slotchangeHandler",
|
|
43060
43121
|
"privacy": "private",
|
|
43061
|
-
"return": {
|
|
43062
|
-
"type": {
|
|
43063
|
-
"text": "boolean"
|
|
43064
|
-
}
|
|
43065
|
-
},
|
|
43066
|
-
"inheritedFrom": {
|
|
43067
|
-
"name": "SbbFormAssociatedMixin",
|
|
43068
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
43069
|
-
}
|
|
43070
|
-
},
|
|
43071
|
-
{
|
|
43072
|
-
"kind": "method",
|
|
43073
|
-
"name": "updateFormValue",
|
|
43074
|
-
"privacy": "protected",
|
|
43075
43122
|
"return": {
|
|
43076
43123
|
"type": {
|
|
43077
43124
|
"text": "void"
|
|
43078
43125
|
}
|
|
43079
43126
|
},
|
|
43080
|
-
"
|
|
43081
|
-
|
|
43082
|
-
|
|
43083
|
-
|
|
43084
|
-
|
|
43085
|
-
|
|
43086
|
-
|
|
43087
|
-
|
|
43088
|
-
|
|
43089
|
-
|
|
43090
|
-
|
|
43091
|
-
|
|
43092
|
-
"text": "FormRestoreState"
|
|
43127
|
+
"parameters": [
|
|
43128
|
+
{
|
|
43129
|
+
"name": "event",
|
|
43130
|
+
"type": {
|
|
43131
|
+
"text": "Event"
|
|
43132
|
+
}
|
|
43133
|
+
},
|
|
43134
|
+
{
|
|
43135
|
+
"name": "slot",
|
|
43136
|
+
"type": {
|
|
43137
|
+
"text": "HTMLSlotElement"
|
|
43138
|
+
}
|
|
43093
43139
|
}
|
|
43094
|
-
|
|
43140
|
+
],
|
|
43095
43141
|
"inheritedFrom": {
|
|
43096
|
-
"name": "
|
|
43097
|
-
"module": "core/
|
|
43142
|
+
"name": "SbbElement",
|
|
43143
|
+
"module": "core/base-elements/element.js"
|
|
43098
43144
|
}
|
|
43099
43145
|
},
|
|
43100
43146
|
{
|
|
43101
43147
|
"kind": "method",
|
|
43102
|
-
"name": "
|
|
43103
|
-
"privacy": "
|
|
43148
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
43149
|
+
"privacy": "private",
|
|
43104
43150
|
"return": {
|
|
43105
43151
|
"type": {
|
|
43106
43152
|
"text": "void"
|
|
@@ -43108,35 +43154,21 @@
|
|
|
43108
43154
|
},
|
|
43109
43155
|
"parameters": [
|
|
43110
43156
|
{
|
|
43111
|
-
"name": "
|
|
43112
|
-
"type": {
|
|
43113
|
-
"text": "T"
|
|
43114
|
-
}
|
|
43115
|
-
},
|
|
43116
|
-
{
|
|
43117
|
-
"name": "message",
|
|
43118
|
-
"type": {
|
|
43119
|
-
"text": "string"
|
|
43120
|
-
}
|
|
43121
|
-
},
|
|
43122
|
-
{
|
|
43123
|
-
"name": "flagValue",
|
|
43124
|
-
"optional": true,
|
|
43157
|
+
"name": "slot",
|
|
43125
43158
|
"type": {
|
|
43126
|
-
"text": "
|
|
43159
|
+
"text": "HTMLSlotElement"
|
|
43127
43160
|
}
|
|
43128
43161
|
}
|
|
43129
43162
|
],
|
|
43130
|
-
"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).",
|
|
43131
43163
|
"inheritedFrom": {
|
|
43132
|
-
"name": "
|
|
43133
|
-
"module": "core/
|
|
43164
|
+
"name": "SbbElement",
|
|
43165
|
+
"module": "core/base-elements/element.js"
|
|
43134
43166
|
}
|
|
43135
43167
|
},
|
|
43136
43168
|
{
|
|
43137
43169
|
"kind": "method",
|
|
43138
|
-
"name": "
|
|
43139
|
-
"privacy": "
|
|
43170
|
+
"name": "_updateSlottedState",
|
|
43171
|
+
"privacy": "private",
|
|
43140
43172
|
"return": {
|
|
43141
43173
|
"type": {
|
|
43142
43174
|
"text": "void"
|
|
@@ -43144,37 +43176,43 @@
|
|
|
43144
43176
|
},
|
|
43145
43177
|
"parameters": [
|
|
43146
43178
|
{
|
|
43147
|
-
"name": "
|
|
43179
|
+
"name": "slot",
|
|
43148
43180
|
"type": {
|
|
43149
|
-
"text": "
|
|
43181
|
+
"text": "HTMLSlotElement"
|
|
43150
43182
|
}
|
|
43151
43183
|
}
|
|
43152
43184
|
],
|
|
43153
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
43154
43185
|
"inheritedFrom": {
|
|
43155
|
-
"name": "
|
|
43156
|
-
"module": "core/
|
|
43186
|
+
"name": "SbbElement",
|
|
43187
|
+
"module": "core/base-elements/element.js"
|
|
43157
43188
|
}
|
|
43158
43189
|
},
|
|
43159
43190
|
{
|
|
43160
43191
|
"kind": "method",
|
|
43161
|
-
"name": "
|
|
43162
|
-
"privacy": "
|
|
43192
|
+
"name": "_observeTextNodesInSlot",
|
|
43193
|
+
"privacy": "private",
|
|
43163
43194
|
"return": {
|
|
43164
43195
|
"type": {
|
|
43165
43196
|
"text": "void"
|
|
43166
43197
|
}
|
|
43167
43198
|
},
|
|
43168
|
-
"
|
|
43199
|
+
"parameters": [
|
|
43200
|
+
{
|
|
43201
|
+
"name": "slot",
|
|
43202
|
+
"type": {
|
|
43203
|
+
"text": "HTMLSlotElement"
|
|
43204
|
+
}
|
|
43205
|
+
}
|
|
43206
|
+
],
|
|
43169
43207
|
"inheritedFrom": {
|
|
43170
|
-
"name": "
|
|
43171
|
-
"module": "core/
|
|
43208
|
+
"name": "SbbElement",
|
|
43209
|
+
"module": "core/base-elements/element.js"
|
|
43172
43210
|
}
|
|
43173
43211
|
},
|
|
43174
43212
|
{
|
|
43175
43213
|
"kind": "method",
|
|
43176
|
-
"name": "
|
|
43177
|
-
"privacy": "
|
|
43214
|
+
"name": "_hasSlottedContent",
|
|
43215
|
+
"privacy": "private",
|
|
43178
43216
|
"return": {
|
|
43179
43217
|
"type": {
|
|
43180
43218
|
"text": "boolean"
|
|
@@ -43182,921 +43220,928 @@
|
|
|
43182
43220
|
},
|
|
43183
43221
|
"parameters": [
|
|
43184
43222
|
{
|
|
43185
|
-
"name": "
|
|
43223
|
+
"name": "slot",
|
|
43186
43224
|
"type": {
|
|
43187
|
-
"text": "
|
|
43225
|
+
"text": "HTMLSlotElement"
|
|
43188
43226
|
}
|
|
43189
43227
|
}
|
|
43190
43228
|
],
|
|
43191
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
43192
43229
|
"inheritedFrom": {
|
|
43193
|
-
"name": "
|
|
43194
|
-
"module": "core/
|
|
43230
|
+
"name": "SbbElement",
|
|
43231
|
+
"module": "core/base-elements/element.js"
|
|
43195
43232
|
}
|
|
43233
|
+
}
|
|
43234
|
+
],
|
|
43235
|
+
"mixins": [
|
|
43236
|
+
{
|
|
43237
|
+
"name": "SbbButtonCommonElementMixin",
|
|
43238
|
+
"module": "button/common/button-common.js"
|
|
43196
43239
|
},
|
|
43197
43240
|
{
|
|
43198
|
-
"
|
|
43199
|
-
"
|
|
43200
|
-
|
|
43201
|
-
|
|
43202
|
-
|
|
43203
|
-
|
|
43204
|
-
|
|
43241
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
43242
|
+
"module": "core.js"
|
|
43243
|
+
},
|
|
43244
|
+
{
|
|
43245
|
+
"name": "SbbDisabledMixin",
|
|
43246
|
+
"module": "core.js"
|
|
43247
|
+
}
|
|
43248
|
+
],
|
|
43249
|
+
"superclass": {
|
|
43250
|
+
"name": "SbbLinkBaseElement",
|
|
43251
|
+
"module": "core.js"
|
|
43252
|
+
},
|
|
43253
|
+
"tagName": "sbb-accent-button-link",
|
|
43254
|
+
"customElement": true,
|
|
43255
|
+
"attributes": [
|
|
43256
|
+
{
|
|
43257
|
+
"name": "size",
|
|
43258
|
+
"type": {
|
|
43259
|
+
"text": "SbbButtonSize"
|
|
43205
43260
|
},
|
|
43261
|
+
"description": "Size variant, either l, m or s.",
|
|
43262
|
+
"default": "'l' / 's' (lean)",
|
|
43263
|
+
"fieldName": "size",
|
|
43206
43264
|
"inheritedFrom": {
|
|
43207
|
-
"name": "
|
|
43208
|
-
"module": "
|
|
43265
|
+
"name": "SbbButtonCommonElementMixin",
|
|
43266
|
+
"module": "button/common/button-common.js"
|
|
43209
43267
|
}
|
|
43210
43268
|
},
|
|
43211
43269
|
{
|
|
43212
|
-
"
|
|
43213
|
-
"name": "role",
|
|
43270
|
+
"name": "loading",
|
|
43214
43271
|
"type": {
|
|
43215
|
-
"text": "
|
|
43272
|
+
"text": "boolean"
|
|
43216
43273
|
},
|
|
43217
|
-
"
|
|
43218
|
-
"
|
|
43219
|
-
"
|
|
43220
|
-
"default": "'button'",
|
|
43274
|
+
"default": "false",
|
|
43275
|
+
"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.",
|
|
43276
|
+
"fieldName": "loading",
|
|
43221
43277
|
"inheritedFrom": {
|
|
43222
|
-
"name": "
|
|
43223
|
-
"module": "
|
|
43278
|
+
"name": "SbbButtonCommonElementMixin",
|
|
43279
|
+
"module": "button/common/button-common.js"
|
|
43224
43280
|
}
|
|
43225
43281
|
},
|
|
43226
43282
|
{
|
|
43227
|
-
"
|
|
43228
|
-
"
|
|
43229
|
-
|
|
43230
|
-
|
|
43231
|
-
"
|
|
43232
|
-
|
|
43233
|
-
|
|
43234
|
-
"name": "event"
|
|
43235
|
-
}
|
|
43236
|
-
],
|
|
43283
|
+
"name": "negative",
|
|
43284
|
+
"type": {
|
|
43285
|
+
"text": "boolean"
|
|
43286
|
+
},
|
|
43287
|
+
"default": "false",
|
|
43288
|
+
"description": "Negative coloring variant flag.",
|
|
43289
|
+
"fieldName": "negative",
|
|
43237
43290
|
"inheritedFrom": {
|
|
43238
|
-
"name": "
|
|
43239
|
-
"module": "core/
|
|
43291
|
+
"name": "SbbNegativeMixin",
|
|
43292
|
+
"module": "core/mixins/negative-mixin.js"
|
|
43240
43293
|
}
|
|
43241
43294
|
},
|
|
43242
43295
|
{
|
|
43243
|
-
"
|
|
43244
|
-
"
|
|
43245
|
-
|
|
43296
|
+
"name": "icon-name",
|
|
43297
|
+
"type": {
|
|
43298
|
+
"text": "string"
|
|
43299
|
+
},
|
|
43300
|
+
"default": "''",
|
|
43301
|
+
"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.",
|
|
43302
|
+
"fieldName": "iconName",
|
|
43246
43303
|
"inheritedFrom": {
|
|
43247
|
-
"name": "
|
|
43248
|
-
"module": "
|
|
43304
|
+
"name": "SbbIconNameMixin",
|
|
43305
|
+
"module": "icon/icon-name-mixin.js"
|
|
43249
43306
|
}
|
|
43250
43307
|
},
|
|
43251
43308
|
{
|
|
43252
|
-
"
|
|
43253
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
43254
|
-
"privacy": "private",
|
|
43255
|
-
"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.",
|
|
43256
|
-
"parameters": [
|
|
43257
|
-
{
|
|
43258
|
-
"description": "The origin event.",
|
|
43259
|
-
"name": "event"
|
|
43260
|
-
}
|
|
43261
|
-
],
|
|
43262
|
-
"inheritedFrom": {
|
|
43263
|
-
"name": "SbbButtonLikeBaseElement",
|
|
43264
|
-
"module": "core/base-elements/button-base-element.js"
|
|
43265
|
-
}
|
|
43266
|
-
},
|
|
43267
|
-
{
|
|
43268
|
-
"kind": "field",
|
|
43269
|
-
"name": "_dispatchClickEvent",
|
|
43270
|
-
"privacy": "private",
|
|
43271
|
-
"inheritedFrom": {
|
|
43272
|
-
"name": "SbbButtonLikeBaseElement",
|
|
43273
|
-
"module": "core/base-elements/button-base-element.js"
|
|
43274
|
-
}
|
|
43275
|
-
},
|
|
43276
|
-
{
|
|
43277
|
-
"kind": "field",
|
|
43278
|
-
"name": "maybeDisabled",
|
|
43279
|
-
"type": {
|
|
43280
|
-
"text": "boolean | undefined"
|
|
43281
|
-
},
|
|
43282
|
-
"privacy": "protected",
|
|
43283
|
-
"readonly": true,
|
|
43284
|
-
"inheritedFrom": {
|
|
43285
|
-
"name": "SbbActionBaseElement",
|
|
43286
|
-
"module": "core/base-elements/action-base-element.js"
|
|
43287
|
-
}
|
|
43288
|
-
},
|
|
43289
|
-
{
|
|
43290
|
-
"kind": "field",
|
|
43291
|
-
"name": "maybeDisabledInteractive",
|
|
43309
|
+
"name": "disabled-interactive",
|
|
43292
43310
|
"type": {
|
|
43293
|
-
"text": "boolean
|
|
43294
|
-
},
|
|
43295
|
-
"privacy": "protected",
|
|
43296
|
-
"readonly": true,
|
|
43297
|
-
"inheritedFrom": {
|
|
43298
|
-
"name": "SbbActionBaseElement",
|
|
43299
|
-
"module": "core/base-elements/action-base-element.js"
|
|
43300
|
-
}
|
|
43301
|
-
},
|
|
43302
|
-
{
|
|
43303
|
-
"kind": "method",
|
|
43304
|
-
"name": "setupBaseEventHandlers",
|
|
43305
|
-
"privacy": "protected",
|
|
43306
|
-
"return": {
|
|
43307
|
-
"type": {
|
|
43308
|
-
"text": "void"
|
|
43309
|
-
}
|
|
43311
|
+
"text": "boolean"
|
|
43310
43312
|
},
|
|
43313
|
+
"default": "false",
|
|
43314
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
43315
|
+
"fieldName": "disabledInteractive",
|
|
43311
43316
|
"inheritedFrom": {
|
|
43312
|
-
"name": "
|
|
43313
|
-
"module": "core/
|
|
43317
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
43318
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
43314
43319
|
}
|
|
43315
43320
|
},
|
|
43316
43321
|
{
|
|
43317
|
-
"
|
|
43318
|
-
"
|
|
43322
|
+
"name": "disabled",
|
|
43323
|
+
"description": "Whether the component is disabled.",
|
|
43324
|
+
"default": "false",
|
|
43319
43325
|
"type": {
|
|
43320
43326
|
"text": "boolean"
|
|
43321
43327
|
},
|
|
43322
|
-
"
|
|
43323
|
-
"static": true,
|
|
43324
|
-
"default": "true",
|
|
43328
|
+
"fieldName": "disabled",
|
|
43325
43329
|
"inheritedFrom": {
|
|
43326
|
-
"name": "
|
|
43327
|
-
"module": "core/
|
|
43330
|
+
"name": "SbbDisabledMixin",
|
|
43331
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
43328
43332
|
}
|
|
43329
43333
|
},
|
|
43330
43334
|
{
|
|
43331
|
-
"
|
|
43332
|
-
"name": "_controllers",
|
|
43335
|
+
"name": "href",
|
|
43333
43336
|
"type": {
|
|
43334
|
-
"text": "
|
|
43337
|
+
"text": "string"
|
|
43335
43338
|
},
|
|
43336
|
-
"
|
|
43339
|
+
"default": "''",
|
|
43340
|
+
"description": "The href value you want to link to.",
|
|
43341
|
+
"fieldName": "href",
|
|
43337
43342
|
"inheritedFrom": {
|
|
43338
|
-
"name": "
|
|
43339
|
-
"module": "core/base-elements/element.js"
|
|
43343
|
+
"name": "SbbLinkBaseElement",
|
|
43344
|
+
"module": "core/base-elements/link-base-element.js"
|
|
43340
43345
|
}
|
|
43341
43346
|
},
|
|
43342
43347
|
{
|
|
43343
|
-
"
|
|
43344
|
-
"name": "_hydrationRequired",
|
|
43348
|
+
"name": "target",
|
|
43345
43349
|
"type": {
|
|
43346
|
-
"text": "
|
|
43350
|
+
"text": "LinkTargetType | string"
|
|
43347
43351
|
},
|
|
43348
|
-
"
|
|
43349
|
-
"
|
|
43350
|
-
"
|
|
43351
|
-
"name": "SbbElement",
|
|
43352
|
-
"module": "core/base-elements/element.js"
|
|
43353
|
-
}
|
|
43354
|
-
},
|
|
43355
|
-
{
|
|
43356
|
-
"kind": "field",
|
|
43357
|
-
"name": "_hydrationComplete",
|
|
43358
|
-
"privacy": "private",
|
|
43359
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
43352
|
+
"default": "''",
|
|
43353
|
+
"description": "Where to display the linked URL.",
|
|
43354
|
+
"fieldName": "target",
|
|
43360
43355
|
"inheritedFrom": {
|
|
43361
|
-
"name": "
|
|
43362
|
-
"module": "core/base-elements/element.js"
|
|
43356
|
+
"name": "SbbLinkBaseElement",
|
|
43357
|
+
"module": "core/base-elements/link-base-element.js"
|
|
43363
43358
|
}
|
|
43364
43359
|
},
|
|
43365
43360
|
{
|
|
43366
|
-
"
|
|
43367
|
-
"name": "_resolveHydration",
|
|
43361
|
+
"name": "rel",
|
|
43368
43362
|
"type": {
|
|
43369
|
-
"text": "
|
|
43363
|
+
"text": "string"
|
|
43370
43364
|
},
|
|
43371
|
-
"
|
|
43365
|
+
"default": "''",
|
|
43366
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
43367
|
+
"fieldName": "rel",
|
|
43372
43368
|
"inheritedFrom": {
|
|
43373
|
-
"name": "
|
|
43374
|
-
"module": "core/base-elements/element.js"
|
|
43369
|
+
"name": "SbbLinkBaseElement",
|
|
43370
|
+
"module": "core/base-elements/link-base-element.js"
|
|
43375
43371
|
}
|
|
43376
43372
|
},
|
|
43377
43373
|
{
|
|
43378
|
-
"
|
|
43379
|
-
"name": "_textObserver",
|
|
43374
|
+
"name": "download",
|
|
43380
43375
|
"type": {
|
|
43381
|
-
"text": "
|
|
43376
|
+
"text": "boolean"
|
|
43382
43377
|
},
|
|
43383
|
-
"
|
|
43378
|
+
"default": "false",
|
|
43379
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
43380
|
+
"fieldName": "download",
|
|
43384
43381
|
"inheritedFrom": {
|
|
43385
|
-
"name": "
|
|
43386
|
-
"module": "core/base-elements/element.js"
|
|
43382
|
+
"name": "SbbLinkBaseElement",
|
|
43383
|
+
"module": "core/base-elements/link-base-element.js"
|
|
43387
43384
|
}
|
|
43388
43385
|
},
|
|
43389
43386
|
{
|
|
43390
|
-
"
|
|
43391
|
-
"name": "hydrationRequired",
|
|
43387
|
+
"name": "accessibility-label",
|
|
43392
43388
|
"type": {
|
|
43393
|
-
"text": "
|
|
43394
|
-
},
|
|
43395
|
-
"privacy": "protected",
|
|
43396
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
43397
|
-
"readonly": true,
|
|
43398
|
-
"inheritedFrom": {
|
|
43399
|
-
"name": "SbbElement",
|
|
43400
|
-
"module": "core/base-elements/element.js"
|
|
43401
|
-
},
|
|
43402
|
-
"default": "!!this.shadowRoot"
|
|
43403
|
-
},
|
|
43404
|
-
{
|
|
43405
|
-
"kind": "method",
|
|
43406
|
-
"name": "toggleState",
|
|
43407
|
-
"privacy": "protected",
|
|
43408
|
-
"return": {
|
|
43409
|
-
"type": {
|
|
43410
|
-
"text": "void"
|
|
43411
|
-
}
|
|
43389
|
+
"text": "string"
|
|
43412
43390
|
},
|
|
43413
|
-
"
|
|
43414
|
-
|
|
43415
|
-
|
|
43416
|
-
"type": {
|
|
43417
|
-
"text": "string"
|
|
43418
|
-
}
|
|
43419
|
-
},
|
|
43420
|
-
{
|
|
43421
|
-
"name": "force",
|
|
43422
|
-
"optional": true,
|
|
43423
|
-
"type": {
|
|
43424
|
-
"text": "boolean"
|
|
43425
|
-
}
|
|
43426
|
-
}
|
|
43427
|
-
],
|
|
43391
|
+
"default": "''",
|
|
43392
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
43393
|
+
"fieldName": "accessibilityLabel",
|
|
43428
43394
|
"inheritedFrom": {
|
|
43429
|
-
"name": "
|
|
43430
|
-
"module": "core/base-elements/element.js"
|
|
43395
|
+
"name": "SbbLinkBaseElement",
|
|
43396
|
+
"module": "core/base-elements/link-base-element.js"
|
|
43431
43397
|
}
|
|
43432
43398
|
},
|
|
43433
43399
|
{
|
|
43434
|
-
"
|
|
43435
|
-
"
|
|
43436
|
-
|
|
43437
|
-
"return": {
|
|
43438
|
-
"type": {
|
|
43439
|
-
"text": "void"
|
|
43440
|
-
}
|
|
43400
|
+
"name": "accessibility-current",
|
|
43401
|
+
"type": {
|
|
43402
|
+
"text": "string"
|
|
43441
43403
|
},
|
|
43442
|
-
"
|
|
43443
|
-
|
|
43444
|
-
|
|
43445
|
-
"type": {
|
|
43446
|
-
"text": "Event"
|
|
43447
|
-
}
|
|
43448
|
-
},
|
|
43449
|
-
{
|
|
43450
|
-
"name": "slot",
|
|
43451
|
-
"type": {
|
|
43452
|
-
"text": "HTMLSlotElement"
|
|
43453
|
-
}
|
|
43454
|
-
}
|
|
43455
|
-
],
|
|
43404
|
+
"default": "''",
|
|
43405
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
43406
|
+
"fieldName": "accessibilityCurrent",
|
|
43456
43407
|
"inheritedFrom": {
|
|
43457
|
-
"name": "
|
|
43458
|
-
"module": "core/base-elements/element.js"
|
|
43408
|
+
"name": "SbbLinkBaseElement",
|
|
43409
|
+
"module": "core/base-elements/link-base-element.js"
|
|
43459
43410
|
}
|
|
43460
|
-
}
|
|
43411
|
+
}
|
|
43412
|
+
]
|
|
43413
|
+
}
|
|
43414
|
+
],
|
|
43415
|
+
"exports": [
|
|
43416
|
+
{
|
|
43417
|
+
"kind": "js",
|
|
43418
|
+
"name": "SbbAccentButtonLinkElement",
|
|
43419
|
+
"declaration": {
|
|
43420
|
+
"name": "SbbAccentButtonLinkElement",
|
|
43421
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
43422
|
+
}
|
|
43423
|
+
}
|
|
43424
|
+
]
|
|
43425
|
+
},
|
|
43426
|
+
{
|
|
43427
|
+
"kind": "javascript-module",
|
|
43428
|
+
"path": "button/accent-button/accent-button.component.js",
|
|
43429
|
+
"declarations": [
|
|
43430
|
+
{
|
|
43431
|
+
"kind": "class",
|
|
43432
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
43433
|
+
"name": "SbbAccentButtonElement",
|
|
43434
|
+
"cssProperties": [
|
|
43461
43435
|
{
|
|
43462
|
-
"
|
|
43463
|
-
"name": "
|
|
43464
|
-
"
|
|
43465
|
-
|
|
43466
|
-
|
|
43467
|
-
|
|
43468
|
-
}
|
|
43469
|
-
},
|
|
43470
|
-
"parameters": [
|
|
43471
|
-
{
|
|
43472
|
-
"name": "slot",
|
|
43473
|
-
"type": {
|
|
43474
|
-
"text": "HTMLSlotElement"
|
|
43475
|
-
}
|
|
43476
|
-
}
|
|
43477
|
-
],
|
|
43478
|
-
"inheritedFrom": {
|
|
43479
|
-
"name": "SbbElement",
|
|
43480
|
-
"module": "core/base-elements/element.js"
|
|
43481
|
-
}
|
|
43482
|
-
},
|
|
43436
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
43437
|
+
"name": "--sbb-button-loading-delay",
|
|
43438
|
+
"default": "300ms"
|
|
43439
|
+
}
|
|
43440
|
+
],
|
|
43441
|
+
"slots": [
|
|
43483
43442
|
{
|
|
43484
|
-
"
|
|
43485
|
-
"name": "
|
|
43486
|
-
"privacy": "private",
|
|
43487
|
-
"return": {
|
|
43488
|
-
"type": {
|
|
43489
|
-
"text": "void"
|
|
43490
|
-
}
|
|
43491
|
-
},
|
|
43492
|
-
"parameters": [
|
|
43493
|
-
{
|
|
43494
|
-
"name": "slot",
|
|
43495
|
-
"type": {
|
|
43496
|
-
"text": "HTMLSlotElement"
|
|
43497
|
-
}
|
|
43498
|
-
}
|
|
43499
|
-
],
|
|
43500
|
-
"inheritedFrom": {
|
|
43501
|
-
"name": "SbbElement",
|
|
43502
|
-
"module": "core/base-elements/element.js"
|
|
43503
|
-
}
|
|
43443
|
+
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
43444
|
+
"name": ""
|
|
43504
43445
|
},
|
|
43505
43446
|
{
|
|
43506
|
-
"
|
|
43507
|
-
"name": "
|
|
43508
|
-
|
|
43509
|
-
|
|
43510
|
-
|
|
43511
|
-
"text": "void"
|
|
43512
|
-
}
|
|
43513
|
-
},
|
|
43514
|
-
"parameters": [
|
|
43515
|
-
{
|
|
43516
|
-
"name": "slot",
|
|
43517
|
-
"type": {
|
|
43518
|
-
"text": "HTMLSlotElement"
|
|
43519
|
-
}
|
|
43520
|
-
}
|
|
43521
|
-
],
|
|
43522
|
-
"inheritedFrom": {
|
|
43523
|
-
"name": "SbbElement",
|
|
43524
|
-
"module": "core/base-elements/element.js"
|
|
43525
|
-
}
|
|
43526
|
-
},
|
|
43447
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
43448
|
+
"name": "icon"
|
|
43449
|
+
}
|
|
43450
|
+
],
|
|
43451
|
+
"members": [
|
|
43527
43452
|
{
|
|
43528
|
-
"kind": "
|
|
43529
|
-
"name": "
|
|
43530
|
-
"
|
|
43531
|
-
|
|
43532
|
-
"type": {
|
|
43533
|
-
"text": "boolean"
|
|
43534
|
-
}
|
|
43453
|
+
"kind": "field",
|
|
43454
|
+
"name": "elementName",
|
|
43455
|
+
"type": {
|
|
43456
|
+
"text": "string"
|
|
43535
43457
|
},
|
|
43536
|
-
"
|
|
43537
|
-
|
|
43538
|
-
|
|
43539
|
-
|
|
43540
|
-
"text": "HTMLSlotElement"
|
|
43541
|
-
}
|
|
43542
|
-
}
|
|
43543
|
-
],
|
|
43458
|
+
"privacy": "public",
|
|
43459
|
+
"static": true,
|
|
43460
|
+
"readonly": true,
|
|
43461
|
+
"default": "'sbb-accent-button'",
|
|
43544
43462
|
"inheritedFrom": {
|
|
43545
43463
|
"name": "SbbElement",
|
|
43546
43464
|
"module": "core/base-elements/element.js"
|
|
43547
43465
|
}
|
|
43548
|
-
}
|
|
43549
|
-
],
|
|
43550
|
-
"mixins": [
|
|
43551
|
-
{
|
|
43552
|
-
"name": "SbbButtonCommonElementMixin",
|
|
43553
|
-
"module": "button/common/button-common.js"
|
|
43554
43466
|
},
|
|
43555
43467
|
{
|
|
43556
|
-
"
|
|
43557
|
-
"module": "core.js"
|
|
43558
|
-
}
|
|
43559
|
-
],
|
|
43560
|
-
"superclass": {
|
|
43561
|
-
"name": "SbbButtonBaseElement",
|
|
43562
|
-
"module": "core.js"
|
|
43563
|
-
},
|
|
43564
|
-
"tagName": "sbb-accent-button",
|
|
43565
|
-
"customElement": true,
|
|
43566
|
-
"attributes": [
|
|
43567
|
-
{
|
|
43468
|
+
"kind": "field",
|
|
43568
43469
|
"name": "size",
|
|
43569
43470
|
"type": {
|
|
43570
43471
|
"text": "SbbButtonSize"
|
|
43571
43472
|
},
|
|
43473
|
+
"privacy": "public",
|
|
43572
43474
|
"description": "Size variant, either l, m or s.",
|
|
43573
43475
|
"default": "'l' / 's' (lean)",
|
|
43574
|
-
"
|
|
43476
|
+
"attribute": "size",
|
|
43477
|
+
"reflects": true,
|
|
43575
43478
|
"inheritedFrom": {
|
|
43576
43479
|
"name": "SbbButtonCommonElementMixin",
|
|
43577
43480
|
"module": "button/common/button-common.js"
|
|
43578
43481
|
}
|
|
43579
43482
|
},
|
|
43580
43483
|
{
|
|
43484
|
+
"kind": "field",
|
|
43581
43485
|
"name": "loading",
|
|
43582
43486
|
"type": {
|
|
43583
43487
|
"text": "boolean"
|
|
43584
43488
|
},
|
|
43489
|
+
"privacy": "public",
|
|
43585
43490
|
"default": "false",
|
|
43586
43491
|
"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.",
|
|
43587
|
-
"
|
|
43492
|
+
"attribute": "loading",
|
|
43493
|
+
"reflects": true,
|
|
43588
43494
|
"inheritedFrom": {
|
|
43589
43495
|
"name": "SbbButtonCommonElementMixin",
|
|
43590
43496
|
"module": "button/common/button-common.js"
|
|
43591
43497
|
}
|
|
43592
43498
|
},
|
|
43593
43499
|
{
|
|
43500
|
+
"kind": "method",
|
|
43501
|
+
"name": "renderTemplate",
|
|
43502
|
+
"privacy": "protected",
|
|
43503
|
+
"return": {
|
|
43504
|
+
"type": {
|
|
43505
|
+
"text": "TemplateResult"
|
|
43506
|
+
}
|
|
43507
|
+
},
|
|
43508
|
+
"description": "Override this method to render the component template.",
|
|
43509
|
+
"inheritedFrom": {
|
|
43510
|
+
"name": "SbbActionBaseElement",
|
|
43511
|
+
"module": "core/base-elements/action-base-element.js"
|
|
43512
|
+
}
|
|
43513
|
+
},
|
|
43514
|
+
{
|
|
43515
|
+
"kind": "field",
|
|
43594
43516
|
"name": "negative",
|
|
43595
43517
|
"type": {
|
|
43596
43518
|
"text": "boolean"
|
|
43597
43519
|
},
|
|
43520
|
+
"privacy": "public",
|
|
43598
43521
|
"default": "false",
|
|
43599
43522
|
"description": "Negative coloring variant flag.",
|
|
43600
|
-
"
|
|
43523
|
+
"attribute": "negative",
|
|
43524
|
+
"reflects": true,
|
|
43601
43525
|
"inheritedFrom": {
|
|
43602
43526
|
"name": "SbbNegativeMixin",
|
|
43603
43527
|
"module": "core/mixins/negative-mixin.js"
|
|
43604
43528
|
}
|
|
43605
43529
|
},
|
|
43606
43530
|
{
|
|
43607
|
-
"
|
|
43531
|
+
"kind": "field",
|
|
43532
|
+
"name": "elementDependencies",
|
|
43533
|
+
"type": {
|
|
43534
|
+
"text": "SbbElementType[]"
|
|
43535
|
+
},
|
|
43536
|
+
"privacy": "public",
|
|
43537
|
+
"static": true,
|
|
43538
|
+
"default": "[SbbIconElement]",
|
|
43539
|
+
"inheritedFrom": {
|
|
43540
|
+
"name": "SbbElement",
|
|
43541
|
+
"module": "core/base-elements/element.js"
|
|
43542
|
+
}
|
|
43543
|
+
},
|
|
43544
|
+
{
|
|
43545
|
+
"kind": "field",
|
|
43546
|
+
"name": "iconName",
|
|
43608
43547
|
"type": {
|
|
43609
43548
|
"text": "string"
|
|
43610
43549
|
},
|
|
43550
|
+
"privacy": "public",
|
|
43611
43551
|
"default": "''",
|
|
43612
43552
|
"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.",
|
|
43613
|
-
"
|
|
43553
|
+
"attribute": "icon-name",
|
|
43614
43554
|
"inheritedFrom": {
|
|
43615
43555
|
"name": "SbbIconNameMixin",
|
|
43616
43556
|
"module": "icon/icon-name-mixin.js"
|
|
43617
43557
|
}
|
|
43618
43558
|
},
|
|
43619
43559
|
{
|
|
43620
|
-
"
|
|
43560
|
+
"kind": "method",
|
|
43561
|
+
"name": "renderIconSlot",
|
|
43562
|
+
"privacy": "protected",
|
|
43563
|
+
"return": {
|
|
43564
|
+
"type": {
|
|
43565
|
+
"text": "TemplateResult"
|
|
43566
|
+
}
|
|
43567
|
+
},
|
|
43568
|
+
"parameters": [
|
|
43569
|
+
{
|
|
43570
|
+
"name": "classname",
|
|
43571
|
+
"optional": true,
|
|
43572
|
+
"type": {
|
|
43573
|
+
"text": "string"
|
|
43574
|
+
}
|
|
43575
|
+
}
|
|
43576
|
+
],
|
|
43577
|
+
"inheritedFrom": {
|
|
43578
|
+
"name": "SbbIconNameMixin",
|
|
43579
|
+
"module": "icon/icon-name-mixin.js"
|
|
43580
|
+
}
|
|
43581
|
+
},
|
|
43582
|
+
{
|
|
43583
|
+
"kind": "method",
|
|
43584
|
+
"name": "renderIconName",
|
|
43585
|
+
"privacy": "protected",
|
|
43586
|
+
"return": {
|
|
43587
|
+
"type": {
|
|
43588
|
+
"text": "string"
|
|
43589
|
+
}
|
|
43590
|
+
},
|
|
43591
|
+
"inheritedFrom": {
|
|
43592
|
+
"name": "SbbIconNameMixin",
|
|
43593
|
+
"module": "icon/icon-name-mixin.js"
|
|
43594
|
+
}
|
|
43595
|
+
},
|
|
43596
|
+
{
|
|
43597
|
+
"kind": "method",
|
|
43598
|
+
"name": "_renderIconName",
|
|
43599
|
+
"privacy": "private",
|
|
43600
|
+
"return": {
|
|
43601
|
+
"type": {
|
|
43602
|
+
"text": "string"
|
|
43603
|
+
}
|
|
43604
|
+
},
|
|
43605
|
+
"inheritedFrom": {
|
|
43606
|
+
"name": "SbbIconNameMixin",
|
|
43607
|
+
"module": "icon/icon-name-mixin.js"
|
|
43608
|
+
}
|
|
43609
|
+
},
|
|
43610
|
+
{
|
|
43611
|
+
"kind": "field",
|
|
43612
|
+
"name": "disabledInteractive",
|
|
43621
43613
|
"type": {
|
|
43622
43614
|
"text": "boolean"
|
|
43623
43615
|
},
|
|
43616
|
+
"privacy": "public",
|
|
43624
43617
|
"default": "false",
|
|
43625
43618
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
43626
|
-
"
|
|
43619
|
+
"attribute": "disabled-interactive",
|
|
43620
|
+
"reflects": true,
|
|
43627
43621
|
"inheritedFrom": {
|
|
43628
43622
|
"name": "SbbDisabledInteractiveMixin",
|
|
43629
43623
|
"module": "core/mixins/disabled-mixin.js"
|
|
43630
43624
|
}
|
|
43631
43625
|
},
|
|
43632
43626
|
{
|
|
43627
|
+
"kind": "field",
|
|
43633
43628
|
"name": "disabled",
|
|
43629
|
+
"privacy": "public",
|
|
43634
43630
|
"description": "Whether the component is disabled.",
|
|
43635
43631
|
"default": "false",
|
|
43636
43632
|
"type": {
|
|
43637
43633
|
"text": "boolean"
|
|
43638
43634
|
},
|
|
43639
|
-
"
|
|
43635
|
+
"attribute": "disabled",
|
|
43636
|
+
"reflects": true,
|
|
43637
|
+
"inheritedFrom": {
|
|
43638
|
+
"name": "SbbDisabledMixin",
|
|
43639
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
43640
|
+
}
|
|
43641
|
+
},
|
|
43642
|
+
{
|
|
43643
|
+
"kind": "field",
|
|
43644
|
+
"name": "#disabled",
|
|
43645
|
+
"privacy": "private",
|
|
43646
|
+
"type": {
|
|
43647
|
+
"text": "boolean"
|
|
43648
|
+
},
|
|
43649
|
+
"default": "false",
|
|
43650
|
+
"inheritedFrom": {
|
|
43651
|
+
"name": "SbbDisabledMixin",
|
|
43652
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
43653
|
+
}
|
|
43654
|
+
},
|
|
43655
|
+
{
|
|
43656
|
+
"kind": "method",
|
|
43657
|
+
"name": "isDisabledExternally",
|
|
43658
|
+
"privacy": "protected",
|
|
43659
|
+
"return": {
|
|
43660
|
+
"type": {
|
|
43661
|
+
"text": "boolean"
|
|
43662
|
+
}
|
|
43663
|
+
},
|
|
43664
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
43640
43665
|
"inheritedFrom": {
|
|
43641
43666
|
"name": "SbbDisabledMixin",
|
|
43642
43667
|
"module": "core/mixins/disabled-mixin.js"
|
|
43643
43668
|
}
|
|
43644
43669
|
},
|
|
43645
43670
|
{
|
|
43671
|
+
"kind": "field",
|
|
43672
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
43673
|
+
"type": {
|
|
43674
|
+
"text": "array"
|
|
43675
|
+
},
|
|
43676
|
+
"privacy": "private",
|
|
43677
|
+
"readonly": true,
|
|
43678
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
43679
|
+
"inheritedFrom": {
|
|
43680
|
+
"name": "SbbButtonBaseElement",
|
|
43681
|
+
"module": "core/base-elements/button-base-element.js"
|
|
43682
|
+
}
|
|
43683
|
+
},
|
|
43684
|
+
{
|
|
43685
|
+
"kind": "field",
|
|
43646
43686
|
"name": "value",
|
|
43647
43687
|
"type": {
|
|
43648
43688
|
"text": "string"
|
|
43649
43689
|
},
|
|
43690
|
+
"privacy": "public",
|
|
43650
43691
|
"default": "''",
|
|
43651
43692
|
"description": "Value of the form element.",
|
|
43652
|
-
"
|
|
43693
|
+
"attribute": "value",
|
|
43653
43694
|
"inheritedFrom": {
|
|
43654
43695
|
"name": "SbbButtonBaseElement",
|
|
43655
43696
|
"module": "core/base-elements/button-base-element.js"
|
|
43656
43697
|
}
|
|
43657
43698
|
},
|
|
43658
43699
|
{
|
|
43700
|
+
"kind": "field",
|
|
43659
43701
|
"name": "type",
|
|
43702
|
+
"privacy": "public",
|
|
43660
43703
|
"description": "The type attribute to use for the button.",
|
|
43661
43704
|
"default": "'button'",
|
|
43662
43705
|
"type": {
|
|
43663
43706
|
"text": "SbbButtonType"
|
|
43664
43707
|
},
|
|
43665
|
-
"
|
|
43708
|
+
"attribute": "type",
|
|
43666
43709
|
"inheritedFrom": {
|
|
43667
43710
|
"name": "SbbButtonBaseElement",
|
|
43668
43711
|
"module": "core/base-elements/button-base-element.js"
|
|
43669
43712
|
}
|
|
43670
43713
|
},
|
|
43671
43714
|
{
|
|
43715
|
+
"kind": "field",
|
|
43672
43716
|
"name": "form",
|
|
43673
|
-
"description": "The `<form>` element to associate the button with.",
|
|
43674
43717
|
"type": {
|
|
43675
43718
|
"text": "HTMLFormElement | null"
|
|
43676
43719
|
},
|
|
43677
|
-
"
|
|
43720
|
+
"privacy": "public",
|
|
43721
|
+
"description": "The `<form>` element to associate the button with.",
|
|
43722
|
+
"attribute": "form",
|
|
43678
43723
|
"inheritedFrom": {
|
|
43679
43724
|
"name": "SbbButtonBaseElement",
|
|
43680
43725
|
"module": "core/base-elements/button-base-element.js"
|
|
43681
43726
|
}
|
|
43682
43727
|
},
|
|
43683
43728
|
{
|
|
43684
|
-
"
|
|
43685
|
-
"
|
|
43729
|
+
"kind": "field",
|
|
43730
|
+
"name": "_formId",
|
|
43686
43731
|
"type": {
|
|
43687
43732
|
"text": "string"
|
|
43688
43733
|
},
|
|
43689
|
-
"
|
|
43734
|
+
"privacy": "private",
|
|
43735
|
+
"default": "''",
|
|
43690
43736
|
"inheritedFrom": {
|
|
43691
|
-
"name": "
|
|
43692
|
-
"module": "core/
|
|
43737
|
+
"name": "SbbButtonBaseElement",
|
|
43738
|
+
"module": "core/base-elements/button-base-element.js"
|
|
43693
43739
|
}
|
|
43694
|
-
}
|
|
43695
|
-
]
|
|
43696
|
-
}
|
|
43697
|
-
],
|
|
43698
|
-
"exports": [
|
|
43699
|
-
{
|
|
43700
|
-
"kind": "js",
|
|
43701
|
-
"name": "SbbAccentButtonElement",
|
|
43702
|
-
"declaration": {
|
|
43703
|
-
"name": "SbbAccentButtonElement",
|
|
43704
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
43705
|
-
}
|
|
43706
|
-
}
|
|
43707
|
-
]
|
|
43708
|
-
},
|
|
43709
|
-
{
|
|
43710
|
-
"kind": "javascript-module",
|
|
43711
|
-
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
43712
|
-
"declarations": [
|
|
43713
|
-
{
|
|
43714
|
-
"kind": "class",
|
|
43715
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
43716
|
-
"name": "SbbAccentButtonLinkElement",
|
|
43717
|
-
"cssProperties": [
|
|
43740
|
+
},
|
|
43718
43741
|
{
|
|
43719
|
-
"
|
|
43720
|
-
"name": "
|
|
43721
|
-
"
|
|
43722
|
-
|
|
43723
|
-
|
|
43724
|
-
|
|
43742
|
+
"kind": "field",
|
|
43743
|
+
"name": "_handleButtonClick",
|
|
43744
|
+
"privacy": "private",
|
|
43745
|
+
"inheritedFrom": {
|
|
43746
|
+
"name": "SbbButtonBaseElement",
|
|
43747
|
+
"module": "core/base-elements/button-base-element.js"
|
|
43748
|
+
}
|
|
43749
|
+
},
|
|
43725
43750
|
{
|
|
43726
|
-
"
|
|
43727
|
-
"name": ""
|
|
43751
|
+
"kind": "method",
|
|
43752
|
+
"name": "_requestSubmit",
|
|
43753
|
+
"privacy": "private",
|
|
43754
|
+
"return": {
|
|
43755
|
+
"type": {
|
|
43756
|
+
"text": "void"
|
|
43757
|
+
}
|
|
43758
|
+
},
|
|
43759
|
+
"parameters": [
|
|
43760
|
+
{
|
|
43761
|
+
"name": "form",
|
|
43762
|
+
"type": {
|
|
43763
|
+
"text": "HTMLFormElement"
|
|
43764
|
+
}
|
|
43765
|
+
}
|
|
43766
|
+
],
|
|
43767
|
+
"inheritedFrom": {
|
|
43768
|
+
"name": "SbbButtonBaseElement",
|
|
43769
|
+
"module": "core/base-elements/button-base-element.js"
|
|
43770
|
+
}
|
|
43728
43771
|
},
|
|
43729
43772
|
{
|
|
43730
|
-
"
|
|
43731
|
-
"name": "
|
|
43732
|
-
|
|
43733
|
-
|
|
43734
|
-
|
|
43773
|
+
"kind": "field",
|
|
43774
|
+
"name": "_formKeyDown",
|
|
43775
|
+
"privacy": "private",
|
|
43776
|
+
"inheritedFrom": {
|
|
43777
|
+
"name": "SbbButtonBaseElement",
|
|
43778
|
+
"module": "core/base-elements/button-base-element.js"
|
|
43779
|
+
}
|
|
43780
|
+
},
|
|
43735
43781
|
{
|
|
43736
43782
|
"kind": "field",
|
|
43737
|
-
"name": "
|
|
43783
|
+
"name": "formAssociated",
|
|
43738
43784
|
"type": {
|
|
43739
|
-
"text": "
|
|
43785
|
+
"text": "boolean"
|
|
43740
43786
|
},
|
|
43741
43787
|
"privacy": "public",
|
|
43742
43788
|
"static": true,
|
|
43743
|
-
"
|
|
43744
|
-
"default": "'sbb-accent-button-link'",
|
|
43789
|
+
"default": "true",
|
|
43745
43790
|
"inheritedFrom": {
|
|
43746
|
-
"name": "
|
|
43747
|
-
"module": "core/
|
|
43791
|
+
"name": "SbbFormAssociatedMixin",
|
|
43792
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43748
43793
|
}
|
|
43749
43794
|
},
|
|
43750
43795
|
{
|
|
43751
43796
|
"kind": "field",
|
|
43752
|
-
"name": "
|
|
43797
|
+
"name": "name",
|
|
43798
|
+
"privacy": "public",
|
|
43799
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
43753
43800
|
"type": {
|
|
43754
|
-
"text": "
|
|
43801
|
+
"text": "string"
|
|
43755
43802
|
},
|
|
43756
|
-
"
|
|
43757
|
-
"description": "Size variant, either l, m or s.",
|
|
43758
|
-
"default": "'l' / 's' (lean)",
|
|
43759
|
-
"attribute": "size",
|
|
43760
|
-
"reflects": true,
|
|
43803
|
+
"attribute": "name",
|
|
43761
43804
|
"inheritedFrom": {
|
|
43762
|
-
"name": "
|
|
43763
|
-
"module": "
|
|
43805
|
+
"name": "SbbFormAssociatedMixin",
|
|
43806
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43764
43807
|
}
|
|
43765
43808
|
},
|
|
43766
43809
|
{
|
|
43767
43810
|
"kind": "field",
|
|
43768
|
-
"name": "
|
|
43811
|
+
"name": "validity",
|
|
43769
43812
|
"type": {
|
|
43770
|
-
"text": "
|
|
43813
|
+
"text": "ValidityState"
|
|
43771
43814
|
},
|
|
43772
43815
|
"privacy": "public",
|
|
43773
|
-
"
|
|
43774
|
-
"
|
|
43775
|
-
"attribute": "loading",
|
|
43776
|
-
"reflects": true,
|
|
43816
|
+
"description": "Returns the ValidityState object for this element.",
|
|
43817
|
+
"readonly": true,
|
|
43777
43818
|
"inheritedFrom": {
|
|
43778
|
-
"name": "
|
|
43779
|
-
"module": "
|
|
43819
|
+
"name": "SbbFormAssociatedMixin",
|
|
43820
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43780
43821
|
}
|
|
43781
43822
|
},
|
|
43782
43823
|
{
|
|
43783
|
-
"kind": "
|
|
43784
|
-
"name": "
|
|
43785
|
-
"
|
|
43786
|
-
|
|
43787
|
-
"type": {
|
|
43788
|
-
"text": "TemplateResult"
|
|
43789
|
-
}
|
|
43824
|
+
"kind": "field",
|
|
43825
|
+
"name": "validationMessage",
|
|
43826
|
+
"type": {
|
|
43827
|
+
"text": "string"
|
|
43790
43828
|
},
|
|
43791
|
-
"
|
|
43829
|
+
"privacy": "public",
|
|
43830
|
+
"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.",
|
|
43831
|
+
"readonly": true,
|
|
43792
43832
|
"inheritedFrom": {
|
|
43793
|
-
"name": "
|
|
43794
|
-
"module": "core/
|
|
43833
|
+
"name": "SbbFormAssociatedMixin",
|
|
43834
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43795
43835
|
}
|
|
43796
43836
|
},
|
|
43797
43837
|
{
|
|
43798
43838
|
"kind": "field",
|
|
43799
|
-
"name": "
|
|
43839
|
+
"name": "willValidate",
|
|
43800
43840
|
"type": {
|
|
43801
43841
|
"text": "boolean"
|
|
43802
43842
|
},
|
|
43803
43843
|
"privacy": "public",
|
|
43804
|
-
"
|
|
43805
|
-
"
|
|
43806
|
-
"attribute": "negative",
|
|
43807
|
-
"reflects": true,
|
|
43844
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
43845
|
+
"readonly": true,
|
|
43808
43846
|
"inheritedFrom": {
|
|
43809
|
-
"name": "
|
|
43810
|
-
"module": "core/mixins/
|
|
43847
|
+
"name": "SbbFormAssociatedMixin",
|
|
43848
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43811
43849
|
}
|
|
43812
43850
|
},
|
|
43813
43851
|
{
|
|
43814
43852
|
"kind": "field",
|
|
43815
|
-
"name": "
|
|
43816
|
-
"
|
|
43817
|
-
|
|
43818
|
-
},
|
|
43819
|
-
"privacy": "public",
|
|
43820
|
-
"static": true,
|
|
43821
|
-
"default": "[SbbIconElement]",
|
|
43853
|
+
"name": "_validityStates",
|
|
43854
|
+
"privacy": "private",
|
|
43855
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
43822
43856
|
"inheritedFrom": {
|
|
43823
|
-
"name": "
|
|
43824
|
-
"module": "core/
|
|
43857
|
+
"name": "SbbFormAssociatedMixin",
|
|
43858
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43825
43859
|
}
|
|
43826
43860
|
},
|
|
43827
43861
|
{
|
|
43828
43862
|
"kind": "field",
|
|
43829
|
-
"name": "
|
|
43863
|
+
"name": "formDisabled",
|
|
43830
43864
|
"type": {
|
|
43831
|
-
"text": "
|
|
43865
|
+
"text": "boolean"
|
|
43832
43866
|
},
|
|
43833
|
-
"privacy": "
|
|
43834
|
-
"default": "
|
|
43835
|
-
"description": "
|
|
43836
|
-
"attribute": "icon-name",
|
|
43867
|
+
"privacy": "protected",
|
|
43868
|
+
"default": "false",
|
|
43869
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
43837
43870
|
"inheritedFrom": {
|
|
43838
|
-
"name": "
|
|
43839
|
-
"module": "
|
|
43871
|
+
"name": "SbbFormAssociatedMixin",
|
|
43872
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43840
43873
|
}
|
|
43841
43874
|
},
|
|
43842
43875
|
{
|
|
43843
43876
|
"kind": "method",
|
|
43844
|
-
"name": "
|
|
43845
|
-
"privacy": "
|
|
43877
|
+
"name": "checkValidity",
|
|
43878
|
+
"privacy": "public",
|
|
43846
43879
|
"return": {
|
|
43847
43880
|
"type": {
|
|
43848
|
-
"text": "
|
|
43881
|
+
"text": "boolean"
|
|
43849
43882
|
}
|
|
43850
43883
|
},
|
|
43851
|
-
"
|
|
43852
|
-
{
|
|
43853
|
-
"name": "classname",
|
|
43854
|
-
"optional": true,
|
|
43855
|
-
"type": {
|
|
43856
|
-
"text": "string"
|
|
43857
|
-
}
|
|
43858
|
-
}
|
|
43859
|
-
],
|
|
43884
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
43860
43885
|
"inheritedFrom": {
|
|
43861
|
-
"name": "
|
|
43862
|
-
"module": "
|
|
43886
|
+
"name": "SbbFormAssociatedMixin",
|
|
43887
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43863
43888
|
}
|
|
43864
43889
|
},
|
|
43865
43890
|
{
|
|
43866
43891
|
"kind": "method",
|
|
43867
|
-
"name": "
|
|
43868
|
-
"privacy": "
|
|
43892
|
+
"name": "reportValidity",
|
|
43893
|
+
"privacy": "public",
|
|
43869
43894
|
"return": {
|
|
43870
43895
|
"type": {
|
|
43871
|
-
"text": "
|
|
43896
|
+
"text": "boolean"
|
|
43872
43897
|
}
|
|
43873
43898
|
},
|
|
43899
|
+
"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.",
|
|
43874
43900
|
"inheritedFrom": {
|
|
43875
|
-
"name": "
|
|
43876
|
-
"module": "
|
|
43901
|
+
"name": "SbbFormAssociatedMixin",
|
|
43902
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43877
43903
|
}
|
|
43878
43904
|
},
|
|
43879
43905
|
{
|
|
43880
43906
|
"kind": "method",
|
|
43881
|
-
"name": "
|
|
43882
|
-
"privacy": "
|
|
43907
|
+
"name": "setCustomValidity",
|
|
43908
|
+
"privacy": "public",
|
|
43883
43909
|
"return": {
|
|
43884
43910
|
"type": {
|
|
43885
|
-
"text": "
|
|
43911
|
+
"text": "void"
|
|
43886
43912
|
}
|
|
43887
43913
|
},
|
|
43914
|
+
"parameters": [
|
|
43915
|
+
{
|
|
43916
|
+
"name": "message",
|
|
43917
|
+
"type": {
|
|
43918
|
+
"text": "string"
|
|
43919
|
+
}
|
|
43920
|
+
}
|
|
43921
|
+
],
|
|
43922
|
+
"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.",
|
|
43888
43923
|
"inheritedFrom": {
|
|
43889
|
-
"name": "
|
|
43890
|
-
"module": "
|
|
43924
|
+
"name": "SbbFormAssociatedMixin",
|
|
43925
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43891
43926
|
}
|
|
43892
43927
|
},
|
|
43893
43928
|
{
|
|
43894
|
-
"kind": "
|
|
43895
|
-
"name": "
|
|
43896
|
-
"
|
|
43897
|
-
|
|
43929
|
+
"kind": "method",
|
|
43930
|
+
"name": "_hasDisabledAncestor",
|
|
43931
|
+
"privacy": "private",
|
|
43932
|
+
"return": {
|
|
43933
|
+
"type": {
|
|
43934
|
+
"text": "boolean"
|
|
43935
|
+
}
|
|
43898
43936
|
},
|
|
43899
|
-
"privacy": "public",
|
|
43900
|
-
"default": "false",
|
|
43901
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
43902
|
-
"attribute": "disabled-interactive",
|
|
43903
|
-
"reflects": true,
|
|
43904
43937
|
"inheritedFrom": {
|
|
43905
|
-
"name": "
|
|
43906
|
-
"module": "core/mixins/
|
|
43938
|
+
"name": "SbbFormAssociatedMixin",
|
|
43939
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43907
43940
|
}
|
|
43908
43941
|
},
|
|
43909
43942
|
{
|
|
43910
|
-
"kind": "
|
|
43911
|
-
"name": "
|
|
43912
|
-
"privacy": "
|
|
43913
|
-
"
|
|
43914
|
-
|
|
43915
|
-
|
|
43916
|
-
|
|
43943
|
+
"kind": "method",
|
|
43944
|
+
"name": "updateFormValue",
|
|
43945
|
+
"privacy": "protected",
|
|
43946
|
+
"return": {
|
|
43947
|
+
"type": {
|
|
43948
|
+
"text": "void"
|
|
43949
|
+
}
|
|
43917
43950
|
},
|
|
43918
|
-
"
|
|
43919
|
-
"reflects": true,
|
|
43951
|
+
"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",
|
|
43920
43952
|
"inheritedFrom": {
|
|
43921
|
-
"name": "
|
|
43922
|
-
"module": "core/mixins/
|
|
43953
|
+
"name": "SbbFormAssociatedMixin",
|
|
43954
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43923
43955
|
}
|
|
43924
43956
|
},
|
|
43925
43957
|
{
|
|
43926
|
-
"kind": "
|
|
43927
|
-
"name": "
|
|
43928
|
-
"privacy": "
|
|
43929
|
-
"
|
|
43930
|
-
"
|
|
43958
|
+
"kind": "method",
|
|
43959
|
+
"name": "formState",
|
|
43960
|
+
"privacy": "protected",
|
|
43961
|
+
"return": {
|
|
43962
|
+
"type": {
|
|
43963
|
+
"text": "FormRestoreState"
|
|
43964
|
+
}
|
|
43931
43965
|
},
|
|
43932
|
-
"default": "false",
|
|
43933
43966
|
"inheritedFrom": {
|
|
43934
|
-
"name": "
|
|
43935
|
-
"module": "core/mixins/
|
|
43967
|
+
"name": "SbbFormAssociatedMixin",
|
|
43968
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43936
43969
|
}
|
|
43937
43970
|
},
|
|
43938
43971
|
{
|
|
43939
43972
|
"kind": "method",
|
|
43940
|
-
"name": "
|
|
43973
|
+
"name": "setValidityFlag",
|
|
43941
43974
|
"privacy": "protected",
|
|
43942
43975
|
"return": {
|
|
43943
43976
|
"type": {
|
|
43944
|
-
"text": "
|
|
43977
|
+
"text": "void"
|
|
43945
43978
|
}
|
|
43946
43979
|
},
|
|
43947
|
-
"
|
|
43980
|
+
"parameters": [
|
|
43981
|
+
{
|
|
43982
|
+
"name": "flag",
|
|
43983
|
+
"type": {
|
|
43984
|
+
"text": "T"
|
|
43985
|
+
}
|
|
43986
|
+
},
|
|
43987
|
+
{
|
|
43988
|
+
"name": "message",
|
|
43989
|
+
"type": {
|
|
43990
|
+
"text": "string"
|
|
43991
|
+
}
|
|
43992
|
+
},
|
|
43993
|
+
{
|
|
43994
|
+
"name": "flagValue",
|
|
43995
|
+
"optional": true,
|
|
43996
|
+
"type": {
|
|
43997
|
+
"text": "ValidityStateFlags[T]"
|
|
43998
|
+
}
|
|
43999
|
+
}
|
|
44000
|
+
],
|
|
44001
|
+
"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).",
|
|
43948
44002
|
"inheritedFrom": {
|
|
43949
|
-
"name": "
|
|
43950
|
-
"module": "core/mixins/
|
|
44003
|
+
"name": "SbbFormAssociatedMixin",
|
|
44004
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43951
44005
|
}
|
|
43952
44006
|
},
|
|
43953
44007
|
{
|
|
43954
|
-
"kind": "
|
|
43955
|
-
"name": "
|
|
43956
|
-
"
|
|
43957
|
-
|
|
44008
|
+
"kind": "method",
|
|
44009
|
+
"name": "removeValidityFlag",
|
|
44010
|
+
"privacy": "protected",
|
|
44011
|
+
"return": {
|
|
44012
|
+
"type": {
|
|
44013
|
+
"text": "void"
|
|
44014
|
+
}
|
|
43958
44015
|
},
|
|
43959
|
-
"
|
|
43960
|
-
|
|
43961
|
-
|
|
43962
|
-
|
|
43963
|
-
|
|
44016
|
+
"parameters": [
|
|
44017
|
+
{
|
|
44018
|
+
"name": "flag",
|
|
44019
|
+
"type": {
|
|
44020
|
+
"text": "T"
|
|
44021
|
+
}
|
|
44022
|
+
}
|
|
44023
|
+
],
|
|
44024
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
43964
44025
|
"inheritedFrom": {
|
|
43965
|
-
"name": "
|
|
43966
|
-
"module": "core/
|
|
44026
|
+
"name": "SbbFormAssociatedMixin",
|
|
44027
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43967
44028
|
}
|
|
43968
44029
|
},
|
|
43969
44030
|
{
|
|
43970
|
-
"kind": "
|
|
43971
|
-
"name": "
|
|
43972
|
-
"
|
|
43973
|
-
|
|
44031
|
+
"kind": "method",
|
|
44032
|
+
"name": "validate",
|
|
44033
|
+
"privacy": "protected",
|
|
44034
|
+
"return": {
|
|
44035
|
+
"type": {
|
|
44036
|
+
"text": "void"
|
|
44037
|
+
}
|
|
43974
44038
|
},
|
|
43975
|
-
"
|
|
43976
|
-
"default": "''",
|
|
43977
|
-
"description": "Where to display the linked URL.",
|
|
43978
|
-
"attribute": "target",
|
|
43979
|
-
"reflects": true,
|
|
44039
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
43980
44040
|
"inheritedFrom": {
|
|
43981
|
-
"name": "
|
|
43982
|
-
"module": "core/
|
|
44041
|
+
"name": "SbbFormAssociatedMixin",
|
|
44042
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43983
44043
|
}
|
|
43984
44044
|
},
|
|
43985
44045
|
{
|
|
43986
|
-
"kind": "
|
|
43987
|
-
"name": "
|
|
43988
|
-
"
|
|
43989
|
-
|
|
44046
|
+
"kind": "method",
|
|
44047
|
+
"name": "shouldValidate",
|
|
44048
|
+
"privacy": "protected",
|
|
44049
|
+
"return": {
|
|
44050
|
+
"type": {
|
|
44051
|
+
"text": "boolean"
|
|
44052
|
+
}
|
|
43990
44053
|
},
|
|
43991
|
-
"
|
|
43992
|
-
|
|
43993
|
-
|
|
43994
|
-
|
|
43995
|
-
|
|
44054
|
+
"parameters": [
|
|
44055
|
+
{
|
|
44056
|
+
"name": "name",
|
|
44057
|
+
"type": {
|
|
44058
|
+
"text": "PropertyKey | undefined"
|
|
44059
|
+
}
|
|
44060
|
+
}
|
|
44061
|
+
],
|
|
44062
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
43996
44063
|
"inheritedFrom": {
|
|
43997
|
-
"name": "
|
|
43998
|
-
"module": "core/
|
|
44064
|
+
"name": "SbbFormAssociatedMixin",
|
|
44065
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
43999
44066
|
}
|
|
44000
44067
|
},
|
|
44001
44068
|
{
|
|
44002
|
-
"kind": "
|
|
44003
|
-
"name": "
|
|
44004
|
-
"
|
|
44005
|
-
|
|
44069
|
+
"kind": "method",
|
|
44070
|
+
"name": "_setInternalValidity",
|
|
44071
|
+
"privacy": "private",
|
|
44072
|
+
"return": {
|
|
44073
|
+
"type": {
|
|
44074
|
+
"text": "void"
|
|
44075
|
+
}
|
|
44006
44076
|
},
|
|
44007
|
-
"privacy": "public",
|
|
44008
|
-
"default": "false",
|
|
44009
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
44010
|
-
"attribute": "download",
|
|
44011
|
-
"reflects": true,
|
|
44012
44077
|
"inheritedFrom": {
|
|
44013
|
-
"name": "
|
|
44014
|
-
"module": "core/
|
|
44078
|
+
"name": "SbbFormAssociatedMixin",
|
|
44079
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
44015
44080
|
}
|
|
44016
44081
|
},
|
|
44017
44082
|
{
|
|
44018
44083
|
"kind": "field",
|
|
44019
|
-
"name": "
|
|
44084
|
+
"name": "role",
|
|
44020
44085
|
"type": {
|
|
44021
|
-
"text": "
|
|
44086
|
+
"text": "ElementInternals['role']"
|
|
44022
44087
|
},
|
|
44023
44088
|
"privacy": "public",
|
|
44024
|
-
"
|
|
44025
|
-
"
|
|
44026
|
-
"
|
|
44089
|
+
"static": true,
|
|
44090
|
+
"readonly": true,
|
|
44091
|
+
"default": "'button'",
|
|
44027
44092
|
"inheritedFrom": {
|
|
44028
|
-
"name": "
|
|
44029
|
-
"module": "core/base-elements/
|
|
44093
|
+
"name": "SbbElement",
|
|
44094
|
+
"module": "core/base-elements/element.js"
|
|
44030
44095
|
}
|
|
44031
44096
|
},
|
|
44032
44097
|
{
|
|
44033
44098
|
"kind": "field",
|
|
44034
|
-
"name": "
|
|
44035
|
-
"
|
|
44036
|
-
|
|
44037
|
-
|
|
44038
|
-
|
|
44039
|
-
|
|
44040
|
-
|
|
44041
|
-
|
|
44099
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
44100
|
+
"privacy": "private",
|
|
44101
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
44102
|
+
"parameters": [
|
|
44103
|
+
{
|
|
44104
|
+
"description": "The origin event.",
|
|
44105
|
+
"name": "event"
|
|
44106
|
+
}
|
|
44107
|
+
],
|
|
44042
44108
|
"inheritedFrom": {
|
|
44043
|
-
"name": "
|
|
44044
|
-
"module": "core/base-elements/
|
|
44109
|
+
"name": "SbbButtonLikeBaseElement",
|
|
44110
|
+
"module": "core/base-elements/button-base-element.js"
|
|
44045
44111
|
}
|
|
44046
44112
|
},
|
|
44047
44113
|
{
|
|
44048
44114
|
"kind": "field",
|
|
44049
|
-
"name": "
|
|
44050
|
-
"privacy": "
|
|
44051
|
-
"default": "new SbbLanguageController(this)",
|
|
44115
|
+
"name": "_removeActiveMarker",
|
|
44116
|
+
"privacy": "private",
|
|
44052
44117
|
"inheritedFrom": {
|
|
44053
|
-
"name": "
|
|
44054
|
-
"module": "core/base-elements/
|
|
44118
|
+
"name": "SbbButtonLikeBaseElement",
|
|
44119
|
+
"module": "core/base-elements/button-base-element.js"
|
|
44055
44120
|
}
|
|
44056
44121
|
},
|
|
44057
44122
|
{
|
|
44058
44123
|
"kind": "field",
|
|
44059
|
-
"name": "
|
|
44060
|
-
"
|
|
44061
|
-
|
|
44062
|
-
|
|
44063
|
-
|
|
44064
|
-
|
|
44065
|
-
|
|
44124
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
44125
|
+
"privacy": "private",
|
|
44126
|
+
"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.",
|
|
44127
|
+
"parameters": [
|
|
44128
|
+
{
|
|
44129
|
+
"description": "The origin event.",
|
|
44130
|
+
"name": "event"
|
|
44131
|
+
}
|
|
44132
|
+
],
|
|
44066
44133
|
"inheritedFrom": {
|
|
44067
|
-
"name": "
|
|
44068
|
-
"module": "core/base-elements/
|
|
44134
|
+
"name": "SbbButtonLikeBaseElement",
|
|
44135
|
+
"module": "core/base-elements/button-base-element.js"
|
|
44069
44136
|
}
|
|
44070
44137
|
},
|
|
44071
44138
|
{
|
|
44072
44139
|
"kind": "field",
|
|
44073
|
-
"name": "
|
|
44140
|
+
"name": "_dispatchClickEvent",
|
|
44074
44141
|
"privacy": "private",
|
|
44075
44142
|
"inheritedFrom": {
|
|
44076
|
-
"name": "
|
|
44077
|
-
"module": "core/base-elements/
|
|
44078
|
-
}
|
|
44079
|
-
},
|
|
44080
|
-
{
|
|
44081
|
-
"kind": "method",
|
|
44082
|
-
"name": "renderLink",
|
|
44083
|
-
"privacy": "protected",
|
|
44084
|
-
"return": {
|
|
44085
|
-
"type": {
|
|
44086
|
-
"text": "TemplateResult"
|
|
44087
|
-
}
|
|
44088
|
-
},
|
|
44089
|
-
"parameters": [
|
|
44090
|
-
{
|
|
44091
|
-
"name": "renderContent",
|
|
44092
|
-
"type": {
|
|
44093
|
-
"text": "TemplateResult"
|
|
44094
|
-
}
|
|
44095
|
-
}
|
|
44096
|
-
],
|
|
44097
|
-
"inheritedFrom": {
|
|
44098
|
-
"name": "SbbLinkBaseElement",
|
|
44099
|
-
"module": "core/base-elements/link-base-element.js"
|
|
44143
|
+
"name": "SbbButtonLikeBaseElement",
|
|
44144
|
+
"module": "core/base-elements/button-base-element.js"
|
|
44100
44145
|
}
|
|
44101
44146
|
},
|
|
44102
44147
|
{
|
|
@@ -44153,19 +44198,6 @@
|
|
|
44153
44198
|
"module": "core/base-elements/element.js"
|
|
44154
44199
|
}
|
|
44155
44200
|
},
|
|
44156
|
-
{
|
|
44157
|
-
"kind": "field",
|
|
44158
|
-
"name": "role",
|
|
44159
|
-
"type": {
|
|
44160
|
-
"text": "ElementInternals['role'] | undefined"
|
|
44161
|
-
},
|
|
44162
|
-
"privacy": "public",
|
|
44163
|
-
"static": true,
|
|
44164
|
-
"inheritedFrom": {
|
|
44165
|
-
"name": "SbbElement",
|
|
44166
|
-
"module": "core/base-elements/element.js"
|
|
44167
|
-
}
|
|
44168
|
-
},
|
|
44169
44201
|
{
|
|
44170
44202
|
"kind": "field",
|
|
44171
44203
|
"name": "_controllers",
|
|
@@ -44392,19 +44424,15 @@
|
|
|
44392
44424
|
"module": "button/common/button-common.js"
|
|
44393
44425
|
},
|
|
44394
44426
|
{
|
|
44395
|
-
"name": "
|
|
44396
|
-
"module": "core.js"
|
|
44397
|
-
},
|
|
44398
|
-
{
|
|
44399
|
-
"name": "SbbDisabledMixin",
|
|
44427
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
44400
44428
|
"module": "core.js"
|
|
44401
44429
|
}
|
|
44402
44430
|
],
|
|
44403
44431
|
"superclass": {
|
|
44404
|
-
"name": "
|
|
44432
|
+
"name": "SbbButtonBaseElement",
|
|
44405
44433
|
"module": "core.js"
|
|
44406
44434
|
},
|
|
44407
|
-
"tagName": "sbb-accent-button
|
|
44435
|
+
"tagName": "sbb-accent-button",
|
|
44408
44436
|
"customElement": true,
|
|
44409
44437
|
"attributes": [
|
|
44410
44438
|
{
|
|
@@ -44486,81 +44514,53 @@
|
|
|
44486
44514
|
}
|
|
44487
44515
|
},
|
|
44488
44516
|
{
|
|
44489
|
-
"name": "
|
|
44490
|
-
"type": {
|
|
44491
|
-
"text": "string"
|
|
44492
|
-
},
|
|
44493
|
-
"default": "''",
|
|
44494
|
-
"description": "The href value you want to link to.",
|
|
44495
|
-
"fieldName": "href",
|
|
44496
|
-
"inheritedFrom": {
|
|
44497
|
-
"name": "SbbLinkBaseElement",
|
|
44498
|
-
"module": "core/base-elements/link-base-element.js"
|
|
44499
|
-
}
|
|
44500
|
-
},
|
|
44501
|
-
{
|
|
44502
|
-
"name": "target",
|
|
44503
|
-
"type": {
|
|
44504
|
-
"text": "LinkTargetType | string"
|
|
44505
|
-
},
|
|
44506
|
-
"default": "''",
|
|
44507
|
-
"description": "Where to display the linked URL.",
|
|
44508
|
-
"fieldName": "target",
|
|
44509
|
-
"inheritedFrom": {
|
|
44510
|
-
"name": "SbbLinkBaseElement",
|
|
44511
|
-
"module": "core/base-elements/link-base-element.js"
|
|
44512
|
-
}
|
|
44513
|
-
},
|
|
44514
|
-
{
|
|
44515
|
-
"name": "rel",
|
|
44517
|
+
"name": "value",
|
|
44516
44518
|
"type": {
|
|
44517
44519
|
"text": "string"
|
|
44518
44520
|
},
|
|
44519
44521
|
"default": "''",
|
|
44520
|
-
"description": "
|
|
44521
|
-
"fieldName": "
|
|
44522
|
+
"description": "Value of the form element.",
|
|
44523
|
+
"fieldName": "value",
|
|
44522
44524
|
"inheritedFrom": {
|
|
44523
|
-
"name": "
|
|
44524
|
-
"module": "core/base-elements/
|
|
44525
|
+
"name": "SbbButtonBaseElement",
|
|
44526
|
+
"module": "core/base-elements/button-base-element.js"
|
|
44525
44527
|
}
|
|
44526
44528
|
},
|
|
44527
44529
|
{
|
|
44528
|
-
"name": "
|
|
44530
|
+
"name": "type",
|
|
44531
|
+
"description": "The type attribute to use for the button.",
|
|
44532
|
+
"default": "'button'",
|
|
44529
44533
|
"type": {
|
|
44530
|
-
"text": "
|
|
44534
|
+
"text": "SbbButtonType"
|
|
44531
44535
|
},
|
|
44532
|
-
"
|
|
44533
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
44534
|
-
"fieldName": "download",
|
|
44536
|
+
"fieldName": "type",
|
|
44535
44537
|
"inheritedFrom": {
|
|
44536
|
-
"name": "
|
|
44537
|
-
"module": "core/base-elements/
|
|
44538
|
+
"name": "SbbButtonBaseElement",
|
|
44539
|
+
"module": "core/base-elements/button-base-element.js"
|
|
44538
44540
|
}
|
|
44539
44541
|
},
|
|
44540
44542
|
{
|
|
44541
|
-
"name": "
|
|
44543
|
+
"name": "form",
|
|
44544
|
+
"description": "The `<form>` element to associate the button with.",
|
|
44542
44545
|
"type": {
|
|
44543
|
-
"text": "
|
|
44546
|
+
"text": "HTMLFormElement | null"
|
|
44544
44547
|
},
|
|
44545
|
-
"
|
|
44546
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
44547
|
-
"fieldName": "accessibilityLabel",
|
|
44548
|
+
"fieldName": "form",
|
|
44548
44549
|
"inheritedFrom": {
|
|
44549
|
-
"name": "
|
|
44550
|
-
"module": "core/base-elements/
|
|
44550
|
+
"name": "SbbButtonBaseElement",
|
|
44551
|
+
"module": "core/base-elements/button-base-element.js"
|
|
44551
44552
|
}
|
|
44552
44553
|
},
|
|
44553
44554
|
{
|
|
44554
|
-
"name": "
|
|
44555
|
+
"name": "name",
|
|
44556
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
44555
44557
|
"type": {
|
|
44556
44558
|
"text": "string"
|
|
44557
44559
|
},
|
|
44558
|
-
"
|
|
44559
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
44560
|
-
"fieldName": "accessibilityCurrent",
|
|
44560
|
+
"fieldName": "name",
|
|
44561
44561
|
"inheritedFrom": {
|
|
44562
|
-
"name": "
|
|
44563
|
-
"module": "core/
|
|
44562
|
+
"name": "SbbFormAssociatedMixin",
|
|
44563
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
44564
44564
|
}
|
|
44565
44565
|
}
|
|
44566
44566
|
]
|
|
@@ -44569,10 +44569,10 @@
|
|
|
44569
44569
|
"exports": [
|
|
44570
44570
|
{
|
|
44571
44571
|
"kind": "js",
|
|
44572
|
-
"name": "
|
|
44572
|
+
"name": "SbbAccentButtonElement",
|
|
44573
44573
|
"declaration": {
|
|
44574
|
-
"name": "
|
|
44575
|
-
"module": "button/accent-button
|
|
44574
|
+
"name": "SbbAccentButtonElement",
|
|
44575
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
44576
44576
|
}
|
|
44577
44577
|
}
|
|
44578
44578
|
]
|
|
@@ -46344,12 +46344,12 @@
|
|
|
46344
46344
|
},
|
|
46345
46345
|
{
|
|
46346
46346
|
"kind": "javascript-module",
|
|
46347
|
-
"path": "button/button-
|
|
46347
|
+
"path": "button/button-static/button-static.component.js",
|
|
46348
46348
|
"declarations": [
|
|
46349
46349
|
{
|
|
46350
46350
|
"kind": "class",
|
|
46351
|
-
"description": "It displays a button enhanced with the SBB Design in the 'primary' variant
|
|
46352
|
-
"name": "
|
|
46351
|
+
"description": "It displays a static button enhanced with the SBB Design in the 'primary' variant.",
|
|
46352
|
+
"name": "SbbButtonStaticElement",
|
|
46353
46353
|
"cssProperties": [
|
|
46354
46354
|
{
|
|
46355
46355
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -46359,7 +46359,7 @@
|
|
|
46359
46359
|
],
|
|
46360
46360
|
"slots": [
|
|
46361
46361
|
{
|
|
46362
|
-
"description": "Use the unnamed slot to add content to the button-
|
|
46362
|
+
"description": "Use the unnamed slot to add content to the button-static.",
|
|
46363
46363
|
"name": ""
|
|
46364
46364
|
},
|
|
46365
46365
|
{
|
|
@@ -46377,7 +46377,7 @@
|
|
|
46377
46377
|
"privacy": "public",
|
|
46378
46378
|
"static": true,
|
|
46379
46379
|
"readonly": true,
|
|
46380
|
-
"default": "'sbb-button-
|
|
46380
|
+
"default": "'sbb-button-static'",
|
|
46381
46381
|
"inheritedFrom": {
|
|
46382
46382
|
"name": "SbbElement",
|
|
46383
46383
|
"module": "core/base-elements/element.js"
|
|
@@ -46408,331 +46408,166 @@
|
|
|
46408
46408
|
"privacy": "public",
|
|
46409
46409
|
"default": "false",
|
|
46410
46410
|
"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.",
|
|
46411
|
-
"attribute": "loading",
|
|
46412
|
-
"reflects": true,
|
|
46413
|
-
"inheritedFrom": {
|
|
46414
|
-
"name": "SbbButtonCommonElementMixin",
|
|
46415
|
-
"module": "button/common/button-common.js"
|
|
46416
|
-
}
|
|
46417
|
-
},
|
|
46418
|
-
{
|
|
46419
|
-
"kind": "method",
|
|
46420
|
-
"name": "renderTemplate",
|
|
46421
|
-
"privacy": "protected",
|
|
46422
|
-
"return": {
|
|
46423
|
-
"type": {
|
|
46424
|
-
"text": "TemplateResult"
|
|
46425
|
-
}
|
|
46426
|
-
},
|
|
46427
|
-
"description": "Override this method to render the component template.",
|
|
46428
|
-
"inheritedFrom": {
|
|
46429
|
-
"name": "SbbActionBaseElement",
|
|
46430
|
-
"module": "core/base-elements/action-base-element.js"
|
|
46431
|
-
}
|
|
46432
|
-
},
|
|
46433
|
-
{
|
|
46434
|
-
"kind": "field",
|
|
46435
|
-
"name": "negative",
|
|
46436
|
-
"type": {
|
|
46437
|
-
"text": "boolean"
|
|
46438
|
-
},
|
|
46439
|
-
"privacy": "public",
|
|
46440
|
-
"default": "false",
|
|
46441
|
-
"description": "Negative coloring variant flag.",
|
|
46442
|
-
"attribute": "negative",
|
|
46443
|
-
"reflects": true,
|
|
46444
|
-
"inheritedFrom": {
|
|
46445
|
-
"name": "SbbNegativeMixin",
|
|
46446
|
-
"module": "core/mixins/negative-mixin.js"
|
|
46447
|
-
}
|
|
46448
|
-
},
|
|
46449
|
-
{
|
|
46450
|
-
"kind": "field",
|
|
46451
|
-
"name": "elementDependencies",
|
|
46452
|
-
"type": {
|
|
46453
|
-
"text": "SbbElementType[]"
|
|
46454
|
-
},
|
|
46455
|
-
"privacy": "public",
|
|
46456
|
-
"static": true,
|
|
46457
|
-
"default": "[SbbIconElement]",
|
|
46458
|
-
"inheritedFrom": {
|
|
46459
|
-
"name": "SbbElement",
|
|
46460
|
-
"module": "core/base-elements/element.js"
|
|
46461
|
-
}
|
|
46462
|
-
},
|
|
46463
|
-
{
|
|
46464
|
-
"kind": "field",
|
|
46465
|
-
"name": "iconName",
|
|
46466
|
-
"type": {
|
|
46467
|
-
"text": "string"
|
|
46468
|
-
},
|
|
46469
|
-
"privacy": "public",
|
|
46470
|
-
"default": "''",
|
|
46471
|
-
"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.",
|
|
46472
|
-
"attribute": "icon-name",
|
|
46473
|
-
"inheritedFrom": {
|
|
46474
|
-
"name": "SbbIconNameMixin",
|
|
46475
|
-
"module": "icon/icon-name-mixin.js"
|
|
46476
|
-
}
|
|
46477
|
-
},
|
|
46478
|
-
{
|
|
46479
|
-
"kind": "method",
|
|
46480
|
-
"name": "renderIconSlot",
|
|
46481
|
-
"privacy": "protected",
|
|
46482
|
-
"return": {
|
|
46483
|
-
"type": {
|
|
46484
|
-
"text": "TemplateResult"
|
|
46485
|
-
}
|
|
46486
|
-
},
|
|
46487
|
-
"parameters": [
|
|
46488
|
-
{
|
|
46489
|
-
"name": "classname",
|
|
46490
|
-
"optional": true,
|
|
46491
|
-
"type": {
|
|
46492
|
-
"text": "string"
|
|
46493
|
-
}
|
|
46494
|
-
}
|
|
46495
|
-
],
|
|
46496
|
-
"inheritedFrom": {
|
|
46497
|
-
"name": "SbbIconNameMixin",
|
|
46498
|
-
"module": "icon/icon-name-mixin.js"
|
|
46499
|
-
}
|
|
46500
|
-
},
|
|
46501
|
-
{
|
|
46502
|
-
"kind": "method",
|
|
46503
|
-
"name": "renderIconName",
|
|
46504
|
-
"privacy": "protected",
|
|
46505
|
-
"return": {
|
|
46506
|
-
"type": {
|
|
46507
|
-
"text": "string"
|
|
46508
|
-
}
|
|
46509
|
-
},
|
|
46510
|
-
"inheritedFrom": {
|
|
46511
|
-
"name": "SbbIconNameMixin",
|
|
46512
|
-
"module": "icon/icon-name-mixin.js"
|
|
46513
|
-
}
|
|
46514
|
-
},
|
|
46515
|
-
{
|
|
46516
|
-
"kind": "method",
|
|
46517
|
-
"name": "_renderIconName",
|
|
46518
|
-
"privacy": "private",
|
|
46519
|
-
"return": {
|
|
46520
|
-
"type": {
|
|
46521
|
-
"text": "string"
|
|
46522
|
-
}
|
|
46523
|
-
},
|
|
46524
|
-
"inheritedFrom": {
|
|
46525
|
-
"name": "SbbIconNameMixin",
|
|
46526
|
-
"module": "icon/icon-name-mixin.js"
|
|
46527
|
-
}
|
|
46528
|
-
},
|
|
46529
|
-
{
|
|
46530
|
-
"kind": "field",
|
|
46531
|
-
"name": "disabledInteractive",
|
|
46532
|
-
"type": {
|
|
46533
|
-
"text": "boolean"
|
|
46534
|
-
},
|
|
46535
|
-
"privacy": "public",
|
|
46536
|
-
"default": "false",
|
|
46537
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
46538
|
-
"attribute": "disabled-interactive",
|
|
46539
|
-
"reflects": true,
|
|
46540
|
-
"inheritedFrom": {
|
|
46541
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
46542
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
46543
|
-
}
|
|
46544
|
-
},
|
|
46545
|
-
{
|
|
46546
|
-
"kind": "field",
|
|
46547
|
-
"name": "disabled",
|
|
46548
|
-
"privacy": "public",
|
|
46549
|
-
"description": "Whether the component is disabled.",
|
|
46550
|
-
"default": "false",
|
|
46551
|
-
"type": {
|
|
46552
|
-
"text": "boolean"
|
|
46553
|
-
},
|
|
46554
|
-
"attribute": "disabled",
|
|
46555
|
-
"reflects": true,
|
|
46556
|
-
"inheritedFrom": {
|
|
46557
|
-
"name": "SbbDisabledMixin",
|
|
46558
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
46559
|
-
}
|
|
46560
|
-
},
|
|
46561
|
-
{
|
|
46562
|
-
"kind": "field",
|
|
46563
|
-
"name": "#disabled",
|
|
46564
|
-
"privacy": "private",
|
|
46565
|
-
"type": {
|
|
46566
|
-
"text": "boolean"
|
|
46567
|
-
},
|
|
46568
|
-
"default": "false",
|
|
46569
|
-
"inheritedFrom": {
|
|
46570
|
-
"name": "SbbDisabledMixin",
|
|
46571
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
46572
|
-
}
|
|
46573
|
-
},
|
|
46574
|
-
{
|
|
46575
|
-
"kind": "method",
|
|
46576
|
-
"name": "isDisabledExternally",
|
|
46577
|
-
"privacy": "protected",
|
|
46578
|
-
"return": {
|
|
46579
|
-
"type": {
|
|
46580
|
-
"text": "boolean"
|
|
46581
|
-
}
|
|
46582
|
-
},
|
|
46583
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
46584
|
-
"inheritedFrom": {
|
|
46585
|
-
"name": "SbbDisabledMixin",
|
|
46586
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
46587
|
-
}
|
|
46588
|
-
},
|
|
46589
|
-
{
|
|
46590
|
-
"kind": "field",
|
|
46591
|
-
"name": "href",
|
|
46592
|
-
"type": {
|
|
46593
|
-
"text": "string"
|
|
46594
|
-
},
|
|
46595
|
-
"privacy": "public",
|
|
46596
|
-
"default": "''",
|
|
46597
|
-
"description": "The href value you want to link to.",
|
|
46598
|
-
"attribute": "href",
|
|
46599
|
-
"reflects": true,
|
|
46600
|
-
"inheritedFrom": {
|
|
46601
|
-
"name": "SbbLinkBaseElement",
|
|
46602
|
-
"module": "core/base-elements/link-base-element.js"
|
|
46603
|
-
}
|
|
46604
|
-
},
|
|
46605
|
-
{
|
|
46606
|
-
"kind": "field",
|
|
46607
|
-
"name": "target",
|
|
46608
|
-
"type": {
|
|
46609
|
-
"text": "LinkTargetType | string"
|
|
46610
|
-
},
|
|
46611
|
-
"privacy": "public",
|
|
46612
|
-
"default": "''",
|
|
46613
|
-
"description": "Where to display the linked URL.",
|
|
46614
|
-
"attribute": "target",
|
|
46411
|
+
"attribute": "loading",
|
|
46615
46412
|
"reflects": true,
|
|
46616
46413
|
"inheritedFrom": {
|
|
46617
|
-
"name": "
|
|
46618
|
-
"module": "
|
|
46414
|
+
"name": "SbbButtonCommonElementMixin",
|
|
46415
|
+
"module": "button/common/button-common.js"
|
|
46619
46416
|
}
|
|
46620
46417
|
},
|
|
46621
46418
|
{
|
|
46622
|
-
"kind": "
|
|
46623
|
-
"name": "
|
|
46624
|
-
"
|
|
46625
|
-
|
|
46419
|
+
"kind": "method",
|
|
46420
|
+
"name": "renderTemplate",
|
|
46421
|
+
"privacy": "protected",
|
|
46422
|
+
"return": {
|
|
46423
|
+
"type": {
|
|
46424
|
+
"text": "TemplateResult"
|
|
46425
|
+
}
|
|
46626
46426
|
},
|
|
46627
|
-
"
|
|
46628
|
-
"default": "''",
|
|
46629
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
46630
|
-
"attribute": "rel",
|
|
46631
|
-
"reflects": true,
|
|
46427
|
+
"description": "Override this method to render the component template.",
|
|
46632
46428
|
"inheritedFrom": {
|
|
46633
|
-
"name": "
|
|
46634
|
-
"module": "core/base-elements/
|
|
46429
|
+
"name": "SbbActionBaseElement",
|
|
46430
|
+
"module": "core/base-elements/action-base-element.js"
|
|
46635
46431
|
}
|
|
46636
46432
|
},
|
|
46637
46433
|
{
|
|
46638
46434
|
"kind": "field",
|
|
46639
|
-
"name": "
|
|
46435
|
+
"name": "negative",
|
|
46640
46436
|
"type": {
|
|
46641
46437
|
"text": "boolean"
|
|
46642
46438
|
},
|
|
46643
46439
|
"privacy": "public",
|
|
46644
46440
|
"default": "false",
|
|
46645
|
-
"description": "
|
|
46646
|
-
"attribute": "
|
|
46441
|
+
"description": "Negative coloring variant flag.",
|
|
46442
|
+
"attribute": "negative",
|
|
46647
46443
|
"reflects": true,
|
|
46648
46444
|
"inheritedFrom": {
|
|
46649
|
-
"name": "
|
|
46650
|
-
"module": "core/
|
|
46445
|
+
"name": "SbbNegativeMixin",
|
|
46446
|
+
"module": "core/mixins/negative-mixin.js"
|
|
46651
46447
|
}
|
|
46652
46448
|
},
|
|
46653
46449
|
{
|
|
46654
46450
|
"kind": "field",
|
|
46655
|
-
"name": "
|
|
46451
|
+
"name": "elementDependencies",
|
|
46656
46452
|
"type": {
|
|
46657
|
-
"text": "
|
|
46453
|
+
"text": "SbbElementType[]"
|
|
46658
46454
|
},
|
|
46659
46455
|
"privacy": "public",
|
|
46660
|
-
"
|
|
46661
|
-
"
|
|
46662
|
-
"attribute": "accessibility-label",
|
|
46456
|
+
"static": true,
|
|
46457
|
+
"default": "[SbbIconElement]",
|
|
46663
46458
|
"inheritedFrom": {
|
|
46664
|
-
"name": "
|
|
46665
|
-
"module": "core/base-elements/
|
|
46459
|
+
"name": "SbbElement",
|
|
46460
|
+
"module": "core/base-elements/element.js"
|
|
46666
46461
|
}
|
|
46667
46462
|
},
|
|
46668
46463
|
{
|
|
46669
46464
|
"kind": "field",
|
|
46670
|
-
"name": "
|
|
46465
|
+
"name": "iconName",
|
|
46671
46466
|
"type": {
|
|
46672
46467
|
"text": "string"
|
|
46673
46468
|
},
|
|
46674
46469
|
"privacy": "public",
|
|
46675
46470
|
"default": "''",
|
|
46676
|
-
"description": "
|
|
46677
|
-
"attribute": "
|
|
46471
|
+
"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.",
|
|
46472
|
+
"attribute": "icon-name",
|
|
46678
46473
|
"inheritedFrom": {
|
|
46679
|
-
"name": "
|
|
46680
|
-
"module": "
|
|
46474
|
+
"name": "SbbIconNameMixin",
|
|
46475
|
+
"module": "icon/icon-name-mixin.js"
|
|
46681
46476
|
}
|
|
46682
46477
|
},
|
|
46683
46478
|
{
|
|
46684
|
-
"kind": "
|
|
46685
|
-
"name": "
|
|
46479
|
+
"kind": "method",
|
|
46480
|
+
"name": "renderIconSlot",
|
|
46686
46481
|
"privacy": "protected",
|
|
46687
|
-
"
|
|
46482
|
+
"return": {
|
|
46483
|
+
"type": {
|
|
46484
|
+
"text": "TemplateResult"
|
|
46485
|
+
}
|
|
46486
|
+
},
|
|
46487
|
+
"parameters": [
|
|
46488
|
+
{
|
|
46489
|
+
"name": "classname",
|
|
46490
|
+
"optional": true,
|
|
46491
|
+
"type": {
|
|
46492
|
+
"text": "string"
|
|
46493
|
+
}
|
|
46494
|
+
}
|
|
46495
|
+
],
|
|
46688
46496
|
"inheritedFrom": {
|
|
46689
|
-
"name": "
|
|
46690
|
-
"module": "
|
|
46497
|
+
"name": "SbbIconNameMixin",
|
|
46498
|
+
"module": "icon/icon-name-mixin.js"
|
|
46499
|
+
}
|
|
46500
|
+
},
|
|
46501
|
+
{
|
|
46502
|
+
"kind": "method",
|
|
46503
|
+
"name": "renderIconName",
|
|
46504
|
+
"privacy": "protected",
|
|
46505
|
+
"return": {
|
|
46506
|
+
"type": {
|
|
46507
|
+
"text": "string"
|
|
46508
|
+
}
|
|
46509
|
+
},
|
|
46510
|
+
"inheritedFrom": {
|
|
46511
|
+
"name": "SbbIconNameMixin",
|
|
46512
|
+
"module": "icon/icon-name-mixin.js"
|
|
46513
|
+
}
|
|
46514
|
+
},
|
|
46515
|
+
{
|
|
46516
|
+
"kind": "method",
|
|
46517
|
+
"name": "_renderIconName",
|
|
46518
|
+
"privacy": "private",
|
|
46519
|
+
"return": {
|
|
46520
|
+
"type": {
|
|
46521
|
+
"text": "string"
|
|
46522
|
+
}
|
|
46523
|
+
},
|
|
46524
|
+
"inheritedFrom": {
|
|
46525
|
+
"name": "SbbIconNameMixin",
|
|
46526
|
+
"module": "icon/icon-name-mixin.js"
|
|
46691
46527
|
}
|
|
46692
46528
|
},
|
|
46693
46529
|
{
|
|
46694
46530
|
"kind": "field",
|
|
46695
|
-
"name": "
|
|
46531
|
+
"name": "disabled",
|
|
46532
|
+
"privacy": "public",
|
|
46533
|
+
"description": "Whether the component is disabled.",
|
|
46534
|
+
"default": "false",
|
|
46696
46535
|
"type": {
|
|
46697
|
-
"text": "
|
|
46536
|
+
"text": "boolean"
|
|
46698
46537
|
},
|
|
46699
|
-
"
|
|
46700
|
-
"
|
|
46701
|
-
"default": "null",
|
|
46538
|
+
"attribute": "disabled",
|
|
46539
|
+
"reflects": true,
|
|
46702
46540
|
"inheritedFrom": {
|
|
46703
|
-
"name": "
|
|
46704
|
-
"module": "core/
|
|
46541
|
+
"name": "SbbDisabledMixin",
|
|
46542
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
46705
46543
|
}
|
|
46706
46544
|
},
|
|
46707
46545
|
{
|
|
46708
46546
|
"kind": "field",
|
|
46709
|
-
"name": "
|
|
46547
|
+
"name": "#disabled",
|
|
46710
46548
|
"privacy": "private",
|
|
46549
|
+
"type": {
|
|
46550
|
+
"text": "boolean"
|
|
46551
|
+
},
|
|
46552
|
+
"default": "false",
|
|
46711
46553
|
"inheritedFrom": {
|
|
46712
|
-
"name": "
|
|
46713
|
-
"module": "core/
|
|
46554
|
+
"name": "SbbDisabledMixin",
|
|
46555
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
46714
46556
|
}
|
|
46715
46557
|
},
|
|
46716
46558
|
{
|
|
46717
46559
|
"kind": "method",
|
|
46718
|
-
"name": "
|
|
46560
|
+
"name": "isDisabledExternally",
|
|
46719
46561
|
"privacy": "protected",
|
|
46720
46562
|
"return": {
|
|
46721
46563
|
"type": {
|
|
46722
|
-
"text": "
|
|
46564
|
+
"text": "boolean"
|
|
46723
46565
|
}
|
|
46724
46566
|
},
|
|
46725
|
-
"
|
|
46726
|
-
{
|
|
46727
|
-
"name": "renderContent",
|
|
46728
|
-
"type": {
|
|
46729
|
-
"text": "TemplateResult"
|
|
46730
|
-
}
|
|
46731
|
-
}
|
|
46732
|
-
],
|
|
46567
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
46733
46568
|
"inheritedFrom": {
|
|
46734
|
-
"name": "
|
|
46735
|
-
"module": "core/
|
|
46569
|
+
"name": "SbbDisabledMixin",
|
|
46570
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
46736
46571
|
}
|
|
46737
46572
|
},
|
|
46738
46573
|
{
|
|
@@ -47027,176 +46862,81 @@
|
|
|
47027
46862
|
"name": "SbbButtonCommonElementMixin",
|
|
47028
46863
|
"module": "button/common/button-common.js"
|
|
47029
46864
|
},
|
|
47030
|
-
{
|
|
47031
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
47032
|
-
"module": "core.js"
|
|
47033
|
-
},
|
|
47034
46865
|
{
|
|
47035
46866
|
"name": "SbbDisabledMixin",
|
|
47036
46867
|
"module": "core.js"
|
|
47037
46868
|
}
|
|
47038
|
-
],
|
|
47039
|
-
"superclass": {
|
|
47040
|
-
"name": "
|
|
47041
|
-
"module": "core.js"
|
|
47042
|
-
},
|
|
47043
|
-
"tagName": "sbb-button-
|
|
47044
|
-
"customElement": true,
|
|
47045
|
-
"attributes": [
|
|
47046
|
-
{
|
|
47047
|
-
"name": "size",
|
|
47048
|
-
"type": {
|
|
47049
|
-
"text": "SbbButtonSize"
|
|
47050
|
-
},
|
|
47051
|
-
"description": "Size variant, either l, m or s.",
|
|
47052
|
-
"default": "'l' / 's' (lean)",
|
|
47053
|
-
"fieldName": "size",
|
|
47054
|
-
"inheritedFrom": {
|
|
47055
|
-
"name": "SbbButtonCommonElementMixin",
|
|
47056
|
-
"module": "button/common/button-common.js"
|
|
47057
|
-
}
|
|
47058
|
-
},
|
|
47059
|
-
{
|
|
47060
|
-
"name": "loading",
|
|
47061
|
-
"type": {
|
|
47062
|
-
"text": "boolean"
|
|
47063
|
-
},
|
|
47064
|
-
"default": "false",
|
|
47065
|
-
"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.",
|
|
47066
|
-
"fieldName": "loading",
|
|
47067
|
-
"inheritedFrom": {
|
|
47068
|
-
"name": "SbbButtonCommonElementMixin",
|
|
47069
|
-
"module": "button/common/button-common.js"
|
|
47070
|
-
}
|
|
47071
|
-
},
|
|
47072
|
-
{
|
|
47073
|
-
"name": "negative",
|
|
47074
|
-
"type": {
|
|
47075
|
-
"text": "boolean"
|
|
47076
|
-
},
|
|
47077
|
-
"default": "false",
|
|
47078
|
-
"description": "Negative coloring variant flag.",
|
|
47079
|
-
"fieldName": "negative",
|
|
47080
|
-
"inheritedFrom": {
|
|
47081
|
-
"name": "SbbNegativeMixin",
|
|
47082
|
-
"module": "core/mixins/negative-mixin.js"
|
|
47083
|
-
}
|
|
47084
|
-
},
|
|
47085
|
-
{
|
|
47086
|
-
"name": "icon-name",
|
|
47087
|
-
"type": {
|
|
47088
|
-
"text": "string"
|
|
47089
|
-
},
|
|
47090
|
-
"default": "''",
|
|
47091
|
-
"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.",
|
|
47092
|
-
"fieldName": "iconName",
|
|
47093
|
-
"inheritedFrom": {
|
|
47094
|
-
"name": "SbbIconNameMixin",
|
|
47095
|
-
"module": "icon/icon-name-mixin.js"
|
|
47096
|
-
}
|
|
47097
|
-
},
|
|
47098
|
-
{
|
|
47099
|
-
"name": "disabled-interactive",
|
|
47100
|
-
"type": {
|
|
47101
|
-
"text": "boolean"
|
|
47102
|
-
},
|
|
47103
|
-
"default": "false",
|
|
47104
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
47105
|
-
"fieldName": "disabledInteractive",
|
|
47106
|
-
"inheritedFrom": {
|
|
47107
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
47108
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
47109
|
-
}
|
|
47110
|
-
},
|
|
47111
|
-
{
|
|
47112
|
-
"name": "disabled",
|
|
47113
|
-
"description": "Whether the component is disabled.",
|
|
47114
|
-
"default": "false",
|
|
47115
|
-
"type": {
|
|
47116
|
-
"text": "boolean"
|
|
47117
|
-
},
|
|
47118
|
-
"fieldName": "disabled",
|
|
47119
|
-
"inheritedFrom": {
|
|
47120
|
-
"name": "SbbDisabledMixin",
|
|
47121
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
47122
|
-
}
|
|
47123
|
-
},
|
|
47124
|
-
{
|
|
47125
|
-
"name": "href",
|
|
47126
|
-
"type": {
|
|
47127
|
-
"text": "string"
|
|
47128
|
-
},
|
|
47129
|
-
"default": "''",
|
|
47130
|
-
"description": "The href value you want to link to.",
|
|
47131
|
-
"fieldName": "href",
|
|
47132
|
-
"inheritedFrom": {
|
|
47133
|
-
"name": "SbbLinkBaseElement",
|
|
47134
|
-
"module": "core/base-elements/link-base-element.js"
|
|
47135
|
-
}
|
|
47136
|
-
},
|
|
46869
|
+
],
|
|
46870
|
+
"superclass": {
|
|
46871
|
+
"name": "SbbActionBaseElement",
|
|
46872
|
+
"module": "core.js"
|
|
46873
|
+
},
|
|
46874
|
+
"tagName": "sbb-button-static",
|
|
46875
|
+
"customElement": true,
|
|
46876
|
+
"attributes": [
|
|
47137
46877
|
{
|
|
47138
|
-
"name": "
|
|
46878
|
+
"name": "size",
|
|
47139
46879
|
"type": {
|
|
47140
|
-
"text": "
|
|
46880
|
+
"text": "SbbButtonSize"
|
|
47141
46881
|
},
|
|
47142
|
-
"
|
|
47143
|
-
"
|
|
47144
|
-
"fieldName": "
|
|
46882
|
+
"description": "Size variant, either l, m or s.",
|
|
46883
|
+
"default": "'l' / 's' (lean)",
|
|
46884
|
+
"fieldName": "size",
|
|
47145
46885
|
"inheritedFrom": {
|
|
47146
|
-
"name": "
|
|
47147
|
-
"module": "
|
|
46886
|
+
"name": "SbbButtonCommonElementMixin",
|
|
46887
|
+
"module": "button/common/button-common.js"
|
|
47148
46888
|
}
|
|
47149
46889
|
},
|
|
47150
46890
|
{
|
|
47151
|
-
"name": "
|
|
46891
|
+
"name": "loading",
|
|
47152
46892
|
"type": {
|
|
47153
|
-
"text": "
|
|
46893
|
+
"text": "boolean"
|
|
47154
46894
|
},
|
|
47155
|
-
"default": "
|
|
47156
|
-
"description": "
|
|
47157
|
-
"fieldName": "
|
|
46895
|
+
"default": "false",
|
|
46896
|
+
"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.",
|
|
46897
|
+
"fieldName": "loading",
|
|
47158
46898
|
"inheritedFrom": {
|
|
47159
|
-
"name": "
|
|
47160
|
-
"module": "
|
|
46899
|
+
"name": "SbbButtonCommonElementMixin",
|
|
46900
|
+
"module": "button/common/button-common.js"
|
|
47161
46901
|
}
|
|
47162
46902
|
},
|
|
47163
46903
|
{
|
|
47164
|
-
"name": "
|
|
46904
|
+
"name": "negative",
|
|
47165
46905
|
"type": {
|
|
47166
46906
|
"text": "boolean"
|
|
47167
46907
|
},
|
|
47168
46908
|
"default": "false",
|
|
47169
|
-
"description": "
|
|
47170
|
-
"fieldName": "
|
|
46909
|
+
"description": "Negative coloring variant flag.",
|
|
46910
|
+
"fieldName": "negative",
|
|
47171
46911
|
"inheritedFrom": {
|
|
47172
|
-
"name": "
|
|
47173
|
-
"module": "core/
|
|
46912
|
+
"name": "SbbNegativeMixin",
|
|
46913
|
+
"module": "core/mixins/negative-mixin.js"
|
|
47174
46914
|
}
|
|
47175
46915
|
},
|
|
47176
46916
|
{
|
|
47177
|
-
"name": "
|
|
46917
|
+
"name": "icon-name",
|
|
47178
46918
|
"type": {
|
|
47179
46919
|
"text": "string"
|
|
47180
46920
|
},
|
|
47181
46921
|
"default": "''",
|
|
47182
|
-
"description": "
|
|
47183
|
-
"fieldName": "
|
|
46922
|
+
"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.",
|
|
46923
|
+
"fieldName": "iconName",
|
|
47184
46924
|
"inheritedFrom": {
|
|
47185
|
-
"name": "
|
|
47186
|
-
"module": "
|
|
46925
|
+
"name": "SbbIconNameMixin",
|
|
46926
|
+
"module": "icon/icon-name-mixin.js"
|
|
47187
46927
|
}
|
|
47188
46928
|
},
|
|
47189
46929
|
{
|
|
47190
|
-
"name": "
|
|
46930
|
+
"name": "disabled",
|
|
46931
|
+
"description": "Whether the component is disabled.",
|
|
46932
|
+
"default": "false",
|
|
47191
46933
|
"type": {
|
|
47192
|
-
"text": "
|
|
46934
|
+
"text": "boolean"
|
|
47193
46935
|
},
|
|
47194
|
-
"
|
|
47195
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
47196
|
-
"fieldName": "accessibilityCurrent",
|
|
46936
|
+
"fieldName": "disabled",
|
|
47197
46937
|
"inheritedFrom": {
|
|
47198
|
-
"name": "
|
|
47199
|
-
"module": "core/
|
|
46938
|
+
"name": "SbbDisabledMixin",
|
|
46939
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
47200
46940
|
}
|
|
47201
46941
|
}
|
|
47202
46942
|
]
|
|
@@ -47205,22 +46945,22 @@
|
|
|
47205
46945
|
"exports": [
|
|
47206
46946
|
{
|
|
47207
46947
|
"kind": "js",
|
|
47208
|
-
"name": "
|
|
46948
|
+
"name": "SbbButtonStaticElement",
|
|
47209
46949
|
"declaration": {
|
|
47210
|
-
"name": "
|
|
47211
|
-
"module": "button/button-
|
|
46950
|
+
"name": "SbbButtonStaticElement",
|
|
46951
|
+
"module": "button/button-static/button-static.component.js"
|
|
47212
46952
|
}
|
|
47213
46953
|
}
|
|
47214
46954
|
]
|
|
47215
46955
|
},
|
|
47216
46956
|
{
|
|
47217
46957
|
"kind": "javascript-module",
|
|
47218
|
-
"path": "button/button-
|
|
46958
|
+
"path": "button/button-link/button-link.component.js",
|
|
47219
46959
|
"declarations": [
|
|
47220
46960
|
{
|
|
47221
46961
|
"kind": "class",
|
|
47222
|
-
"description": "It displays a
|
|
47223
|
-
"name": "
|
|
46962
|
+
"description": "It displays a button enhanced with the SBB Design in the 'primary' variant, which will behave as a link.",
|
|
46963
|
+
"name": "SbbButtonLinkElement",
|
|
47224
46964
|
"cssProperties": [
|
|
47225
46965
|
{
|
|
47226
46966
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -47230,7 +46970,7 @@
|
|
|
47230
46970
|
],
|
|
47231
46971
|
"slots": [
|
|
47232
46972
|
{
|
|
47233
|
-
"description": "Use the unnamed slot to add content to the button-
|
|
46973
|
+
"description": "Use the unnamed slot to add content to the button-link.",
|
|
47234
46974
|
"name": ""
|
|
47235
46975
|
},
|
|
47236
46976
|
{
|
|
@@ -47248,7 +46988,7 @@
|
|
|
47248
46988
|
"privacy": "public",
|
|
47249
46989
|
"static": true,
|
|
47250
46990
|
"readonly": true,
|
|
47251
|
-
"default": "'sbb-button-
|
|
46991
|
+
"default": "'sbb-button-link'",
|
|
47252
46992
|
"inheritedFrom": {
|
|
47253
46993
|
"name": "SbbElement",
|
|
47254
46994
|
"module": "core/base-elements/element.js"
|
|
@@ -47303,142 +47043,307 @@
|
|
|
47303
47043
|
},
|
|
47304
47044
|
{
|
|
47305
47045
|
"kind": "field",
|
|
47306
|
-
"name": "negative",
|
|
47046
|
+
"name": "negative",
|
|
47047
|
+
"type": {
|
|
47048
|
+
"text": "boolean"
|
|
47049
|
+
},
|
|
47050
|
+
"privacy": "public",
|
|
47051
|
+
"default": "false",
|
|
47052
|
+
"description": "Negative coloring variant flag.",
|
|
47053
|
+
"attribute": "negative",
|
|
47054
|
+
"reflects": true,
|
|
47055
|
+
"inheritedFrom": {
|
|
47056
|
+
"name": "SbbNegativeMixin",
|
|
47057
|
+
"module": "core/mixins/negative-mixin.js"
|
|
47058
|
+
}
|
|
47059
|
+
},
|
|
47060
|
+
{
|
|
47061
|
+
"kind": "field",
|
|
47062
|
+
"name": "elementDependencies",
|
|
47063
|
+
"type": {
|
|
47064
|
+
"text": "SbbElementType[]"
|
|
47065
|
+
},
|
|
47066
|
+
"privacy": "public",
|
|
47067
|
+
"static": true,
|
|
47068
|
+
"default": "[SbbIconElement]",
|
|
47069
|
+
"inheritedFrom": {
|
|
47070
|
+
"name": "SbbElement",
|
|
47071
|
+
"module": "core/base-elements/element.js"
|
|
47072
|
+
}
|
|
47073
|
+
},
|
|
47074
|
+
{
|
|
47075
|
+
"kind": "field",
|
|
47076
|
+
"name": "iconName",
|
|
47077
|
+
"type": {
|
|
47078
|
+
"text": "string"
|
|
47079
|
+
},
|
|
47080
|
+
"privacy": "public",
|
|
47081
|
+
"default": "''",
|
|
47082
|
+
"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.",
|
|
47083
|
+
"attribute": "icon-name",
|
|
47084
|
+
"inheritedFrom": {
|
|
47085
|
+
"name": "SbbIconNameMixin",
|
|
47086
|
+
"module": "icon/icon-name-mixin.js"
|
|
47087
|
+
}
|
|
47088
|
+
},
|
|
47089
|
+
{
|
|
47090
|
+
"kind": "method",
|
|
47091
|
+
"name": "renderIconSlot",
|
|
47092
|
+
"privacy": "protected",
|
|
47093
|
+
"return": {
|
|
47094
|
+
"type": {
|
|
47095
|
+
"text": "TemplateResult"
|
|
47096
|
+
}
|
|
47097
|
+
},
|
|
47098
|
+
"parameters": [
|
|
47099
|
+
{
|
|
47100
|
+
"name": "classname",
|
|
47101
|
+
"optional": true,
|
|
47102
|
+
"type": {
|
|
47103
|
+
"text": "string"
|
|
47104
|
+
}
|
|
47105
|
+
}
|
|
47106
|
+
],
|
|
47107
|
+
"inheritedFrom": {
|
|
47108
|
+
"name": "SbbIconNameMixin",
|
|
47109
|
+
"module": "icon/icon-name-mixin.js"
|
|
47110
|
+
}
|
|
47111
|
+
},
|
|
47112
|
+
{
|
|
47113
|
+
"kind": "method",
|
|
47114
|
+
"name": "renderIconName",
|
|
47115
|
+
"privacy": "protected",
|
|
47116
|
+
"return": {
|
|
47117
|
+
"type": {
|
|
47118
|
+
"text": "string"
|
|
47119
|
+
}
|
|
47120
|
+
},
|
|
47121
|
+
"inheritedFrom": {
|
|
47122
|
+
"name": "SbbIconNameMixin",
|
|
47123
|
+
"module": "icon/icon-name-mixin.js"
|
|
47124
|
+
}
|
|
47125
|
+
},
|
|
47126
|
+
{
|
|
47127
|
+
"kind": "method",
|
|
47128
|
+
"name": "_renderIconName",
|
|
47129
|
+
"privacy": "private",
|
|
47130
|
+
"return": {
|
|
47131
|
+
"type": {
|
|
47132
|
+
"text": "string"
|
|
47133
|
+
}
|
|
47134
|
+
},
|
|
47135
|
+
"inheritedFrom": {
|
|
47136
|
+
"name": "SbbIconNameMixin",
|
|
47137
|
+
"module": "icon/icon-name-mixin.js"
|
|
47138
|
+
}
|
|
47139
|
+
},
|
|
47140
|
+
{
|
|
47141
|
+
"kind": "field",
|
|
47142
|
+
"name": "disabledInteractive",
|
|
47143
|
+
"type": {
|
|
47144
|
+
"text": "boolean"
|
|
47145
|
+
},
|
|
47146
|
+
"privacy": "public",
|
|
47147
|
+
"default": "false",
|
|
47148
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
47149
|
+
"attribute": "disabled-interactive",
|
|
47150
|
+
"reflects": true,
|
|
47151
|
+
"inheritedFrom": {
|
|
47152
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
47153
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
47154
|
+
}
|
|
47155
|
+
},
|
|
47156
|
+
{
|
|
47157
|
+
"kind": "field",
|
|
47158
|
+
"name": "disabled",
|
|
47159
|
+
"privacy": "public",
|
|
47160
|
+
"description": "Whether the component is disabled.",
|
|
47161
|
+
"default": "false",
|
|
47162
|
+
"type": {
|
|
47163
|
+
"text": "boolean"
|
|
47164
|
+
},
|
|
47165
|
+
"attribute": "disabled",
|
|
47166
|
+
"reflects": true,
|
|
47167
|
+
"inheritedFrom": {
|
|
47168
|
+
"name": "SbbDisabledMixin",
|
|
47169
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
47170
|
+
}
|
|
47171
|
+
},
|
|
47172
|
+
{
|
|
47173
|
+
"kind": "field",
|
|
47174
|
+
"name": "#disabled",
|
|
47175
|
+
"privacy": "private",
|
|
47176
|
+
"type": {
|
|
47177
|
+
"text": "boolean"
|
|
47178
|
+
},
|
|
47179
|
+
"default": "false",
|
|
47180
|
+
"inheritedFrom": {
|
|
47181
|
+
"name": "SbbDisabledMixin",
|
|
47182
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
47183
|
+
}
|
|
47184
|
+
},
|
|
47185
|
+
{
|
|
47186
|
+
"kind": "method",
|
|
47187
|
+
"name": "isDisabledExternally",
|
|
47188
|
+
"privacy": "protected",
|
|
47189
|
+
"return": {
|
|
47190
|
+
"type": {
|
|
47191
|
+
"text": "boolean"
|
|
47192
|
+
}
|
|
47193
|
+
},
|
|
47194
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
47195
|
+
"inheritedFrom": {
|
|
47196
|
+
"name": "SbbDisabledMixin",
|
|
47197
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
47198
|
+
}
|
|
47199
|
+
},
|
|
47200
|
+
{
|
|
47201
|
+
"kind": "field",
|
|
47202
|
+
"name": "href",
|
|
47203
|
+
"type": {
|
|
47204
|
+
"text": "string"
|
|
47205
|
+
},
|
|
47206
|
+
"privacy": "public",
|
|
47207
|
+
"default": "''",
|
|
47208
|
+
"description": "The href value you want to link to.",
|
|
47209
|
+
"attribute": "href",
|
|
47210
|
+
"reflects": true,
|
|
47211
|
+
"inheritedFrom": {
|
|
47212
|
+
"name": "SbbLinkBaseElement",
|
|
47213
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47214
|
+
}
|
|
47215
|
+
},
|
|
47216
|
+
{
|
|
47217
|
+
"kind": "field",
|
|
47218
|
+
"name": "target",
|
|
47307
47219
|
"type": {
|
|
47308
|
-
"text": "
|
|
47220
|
+
"text": "LinkTargetType | string"
|
|
47309
47221
|
},
|
|
47310
47222
|
"privacy": "public",
|
|
47311
|
-
"default": "
|
|
47312
|
-
"description": "
|
|
47313
|
-
"attribute": "
|
|
47223
|
+
"default": "''",
|
|
47224
|
+
"description": "Where to display the linked URL.",
|
|
47225
|
+
"attribute": "target",
|
|
47314
47226
|
"reflects": true,
|
|
47315
47227
|
"inheritedFrom": {
|
|
47316
|
-
"name": "
|
|
47317
|
-
"module": "core/
|
|
47228
|
+
"name": "SbbLinkBaseElement",
|
|
47229
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47318
47230
|
}
|
|
47319
47231
|
},
|
|
47320
47232
|
{
|
|
47321
47233
|
"kind": "field",
|
|
47322
|
-
"name": "
|
|
47234
|
+
"name": "rel",
|
|
47323
47235
|
"type": {
|
|
47324
|
-
"text": "
|
|
47236
|
+
"text": "string"
|
|
47325
47237
|
},
|
|
47326
47238
|
"privacy": "public",
|
|
47327
|
-
"
|
|
47328
|
-
"
|
|
47239
|
+
"default": "''",
|
|
47240
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
47241
|
+
"attribute": "rel",
|
|
47242
|
+
"reflects": true,
|
|
47329
47243
|
"inheritedFrom": {
|
|
47330
|
-
"name": "
|
|
47331
|
-
"module": "core/base-elements/element.js"
|
|
47244
|
+
"name": "SbbLinkBaseElement",
|
|
47245
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47332
47246
|
}
|
|
47333
47247
|
},
|
|
47334
47248
|
{
|
|
47335
47249
|
"kind": "field",
|
|
47336
|
-
"name": "
|
|
47250
|
+
"name": "download",
|
|
47337
47251
|
"type": {
|
|
47338
|
-
"text": "
|
|
47252
|
+
"text": "boolean"
|
|
47339
47253
|
},
|
|
47340
47254
|
"privacy": "public",
|
|
47341
|
-
"default": "
|
|
47342
|
-
"description": "
|
|
47343
|
-
"attribute": "
|
|
47255
|
+
"default": "false",
|
|
47256
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
47257
|
+
"attribute": "download",
|
|
47258
|
+
"reflects": true,
|
|
47344
47259
|
"inheritedFrom": {
|
|
47345
|
-
"name": "
|
|
47346
|
-
"module": "
|
|
47260
|
+
"name": "SbbLinkBaseElement",
|
|
47261
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47347
47262
|
}
|
|
47348
47263
|
},
|
|
47349
47264
|
{
|
|
47350
|
-
"kind": "
|
|
47351
|
-
"name": "
|
|
47352
|
-
"
|
|
47353
|
-
|
|
47354
|
-
"type": {
|
|
47355
|
-
"text": "TemplateResult"
|
|
47356
|
-
}
|
|
47265
|
+
"kind": "field",
|
|
47266
|
+
"name": "accessibilityLabel",
|
|
47267
|
+
"type": {
|
|
47268
|
+
"text": "string"
|
|
47357
47269
|
},
|
|
47358
|
-
"
|
|
47359
|
-
|
|
47360
|
-
|
|
47361
|
-
|
|
47362
|
-
"type": {
|
|
47363
|
-
"text": "string"
|
|
47364
|
-
}
|
|
47365
|
-
}
|
|
47366
|
-
],
|
|
47270
|
+
"privacy": "public",
|
|
47271
|
+
"default": "''",
|
|
47272
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
47273
|
+
"attribute": "accessibility-label",
|
|
47367
47274
|
"inheritedFrom": {
|
|
47368
|
-
"name": "
|
|
47369
|
-
"module": "
|
|
47275
|
+
"name": "SbbLinkBaseElement",
|
|
47276
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47370
47277
|
}
|
|
47371
47278
|
},
|
|
47372
47279
|
{
|
|
47373
|
-
"kind": "
|
|
47374
|
-
"name": "
|
|
47375
|
-
"
|
|
47376
|
-
|
|
47377
|
-
"type": {
|
|
47378
|
-
"text": "string"
|
|
47379
|
-
}
|
|
47280
|
+
"kind": "field",
|
|
47281
|
+
"name": "accessibilityCurrent",
|
|
47282
|
+
"type": {
|
|
47283
|
+
"text": "string"
|
|
47380
47284
|
},
|
|
47285
|
+
"privacy": "public",
|
|
47286
|
+
"default": "''",
|
|
47287
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
47288
|
+
"attribute": "accessibility-current",
|
|
47381
47289
|
"inheritedFrom": {
|
|
47382
|
-
"name": "
|
|
47383
|
-
"module": "
|
|
47290
|
+
"name": "SbbLinkBaseElement",
|
|
47291
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47384
47292
|
}
|
|
47385
47293
|
},
|
|
47386
47294
|
{
|
|
47387
|
-
"kind": "
|
|
47388
|
-
"name": "
|
|
47389
|
-
"privacy": "
|
|
47390
|
-
"
|
|
47391
|
-
"type": {
|
|
47392
|
-
"text": "string"
|
|
47393
|
-
}
|
|
47394
|
-
},
|
|
47295
|
+
"kind": "field",
|
|
47296
|
+
"name": "language",
|
|
47297
|
+
"privacy": "protected",
|
|
47298
|
+
"default": "new SbbLanguageController(this)",
|
|
47395
47299
|
"inheritedFrom": {
|
|
47396
|
-
"name": "
|
|
47397
|
-
"module": "
|
|
47300
|
+
"name": "SbbLinkBaseElement",
|
|
47301
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47398
47302
|
}
|
|
47399
47303
|
},
|
|
47400
47304
|
{
|
|
47401
47305
|
"kind": "field",
|
|
47402
|
-
"name": "
|
|
47403
|
-
"privacy": "public",
|
|
47404
|
-
"description": "Whether the component is disabled.",
|
|
47405
|
-
"default": "false",
|
|
47306
|
+
"name": "anchorRole",
|
|
47406
47307
|
"type": {
|
|
47407
|
-
"text": "
|
|
47308
|
+
"text": "string | null"
|
|
47408
47309
|
},
|
|
47409
|
-
"
|
|
47410
|
-
"
|
|
47310
|
+
"privacy": "protected",
|
|
47311
|
+
"readonly": true,
|
|
47312
|
+
"default": "null",
|
|
47411
47313
|
"inheritedFrom": {
|
|
47412
|
-
"name": "
|
|
47413
|
-
"module": "core/
|
|
47314
|
+
"name": "SbbLinkBaseElement",
|
|
47315
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47414
47316
|
}
|
|
47415
47317
|
},
|
|
47416
47318
|
{
|
|
47417
47319
|
"kind": "field",
|
|
47418
|
-
"name": "
|
|
47320
|
+
"name": "_evaluateRelAttribute",
|
|
47419
47321
|
"privacy": "private",
|
|
47420
|
-
"type": {
|
|
47421
|
-
"text": "boolean"
|
|
47422
|
-
},
|
|
47423
|
-
"default": "false",
|
|
47424
47322
|
"inheritedFrom": {
|
|
47425
|
-
"name": "
|
|
47426
|
-
"module": "core/
|
|
47323
|
+
"name": "SbbLinkBaseElement",
|
|
47324
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47427
47325
|
}
|
|
47428
47326
|
},
|
|
47429
47327
|
{
|
|
47430
47328
|
"kind": "method",
|
|
47431
|
-
"name": "
|
|
47329
|
+
"name": "renderLink",
|
|
47432
47330
|
"privacy": "protected",
|
|
47433
47331
|
"return": {
|
|
47434
47332
|
"type": {
|
|
47435
|
-
"text": "
|
|
47333
|
+
"text": "TemplateResult"
|
|
47436
47334
|
}
|
|
47437
47335
|
},
|
|
47438
|
-
"
|
|
47336
|
+
"parameters": [
|
|
47337
|
+
{
|
|
47338
|
+
"name": "renderContent",
|
|
47339
|
+
"type": {
|
|
47340
|
+
"text": "TemplateResult"
|
|
47341
|
+
}
|
|
47342
|
+
}
|
|
47343
|
+
],
|
|
47439
47344
|
"inheritedFrom": {
|
|
47440
|
-
"name": "
|
|
47441
|
-
"module": "core/
|
|
47345
|
+
"name": "SbbLinkBaseElement",
|
|
47346
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47442
47347
|
}
|
|
47443
47348
|
},
|
|
47444
47349
|
{
|
|
@@ -47733,16 +47638,20 @@
|
|
|
47733
47638
|
"name": "SbbButtonCommonElementMixin",
|
|
47734
47639
|
"module": "button/common/button-common.js"
|
|
47735
47640
|
},
|
|
47641
|
+
{
|
|
47642
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
47643
|
+
"module": "core.js"
|
|
47644
|
+
},
|
|
47736
47645
|
{
|
|
47737
47646
|
"name": "SbbDisabledMixin",
|
|
47738
47647
|
"module": "core.js"
|
|
47739
47648
|
}
|
|
47740
47649
|
],
|
|
47741
47650
|
"superclass": {
|
|
47742
|
-
"name": "
|
|
47651
|
+
"name": "SbbLinkBaseElement",
|
|
47743
47652
|
"module": "core.js"
|
|
47744
47653
|
},
|
|
47745
|
-
"tagName": "sbb-button-
|
|
47654
|
+
"tagName": "sbb-button-link",
|
|
47746
47655
|
"customElement": true,
|
|
47747
47656
|
"attributes": [
|
|
47748
47657
|
{
|
|
@@ -47797,6 +47706,19 @@
|
|
|
47797
47706
|
"module": "icon/icon-name-mixin.js"
|
|
47798
47707
|
}
|
|
47799
47708
|
},
|
|
47709
|
+
{
|
|
47710
|
+
"name": "disabled-interactive",
|
|
47711
|
+
"type": {
|
|
47712
|
+
"text": "boolean"
|
|
47713
|
+
},
|
|
47714
|
+
"default": "false",
|
|
47715
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
47716
|
+
"fieldName": "disabledInteractive",
|
|
47717
|
+
"inheritedFrom": {
|
|
47718
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
47719
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
47720
|
+
}
|
|
47721
|
+
},
|
|
47800
47722
|
{
|
|
47801
47723
|
"name": "disabled",
|
|
47802
47724
|
"description": "Whether the component is disabled.",
|
|
@@ -47809,6 +47731,84 @@
|
|
|
47809
47731
|
"name": "SbbDisabledMixin",
|
|
47810
47732
|
"module": "core/mixins/disabled-mixin.js"
|
|
47811
47733
|
}
|
|
47734
|
+
},
|
|
47735
|
+
{
|
|
47736
|
+
"name": "href",
|
|
47737
|
+
"type": {
|
|
47738
|
+
"text": "string"
|
|
47739
|
+
},
|
|
47740
|
+
"default": "''",
|
|
47741
|
+
"description": "The href value you want to link to.",
|
|
47742
|
+
"fieldName": "href",
|
|
47743
|
+
"inheritedFrom": {
|
|
47744
|
+
"name": "SbbLinkBaseElement",
|
|
47745
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47746
|
+
}
|
|
47747
|
+
},
|
|
47748
|
+
{
|
|
47749
|
+
"name": "target",
|
|
47750
|
+
"type": {
|
|
47751
|
+
"text": "LinkTargetType | string"
|
|
47752
|
+
},
|
|
47753
|
+
"default": "''",
|
|
47754
|
+
"description": "Where to display the linked URL.",
|
|
47755
|
+
"fieldName": "target",
|
|
47756
|
+
"inheritedFrom": {
|
|
47757
|
+
"name": "SbbLinkBaseElement",
|
|
47758
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47759
|
+
}
|
|
47760
|
+
},
|
|
47761
|
+
{
|
|
47762
|
+
"name": "rel",
|
|
47763
|
+
"type": {
|
|
47764
|
+
"text": "string"
|
|
47765
|
+
},
|
|
47766
|
+
"default": "''",
|
|
47767
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
47768
|
+
"fieldName": "rel",
|
|
47769
|
+
"inheritedFrom": {
|
|
47770
|
+
"name": "SbbLinkBaseElement",
|
|
47771
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47772
|
+
}
|
|
47773
|
+
},
|
|
47774
|
+
{
|
|
47775
|
+
"name": "download",
|
|
47776
|
+
"type": {
|
|
47777
|
+
"text": "boolean"
|
|
47778
|
+
},
|
|
47779
|
+
"default": "false",
|
|
47780
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
47781
|
+
"fieldName": "download",
|
|
47782
|
+
"inheritedFrom": {
|
|
47783
|
+
"name": "SbbLinkBaseElement",
|
|
47784
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47785
|
+
}
|
|
47786
|
+
},
|
|
47787
|
+
{
|
|
47788
|
+
"name": "accessibility-label",
|
|
47789
|
+
"type": {
|
|
47790
|
+
"text": "string"
|
|
47791
|
+
},
|
|
47792
|
+
"default": "''",
|
|
47793
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
47794
|
+
"fieldName": "accessibilityLabel",
|
|
47795
|
+
"inheritedFrom": {
|
|
47796
|
+
"name": "SbbLinkBaseElement",
|
|
47797
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47798
|
+
}
|
|
47799
|
+
},
|
|
47800
|
+
{
|
|
47801
|
+
"name": "accessibility-current",
|
|
47802
|
+
"type": {
|
|
47803
|
+
"text": "string"
|
|
47804
|
+
},
|
|
47805
|
+
"default": "''",
|
|
47806
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
47807
|
+
"fieldName": "accessibilityCurrent",
|
|
47808
|
+
"inheritedFrom": {
|
|
47809
|
+
"name": "SbbLinkBaseElement",
|
|
47810
|
+
"module": "core/base-elements/link-base-element.js"
|
|
47811
|
+
}
|
|
47812
47812
|
}
|
|
47813
47813
|
]
|
|
47814
47814
|
}
|
|
@@ -47816,10 +47816,10 @@
|
|
|
47816
47816
|
"exports": [
|
|
47817
47817
|
{
|
|
47818
47818
|
"kind": "js",
|
|
47819
|
-
"name": "
|
|
47819
|
+
"name": "SbbButtonLinkElement",
|
|
47820
47820
|
"declaration": {
|
|
47821
|
-
"name": "
|
|
47822
|
-
"module": "button/button-
|
|
47821
|
+
"name": "SbbButtonLinkElement",
|
|
47822
|
+
"module": "button/button-link/button-link.component.js"
|
|
47823
47823
|
}
|
|
47824
47824
|
}
|
|
47825
47825
|
]
|