@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1777981005 → 5.0.0-next.2-dev.1777997480
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 +1581 -1581
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -74728,6 +74728,418 @@
|
|
|
74728
74728
|
}
|
|
74729
74729
|
]
|
|
74730
74730
|
},
|
|
74731
|
+
{
|
|
74732
|
+
"kind": "javascript-module",
|
|
74733
|
+
"path": "container/container/container.component.js",
|
|
74734
|
+
"declarations": [
|
|
74735
|
+
{
|
|
74736
|
+
"kind": "class",
|
|
74737
|
+
"description": "It displays its content with the default page spacing.",
|
|
74738
|
+
"name": "SbbContainerElement",
|
|
74739
|
+
"cssProperties": [
|
|
74740
|
+
{
|
|
74741
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
74742
|
+
"name": "--sbb-page-spacing-padding"
|
|
74743
|
+
}
|
|
74744
|
+
],
|
|
74745
|
+
"slots": [
|
|
74746
|
+
{
|
|
74747
|
+
"description": "Use the unnamed slot to add anything to the container.",
|
|
74748
|
+
"name": ""
|
|
74749
|
+
},
|
|
74750
|
+
{
|
|
74751
|
+
"description": "The slot used by the sbb-sticky-bar component.",
|
|
74752
|
+
"name": "sticky-bar"
|
|
74753
|
+
},
|
|
74754
|
+
{
|
|
74755
|
+
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
74756
|
+
"name": "image"
|
|
74757
|
+
}
|
|
74758
|
+
],
|
|
74759
|
+
"members": [
|
|
74760
|
+
{
|
|
74761
|
+
"kind": "field",
|
|
74762
|
+
"name": "elementName",
|
|
74763
|
+
"type": {
|
|
74764
|
+
"text": "string"
|
|
74765
|
+
},
|
|
74766
|
+
"privacy": "public",
|
|
74767
|
+
"static": true,
|
|
74768
|
+
"readonly": true,
|
|
74769
|
+
"default": "'sbb-container'",
|
|
74770
|
+
"inheritedFrom": {
|
|
74771
|
+
"name": "SbbElement",
|
|
74772
|
+
"module": "core/base-elements/element.js"
|
|
74773
|
+
}
|
|
74774
|
+
},
|
|
74775
|
+
{
|
|
74776
|
+
"kind": "field",
|
|
74777
|
+
"name": "expanded",
|
|
74778
|
+
"type": {
|
|
74779
|
+
"text": "boolean"
|
|
74780
|
+
},
|
|
74781
|
+
"privacy": "public",
|
|
74782
|
+
"default": "false",
|
|
74783
|
+
"description": "Whether the container is expanded.",
|
|
74784
|
+
"attribute": "expanded",
|
|
74785
|
+
"reflects": true
|
|
74786
|
+
},
|
|
74787
|
+
{
|
|
74788
|
+
"kind": "field",
|
|
74789
|
+
"name": "backgroundExpanded",
|
|
74790
|
+
"type": {
|
|
74791
|
+
"text": "boolean"
|
|
74792
|
+
},
|
|
74793
|
+
"privacy": "public",
|
|
74794
|
+
"default": "false",
|
|
74795
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
74796
|
+
"attribute": "background-expanded",
|
|
74797
|
+
"reflects": true
|
|
74798
|
+
},
|
|
74799
|
+
{
|
|
74800
|
+
"kind": "field",
|
|
74801
|
+
"name": "color",
|
|
74802
|
+
"type": {
|
|
74803
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
74804
|
+
},
|
|
74805
|
+
"privacy": "public",
|
|
74806
|
+
"default": "'white'",
|
|
74807
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
74808
|
+
"attribute": "color",
|
|
74809
|
+
"reflects": true
|
|
74810
|
+
},
|
|
74811
|
+
{
|
|
74812
|
+
"kind": "field",
|
|
74813
|
+
"name": "['_$sbbElement$']",
|
|
74814
|
+
"type": {
|
|
74815
|
+
"text": "boolean"
|
|
74816
|
+
},
|
|
74817
|
+
"privacy": "public",
|
|
74818
|
+
"static": true,
|
|
74819
|
+
"default": "true",
|
|
74820
|
+
"inheritedFrom": {
|
|
74821
|
+
"name": "SbbElement",
|
|
74822
|
+
"module": "core/base-elements/element.js"
|
|
74823
|
+
}
|
|
74824
|
+
},
|
|
74825
|
+
{
|
|
74826
|
+
"kind": "field",
|
|
74827
|
+
"name": "elementDependencies",
|
|
74828
|
+
"type": {
|
|
74829
|
+
"text": "SbbElementType[] | undefined"
|
|
74830
|
+
},
|
|
74831
|
+
"privacy": "public",
|
|
74832
|
+
"static": true,
|
|
74833
|
+
"inheritedFrom": {
|
|
74834
|
+
"name": "SbbElement",
|
|
74835
|
+
"module": "core/base-elements/element.js"
|
|
74836
|
+
}
|
|
74837
|
+
},
|
|
74838
|
+
{
|
|
74839
|
+
"kind": "field",
|
|
74840
|
+
"name": "role",
|
|
74841
|
+
"type": {
|
|
74842
|
+
"text": "ElementInternals['role'] | undefined"
|
|
74843
|
+
},
|
|
74844
|
+
"privacy": "public",
|
|
74845
|
+
"static": true,
|
|
74846
|
+
"inheritedFrom": {
|
|
74847
|
+
"name": "SbbElement",
|
|
74848
|
+
"module": "core/base-elements/element.js"
|
|
74849
|
+
}
|
|
74850
|
+
},
|
|
74851
|
+
{
|
|
74852
|
+
"kind": "field",
|
|
74853
|
+
"name": "_controllers",
|
|
74854
|
+
"type": {
|
|
74855
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
74856
|
+
},
|
|
74857
|
+
"privacy": "private",
|
|
74858
|
+
"inheritedFrom": {
|
|
74859
|
+
"name": "SbbElement",
|
|
74860
|
+
"module": "core/base-elements/element.js"
|
|
74861
|
+
}
|
|
74862
|
+
},
|
|
74863
|
+
{
|
|
74864
|
+
"kind": "field",
|
|
74865
|
+
"name": "_hydrationRequired",
|
|
74866
|
+
"type": {
|
|
74867
|
+
"text": "boolean"
|
|
74868
|
+
},
|
|
74869
|
+
"privacy": "private",
|
|
74870
|
+
"default": "!!this.shadowRoot",
|
|
74871
|
+
"inheritedFrom": {
|
|
74872
|
+
"name": "SbbElement",
|
|
74873
|
+
"module": "core/base-elements/element.js"
|
|
74874
|
+
}
|
|
74875
|
+
},
|
|
74876
|
+
{
|
|
74877
|
+
"kind": "field",
|
|
74878
|
+
"name": "_hydrationComplete",
|
|
74879
|
+
"privacy": "private",
|
|
74880
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
74881
|
+
"inheritedFrom": {
|
|
74882
|
+
"name": "SbbElement",
|
|
74883
|
+
"module": "core/base-elements/element.js"
|
|
74884
|
+
}
|
|
74885
|
+
},
|
|
74886
|
+
{
|
|
74887
|
+
"kind": "field",
|
|
74888
|
+
"name": "_resolveHydration",
|
|
74889
|
+
"type": {
|
|
74890
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
74891
|
+
},
|
|
74892
|
+
"privacy": "private",
|
|
74893
|
+
"inheritedFrom": {
|
|
74894
|
+
"name": "SbbElement",
|
|
74895
|
+
"module": "core/base-elements/element.js"
|
|
74896
|
+
}
|
|
74897
|
+
},
|
|
74898
|
+
{
|
|
74899
|
+
"kind": "field",
|
|
74900
|
+
"name": "_textObserver",
|
|
74901
|
+
"type": {
|
|
74902
|
+
"text": "MutationObserver | undefined"
|
|
74903
|
+
},
|
|
74904
|
+
"privacy": "private",
|
|
74905
|
+
"inheritedFrom": {
|
|
74906
|
+
"name": "SbbElement",
|
|
74907
|
+
"module": "core/base-elements/element.js"
|
|
74908
|
+
}
|
|
74909
|
+
},
|
|
74910
|
+
{
|
|
74911
|
+
"kind": "field",
|
|
74912
|
+
"name": "hydrationRequired",
|
|
74913
|
+
"type": {
|
|
74914
|
+
"text": "boolean"
|
|
74915
|
+
},
|
|
74916
|
+
"privacy": "protected",
|
|
74917
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
74918
|
+
"readonly": true,
|
|
74919
|
+
"inheritedFrom": {
|
|
74920
|
+
"name": "SbbElement",
|
|
74921
|
+
"module": "core/base-elements/element.js"
|
|
74922
|
+
},
|
|
74923
|
+
"default": "!!this.shadowRoot"
|
|
74924
|
+
},
|
|
74925
|
+
{
|
|
74926
|
+
"kind": "method",
|
|
74927
|
+
"name": "finalizeStyles",
|
|
74928
|
+
"privacy": "protected",
|
|
74929
|
+
"static": true,
|
|
74930
|
+
"return": {
|
|
74931
|
+
"type": {
|
|
74932
|
+
"text": "CSSResultOrNative[]"
|
|
74933
|
+
}
|
|
74934
|
+
},
|
|
74935
|
+
"parameters": [
|
|
74936
|
+
{
|
|
74937
|
+
"name": "_styles",
|
|
74938
|
+
"type": {
|
|
74939
|
+
"text": "CSSResultGroup"
|
|
74940
|
+
}
|
|
74941
|
+
}
|
|
74942
|
+
],
|
|
74943
|
+
"description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
|
|
74944
|
+
"inheritedFrom": {
|
|
74945
|
+
"name": "SbbElement",
|
|
74946
|
+
"module": "core/base-elements/element.js"
|
|
74947
|
+
}
|
|
74948
|
+
},
|
|
74949
|
+
{
|
|
74950
|
+
"kind": "method",
|
|
74951
|
+
"name": "toggleState",
|
|
74952
|
+
"privacy": "protected",
|
|
74953
|
+
"return": {
|
|
74954
|
+
"type": {
|
|
74955
|
+
"text": "void"
|
|
74956
|
+
}
|
|
74957
|
+
},
|
|
74958
|
+
"parameters": [
|
|
74959
|
+
{
|
|
74960
|
+
"name": "value",
|
|
74961
|
+
"type": {
|
|
74962
|
+
"text": "string"
|
|
74963
|
+
}
|
|
74964
|
+
},
|
|
74965
|
+
{
|
|
74966
|
+
"name": "force",
|
|
74967
|
+
"optional": true,
|
|
74968
|
+
"type": {
|
|
74969
|
+
"text": "boolean"
|
|
74970
|
+
}
|
|
74971
|
+
}
|
|
74972
|
+
],
|
|
74973
|
+
"inheritedFrom": {
|
|
74974
|
+
"name": "SbbElement",
|
|
74975
|
+
"module": "core/base-elements/element.js"
|
|
74976
|
+
}
|
|
74977
|
+
},
|
|
74978
|
+
{
|
|
74979
|
+
"kind": "method",
|
|
74980
|
+
"name": "_slotchangeHandler",
|
|
74981
|
+
"privacy": "private",
|
|
74982
|
+
"return": {
|
|
74983
|
+
"type": {
|
|
74984
|
+
"text": "void"
|
|
74985
|
+
}
|
|
74986
|
+
},
|
|
74987
|
+
"parameters": [
|
|
74988
|
+
{
|
|
74989
|
+
"name": "event",
|
|
74990
|
+
"type": {
|
|
74991
|
+
"text": "Event"
|
|
74992
|
+
}
|
|
74993
|
+
},
|
|
74994
|
+
{
|
|
74995
|
+
"name": "slot",
|
|
74996
|
+
"type": {
|
|
74997
|
+
"text": "HTMLSlotElement"
|
|
74998
|
+
}
|
|
74999
|
+
}
|
|
75000
|
+
],
|
|
75001
|
+
"inheritedFrom": {
|
|
75002
|
+
"name": "SbbElement",
|
|
75003
|
+
"module": "core/base-elements/element.js"
|
|
75004
|
+
}
|
|
75005
|
+
},
|
|
75006
|
+
{
|
|
75007
|
+
"kind": "method",
|
|
75008
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
75009
|
+
"privacy": "private",
|
|
75010
|
+
"return": {
|
|
75011
|
+
"type": {
|
|
75012
|
+
"text": "void"
|
|
75013
|
+
}
|
|
75014
|
+
},
|
|
75015
|
+
"parameters": [
|
|
75016
|
+
{
|
|
75017
|
+
"name": "slot",
|
|
75018
|
+
"type": {
|
|
75019
|
+
"text": "HTMLSlotElement"
|
|
75020
|
+
}
|
|
75021
|
+
}
|
|
75022
|
+
],
|
|
75023
|
+
"inheritedFrom": {
|
|
75024
|
+
"name": "SbbElement",
|
|
75025
|
+
"module": "core/base-elements/element.js"
|
|
75026
|
+
}
|
|
75027
|
+
},
|
|
75028
|
+
{
|
|
75029
|
+
"kind": "method",
|
|
75030
|
+
"name": "_updateSlottedState",
|
|
75031
|
+
"privacy": "private",
|
|
75032
|
+
"return": {
|
|
75033
|
+
"type": {
|
|
75034
|
+
"text": "void"
|
|
75035
|
+
}
|
|
75036
|
+
},
|
|
75037
|
+
"parameters": [
|
|
75038
|
+
{
|
|
75039
|
+
"name": "slot",
|
|
75040
|
+
"type": {
|
|
75041
|
+
"text": "HTMLSlotElement"
|
|
75042
|
+
}
|
|
75043
|
+
}
|
|
75044
|
+
],
|
|
75045
|
+
"inheritedFrom": {
|
|
75046
|
+
"name": "SbbElement",
|
|
75047
|
+
"module": "core/base-elements/element.js"
|
|
75048
|
+
}
|
|
75049
|
+
},
|
|
75050
|
+
{
|
|
75051
|
+
"kind": "method",
|
|
75052
|
+
"name": "_observeTextNodesInSlot",
|
|
75053
|
+
"privacy": "private",
|
|
75054
|
+
"return": {
|
|
75055
|
+
"type": {
|
|
75056
|
+
"text": "void"
|
|
75057
|
+
}
|
|
75058
|
+
},
|
|
75059
|
+
"parameters": [
|
|
75060
|
+
{
|
|
75061
|
+
"name": "slot",
|
|
75062
|
+
"type": {
|
|
75063
|
+
"text": "HTMLSlotElement"
|
|
75064
|
+
}
|
|
75065
|
+
}
|
|
75066
|
+
],
|
|
75067
|
+
"inheritedFrom": {
|
|
75068
|
+
"name": "SbbElement",
|
|
75069
|
+
"module": "core/base-elements/element.js"
|
|
75070
|
+
}
|
|
75071
|
+
},
|
|
75072
|
+
{
|
|
75073
|
+
"kind": "method",
|
|
75074
|
+
"name": "_hasSlottedContent",
|
|
75075
|
+
"privacy": "private",
|
|
75076
|
+
"return": {
|
|
75077
|
+
"type": {
|
|
75078
|
+
"text": "boolean"
|
|
75079
|
+
}
|
|
75080
|
+
},
|
|
75081
|
+
"parameters": [
|
|
75082
|
+
{
|
|
75083
|
+
"name": "slot",
|
|
75084
|
+
"type": {
|
|
75085
|
+
"text": "HTMLSlotElement"
|
|
75086
|
+
}
|
|
75087
|
+
}
|
|
75088
|
+
],
|
|
75089
|
+
"inheritedFrom": {
|
|
75090
|
+
"name": "SbbElement",
|
|
75091
|
+
"module": "core/base-elements/element.js"
|
|
75092
|
+
}
|
|
75093
|
+
}
|
|
75094
|
+
],
|
|
75095
|
+
"attributes": [
|
|
75096
|
+
{
|
|
75097
|
+
"name": "expanded",
|
|
75098
|
+
"type": {
|
|
75099
|
+
"text": "boolean"
|
|
75100
|
+
},
|
|
75101
|
+
"default": "false",
|
|
75102
|
+
"description": "Whether the container is expanded.",
|
|
75103
|
+
"fieldName": "expanded"
|
|
75104
|
+
},
|
|
75105
|
+
{
|
|
75106
|
+
"name": "background-expanded",
|
|
75107
|
+
"type": {
|
|
75108
|
+
"text": "boolean"
|
|
75109
|
+
},
|
|
75110
|
+
"default": "false",
|
|
75111
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
75112
|
+
"fieldName": "backgroundExpanded"
|
|
75113
|
+
},
|
|
75114
|
+
{
|
|
75115
|
+
"name": "color",
|
|
75116
|
+
"type": {
|
|
75117
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
75118
|
+
},
|
|
75119
|
+
"default": "'white'",
|
|
75120
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
75121
|
+
"fieldName": "color"
|
|
75122
|
+
}
|
|
75123
|
+
],
|
|
75124
|
+
"superclass": {
|
|
75125
|
+
"name": "SbbElement",
|
|
75126
|
+
"module": "core.js"
|
|
75127
|
+
},
|
|
75128
|
+
"tagName": "sbb-container",
|
|
75129
|
+
"customElement": true
|
|
75130
|
+
}
|
|
75131
|
+
],
|
|
75132
|
+
"exports": [
|
|
75133
|
+
{
|
|
75134
|
+
"kind": "js",
|
|
75135
|
+
"name": "SbbContainerElement",
|
|
75136
|
+
"declaration": {
|
|
75137
|
+
"name": "SbbContainerElement",
|
|
75138
|
+
"module": "container/container/container.component.js"
|
|
75139
|
+
}
|
|
75140
|
+
}
|
|
75141
|
+
]
|
|
75142
|
+
},
|
|
74731
75143
|
{
|
|
74732
75144
|
"kind": "javascript-module",
|
|
74733
75145
|
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
@@ -75370,490 +75782,78 @@
|
|
|
75370
75782
|
},
|
|
75371
75783
|
{
|
|
75372
75784
|
"kind": "javascript-module",
|
|
75373
|
-
"path": "
|
|
75785
|
+
"path": "core/a11y/arrow-navigation.js",
|
|
75374
75786
|
"declarations": [
|
|
75375
75787
|
{
|
|
75376
|
-
"kind": "
|
|
75377
|
-
"
|
|
75378
|
-
"
|
|
75379
|
-
|
|
75788
|
+
"kind": "function",
|
|
75789
|
+
"name": "isArrowKeyPressed",
|
|
75790
|
+
"return": {
|
|
75791
|
+
"type": {
|
|
75792
|
+
"text": "boolean"
|
|
75793
|
+
}
|
|
75794
|
+
},
|
|
75795
|
+
"parameters": [
|
|
75380
75796
|
{
|
|
75381
|
-
"
|
|
75382
|
-
"
|
|
75797
|
+
"name": "event",
|
|
75798
|
+
"type": {
|
|
75799
|
+
"text": "KeyboardEvent"
|
|
75800
|
+
},
|
|
75801
|
+
"description": "The keyboard event to check."
|
|
75383
75802
|
}
|
|
75384
75803
|
],
|
|
75385
|
-
"
|
|
75386
|
-
|
|
75387
|
-
|
|
75388
|
-
|
|
75389
|
-
|
|
75390
|
-
|
|
75391
|
-
|
|
75392
|
-
"
|
|
75393
|
-
}
|
|
75804
|
+
"description": "Check if the key pressed is among those allowed for navigation."
|
|
75805
|
+
},
|
|
75806
|
+
{
|
|
75807
|
+
"kind": "function",
|
|
75808
|
+
"name": "isPreviousArrowKeyPressed",
|
|
75809
|
+
"return": {
|
|
75810
|
+
"type": {
|
|
75811
|
+
"text": "boolean"
|
|
75812
|
+
}
|
|
75813
|
+
},
|
|
75814
|
+
"parameters": [
|
|
75394
75815
|
{
|
|
75395
|
-
"
|
|
75396
|
-
"
|
|
75816
|
+
"name": "event",
|
|
75817
|
+
"type": {
|
|
75818
|
+
"text": "KeyboardEvent"
|
|
75819
|
+
},
|
|
75820
|
+
"description": "The keyboard event to check."
|
|
75397
75821
|
}
|
|
75398
75822
|
],
|
|
75399
|
-
"
|
|
75823
|
+
"description": "Check if the key pressed should move the navigation to the next element."
|
|
75824
|
+
},
|
|
75825
|
+
{
|
|
75826
|
+
"kind": "function",
|
|
75827
|
+
"name": "isNextArrowKeyPressed",
|
|
75828
|
+
"return": {
|
|
75829
|
+
"type": {
|
|
75830
|
+
"text": "boolean"
|
|
75831
|
+
}
|
|
75832
|
+
},
|
|
75833
|
+
"parameters": [
|
|
75400
75834
|
{
|
|
75401
|
-
"
|
|
75402
|
-
"name": "elementName",
|
|
75835
|
+
"name": "event",
|
|
75403
75836
|
"type": {
|
|
75404
|
-
"text": "
|
|
75837
|
+
"text": "KeyboardEvent"
|
|
75405
75838
|
},
|
|
75406
|
-
"
|
|
75407
|
-
|
|
75408
|
-
|
|
75409
|
-
|
|
75410
|
-
|
|
75411
|
-
|
|
75412
|
-
|
|
75413
|
-
|
|
75414
|
-
|
|
75839
|
+
"description": "The keyboard event to check."
|
|
75840
|
+
}
|
|
75841
|
+
],
|
|
75842
|
+
"description": "Check if the key pressed should move the navigation to the next element."
|
|
75843
|
+
},
|
|
75844
|
+
{
|
|
75845
|
+
"kind": "function",
|
|
75846
|
+
"name": "isArrowKeyOrPageKeysPressed",
|
|
75847
|
+
"return": {
|
|
75848
|
+
"type": {
|
|
75849
|
+
"text": "boolean"
|
|
75850
|
+
}
|
|
75851
|
+
},
|
|
75852
|
+
"parameters": [
|
|
75415
75853
|
{
|
|
75416
|
-
"
|
|
75417
|
-
"name": "expanded",
|
|
75854
|
+
"name": "event",
|
|
75418
75855
|
"type": {
|
|
75419
|
-
"text": "
|
|
75420
|
-
},
|
|
75421
|
-
"privacy": "public",
|
|
75422
|
-
"default": "false",
|
|
75423
|
-
"description": "Whether the container is expanded.",
|
|
75424
|
-
"attribute": "expanded",
|
|
75425
|
-
"reflects": true
|
|
75426
|
-
},
|
|
75427
|
-
{
|
|
75428
|
-
"kind": "field",
|
|
75429
|
-
"name": "backgroundExpanded",
|
|
75430
|
-
"type": {
|
|
75431
|
-
"text": "boolean"
|
|
75432
|
-
},
|
|
75433
|
-
"privacy": "public",
|
|
75434
|
-
"default": "false",
|
|
75435
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
75436
|
-
"attribute": "background-expanded",
|
|
75437
|
-
"reflects": true
|
|
75438
|
-
},
|
|
75439
|
-
{
|
|
75440
|
-
"kind": "field",
|
|
75441
|
-
"name": "color",
|
|
75442
|
-
"type": {
|
|
75443
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
75444
|
-
},
|
|
75445
|
-
"privacy": "public",
|
|
75446
|
-
"default": "'white'",
|
|
75447
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
75448
|
-
"attribute": "color",
|
|
75449
|
-
"reflects": true
|
|
75450
|
-
},
|
|
75451
|
-
{
|
|
75452
|
-
"kind": "field",
|
|
75453
|
-
"name": "['_$sbbElement$']",
|
|
75454
|
-
"type": {
|
|
75455
|
-
"text": "boolean"
|
|
75456
|
-
},
|
|
75457
|
-
"privacy": "public",
|
|
75458
|
-
"static": true,
|
|
75459
|
-
"default": "true",
|
|
75460
|
-
"inheritedFrom": {
|
|
75461
|
-
"name": "SbbElement",
|
|
75462
|
-
"module": "core/base-elements/element.js"
|
|
75463
|
-
}
|
|
75464
|
-
},
|
|
75465
|
-
{
|
|
75466
|
-
"kind": "field",
|
|
75467
|
-
"name": "elementDependencies",
|
|
75468
|
-
"type": {
|
|
75469
|
-
"text": "SbbElementType[] | undefined"
|
|
75470
|
-
},
|
|
75471
|
-
"privacy": "public",
|
|
75472
|
-
"static": true,
|
|
75473
|
-
"inheritedFrom": {
|
|
75474
|
-
"name": "SbbElement",
|
|
75475
|
-
"module": "core/base-elements/element.js"
|
|
75476
|
-
}
|
|
75477
|
-
},
|
|
75478
|
-
{
|
|
75479
|
-
"kind": "field",
|
|
75480
|
-
"name": "role",
|
|
75481
|
-
"type": {
|
|
75482
|
-
"text": "ElementInternals['role'] | undefined"
|
|
75483
|
-
},
|
|
75484
|
-
"privacy": "public",
|
|
75485
|
-
"static": true,
|
|
75486
|
-
"inheritedFrom": {
|
|
75487
|
-
"name": "SbbElement",
|
|
75488
|
-
"module": "core/base-elements/element.js"
|
|
75489
|
-
}
|
|
75490
|
-
},
|
|
75491
|
-
{
|
|
75492
|
-
"kind": "field",
|
|
75493
|
-
"name": "_controllers",
|
|
75494
|
-
"type": {
|
|
75495
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
75496
|
-
},
|
|
75497
|
-
"privacy": "private",
|
|
75498
|
-
"inheritedFrom": {
|
|
75499
|
-
"name": "SbbElement",
|
|
75500
|
-
"module": "core/base-elements/element.js"
|
|
75501
|
-
}
|
|
75502
|
-
},
|
|
75503
|
-
{
|
|
75504
|
-
"kind": "field",
|
|
75505
|
-
"name": "_hydrationRequired",
|
|
75506
|
-
"type": {
|
|
75507
|
-
"text": "boolean"
|
|
75508
|
-
},
|
|
75509
|
-
"privacy": "private",
|
|
75510
|
-
"default": "!!this.shadowRoot",
|
|
75511
|
-
"inheritedFrom": {
|
|
75512
|
-
"name": "SbbElement",
|
|
75513
|
-
"module": "core/base-elements/element.js"
|
|
75514
|
-
}
|
|
75515
|
-
},
|
|
75516
|
-
{
|
|
75517
|
-
"kind": "field",
|
|
75518
|
-
"name": "_hydrationComplete",
|
|
75519
|
-
"privacy": "private",
|
|
75520
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
75521
|
-
"inheritedFrom": {
|
|
75522
|
-
"name": "SbbElement",
|
|
75523
|
-
"module": "core/base-elements/element.js"
|
|
75524
|
-
}
|
|
75525
|
-
},
|
|
75526
|
-
{
|
|
75527
|
-
"kind": "field",
|
|
75528
|
-
"name": "_resolveHydration",
|
|
75529
|
-
"type": {
|
|
75530
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
75531
|
-
},
|
|
75532
|
-
"privacy": "private",
|
|
75533
|
-
"inheritedFrom": {
|
|
75534
|
-
"name": "SbbElement",
|
|
75535
|
-
"module": "core/base-elements/element.js"
|
|
75536
|
-
}
|
|
75537
|
-
},
|
|
75538
|
-
{
|
|
75539
|
-
"kind": "field",
|
|
75540
|
-
"name": "_textObserver",
|
|
75541
|
-
"type": {
|
|
75542
|
-
"text": "MutationObserver | undefined"
|
|
75543
|
-
},
|
|
75544
|
-
"privacy": "private",
|
|
75545
|
-
"inheritedFrom": {
|
|
75546
|
-
"name": "SbbElement",
|
|
75547
|
-
"module": "core/base-elements/element.js"
|
|
75548
|
-
}
|
|
75549
|
-
},
|
|
75550
|
-
{
|
|
75551
|
-
"kind": "field",
|
|
75552
|
-
"name": "hydrationRequired",
|
|
75553
|
-
"type": {
|
|
75554
|
-
"text": "boolean"
|
|
75555
|
-
},
|
|
75556
|
-
"privacy": "protected",
|
|
75557
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
75558
|
-
"readonly": true,
|
|
75559
|
-
"inheritedFrom": {
|
|
75560
|
-
"name": "SbbElement",
|
|
75561
|
-
"module": "core/base-elements/element.js"
|
|
75562
|
-
},
|
|
75563
|
-
"default": "!!this.shadowRoot"
|
|
75564
|
-
},
|
|
75565
|
-
{
|
|
75566
|
-
"kind": "method",
|
|
75567
|
-
"name": "finalizeStyles",
|
|
75568
|
-
"privacy": "protected",
|
|
75569
|
-
"static": true,
|
|
75570
|
-
"return": {
|
|
75571
|
-
"type": {
|
|
75572
|
-
"text": "CSSResultOrNative[]"
|
|
75573
|
-
}
|
|
75574
|
-
},
|
|
75575
|
-
"parameters": [
|
|
75576
|
-
{
|
|
75577
|
-
"name": "_styles",
|
|
75578
|
-
"type": {
|
|
75579
|
-
"text": "CSSResultGroup"
|
|
75580
|
-
}
|
|
75581
|
-
}
|
|
75582
|
-
],
|
|
75583
|
-
"description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
|
|
75584
|
-
"inheritedFrom": {
|
|
75585
|
-
"name": "SbbElement",
|
|
75586
|
-
"module": "core/base-elements/element.js"
|
|
75587
|
-
}
|
|
75588
|
-
},
|
|
75589
|
-
{
|
|
75590
|
-
"kind": "method",
|
|
75591
|
-
"name": "toggleState",
|
|
75592
|
-
"privacy": "protected",
|
|
75593
|
-
"return": {
|
|
75594
|
-
"type": {
|
|
75595
|
-
"text": "void"
|
|
75596
|
-
}
|
|
75597
|
-
},
|
|
75598
|
-
"parameters": [
|
|
75599
|
-
{
|
|
75600
|
-
"name": "value",
|
|
75601
|
-
"type": {
|
|
75602
|
-
"text": "string"
|
|
75603
|
-
}
|
|
75604
|
-
},
|
|
75605
|
-
{
|
|
75606
|
-
"name": "force",
|
|
75607
|
-
"optional": true,
|
|
75608
|
-
"type": {
|
|
75609
|
-
"text": "boolean"
|
|
75610
|
-
}
|
|
75611
|
-
}
|
|
75612
|
-
],
|
|
75613
|
-
"inheritedFrom": {
|
|
75614
|
-
"name": "SbbElement",
|
|
75615
|
-
"module": "core/base-elements/element.js"
|
|
75616
|
-
}
|
|
75617
|
-
},
|
|
75618
|
-
{
|
|
75619
|
-
"kind": "method",
|
|
75620
|
-
"name": "_slotchangeHandler",
|
|
75621
|
-
"privacy": "private",
|
|
75622
|
-
"return": {
|
|
75623
|
-
"type": {
|
|
75624
|
-
"text": "void"
|
|
75625
|
-
}
|
|
75626
|
-
},
|
|
75627
|
-
"parameters": [
|
|
75628
|
-
{
|
|
75629
|
-
"name": "event",
|
|
75630
|
-
"type": {
|
|
75631
|
-
"text": "Event"
|
|
75632
|
-
}
|
|
75633
|
-
},
|
|
75634
|
-
{
|
|
75635
|
-
"name": "slot",
|
|
75636
|
-
"type": {
|
|
75637
|
-
"text": "HTMLSlotElement"
|
|
75638
|
-
}
|
|
75639
|
-
}
|
|
75640
|
-
],
|
|
75641
|
-
"inheritedFrom": {
|
|
75642
|
-
"name": "SbbElement",
|
|
75643
|
-
"module": "core/base-elements/element.js"
|
|
75644
|
-
}
|
|
75645
|
-
},
|
|
75646
|
-
{
|
|
75647
|
-
"kind": "method",
|
|
75648
|
-
"name": "_handleSlotChangeForSlottedState",
|
|
75649
|
-
"privacy": "private",
|
|
75650
|
-
"return": {
|
|
75651
|
-
"type": {
|
|
75652
|
-
"text": "void"
|
|
75653
|
-
}
|
|
75654
|
-
},
|
|
75655
|
-
"parameters": [
|
|
75656
|
-
{
|
|
75657
|
-
"name": "slot",
|
|
75658
|
-
"type": {
|
|
75659
|
-
"text": "HTMLSlotElement"
|
|
75660
|
-
}
|
|
75661
|
-
}
|
|
75662
|
-
],
|
|
75663
|
-
"inheritedFrom": {
|
|
75664
|
-
"name": "SbbElement",
|
|
75665
|
-
"module": "core/base-elements/element.js"
|
|
75666
|
-
}
|
|
75667
|
-
},
|
|
75668
|
-
{
|
|
75669
|
-
"kind": "method",
|
|
75670
|
-
"name": "_updateSlottedState",
|
|
75671
|
-
"privacy": "private",
|
|
75672
|
-
"return": {
|
|
75673
|
-
"type": {
|
|
75674
|
-
"text": "void"
|
|
75675
|
-
}
|
|
75676
|
-
},
|
|
75677
|
-
"parameters": [
|
|
75678
|
-
{
|
|
75679
|
-
"name": "slot",
|
|
75680
|
-
"type": {
|
|
75681
|
-
"text": "HTMLSlotElement"
|
|
75682
|
-
}
|
|
75683
|
-
}
|
|
75684
|
-
],
|
|
75685
|
-
"inheritedFrom": {
|
|
75686
|
-
"name": "SbbElement",
|
|
75687
|
-
"module": "core/base-elements/element.js"
|
|
75688
|
-
}
|
|
75689
|
-
},
|
|
75690
|
-
{
|
|
75691
|
-
"kind": "method",
|
|
75692
|
-
"name": "_observeTextNodesInSlot",
|
|
75693
|
-
"privacy": "private",
|
|
75694
|
-
"return": {
|
|
75695
|
-
"type": {
|
|
75696
|
-
"text": "void"
|
|
75697
|
-
}
|
|
75698
|
-
},
|
|
75699
|
-
"parameters": [
|
|
75700
|
-
{
|
|
75701
|
-
"name": "slot",
|
|
75702
|
-
"type": {
|
|
75703
|
-
"text": "HTMLSlotElement"
|
|
75704
|
-
}
|
|
75705
|
-
}
|
|
75706
|
-
],
|
|
75707
|
-
"inheritedFrom": {
|
|
75708
|
-
"name": "SbbElement",
|
|
75709
|
-
"module": "core/base-elements/element.js"
|
|
75710
|
-
}
|
|
75711
|
-
},
|
|
75712
|
-
{
|
|
75713
|
-
"kind": "method",
|
|
75714
|
-
"name": "_hasSlottedContent",
|
|
75715
|
-
"privacy": "private",
|
|
75716
|
-
"return": {
|
|
75717
|
-
"type": {
|
|
75718
|
-
"text": "boolean"
|
|
75719
|
-
}
|
|
75720
|
-
},
|
|
75721
|
-
"parameters": [
|
|
75722
|
-
{
|
|
75723
|
-
"name": "slot",
|
|
75724
|
-
"type": {
|
|
75725
|
-
"text": "HTMLSlotElement"
|
|
75726
|
-
}
|
|
75727
|
-
}
|
|
75728
|
-
],
|
|
75729
|
-
"inheritedFrom": {
|
|
75730
|
-
"name": "SbbElement",
|
|
75731
|
-
"module": "core/base-elements/element.js"
|
|
75732
|
-
}
|
|
75733
|
-
}
|
|
75734
|
-
],
|
|
75735
|
-
"attributes": [
|
|
75736
|
-
{
|
|
75737
|
-
"name": "expanded",
|
|
75738
|
-
"type": {
|
|
75739
|
-
"text": "boolean"
|
|
75740
|
-
},
|
|
75741
|
-
"default": "false",
|
|
75742
|
-
"description": "Whether the container is expanded.",
|
|
75743
|
-
"fieldName": "expanded"
|
|
75744
|
-
},
|
|
75745
|
-
{
|
|
75746
|
-
"name": "background-expanded",
|
|
75747
|
-
"type": {
|
|
75748
|
-
"text": "boolean"
|
|
75749
|
-
},
|
|
75750
|
-
"default": "false",
|
|
75751
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
75752
|
-
"fieldName": "backgroundExpanded"
|
|
75753
|
-
},
|
|
75754
|
-
{
|
|
75755
|
-
"name": "color",
|
|
75756
|
-
"type": {
|
|
75757
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
75758
|
-
},
|
|
75759
|
-
"default": "'white'",
|
|
75760
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
75761
|
-
"fieldName": "color"
|
|
75762
|
-
}
|
|
75763
|
-
],
|
|
75764
|
-
"superclass": {
|
|
75765
|
-
"name": "SbbElement",
|
|
75766
|
-
"module": "core.js"
|
|
75767
|
-
},
|
|
75768
|
-
"tagName": "sbb-container",
|
|
75769
|
-
"customElement": true
|
|
75770
|
-
}
|
|
75771
|
-
],
|
|
75772
|
-
"exports": [
|
|
75773
|
-
{
|
|
75774
|
-
"kind": "js",
|
|
75775
|
-
"name": "SbbContainerElement",
|
|
75776
|
-
"declaration": {
|
|
75777
|
-
"name": "SbbContainerElement",
|
|
75778
|
-
"module": "container/container/container.component.js"
|
|
75779
|
-
}
|
|
75780
|
-
}
|
|
75781
|
-
]
|
|
75782
|
-
},
|
|
75783
|
-
{
|
|
75784
|
-
"kind": "javascript-module",
|
|
75785
|
-
"path": "core/a11y/arrow-navigation.js",
|
|
75786
|
-
"declarations": [
|
|
75787
|
-
{
|
|
75788
|
-
"kind": "function",
|
|
75789
|
-
"name": "isArrowKeyPressed",
|
|
75790
|
-
"return": {
|
|
75791
|
-
"type": {
|
|
75792
|
-
"text": "boolean"
|
|
75793
|
-
}
|
|
75794
|
-
},
|
|
75795
|
-
"parameters": [
|
|
75796
|
-
{
|
|
75797
|
-
"name": "event",
|
|
75798
|
-
"type": {
|
|
75799
|
-
"text": "KeyboardEvent"
|
|
75800
|
-
},
|
|
75801
|
-
"description": "The keyboard event to check."
|
|
75802
|
-
}
|
|
75803
|
-
],
|
|
75804
|
-
"description": "Check if the key pressed is among those allowed for navigation."
|
|
75805
|
-
},
|
|
75806
|
-
{
|
|
75807
|
-
"kind": "function",
|
|
75808
|
-
"name": "isPreviousArrowKeyPressed",
|
|
75809
|
-
"return": {
|
|
75810
|
-
"type": {
|
|
75811
|
-
"text": "boolean"
|
|
75812
|
-
}
|
|
75813
|
-
},
|
|
75814
|
-
"parameters": [
|
|
75815
|
-
{
|
|
75816
|
-
"name": "event",
|
|
75817
|
-
"type": {
|
|
75818
|
-
"text": "KeyboardEvent"
|
|
75819
|
-
},
|
|
75820
|
-
"description": "The keyboard event to check."
|
|
75821
|
-
}
|
|
75822
|
-
],
|
|
75823
|
-
"description": "Check if the key pressed should move the navigation to the next element."
|
|
75824
|
-
},
|
|
75825
|
-
{
|
|
75826
|
-
"kind": "function",
|
|
75827
|
-
"name": "isNextArrowKeyPressed",
|
|
75828
|
-
"return": {
|
|
75829
|
-
"type": {
|
|
75830
|
-
"text": "boolean"
|
|
75831
|
-
}
|
|
75832
|
-
},
|
|
75833
|
-
"parameters": [
|
|
75834
|
-
{
|
|
75835
|
-
"name": "event",
|
|
75836
|
-
"type": {
|
|
75837
|
-
"text": "KeyboardEvent"
|
|
75838
|
-
},
|
|
75839
|
-
"description": "The keyboard event to check."
|
|
75840
|
-
}
|
|
75841
|
-
],
|
|
75842
|
-
"description": "Check if the key pressed should move the navigation to the next element."
|
|
75843
|
-
},
|
|
75844
|
-
{
|
|
75845
|
-
"kind": "function",
|
|
75846
|
-
"name": "isArrowKeyOrPageKeysPressed",
|
|
75847
|
-
"return": {
|
|
75848
|
-
"type": {
|
|
75849
|
-
"text": "boolean"
|
|
75850
|
-
}
|
|
75851
|
-
},
|
|
75852
|
-
"parameters": [
|
|
75853
|
-
{
|
|
75854
|
-
"name": "event",
|
|
75855
|
-
"type": {
|
|
75856
|
-
"text": "KeyboardEvent"
|
|
75856
|
+
"text": "KeyboardEvent"
|
|
75857
75857
|
},
|
|
75858
75858
|
"description": "The keyboard event to check."
|
|
75859
75859
|
}
|
|
@@ -131956,12 +131956,12 @@
|
|
|
131956
131956
|
},
|
|
131957
131957
|
{
|
|
131958
131958
|
"kind": "javascript-module",
|
|
131959
|
-
"path": "menu/menu-
|
|
131959
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
131960
131960
|
"declarations": [
|
|
131961
131961
|
{
|
|
131962
131962
|
"kind": "class",
|
|
131963
|
-
"description": "It displays a
|
|
131964
|
-
"name": "
|
|
131963
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
131964
|
+
"name": "SbbMenuButtonElement",
|
|
131965
131965
|
"cssProperties": [
|
|
131966
131966
|
{
|
|
131967
131967
|
"description": "Can be used to modify horizontal padding.",
|
|
@@ -131971,7 +131971,7 @@
|
|
|
131971
131971
|
],
|
|
131972
131972
|
"slots": [
|
|
131973
131973
|
{
|
|
131974
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-
|
|
131974
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
131975
131975
|
"name": ""
|
|
131976
131976
|
},
|
|
131977
131977
|
{
|
|
@@ -131993,21 +131993,22 @@
|
|
|
131993
131993
|
"name": "SbbElement",
|
|
131994
131994
|
"module": "core/base-elements/element.js"
|
|
131995
131995
|
},
|
|
131996
|
-
"default": "'sbb-menu-
|
|
131996
|
+
"default": "'sbb-menu-button'"
|
|
131997
131997
|
},
|
|
131998
131998
|
{
|
|
131999
131999
|
"kind": "field",
|
|
132000
|
-
"name": "
|
|
132000
|
+
"name": "role",
|
|
132001
132001
|
"type": {
|
|
132002
|
-
"text": "
|
|
132002
|
+
"text": "ElementInternals['role']"
|
|
132003
132003
|
},
|
|
132004
|
-
"privacy": "
|
|
132005
|
-
"
|
|
132006
|
-
"default": "'menuitem'",
|
|
132004
|
+
"privacy": "public",
|
|
132005
|
+
"static": true,
|
|
132007
132006
|
"inheritedFrom": {
|
|
132008
|
-
"name": "
|
|
132009
|
-
"module": "core/base-elements/
|
|
132010
|
-
}
|
|
132007
|
+
"name": "SbbElement",
|
|
132008
|
+
"module": "core/base-elements/element.js"
|
|
132009
|
+
},
|
|
132010
|
+
"readonly": true,
|
|
132011
|
+
"default": "'menuitem'"
|
|
132011
132012
|
},
|
|
132012
132013
|
{
|
|
132013
132014
|
"kind": "field",
|
|
@@ -132025,6 +132026,50 @@
|
|
|
132025
132026
|
"module": "core/mixins/disabled-mixin.js"
|
|
132026
132027
|
}
|
|
132027
132028
|
},
|
|
132029
|
+
{
|
|
132030
|
+
"kind": "field",
|
|
132031
|
+
"name": "disabled",
|
|
132032
|
+
"privacy": "public",
|
|
132033
|
+
"description": "Whether the component is disabled.",
|
|
132034
|
+
"default": "false",
|
|
132035
|
+
"type": {
|
|
132036
|
+
"text": "boolean"
|
|
132037
|
+
},
|
|
132038
|
+
"attribute": "disabled",
|
|
132039
|
+
"reflects": true,
|
|
132040
|
+
"inheritedFrom": {
|
|
132041
|
+
"name": "SbbDisabledMixin",
|
|
132042
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132043
|
+
}
|
|
132044
|
+
},
|
|
132045
|
+
{
|
|
132046
|
+
"kind": "field",
|
|
132047
|
+
"name": "#disabled",
|
|
132048
|
+
"privacy": "private",
|
|
132049
|
+
"type": {
|
|
132050
|
+
"text": "boolean"
|
|
132051
|
+
},
|
|
132052
|
+
"default": "false",
|
|
132053
|
+
"inheritedFrom": {
|
|
132054
|
+
"name": "SbbDisabledMixin",
|
|
132055
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132056
|
+
}
|
|
132057
|
+
},
|
|
132058
|
+
{
|
|
132059
|
+
"kind": "method",
|
|
132060
|
+
"name": "isDisabledExternally",
|
|
132061
|
+
"privacy": "protected",
|
|
132062
|
+
"return": {
|
|
132063
|
+
"type": {
|
|
132064
|
+
"text": "boolean"
|
|
132065
|
+
}
|
|
132066
|
+
},
|
|
132067
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
132068
|
+
"inheritedFrom": {
|
|
132069
|
+
"name": "SbbDisabledMixin",
|
|
132070
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132071
|
+
}
|
|
132072
|
+
},
|
|
132028
132073
|
{
|
|
132029
132074
|
"kind": "field",
|
|
132030
132075
|
"name": "styles",
|
|
@@ -132136,181 +132181,464 @@
|
|
|
132136
132181
|
},
|
|
132137
132182
|
{
|
|
132138
132183
|
"kind": "field",
|
|
132139
|
-
"name": "
|
|
132184
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
132185
|
+
"type": {
|
|
132186
|
+
"text": "array"
|
|
132187
|
+
},
|
|
132188
|
+
"privacy": "private",
|
|
132189
|
+
"readonly": true,
|
|
132190
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
132191
|
+
"inheritedFrom": {
|
|
132192
|
+
"name": "SbbButtonBaseElement",
|
|
132193
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132194
|
+
}
|
|
132195
|
+
},
|
|
132196
|
+
{
|
|
132197
|
+
"kind": "field",
|
|
132198
|
+
"name": "value",
|
|
132199
|
+
"type": {
|
|
132200
|
+
"text": "string"
|
|
132201
|
+
},
|
|
132140
132202
|
"privacy": "public",
|
|
132141
|
-
"
|
|
132142
|
-
|
|
132203
|
+
"inheritedFrom": {
|
|
132204
|
+
"name": "SbbButtonBaseElement",
|
|
132205
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132206
|
+
},
|
|
132207
|
+
"default": "''",
|
|
132208
|
+
"description": "Value of the form element.",
|
|
132209
|
+
"attribute": "value"
|
|
132210
|
+
},
|
|
132211
|
+
{
|
|
132212
|
+
"kind": "field",
|
|
132213
|
+
"name": "type",
|
|
132214
|
+
"privacy": "public",
|
|
132215
|
+
"description": "The type attribute to use for the button.",
|
|
132216
|
+
"default": "'button'",
|
|
132143
132217
|
"type": {
|
|
132144
|
-
"text": "
|
|
132218
|
+
"text": "SbbButtonType"
|
|
132145
132219
|
},
|
|
132146
|
-
"attribute": "
|
|
132147
|
-
"reflects": true,
|
|
132220
|
+
"attribute": "type",
|
|
132148
132221
|
"inheritedFrom": {
|
|
132149
|
-
"name": "
|
|
132150
|
-
"module": "core/
|
|
132222
|
+
"name": "SbbButtonBaseElement",
|
|
132223
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132151
132224
|
}
|
|
132152
132225
|
},
|
|
132153
132226
|
{
|
|
132154
132227
|
"kind": "field",
|
|
132155
|
-
"name": "
|
|
132156
|
-
"privacy": "private",
|
|
132228
|
+
"name": "form",
|
|
132157
132229
|
"type": {
|
|
132158
|
-
"text": "
|
|
132230
|
+
"text": "HTMLFormElement | null"
|
|
132159
132231
|
},
|
|
132160
|
-
"
|
|
132232
|
+
"privacy": "public",
|
|
132233
|
+
"description": "The `<form>` element to associate the button with.",
|
|
132161
132234
|
"inheritedFrom": {
|
|
132162
|
-
"name": "
|
|
132163
|
-
"module": "core/
|
|
132235
|
+
"name": "SbbButtonBaseElement",
|
|
132236
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132237
|
+
},
|
|
132238
|
+
"attribute": "form"
|
|
132239
|
+
},
|
|
132240
|
+
{
|
|
132241
|
+
"kind": "field",
|
|
132242
|
+
"name": "_formId",
|
|
132243
|
+
"type": {
|
|
132244
|
+
"text": "string"
|
|
132245
|
+
},
|
|
132246
|
+
"privacy": "private",
|
|
132247
|
+
"default": "''",
|
|
132248
|
+
"inheritedFrom": {
|
|
132249
|
+
"name": "SbbButtonBaseElement",
|
|
132250
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132251
|
+
}
|
|
132252
|
+
},
|
|
132253
|
+
{
|
|
132254
|
+
"kind": "field",
|
|
132255
|
+
"name": "_handleButtonClick",
|
|
132256
|
+
"privacy": "private",
|
|
132257
|
+
"inheritedFrom": {
|
|
132258
|
+
"name": "SbbButtonBaseElement",
|
|
132259
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132164
132260
|
}
|
|
132165
132261
|
},
|
|
132166
132262
|
{
|
|
132167
132263
|
"kind": "method",
|
|
132168
|
-
"name": "
|
|
132169
|
-
"privacy": "
|
|
132264
|
+
"name": "_requestSubmit",
|
|
132265
|
+
"privacy": "private",
|
|
132170
132266
|
"return": {
|
|
132171
132267
|
"type": {
|
|
132172
|
-
"text": "
|
|
132268
|
+
"text": "void"
|
|
132173
132269
|
}
|
|
132174
132270
|
},
|
|
132175
|
-
"
|
|
132271
|
+
"parameters": [
|
|
132272
|
+
{
|
|
132273
|
+
"name": "form",
|
|
132274
|
+
"type": {
|
|
132275
|
+
"text": "HTMLFormElement"
|
|
132276
|
+
}
|
|
132277
|
+
}
|
|
132278
|
+
],
|
|
132176
132279
|
"inheritedFrom": {
|
|
132177
|
-
"name": "
|
|
132178
|
-
"module": "core/
|
|
132280
|
+
"name": "SbbButtonBaseElement",
|
|
132281
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132179
132282
|
}
|
|
132180
132283
|
},
|
|
132181
132284
|
{
|
|
132182
132285
|
"kind": "field",
|
|
132183
|
-
"name": "
|
|
132184
|
-
"
|
|
132185
|
-
"text": "string"
|
|
132186
|
-
},
|
|
132187
|
-
"privacy": "public",
|
|
132188
|
-
"default": "''",
|
|
132189
|
-
"description": "The href value you want to link to.",
|
|
132190
|
-
"attribute": "href",
|
|
132191
|
-
"reflects": true,
|
|
132286
|
+
"name": "_formKeyDown",
|
|
132287
|
+
"privacy": "private",
|
|
132192
132288
|
"inheritedFrom": {
|
|
132193
|
-
"name": "
|
|
132194
|
-
"module": "core/base-elements/
|
|
132289
|
+
"name": "SbbButtonBaseElement",
|
|
132290
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132195
132291
|
}
|
|
132196
132292
|
},
|
|
132197
132293
|
{
|
|
132198
132294
|
"kind": "field",
|
|
132199
|
-
"name": "
|
|
132295
|
+
"name": "formAssociated",
|
|
132200
132296
|
"type": {
|
|
132201
|
-
"text": "
|
|
132297
|
+
"text": "boolean"
|
|
132202
132298
|
},
|
|
132203
132299
|
"privacy": "public",
|
|
132204
|
-
"
|
|
132205
|
-
"
|
|
132206
|
-
"attribute": "target",
|
|
132207
|
-
"reflects": true,
|
|
132300
|
+
"static": true,
|
|
132301
|
+
"default": "true",
|
|
132208
132302
|
"inheritedFrom": {
|
|
132209
|
-
"name": "
|
|
132210
|
-
"module": "core/
|
|
132303
|
+
"name": "SbbFormAssociatedMixin",
|
|
132304
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132211
132305
|
}
|
|
132212
132306
|
},
|
|
132213
132307
|
{
|
|
132214
132308
|
"kind": "field",
|
|
132215
|
-
"name": "
|
|
132309
|
+
"name": "name",
|
|
132310
|
+
"privacy": "public",
|
|
132311
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
132216
132312
|
"type": {
|
|
132217
132313
|
"text": "string"
|
|
132218
132314
|
},
|
|
132219
|
-
"
|
|
132220
|
-
"default": "''",
|
|
132221
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
132222
|
-
"attribute": "rel",
|
|
132223
|
-
"reflects": true,
|
|
132315
|
+
"attribute": "name",
|
|
132224
132316
|
"inheritedFrom": {
|
|
132225
|
-
"name": "
|
|
132226
|
-
"module": "core/
|
|
132317
|
+
"name": "SbbFormAssociatedMixin",
|
|
132318
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132227
132319
|
}
|
|
132228
132320
|
},
|
|
132229
132321
|
{
|
|
132230
132322
|
"kind": "field",
|
|
132231
|
-
"name": "
|
|
132323
|
+
"name": "validity",
|
|
132232
132324
|
"type": {
|
|
132233
|
-
"text": "
|
|
132325
|
+
"text": "ValidityState"
|
|
132234
132326
|
},
|
|
132235
132327
|
"privacy": "public",
|
|
132236
|
-
"
|
|
132237
|
-
"
|
|
132238
|
-
"attribute": "download",
|
|
132239
|
-
"reflects": true,
|
|
132328
|
+
"description": "Returns the ValidityState object for this element.",
|
|
132329
|
+
"readonly": true,
|
|
132240
132330
|
"inheritedFrom": {
|
|
132241
|
-
"name": "
|
|
132242
|
-
"module": "core/
|
|
132331
|
+
"name": "SbbFormAssociatedMixin",
|
|
132332
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132243
132333
|
}
|
|
132244
132334
|
},
|
|
132245
132335
|
{
|
|
132246
132336
|
"kind": "field",
|
|
132247
|
-
"name": "
|
|
132337
|
+
"name": "validationMessage",
|
|
132248
132338
|
"type": {
|
|
132249
132339
|
"text": "string"
|
|
132250
132340
|
},
|
|
132251
132341
|
"privacy": "public",
|
|
132252
|
-
"
|
|
132253
|
-
"
|
|
132254
|
-
"attribute": "accessibility-label",
|
|
132342
|
+
"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.",
|
|
132343
|
+
"readonly": true,
|
|
132255
132344
|
"inheritedFrom": {
|
|
132256
|
-
"name": "
|
|
132257
|
-
"module": "core/
|
|
132345
|
+
"name": "SbbFormAssociatedMixin",
|
|
132346
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132258
132347
|
}
|
|
132259
132348
|
},
|
|
132260
132349
|
{
|
|
132261
132350
|
"kind": "field",
|
|
132262
|
-
"name": "
|
|
132351
|
+
"name": "willValidate",
|
|
132263
132352
|
"type": {
|
|
132264
|
-
"text": "
|
|
132353
|
+
"text": "boolean"
|
|
132265
132354
|
},
|
|
132266
132355
|
"privacy": "public",
|
|
132267
|
-
"
|
|
132268
|
-
"
|
|
132269
|
-
"attribute": "accessibility-current",
|
|
132356
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
132357
|
+
"readonly": true,
|
|
132270
132358
|
"inheritedFrom": {
|
|
132271
|
-
"name": "
|
|
132272
|
-
"module": "core/
|
|
132359
|
+
"name": "SbbFormAssociatedMixin",
|
|
132360
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132273
132361
|
}
|
|
132274
132362
|
},
|
|
132275
132363
|
{
|
|
132276
132364
|
"kind": "field",
|
|
132277
|
-
"name": "
|
|
132278
|
-
"privacy": "
|
|
132279
|
-
"default": "new
|
|
132365
|
+
"name": "_validityStates",
|
|
132366
|
+
"privacy": "private",
|
|
132367
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
132280
132368
|
"inheritedFrom": {
|
|
132281
|
-
"name": "
|
|
132282
|
-
"module": "core/
|
|
132369
|
+
"name": "SbbFormAssociatedMixin",
|
|
132370
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132283
132371
|
}
|
|
132284
132372
|
},
|
|
132285
132373
|
{
|
|
132286
132374
|
"kind": "field",
|
|
132287
|
-
"name": "
|
|
132375
|
+
"name": "formDisabled",
|
|
132376
|
+
"type": {
|
|
132377
|
+
"text": "boolean"
|
|
132378
|
+
},
|
|
132379
|
+
"privacy": "protected",
|
|
132380
|
+
"default": "false",
|
|
132381
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
132382
|
+
"inheritedFrom": {
|
|
132383
|
+
"name": "SbbFormAssociatedMixin",
|
|
132384
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132385
|
+
}
|
|
132386
|
+
},
|
|
132387
|
+
{
|
|
132388
|
+
"kind": "method",
|
|
132389
|
+
"name": "checkValidity",
|
|
132390
|
+
"privacy": "public",
|
|
132391
|
+
"return": {
|
|
132392
|
+
"type": {
|
|
132393
|
+
"text": "boolean"
|
|
132394
|
+
}
|
|
132395
|
+
},
|
|
132396
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
132397
|
+
"inheritedFrom": {
|
|
132398
|
+
"name": "SbbFormAssociatedMixin",
|
|
132399
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132400
|
+
}
|
|
132401
|
+
},
|
|
132402
|
+
{
|
|
132403
|
+
"kind": "method",
|
|
132404
|
+
"name": "reportValidity",
|
|
132405
|
+
"privacy": "public",
|
|
132406
|
+
"return": {
|
|
132407
|
+
"type": {
|
|
132408
|
+
"text": "boolean"
|
|
132409
|
+
}
|
|
132410
|
+
},
|
|
132411
|
+
"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.",
|
|
132412
|
+
"inheritedFrom": {
|
|
132413
|
+
"name": "SbbFormAssociatedMixin",
|
|
132414
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132415
|
+
}
|
|
132416
|
+
},
|
|
132417
|
+
{
|
|
132418
|
+
"kind": "method",
|
|
132419
|
+
"name": "setCustomValidity",
|
|
132420
|
+
"privacy": "public",
|
|
132421
|
+
"return": {
|
|
132422
|
+
"type": {
|
|
132423
|
+
"text": "void"
|
|
132424
|
+
}
|
|
132425
|
+
},
|
|
132426
|
+
"parameters": [
|
|
132427
|
+
{
|
|
132428
|
+
"name": "message",
|
|
132429
|
+
"type": {
|
|
132430
|
+
"text": "string"
|
|
132431
|
+
}
|
|
132432
|
+
}
|
|
132433
|
+
],
|
|
132434
|
+
"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.",
|
|
132435
|
+
"inheritedFrom": {
|
|
132436
|
+
"name": "SbbFormAssociatedMixin",
|
|
132437
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132438
|
+
}
|
|
132439
|
+
},
|
|
132440
|
+
{
|
|
132441
|
+
"kind": "method",
|
|
132442
|
+
"name": "_hasDisabledAncestor",
|
|
132288
132443
|
"privacy": "private",
|
|
132444
|
+
"return": {
|
|
132445
|
+
"type": {
|
|
132446
|
+
"text": "boolean"
|
|
132447
|
+
}
|
|
132448
|
+
},
|
|
132289
132449
|
"inheritedFrom": {
|
|
132290
|
-
"name": "
|
|
132291
|
-
"module": "core/
|
|
132450
|
+
"name": "SbbFormAssociatedMixin",
|
|
132451
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132292
132452
|
}
|
|
132293
132453
|
},
|
|
132294
132454
|
{
|
|
132295
132455
|
"kind": "method",
|
|
132296
|
-
"name": "
|
|
132456
|
+
"name": "updateFormValue",
|
|
132297
132457
|
"privacy": "protected",
|
|
132298
132458
|
"return": {
|
|
132299
132459
|
"type": {
|
|
132300
|
-
"text": "
|
|
132460
|
+
"text": "void"
|
|
132461
|
+
}
|
|
132462
|
+
},
|
|
132463
|
+
"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",
|
|
132464
|
+
"inheritedFrom": {
|
|
132465
|
+
"name": "SbbFormAssociatedMixin",
|
|
132466
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132467
|
+
}
|
|
132468
|
+
},
|
|
132469
|
+
{
|
|
132470
|
+
"kind": "method",
|
|
132471
|
+
"name": "formState",
|
|
132472
|
+
"privacy": "protected",
|
|
132473
|
+
"return": {
|
|
132474
|
+
"type": {
|
|
132475
|
+
"text": "FormRestoreState"
|
|
132476
|
+
}
|
|
132477
|
+
},
|
|
132478
|
+
"inheritedFrom": {
|
|
132479
|
+
"name": "SbbFormAssociatedMixin",
|
|
132480
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132481
|
+
}
|
|
132482
|
+
},
|
|
132483
|
+
{
|
|
132484
|
+
"kind": "method",
|
|
132485
|
+
"name": "setValidityFlag",
|
|
132486
|
+
"privacy": "protected",
|
|
132487
|
+
"return": {
|
|
132488
|
+
"type": {
|
|
132489
|
+
"text": "void"
|
|
132301
132490
|
}
|
|
132302
132491
|
},
|
|
132303
132492
|
"parameters": [
|
|
132304
132493
|
{
|
|
132305
|
-
"name": "
|
|
132494
|
+
"name": "flag",
|
|
132306
132495
|
"type": {
|
|
132307
|
-
"text": "
|
|
132496
|
+
"text": "T"
|
|
132497
|
+
}
|
|
132498
|
+
},
|
|
132499
|
+
{
|
|
132500
|
+
"name": "message",
|
|
132501
|
+
"type": {
|
|
132502
|
+
"text": "string"
|
|
132503
|
+
}
|
|
132504
|
+
},
|
|
132505
|
+
{
|
|
132506
|
+
"name": "flagValue",
|
|
132507
|
+
"optional": true,
|
|
132508
|
+
"type": {
|
|
132509
|
+
"text": "ValidityStateFlags[T]"
|
|
132308
132510
|
}
|
|
132309
132511
|
}
|
|
132310
132512
|
],
|
|
132513
|
+
"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).",
|
|
132311
132514
|
"inheritedFrom": {
|
|
132312
|
-
"name": "
|
|
132313
|
-
"module": "core/
|
|
132515
|
+
"name": "SbbFormAssociatedMixin",
|
|
132516
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132517
|
+
}
|
|
132518
|
+
},
|
|
132519
|
+
{
|
|
132520
|
+
"kind": "method",
|
|
132521
|
+
"name": "removeValidityFlag",
|
|
132522
|
+
"privacy": "protected",
|
|
132523
|
+
"return": {
|
|
132524
|
+
"type": {
|
|
132525
|
+
"text": "void"
|
|
132526
|
+
}
|
|
132527
|
+
},
|
|
132528
|
+
"parameters": [
|
|
132529
|
+
{
|
|
132530
|
+
"name": "flag",
|
|
132531
|
+
"type": {
|
|
132532
|
+
"text": "T"
|
|
132533
|
+
}
|
|
132534
|
+
}
|
|
132535
|
+
],
|
|
132536
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
132537
|
+
"inheritedFrom": {
|
|
132538
|
+
"name": "SbbFormAssociatedMixin",
|
|
132539
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132540
|
+
}
|
|
132541
|
+
},
|
|
132542
|
+
{
|
|
132543
|
+
"kind": "method",
|
|
132544
|
+
"name": "validate",
|
|
132545
|
+
"privacy": "protected",
|
|
132546
|
+
"return": {
|
|
132547
|
+
"type": {
|
|
132548
|
+
"text": "void"
|
|
132549
|
+
}
|
|
132550
|
+
},
|
|
132551
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
132552
|
+
"inheritedFrom": {
|
|
132553
|
+
"name": "SbbFormAssociatedMixin",
|
|
132554
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132555
|
+
}
|
|
132556
|
+
},
|
|
132557
|
+
{
|
|
132558
|
+
"kind": "method",
|
|
132559
|
+
"name": "shouldValidate",
|
|
132560
|
+
"privacy": "protected",
|
|
132561
|
+
"return": {
|
|
132562
|
+
"type": {
|
|
132563
|
+
"text": "boolean"
|
|
132564
|
+
}
|
|
132565
|
+
},
|
|
132566
|
+
"parameters": [
|
|
132567
|
+
{
|
|
132568
|
+
"name": "name",
|
|
132569
|
+
"type": {
|
|
132570
|
+
"text": "PropertyKey | undefined"
|
|
132571
|
+
}
|
|
132572
|
+
}
|
|
132573
|
+
],
|
|
132574
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
132575
|
+
"inheritedFrom": {
|
|
132576
|
+
"name": "SbbFormAssociatedMixin",
|
|
132577
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132578
|
+
}
|
|
132579
|
+
},
|
|
132580
|
+
{
|
|
132581
|
+
"kind": "method",
|
|
132582
|
+
"name": "_setInternalValidity",
|
|
132583
|
+
"privacy": "private",
|
|
132584
|
+
"return": {
|
|
132585
|
+
"type": {
|
|
132586
|
+
"text": "void"
|
|
132587
|
+
}
|
|
132588
|
+
},
|
|
132589
|
+
"inheritedFrom": {
|
|
132590
|
+
"name": "SbbFormAssociatedMixin",
|
|
132591
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132592
|
+
}
|
|
132593
|
+
},
|
|
132594
|
+
{
|
|
132595
|
+
"kind": "field",
|
|
132596
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
132597
|
+
"privacy": "private",
|
|
132598
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
132599
|
+
"parameters": [
|
|
132600
|
+
{
|
|
132601
|
+
"description": "The origin event.",
|
|
132602
|
+
"name": "event"
|
|
132603
|
+
}
|
|
132604
|
+
],
|
|
132605
|
+
"inheritedFrom": {
|
|
132606
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132607
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132608
|
+
}
|
|
132609
|
+
},
|
|
132610
|
+
{
|
|
132611
|
+
"kind": "field",
|
|
132612
|
+
"name": "_removeActiveMarker",
|
|
132613
|
+
"privacy": "private",
|
|
132614
|
+
"inheritedFrom": {
|
|
132615
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132616
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132617
|
+
}
|
|
132618
|
+
},
|
|
132619
|
+
{
|
|
132620
|
+
"kind": "field",
|
|
132621
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
132622
|
+
"privacy": "private",
|
|
132623
|
+
"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.",
|
|
132624
|
+
"parameters": [
|
|
132625
|
+
{
|
|
132626
|
+
"description": "The origin event.",
|
|
132627
|
+
"name": "event"
|
|
132628
|
+
}
|
|
132629
|
+
],
|
|
132630
|
+
"inheritedFrom": {
|
|
132631
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132632
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132633
|
+
}
|
|
132634
|
+
},
|
|
132635
|
+
{
|
|
132636
|
+
"kind": "field",
|
|
132637
|
+
"name": "_dispatchClickEvent",
|
|
132638
|
+
"privacy": "private",
|
|
132639
|
+
"inheritedFrom": {
|
|
132640
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132641
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132314
132642
|
}
|
|
132315
132643
|
},
|
|
132316
132644
|
{
|
|
@@ -132367,19 +132695,6 @@
|
|
|
132367
132695
|
"module": "core/base-elements/element.js"
|
|
132368
132696
|
}
|
|
132369
132697
|
},
|
|
132370
|
-
{
|
|
132371
|
-
"kind": "field",
|
|
132372
|
-
"name": "role",
|
|
132373
|
-
"type": {
|
|
132374
|
-
"text": "ElementInternals['role'] | undefined"
|
|
132375
|
-
},
|
|
132376
|
-
"privacy": "public",
|
|
132377
|
-
"static": true,
|
|
132378
|
-
"inheritedFrom": {
|
|
132379
|
-
"name": "SbbElement",
|
|
132380
|
-
"module": "core/base-elements/element.js"
|
|
132381
|
-
}
|
|
132382
|
-
},
|
|
132383
132698
|
{
|
|
132384
132699
|
"kind": "field",
|
|
132385
132700
|
"name": "_controllers",
|
|
@@ -132626,7 +132941,7 @@
|
|
|
132626
132941
|
],
|
|
132627
132942
|
"mixins": [
|
|
132628
132943
|
{
|
|
132629
|
-
"name": "
|
|
132944
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
132630
132945
|
"module": "core.js"
|
|
132631
132946
|
},
|
|
132632
132947
|
{
|
|
@@ -132635,10 +132950,10 @@
|
|
|
132635
132950
|
}
|
|
132636
132951
|
],
|
|
132637
132952
|
"superclass": {
|
|
132638
|
-
"name": "
|
|
132953
|
+
"name": "SbbButtonBaseElement",
|
|
132639
132954
|
"module": "core.js"
|
|
132640
132955
|
},
|
|
132641
|
-
"tagName": "sbb-menu-
|
|
132956
|
+
"tagName": "sbb-menu-button",
|
|
132642
132957
|
"customElement": true,
|
|
132643
132958
|
"attributes": [
|
|
132644
132959
|
{
|
|
@@ -132654,19 +132969,6 @@
|
|
|
132654
132969
|
"module": "core/mixins/disabled-mixin.js"
|
|
132655
132970
|
}
|
|
132656
132971
|
},
|
|
132657
|
-
{
|
|
132658
|
-
"name": "icon-name",
|
|
132659
|
-
"type": {
|
|
132660
|
-
"text": "string"
|
|
132661
|
-
},
|
|
132662
|
-
"default": "''",
|
|
132663
|
-
"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.",
|
|
132664
|
-
"fieldName": "iconName",
|
|
132665
|
-
"inheritedFrom": {
|
|
132666
|
-
"name": "SbbIconNameMixin",
|
|
132667
|
-
"module": "icon/icon-name-mixin.js"
|
|
132668
|
-
}
|
|
132669
|
-
},
|
|
132670
132972
|
{
|
|
132671
132973
|
"name": "disabled",
|
|
132672
132974
|
"description": "Whether the component is disabled.",
|
|
@@ -132681,81 +132983,66 @@
|
|
|
132681
132983
|
}
|
|
132682
132984
|
},
|
|
132683
132985
|
{
|
|
132684
|
-
"name": "
|
|
132986
|
+
"name": "icon-name",
|
|
132685
132987
|
"type": {
|
|
132686
132988
|
"text": "string"
|
|
132687
132989
|
},
|
|
132688
132990
|
"default": "''",
|
|
132689
|
-
"description": "The
|
|
132690
|
-
"fieldName": "
|
|
132691
|
-
"inheritedFrom": {
|
|
132692
|
-
"name": "SbbLinkBaseElement",
|
|
132693
|
-
"module": "core/base-elements/link-base-element.js"
|
|
132694
|
-
}
|
|
132695
|
-
},
|
|
132696
|
-
{
|
|
132697
|
-
"name": "target",
|
|
132698
|
-
"type": {
|
|
132699
|
-
"text": "LinkTargetType | string"
|
|
132700
|
-
},
|
|
132701
|
-
"default": "''",
|
|
132702
|
-
"description": "Where to display the linked URL.",
|
|
132703
|
-
"fieldName": "target",
|
|
132991
|
+
"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.",
|
|
132992
|
+
"fieldName": "iconName",
|
|
132704
132993
|
"inheritedFrom": {
|
|
132705
|
-
"name": "
|
|
132706
|
-
"module": "
|
|
132994
|
+
"name": "SbbIconNameMixin",
|
|
132995
|
+
"module": "icon/icon-name-mixin.js"
|
|
132707
132996
|
}
|
|
132708
132997
|
},
|
|
132709
132998
|
{
|
|
132710
|
-
"name": "
|
|
132999
|
+
"name": "value",
|
|
132711
133000
|
"type": {
|
|
132712
133001
|
"text": "string"
|
|
132713
133002
|
},
|
|
132714
133003
|
"default": "''",
|
|
132715
|
-
"description": "
|
|
132716
|
-
"fieldName": "
|
|
133004
|
+
"description": "Value of the form element.",
|
|
133005
|
+
"fieldName": "value",
|
|
132717
133006
|
"inheritedFrom": {
|
|
132718
|
-
"name": "
|
|
132719
|
-
"module": "core/base-elements/
|
|
133007
|
+
"name": "SbbButtonBaseElement",
|
|
133008
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132720
133009
|
}
|
|
132721
133010
|
},
|
|
132722
133011
|
{
|
|
132723
|
-
"name": "
|
|
133012
|
+
"name": "type",
|
|
133013
|
+
"description": "The type attribute to use for the button.",
|
|
133014
|
+
"default": "'button'",
|
|
132724
133015
|
"type": {
|
|
132725
|
-
"text": "
|
|
133016
|
+
"text": "SbbButtonType"
|
|
132726
133017
|
},
|
|
132727
|
-
"
|
|
132728
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
132729
|
-
"fieldName": "download",
|
|
133018
|
+
"fieldName": "type",
|
|
132730
133019
|
"inheritedFrom": {
|
|
132731
|
-
"name": "
|
|
132732
|
-
"module": "core/base-elements/
|
|
133020
|
+
"name": "SbbButtonBaseElement",
|
|
133021
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132733
133022
|
}
|
|
132734
133023
|
},
|
|
132735
133024
|
{
|
|
132736
|
-
"name": "
|
|
133025
|
+
"name": "form",
|
|
133026
|
+
"description": "The `<form>` element to associate the button with.",
|
|
132737
133027
|
"type": {
|
|
132738
|
-
"text": "
|
|
133028
|
+
"text": "HTMLFormElement | null"
|
|
132739
133029
|
},
|
|
132740
|
-
"
|
|
132741
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
132742
|
-
"fieldName": "accessibilityLabel",
|
|
133030
|
+
"fieldName": "form",
|
|
132743
133031
|
"inheritedFrom": {
|
|
132744
|
-
"name": "
|
|
132745
|
-
"module": "core/base-elements/
|
|
133032
|
+
"name": "SbbButtonBaseElement",
|
|
133033
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132746
133034
|
}
|
|
132747
133035
|
},
|
|
132748
133036
|
{
|
|
132749
|
-
"name": "
|
|
133037
|
+
"name": "name",
|
|
133038
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
132750
133039
|
"type": {
|
|
132751
133040
|
"text": "string"
|
|
132752
133041
|
},
|
|
132753
|
-
"
|
|
132754
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
132755
|
-
"fieldName": "accessibilityCurrent",
|
|
133042
|
+
"fieldName": "name",
|
|
132756
133043
|
"inheritedFrom": {
|
|
132757
|
-
"name": "
|
|
132758
|
-
"module": "core/
|
|
133044
|
+
"name": "SbbFormAssociatedMixin",
|
|
133045
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132759
133046
|
}
|
|
132760
133047
|
}
|
|
132761
133048
|
]
|
|
@@ -132764,699 +133051,371 @@
|
|
|
132764
133051
|
"exports": [
|
|
132765
133052
|
{
|
|
132766
133053
|
"kind": "js",
|
|
132767
|
-
"name": "
|
|
133054
|
+
"name": "SbbMenuButtonElement",
|
|
132768
133055
|
"declaration": {
|
|
132769
|
-
"name": "
|
|
132770
|
-
"module": "menu/menu-
|
|
133056
|
+
"name": "SbbMenuButtonElement",
|
|
133057
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
132771
133058
|
}
|
|
132772
133059
|
}
|
|
132773
133060
|
]
|
|
132774
133061
|
},
|
|
132775
133062
|
{
|
|
132776
133063
|
"kind": "javascript-module",
|
|
132777
|
-
"path": "menu/menu-
|
|
133064
|
+
"path": "menu/menu-link/menu-link.component.js",
|
|
132778
133065
|
"declarations": [
|
|
132779
133066
|
{
|
|
132780
133067
|
"kind": "class",
|
|
132781
|
-
"description": "It displays a
|
|
132782
|
-
"name": "
|
|
133068
|
+
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
133069
|
+
"name": "SbbMenuLinkElement",
|
|
132783
133070
|
"cssProperties": [
|
|
132784
133071
|
{
|
|
132785
133072
|
"description": "Can be used to modify horizontal padding.",
|
|
132786
133073
|
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
132787
133074
|
"default": "var(--sbb-spacing-fixed-3x)"
|
|
132788
|
-
}
|
|
132789
|
-
],
|
|
132790
|
-
"slots": [
|
|
132791
|
-
{
|
|
132792
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
132793
|
-
"name": ""
|
|
132794
|
-
},
|
|
132795
|
-
{
|
|
132796
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
132797
|
-
"name": "icon"
|
|
132798
|
-
}
|
|
132799
|
-
],
|
|
132800
|
-
"members": [
|
|
132801
|
-
{
|
|
132802
|
-
"kind": "field",
|
|
132803
|
-
"name": "elementName",
|
|
132804
|
-
"type": {
|
|
132805
|
-
"text": "string"
|
|
132806
|
-
},
|
|
132807
|
-
"privacy": "public",
|
|
132808
|
-
"static": true,
|
|
132809
|
-
"readonly": true,
|
|
132810
|
-
"inheritedFrom": {
|
|
132811
|
-
"name": "SbbElement",
|
|
132812
|
-
"module": "core/base-elements/element.js"
|
|
132813
|
-
},
|
|
132814
|
-
"default": "'sbb-menu-button'"
|
|
132815
|
-
},
|
|
132816
|
-
{
|
|
132817
|
-
"kind": "field",
|
|
132818
|
-
"name": "role",
|
|
132819
|
-
"type": {
|
|
132820
|
-
"text": "ElementInternals['role']"
|
|
132821
|
-
},
|
|
132822
|
-
"privacy": "public",
|
|
132823
|
-
"static": true,
|
|
132824
|
-
"inheritedFrom": {
|
|
132825
|
-
"name": "SbbElement",
|
|
132826
|
-
"module": "core/base-elements/element.js"
|
|
132827
|
-
},
|
|
132828
|
-
"readonly": true,
|
|
132829
|
-
"default": "'menuitem'"
|
|
132830
|
-
},
|
|
132831
|
-
{
|
|
132832
|
-
"kind": "field",
|
|
132833
|
-
"name": "disabledInteractive",
|
|
132834
|
-
"type": {
|
|
132835
|
-
"text": "boolean"
|
|
132836
|
-
},
|
|
132837
|
-
"privacy": "public",
|
|
132838
|
-
"default": "false",
|
|
132839
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
132840
|
-
"attribute": "disabled-interactive",
|
|
132841
|
-
"reflects": true,
|
|
132842
|
-
"inheritedFrom": {
|
|
132843
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
132844
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132845
|
-
}
|
|
132846
|
-
},
|
|
132847
|
-
{
|
|
132848
|
-
"kind": "field",
|
|
132849
|
-
"name": "disabled",
|
|
132850
|
-
"privacy": "public",
|
|
132851
|
-
"description": "Whether the component is disabled.",
|
|
132852
|
-
"default": "false",
|
|
132853
|
-
"type": {
|
|
132854
|
-
"text": "boolean"
|
|
132855
|
-
},
|
|
132856
|
-
"attribute": "disabled",
|
|
132857
|
-
"reflects": true,
|
|
132858
|
-
"inheritedFrom": {
|
|
132859
|
-
"name": "SbbDisabledMixin",
|
|
132860
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132861
|
-
}
|
|
132862
|
-
},
|
|
132863
|
-
{
|
|
132864
|
-
"kind": "field",
|
|
132865
|
-
"name": "#disabled",
|
|
132866
|
-
"privacy": "private",
|
|
132867
|
-
"type": {
|
|
132868
|
-
"text": "boolean"
|
|
132869
|
-
},
|
|
132870
|
-
"default": "false",
|
|
132871
|
-
"inheritedFrom": {
|
|
132872
|
-
"name": "SbbDisabledMixin",
|
|
132873
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132874
|
-
}
|
|
132875
|
-
},
|
|
132876
|
-
{
|
|
132877
|
-
"kind": "method",
|
|
132878
|
-
"name": "isDisabledExternally",
|
|
132879
|
-
"privacy": "protected",
|
|
132880
|
-
"return": {
|
|
132881
|
-
"type": {
|
|
132882
|
-
"text": "boolean"
|
|
132883
|
-
}
|
|
132884
|
-
},
|
|
132885
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
132886
|
-
"inheritedFrom": {
|
|
132887
|
-
"name": "SbbDisabledMixin",
|
|
132888
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132889
|
-
}
|
|
132890
|
-
},
|
|
132891
|
-
{
|
|
132892
|
-
"kind": "field",
|
|
132893
|
-
"name": "styles",
|
|
132894
|
-
"type": {
|
|
132895
|
-
"text": "CSSResultGroup"
|
|
132896
|
-
},
|
|
132897
|
-
"privacy": "public",
|
|
132898
|
-
"static": true,
|
|
132899
|
-
"default": "[unsafeCSS(style)]",
|
|
132900
|
-
"inheritedFrom": {
|
|
132901
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
132902
|
-
"module": "menu/common/menu-action-common.js"
|
|
132903
|
-
}
|
|
132904
|
-
},
|
|
132905
|
-
{
|
|
132906
|
-
"kind": "method",
|
|
132907
|
-
"name": "renderTemplate",
|
|
132908
|
-
"privacy": "protected",
|
|
132909
|
-
"return": {
|
|
132910
|
-
"type": {
|
|
132911
|
-
"text": "TemplateResult"
|
|
132912
|
-
}
|
|
132913
|
-
},
|
|
132914
|
-
"description": "Override this method to render the component template.",
|
|
132915
|
-
"inheritedFrom": {
|
|
132916
|
-
"name": "SbbActionBaseElement",
|
|
132917
|
-
"module": "core/base-elements/action-base-element.js"
|
|
132918
|
-
}
|
|
132919
|
-
},
|
|
132920
|
-
{
|
|
132921
|
-
"kind": "field",
|
|
132922
|
-
"name": "elementDependencies",
|
|
132923
|
-
"type": {
|
|
132924
|
-
"text": "SbbElementType[]"
|
|
132925
|
-
},
|
|
132926
|
-
"privacy": "public",
|
|
132927
|
-
"static": true,
|
|
132928
|
-
"inheritedFrom": {
|
|
132929
|
-
"name": "SbbElement",
|
|
132930
|
-
"module": "core/base-elements/element.js"
|
|
132931
|
-
},
|
|
132932
|
-
"default": "[SbbIconElement]"
|
|
132933
|
-
},
|
|
132934
|
-
{
|
|
132935
|
-
"kind": "field",
|
|
132936
|
-
"name": "iconName",
|
|
132937
|
-
"type": {
|
|
132938
|
-
"text": "string"
|
|
132939
|
-
},
|
|
132940
|
-
"privacy": "public",
|
|
132941
|
-
"default": "''",
|
|
132942
|
-
"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.",
|
|
132943
|
-
"attribute": "icon-name",
|
|
132944
|
-
"inheritedFrom": {
|
|
132945
|
-
"name": "SbbIconNameMixin",
|
|
132946
|
-
"module": "icon/icon-name-mixin.js"
|
|
132947
|
-
}
|
|
132948
|
-
},
|
|
132949
|
-
{
|
|
132950
|
-
"kind": "method",
|
|
132951
|
-
"name": "renderIconSlot",
|
|
132952
|
-
"privacy": "protected",
|
|
132953
|
-
"return": {
|
|
132954
|
-
"type": {
|
|
132955
|
-
"text": "TemplateResult"
|
|
132956
|
-
}
|
|
132957
|
-
},
|
|
132958
|
-
"parameters": [
|
|
132959
|
-
{
|
|
132960
|
-
"name": "classname",
|
|
132961
|
-
"optional": true,
|
|
132962
|
-
"type": {
|
|
132963
|
-
"text": "string"
|
|
132964
|
-
}
|
|
132965
|
-
}
|
|
132966
|
-
],
|
|
132967
|
-
"inheritedFrom": {
|
|
132968
|
-
"name": "SbbIconNameMixin",
|
|
132969
|
-
"module": "icon/icon-name-mixin.js"
|
|
132970
|
-
}
|
|
132971
|
-
},
|
|
132972
|
-
{
|
|
132973
|
-
"kind": "method",
|
|
132974
|
-
"name": "renderIconName",
|
|
132975
|
-
"privacy": "protected",
|
|
132976
|
-
"return": {
|
|
132977
|
-
"type": {
|
|
132978
|
-
"text": "string"
|
|
132979
|
-
}
|
|
132980
|
-
},
|
|
132981
|
-
"inheritedFrom": {
|
|
132982
|
-
"name": "SbbIconNameMixin",
|
|
132983
|
-
"module": "icon/icon-name-mixin.js"
|
|
132984
|
-
}
|
|
132985
|
-
},
|
|
132986
|
-
{
|
|
132987
|
-
"kind": "method",
|
|
132988
|
-
"name": "_renderIconName",
|
|
132989
|
-
"privacy": "private",
|
|
132990
|
-
"return": {
|
|
132991
|
-
"type": {
|
|
132992
|
-
"text": "string"
|
|
132993
|
-
}
|
|
132994
|
-
},
|
|
132995
|
-
"inheritedFrom": {
|
|
132996
|
-
"name": "SbbIconNameMixin",
|
|
132997
|
-
"module": "icon/icon-name-mixin.js"
|
|
132998
|
-
}
|
|
132999
|
-
},
|
|
133000
|
-
{
|
|
133001
|
-
"kind": "field",
|
|
133002
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
133003
|
-
"type": {
|
|
133004
|
-
"text": "array"
|
|
133005
|
-
},
|
|
133006
|
-
"privacy": "private",
|
|
133007
|
-
"readonly": true,
|
|
133008
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
133009
|
-
"inheritedFrom": {
|
|
133010
|
-
"name": "SbbButtonBaseElement",
|
|
133011
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133012
|
-
}
|
|
133013
|
-
},
|
|
133014
|
-
{
|
|
133015
|
-
"kind": "field",
|
|
133016
|
-
"name": "value",
|
|
133017
|
-
"type": {
|
|
133018
|
-
"text": "string"
|
|
133019
|
-
},
|
|
133020
|
-
"privacy": "public",
|
|
133021
|
-
"inheritedFrom": {
|
|
133022
|
-
"name": "SbbButtonBaseElement",
|
|
133023
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133024
|
-
},
|
|
133025
|
-
"default": "''",
|
|
133026
|
-
"description": "Value of the form element.",
|
|
133027
|
-
"attribute": "value"
|
|
133028
|
-
},
|
|
133029
|
-
{
|
|
133030
|
-
"kind": "field",
|
|
133031
|
-
"name": "type",
|
|
133032
|
-
"privacy": "public",
|
|
133033
|
-
"description": "The type attribute to use for the button.",
|
|
133034
|
-
"default": "'button'",
|
|
133035
|
-
"type": {
|
|
133036
|
-
"text": "SbbButtonType"
|
|
133037
|
-
},
|
|
133038
|
-
"attribute": "type",
|
|
133039
|
-
"inheritedFrom": {
|
|
133040
|
-
"name": "SbbButtonBaseElement",
|
|
133041
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133042
|
-
}
|
|
133043
|
-
},
|
|
133044
|
-
{
|
|
133045
|
-
"kind": "field",
|
|
133046
|
-
"name": "form",
|
|
133047
|
-
"type": {
|
|
133048
|
-
"text": "HTMLFormElement | null"
|
|
133049
|
-
},
|
|
133050
|
-
"privacy": "public",
|
|
133051
|
-
"description": "The `<form>` element to associate the button with.",
|
|
133052
|
-
"inheritedFrom": {
|
|
133053
|
-
"name": "SbbButtonBaseElement",
|
|
133054
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133055
|
-
},
|
|
133056
|
-
"attribute": "form"
|
|
133057
|
-
},
|
|
133058
|
-
{
|
|
133059
|
-
"kind": "field",
|
|
133060
|
-
"name": "_formId",
|
|
133061
|
-
"type": {
|
|
133062
|
-
"text": "string"
|
|
133063
|
-
},
|
|
133064
|
-
"privacy": "private",
|
|
133065
|
-
"default": "''",
|
|
133066
|
-
"inheritedFrom": {
|
|
133067
|
-
"name": "SbbButtonBaseElement",
|
|
133068
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133069
|
-
}
|
|
133070
|
-
},
|
|
133071
|
-
{
|
|
133072
|
-
"kind": "field",
|
|
133073
|
-
"name": "_handleButtonClick",
|
|
133074
|
-
"privacy": "private",
|
|
133075
|
-
"inheritedFrom": {
|
|
133076
|
-
"name": "SbbButtonBaseElement",
|
|
133077
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133078
|
-
}
|
|
133079
|
-
},
|
|
133080
|
-
{
|
|
133081
|
-
"kind": "method",
|
|
133082
|
-
"name": "_requestSubmit",
|
|
133083
|
-
"privacy": "private",
|
|
133084
|
-
"return": {
|
|
133085
|
-
"type": {
|
|
133086
|
-
"text": "void"
|
|
133087
|
-
}
|
|
133088
|
-
},
|
|
133089
|
-
"parameters": [
|
|
133090
|
-
{
|
|
133091
|
-
"name": "form",
|
|
133092
|
-
"type": {
|
|
133093
|
-
"text": "HTMLFormElement"
|
|
133094
|
-
}
|
|
133095
|
-
}
|
|
133096
|
-
],
|
|
133097
|
-
"inheritedFrom": {
|
|
133098
|
-
"name": "SbbButtonBaseElement",
|
|
133099
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133100
|
-
}
|
|
133101
|
-
},
|
|
133102
|
-
{
|
|
133103
|
-
"kind": "field",
|
|
133104
|
-
"name": "_formKeyDown",
|
|
133105
|
-
"privacy": "private",
|
|
133106
|
-
"inheritedFrom": {
|
|
133107
|
-
"name": "SbbButtonBaseElement",
|
|
133108
|
-
"module": "core/base-elements/button-base-element.js"
|
|
133109
|
-
}
|
|
133110
|
-
},
|
|
133111
|
-
{
|
|
133112
|
-
"kind": "field",
|
|
133113
|
-
"name": "formAssociated",
|
|
133114
|
-
"type": {
|
|
133115
|
-
"text": "boolean"
|
|
133116
|
-
},
|
|
133117
|
-
"privacy": "public",
|
|
133118
|
-
"static": true,
|
|
133119
|
-
"default": "true",
|
|
133120
|
-
"inheritedFrom": {
|
|
133121
|
-
"name": "SbbFormAssociatedMixin",
|
|
133122
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
133123
|
-
}
|
|
133124
|
-
},
|
|
133075
|
+
}
|
|
133076
|
+
],
|
|
133077
|
+
"slots": [
|
|
133125
133078
|
{
|
|
133126
|
-
"
|
|
133127
|
-
"name": "
|
|
133128
|
-
"privacy": "public",
|
|
133129
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
133130
|
-
"type": {
|
|
133131
|
-
"text": "string"
|
|
133132
|
-
},
|
|
133133
|
-
"attribute": "name",
|
|
133134
|
-
"inheritedFrom": {
|
|
133135
|
-
"name": "SbbFormAssociatedMixin",
|
|
133136
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
133137
|
-
}
|
|
133079
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
|
|
133080
|
+
"name": ""
|
|
133138
133081
|
},
|
|
133082
|
+
{
|
|
133083
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
133084
|
+
"name": "icon"
|
|
133085
|
+
}
|
|
133086
|
+
],
|
|
133087
|
+
"members": [
|
|
133139
133088
|
{
|
|
133140
133089
|
"kind": "field",
|
|
133141
|
-
"name": "
|
|
133090
|
+
"name": "elementName",
|
|
133142
133091
|
"type": {
|
|
133143
|
-
"text": "
|
|
133092
|
+
"text": "string"
|
|
133144
133093
|
},
|
|
133145
133094
|
"privacy": "public",
|
|
133146
|
-
"
|
|
133095
|
+
"static": true,
|
|
133147
133096
|
"readonly": true,
|
|
133148
133097
|
"inheritedFrom": {
|
|
133149
|
-
"name": "
|
|
133150
|
-
"module": "core/
|
|
133151
|
-
}
|
|
133098
|
+
"name": "SbbElement",
|
|
133099
|
+
"module": "core/base-elements/element.js"
|
|
133100
|
+
},
|
|
133101
|
+
"default": "'sbb-menu-link'"
|
|
133152
133102
|
},
|
|
133153
133103
|
{
|
|
133154
133104
|
"kind": "field",
|
|
133155
|
-
"name": "
|
|
133105
|
+
"name": "anchorRole",
|
|
133156
133106
|
"type": {
|
|
133157
133107
|
"text": "string"
|
|
133158
133108
|
},
|
|
133159
|
-
"privacy": "
|
|
133160
|
-
"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.",
|
|
133109
|
+
"privacy": "protected",
|
|
133161
133110
|
"readonly": true,
|
|
133111
|
+
"default": "'menuitem'",
|
|
133162
133112
|
"inheritedFrom": {
|
|
133163
|
-
"name": "
|
|
133164
|
-
"module": "core/
|
|
133113
|
+
"name": "SbbLinkBaseElement",
|
|
133114
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133165
133115
|
}
|
|
133166
133116
|
},
|
|
133167
133117
|
{
|
|
133168
133118
|
"kind": "field",
|
|
133169
|
-
"name": "
|
|
133119
|
+
"name": "disabledInteractive",
|
|
133170
133120
|
"type": {
|
|
133171
133121
|
"text": "boolean"
|
|
133172
133122
|
},
|
|
133173
133123
|
"privacy": "public",
|
|
133174
|
-
"
|
|
133175
|
-
"
|
|
133176
|
-
"
|
|
133177
|
-
|
|
133178
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
133179
|
-
}
|
|
133180
|
-
},
|
|
133181
|
-
{
|
|
133182
|
-
"kind": "field",
|
|
133183
|
-
"name": "_validityStates",
|
|
133184
|
-
"privacy": "private",
|
|
133185
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
133124
|
+
"default": "false",
|
|
133125
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
133126
|
+
"attribute": "disabled-interactive",
|
|
133127
|
+
"reflects": true,
|
|
133186
133128
|
"inheritedFrom": {
|
|
133187
|
-
"name": "
|
|
133188
|
-
"module": "core/mixins/
|
|
133129
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
133130
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
133189
133131
|
}
|
|
133190
133132
|
},
|
|
133191
133133
|
{
|
|
133192
133134
|
"kind": "field",
|
|
133193
|
-
"name": "
|
|
133135
|
+
"name": "styles",
|
|
133194
133136
|
"type": {
|
|
133195
|
-
"text": "
|
|
133137
|
+
"text": "CSSResultGroup"
|
|
133196
133138
|
},
|
|
133197
|
-
"privacy": "
|
|
133198
|
-
"
|
|
133199
|
-
"
|
|
133139
|
+
"privacy": "public",
|
|
133140
|
+
"static": true,
|
|
133141
|
+
"default": "[unsafeCSS(style)]",
|
|
133200
133142
|
"inheritedFrom": {
|
|
133201
|
-
"name": "
|
|
133202
|
-
"module": "
|
|
133143
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
133144
|
+
"module": "menu/common/menu-action-common.js"
|
|
133203
133145
|
}
|
|
133204
133146
|
},
|
|
133205
133147
|
{
|
|
133206
133148
|
"kind": "method",
|
|
133207
|
-
"name": "
|
|
133208
|
-
"privacy": "
|
|
133149
|
+
"name": "renderTemplate",
|
|
133150
|
+
"privacy": "protected",
|
|
133209
133151
|
"return": {
|
|
133210
133152
|
"type": {
|
|
133211
|
-
"text": "
|
|
133153
|
+
"text": "TemplateResult"
|
|
133212
133154
|
}
|
|
133213
133155
|
},
|
|
133214
|
-
"description": "
|
|
133156
|
+
"description": "Override this method to render the component template.",
|
|
133215
133157
|
"inheritedFrom": {
|
|
133216
|
-
"name": "
|
|
133217
|
-
"module": "core/
|
|
133158
|
+
"name": "SbbActionBaseElement",
|
|
133159
|
+
"module": "core/base-elements/action-base-element.js"
|
|
133218
133160
|
}
|
|
133219
133161
|
},
|
|
133220
133162
|
{
|
|
133221
|
-
"kind": "
|
|
133222
|
-
"name": "
|
|
133163
|
+
"kind": "field",
|
|
133164
|
+
"name": "elementDependencies",
|
|
133165
|
+
"type": {
|
|
133166
|
+
"text": "SbbElementType[]"
|
|
133167
|
+
},
|
|
133223
133168
|
"privacy": "public",
|
|
133224
|
-
"
|
|
133225
|
-
|
|
133226
|
-
|
|
133227
|
-
|
|
133169
|
+
"static": true,
|
|
133170
|
+
"inheritedFrom": {
|
|
133171
|
+
"name": "SbbElement",
|
|
133172
|
+
"module": "core/base-elements/element.js"
|
|
133228
133173
|
},
|
|
133229
|
-
"
|
|
133174
|
+
"default": "[SbbIconElement]"
|
|
133175
|
+
},
|
|
133176
|
+
{
|
|
133177
|
+
"kind": "field",
|
|
133178
|
+
"name": "iconName",
|
|
133179
|
+
"type": {
|
|
133180
|
+
"text": "string"
|
|
133181
|
+
},
|
|
133182
|
+
"privacy": "public",
|
|
133183
|
+
"default": "''",
|
|
133184
|
+
"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.",
|
|
133185
|
+
"attribute": "icon-name",
|
|
133230
133186
|
"inheritedFrom": {
|
|
133231
|
-
"name": "
|
|
133232
|
-
"module": "
|
|
133187
|
+
"name": "SbbIconNameMixin",
|
|
133188
|
+
"module": "icon/icon-name-mixin.js"
|
|
133233
133189
|
}
|
|
133234
133190
|
},
|
|
133235
133191
|
{
|
|
133236
133192
|
"kind": "method",
|
|
133237
|
-
"name": "
|
|
133238
|
-
"privacy": "
|
|
133193
|
+
"name": "renderIconSlot",
|
|
133194
|
+
"privacy": "protected",
|
|
133239
133195
|
"return": {
|
|
133240
133196
|
"type": {
|
|
133241
|
-
"text": "
|
|
133197
|
+
"text": "TemplateResult"
|
|
133242
133198
|
}
|
|
133243
133199
|
},
|
|
133244
133200
|
"parameters": [
|
|
133245
133201
|
{
|
|
133246
|
-
"name": "
|
|
133202
|
+
"name": "classname",
|
|
133203
|
+
"optional": true,
|
|
133247
133204
|
"type": {
|
|
133248
133205
|
"text": "string"
|
|
133249
133206
|
}
|
|
133250
133207
|
}
|
|
133251
133208
|
],
|
|
133252
|
-
"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.",
|
|
133253
133209
|
"inheritedFrom": {
|
|
133254
|
-
"name": "
|
|
133255
|
-
"module": "
|
|
133210
|
+
"name": "SbbIconNameMixin",
|
|
133211
|
+
"module": "icon/icon-name-mixin.js"
|
|
133256
133212
|
}
|
|
133257
133213
|
},
|
|
133258
133214
|
{
|
|
133259
133215
|
"kind": "method",
|
|
133260
|
-
"name": "
|
|
133261
|
-
"privacy": "
|
|
133216
|
+
"name": "renderIconName",
|
|
133217
|
+
"privacy": "protected",
|
|
133262
133218
|
"return": {
|
|
133263
133219
|
"type": {
|
|
133264
|
-
"text": "
|
|
133220
|
+
"text": "string"
|
|
133265
133221
|
}
|
|
133266
133222
|
},
|
|
133267
133223
|
"inheritedFrom": {
|
|
133268
|
-
"name": "
|
|
133269
|
-
"module": "
|
|
133224
|
+
"name": "SbbIconNameMixin",
|
|
133225
|
+
"module": "icon/icon-name-mixin.js"
|
|
133270
133226
|
}
|
|
133271
133227
|
},
|
|
133272
133228
|
{
|
|
133273
133229
|
"kind": "method",
|
|
133274
|
-
"name": "
|
|
133275
|
-
"privacy": "
|
|
133230
|
+
"name": "_renderIconName",
|
|
133231
|
+
"privacy": "private",
|
|
133276
133232
|
"return": {
|
|
133277
133233
|
"type": {
|
|
133278
|
-
"text": "
|
|
133234
|
+
"text": "string"
|
|
133279
133235
|
}
|
|
133280
133236
|
},
|
|
133281
|
-
"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",
|
|
133282
133237
|
"inheritedFrom": {
|
|
133283
|
-
"name": "
|
|
133284
|
-
"module": "
|
|
133238
|
+
"name": "SbbIconNameMixin",
|
|
133239
|
+
"module": "icon/icon-name-mixin.js"
|
|
133285
133240
|
}
|
|
133286
133241
|
},
|
|
133287
133242
|
{
|
|
133288
|
-
"kind": "
|
|
133289
|
-
"name": "
|
|
133290
|
-
"privacy": "
|
|
133291
|
-
"
|
|
133292
|
-
|
|
133293
|
-
|
|
133294
|
-
|
|
133243
|
+
"kind": "field",
|
|
133244
|
+
"name": "disabled",
|
|
133245
|
+
"privacy": "public",
|
|
133246
|
+
"description": "Whether the component is disabled.",
|
|
133247
|
+
"default": "false",
|
|
133248
|
+
"type": {
|
|
133249
|
+
"text": "boolean"
|
|
133295
133250
|
},
|
|
133251
|
+
"attribute": "disabled",
|
|
133252
|
+
"reflects": true,
|
|
133296
133253
|
"inheritedFrom": {
|
|
133297
|
-
"name": "
|
|
133298
|
-
"module": "core/mixins/
|
|
133254
|
+
"name": "SbbDisabledMixin",
|
|
133255
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
133299
133256
|
}
|
|
133300
133257
|
},
|
|
133301
133258
|
{
|
|
133302
|
-
"kind": "
|
|
133303
|
-
"name": "
|
|
133304
|
-
"privacy": "
|
|
133305
|
-
"
|
|
133306
|
-
"
|
|
133307
|
-
"text": "void"
|
|
133308
|
-
}
|
|
133259
|
+
"kind": "field",
|
|
133260
|
+
"name": "#disabled",
|
|
133261
|
+
"privacy": "private",
|
|
133262
|
+
"type": {
|
|
133263
|
+
"text": "boolean"
|
|
133309
133264
|
},
|
|
133310
|
-
"
|
|
133311
|
-
{
|
|
133312
|
-
"name": "flag",
|
|
133313
|
-
"type": {
|
|
133314
|
-
"text": "T"
|
|
133315
|
-
}
|
|
133316
|
-
},
|
|
133317
|
-
{
|
|
133318
|
-
"name": "message",
|
|
133319
|
-
"type": {
|
|
133320
|
-
"text": "string"
|
|
133321
|
-
}
|
|
133322
|
-
},
|
|
133323
|
-
{
|
|
133324
|
-
"name": "flagValue",
|
|
133325
|
-
"optional": true,
|
|
133326
|
-
"type": {
|
|
133327
|
-
"text": "ValidityStateFlags[T]"
|
|
133328
|
-
}
|
|
133329
|
-
}
|
|
133330
|
-
],
|
|
133331
|
-
"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).",
|
|
133265
|
+
"default": "false",
|
|
133332
133266
|
"inheritedFrom": {
|
|
133333
|
-
"name": "
|
|
133334
|
-
"module": "core/mixins/
|
|
133267
|
+
"name": "SbbDisabledMixin",
|
|
133268
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
133335
133269
|
}
|
|
133336
133270
|
},
|
|
133337
133271
|
{
|
|
133338
133272
|
"kind": "method",
|
|
133339
|
-
"name": "
|
|
133273
|
+
"name": "isDisabledExternally",
|
|
133340
133274
|
"privacy": "protected",
|
|
133341
133275
|
"return": {
|
|
133342
133276
|
"type": {
|
|
133343
|
-
"text": "
|
|
133277
|
+
"text": "boolean"
|
|
133344
133278
|
}
|
|
133345
133279
|
},
|
|
133346
|
-
"
|
|
133347
|
-
{
|
|
133348
|
-
"name": "flag",
|
|
133349
|
-
"type": {
|
|
133350
|
-
"text": "T"
|
|
133351
|
-
}
|
|
133352
|
-
}
|
|
133353
|
-
],
|
|
133354
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
133280
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
133355
133281
|
"inheritedFrom": {
|
|
133356
|
-
"name": "
|
|
133357
|
-
"module": "core/mixins/
|
|
133282
|
+
"name": "SbbDisabledMixin",
|
|
133283
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
133358
133284
|
}
|
|
133359
133285
|
},
|
|
133360
133286
|
{
|
|
133361
|
-
"kind": "
|
|
133362
|
-
"name": "
|
|
133363
|
-
"
|
|
133364
|
-
|
|
133365
|
-
"type": {
|
|
133366
|
-
"text": "void"
|
|
133367
|
-
}
|
|
133287
|
+
"kind": "field",
|
|
133288
|
+
"name": "href",
|
|
133289
|
+
"type": {
|
|
133290
|
+
"text": "string"
|
|
133368
133291
|
},
|
|
133369
|
-
"
|
|
133292
|
+
"privacy": "public",
|
|
133293
|
+
"default": "''",
|
|
133294
|
+
"description": "The href value you want to link to.",
|
|
133295
|
+
"attribute": "href",
|
|
133296
|
+
"reflects": true,
|
|
133370
133297
|
"inheritedFrom": {
|
|
133371
|
-
"name": "
|
|
133372
|
-
"module": "core/
|
|
133298
|
+
"name": "SbbLinkBaseElement",
|
|
133299
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133373
133300
|
}
|
|
133374
133301
|
},
|
|
133375
133302
|
{
|
|
133376
|
-
"kind": "
|
|
133377
|
-
"name": "
|
|
133378
|
-
"
|
|
133379
|
-
|
|
133380
|
-
"type": {
|
|
133381
|
-
"text": "boolean"
|
|
133382
|
-
}
|
|
133303
|
+
"kind": "field",
|
|
133304
|
+
"name": "target",
|
|
133305
|
+
"type": {
|
|
133306
|
+
"text": "LinkTargetType | string"
|
|
133383
133307
|
},
|
|
133384
|
-
"
|
|
133385
|
-
|
|
133386
|
-
|
|
133387
|
-
|
|
133388
|
-
|
|
133389
|
-
}
|
|
133390
|
-
}
|
|
133391
|
-
],
|
|
133392
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
133308
|
+
"privacy": "public",
|
|
133309
|
+
"default": "''",
|
|
133310
|
+
"description": "Where to display the linked URL.",
|
|
133311
|
+
"attribute": "target",
|
|
133312
|
+
"reflects": true,
|
|
133393
133313
|
"inheritedFrom": {
|
|
133394
|
-
"name": "
|
|
133395
|
-
"module": "core/
|
|
133314
|
+
"name": "SbbLinkBaseElement",
|
|
133315
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133396
133316
|
}
|
|
133397
133317
|
},
|
|
133398
133318
|
{
|
|
133399
|
-
"kind": "
|
|
133400
|
-
"name": "
|
|
133401
|
-
"
|
|
133402
|
-
|
|
133403
|
-
"type": {
|
|
133404
|
-
"text": "void"
|
|
133405
|
-
}
|
|
133319
|
+
"kind": "field",
|
|
133320
|
+
"name": "rel",
|
|
133321
|
+
"type": {
|
|
133322
|
+
"text": "string"
|
|
133406
133323
|
},
|
|
133324
|
+
"privacy": "public",
|
|
133325
|
+
"default": "''",
|
|
133326
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
133327
|
+
"attribute": "rel",
|
|
133328
|
+
"reflects": true,
|
|
133407
133329
|
"inheritedFrom": {
|
|
133408
|
-
"name": "
|
|
133409
|
-
"module": "core/
|
|
133330
|
+
"name": "SbbLinkBaseElement",
|
|
133331
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133410
133332
|
}
|
|
133411
133333
|
},
|
|
133412
133334
|
{
|
|
133413
133335
|
"kind": "field",
|
|
133414
|
-
"name": "
|
|
133415
|
-
"
|
|
133416
|
-
|
|
133417
|
-
|
|
133418
|
-
|
|
133419
|
-
|
|
133420
|
-
|
|
133421
|
-
|
|
133422
|
-
|
|
133336
|
+
"name": "download",
|
|
133337
|
+
"type": {
|
|
133338
|
+
"text": "boolean"
|
|
133339
|
+
},
|
|
133340
|
+
"privacy": "public",
|
|
133341
|
+
"default": "false",
|
|
133342
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
133343
|
+
"attribute": "download",
|
|
133344
|
+
"reflects": true,
|
|
133423
133345
|
"inheritedFrom": {
|
|
133424
|
-
"name": "
|
|
133425
|
-
"module": "core/base-elements/
|
|
133346
|
+
"name": "SbbLinkBaseElement",
|
|
133347
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133426
133348
|
}
|
|
133427
133349
|
},
|
|
133428
133350
|
{
|
|
133429
133351
|
"kind": "field",
|
|
133430
|
-
"name": "
|
|
133431
|
-
"
|
|
133352
|
+
"name": "accessibilityLabel",
|
|
133353
|
+
"type": {
|
|
133354
|
+
"text": "string"
|
|
133355
|
+
},
|
|
133356
|
+
"privacy": "public",
|
|
133357
|
+
"default": "''",
|
|
133358
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
133359
|
+
"attribute": "accessibility-label",
|
|
133432
133360
|
"inheritedFrom": {
|
|
133433
|
-
"name": "
|
|
133434
|
-
"module": "core/base-elements/
|
|
133361
|
+
"name": "SbbLinkBaseElement",
|
|
133362
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133435
133363
|
}
|
|
133436
133364
|
},
|
|
133437
133365
|
{
|
|
133438
133366
|
"kind": "field",
|
|
133439
|
-
"name": "
|
|
133440
|
-
"
|
|
133441
|
-
|
|
133442
|
-
|
|
133443
|
-
|
|
133444
|
-
|
|
133445
|
-
|
|
133446
|
-
|
|
133447
|
-
],
|
|
133367
|
+
"name": "accessibilityCurrent",
|
|
133368
|
+
"type": {
|
|
133369
|
+
"text": "string"
|
|
133370
|
+
},
|
|
133371
|
+
"privacy": "public",
|
|
133372
|
+
"default": "''",
|
|
133373
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
133374
|
+
"attribute": "accessibility-current",
|
|
133448
133375
|
"inheritedFrom": {
|
|
133449
|
-
"name": "
|
|
133450
|
-
"module": "core/base-elements/
|
|
133376
|
+
"name": "SbbLinkBaseElement",
|
|
133377
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133451
133378
|
}
|
|
133452
133379
|
},
|
|
133453
133380
|
{
|
|
133454
133381
|
"kind": "field",
|
|
133455
|
-
"name": "
|
|
133382
|
+
"name": "language",
|
|
133383
|
+
"privacy": "protected",
|
|
133384
|
+
"default": "new SbbLanguageController(this)",
|
|
133385
|
+
"inheritedFrom": {
|
|
133386
|
+
"name": "SbbLinkBaseElement",
|
|
133387
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133388
|
+
}
|
|
133389
|
+
},
|
|
133390
|
+
{
|
|
133391
|
+
"kind": "field",
|
|
133392
|
+
"name": "_evaluateRelAttribute",
|
|
133456
133393
|
"privacy": "private",
|
|
133457
133394
|
"inheritedFrom": {
|
|
133458
|
-
"name": "
|
|
133459
|
-
"module": "core/base-elements/
|
|
133395
|
+
"name": "SbbLinkBaseElement",
|
|
133396
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133397
|
+
}
|
|
133398
|
+
},
|
|
133399
|
+
{
|
|
133400
|
+
"kind": "method",
|
|
133401
|
+
"name": "renderLink",
|
|
133402
|
+
"privacy": "protected",
|
|
133403
|
+
"return": {
|
|
133404
|
+
"type": {
|
|
133405
|
+
"text": "TemplateResult"
|
|
133406
|
+
}
|
|
133407
|
+
},
|
|
133408
|
+
"parameters": [
|
|
133409
|
+
{
|
|
133410
|
+
"name": "renderContent",
|
|
133411
|
+
"type": {
|
|
133412
|
+
"text": "TemplateResult"
|
|
133413
|
+
}
|
|
133414
|
+
}
|
|
133415
|
+
],
|
|
133416
|
+
"inheritedFrom": {
|
|
133417
|
+
"name": "SbbLinkBaseElement",
|
|
133418
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133460
133419
|
}
|
|
133461
133420
|
},
|
|
133462
133421
|
{
|
|
@@ -133513,6 +133472,19 @@
|
|
|
133513
133472
|
"module": "core/base-elements/element.js"
|
|
133514
133473
|
}
|
|
133515
133474
|
},
|
|
133475
|
+
{
|
|
133476
|
+
"kind": "field",
|
|
133477
|
+
"name": "role",
|
|
133478
|
+
"type": {
|
|
133479
|
+
"text": "ElementInternals['role'] | undefined"
|
|
133480
|
+
},
|
|
133481
|
+
"privacy": "public",
|
|
133482
|
+
"static": true,
|
|
133483
|
+
"inheritedFrom": {
|
|
133484
|
+
"name": "SbbElement",
|
|
133485
|
+
"module": "core/base-elements/element.js"
|
|
133486
|
+
}
|
|
133487
|
+
},
|
|
133516
133488
|
{
|
|
133517
133489
|
"kind": "field",
|
|
133518
133490
|
"name": "_controllers",
|
|
@@ -133759,7 +133731,7 @@
|
|
|
133759
133731
|
],
|
|
133760
133732
|
"mixins": [
|
|
133761
133733
|
{
|
|
133762
|
-
"name": "
|
|
133734
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
133763
133735
|
"module": "core.js"
|
|
133764
133736
|
},
|
|
133765
133737
|
{
|
|
@@ -133768,10 +133740,10 @@
|
|
|
133768
133740
|
}
|
|
133769
133741
|
],
|
|
133770
133742
|
"superclass": {
|
|
133771
|
-
"name": "
|
|
133743
|
+
"name": "SbbLinkBaseElement",
|
|
133772
133744
|
"module": "core.js"
|
|
133773
133745
|
},
|
|
133774
|
-
"tagName": "sbb-menu-
|
|
133746
|
+
"tagName": "sbb-menu-link",
|
|
133775
133747
|
"customElement": true,
|
|
133776
133748
|
"attributes": [
|
|
133777
133749
|
{
|
|
@@ -133787,6 +133759,19 @@
|
|
|
133787
133759
|
"module": "core/mixins/disabled-mixin.js"
|
|
133788
133760
|
}
|
|
133789
133761
|
},
|
|
133762
|
+
{
|
|
133763
|
+
"name": "icon-name",
|
|
133764
|
+
"type": {
|
|
133765
|
+
"text": "string"
|
|
133766
|
+
},
|
|
133767
|
+
"default": "''",
|
|
133768
|
+
"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.",
|
|
133769
|
+
"fieldName": "iconName",
|
|
133770
|
+
"inheritedFrom": {
|
|
133771
|
+
"name": "SbbIconNameMixin",
|
|
133772
|
+
"module": "icon/icon-name-mixin.js"
|
|
133773
|
+
}
|
|
133774
|
+
},
|
|
133790
133775
|
{
|
|
133791
133776
|
"name": "disabled",
|
|
133792
133777
|
"description": "Whether the component is disabled.",
|
|
@@ -133801,66 +133786,81 @@
|
|
|
133801
133786
|
}
|
|
133802
133787
|
},
|
|
133803
133788
|
{
|
|
133804
|
-
"name": "
|
|
133789
|
+
"name": "href",
|
|
133805
133790
|
"type": {
|
|
133806
133791
|
"text": "string"
|
|
133807
133792
|
},
|
|
133808
133793
|
"default": "''",
|
|
133809
|
-
"description": "The
|
|
133810
|
-
"fieldName": "
|
|
133794
|
+
"description": "The href value you want to link to.",
|
|
133795
|
+
"fieldName": "href",
|
|
133811
133796
|
"inheritedFrom": {
|
|
133812
|
-
"name": "
|
|
133813
|
-
"module": "
|
|
133797
|
+
"name": "SbbLinkBaseElement",
|
|
133798
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133814
133799
|
}
|
|
133815
133800
|
},
|
|
133816
133801
|
{
|
|
133817
|
-
"name": "
|
|
133802
|
+
"name": "target",
|
|
133803
|
+
"type": {
|
|
133804
|
+
"text": "LinkTargetType | string"
|
|
133805
|
+
},
|
|
133806
|
+
"default": "''",
|
|
133807
|
+
"description": "Where to display the linked URL.",
|
|
133808
|
+
"fieldName": "target",
|
|
133809
|
+
"inheritedFrom": {
|
|
133810
|
+
"name": "SbbLinkBaseElement",
|
|
133811
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133812
|
+
}
|
|
133813
|
+
},
|
|
133814
|
+
{
|
|
133815
|
+
"name": "rel",
|
|
133818
133816
|
"type": {
|
|
133819
133817
|
"text": "string"
|
|
133820
133818
|
},
|
|
133821
133819
|
"default": "''",
|
|
133822
|
-
"description": "
|
|
133823
|
-
"fieldName": "
|
|
133820
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
133821
|
+
"fieldName": "rel",
|
|
133824
133822
|
"inheritedFrom": {
|
|
133825
|
-
"name": "
|
|
133826
|
-
"module": "core/base-elements/
|
|
133823
|
+
"name": "SbbLinkBaseElement",
|
|
133824
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133827
133825
|
}
|
|
133828
133826
|
},
|
|
133829
133827
|
{
|
|
133830
|
-
"name": "
|
|
133831
|
-
"description": "The type attribute to use for the button.",
|
|
133832
|
-
"default": "'button'",
|
|
133828
|
+
"name": "download",
|
|
133833
133829
|
"type": {
|
|
133834
|
-
"text": "
|
|
133830
|
+
"text": "boolean"
|
|
133835
133831
|
},
|
|
133836
|
-
"
|
|
133832
|
+
"default": "false",
|
|
133833
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
133834
|
+
"fieldName": "download",
|
|
133837
133835
|
"inheritedFrom": {
|
|
133838
|
-
"name": "
|
|
133839
|
-
"module": "core/base-elements/
|
|
133836
|
+
"name": "SbbLinkBaseElement",
|
|
133837
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133840
133838
|
}
|
|
133841
133839
|
},
|
|
133842
133840
|
{
|
|
133843
|
-
"name": "
|
|
133844
|
-
"description": "The `<form>` element to associate the button with.",
|
|
133841
|
+
"name": "accessibility-label",
|
|
133845
133842
|
"type": {
|
|
133846
|
-
"text": "
|
|
133843
|
+
"text": "string"
|
|
133847
133844
|
},
|
|
133848
|
-
"
|
|
133845
|
+
"default": "''",
|
|
133846
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
133847
|
+
"fieldName": "accessibilityLabel",
|
|
133849
133848
|
"inheritedFrom": {
|
|
133850
|
-
"name": "
|
|
133851
|
-
"module": "core/base-elements/
|
|
133849
|
+
"name": "SbbLinkBaseElement",
|
|
133850
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133852
133851
|
}
|
|
133853
133852
|
},
|
|
133854
133853
|
{
|
|
133855
|
-
"name": "
|
|
133856
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
133854
|
+
"name": "accessibility-current",
|
|
133857
133855
|
"type": {
|
|
133858
133856
|
"text": "string"
|
|
133859
133857
|
},
|
|
133860
|
-
"
|
|
133858
|
+
"default": "''",
|
|
133859
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
133860
|
+
"fieldName": "accessibilityCurrent",
|
|
133861
133861
|
"inheritedFrom": {
|
|
133862
|
-
"name": "
|
|
133863
|
-
"module": "core/
|
|
133862
|
+
"name": "SbbLinkBaseElement",
|
|
133863
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133864
133864
|
}
|
|
133865
133865
|
}
|
|
133866
133866
|
]
|
|
@@ -133869,10 +133869,10 @@
|
|
|
133869
133869
|
"exports": [
|
|
133870
133870
|
{
|
|
133871
133871
|
"kind": "js",
|
|
133872
|
-
"name": "
|
|
133872
|
+
"name": "SbbMenuLinkElement",
|
|
133873
133873
|
"declaration": {
|
|
133874
|
-
"name": "
|
|
133875
|
-
"module": "menu/menu-
|
|
133874
|
+
"name": "SbbMenuLinkElement",
|
|
133875
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
133876
133876
|
}
|
|
133877
133877
|
}
|
|
133878
133878
|
]
|
|
@@ -165987,15 +165987,22 @@
|
|
|
165987
165987
|
},
|
|
165988
165988
|
{
|
|
165989
165989
|
"kind": "javascript-module",
|
|
165990
|
-
"path": "train/train-
|
|
165990
|
+
"path": "train/train-formation/train-formation.component.js",
|
|
165991
165991
|
"declarations": [
|
|
165992
165992
|
{
|
|
165993
165993
|
"kind": "class",
|
|
165994
|
-
"description": "It displays a train
|
|
165995
|
-
"name": "
|
|
165994
|
+
"description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
|
|
165995
|
+
"name": "SbbTrainFormationElement",
|
|
165996
|
+
"cssProperties": [
|
|
165997
|
+
{
|
|
165998
|
+
"description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
|
|
165999
|
+
"name": "--sbb-train-formation-scroll-padding",
|
|
166000
|
+
"default": "var(--sbb-spacing-fixed-1x)"
|
|
166001
|
+
}
|
|
166002
|
+
],
|
|
165996
166003
|
"slots": [
|
|
165997
166004
|
{
|
|
165998
|
-
"description": "Use the unnamed slot to add
|
|
166005
|
+
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
165999
166006
|
"name": ""
|
|
166000
166007
|
}
|
|
166001
166008
|
],
|
|
@@ -166009,56 +166016,12 @@
|
|
|
166009
166016
|
"privacy": "public",
|
|
166010
166017
|
"static": true,
|
|
166011
166018
|
"readonly": true,
|
|
166012
|
-
"default": "'sbb-train-
|
|
166013
|
-
"inheritedFrom": {
|
|
166014
|
-
"name": "SbbElement",
|
|
166015
|
-
"module": "core/base-elements/element.js"
|
|
166016
|
-
}
|
|
166017
|
-
},
|
|
166018
|
-
{
|
|
166019
|
-
"kind": "field",
|
|
166020
|
-
"name": "elementDependencies",
|
|
166021
|
-
"type": {
|
|
166022
|
-
"text": "SbbElementType[]"
|
|
166023
|
-
},
|
|
166024
|
-
"privacy": "public",
|
|
166025
|
-
"static": true,
|
|
166026
|
-
"default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, SbbDividerElement, ]",
|
|
166019
|
+
"default": "'sbb-train-formation'",
|
|
166027
166020
|
"inheritedFrom": {
|
|
166028
166021
|
"name": "SbbElement",
|
|
166029
166022
|
"module": "core/base-elements/element.js"
|
|
166030
166023
|
}
|
|
166031
166024
|
},
|
|
166032
|
-
{
|
|
166033
|
-
"kind": "field",
|
|
166034
|
-
"name": "styles",
|
|
166035
|
-
"type": {
|
|
166036
|
-
"text": "CSSResultGroup"
|
|
166037
|
-
},
|
|
166038
|
-
"privacy": "public",
|
|
166039
|
-
"static": true,
|
|
166040
|
-
"default": "[unsafeCSS(style)]",
|
|
166041
|
-
"inheritedFrom": {
|
|
166042
|
-
"name": "SbbNamedSlotListMixin",
|
|
166043
|
-
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166044
|
-
}
|
|
166045
|
-
},
|
|
166046
|
-
{
|
|
166047
|
-
"kind": "field",
|
|
166048
|
-
"name": "wagonType",
|
|
166049
|
-
"type": {
|
|
166050
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
166051
|
-
},
|
|
166052
|
-
"privacy": "public",
|
|
166053
|
-
"default": "'wagon'",
|
|
166054
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
166055
|
-
"attribute": "wagon-type",
|
|
166056
|
-
"reflects": true,
|
|
166057
|
-
"inheritedFrom": {
|
|
166058
|
-
"name": "SbbTrainWagonMixin",
|
|
166059
|
-
"module": "train/train-wagon-common.js"
|
|
166060
|
-
}
|
|
166061
|
-
},
|
|
166062
166025
|
{
|
|
166063
166026
|
"kind": "field",
|
|
166064
166027
|
"name": "listChildLocalNames",
|
|
@@ -166068,7 +166031,7 @@
|
|
|
166068
166031
|
"privacy": "protected",
|
|
166069
166032
|
"readonly": true,
|
|
166070
166033
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
166071
|
-
"default": "['sbb-
|
|
166034
|
+
"default": "['sbb-train']",
|
|
166072
166035
|
"inheritedFrom": {
|
|
166073
166036
|
"name": "SbbNamedSlotListMixin",
|
|
166074
166037
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -166076,213 +166039,107 @@
|
|
|
166076
166039
|
},
|
|
166077
166040
|
{
|
|
166078
166041
|
"kind": "field",
|
|
166079
|
-
"name": "
|
|
166080
|
-
"type": {
|
|
166081
|
-
"text": "SbbOccupancy | null"
|
|
166082
|
-
},
|
|
166083
|
-
"privacy": "public",
|
|
166084
|
-
"default": "null",
|
|
166085
|
-
"description": "Occupancy of a wagon.",
|
|
166086
|
-
"attribute": "occupancy",
|
|
166087
|
-
"inheritedFrom": {
|
|
166088
|
-
"name": "SbbTrainWagonMixin",
|
|
166089
|
-
"module": "train/train-wagon-common.js"
|
|
166090
|
-
}
|
|
166091
|
-
},
|
|
166092
|
-
{
|
|
166093
|
-
"kind": "field",
|
|
166094
|
-
"name": "sector",
|
|
166095
|
-
"type": {
|
|
166096
|
-
"text": "string"
|
|
166097
|
-
},
|
|
166098
|
-
"privacy": "public",
|
|
166099
|
-
"default": "''",
|
|
166100
|
-
"description": "Sector in which the wagon stops.",
|
|
166101
|
-
"attribute": "sector",
|
|
166102
|
-
"reflects": true,
|
|
166103
|
-
"inheritedFrom": {
|
|
166104
|
-
"name": "SbbTrainWagonMixin",
|
|
166105
|
-
"module": "train/train-wagon-common.js"
|
|
166106
|
-
}
|
|
166107
|
-
},
|
|
166108
|
-
{
|
|
166109
|
-
"kind": "field",
|
|
166110
|
-
"name": "blockedPassage",
|
|
166111
|
-
"type": {
|
|
166112
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
166113
|
-
},
|
|
166114
|
-
"privacy": "public",
|
|
166115
|
-
"default": "'none'",
|
|
166116
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
166117
|
-
"attribute": "blocked-passage",
|
|
166118
|
-
"inheritedFrom": {
|
|
166119
|
-
"name": "SbbTrainWagonMixin",
|
|
166120
|
-
"module": "train/train-wagon-common.js"
|
|
166121
|
-
}
|
|
166122
|
-
},
|
|
166123
|
-
{
|
|
166124
|
-
"kind": "field",
|
|
166125
|
-
"name": "wagonClass",
|
|
166126
|
-
"type": {
|
|
166127
|
-
"text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
|
|
166128
|
-
},
|
|
166129
|
-
"privacy": "public",
|
|
166130
|
-
"default": "null",
|
|
166131
|
-
"description": "Class label",
|
|
166132
|
-
"attribute": "wagon-class",
|
|
166133
|
-
"inheritedFrom": {
|
|
166134
|
-
"name": "SbbTrainWagonMixin",
|
|
166135
|
-
"module": "train/train-wagon-common.js"
|
|
166136
|
-
}
|
|
166137
|
-
},
|
|
166138
|
-
{
|
|
166139
|
-
"kind": "field",
|
|
166140
|
-
"name": "label",
|
|
166042
|
+
"name": "view",
|
|
166141
166043
|
"type": {
|
|
166142
|
-
"text": "
|
|
166044
|
+
"text": "'side' | 'top'"
|
|
166143
166045
|
},
|
|
166144
166046
|
"privacy": "public",
|
|
166145
|
-
"default": "''",
|
|
166146
|
-
"description": "
|
|
166147
|
-
"attribute": "
|
|
166148
|
-
"reflects": true
|
|
166149
|
-
"inheritedFrom": {
|
|
166150
|
-
"name": "SbbTrainWagonMixin",
|
|
166151
|
-
"module": "train/train-wagon-common.js"
|
|
166152
|
-
}
|
|
166047
|
+
"default": "'side'",
|
|
166048
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
166049
|
+
"attribute": "view",
|
|
166050
|
+
"reflects": true
|
|
166153
166051
|
},
|
|
166154
166052
|
{
|
|
166155
166053
|
"kind": "field",
|
|
166156
|
-
"name": "
|
|
166054
|
+
"name": "orientation",
|
|
166157
166055
|
"type": {
|
|
166158
|
-
"text": "
|
|
166056
|
+
"text": "SbbOrientation"
|
|
166159
166057
|
},
|
|
166160
166058
|
"privacy": "public",
|
|
166161
|
-
"default": "''",
|
|
166162
|
-
"description": "
|
|
166163
|
-
"attribute": "
|
|
166164
|
-
"
|
|
166165
|
-
"name": "SbbTrainWagonMixin",
|
|
166166
|
-
"module": "train/train-wagon-common.js"
|
|
166167
|
-
}
|
|
166059
|
+
"default": "'horizontal'",
|
|
166060
|
+
"description": "Orientation, either horizontal or vertical.",
|
|
166061
|
+
"attribute": "orientation",
|
|
166062
|
+
"reflects": true
|
|
166168
166063
|
},
|
|
166169
166064
|
{
|
|
166170
166065
|
"kind": "field",
|
|
166171
|
-
"name": "
|
|
166066
|
+
"name": "_sectors",
|
|
166172
166067
|
"type": {
|
|
166173
|
-
"text": "
|
|
166068
|
+
"text": "AggregatedSector[]"
|
|
166174
166069
|
},
|
|
166175
166070
|
"privacy": "private",
|
|
166176
|
-
"default": "
|
|
166177
|
-
"inheritedFrom": {
|
|
166178
|
-
"name": "SbbTrainWagonMixin",
|
|
166179
|
-
"module": "train/train-wagon-common.js"
|
|
166180
|
-
}
|
|
166071
|
+
"default": "[]"
|
|
166181
166072
|
},
|
|
166182
166073
|
{
|
|
166183
166074
|
"kind": "field",
|
|
166184
166075
|
"name": "_language",
|
|
166185
166076
|
"privacy": "private",
|
|
166186
|
-
"default": "new SbbLanguageController(this)"
|
|
166187
|
-
"inheritedFrom": {
|
|
166188
|
-
"name": "SbbTrainWagonMixin",
|
|
166189
|
-
"module": "train/train-wagon-common.js"
|
|
166190
|
-
}
|
|
166191
|
-
},
|
|
166192
|
-
{
|
|
166193
|
-
"kind": "field",
|
|
166194
|
-
"name": "_clipStyleSheet",
|
|
166195
|
-
"type": {
|
|
166196
|
-
"text": "CSSStyleSheet | null"
|
|
166197
|
-
},
|
|
166198
|
-
"privacy": "private",
|
|
166199
|
-
"default": "null",
|
|
166200
|
-
"inheritedFrom": {
|
|
166201
|
-
"name": "SbbTrainWagonMixin",
|
|
166202
|
-
"module": "train/train-wagon-common.js"
|
|
166203
|
-
}
|
|
166077
|
+
"default": "new SbbLanguageController(this)"
|
|
166204
166078
|
},
|
|
166205
166079
|
{
|
|
166206
166080
|
"kind": "method",
|
|
166207
|
-
"name": "
|
|
166081
|
+
"name": "_readDirectionLabel",
|
|
166208
166082
|
"privacy": "private",
|
|
166209
166083
|
"return": {
|
|
166210
166084
|
"type": {
|
|
166211
166085
|
"text": "void"
|
|
166212
166086
|
}
|
|
166213
166087
|
},
|
|
166214
|
-
"
|
|
166215
|
-
|
|
166216
|
-
|
|
166217
|
-
|
|
166218
|
-
|
|
166219
|
-
|
|
166220
|
-
|
|
166221
|
-
"name": "_wagonTypeLabel",
|
|
166222
|
-
"privacy": "private",
|
|
166223
|
-
"return": {
|
|
166224
|
-
"type": {
|
|
166225
|
-
"text": "string"
|
|
166088
|
+
"parameters": [
|
|
166089
|
+
{
|
|
166090
|
+
"name": "event",
|
|
166091
|
+
"optional": true,
|
|
166092
|
+
"type": {
|
|
166093
|
+
"text": "Event"
|
|
166094
|
+
}
|
|
166226
166095
|
}
|
|
166227
|
-
|
|
166228
|
-
"inheritedFrom": {
|
|
166229
|
-
"name": "SbbTrainWagonMixin",
|
|
166230
|
-
"module": "train/train-wagon-common.js"
|
|
166231
|
-
}
|
|
166096
|
+
]
|
|
166232
166097
|
},
|
|
166233
166098
|
{
|
|
166234
166099
|
"kind": "method",
|
|
166235
|
-
"name": "
|
|
166100
|
+
"name": "_readSectors",
|
|
166236
166101
|
"privacy": "private",
|
|
166237
166102
|
"return": {
|
|
166238
166103
|
"type": {
|
|
166239
|
-
"text": "
|
|
166104
|
+
"text": "void"
|
|
166240
166105
|
}
|
|
166241
166106
|
},
|
|
166242
|
-
"
|
|
166243
|
-
|
|
166244
|
-
|
|
166245
|
-
|
|
166246
|
-
|
|
166247
|
-
|
|
166248
|
-
|
|
166249
|
-
"name": "_classLabel",
|
|
166250
|
-
"privacy": "private",
|
|
166251
|
-
"return": {
|
|
166252
|
-
"type": {
|
|
166253
|
-
"text": "string"
|
|
166107
|
+
"parameters": [
|
|
166108
|
+
{
|
|
166109
|
+
"name": "event",
|
|
166110
|
+
"optional": true,
|
|
166111
|
+
"type": {
|
|
166112
|
+
"text": "Event"
|
|
166113
|
+
}
|
|
166254
166114
|
}
|
|
166255
|
-
|
|
166256
|
-
"inheritedFrom": {
|
|
166257
|
-
"name": "SbbTrainWagonMixin",
|
|
166258
|
-
"module": "train/train-wagon-common.js"
|
|
166259
|
-
}
|
|
166115
|
+
]
|
|
166260
166116
|
},
|
|
166261
166117
|
{
|
|
166262
|
-
"kind": "
|
|
166263
|
-
"name": "
|
|
166264
|
-
"
|
|
166265
|
-
|
|
166266
|
-
"type": {
|
|
166267
|
-
"text": "TemplateResult"
|
|
166268
|
-
}
|
|
166118
|
+
"kind": "field",
|
|
166119
|
+
"name": "elementDependencies",
|
|
166120
|
+
"type": {
|
|
166121
|
+
"text": "SbbElementType[]"
|
|
166269
166122
|
},
|
|
166123
|
+
"privacy": "public",
|
|
166124
|
+
"static": true,
|
|
166125
|
+
"default": "[]",
|
|
166270
166126
|
"inheritedFrom": {
|
|
166271
|
-
"name": "
|
|
166272
|
-
"module": "
|
|
166127
|
+
"name": "SbbElement",
|
|
166128
|
+
"module": "core/base-elements/element.js"
|
|
166273
166129
|
}
|
|
166274
166130
|
},
|
|
166275
166131
|
{
|
|
166276
166132
|
"kind": "field",
|
|
166277
|
-
"name": "
|
|
166133
|
+
"name": "styles",
|
|
166278
166134
|
"type": {
|
|
166279
|
-
"text": "
|
|
166135
|
+
"text": "CSSResultGroup"
|
|
166280
166136
|
},
|
|
166281
|
-
"privacy": "
|
|
166282
|
-
"
|
|
166137
|
+
"privacy": "public",
|
|
166138
|
+
"static": true,
|
|
166139
|
+
"default": "[screenReaderOnlyStyles]",
|
|
166283
166140
|
"inheritedFrom": {
|
|
166284
|
-
"name": "
|
|
166285
|
-
"module": "
|
|
166141
|
+
"name": "SbbNamedSlotListMixin",
|
|
166142
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166286
166143
|
}
|
|
166287
166144
|
},
|
|
166288
166145
|
{
|
|
@@ -166648,279 +166505,349 @@
|
|
|
166648
166505
|
}
|
|
166649
166506
|
}
|
|
166650
166507
|
],
|
|
166508
|
+
"attributes": [
|
|
166509
|
+
{
|
|
166510
|
+
"name": "view",
|
|
166511
|
+
"type": {
|
|
166512
|
+
"text": "'side' | 'top'"
|
|
166513
|
+
},
|
|
166514
|
+
"default": "'side'",
|
|
166515
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
166516
|
+
"fieldName": "view"
|
|
166517
|
+
},
|
|
166518
|
+
{
|
|
166519
|
+
"name": "orientation",
|
|
166520
|
+
"type": {
|
|
166521
|
+
"text": "SbbOrientation"
|
|
166522
|
+
},
|
|
166523
|
+
"default": "'horizontal'",
|
|
166524
|
+
"description": "Orientation, either horizontal or vertical.",
|
|
166525
|
+
"fieldName": "orientation"
|
|
166526
|
+
}
|
|
166527
|
+
],
|
|
166651
166528
|
"mixins": [
|
|
166652
166529
|
{
|
|
166653
|
-
"name": "
|
|
166654
|
-
"module": "
|
|
166530
|
+
"name": "SbbNamedSlotListMixin",
|
|
166531
|
+
"module": "core.js"
|
|
166655
166532
|
}
|
|
166656
166533
|
],
|
|
166657
166534
|
"superclass": {
|
|
166658
166535
|
"name": "SbbElement",
|
|
166659
166536
|
"module": "core.js"
|
|
166660
166537
|
},
|
|
166661
|
-
"tagName": "sbb-train-
|
|
166662
|
-
"customElement": true
|
|
166663
|
-
|
|
166538
|
+
"tagName": "sbb-train-formation",
|
|
166539
|
+
"customElement": true
|
|
166540
|
+
}
|
|
166541
|
+
],
|
|
166542
|
+
"exports": [
|
|
166543
|
+
{
|
|
166544
|
+
"kind": "js",
|
|
166545
|
+
"name": "SbbTrainFormationElement",
|
|
166546
|
+
"declaration": {
|
|
166547
|
+
"name": "SbbTrainFormationElement",
|
|
166548
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
166549
|
+
}
|
|
166550
|
+
}
|
|
166551
|
+
]
|
|
166552
|
+
},
|
|
166553
|
+
{
|
|
166554
|
+
"kind": "javascript-module",
|
|
166555
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
166556
|
+
"declarations": [
|
|
166557
|
+
{
|
|
166558
|
+
"kind": "class",
|
|
166559
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
166560
|
+
"name": "SbbTrainWagonElement",
|
|
166561
|
+
"slots": [
|
|
166664
166562
|
{
|
|
166665
|
-
"
|
|
166563
|
+
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.",
|
|
166564
|
+
"name": ""
|
|
166565
|
+
}
|
|
166566
|
+
],
|
|
166567
|
+
"members": [
|
|
166568
|
+
{
|
|
166569
|
+
"kind": "field",
|
|
166570
|
+
"name": "elementName",
|
|
166571
|
+
"type": {
|
|
166572
|
+
"text": "string"
|
|
166573
|
+
},
|
|
166574
|
+
"privacy": "public",
|
|
166575
|
+
"static": true,
|
|
166576
|
+
"readonly": true,
|
|
166577
|
+
"default": "'sbb-train-wagon'",
|
|
166578
|
+
"inheritedFrom": {
|
|
166579
|
+
"name": "SbbElement",
|
|
166580
|
+
"module": "core/base-elements/element.js"
|
|
166581
|
+
}
|
|
166582
|
+
},
|
|
166583
|
+
{
|
|
166584
|
+
"kind": "field",
|
|
166585
|
+
"name": "elementDependencies",
|
|
166586
|
+
"type": {
|
|
166587
|
+
"text": "SbbElementType[]"
|
|
166588
|
+
},
|
|
166589
|
+
"privacy": "public",
|
|
166590
|
+
"static": true,
|
|
166591
|
+
"default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, SbbDividerElement, ]",
|
|
166592
|
+
"inheritedFrom": {
|
|
166593
|
+
"name": "SbbElement",
|
|
166594
|
+
"module": "core/base-elements/element.js"
|
|
166595
|
+
}
|
|
166596
|
+
},
|
|
166597
|
+
{
|
|
166598
|
+
"kind": "field",
|
|
166599
|
+
"name": "styles",
|
|
166600
|
+
"type": {
|
|
166601
|
+
"text": "CSSResultGroup"
|
|
166602
|
+
},
|
|
166603
|
+
"privacy": "public",
|
|
166604
|
+
"static": true,
|
|
166605
|
+
"default": "[unsafeCSS(style)]",
|
|
166606
|
+
"inheritedFrom": {
|
|
166607
|
+
"name": "SbbNamedSlotListMixin",
|
|
166608
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166609
|
+
}
|
|
166610
|
+
},
|
|
166611
|
+
{
|
|
166612
|
+
"kind": "field",
|
|
166613
|
+
"name": "wagonType",
|
|
166666
166614
|
"type": {
|
|
166667
166615
|
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
166668
166616
|
},
|
|
166617
|
+
"privacy": "public",
|
|
166669
166618
|
"default": "'wagon'",
|
|
166670
166619
|
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
166671
|
-
"
|
|
166620
|
+
"attribute": "wagon-type",
|
|
166621
|
+
"reflects": true,
|
|
166672
166622
|
"inheritedFrom": {
|
|
166673
166623
|
"name": "SbbTrainWagonMixin",
|
|
166674
166624
|
"module": "train/train-wagon-common.js"
|
|
166675
166625
|
}
|
|
166676
166626
|
},
|
|
166677
166627
|
{
|
|
166628
|
+
"kind": "field",
|
|
166629
|
+
"name": "listChildLocalNames",
|
|
166630
|
+
"type": {
|
|
166631
|
+
"text": "array"
|
|
166632
|
+
},
|
|
166633
|
+
"privacy": "protected",
|
|
166634
|
+
"readonly": true,
|
|
166635
|
+
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
166636
|
+
"default": "['sbb-icon']",
|
|
166637
|
+
"inheritedFrom": {
|
|
166638
|
+
"name": "SbbNamedSlotListMixin",
|
|
166639
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166640
|
+
}
|
|
166641
|
+
},
|
|
166642
|
+
{
|
|
166643
|
+
"kind": "field",
|
|
166678
166644
|
"name": "occupancy",
|
|
166679
166645
|
"type": {
|
|
166680
166646
|
"text": "SbbOccupancy | null"
|
|
166681
166647
|
},
|
|
166648
|
+
"privacy": "public",
|
|
166682
166649
|
"default": "null",
|
|
166683
166650
|
"description": "Occupancy of a wagon.",
|
|
166684
|
-
"
|
|
166651
|
+
"attribute": "occupancy",
|
|
166685
166652
|
"inheritedFrom": {
|
|
166686
166653
|
"name": "SbbTrainWagonMixin",
|
|
166687
166654
|
"module": "train/train-wagon-common.js"
|
|
166688
166655
|
}
|
|
166689
166656
|
},
|
|
166690
166657
|
{
|
|
166658
|
+
"kind": "field",
|
|
166691
166659
|
"name": "sector",
|
|
166692
166660
|
"type": {
|
|
166693
166661
|
"text": "string"
|
|
166694
166662
|
},
|
|
166663
|
+
"privacy": "public",
|
|
166695
166664
|
"default": "''",
|
|
166696
166665
|
"description": "Sector in which the wagon stops.",
|
|
166697
|
-
"
|
|
166666
|
+
"attribute": "sector",
|
|
166667
|
+
"reflects": true,
|
|
166698
166668
|
"inheritedFrom": {
|
|
166699
166669
|
"name": "SbbTrainWagonMixin",
|
|
166700
166670
|
"module": "train/train-wagon-common.js"
|
|
166701
166671
|
}
|
|
166702
166672
|
},
|
|
166703
166673
|
{
|
|
166704
|
-
"
|
|
166674
|
+
"kind": "field",
|
|
166675
|
+
"name": "blockedPassage",
|
|
166705
166676
|
"type": {
|
|
166706
166677
|
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
166707
166678
|
},
|
|
166679
|
+
"privacy": "public",
|
|
166708
166680
|
"default": "'none'",
|
|
166709
166681
|
"description": "Accessibility text for blocked passages of the wagon.",
|
|
166710
|
-
"
|
|
166682
|
+
"attribute": "blocked-passage",
|
|
166711
166683
|
"inheritedFrom": {
|
|
166712
166684
|
"name": "SbbTrainWagonMixin",
|
|
166713
166685
|
"module": "train/train-wagon-common.js"
|
|
166714
166686
|
}
|
|
166715
166687
|
},
|
|
166716
166688
|
{
|
|
166717
|
-
"
|
|
166689
|
+
"kind": "field",
|
|
166690
|
+
"name": "wagonClass",
|
|
166718
166691
|
"type": {
|
|
166719
166692
|
"text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
|
|
166720
166693
|
},
|
|
166694
|
+
"privacy": "public",
|
|
166721
166695
|
"default": "null",
|
|
166722
166696
|
"description": "Class label",
|
|
166723
|
-
"
|
|
166697
|
+
"attribute": "wagon-class",
|
|
166724
166698
|
"inheritedFrom": {
|
|
166725
166699
|
"name": "SbbTrainWagonMixin",
|
|
166726
166700
|
"module": "train/train-wagon-common.js"
|
|
166727
166701
|
}
|
|
166728
166702
|
},
|
|
166729
166703
|
{
|
|
166704
|
+
"kind": "field",
|
|
166730
166705
|
"name": "label",
|
|
166731
166706
|
"type": {
|
|
166732
166707
|
"text": "string"
|
|
166733
166708
|
},
|
|
166709
|
+
"privacy": "public",
|
|
166734
166710
|
"default": "''",
|
|
166735
166711
|
"description": "Wagon number",
|
|
166736
|
-
"
|
|
166712
|
+
"attribute": "label",
|
|
166713
|
+
"reflects": true,
|
|
166737
166714
|
"inheritedFrom": {
|
|
166738
166715
|
"name": "SbbTrainWagonMixin",
|
|
166739
166716
|
"module": "train/train-wagon-common.js"
|
|
166740
166717
|
}
|
|
166741
166718
|
},
|
|
166742
166719
|
{
|
|
166743
|
-
"
|
|
166720
|
+
"kind": "field",
|
|
166721
|
+
"name": "additionalAccessibilityText",
|
|
166744
166722
|
"type": {
|
|
166745
166723
|
"text": "string"
|
|
166746
166724
|
},
|
|
166725
|
+
"privacy": "public",
|
|
166747
166726
|
"default": "''",
|
|
166748
166727
|
"description": "Additional accessibility text which will be appended to the end.",
|
|
166749
|
-
"
|
|
166728
|
+
"attribute": "additional-accessibility-text",
|
|
166750
166729
|
"inheritedFrom": {
|
|
166751
166730
|
"name": "SbbTrainWagonMixin",
|
|
166752
166731
|
"module": "train/train-wagon-common.js"
|
|
166753
166732
|
}
|
|
166754
|
-
}
|
|
166755
|
-
]
|
|
166756
|
-
}
|
|
166757
|
-
],
|
|
166758
|
-
"exports": [
|
|
166759
|
-
{
|
|
166760
|
-
"kind": "js",
|
|
166761
|
-
"name": "SbbTrainWagonElement",
|
|
166762
|
-
"declaration": {
|
|
166763
|
-
"name": "SbbTrainWagonElement",
|
|
166764
|
-
"module": "train/train-wagon/train-wagon.component.js"
|
|
166765
|
-
}
|
|
166766
|
-
}
|
|
166767
|
-
]
|
|
166768
|
-
},
|
|
166769
|
-
{
|
|
166770
|
-
"kind": "javascript-module",
|
|
166771
|
-
"path": "train/train-formation/train-formation.component.js",
|
|
166772
|
-
"declarations": [
|
|
166773
|
-
{
|
|
166774
|
-
"kind": "class",
|
|
166775
|
-
"description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
|
|
166776
|
-
"name": "SbbTrainFormationElement",
|
|
166777
|
-
"cssProperties": [
|
|
166778
|
-
{
|
|
166779
|
-
"description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
|
|
166780
|
-
"name": "--sbb-train-formation-scroll-padding",
|
|
166781
|
-
"default": "var(--sbb-spacing-fixed-1x)"
|
|
166782
|
-
}
|
|
166783
|
-
],
|
|
166784
|
-
"slots": [
|
|
166785
|
-
{
|
|
166786
|
-
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
166787
|
-
"name": ""
|
|
166788
|
-
}
|
|
166789
|
-
],
|
|
166790
|
-
"members": [
|
|
166733
|
+
},
|
|
166791
166734
|
{
|
|
166792
166735
|
"kind": "field",
|
|
166793
|
-
"name": "
|
|
166736
|
+
"name": "_view",
|
|
166794
166737
|
"type": {
|
|
166795
|
-
"text": "
|
|
166738
|
+
"text": "SbbTrainFormationElement['view'] | null"
|
|
166796
166739
|
},
|
|
166797
|
-
"privacy": "
|
|
166798
|
-
"
|
|
166799
|
-
"readonly": true,
|
|
166800
|
-
"default": "'sbb-train-formation'",
|
|
166740
|
+
"privacy": "private",
|
|
166741
|
+
"default": "null",
|
|
166801
166742
|
"inheritedFrom": {
|
|
166802
|
-
"name": "
|
|
166803
|
-
"module": "
|
|
166743
|
+
"name": "SbbTrainWagonMixin",
|
|
166744
|
+
"module": "train/train-wagon-common.js"
|
|
166804
166745
|
}
|
|
166805
166746
|
},
|
|
166806
166747
|
{
|
|
166807
166748
|
"kind": "field",
|
|
166808
|
-
"name": "
|
|
166809
|
-
"
|
|
166810
|
-
|
|
166811
|
-
},
|
|
166812
|
-
"privacy": "protected",
|
|
166813
|
-
"readonly": true,
|
|
166814
|
-
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
166815
|
-
"default": "['sbb-train']",
|
|
166749
|
+
"name": "_language",
|
|
166750
|
+
"privacy": "private",
|
|
166751
|
+
"default": "new SbbLanguageController(this)",
|
|
166816
166752
|
"inheritedFrom": {
|
|
166817
|
-
"name": "
|
|
166818
|
-
"module": "
|
|
166753
|
+
"name": "SbbTrainWagonMixin",
|
|
166754
|
+
"module": "train/train-wagon-common.js"
|
|
166819
166755
|
}
|
|
166820
166756
|
},
|
|
166821
166757
|
{
|
|
166822
166758
|
"kind": "field",
|
|
166823
|
-
"name": "
|
|
166824
|
-
"type": {
|
|
166825
|
-
"text": "'side' | 'top'"
|
|
166826
|
-
},
|
|
166827
|
-
"privacy": "public",
|
|
166828
|
-
"default": "'side'",
|
|
166829
|
-
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
166830
|
-
"attribute": "view",
|
|
166831
|
-
"reflects": true
|
|
166832
|
-
},
|
|
166833
|
-
{
|
|
166834
|
-
"kind": "field",
|
|
166835
|
-
"name": "orientation",
|
|
166759
|
+
"name": "_clipStyleSheet",
|
|
166836
166760
|
"type": {
|
|
166837
|
-
"text": "
|
|
166761
|
+
"text": "CSSStyleSheet | null"
|
|
166838
166762
|
},
|
|
166839
|
-
"privacy": "
|
|
166840
|
-
"default": "
|
|
166841
|
-
"
|
|
166842
|
-
|
|
166843
|
-
|
|
166763
|
+
"privacy": "private",
|
|
166764
|
+
"default": "null",
|
|
166765
|
+
"inheritedFrom": {
|
|
166766
|
+
"name": "SbbTrainWagonMixin",
|
|
166767
|
+
"module": "train/train-wagon-common.js"
|
|
166768
|
+
}
|
|
166844
166769
|
},
|
|
166845
166770
|
{
|
|
166846
|
-
"kind": "
|
|
166847
|
-
"name": "
|
|
166848
|
-
"type": {
|
|
166849
|
-
"text": "AggregatedSector[]"
|
|
166850
|
-
},
|
|
166771
|
+
"kind": "method",
|
|
166772
|
+
"name": "_sectorChanged",
|
|
166851
166773
|
"privacy": "private",
|
|
166852
|
-
"
|
|
166774
|
+
"return": {
|
|
166775
|
+
"type": {
|
|
166776
|
+
"text": "void"
|
|
166777
|
+
}
|
|
166778
|
+
},
|
|
166779
|
+
"inheritedFrom": {
|
|
166780
|
+
"name": "SbbTrainWagonMixin",
|
|
166781
|
+
"module": "train/train-wagon-common.js"
|
|
166782
|
+
}
|
|
166853
166783
|
},
|
|
166854
166784
|
{
|
|
166855
|
-
"kind": "
|
|
166856
|
-
"name": "
|
|
166785
|
+
"kind": "method",
|
|
166786
|
+
"name": "_wagonTypeLabel",
|
|
166857
166787
|
"privacy": "private",
|
|
166858
|
-
"
|
|
166788
|
+
"return": {
|
|
166789
|
+
"type": {
|
|
166790
|
+
"text": "string"
|
|
166791
|
+
}
|
|
166792
|
+
},
|
|
166793
|
+
"inheritedFrom": {
|
|
166794
|
+
"name": "SbbTrainWagonMixin",
|
|
166795
|
+
"module": "train/train-wagon-common.js"
|
|
166796
|
+
}
|
|
166859
166797
|
},
|
|
166860
166798
|
{
|
|
166861
166799
|
"kind": "method",
|
|
166862
|
-
"name": "
|
|
166800
|
+
"name": "_wagonShape",
|
|
166863
166801
|
"privacy": "private",
|
|
166864
166802
|
"return": {
|
|
166865
166803
|
"type": {
|
|
166866
|
-
"text": "
|
|
166804
|
+
"text": "string"
|
|
166867
166805
|
}
|
|
166868
166806
|
},
|
|
166869
|
-
"
|
|
166870
|
-
|
|
166871
|
-
|
|
166872
|
-
|
|
166873
|
-
"type": {
|
|
166874
|
-
"text": "Event"
|
|
166875
|
-
}
|
|
166876
|
-
}
|
|
166877
|
-
]
|
|
166807
|
+
"inheritedFrom": {
|
|
166808
|
+
"name": "SbbTrainWagonMixin",
|
|
166809
|
+
"module": "train/train-wagon-common.js"
|
|
166810
|
+
}
|
|
166878
166811
|
},
|
|
166879
166812
|
{
|
|
166880
166813
|
"kind": "method",
|
|
166881
|
-
"name": "
|
|
166814
|
+
"name": "_classLabel",
|
|
166882
166815
|
"privacy": "private",
|
|
166883
166816
|
"return": {
|
|
166884
166817
|
"type": {
|
|
166885
|
-
"text": "
|
|
166818
|
+
"text": "string"
|
|
166886
166819
|
}
|
|
166887
166820
|
},
|
|
166888
|
-
"
|
|
166889
|
-
|
|
166890
|
-
|
|
166891
|
-
|
|
166892
|
-
"type": {
|
|
166893
|
-
"text": "Event"
|
|
166894
|
-
}
|
|
166895
|
-
}
|
|
166896
|
-
]
|
|
166821
|
+
"inheritedFrom": {
|
|
166822
|
+
"name": "SbbTrainWagonMixin",
|
|
166823
|
+
"module": "train/train-wagon-common.js"
|
|
166824
|
+
}
|
|
166897
166825
|
},
|
|
166898
166826
|
{
|
|
166899
|
-
"kind": "
|
|
166900
|
-
"name": "
|
|
166901
|
-
"
|
|
166902
|
-
|
|
166827
|
+
"kind": "method",
|
|
166828
|
+
"name": "renderTemplate",
|
|
166829
|
+
"privacy": "protected",
|
|
166830
|
+
"return": {
|
|
166831
|
+
"type": {
|
|
166832
|
+
"text": "TemplateResult"
|
|
166833
|
+
}
|
|
166903
166834
|
},
|
|
166904
|
-
"privacy": "public",
|
|
166905
|
-
"static": true,
|
|
166906
|
-
"default": "[]",
|
|
166907
166835
|
"inheritedFrom": {
|
|
166908
|
-
"name": "
|
|
166909
|
-
"module": "
|
|
166836
|
+
"name": "SbbTrainWagonMixin",
|
|
166837
|
+
"module": "train/train-wagon-common.js"
|
|
166910
166838
|
}
|
|
166911
166839
|
},
|
|
166912
166840
|
{
|
|
166913
166841
|
"kind": "field",
|
|
166914
|
-
"name": "
|
|
166842
|
+
"name": "orientation",
|
|
166915
166843
|
"type": {
|
|
166916
|
-
"text": "
|
|
166844
|
+
"text": "SbbOrientation | null"
|
|
166917
166845
|
},
|
|
166918
|
-
"privacy": "
|
|
166919
|
-
"
|
|
166920
|
-
"default": "[screenReaderOnlyStyles]",
|
|
166846
|
+
"privacy": "protected",
|
|
166847
|
+
"default": "null",
|
|
166921
166848
|
"inheritedFrom": {
|
|
166922
|
-
"name": "
|
|
166923
|
-
"module": "
|
|
166849
|
+
"name": "SbbTrainFormationOrientationMixin",
|
|
166850
|
+
"module": "train/train-formation-orientation-mixin.js"
|
|
166924
166851
|
}
|
|
166925
166852
|
},
|
|
166926
166853
|
{
|
|
@@ -167286,47 +167213,120 @@
|
|
|
167286
167213
|
}
|
|
167287
167214
|
}
|
|
167288
167215
|
],
|
|
167216
|
+
"mixins": [
|
|
167217
|
+
{
|
|
167218
|
+
"name": "SbbTrainWagonMixin",
|
|
167219
|
+
"module": "train/train-wagon-common.js"
|
|
167220
|
+
}
|
|
167221
|
+
],
|
|
167222
|
+
"superclass": {
|
|
167223
|
+
"name": "SbbElement",
|
|
167224
|
+
"module": "core.js"
|
|
167225
|
+
},
|
|
167226
|
+
"tagName": "sbb-train-wagon",
|
|
167227
|
+
"customElement": true,
|
|
167289
167228
|
"attributes": [
|
|
167290
167229
|
{
|
|
167291
|
-
"name": "
|
|
167230
|
+
"name": "wagon-type",
|
|
167292
167231
|
"type": {
|
|
167293
|
-
"text": "'
|
|
167232
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
167294
167233
|
},
|
|
167295
|
-
"default": "'
|
|
167296
|
-
"description": "
|
|
167297
|
-
"fieldName": "
|
|
167234
|
+
"default": "'wagon'",
|
|
167235
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
167236
|
+
"fieldName": "wagonType",
|
|
167237
|
+
"inheritedFrom": {
|
|
167238
|
+
"name": "SbbTrainWagonMixin",
|
|
167239
|
+
"module": "train/train-wagon-common.js"
|
|
167240
|
+
}
|
|
167298
167241
|
},
|
|
167299
167242
|
{
|
|
167300
|
-
"name": "
|
|
167243
|
+
"name": "occupancy",
|
|
167301
167244
|
"type": {
|
|
167302
|
-
"text": "
|
|
167245
|
+
"text": "SbbOccupancy | null"
|
|
167303
167246
|
},
|
|
167304
|
-
"default": "
|
|
167305
|
-
"description": "
|
|
167306
|
-
"fieldName": "
|
|
167307
|
-
|
|
167308
|
-
|
|
167309
|
-
|
|
167247
|
+
"default": "null",
|
|
167248
|
+
"description": "Occupancy of a wagon.",
|
|
167249
|
+
"fieldName": "occupancy",
|
|
167250
|
+
"inheritedFrom": {
|
|
167251
|
+
"name": "SbbTrainWagonMixin",
|
|
167252
|
+
"module": "train/train-wagon-common.js"
|
|
167253
|
+
}
|
|
167254
|
+
},
|
|
167310
167255
|
{
|
|
167311
|
-
"name": "
|
|
167312
|
-
"
|
|
167256
|
+
"name": "sector",
|
|
167257
|
+
"type": {
|
|
167258
|
+
"text": "string"
|
|
167259
|
+
},
|
|
167260
|
+
"default": "''",
|
|
167261
|
+
"description": "Sector in which the wagon stops.",
|
|
167262
|
+
"fieldName": "sector",
|
|
167263
|
+
"inheritedFrom": {
|
|
167264
|
+
"name": "SbbTrainWagonMixin",
|
|
167265
|
+
"module": "train/train-wagon-common.js"
|
|
167266
|
+
}
|
|
167267
|
+
},
|
|
167268
|
+
{
|
|
167269
|
+
"name": "blocked-passage",
|
|
167270
|
+
"type": {
|
|
167271
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
167272
|
+
},
|
|
167273
|
+
"default": "'none'",
|
|
167274
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
167275
|
+
"fieldName": "blockedPassage",
|
|
167276
|
+
"inheritedFrom": {
|
|
167277
|
+
"name": "SbbTrainWagonMixin",
|
|
167278
|
+
"module": "train/train-wagon-common.js"
|
|
167279
|
+
}
|
|
167280
|
+
},
|
|
167281
|
+
{
|
|
167282
|
+
"name": "wagon-class",
|
|
167283
|
+
"type": {
|
|
167284
|
+
"text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
|
|
167285
|
+
},
|
|
167286
|
+
"default": "null",
|
|
167287
|
+
"description": "Class label",
|
|
167288
|
+
"fieldName": "wagonClass",
|
|
167289
|
+
"inheritedFrom": {
|
|
167290
|
+
"name": "SbbTrainWagonMixin",
|
|
167291
|
+
"module": "train/train-wagon-common.js"
|
|
167292
|
+
}
|
|
167293
|
+
},
|
|
167294
|
+
{
|
|
167295
|
+
"name": "label",
|
|
167296
|
+
"type": {
|
|
167297
|
+
"text": "string"
|
|
167298
|
+
},
|
|
167299
|
+
"default": "''",
|
|
167300
|
+
"description": "Wagon number",
|
|
167301
|
+
"fieldName": "label",
|
|
167302
|
+
"inheritedFrom": {
|
|
167303
|
+
"name": "SbbTrainWagonMixin",
|
|
167304
|
+
"module": "train/train-wagon-common.js"
|
|
167305
|
+
}
|
|
167306
|
+
},
|
|
167307
|
+
{
|
|
167308
|
+
"name": "additional-accessibility-text",
|
|
167309
|
+
"type": {
|
|
167310
|
+
"text": "string"
|
|
167311
|
+
},
|
|
167312
|
+
"default": "''",
|
|
167313
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
167314
|
+
"fieldName": "additionalAccessibilityText",
|
|
167315
|
+
"inheritedFrom": {
|
|
167316
|
+
"name": "SbbTrainWagonMixin",
|
|
167317
|
+
"module": "train/train-wagon-common.js"
|
|
167318
|
+
}
|
|
167313
167319
|
}
|
|
167314
|
-
]
|
|
167315
|
-
"superclass": {
|
|
167316
|
-
"name": "SbbElement",
|
|
167317
|
-
"module": "core.js"
|
|
167318
|
-
},
|
|
167319
|
-
"tagName": "sbb-train-formation",
|
|
167320
|
-
"customElement": true
|
|
167320
|
+
]
|
|
167321
167321
|
}
|
|
167322
167322
|
],
|
|
167323
167323
|
"exports": [
|
|
167324
167324
|
{
|
|
167325
167325
|
"kind": "js",
|
|
167326
|
-
"name": "
|
|
167326
|
+
"name": "SbbTrainWagonElement",
|
|
167327
167327
|
"declaration": {
|
|
167328
|
-
"name": "
|
|
167329
|
-
"module": "train/train-
|
|
167328
|
+
"name": "SbbTrainWagonElement",
|
|
167329
|
+
"module": "train/train-wagon/train-wagon.component.js"
|
|
167330
167330
|
}
|
|
167331
167331
|
}
|
|
167332
167332
|
]
|