@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1777979422 → 5.0.0-next.2-dev.1777981005
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 +1583 -1583
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -74728,418 +74728,6 @@
|
|
|
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
|
-
},
|
|
75143
74731
|
{
|
|
75144
74732
|
"kind": "javascript-module",
|
|
75145
74733
|
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
@@ -75782,86 +75370,498 @@
|
|
|
75782
75370
|
},
|
|
75783
75371
|
{
|
|
75784
75372
|
"kind": "javascript-module",
|
|
75785
|
-
"path": "
|
|
75373
|
+
"path": "container/container/container.component.js",
|
|
75786
75374
|
"declarations": [
|
|
75787
75375
|
{
|
|
75788
|
-
"kind": "
|
|
75789
|
-
"
|
|
75790
|
-
"
|
|
75791
|
-
|
|
75792
|
-
"text": "boolean"
|
|
75793
|
-
}
|
|
75794
|
-
},
|
|
75795
|
-
"parameters": [
|
|
75376
|
+
"kind": "class",
|
|
75377
|
+
"description": "It displays its content with the default page spacing.",
|
|
75378
|
+
"name": "SbbContainerElement",
|
|
75379
|
+
"cssProperties": [
|
|
75796
75380
|
{
|
|
75797
|
-
"
|
|
75798
|
-
"
|
|
75799
|
-
"text": "KeyboardEvent"
|
|
75800
|
-
},
|
|
75801
|
-
"description": "The keyboard event to check."
|
|
75381
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
75382
|
+
"name": "--sbb-page-spacing-padding"
|
|
75802
75383
|
}
|
|
75803
75384
|
],
|
|
75804
|
-
"
|
|
75805
|
-
},
|
|
75806
|
-
{
|
|
75807
|
-
"kind": "function",
|
|
75808
|
-
"name": "isPreviousArrowKeyPressed",
|
|
75809
|
-
"return": {
|
|
75810
|
-
"type": {
|
|
75811
|
-
"text": "boolean"
|
|
75812
|
-
}
|
|
75813
|
-
},
|
|
75814
|
-
"parameters": [
|
|
75385
|
+
"slots": [
|
|
75815
75386
|
{
|
|
75816
|
-
"
|
|
75817
|
-
"
|
|
75818
|
-
|
|
75819
|
-
|
|
75820
|
-
"description": "The
|
|
75387
|
+
"description": "Use the unnamed slot to add anything to the container.",
|
|
75388
|
+
"name": ""
|
|
75389
|
+
},
|
|
75390
|
+
{
|
|
75391
|
+
"description": "The slot used by the sbb-sticky-bar component.",
|
|
75392
|
+
"name": "sticky-bar"
|
|
75393
|
+
},
|
|
75394
|
+
{
|
|
75395
|
+
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
75396
|
+
"name": "image"
|
|
75821
75397
|
}
|
|
75822
75398
|
],
|
|
75823
|
-
"
|
|
75824
|
-
},
|
|
75825
|
-
{
|
|
75826
|
-
"kind": "function",
|
|
75827
|
-
"name": "isNextArrowKeyPressed",
|
|
75828
|
-
"return": {
|
|
75829
|
-
"type": {
|
|
75830
|
-
"text": "boolean"
|
|
75831
|
-
}
|
|
75832
|
-
},
|
|
75833
|
-
"parameters": [
|
|
75399
|
+
"members": [
|
|
75834
75400
|
{
|
|
75835
|
-
"
|
|
75401
|
+
"kind": "field",
|
|
75402
|
+
"name": "elementName",
|
|
75836
75403
|
"type": {
|
|
75837
|
-
"text": "
|
|
75404
|
+
"text": "string"
|
|
75838
75405
|
},
|
|
75839
|
-
"
|
|
75840
|
-
|
|
75841
|
-
|
|
75842
|
-
|
|
75843
|
-
|
|
75844
|
-
|
|
75845
|
-
|
|
75846
|
-
|
|
75847
|
-
|
|
75848
|
-
"type": {
|
|
75849
|
-
"text": "boolean"
|
|
75850
|
-
}
|
|
75851
|
-
},
|
|
75852
|
-
"parameters": [
|
|
75406
|
+
"privacy": "public",
|
|
75407
|
+
"static": true,
|
|
75408
|
+
"readonly": true,
|
|
75409
|
+
"default": "'sbb-container'",
|
|
75410
|
+
"inheritedFrom": {
|
|
75411
|
+
"name": "SbbElement",
|
|
75412
|
+
"module": "core/base-elements/element.js"
|
|
75413
|
+
}
|
|
75414
|
+
},
|
|
75853
75415
|
{
|
|
75854
|
-
"
|
|
75416
|
+
"kind": "field",
|
|
75417
|
+
"name": "expanded",
|
|
75855
75418
|
"type": {
|
|
75856
|
-
"text": "
|
|
75419
|
+
"text": "boolean"
|
|
75857
75420
|
},
|
|
75858
|
-
"
|
|
75859
|
-
|
|
75860
|
-
|
|
75861
|
-
|
|
75862
|
-
|
|
75863
|
-
|
|
75864
|
-
|
|
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"
|
|
75857
|
+
},
|
|
75858
|
+
"description": "The keyboard event to check."
|
|
75859
|
+
}
|
|
75860
|
+
],
|
|
75861
|
+
"description": "Check if the key pressed is among those allowed for navigation."
|
|
75862
|
+
},
|
|
75863
|
+
{
|
|
75864
|
+
"kind": "function",
|
|
75865
75865
|
"name": "getNextElementIndex",
|
|
75866
75866
|
"return": {
|
|
75867
75867
|
"type": {
|
|
@@ -131956,12 +131956,12 @@
|
|
|
131956
131956
|
},
|
|
131957
131957
|
{
|
|
131958
131958
|
"kind": "javascript-module",
|
|
131959
|
-
"path": "menu/menu-
|
|
131959
|
+
"path": "menu/menu-link/menu-link.component.js",
|
|
131960
131960
|
"declarations": [
|
|
131961
131961
|
{
|
|
131962
131962
|
"kind": "class",
|
|
131963
|
-
"description": "It displays a
|
|
131964
|
-
"name": "
|
|
131963
|
+
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
131964
|
+
"name": "SbbMenuLinkElement",
|
|
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-link`.",
|
|
131975
131975
|
"name": ""
|
|
131976
131976
|
},
|
|
131977
131977
|
{
|
|
@@ -131993,22 +131993,21 @@
|
|
|
131993
131993
|
"name": "SbbElement",
|
|
131994
131994
|
"module": "core/base-elements/element.js"
|
|
131995
131995
|
},
|
|
131996
|
-
"default": "'sbb-menu-
|
|
131996
|
+
"default": "'sbb-menu-link'"
|
|
131997
131997
|
},
|
|
131998
131998
|
{
|
|
131999
131999
|
"kind": "field",
|
|
132000
|
-
"name": "
|
|
132000
|
+
"name": "anchorRole",
|
|
132001
132001
|
"type": {
|
|
132002
|
-
"text": "
|
|
132003
|
-
},
|
|
132004
|
-
"privacy": "public",
|
|
132005
|
-
"static": true,
|
|
132006
|
-
"inheritedFrom": {
|
|
132007
|
-
"name": "SbbElement",
|
|
132008
|
-
"module": "core/base-elements/element.js"
|
|
132002
|
+
"text": "string"
|
|
132009
132003
|
},
|
|
132004
|
+
"privacy": "protected",
|
|
132010
132005
|
"readonly": true,
|
|
132011
|
-
"default": "'menuitem'"
|
|
132006
|
+
"default": "'menuitem'",
|
|
132007
|
+
"inheritedFrom": {
|
|
132008
|
+
"name": "SbbLinkBaseElement",
|
|
132009
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132010
|
+
}
|
|
132012
132011
|
},
|
|
132013
132012
|
{
|
|
132014
132013
|
"kind": "field",
|
|
@@ -132026,50 +132025,6 @@
|
|
|
132026
132025
|
"module": "core/mixins/disabled-mixin.js"
|
|
132027
132026
|
}
|
|
132028
132027
|
},
|
|
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
|
-
},
|
|
132073
132028
|
{
|
|
132074
132029
|
"kind": "field",
|
|
132075
132030
|
"name": "styles",
|
|
@@ -132181,464 +132136,181 @@
|
|
|
132181
132136
|
},
|
|
132182
132137
|
{
|
|
132183
132138
|
"kind": "field",
|
|
132184
|
-
"name": "
|
|
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
|
-
},
|
|
132202
|
-
"privacy": "public",
|
|
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",
|
|
132139
|
+
"name": "disabled",
|
|
132214
132140
|
"privacy": "public",
|
|
132215
|
-
"description": "
|
|
132216
|
-
"default": "
|
|
132141
|
+
"description": "Whether the component is disabled.",
|
|
132142
|
+
"default": "false",
|
|
132217
132143
|
"type": {
|
|
132218
|
-
"text": "
|
|
132144
|
+
"text": "boolean"
|
|
132219
132145
|
},
|
|
132220
|
-
"attribute": "
|
|
132146
|
+
"attribute": "disabled",
|
|
132147
|
+
"reflects": true,
|
|
132221
132148
|
"inheritedFrom": {
|
|
132222
|
-
"name": "
|
|
132223
|
-
"module": "core/
|
|
132149
|
+
"name": "SbbDisabledMixin",
|
|
132150
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132224
132151
|
}
|
|
132225
132152
|
},
|
|
132226
132153
|
{
|
|
132227
132154
|
"kind": "field",
|
|
132228
|
-
"name": "
|
|
132229
|
-
"
|
|
132230
|
-
"text": "HTMLFormElement | null"
|
|
132231
|
-
},
|
|
132232
|
-
"privacy": "public",
|
|
132233
|
-
"description": "The `<form>` element to associate the button with.",
|
|
132234
|
-
"inheritedFrom": {
|
|
132235
|
-
"name": "SbbButtonBaseElement",
|
|
132236
|
-
"module": "core/base-elements/button-base-element.js"
|
|
132237
|
-
},
|
|
132238
|
-
"attribute": "form"
|
|
132239
|
-
},
|
|
132240
|
-
{
|
|
132241
|
-
"kind": "field",
|
|
132242
|
-
"name": "_formId",
|
|
132155
|
+
"name": "#disabled",
|
|
132156
|
+
"privacy": "private",
|
|
132243
132157
|
"type": {
|
|
132244
|
-
"text": "
|
|
132158
|
+
"text": "boolean"
|
|
132245
132159
|
},
|
|
132246
|
-
"
|
|
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",
|
|
132160
|
+
"default": "false",
|
|
132257
132161
|
"inheritedFrom": {
|
|
132258
|
-
"name": "
|
|
132259
|
-
"module": "core/
|
|
132162
|
+
"name": "SbbDisabledMixin",
|
|
132163
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132260
132164
|
}
|
|
132261
132165
|
},
|
|
132262
132166
|
{
|
|
132263
132167
|
"kind": "method",
|
|
132264
|
-
"name": "
|
|
132265
|
-
"privacy": "
|
|
132168
|
+
"name": "isDisabledExternally",
|
|
132169
|
+
"privacy": "protected",
|
|
132266
132170
|
"return": {
|
|
132267
132171
|
"type": {
|
|
132268
|
-
"text": "
|
|
132269
|
-
}
|
|
132270
|
-
},
|
|
132271
|
-
"parameters": [
|
|
132272
|
-
{
|
|
132273
|
-
"name": "form",
|
|
132274
|
-
"type": {
|
|
132275
|
-
"text": "HTMLFormElement"
|
|
132276
|
-
}
|
|
132172
|
+
"text": "boolean"
|
|
132277
132173
|
}
|
|
132278
|
-
],
|
|
132279
|
-
"inheritedFrom": {
|
|
132280
|
-
"name": "SbbButtonBaseElement",
|
|
132281
|
-
"module": "core/base-elements/button-base-element.js"
|
|
132282
|
-
}
|
|
132283
|
-
},
|
|
132284
|
-
{
|
|
132285
|
-
"kind": "field",
|
|
132286
|
-
"name": "_formKeyDown",
|
|
132287
|
-
"privacy": "private",
|
|
132288
|
-
"inheritedFrom": {
|
|
132289
|
-
"name": "SbbButtonBaseElement",
|
|
132290
|
-
"module": "core/base-elements/button-base-element.js"
|
|
132291
|
-
}
|
|
132292
|
-
},
|
|
132293
|
-
{
|
|
132294
|
-
"kind": "field",
|
|
132295
|
-
"name": "formAssociated",
|
|
132296
|
-
"type": {
|
|
132297
|
-
"text": "boolean"
|
|
132298
132174
|
},
|
|
132299
|
-
"
|
|
132300
|
-
"static": true,
|
|
132301
|
-
"default": "true",
|
|
132175
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
132302
132176
|
"inheritedFrom": {
|
|
132303
|
-
"name": "
|
|
132304
|
-
"module": "core/mixins/
|
|
132177
|
+
"name": "SbbDisabledMixin",
|
|
132178
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132305
132179
|
}
|
|
132306
132180
|
},
|
|
132307
132181
|
{
|
|
132308
132182
|
"kind": "field",
|
|
132309
|
-
"name": "
|
|
132310
|
-
"privacy": "public",
|
|
132311
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
132183
|
+
"name": "href",
|
|
132312
132184
|
"type": {
|
|
132313
132185
|
"text": "string"
|
|
132314
132186
|
},
|
|
132315
|
-
"
|
|
132187
|
+
"privacy": "public",
|
|
132188
|
+
"default": "''",
|
|
132189
|
+
"description": "The href value you want to link to.",
|
|
132190
|
+
"attribute": "href",
|
|
132191
|
+
"reflects": true,
|
|
132316
132192
|
"inheritedFrom": {
|
|
132317
|
-
"name": "
|
|
132318
|
-
"module": "core/
|
|
132193
|
+
"name": "SbbLinkBaseElement",
|
|
132194
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132319
132195
|
}
|
|
132320
132196
|
},
|
|
132321
132197
|
{
|
|
132322
132198
|
"kind": "field",
|
|
132323
|
-
"name": "
|
|
132199
|
+
"name": "target",
|
|
132324
132200
|
"type": {
|
|
132325
|
-
"text": "
|
|
132201
|
+
"text": "LinkTargetType | string"
|
|
132326
132202
|
},
|
|
132327
132203
|
"privacy": "public",
|
|
132328
|
-
"
|
|
132329
|
-
"
|
|
132204
|
+
"default": "''",
|
|
132205
|
+
"description": "Where to display the linked URL.",
|
|
132206
|
+
"attribute": "target",
|
|
132207
|
+
"reflects": true,
|
|
132330
132208
|
"inheritedFrom": {
|
|
132331
|
-
"name": "
|
|
132332
|
-
"module": "core/
|
|
132209
|
+
"name": "SbbLinkBaseElement",
|
|
132210
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132333
132211
|
}
|
|
132334
132212
|
},
|
|
132335
132213
|
{
|
|
132336
132214
|
"kind": "field",
|
|
132337
|
-
"name": "
|
|
132215
|
+
"name": "rel",
|
|
132338
132216
|
"type": {
|
|
132339
132217
|
"text": "string"
|
|
132340
132218
|
},
|
|
132341
132219
|
"privacy": "public",
|
|
132342
|
-
"
|
|
132343
|
-
"
|
|
132220
|
+
"default": "''",
|
|
132221
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
132222
|
+
"attribute": "rel",
|
|
132223
|
+
"reflects": true,
|
|
132344
132224
|
"inheritedFrom": {
|
|
132345
|
-
"name": "
|
|
132346
|
-
"module": "core/
|
|
132225
|
+
"name": "SbbLinkBaseElement",
|
|
132226
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132347
132227
|
}
|
|
132348
132228
|
},
|
|
132349
132229
|
{
|
|
132350
132230
|
"kind": "field",
|
|
132351
|
-
"name": "
|
|
132231
|
+
"name": "download",
|
|
132352
132232
|
"type": {
|
|
132353
132233
|
"text": "boolean"
|
|
132354
132234
|
},
|
|
132355
132235
|
"privacy": "public",
|
|
132356
|
-
"
|
|
132357
|
-
"
|
|
132358
|
-
"
|
|
132359
|
-
|
|
132360
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132361
|
-
}
|
|
132362
|
-
},
|
|
132363
|
-
{
|
|
132364
|
-
"kind": "field",
|
|
132365
|
-
"name": "_validityStates",
|
|
132366
|
-
"privacy": "private",
|
|
132367
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
132236
|
+
"default": "false",
|
|
132237
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
132238
|
+
"attribute": "download",
|
|
132239
|
+
"reflects": true,
|
|
132368
132240
|
"inheritedFrom": {
|
|
132369
|
-
"name": "
|
|
132370
|
-
"module": "core/
|
|
132241
|
+
"name": "SbbLinkBaseElement",
|
|
132242
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132371
132243
|
}
|
|
132372
132244
|
},
|
|
132373
132245
|
{
|
|
132374
132246
|
"kind": "field",
|
|
132375
|
-
"name": "
|
|
132247
|
+
"name": "accessibilityLabel",
|
|
132376
132248
|
"type": {
|
|
132377
|
-
"text": "
|
|
132249
|
+
"text": "string"
|
|
132378
132250
|
},
|
|
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
132251
|
"privacy": "public",
|
|
132391
|
-
"
|
|
132392
|
-
|
|
132393
|
-
|
|
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.",
|
|
132252
|
+
"default": "''",
|
|
132253
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
132254
|
+
"attribute": "accessibility-label",
|
|
132397
132255
|
"inheritedFrom": {
|
|
132398
|
-
"name": "
|
|
132399
|
-
"module": "core/
|
|
132256
|
+
"name": "SbbLinkBaseElement",
|
|
132257
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132400
132258
|
}
|
|
132401
132259
|
},
|
|
132402
132260
|
{
|
|
132403
|
-
"kind": "
|
|
132404
|
-
"name": "
|
|
132405
|
-
"
|
|
132406
|
-
|
|
132407
|
-
"type": {
|
|
132408
|
-
"text": "boolean"
|
|
132409
|
-
}
|
|
132261
|
+
"kind": "field",
|
|
132262
|
+
"name": "accessibilityCurrent",
|
|
132263
|
+
"type": {
|
|
132264
|
+
"text": "string"
|
|
132410
132265
|
},
|
|
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
132266
|
"privacy": "public",
|
|
132421
|
-
"
|
|
132422
|
-
|
|
132423
|
-
|
|
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",
|
|
132443
|
-
"privacy": "private",
|
|
132444
|
-
"return": {
|
|
132445
|
-
"type": {
|
|
132446
|
-
"text": "boolean"
|
|
132447
|
-
}
|
|
132448
|
-
},
|
|
132449
|
-
"inheritedFrom": {
|
|
132450
|
-
"name": "SbbFormAssociatedMixin",
|
|
132451
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
132452
|
-
}
|
|
132453
|
-
},
|
|
132454
|
-
{
|
|
132455
|
-
"kind": "method",
|
|
132456
|
-
"name": "updateFormValue",
|
|
132457
|
-
"privacy": "protected",
|
|
132458
|
-
"return": {
|
|
132459
|
-
"type": {
|
|
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"
|
|
132490
|
-
}
|
|
132491
|
-
},
|
|
132492
|
-
"parameters": [
|
|
132493
|
-
{
|
|
132494
|
-
"name": "flag",
|
|
132495
|
-
"type": {
|
|
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]"
|
|
132510
|
-
}
|
|
132511
|
-
}
|
|
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).",
|
|
132267
|
+
"default": "''",
|
|
132268
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
132269
|
+
"attribute": "accessibility-current",
|
|
132514
132270
|
"inheritedFrom": {
|
|
132515
|
-
"name": "
|
|
132516
|
-
"module": "core/
|
|
132271
|
+
"name": "SbbLinkBaseElement",
|
|
132272
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132517
132273
|
}
|
|
132518
132274
|
},
|
|
132519
132275
|
{
|
|
132520
|
-
"kind": "
|
|
132521
|
-
"name": "
|
|
132276
|
+
"kind": "field",
|
|
132277
|
+
"name": "language",
|
|
132522
132278
|
"privacy": "protected",
|
|
132523
|
-
"
|
|
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.",
|
|
132279
|
+
"default": "new SbbLanguageController(this)",
|
|
132537
132280
|
"inheritedFrom": {
|
|
132538
|
-
"name": "
|
|
132539
|
-
"module": "core/
|
|
132281
|
+
"name": "SbbLinkBaseElement",
|
|
132282
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132540
132283
|
}
|
|
132541
132284
|
},
|
|
132542
132285
|
{
|
|
132543
|
-
"kind": "
|
|
132544
|
-
"name": "
|
|
132545
|
-
"privacy": "
|
|
132546
|
-
"return": {
|
|
132547
|
-
"type": {
|
|
132548
|
-
"text": "void"
|
|
132549
|
-
}
|
|
132550
|
-
},
|
|
132551
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
132286
|
+
"kind": "field",
|
|
132287
|
+
"name": "_evaluateRelAttribute",
|
|
132288
|
+
"privacy": "private",
|
|
132552
132289
|
"inheritedFrom": {
|
|
132553
|
-
"name": "
|
|
132554
|
-
"module": "core/
|
|
132290
|
+
"name": "SbbLinkBaseElement",
|
|
132291
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132555
132292
|
}
|
|
132556
132293
|
},
|
|
132557
132294
|
{
|
|
132558
132295
|
"kind": "method",
|
|
132559
|
-
"name": "
|
|
132296
|
+
"name": "renderLink",
|
|
132560
132297
|
"privacy": "protected",
|
|
132561
132298
|
"return": {
|
|
132562
132299
|
"type": {
|
|
132563
|
-
"text": "
|
|
132300
|
+
"text": "TemplateResult"
|
|
132564
132301
|
}
|
|
132565
132302
|
},
|
|
132566
132303
|
"parameters": [
|
|
132567
132304
|
{
|
|
132568
|
-
"name": "
|
|
132305
|
+
"name": "renderContent",
|
|
132569
132306
|
"type": {
|
|
132570
|
-
"text": "
|
|
132307
|
+
"text": "TemplateResult"
|
|
132571
132308
|
}
|
|
132572
132309
|
}
|
|
132573
132310
|
],
|
|
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
132311
|
"inheritedFrom": {
|
|
132606
|
-
"name": "
|
|
132607
|
-
"module": "core/base-elements/
|
|
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"
|
|
132312
|
+
"name": "SbbLinkBaseElement",
|
|
132313
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132642
132314
|
}
|
|
132643
132315
|
},
|
|
132644
132316
|
{
|
|
@@ -132695,6 +132367,19 @@
|
|
|
132695
132367
|
"module": "core/base-elements/element.js"
|
|
132696
132368
|
}
|
|
132697
132369
|
},
|
|
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
|
+
},
|
|
132698
132383
|
{
|
|
132699
132384
|
"kind": "field",
|
|
132700
132385
|
"name": "_controllers",
|
|
@@ -132941,7 +132626,7 @@
|
|
|
132941
132626
|
],
|
|
132942
132627
|
"mixins": [
|
|
132943
132628
|
{
|
|
132944
|
-
"name": "
|
|
132629
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
132945
132630
|
"module": "core.js"
|
|
132946
132631
|
},
|
|
132947
132632
|
{
|
|
@@ -132950,10 +132635,10 @@
|
|
|
132950
132635
|
}
|
|
132951
132636
|
],
|
|
132952
132637
|
"superclass": {
|
|
132953
|
-
"name": "
|
|
132638
|
+
"name": "SbbLinkBaseElement",
|
|
132954
132639
|
"module": "core.js"
|
|
132955
132640
|
},
|
|
132956
|
-
"tagName": "sbb-menu-
|
|
132641
|
+
"tagName": "sbb-menu-link",
|
|
132957
132642
|
"customElement": true,
|
|
132958
132643
|
"attributes": [
|
|
132959
132644
|
{
|
|
@@ -132969,6 +132654,19 @@
|
|
|
132969
132654
|
"module": "core/mixins/disabled-mixin.js"
|
|
132970
132655
|
}
|
|
132971
132656
|
},
|
|
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
|
+
},
|
|
132972
132670
|
{
|
|
132973
132671
|
"name": "disabled",
|
|
132974
132672
|
"description": "Whether the component is disabled.",
|
|
@@ -132983,66 +132681,81 @@
|
|
|
132983
132681
|
}
|
|
132984
132682
|
},
|
|
132985
132683
|
{
|
|
132986
|
-
"name": "
|
|
132684
|
+
"name": "href",
|
|
132987
132685
|
"type": {
|
|
132988
132686
|
"text": "string"
|
|
132989
132687
|
},
|
|
132990
132688
|
"default": "''",
|
|
132991
|
-
"description": "The
|
|
132992
|
-
"fieldName": "
|
|
132689
|
+
"description": "The href value you want to link to.",
|
|
132690
|
+
"fieldName": "href",
|
|
132993
132691
|
"inheritedFrom": {
|
|
132994
|
-
"name": "
|
|
132995
|
-
"module": "
|
|
132692
|
+
"name": "SbbLinkBaseElement",
|
|
132693
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132996
132694
|
}
|
|
132997
132695
|
},
|
|
132998
132696
|
{
|
|
132999
|
-
"name": "
|
|
132697
|
+
"name": "target",
|
|
132698
|
+
"type": {
|
|
132699
|
+
"text": "LinkTargetType | string"
|
|
132700
|
+
},
|
|
132701
|
+
"default": "''",
|
|
132702
|
+
"description": "Where to display the linked URL.",
|
|
132703
|
+
"fieldName": "target",
|
|
132704
|
+
"inheritedFrom": {
|
|
132705
|
+
"name": "SbbLinkBaseElement",
|
|
132706
|
+
"module": "core/base-elements/link-base-element.js"
|
|
132707
|
+
}
|
|
132708
|
+
},
|
|
132709
|
+
{
|
|
132710
|
+
"name": "rel",
|
|
133000
132711
|
"type": {
|
|
133001
132712
|
"text": "string"
|
|
133002
132713
|
},
|
|
133003
132714
|
"default": "''",
|
|
133004
|
-
"description": "
|
|
133005
|
-
"fieldName": "
|
|
132715
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
132716
|
+
"fieldName": "rel",
|
|
133006
132717
|
"inheritedFrom": {
|
|
133007
|
-
"name": "
|
|
133008
|
-
"module": "core/base-elements/
|
|
132718
|
+
"name": "SbbLinkBaseElement",
|
|
132719
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133009
132720
|
}
|
|
133010
132721
|
},
|
|
133011
132722
|
{
|
|
133012
|
-
"name": "
|
|
133013
|
-
"description": "The type attribute to use for the button.",
|
|
133014
|
-
"default": "'button'",
|
|
132723
|
+
"name": "download",
|
|
133015
132724
|
"type": {
|
|
133016
|
-
"text": "
|
|
132725
|
+
"text": "boolean"
|
|
133017
132726
|
},
|
|
133018
|
-
"
|
|
132727
|
+
"default": "false",
|
|
132728
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
132729
|
+
"fieldName": "download",
|
|
133019
132730
|
"inheritedFrom": {
|
|
133020
|
-
"name": "
|
|
133021
|
-
"module": "core/base-elements/
|
|
132731
|
+
"name": "SbbLinkBaseElement",
|
|
132732
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133022
132733
|
}
|
|
133023
132734
|
},
|
|
133024
132735
|
{
|
|
133025
|
-
"name": "
|
|
133026
|
-
"description": "The `<form>` element to associate the button with.",
|
|
132736
|
+
"name": "accessibility-label",
|
|
133027
132737
|
"type": {
|
|
133028
|
-
"text": "
|
|
132738
|
+
"text": "string"
|
|
133029
132739
|
},
|
|
133030
|
-
"
|
|
132740
|
+
"default": "''",
|
|
132741
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
132742
|
+
"fieldName": "accessibilityLabel",
|
|
133031
132743
|
"inheritedFrom": {
|
|
133032
|
-
"name": "
|
|
133033
|
-
"module": "core/base-elements/
|
|
132744
|
+
"name": "SbbLinkBaseElement",
|
|
132745
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133034
132746
|
}
|
|
133035
132747
|
},
|
|
133036
132748
|
{
|
|
133037
|
-
"name": "
|
|
133038
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
132749
|
+
"name": "accessibility-current",
|
|
133039
132750
|
"type": {
|
|
133040
132751
|
"text": "string"
|
|
133041
132752
|
},
|
|
133042
|
-
"
|
|
132753
|
+
"default": "''",
|
|
132754
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
132755
|
+
"fieldName": "accessibilityCurrent",
|
|
133043
132756
|
"inheritedFrom": {
|
|
133044
|
-
"name": "
|
|
133045
|
-
"module": "core/
|
|
132757
|
+
"name": "SbbLinkBaseElement",
|
|
132758
|
+
"module": "core/base-elements/link-base-element.js"
|
|
133046
132759
|
}
|
|
133047
132760
|
}
|
|
133048
132761
|
]
|
|
@@ -133051,22 +132764,22 @@
|
|
|
133051
132764
|
"exports": [
|
|
133052
132765
|
{
|
|
133053
132766
|
"kind": "js",
|
|
133054
|
-
"name": "
|
|
132767
|
+
"name": "SbbMenuLinkElement",
|
|
133055
132768
|
"declaration": {
|
|
133056
|
-
"name": "
|
|
133057
|
-
"module": "menu/menu-
|
|
132769
|
+
"name": "SbbMenuLinkElement",
|
|
132770
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
133058
132771
|
}
|
|
133059
132772
|
}
|
|
133060
132773
|
]
|
|
133061
132774
|
},
|
|
133062
132775
|
{
|
|
133063
132776
|
"kind": "javascript-module",
|
|
133064
|
-
"path": "menu/menu-
|
|
132777
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
133065
132778
|
"declarations": [
|
|
133066
132779
|
{
|
|
133067
132780
|
"kind": "class",
|
|
133068
|
-
"description": "It displays a
|
|
133069
|
-
"name": "
|
|
132781
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
132782
|
+
"name": "SbbMenuButtonElement",
|
|
133070
132783
|
"cssProperties": [
|
|
133071
132784
|
{
|
|
133072
132785
|
"description": "Can be used to modify horizontal padding.",
|
|
@@ -133076,346 +132789,674 @@
|
|
|
133076
132789
|
],
|
|
133077
132790
|
"slots": [
|
|
133078
132791
|
{
|
|
133079
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-
|
|
132792
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
133080
132793
|
"name": ""
|
|
133081
132794
|
},
|
|
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": [
|
|
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
|
+
},
|
|
133088
133125
|
{
|
|
133089
133126
|
"kind": "field",
|
|
133090
|
-
"name": "
|
|
133127
|
+
"name": "name",
|
|
133128
|
+
"privacy": "public",
|
|
133129
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
133091
133130
|
"type": {
|
|
133092
133131
|
"text": "string"
|
|
133093
133132
|
},
|
|
133133
|
+
"attribute": "name",
|
|
133134
|
+
"inheritedFrom": {
|
|
133135
|
+
"name": "SbbFormAssociatedMixin",
|
|
133136
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133137
|
+
}
|
|
133138
|
+
},
|
|
133139
|
+
{
|
|
133140
|
+
"kind": "field",
|
|
133141
|
+
"name": "validity",
|
|
133142
|
+
"type": {
|
|
133143
|
+
"text": "ValidityState"
|
|
133144
|
+
},
|
|
133094
133145
|
"privacy": "public",
|
|
133095
|
-
"
|
|
133146
|
+
"description": "Returns the ValidityState object for this element.",
|
|
133096
133147
|
"readonly": true,
|
|
133097
133148
|
"inheritedFrom": {
|
|
133098
|
-
"name": "
|
|
133099
|
-
"module": "core/
|
|
133100
|
-
}
|
|
133101
|
-
"default": "'sbb-menu-link'"
|
|
133149
|
+
"name": "SbbFormAssociatedMixin",
|
|
133150
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133151
|
+
}
|
|
133102
133152
|
},
|
|
133103
133153
|
{
|
|
133104
133154
|
"kind": "field",
|
|
133105
|
-
"name": "
|
|
133155
|
+
"name": "validationMessage",
|
|
133106
133156
|
"type": {
|
|
133107
133157
|
"text": "string"
|
|
133108
133158
|
},
|
|
133109
|
-
"privacy": "
|
|
133159
|
+
"privacy": "public",
|
|
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.",
|
|
133110
133161
|
"readonly": true,
|
|
133111
|
-
"default": "'menuitem'",
|
|
133112
133162
|
"inheritedFrom": {
|
|
133113
|
-
"name": "
|
|
133114
|
-
"module": "core/
|
|
133163
|
+
"name": "SbbFormAssociatedMixin",
|
|
133164
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133115
133165
|
}
|
|
133116
133166
|
},
|
|
133117
133167
|
{
|
|
133118
133168
|
"kind": "field",
|
|
133119
|
-
"name": "
|
|
133169
|
+
"name": "willValidate",
|
|
133120
133170
|
"type": {
|
|
133121
133171
|
"text": "boolean"
|
|
133122
133172
|
},
|
|
133123
133173
|
"privacy": "public",
|
|
133124
|
-
"
|
|
133125
|
-
"
|
|
133126
|
-
"attribute": "disabled-interactive",
|
|
133127
|
-
"reflects": true,
|
|
133174
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
133175
|
+
"readonly": true,
|
|
133128
133176
|
"inheritedFrom": {
|
|
133129
|
-
"name": "
|
|
133130
|
-
"module": "core/mixins/
|
|
133177
|
+
"name": "SbbFormAssociatedMixin",
|
|
133178
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133131
133179
|
}
|
|
133132
133180
|
},
|
|
133133
133181
|
{
|
|
133134
133182
|
"kind": "field",
|
|
133135
|
-
"name": "
|
|
133183
|
+
"name": "_validityStates",
|
|
133184
|
+
"privacy": "private",
|
|
133185
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
133186
|
+
"inheritedFrom": {
|
|
133187
|
+
"name": "SbbFormAssociatedMixin",
|
|
133188
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133189
|
+
}
|
|
133190
|
+
},
|
|
133191
|
+
{
|
|
133192
|
+
"kind": "field",
|
|
133193
|
+
"name": "formDisabled",
|
|
133136
133194
|
"type": {
|
|
133137
|
-
"text": "
|
|
133195
|
+
"text": "boolean"
|
|
133138
133196
|
},
|
|
133139
|
-
"privacy": "
|
|
133140
|
-
"
|
|
133141
|
-
"
|
|
133197
|
+
"privacy": "protected",
|
|
133198
|
+
"default": "false",
|
|
133199
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
133142
133200
|
"inheritedFrom": {
|
|
133143
|
-
"name": "
|
|
133144
|
-
"module": "
|
|
133201
|
+
"name": "SbbFormAssociatedMixin",
|
|
133202
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133145
133203
|
}
|
|
133146
133204
|
},
|
|
133147
133205
|
{
|
|
133148
133206
|
"kind": "method",
|
|
133149
|
-
"name": "
|
|
133150
|
-
"privacy": "
|
|
133207
|
+
"name": "checkValidity",
|
|
133208
|
+
"privacy": "public",
|
|
133151
133209
|
"return": {
|
|
133152
133210
|
"type": {
|
|
133153
|
-
"text": "
|
|
133211
|
+
"text": "boolean"
|
|
133154
133212
|
}
|
|
133155
133213
|
},
|
|
133156
|
-
"description": "
|
|
133214
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
133157
133215
|
"inheritedFrom": {
|
|
133158
|
-
"name": "
|
|
133159
|
-
"module": "core/
|
|
133216
|
+
"name": "SbbFormAssociatedMixin",
|
|
133217
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133160
133218
|
}
|
|
133161
133219
|
},
|
|
133162
133220
|
{
|
|
133163
|
-
"kind": "
|
|
133164
|
-
"name": "
|
|
133165
|
-
"type": {
|
|
133166
|
-
"text": "SbbElementType[]"
|
|
133167
|
-
},
|
|
133221
|
+
"kind": "method",
|
|
133222
|
+
"name": "reportValidity",
|
|
133168
133223
|
"privacy": "public",
|
|
133169
|
-
"
|
|
133170
|
-
|
|
133171
|
-
|
|
133172
|
-
|
|
133173
|
-
},
|
|
133174
|
-
"default": "[SbbIconElement]"
|
|
133175
|
-
},
|
|
133176
|
-
{
|
|
133177
|
-
"kind": "field",
|
|
133178
|
-
"name": "iconName",
|
|
133179
|
-
"type": {
|
|
133180
|
-
"text": "string"
|
|
133224
|
+
"return": {
|
|
133225
|
+
"type": {
|
|
133226
|
+
"text": "boolean"
|
|
133227
|
+
}
|
|
133181
133228
|
},
|
|
133182
|
-
"
|
|
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",
|
|
133229
|
+
"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.",
|
|
133186
133230
|
"inheritedFrom": {
|
|
133187
|
-
"name": "
|
|
133188
|
-
"module": "
|
|
133231
|
+
"name": "SbbFormAssociatedMixin",
|
|
133232
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133189
133233
|
}
|
|
133190
133234
|
},
|
|
133191
133235
|
{
|
|
133192
133236
|
"kind": "method",
|
|
133193
|
-
"name": "
|
|
133194
|
-
"privacy": "
|
|
133237
|
+
"name": "setCustomValidity",
|
|
133238
|
+
"privacy": "public",
|
|
133195
133239
|
"return": {
|
|
133196
133240
|
"type": {
|
|
133197
|
-
"text": "
|
|
133241
|
+
"text": "void"
|
|
133198
133242
|
}
|
|
133199
133243
|
},
|
|
133200
133244
|
"parameters": [
|
|
133201
133245
|
{
|
|
133202
|
-
"name": "
|
|
133203
|
-
"optional": true,
|
|
133246
|
+
"name": "message",
|
|
133204
133247
|
"type": {
|
|
133205
133248
|
"text": "string"
|
|
133206
133249
|
}
|
|
133207
133250
|
}
|
|
133208
133251
|
],
|
|
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.",
|
|
133209
133253
|
"inheritedFrom": {
|
|
133210
|
-
"name": "
|
|
133211
|
-
"module": "
|
|
133254
|
+
"name": "SbbFormAssociatedMixin",
|
|
133255
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133212
133256
|
}
|
|
133213
133257
|
},
|
|
133214
133258
|
{
|
|
133215
133259
|
"kind": "method",
|
|
133216
|
-
"name": "
|
|
133217
|
-
"privacy": "
|
|
133260
|
+
"name": "_hasDisabledAncestor",
|
|
133261
|
+
"privacy": "private",
|
|
133218
133262
|
"return": {
|
|
133219
133263
|
"type": {
|
|
133220
|
-
"text": "
|
|
133264
|
+
"text": "boolean"
|
|
133221
133265
|
}
|
|
133222
133266
|
},
|
|
133223
133267
|
"inheritedFrom": {
|
|
133224
|
-
"name": "
|
|
133225
|
-
"module": "
|
|
133268
|
+
"name": "SbbFormAssociatedMixin",
|
|
133269
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133226
133270
|
}
|
|
133227
133271
|
},
|
|
133228
133272
|
{
|
|
133229
133273
|
"kind": "method",
|
|
133230
|
-
"name": "
|
|
133231
|
-
"privacy": "
|
|
133274
|
+
"name": "updateFormValue",
|
|
133275
|
+
"privacy": "protected",
|
|
133232
133276
|
"return": {
|
|
133233
133277
|
"type": {
|
|
133234
|
-
"text": "
|
|
133278
|
+
"text": "void"
|
|
133235
133279
|
}
|
|
133236
133280
|
},
|
|
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",
|
|
133237
133282
|
"inheritedFrom": {
|
|
133238
|
-
"name": "
|
|
133239
|
-
"module": "
|
|
133240
|
-
}
|
|
133241
|
-
},
|
|
133242
|
-
{
|
|
133243
|
-
"kind": "field",
|
|
133244
|
-
"name": "disabled",
|
|
133245
|
-
"privacy": "public",
|
|
133246
|
-
"description": "Whether the component is disabled.",
|
|
133247
|
-
"default": "false",
|
|
133248
|
-
"type": {
|
|
133249
|
-
"text": "boolean"
|
|
133250
|
-
},
|
|
133251
|
-
"attribute": "disabled",
|
|
133252
|
-
"reflects": true,
|
|
133253
|
-
"inheritedFrom": {
|
|
133254
|
-
"name": "SbbDisabledMixin",
|
|
133255
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
133283
|
+
"name": "SbbFormAssociatedMixin",
|
|
133284
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133256
133285
|
}
|
|
133257
133286
|
},
|
|
133258
133287
|
{
|
|
133259
|
-
"kind": "
|
|
133260
|
-
"name": "
|
|
133261
|
-
"privacy": "
|
|
133262
|
-
"
|
|
133263
|
-
"
|
|
133288
|
+
"kind": "method",
|
|
133289
|
+
"name": "formState",
|
|
133290
|
+
"privacy": "protected",
|
|
133291
|
+
"return": {
|
|
133292
|
+
"type": {
|
|
133293
|
+
"text": "FormRestoreState"
|
|
133294
|
+
}
|
|
133264
133295
|
},
|
|
133265
|
-
"default": "false",
|
|
133266
133296
|
"inheritedFrom": {
|
|
133267
|
-
"name": "
|
|
133268
|
-
"module": "core/mixins/
|
|
133297
|
+
"name": "SbbFormAssociatedMixin",
|
|
133298
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133269
133299
|
}
|
|
133270
133300
|
},
|
|
133271
133301
|
{
|
|
133272
133302
|
"kind": "method",
|
|
133273
|
-
"name": "
|
|
133303
|
+
"name": "setValidityFlag",
|
|
133274
133304
|
"privacy": "protected",
|
|
133275
133305
|
"return": {
|
|
133276
133306
|
"type": {
|
|
133277
|
-
"text": "
|
|
133307
|
+
"text": "void"
|
|
133278
133308
|
}
|
|
133279
133309
|
},
|
|
133280
|
-
"
|
|
133310
|
+
"parameters": [
|
|
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).",
|
|
133281
133332
|
"inheritedFrom": {
|
|
133282
|
-
"name": "
|
|
133283
|
-
"module": "core/mixins/
|
|
133333
|
+
"name": "SbbFormAssociatedMixin",
|
|
133334
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133284
133335
|
}
|
|
133285
133336
|
},
|
|
133286
133337
|
{
|
|
133287
|
-
"kind": "
|
|
133288
|
-
"name": "
|
|
133289
|
-
"
|
|
133290
|
-
|
|
133338
|
+
"kind": "method",
|
|
133339
|
+
"name": "removeValidityFlag",
|
|
133340
|
+
"privacy": "protected",
|
|
133341
|
+
"return": {
|
|
133342
|
+
"type": {
|
|
133343
|
+
"text": "void"
|
|
133344
|
+
}
|
|
133291
133345
|
},
|
|
133292
|
-
"
|
|
133293
|
-
|
|
133294
|
-
|
|
133295
|
-
|
|
133296
|
-
|
|
133346
|
+
"parameters": [
|
|
133347
|
+
{
|
|
133348
|
+
"name": "flag",
|
|
133349
|
+
"type": {
|
|
133350
|
+
"text": "T"
|
|
133351
|
+
}
|
|
133352
|
+
}
|
|
133353
|
+
],
|
|
133354
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
133297
133355
|
"inheritedFrom": {
|
|
133298
|
-
"name": "
|
|
133299
|
-
"module": "core/
|
|
133356
|
+
"name": "SbbFormAssociatedMixin",
|
|
133357
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133300
133358
|
}
|
|
133301
133359
|
},
|
|
133302
133360
|
{
|
|
133303
|
-
"kind": "
|
|
133304
|
-
"name": "
|
|
133305
|
-
"
|
|
133306
|
-
|
|
133361
|
+
"kind": "method",
|
|
133362
|
+
"name": "validate",
|
|
133363
|
+
"privacy": "protected",
|
|
133364
|
+
"return": {
|
|
133365
|
+
"type": {
|
|
133366
|
+
"text": "void"
|
|
133367
|
+
}
|
|
133307
133368
|
},
|
|
133308
|
-
"
|
|
133309
|
-
"default": "''",
|
|
133310
|
-
"description": "Where to display the linked URL.",
|
|
133311
|
-
"attribute": "target",
|
|
133312
|
-
"reflects": true,
|
|
133369
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
133313
133370
|
"inheritedFrom": {
|
|
133314
|
-
"name": "
|
|
133315
|
-
"module": "core/
|
|
133371
|
+
"name": "SbbFormAssociatedMixin",
|
|
133372
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133316
133373
|
}
|
|
133317
133374
|
},
|
|
133318
133375
|
{
|
|
133319
|
-
"kind": "
|
|
133320
|
-
"name": "
|
|
133321
|
-
"
|
|
133322
|
-
|
|
133376
|
+
"kind": "method",
|
|
133377
|
+
"name": "shouldValidate",
|
|
133378
|
+
"privacy": "protected",
|
|
133379
|
+
"return": {
|
|
133380
|
+
"type": {
|
|
133381
|
+
"text": "boolean"
|
|
133382
|
+
}
|
|
133323
133383
|
},
|
|
133324
|
-
"
|
|
133325
|
-
|
|
133326
|
-
|
|
133327
|
-
|
|
133328
|
-
|
|
133384
|
+
"parameters": [
|
|
133385
|
+
{
|
|
133386
|
+
"name": "name",
|
|
133387
|
+
"type": {
|
|
133388
|
+
"text": "PropertyKey | undefined"
|
|
133389
|
+
}
|
|
133390
|
+
}
|
|
133391
|
+
],
|
|
133392
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
133329
133393
|
"inheritedFrom": {
|
|
133330
|
-
"name": "
|
|
133331
|
-
"module": "core/
|
|
133394
|
+
"name": "SbbFormAssociatedMixin",
|
|
133395
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133332
133396
|
}
|
|
133333
133397
|
},
|
|
133334
133398
|
{
|
|
133335
|
-
"kind": "
|
|
133336
|
-
"name": "
|
|
133337
|
-
"
|
|
133338
|
-
|
|
133399
|
+
"kind": "method",
|
|
133400
|
+
"name": "_setInternalValidity",
|
|
133401
|
+
"privacy": "private",
|
|
133402
|
+
"return": {
|
|
133403
|
+
"type": {
|
|
133404
|
+
"text": "void"
|
|
133405
|
+
}
|
|
133339
133406
|
},
|
|
133340
|
-
"privacy": "public",
|
|
133341
|
-
"default": "false",
|
|
133342
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
133343
|
-
"attribute": "download",
|
|
133344
|
-
"reflects": true,
|
|
133345
133407
|
"inheritedFrom": {
|
|
133346
|
-
"name": "
|
|
133347
|
-
"module": "core/
|
|
133408
|
+
"name": "SbbFormAssociatedMixin",
|
|
133409
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133348
133410
|
}
|
|
133349
133411
|
},
|
|
133350
133412
|
{
|
|
133351
133413
|
"kind": "field",
|
|
133352
|
-
"name": "
|
|
133353
|
-
"
|
|
133354
|
-
|
|
133355
|
-
|
|
133356
|
-
|
|
133357
|
-
|
|
133358
|
-
|
|
133359
|
-
|
|
133414
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
133415
|
+
"privacy": "private",
|
|
133416
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
133417
|
+
"parameters": [
|
|
133418
|
+
{
|
|
133419
|
+
"description": "The origin event.",
|
|
133420
|
+
"name": "event"
|
|
133421
|
+
}
|
|
133422
|
+
],
|
|
133360
133423
|
"inheritedFrom": {
|
|
133361
|
-
"name": "
|
|
133362
|
-
"module": "core/base-elements/
|
|
133424
|
+
"name": "SbbButtonLikeBaseElement",
|
|
133425
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133363
133426
|
}
|
|
133364
133427
|
},
|
|
133365
133428
|
{
|
|
133366
133429
|
"kind": "field",
|
|
133367
|
-
"name": "
|
|
133368
|
-
"
|
|
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",
|
|
133430
|
+
"name": "_removeActiveMarker",
|
|
133431
|
+
"privacy": "private",
|
|
133375
133432
|
"inheritedFrom": {
|
|
133376
|
-
"name": "
|
|
133377
|
-
"module": "core/base-elements/
|
|
133433
|
+
"name": "SbbButtonLikeBaseElement",
|
|
133434
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133378
133435
|
}
|
|
133379
133436
|
},
|
|
133380
133437
|
{
|
|
133381
133438
|
"kind": "field",
|
|
133382
|
-
"name": "
|
|
133383
|
-
"privacy": "
|
|
133384
|
-
"
|
|
133439
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
133440
|
+
"privacy": "private",
|
|
133441
|
+
"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.",
|
|
133442
|
+
"parameters": [
|
|
133443
|
+
{
|
|
133444
|
+
"description": "The origin event.",
|
|
133445
|
+
"name": "event"
|
|
133446
|
+
}
|
|
133447
|
+
],
|
|
133385
133448
|
"inheritedFrom": {
|
|
133386
|
-
"name": "
|
|
133387
|
-
"module": "core/base-elements/
|
|
133449
|
+
"name": "SbbButtonLikeBaseElement",
|
|
133450
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133388
133451
|
}
|
|
133389
133452
|
},
|
|
133390
133453
|
{
|
|
133391
133454
|
"kind": "field",
|
|
133392
|
-
"name": "
|
|
133455
|
+
"name": "_dispatchClickEvent",
|
|
133393
133456
|
"privacy": "private",
|
|
133394
133457
|
"inheritedFrom": {
|
|
133395
|
-
"name": "
|
|
133396
|
-
"module": "core/base-elements/
|
|
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"
|
|
133458
|
+
"name": "SbbButtonLikeBaseElement",
|
|
133459
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133419
133460
|
}
|
|
133420
133461
|
},
|
|
133421
133462
|
{
|
|
@@ -133472,19 +133513,6 @@
|
|
|
133472
133513
|
"module": "core/base-elements/element.js"
|
|
133473
133514
|
}
|
|
133474
133515
|
},
|
|
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
|
-
},
|
|
133488
133516
|
{
|
|
133489
133517
|
"kind": "field",
|
|
133490
133518
|
"name": "_controllers",
|
|
@@ -133731,7 +133759,7 @@
|
|
|
133731
133759
|
],
|
|
133732
133760
|
"mixins": [
|
|
133733
133761
|
{
|
|
133734
|
-
"name": "
|
|
133762
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
133735
133763
|
"module": "core.js"
|
|
133736
133764
|
},
|
|
133737
133765
|
{
|
|
@@ -133740,10 +133768,10 @@
|
|
|
133740
133768
|
}
|
|
133741
133769
|
],
|
|
133742
133770
|
"superclass": {
|
|
133743
|
-
"name": "
|
|
133771
|
+
"name": "SbbButtonBaseElement",
|
|
133744
133772
|
"module": "core.js"
|
|
133745
133773
|
},
|
|
133746
|
-
"tagName": "sbb-menu-
|
|
133774
|
+
"tagName": "sbb-menu-button",
|
|
133747
133775
|
"customElement": true,
|
|
133748
133776
|
"attributes": [
|
|
133749
133777
|
{
|
|
@@ -133759,19 +133787,6 @@
|
|
|
133759
133787
|
"module": "core/mixins/disabled-mixin.js"
|
|
133760
133788
|
}
|
|
133761
133789
|
},
|
|
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
|
-
},
|
|
133775
133790
|
{
|
|
133776
133791
|
"name": "disabled",
|
|
133777
133792
|
"description": "Whether the component is disabled.",
|
|
@@ -133786,81 +133801,66 @@
|
|
|
133786
133801
|
}
|
|
133787
133802
|
},
|
|
133788
133803
|
{
|
|
133789
|
-
"name": "
|
|
133804
|
+
"name": "icon-name",
|
|
133790
133805
|
"type": {
|
|
133791
133806
|
"text": "string"
|
|
133792
133807
|
},
|
|
133793
133808
|
"default": "''",
|
|
133794
|
-
"description": "The
|
|
133795
|
-
"fieldName": "
|
|
133796
|
-
"inheritedFrom": {
|
|
133797
|
-
"name": "SbbLinkBaseElement",
|
|
133798
|
-
"module": "core/base-elements/link-base-element.js"
|
|
133799
|
-
}
|
|
133800
|
-
},
|
|
133801
|
-
{
|
|
133802
|
-
"name": "target",
|
|
133803
|
-
"type": {
|
|
133804
|
-
"text": "LinkTargetType | string"
|
|
133805
|
-
},
|
|
133806
|
-
"default": "''",
|
|
133807
|
-
"description": "Where to display the linked URL.",
|
|
133808
|
-
"fieldName": "target",
|
|
133809
|
+
"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.",
|
|
133810
|
+
"fieldName": "iconName",
|
|
133809
133811
|
"inheritedFrom": {
|
|
133810
|
-
"name": "
|
|
133811
|
-
"module": "
|
|
133812
|
+
"name": "SbbIconNameMixin",
|
|
133813
|
+
"module": "icon/icon-name-mixin.js"
|
|
133812
133814
|
}
|
|
133813
133815
|
},
|
|
133814
133816
|
{
|
|
133815
|
-
"name": "
|
|
133817
|
+
"name": "value",
|
|
133816
133818
|
"type": {
|
|
133817
133819
|
"text": "string"
|
|
133818
133820
|
},
|
|
133819
133821
|
"default": "''",
|
|
133820
|
-
"description": "
|
|
133821
|
-
"fieldName": "
|
|
133822
|
+
"description": "Value of the form element.",
|
|
133823
|
+
"fieldName": "value",
|
|
133822
133824
|
"inheritedFrom": {
|
|
133823
|
-
"name": "
|
|
133824
|
-
"module": "core/base-elements/
|
|
133825
|
+
"name": "SbbButtonBaseElement",
|
|
133826
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133825
133827
|
}
|
|
133826
133828
|
},
|
|
133827
133829
|
{
|
|
133828
|
-
"name": "
|
|
133830
|
+
"name": "type",
|
|
133831
|
+
"description": "The type attribute to use for the button.",
|
|
133832
|
+
"default": "'button'",
|
|
133829
133833
|
"type": {
|
|
133830
|
-
"text": "
|
|
133834
|
+
"text": "SbbButtonType"
|
|
133831
133835
|
},
|
|
133832
|
-
"
|
|
133833
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
133834
|
-
"fieldName": "download",
|
|
133836
|
+
"fieldName": "type",
|
|
133835
133837
|
"inheritedFrom": {
|
|
133836
|
-
"name": "
|
|
133837
|
-
"module": "core/base-elements/
|
|
133838
|
+
"name": "SbbButtonBaseElement",
|
|
133839
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133838
133840
|
}
|
|
133839
133841
|
},
|
|
133840
133842
|
{
|
|
133841
|
-
"name": "
|
|
133843
|
+
"name": "form",
|
|
133844
|
+
"description": "The `<form>` element to associate the button with.",
|
|
133842
133845
|
"type": {
|
|
133843
|
-
"text": "
|
|
133846
|
+
"text": "HTMLFormElement | null"
|
|
133844
133847
|
},
|
|
133845
|
-
"
|
|
133846
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
133847
|
-
"fieldName": "accessibilityLabel",
|
|
133848
|
+
"fieldName": "form",
|
|
133848
133849
|
"inheritedFrom": {
|
|
133849
|
-
"name": "
|
|
133850
|
-
"module": "core/base-elements/
|
|
133850
|
+
"name": "SbbButtonBaseElement",
|
|
133851
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133851
133852
|
}
|
|
133852
133853
|
},
|
|
133853
133854
|
{
|
|
133854
|
-
"name": "
|
|
133855
|
+
"name": "name",
|
|
133856
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
133855
133857
|
"type": {
|
|
133856
133858
|
"text": "string"
|
|
133857
133859
|
},
|
|
133858
|
-
"
|
|
133859
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
133860
|
-
"fieldName": "accessibilityCurrent",
|
|
133860
|
+
"fieldName": "name",
|
|
133861
133861
|
"inheritedFrom": {
|
|
133862
|
-
"name": "
|
|
133863
|
-
"module": "core/
|
|
133862
|
+
"name": "SbbFormAssociatedMixin",
|
|
133863
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133864
133864
|
}
|
|
133865
133865
|
}
|
|
133866
133866
|
]
|
|
@@ -133869,10 +133869,10 @@
|
|
|
133869
133869
|
"exports": [
|
|
133870
133870
|
{
|
|
133871
133871
|
"kind": "js",
|
|
133872
|
-
"name": "
|
|
133872
|
+
"name": "SbbMenuButtonElement",
|
|
133873
133873
|
"declaration": {
|
|
133874
|
-
"name": "
|
|
133875
|
-
"module": "menu/menu-
|
|
133874
|
+
"name": "SbbMenuButtonElement",
|
|
133875
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
133876
133876
|
}
|
|
133877
133877
|
}
|
|
133878
133878
|
]
|
|
@@ -165987,22 +165987,15 @@
|
|
|
165987
165987
|
},
|
|
165988
165988
|
{
|
|
165989
165989
|
"kind": "javascript-module",
|
|
165990
|
-
"path": "train/train-
|
|
165990
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
165991
165991
|
"declarations": [
|
|
165992
165992
|
{
|
|
165993
165993
|
"kind": "class",
|
|
165994
|
-
"description": "It displays a train
|
|
165995
|
-
"name": "
|
|
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
|
-
],
|
|
165994
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
165995
|
+
"name": "SbbTrainWagonElement",
|
|
166003
165996
|
"slots": [
|
|
166004
165997
|
{
|
|
166005
|
-
"description": "Use the unnamed slot to add
|
|
165998
|
+
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.",
|
|
166006
165999
|
"name": ""
|
|
166007
166000
|
}
|
|
166008
166001
|
],
|
|
@@ -166016,12 +166009,56 @@
|
|
|
166016
166009
|
"privacy": "public",
|
|
166017
166010
|
"static": true,
|
|
166018
166011
|
"readonly": true,
|
|
166019
|
-
"default": "'sbb-train-
|
|
166012
|
+
"default": "'sbb-train-wagon'",
|
|
166020
166013
|
"inheritedFrom": {
|
|
166021
166014
|
"name": "SbbElement",
|
|
166022
166015
|
"module": "core/base-elements/element.js"
|
|
166023
166016
|
}
|
|
166024
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, ]",
|
|
166027
|
+
"inheritedFrom": {
|
|
166028
|
+
"name": "SbbElement",
|
|
166029
|
+
"module": "core/base-elements/element.js"
|
|
166030
|
+
}
|
|
166031
|
+
},
|
|
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
|
+
},
|
|
166025
166062
|
{
|
|
166026
166063
|
"kind": "field",
|
|
166027
166064
|
"name": "listChildLocalNames",
|
|
@@ -166031,7 +166068,7 @@
|
|
|
166031
166068
|
"privacy": "protected",
|
|
166032
166069
|
"readonly": true,
|
|
166033
166070
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
166034
|
-
"default": "['sbb-
|
|
166071
|
+
"default": "['sbb-icon']",
|
|
166035
166072
|
"inheritedFrom": {
|
|
166036
166073
|
"name": "SbbNamedSlotListMixin",
|
|
166037
166074
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -166039,107 +166076,213 @@
|
|
|
166039
166076
|
},
|
|
166040
166077
|
{
|
|
166041
166078
|
"kind": "field",
|
|
166042
|
-
"name": "
|
|
166079
|
+
"name": "occupancy",
|
|
166043
166080
|
"type": {
|
|
166044
|
-
"text": "
|
|
166081
|
+
"text": "SbbOccupancy | null"
|
|
166045
166082
|
},
|
|
166046
166083
|
"privacy": "public",
|
|
166047
|
-
"default": "
|
|
166048
|
-
"description": "
|
|
166049
|
-
"attribute": "
|
|
166050
|
-
"
|
|
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
|
+
}
|
|
166051
166091
|
},
|
|
166052
166092
|
{
|
|
166053
166093
|
"kind": "field",
|
|
166054
|
-
"name": "
|
|
166094
|
+
"name": "sector",
|
|
166055
166095
|
"type": {
|
|
166056
|
-
"text": "
|
|
166096
|
+
"text": "string"
|
|
166057
166097
|
},
|
|
166058
166098
|
"privacy": "public",
|
|
166059
|
-
"default": "'
|
|
166060
|
-
"description": "
|
|
166061
|
-
"attribute": "
|
|
166062
|
-
"reflects": true
|
|
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
|
+
}
|
|
166063
166107
|
},
|
|
166064
166108
|
{
|
|
166065
166109
|
"kind": "field",
|
|
166066
|
-
"name": "
|
|
166110
|
+
"name": "blockedPassage",
|
|
166067
166111
|
"type": {
|
|
166068
|
-
"text": "
|
|
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",
|
|
166141
|
+
"type": {
|
|
166142
|
+
"text": "string"
|
|
166143
|
+
},
|
|
166144
|
+
"privacy": "public",
|
|
166145
|
+
"default": "''",
|
|
166146
|
+
"description": "Wagon number",
|
|
166147
|
+
"attribute": "label",
|
|
166148
|
+
"reflects": true,
|
|
166149
|
+
"inheritedFrom": {
|
|
166150
|
+
"name": "SbbTrainWagonMixin",
|
|
166151
|
+
"module": "train/train-wagon-common.js"
|
|
166152
|
+
}
|
|
166153
|
+
},
|
|
166154
|
+
{
|
|
166155
|
+
"kind": "field",
|
|
166156
|
+
"name": "additionalAccessibilityText",
|
|
166157
|
+
"type": {
|
|
166158
|
+
"text": "string"
|
|
166159
|
+
},
|
|
166160
|
+
"privacy": "public",
|
|
166161
|
+
"default": "''",
|
|
166162
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
166163
|
+
"attribute": "additional-accessibility-text",
|
|
166164
|
+
"inheritedFrom": {
|
|
166165
|
+
"name": "SbbTrainWagonMixin",
|
|
166166
|
+
"module": "train/train-wagon-common.js"
|
|
166167
|
+
}
|
|
166168
|
+
},
|
|
166169
|
+
{
|
|
166170
|
+
"kind": "field",
|
|
166171
|
+
"name": "_view",
|
|
166172
|
+
"type": {
|
|
166173
|
+
"text": "SbbTrainFormationElement['view'] | null"
|
|
166069
166174
|
},
|
|
166070
166175
|
"privacy": "private",
|
|
166071
|
-
"default": "
|
|
166176
|
+
"default": "null",
|
|
166177
|
+
"inheritedFrom": {
|
|
166178
|
+
"name": "SbbTrainWagonMixin",
|
|
166179
|
+
"module": "train/train-wagon-common.js"
|
|
166180
|
+
}
|
|
166072
166181
|
},
|
|
166073
166182
|
{
|
|
166074
166183
|
"kind": "field",
|
|
166075
166184
|
"name": "_language",
|
|
166076
166185
|
"privacy": "private",
|
|
166077
|
-
"default": "new SbbLanguageController(this)"
|
|
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
|
+
}
|
|
166078
166204
|
},
|
|
166079
166205
|
{
|
|
166080
166206
|
"kind": "method",
|
|
166081
|
-
"name": "
|
|
166207
|
+
"name": "_sectorChanged",
|
|
166082
166208
|
"privacy": "private",
|
|
166083
166209
|
"return": {
|
|
166084
166210
|
"type": {
|
|
166085
166211
|
"text": "void"
|
|
166086
166212
|
}
|
|
166087
166213
|
},
|
|
166088
|
-
"
|
|
166089
|
-
|
|
166090
|
-
|
|
166091
|
-
|
|
166092
|
-
|
|
166093
|
-
|
|
166094
|
-
|
|
166214
|
+
"inheritedFrom": {
|
|
166215
|
+
"name": "SbbTrainWagonMixin",
|
|
166216
|
+
"module": "train/train-wagon-common.js"
|
|
166217
|
+
}
|
|
166218
|
+
},
|
|
166219
|
+
{
|
|
166220
|
+
"kind": "method",
|
|
166221
|
+
"name": "_wagonTypeLabel",
|
|
166222
|
+
"privacy": "private",
|
|
166223
|
+
"return": {
|
|
166224
|
+
"type": {
|
|
166225
|
+
"text": "string"
|
|
166095
166226
|
}
|
|
166096
|
-
|
|
166227
|
+
},
|
|
166228
|
+
"inheritedFrom": {
|
|
166229
|
+
"name": "SbbTrainWagonMixin",
|
|
166230
|
+
"module": "train/train-wagon-common.js"
|
|
166231
|
+
}
|
|
166097
166232
|
},
|
|
166098
166233
|
{
|
|
166099
166234
|
"kind": "method",
|
|
166100
|
-
"name": "
|
|
166235
|
+
"name": "_wagonShape",
|
|
166101
166236
|
"privacy": "private",
|
|
166102
166237
|
"return": {
|
|
166103
166238
|
"type": {
|
|
166104
|
-
"text": "
|
|
166239
|
+
"text": "string"
|
|
166105
166240
|
}
|
|
166106
166241
|
},
|
|
166107
|
-
"
|
|
166108
|
-
|
|
166109
|
-
|
|
166110
|
-
|
|
166111
|
-
|
|
166112
|
-
|
|
166113
|
-
|
|
166242
|
+
"inheritedFrom": {
|
|
166243
|
+
"name": "SbbTrainWagonMixin",
|
|
166244
|
+
"module": "train/train-wagon-common.js"
|
|
166245
|
+
}
|
|
166246
|
+
},
|
|
166247
|
+
{
|
|
166248
|
+
"kind": "method",
|
|
166249
|
+
"name": "_classLabel",
|
|
166250
|
+
"privacy": "private",
|
|
166251
|
+
"return": {
|
|
166252
|
+
"type": {
|
|
166253
|
+
"text": "string"
|
|
166114
166254
|
}
|
|
166115
|
-
|
|
166255
|
+
},
|
|
166256
|
+
"inheritedFrom": {
|
|
166257
|
+
"name": "SbbTrainWagonMixin",
|
|
166258
|
+
"module": "train/train-wagon-common.js"
|
|
166259
|
+
}
|
|
166116
166260
|
},
|
|
166117
166261
|
{
|
|
166118
|
-
"kind": "
|
|
166119
|
-
"name": "
|
|
166120
|
-
"
|
|
166121
|
-
|
|
166262
|
+
"kind": "method",
|
|
166263
|
+
"name": "renderTemplate",
|
|
166264
|
+
"privacy": "protected",
|
|
166265
|
+
"return": {
|
|
166266
|
+
"type": {
|
|
166267
|
+
"text": "TemplateResult"
|
|
166268
|
+
}
|
|
166122
166269
|
},
|
|
166123
|
-
"privacy": "public",
|
|
166124
|
-
"static": true,
|
|
166125
|
-
"default": "[]",
|
|
166126
166270
|
"inheritedFrom": {
|
|
166127
|
-
"name": "
|
|
166128
|
-
"module": "
|
|
166271
|
+
"name": "SbbTrainWagonMixin",
|
|
166272
|
+
"module": "train/train-wagon-common.js"
|
|
166129
166273
|
}
|
|
166130
166274
|
},
|
|
166131
166275
|
{
|
|
166132
166276
|
"kind": "field",
|
|
166133
|
-
"name": "
|
|
166277
|
+
"name": "orientation",
|
|
166134
166278
|
"type": {
|
|
166135
|
-
"text": "
|
|
166279
|
+
"text": "SbbOrientation | null"
|
|
166136
166280
|
},
|
|
166137
|
-
"privacy": "
|
|
166138
|
-
"
|
|
166139
|
-
"default": "[screenReaderOnlyStyles]",
|
|
166281
|
+
"privacy": "protected",
|
|
166282
|
+
"default": "null",
|
|
166140
166283
|
"inheritedFrom": {
|
|
166141
|
-
"name": "
|
|
166142
|
-
"module": "
|
|
166284
|
+
"name": "SbbTrainFormationOrientationMixin",
|
|
166285
|
+
"module": "train/train-formation-orientation-mixin.js"
|
|
166143
166286
|
}
|
|
166144
166287
|
},
|
|
166145
166288
|
{
|
|
@@ -166505,349 +166648,279 @@
|
|
|
166505
166648
|
}
|
|
166506
166649
|
}
|
|
166507
166650
|
],
|
|
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
|
-
],
|
|
166528
166651
|
"mixins": [
|
|
166529
166652
|
{
|
|
166530
|
-
"name": "
|
|
166531
|
-
"module": "
|
|
166653
|
+
"name": "SbbTrainWagonMixin",
|
|
166654
|
+
"module": "train/train-wagon-common.js"
|
|
166532
166655
|
}
|
|
166533
166656
|
],
|
|
166534
166657
|
"superclass": {
|
|
166535
166658
|
"name": "SbbElement",
|
|
166536
166659
|
"module": "core.js"
|
|
166537
166660
|
},
|
|
166538
|
-
"tagName": "sbb-train-
|
|
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": [
|
|
166562
|
-
{
|
|
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
|
-
},
|
|
166661
|
+
"tagName": "sbb-train-wagon",
|
|
166662
|
+
"customElement": true,
|
|
166663
|
+
"attributes": [
|
|
166611
166664
|
{
|
|
166612
|
-
"
|
|
166613
|
-
"name": "wagonType",
|
|
166665
|
+
"name": "wagon-type",
|
|
166614
166666
|
"type": {
|
|
166615
166667
|
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
166616
166668
|
},
|
|
166617
|
-
"privacy": "public",
|
|
166618
166669
|
"default": "'wagon'",
|
|
166619
166670
|
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
166620
|
-
"
|
|
166621
|
-
"reflects": true,
|
|
166671
|
+
"fieldName": "wagonType",
|
|
166622
166672
|
"inheritedFrom": {
|
|
166623
166673
|
"name": "SbbTrainWagonMixin",
|
|
166624
166674
|
"module": "train/train-wagon-common.js"
|
|
166625
166675
|
}
|
|
166626
166676
|
},
|
|
166627
166677
|
{
|
|
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",
|
|
166644
166678
|
"name": "occupancy",
|
|
166645
166679
|
"type": {
|
|
166646
166680
|
"text": "SbbOccupancy | null"
|
|
166647
166681
|
},
|
|
166648
|
-
"privacy": "public",
|
|
166649
166682
|
"default": "null",
|
|
166650
166683
|
"description": "Occupancy of a wagon.",
|
|
166651
|
-
"
|
|
166684
|
+
"fieldName": "occupancy",
|
|
166652
166685
|
"inheritedFrom": {
|
|
166653
166686
|
"name": "SbbTrainWagonMixin",
|
|
166654
166687
|
"module": "train/train-wagon-common.js"
|
|
166655
166688
|
}
|
|
166656
166689
|
},
|
|
166657
166690
|
{
|
|
166658
|
-
"kind": "field",
|
|
166659
166691
|
"name": "sector",
|
|
166660
166692
|
"type": {
|
|
166661
166693
|
"text": "string"
|
|
166662
166694
|
},
|
|
166663
|
-
"privacy": "public",
|
|
166664
166695
|
"default": "''",
|
|
166665
166696
|
"description": "Sector in which the wagon stops.",
|
|
166666
|
-
"
|
|
166667
|
-
"reflects": true,
|
|
166697
|
+
"fieldName": "sector",
|
|
166668
166698
|
"inheritedFrom": {
|
|
166669
166699
|
"name": "SbbTrainWagonMixin",
|
|
166670
166700
|
"module": "train/train-wagon-common.js"
|
|
166671
166701
|
}
|
|
166672
166702
|
},
|
|
166673
166703
|
{
|
|
166674
|
-
"
|
|
166675
|
-
"name": "blockedPassage",
|
|
166704
|
+
"name": "blocked-passage",
|
|
166676
166705
|
"type": {
|
|
166677
166706
|
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
166678
166707
|
},
|
|
166679
|
-
"privacy": "public",
|
|
166680
166708
|
"default": "'none'",
|
|
166681
166709
|
"description": "Accessibility text for blocked passages of the wagon.",
|
|
166682
|
-
"
|
|
166710
|
+
"fieldName": "blockedPassage",
|
|
166683
166711
|
"inheritedFrom": {
|
|
166684
166712
|
"name": "SbbTrainWagonMixin",
|
|
166685
166713
|
"module": "train/train-wagon-common.js"
|
|
166686
166714
|
}
|
|
166687
166715
|
},
|
|
166688
166716
|
{
|
|
166689
|
-
"
|
|
166690
|
-
"name": "wagonClass",
|
|
166717
|
+
"name": "wagon-class",
|
|
166691
166718
|
"type": {
|
|
166692
166719
|
"text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
|
|
166693
166720
|
},
|
|
166694
|
-
"privacy": "public",
|
|
166695
166721
|
"default": "null",
|
|
166696
166722
|
"description": "Class label",
|
|
166697
|
-
"
|
|
166723
|
+
"fieldName": "wagonClass",
|
|
166698
166724
|
"inheritedFrom": {
|
|
166699
166725
|
"name": "SbbTrainWagonMixin",
|
|
166700
166726
|
"module": "train/train-wagon-common.js"
|
|
166701
166727
|
}
|
|
166702
166728
|
},
|
|
166703
166729
|
{
|
|
166704
|
-
"kind": "field",
|
|
166705
166730
|
"name": "label",
|
|
166706
166731
|
"type": {
|
|
166707
166732
|
"text": "string"
|
|
166708
166733
|
},
|
|
166709
|
-
"privacy": "public",
|
|
166710
166734
|
"default": "''",
|
|
166711
166735
|
"description": "Wagon number",
|
|
166712
|
-
"
|
|
166713
|
-
"reflects": true,
|
|
166736
|
+
"fieldName": "label",
|
|
166714
166737
|
"inheritedFrom": {
|
|
166715
166738
|
"name": "SbbTrainWagonMixin",
|
|
166716
166739
|
"module": "train/train-wagon-common.js"
|
|
166717
166740
|
}
|
|
166718
166741
|
},
|
|
166719
166742
|
{
|
|
166720
|
-
"
|
|
166721
|
-
"name": "additionalAccessibilityText",
|
|
166743
|
+
"name": "additional-accessibility-text",
|
|
166722
166744
|
"type": {
|
|
166723
166745
|
"text": "string"
|
|
166724
166746
|
},
|
|
166725
|
-
"privacy": "public",
|
|
166726
166747
|
"default": "''",
|
|
166727
166748
|
"description": "Additional accessibility text which will be appended to the end.",
|
|
166728
|
-
"
|
|
166749
|
+
"fieldName": "additionalAccessibilityText",
|
|
166729
166750
|
"inheritedFrom": {
|
|
166730
166751
|
"name": "SbbTrainWagonMixin",
|
|
166731
166752
|
"module": "train/train-wagon-common.js"
|
|
166732
166753
|
}
|
|
166733
|
-
}
|
|
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": [
|
|
166734
166791
|
{
|
|
166735
166792
|
"kind": "field",
|
|
166736
|
-
"name": "
|
|
166793
|
+
"name": "elementName",
|
|
166737
166794
|
"type": {
|
|
166738
|
-
"text": "
|
|
166795
|
+
"text": "string"
|
|
166739
166796
|
},
|
|
166740
|
-
"privacy": "
|
|
166741
|
-
"
|
|
166797
|
+
"privacy": "public",
|
|
166798
|
+
"static": true,
|
|
166799
|
+
"readonly": true,
|
|
166800
|
+
"default": "'sbb-train-formation'",
|
|
166742
166801
|
"inheritedFrom": {
|
|
166743
|
-
"name": "
|
|
166744
|
-
"module": "
|
|
166802
|
+
"name": "SbbElement",
|
|
166803
|
+
"module": "core/base-elements/element.js"
|
|
166745
166804
|
}
|
|
166746
166805
|
},
|
|
166747
166806
|
{
|
|
166748
166807
|
"kind": "field",
|
|
166749
|
-
"name": "
|
|
166750
|
-
"
|
|
166751
|
-
|
|
166808
|
+
"name": "listChildLocalNames",
|
|
166809
|
+
"type": {
|
|
166810
|
+
"text": "array"
|
|
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']",
|
|
166752
166816
|
"inheritedFrom": {
|
|
166753
|
-
"name": "
|
|
166754
|
-
"module": "
|
|
166817
|
+
"name": "SbbNamedSlotListMixin",
|
|
166818
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166755
166819
|
}
|
|
166756
166820
|
},
|
|
166757
166821
|
{
|
|
166758
166822
|
"kind": "field",
|
|
166759
|
-
"name": "
|
|
166823
|
+
"name": "view",
|
|
166760
166824
|
"type": {
|
|
166761
|
-
"text": "
|
|
166825
|
+
"text": "'side' | 'top'"
|
|
166762
166826
|
},
|
|
166763
|
-
"privacy": "
|
|
166764
|
-
"default": "
|
|
166765
|
-
"
|
|
166766
|
-
|
|
166767
|
-
|
|
166768
|
-
}
|
|
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
|
|
166769
166832
|
},
|
|
166770
166833
|
{
|
|
166771
|
-
"kind": "
|
|
166772
|
-
"name": "
|
|
166773
|
-
"
|
|
166774
|
-
|
|
166775
|
-
"type": {
|
|
166776
|
-
"text": "void"
|
|
166777
|
-
}
|
|
166834
|
+
"kind": "field",
|
|
166835
|
+
"name": "orientation",
|
|
166836
|
+
"type": {
|
|
166837
|
+
"text": "SbbOrientation"
|
|
166778
166838
|
},
|
|
166779
|
-
"
|
|
166780
|
-
|
|
166781
|
-
|
|
166782
|
-
|
|
166839
|
+
"privacy": "public",
|
|
166840
|
+
"default": "'horizontal'",
|
|
166841
|
+
"description": "Orientation, either horizontal or vertical.",
|
|
166842
|
+
"attribute": "orientation",
|
|
166843
|
+
"reflects": true
|
|
166783
166844
|
},
|
|
166784
166845
|
{
|
|
166785
|
-
"kind": "
|
|
166786
|
-
"name": "
|
|
166787
|
-
"
|
|
166788
|
-
|
|
166789
|
-
"type": {
|
|
166790
|
-
"text": "string"
|
|
166791
|
-
}
|
|
166846
|
+
"kind": "field",
|
|
166847
|
+
"name": "_sectors",
|
|
166848
|
+
"type": {
|
|
166849
|
+
"text": "AggregatedSector[]"
|
|
166792
166850
|
},
|
|
166793
|
-
"
|
|
166794
|
-
|
|
166795
|
-
|
|
166796
|
-
|
|
166851
|
+
"privacy": "private",
|
|
166852
|
+
"default": "[]"
|
|
166853
|
+
},
|
|
166854
|
+
{
|
|
166855
|
+
"kind": "field",
|
|
166856
|
+
"name": "_language",
|
|
166857
|
+
"privacy": "private",
|
|
166858
|
+
"default": "new SbbLanguageController(this)"
|
|
166797
166859
|
},
|
|
166798
166860
|
{
|
|
166799
166861
|
"kind": "method",
|
|
166800
|
-
"name": "
|
|
166862
|
+
"name": "_readDirectionLabel",
|
|
166801
166863
|
"privacy": "private",
|
|
166802
166864
|
"return": {
|
|
166803
166865
|
"type": {
|
|
166804
|
-
"text": "
|
|
166866
|
+
"text": "void"
|
|
166805
166867
|
}
|
|
166806
166868
|
},
|
|
166807
|
-
"
|
|
166808
|
-
|
|
166809
|
-
|
|
166810
|
-
|
|
166869
|
+
"parameters": [
|
|
166870
|
+
{
|
|
166871
|
+
"name": "event",
|
|
166872
|
+
"optional": true,
|
|
166873
|
+
"type": {
|
|
166874
|
+
"text": "Event"
|
|
166875
|
+
}
|
|
166876
|
+
}
|
|
166877
|
+
]
|
|
166811
166878
|
},
|
|
166812
166879
|
{
|
|
166813
166880
|
"kind": "method",
|
|
166814
|
-
"name": "
|
|
166881
|
+
"name": "_readSectors",
|
|
166815
166882
|
"privacy": "private",
|
|
166816
166883
|
"return": {
|
|
166817
166884
|
"type": {
|
|
166818
|
-
"text": "
|
|
166885
|
+
"text": "void"
|
|
166819
166886
|
}
|
|
166820
166887
|
},
|
|
166821
|
-
"
|
|
166822
|
-
|
|
166823
|
-
|
|
166824
|
-
|
|
166888
|
+
"parameters": [
|
|
166889
|
+
{
|
|
166890
|
+
"name": "event",
|
|
166891
|
+
"optional": true,
|
|
166892
|
+
"type": {
|
|
166893
|
+
"text": "Event"
|
|
166894
|
+
}
|
|
166895
|
+
}
|
|
166896
|
+
]
|
|
166825
166897
|
},
|
|
166826
166898
|
{
|
|
166827
|
-
"kind": "
|
|
166828
|
-
"name": "
|
|
166829
|
-
"
|
|
166830
|
-
|
|
166831
|
-
"type": {
|
|
166832
|
-
"text": "TemplateResult"
|
|
166833
|
-
}
|
|
166899
|
+
"kind": "field",
|
|
166900
|
+
"name": "elementDependencies",
|
|
166901
|
+
"type": {
|
|
166902
|
+
"text": "SbbElementType[]"
|
|
166834
166903
|
},
|
|
166904
|
+
"privacy": "public",
|
|
166905
|
+
"static": true,
|
|
166906
|
+
"default": "[]",
|
|
166835
166907
|
"inheritedFrom": {
|
|
166836
|
-
"name": "
|
|
166837
|
-
"module": "
|
|
166908
|
+
"name": "SbbElement",
|
|
166909
|
+
"module": "core/base-elements/element.js"
|
|
166838
166910
|
}
|
|
166839
166911
|
},
|
|
166840
166912
|
{
|
|
166841
166913
|
"kind": "field",
|
|
166842
|
-
"name": "
|
|
166914
|
+
"name": "styles",
|
|
166843
166915
|
"type": {
|
|
166844
|
-
"text": "
|
|
166916
|
+
"text": "CSSResultGroup"
|
|
166845
166917
|
},
|
|
166846
|
-
"privacy": "
|
|
166847
|
-
"
|
|
166918
|
+
"privacy": "public",
|
|
166919
|
+
"static": true,
|
|
166920
|
+
"default": "[screenReaderOnlyStyles]",
|
|
166848
166921
|
"inheritedFrom": {
|
|
166849
|
-
"name": "
|
|
166850
|
-
"module": "
|
|
166922
|
+
"name": "SbbNamedSlotListMixin",
|
|
166923
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166851
166924
|
}
|
|
166852
166925
|
},
|
|
166853
166926
|
{
|
|
@@ -167213,120 +167286,47 @@
|
|
|
167213
167286
|
}
|
|
167214
167287
|
}
|
|
167215
167288
|
],
|
|
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,
|
|
167228
167289
|
"attributes": [
|
|
167229
167290
|
{
|
|
167230
|
-
"name": "
|
|
167231
|
-
"type": {
|
|
167232
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
167233
|
-
},
|
|
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
|
-
}
|
|
167241
|
-
},
|
|
167242
|
-
{
|
|
167243
|
-
"name": "occupancy",
|
|
167244
|
-
"type": {
|
|
167245
|
-
"text": "SbbOccupancy | null"
|
|
167246
|
-
},
|
|
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
|
-
},
|
|
167255
|
-
{
|
|
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",
|
|
167291
|
+
"name": "view",
|
|
167283
167292
|
"type": {
|
|
167284
|
-
"text": "
|
|
167293
|
+
"text": "'side' | 'top'"
|
|
167285
167294
|
},
|
|
167286
|
-
"default": "
|
|
167287
|
-
"description": "
|
|
167288
|
-
"fieldName": "
|
|
167289
|
-
"inheritedFrom": {
|
|
167290
|
-
"name": "SbbTrainWagonMixin",
|
|
167291
|
-
"module": "train/train-wagon-common.js"
|
|
167292
|
-
}
|
|
167295
|
+
"default": "'side'",
|
|
167296
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
167297
|
+
"fieldName": "view"
|
|
167293
167298
|
},
|
|
167294
167299
|
{
|
|
167295
|
-
"name": "
|
|
167300
|
+
"name": "orientation",
|
|
167296
167301
|
"type": {
|
|
167297
|
-
"text": "
|
|
167302
|
+
"text": "SbbOrientation"
|
|
167298
167303
|
},
|
|
167299
|
-
"default": "''",
|
|
167300
|
-
"description": "
|
|
167301
|
-
"fieldName": "
|
|
167302
|
-
|
|
167303
|
-
|
|
167304
|
-
|
|
167305
|
-
}
|
|
167306
|
-
},
|
|
167304
|
+
"default": "'horizontal'",
|
|
167305
|
+
"description": "Orientation, either horizontal or vertical.",
|
|
167306
|
+
"fieldName": "orientation"
|
|
167307
|
+
}
|
|
167308
|
+
],
|
|
167309
|
+
"mixins": [
|
|
167307
167310
|
{
|
|
167308
|
-
"name": "
|
|
167309
|
-
"
|
|
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
|
-
}
|
|
167311
|
+
"name": "SbbNamedSlotListMixin",
|
|
167312
|
+
"module": "core.js"
|
|
167319
167313
|
}
|
|
167320
|
-
]
|
|
167314
|
+
],
|
|
167315
|
+
"superclass": {
|
|
167316
|
+
"name": "SbbElement",
|
|
167317
|
+
"module": "core.js"
|
|
167318
|
+
},
|
|
167319
|
+
"tagName": "sbb-train-formation",
|
|
167320
|
+
"customElement": true
|
|
167321
167321
|
}
|
|
167322
167322
|
],
|
|
167323
167323
|
"exports": [
|
|
167324
167324
|
{
|
|
167325
167325
|
"kind": "js",
|
|
167326
|
-
"name": "
|
|
167326
|
+
"name": "SbbTrainFormationElement",
|
|
167327
167327
|
"declaration": {
|
|
167328
|
-
"name": "
|
|
167329
|
-
"module": "train/train-
|
|
167328
|
+
"name": "SbbTrainFormationElement",
|
|
167329
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
167330
167330
|
}
|
|
167331
167331
|
}
|
|
167332
167332
|
]
|