@sbb-esta/lyne-elements-dev 5.11.0-dev.1791968952 → 5.11.0-dev.1791974141
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/_index.scss +1 -0
- package/core/styles/_theme.scss +4 -0
- package/core/styles/mixins/_pearl-chain-bullet.scss +1 -0
- package/core.js +1 -1
- package/custom-elements.json +1226 -2
- package/development/core.js +3 -0
- package/development/pearl-chain/pearl-chain/pearl-chain.component.d.ts +82 -0
- package/development/pearl-chain/pearl-chain-node/pearl-chain-node.component.d.ts +48 -0
- package/development/pearl-chain.d.ts +1 -0
- package/development/pearl-chain.js +10 -0
- package/development/pearl-chain.pure.d.ts +3 -0
- package/development/pearl-chain.pure.js +605 -0
- package/index.d.ts +3 -0
- package/index.js +3 -0
- package/lean-off-brand-theme.css +22 -0
- package/lean-safety-theme.css +22 -0
- package/lean-theme.css +22 -0
- package/off-brand-theme.css +22 -0
- package/package.json +12 -2
- package/pearl-chain/_pearl-chain.global.scss +26 -0
- package/pearl-chain.js +1 -0
- package/pearl-chain.pure.js +71 -0
- package/safety-theme.css +22 -0
- package/standard-theme.css +22 -0
package/custom-elements.json
CHANGED
|
@@ -144702,6 +144702,1230 @@
|
|
|
144702
144702
|
}
|
|
144703
144703
|
]
|
|
144704
144704
|
},
|
|
144705
|
+
{
|
|
144706
|
+
"kind": "javascript-module",
|
|
144707
|
+
"path": "pearl-chain/pearl-chain/pearl-chain.component.js",
|
|
144708
|
+
"declarations": [
|
|
144709
|
+
{
|
|
144710
|
+
"kind": "class",
|
|
144711
|
+
"description": "It displays a chain of `sbb-pearl-chain-node` elements connected by lines,\nrepresenting a journey with its stops.",
|
|
144712
|
+
"name": "SbbPearlChainElement",
|
|
144713
|
+
"members": [
|
|
144714
|
+
{
|
|
144715
|
+
"kind": "field",
|
|
144716
|
+
"name": "elementName",
|
|
144717
|
+
"type": {
|
|
144718
|
+
"text": "string"
|
|
144719
|
+
},
|
|
144720
|
+
"privacy": "public",
|
|
144721
|
+
"static": true,
|
|
144722
|
+
"readonly": true,
|
|
144723
|
+
"default": "'sbb-pearl-chain'",
|
|
144724
|
+
"inheritedFrom": {
|
|
144725
|
+
"name": "SbbElement",
|
|
144726
|
+
"module": "core/base-elements/element.js"
|
|
144727
|
+
}
|
|
144728
|
+
},
|
|
144729
|
+
{
|
|
144730
|
+
"kind": "field",
|
|
144731
|
+
"name": "now",
|
|
144732
|
+
"privacy": "public",
|
|
144733
|
+
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
144734
|
+
"type": {
|
|
144735
|
+
"text": "Date"
|
|
144736
|
+
},
|
|
144737
|
+
"attribute": "now"
|
|
144738
|
+
},
|
|
144739
|
+
{
|
|
144740
|
+
"kind": "field",
|
|
144741
|
+
"name": "_userNow",
|
|
144742
|
+
"type": {
|
|
144743
|
+
"text": "Date | null"
|
|
144744
|
+
},
|
|
144745
|
+
"privacy": "private",
|
|
144746
|
+
"default": "null"
|
|
144747
|
+
},
|
|
144748
|
+
{
|
|
144749
|
+
"kind": "field",
|
|
144750
|
+
"name": "_systemNow",
|
|
144751
|
+
"privacy": "private",
|
|
144752
|
+
"default": "new Date()"
|
|
144753
|
+
},
|
|
144754
|
+
{
|
|
144755
|
+
"kind": "field",
|
|
144756
|
+
"name": "nodes",
|
|
144757
|
+
"type": {
|
|
144758
|
+
"text": "readonly SbbPearlChainNodeElement[]"
|
|
144759
|
+
},
|
|
144760
|
+
"privacy": "public",
|
|
144761
|
+
"description": "Returns the registered `sbb-pearl-chain-node` elements, in DOM order.",
|
|
144762
|
+
"readonly": true,
|
|
144763
|
+
"default": "[]"
|
|
144764
|
+
},
|
|
144765
|
+
{
|
|
144766
|
+
"kind": "field",
|
|
144767
|
+
"name": "_svgElem",
|
|
144768
|
+
"type": {
|
|
144769
|
+
"text": "Element | undefined"
|
|
144770
|
+
},
|
|
144771
|
+
"privacy": "private"
|
|
144772
|
+
},
|
|
144773
|
+
{
|
|
144774
|
+
"kind": "field",
|
|
144775
|
+
"name": "_nodes",
|
|
144776
|
+
"type": {
|
|
144777
|
+
"text": "SbbPearlChainNodeElement[]"
|
|
144778
|
+
},
|
|
144779
|
+
"privacy": "private",
|
|
144780
|
+
"default": "[]"
|
|
144781
|
+
},
|
|
144782
|
+
{
|
|
144783
|
+
"kind": "field",
|
|
144784
|
+
"name": "_orientation",
|
|
144785
|
+
"type": {
|
|
144786
|
+
"text": "'horizontal' | 'vertical'"
|
|
144787
|
+
},
|
|
144788
|
+
"privacy": "private",
|
|
144789
|
+
"default": "'vertical'"
|
|
144790
|
+
},
|
|
144791
|
+
{
|
|
144792
|
+
"kind": "field",
|
|
144793
|
+
"name": "_systemNowIntervalId",
|
|
144794
|
+
"type": {
|
|
144795
|
+
"text": "ReturnType<typeof setInterval> | undefined"
|
|
144796
|
+
},
|
|
144797
|
+
"privacy": "private"
|
|
144798
|
+
},
|
|
144799
|
+
{
|
|
144800
|
+
"kind": "field",
|
|
144801
|
+
"name": "_debounceId",
|
|
144802
|
+
"type": {
|
|
144803
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
144804
|
+
},
|
|
144805
|
+
"privacy": "private"
|
|
144806
|
+
},
|
|
144807
|
+
{
|
|
144808
|
+
"kind": "method",
|
|
144809
|
+
"name": "calculateNodeWeights",
|
|
144810
|
+
"privacy": "public",
|
|
144811
|
+
"return": {
|
|
144812
|
+
"type": {
|
|
144813
|
+
"text": "number[]"
|
|
144814
|
+
}
|
|
144815
|
+
},
|
|
144816
|
+
"description": "Returns the relative position (0 for the first node, 1 for the last one) of each node,\nin DOM order, proportional to its `departure` time (or `arrival` if there is no `departure`)."
|
|
144817
|
+
},
|
|
144818
|
+
{
|
|
144819
|
+
"kind": "method",
|
|
144820
|
+
"name": "_debouncedPositionLines",
|
|
144821
|
+
"privacy": "private",
|
|
144822
|
+
"return": {
|
|
144823
|
+
"type": {
|
|
144824
|
+
"text": "void"
|
|
144825
|
+
}
|
|
144826
|
+
},
|
|
144827
|
+
"description": "Optimizes `_positionLines()` calls by debouncing them (called by observers)."
|
|
144828
|
+
},
|
|
144829
|
+
{
|
|
144830
|
+
"kind": "method",
|
|
144831
|
+
"name": "_positionLines",
|
|
144832
|
+
"privacy": "private",
|
|
144833
|
+
"return": {
|
|
144834
|
+
"type": {
|
|
144835
|
+
"text": "void"
|
|
144836
|
+
}
|
|
144837
|
+
},
|
|
144838
|
+
"description": "Positions the rendered lines (and dot) to connect the bullet nodes, and toggles\n`:state(horizontal)` based on whether nodes are spread more horizontally than vertically."
|
|
144839
|
+
},
|
|
144840
|
+
{
|
|
144841
|
+
"kind": "method",
|
|
144842
|
+
"name": "_setLineCords",
|
|
144843
|
+
"privacy": "private",
|
|
144844
|
+
"return": {
|
|
144845
|
+
"type": {
|
|
144846
|
+
"text": "void"
|
|
144847
|
+
}
|
|
144848
|
+
},
|
|
144849
|
+
"parameters": [
|
|
144850
|
+
{
|
|
144851
|
+
"name": "element",
|
|
144852
|
+
"type": {
|
|
144853
|
+
"text": "Element"
|
|
144854
|
+
}
|
|
144855
|
+
},
|
|
144856
|
+
{
|
|
144857
|
+
"name": "start",
|
|
144858
|
+
"type": {
|
|
144859
|
+
"text": "Point"
|
|
144860
|
+
}
|
|
144861
|
+
},
|
|
144862
|
+
{
|
|
144863
|
+
"name": "end",
|
|
144864
|
+
"type": {
|
|
144865
|
+
"text": "Point"
|
|
144866
|
+
}
|
|
144867
|
+
}
|
|
144868
|
+
],
|
|
144869
|
+
"description": "Sets the coordinates of a line svg element."
|
|
144870
|
+
},
|
|
144871
|
+
{
|
|
144872
|
+
"kind": "method",
|
|
144873
|
+
"name": "_updateOrientation",
|
|
144874
|
+
"privacy": "private",
|
|
144875
|
+
"return": {
|
|
144876
|
+
"type": {
|
|
144877
|
+
"text": "void"
|
|
144878
|
+
}
|
|
144879
|
+
},
|
|
144880
|
+
"parameters": [
|
|
144881
|
+
{
|
|
144882
|
+
"name": "nodesCords",
|
|
144883
|
+
"type": {
|
|
144884
|
+
"text": "Point[]"
|
|
144885
|
+
}
|
|
144886
|
+
}
|
|
144887
|
+
],
|
|
144888
|
+
"description": "Toggles `:state(horizontal)` when the nodes are spread more horizontally than vertically."
|
|
144889
|
+
},
|
|
144890
|
+
{
|
|
144891
|
+
"kind": "method",
|
|
144892
|
+
"name": "_needsGap",
|
|
144893
|
+
"privacy": "private",
|
|
144894
|
+
"return": {
|
|
144895
|
+
"type": {
|
|
144896
|
+
"text": "boolean"
|
|
144897
|
+
}
|
|
144898
|
+
},
|
|
144899
|
+
"parameters": [
|
|
144900
|
+
{
|
|
144901
|
+
"name": "node",
|
|
144902
|
+
"type": {
|
|
144903
|
+
"text": "SbbPearlChainNodeElement"
|
|
144904
|
+
}
|
|
144905
|
+
}
|
|
144906
|
+
],
|
|
144907
|
+
"description": "No gap for `start` or `end` bullets."
|
|
144908
|
+
},
|
|
144909
|
+
{
|
|
144910
|
+
"kind": "method",
|
|
144911
|
+
"name": "_progressRatio",
|
|
144912
|
+
"privacy": "private",
|
|
144913
|
+
"return": {
|
|
144914
|
+
"type": {
|
|
144915
|
+
"text": "number | null"
|
|
144916
|
+
}
|
|
144917
|
+
},
|
|
144918
|
+
"parameters": [
|
|
144919
|
+
{
|
|
144920
|
+
"name": "start",
|
|
144921
|
+
"type": {
|
|
144922
|
+
"text": "SbbPearlChainNodeElement"
|
|
144923
|
+
}
|
|
144924
|
+
},
|
|
144925
|
+
{
|
|
144926
|
+
"name": "end",
|
|
144927
|
+
"type": {
|
|
144928
|
+
"text": "SbbPearlChainNodeElement"
|
|
144929
|
+
}
|
|
144930
|
+
}
|
|
144931
|
+
],
|
|
144932
|
+
"description": "Ratio (0-1) of \"now\" between the line's start departure and end arrival, or\n`null` if \"now\" is outside that window (or either date is missing)."
|
|
144933
|
+
},
|
|
144934
|
+
{
|
|
144935
|
+
"kind": "method",
|
|
144936
|
+
"name": "_lineClasses",
|
|
144937
|
+
"privacy": "private",
|
|
144938
|
+
"return": {
|
|
144939
|
+
"type": {
|
|
144940
|
+
"text": "Record<string, boolean>"
|
|
144941
|
+
}
|
|
144942
|
+
},
|
|
144943
|
+
"parameters": [
|
|
144944
|
+
{
|
|
144945
|
+
"name": "start",
|
|
144946
|
+
"type": {
|
|
144947
|
+
"text": "SbbPearlChainNodeElement"
|
|
144948
|
+
}
|
|
144949
|
+
},
|
|
144950
|
+
{
|
|
144951
|
+
"name": "end",
|
|
144952
|
+
"type": {
|
|
144953
|
+
"text": "SbbPearlChainNodeElement"
|
|
144954
|
+
}
|
|
144955
|
+
}
|
|
144956
|
+
],
|
|
144957
|
+
"description": "Returns a map of CSS classes for a line segment between two nodes, based on its state."
|
|
144958
|
+
},
|
|
144959
|
+
{
|
|
144960
|
+
"kind": "method",
|
|
144961
|
+
"name": "_isLinePast",
|
|
144962
|
+
"privacy": "private",
|
|
144963
|
+
"return": {
|
|
144964
|
+
"type": {
|
|
144965
|
+
"text": "boolean"
|
|
144966
|
+
}
|
|
144967
|
+
},
|
|
144968
|
+
"parameters": [
|
|
144969
|
+
{
|
|
144970
|
+
"name": "end",
|
|
144971
|
+
"type": {
|
|
144972
|
+
"text": "SbbPearlChainNodeElement"
|
|
144973
|
+
}
|
|
144974
|
+
}
|
|
144975
|
+
],
|
|
144976
|
+
"description": "A line is \"past\" once we've already arrived at its ending node."
|
|
144977
|
+
},
|
|
144978
|
+
{
|
|
144979
|
+
"kind": "method",
|
|
144980
|
+
"name": "_isLineCurrent",
|
|
144981
|
+
"privacy": "private",
|
|
144982
|
+
"return": {
|
|
144983
|
+
"type": {
|
|
144984
|
+
"text": "boolean"
|
|
144985
|
+
}
|
|
144986
|
+
},
|
|
144987
|
+
"parameters": [
|
|
144988
|
+
{
|
|
144989
|
+
"name": "start",
|
|
144990
|
+
"type": {
|
|
144991
|
+
"text": "SbbPearlChainNodeElement"
|
|
144992
|
+
}
|
|
144993
|
+
},
|
|
144994
|
+
{
|
|
144995
|
+
"name": "end",
|
|
144996
|
+
"type": {
|
|
144997
|
+
"text": "SbbPearlChainNodeElement"
|
|
144998
|
+
}
|
|
144999
|
+
}
|
|
145000
|
+
],
|
|
145001
|
+
"description": "A line is \"current\" if \"now\" falls between its start departure and end arrival."
|
|
145002
|
+
},
|
|
145003
|
+
{
|
|
145004
|
+
"kind": "method",
|
|
145005
|
+
"name": "_renderSegment",
|
|
145006
|
+
"privacy": "private",
|
|
145007
|
+
"return": {
|
|
145008
|
+
"type": {
|
|
145009
|
+
"text": "TemplateResult"
|
|
145010
|
+
}
|
|
145011
|
+
},
|
|
145012
|
+
"parameters": [
|
|
145013
|
+
{
|
|
145014
|
+
"name": "start",
|
|
145015
|
+
"type": {
|
|
145016
|
+
"text": "SbbPearlChainNodeElement"
|
|
145017
|
+
}
|
|
145018
|
+
},
|
|
145019
|
+
{
|
|
145020
|
+
"name": "end",
|
|
145021
|
+
"type": {
|
|
145022
|
+
"text": "SbbPearlChainNodeElement"
|
|
145023
|
+
}
|
|
145024
|
+
},
|
|
145025
|
+
{
|
|
145026
|
+
"name": "index",
|
|
145027
|
+
"type": {
|
|
145028
|
+
"text": "number"
|
|
145029
|
+
}
|
|
145030
|
+
}
|
|
145031
|
+
],
|
|
145032
|
+
"description": "Renders one segment: a single line, or (when \"now\" falls within it) a gray/normal split + pulsing dot."
|
|
145033
|
+
},
|
|
145034
|
+
{
|
|
145035
|
+
"kind": "field",
|
|
145036
|
+
"name": "['_$sbbElement$']",
|
|
145037
|
+
"type": {
|
|
145038
|
+
"text": "boolean"
|
|
145039
|
+
},
|
|
145040
|
+
"privacy": "public",
|
|
145041
|
+
"static": true,
|
|
145042
|
+
"default": "true",
|
|
145043
|
+
"inheritedFrom": {
|
|
145044
|
+
"name": "SbbElement",
|
|
145045
|
+
"module": "core/base-elements/element.js"
|
|
145046
|
+
}
|
|
145047
|
+
},
|
|
145048
|
+
{
|
|
145049
|
+
"kind": "field",
|
|
145050
|
+
"name": "elementDependencies",
|
|
145051
|
+
"type": {
|
|
145052
|
+
"text": "SbbElementType[] | undefined"
|
|
145053
|
+
},
|
|
145054
|
+
"privacy": "public",
|
|
145055
|
+
"static": true,
|
|
145056
|
+
"inheritedFrom": {
|
|
145057
|
+
"name": "SbbElement",
|
|
145058
|
+
"module": "core/base-elements/element.js"
|
|
145059
|
+
}
|
|
145060
|
+
},
|
|
145061
|
+
{
|
|
145062
|
+
"kind": "field",
|
|
145063
|
+
"name": "role",
|
|
145064
|
+
"type": {
|
|
145065
|
+
"text": "ElementInternals['role'] | undefined"
|
|
145066
|
+
},
|
|
145067
|
+
"privacy": "public",
|
|
145068
|
+
"static": true,
|
|
145069
|
+
"inheritedFrom": {
|
|
145070
|
+
"name": "SbbElement",
|
|
145071
|
+
"module": "core/base-elements/element.js"
|
|
145072
|
+
}
|
|
145073
|
+
},
|
|
145074
|
+
{
|
|
145075
|
+
"kind": "field",
|
|
145076
|
+
"name": "_controllers",
|
|
145077
|
+
"type": {
|
|
145078
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
145079
|
+
},
|
|
145080
|
+
"privacy": "private",
|
|
145081
|
+
"inheritedFrom": {
|
|
145082
|
+
"name": "SbbElement",
|
|
145083
|
+
"module": "core/base-elements/element.js"
|
|
145084
|
+
}
|
|
145085
|
+
},
|
|
145086
|
+
{
|
|
145087
|
+
"kind": "field",
|
|
145088
|
+
"name": "_hydrationRequired",
|
|
145089
|
+
"type": {
|
|
145090
|
+
"text": "boolean"
|
|
145091
|
+
},
|
|
145092
|
+
"privacy": "private",
|
|
145093
|
+
"default": "!!this.shadowRoot",
|
|
145094
|
+
"inheritedFrom": {
|
|
145095
|
+
"name": "SbbElement",
|
|
145096
|
+
"module": "core/base-elements/element.js"
|
|
145097
|
+
}
|
|
145098
|
+
},
|
|
145099
|
+
{
|
|
145100
|
+
"kind": "field",
|
|
145101
|
+
"name": "_hydrationComplete",
|
|
145102
|
+
"privacy": "private",
|
|
145103
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
145104
|
+
"inheritedFrom": {
|
|
145105
|
+
"name": "SbbElement",
|
|
145106
|
+
"module": "core/base-elements/element.js"
|
|
145107
|
+
}
|
|
145108
|
+
},
|
|
145109
|
+
{
|
|
145110
|
+
"kind": "field",
|
|
145111
|
+
"name": "_resolveHydration",
|
|
145112
|
+
"type": {
|
|
145113
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
145114
|
+
},
|
|
145115
|
+
"privacy": "private",
|
|
145116
|
+
"inheritedFrom": {
|
|
145117
|
+
"name": "SbbElement",
|
|
145118
|
+
"module": "core/base-elements/element.js"
|
|
145119
|
+
}
|
|
145120
|
+
},
|
|
145121
|
+
{
|
|
145122
|
+
"kind": "field",
|
|
145123
|
+
"name": "_textObserver",
|
|
145124
|
+
"type": {
|
|
145125
|
+
"text": "MutationObserver | undefined"
|
|
145126
|
+
},
|
|
145127
|
+
"privacy": "private",
|
|
145128
|
+
"inheritedFrom": {
|
|
145129
|
+
"name": "SbbElement",
|
|
145130
|
+
"module": "core/base-elements/element.js"
|
|
145131
|
+
}
|
|
145132
|
+
},
|
|
145133
|
+
{
|
|
145134
|
+
"kind": "field",
|
|
145135
|
+
"name": "hydrationRequired",
|
|
145136
|
+
"type": {
|
|
145137
|
+
"text": "boolean"
|
|
145138
|
+
},
|
|
145139
|
+
"privacy": "protected",
|
|
145140
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
145141
|
+
"readonly": true,
|
|
145142
|
+
"inheritedFrom": {
|
|
145143
|
+
"name": "SbbElement",
|
|
145144
|
+
"module": "core/base-elements/element.js"
|
|
145145
|
+
},
|
|
145146
|
+
"default": "!!this.shadowRoot"
|
|
145147
|
+
},
|
|
145148
|
+
{
|
|
145149
|
+
"kind": "method",
|
|
145150
|
+
"name": "finalizeStyles",
|
|
145151
|
+
"privacy": "protected",
|
|
145152
|
+
"static": true,
|
|
145153
|
+
"return": {
|
|
145154
|
+
"type": {
|
|
145155
|
+
"text": "CSSResultOrNative[]"
|
|
145156
|
+
}
|
|
145157
|
+
},
|
|
145158
|
+
"parameters": [
|
|
145159
|
+
{
|
|
145160
|
+
"name": "_styles",
|
|
145161
|
+
"type": {
|
|
145162
|
+
"text": "CSSResultGroup"
|
|
145163
|
+
}
|
|
145164
|
+
}
|
|
145165
|
+
],
|
|
145166
|
+
"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.",
|
|
145167
|
+
"inheritedFrom": {
|
|
145168
|
+
"name": "SbbElement",
|
|
145169
|
+
"module": "core/base-elements/element.js"
|
|
145170
|
+
}
|
|
145171
|
+
},
|
|
145172
|
+
{
|
|
145173
|
+
"kind": "method",
|
|
145174
|
+
"name": "toggleState",
|
|
145175
|
+
"privacy": "protected",
|
|
145176
|
+
"return": {
|
|
145177
|
+
"type": {
|
|
145178
|
+
"text": "void"
|
|
145179
|
+
}
|
|
145180
|
+
},
|
|
145181
|
+
"parameters": [
|
|
145182
|
+
{
|
|
145183
|
+
"name": "value",
|
|
145184
|
+
"type": {
|
|
145185
|
+
"text": "string"
|
|
145186
|
+
}
|
|
145187
|
+
},
|
|
145188
|
+
{
|
|
145189
|
+
"name": "force",
|
|
145190
|
+
"optional": true,
|
|
145191
|
+
"type": {
|
|
145192
|
+
"text": "boolean"
|
|
145193
|
+
}
|
|
145194
|
+
}
|
|
145195
|
+
],
|
|
145196
|
+
"inheritedFrom": {
|
|
145197
|
+
"name": "SbbElement",
|
|
145198
|
+
"module": "core/base-elements/element.js"
|
|
145199
|
+
}
|
|
145200
|
+
},
|
|
145201
|
+
{
|
|
145202
|
+
"kind": "method",
|
|
145203
|
+
"name": "_slotchangeHandler",
|
|
145204
|
+
"privacy": "private",
|
|
145205
|
+
"return": {
|
|
145206
|
+
"type": {
|
|
145207
|
+
"text": "void"
|
|
145208
|
+
}
|
|
145209
|
+
},
|
|
145210
|
+
"parameters": [
|
|
145211
|
+
{
|
|
145212
|
+
"name": "event",
|
|
145213
|
+
"type": {
|
|
145214
|
+
"text": "Event"
|
|
145215
|
+
}
|
|
145216
|
+
},
|
|
145217
|
+
{
|
|
145218
|
+
"name": "slot",
|
|
145219
|
+
"type": {
|
|
145220
|
+
"text": "HTMLSlotElement"
|
|
145221
|
+
}
|
|
145222
|
+
}
|
|
145223
|
+
],
|
|
145224
|
+
"inheritedFrom": {
|
|
145225
|
+
"name": "SbbElement",
|
|
145226
|
+
"module": "core/base-elements/element.js"
|
|
145227
|
+
}
|
|
145228
|
+
},
|
|
145229
|
+
{
|
|
145230
|
+
"kind": "method",
|
|
145231
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
145232
|
+
"privacy": "private",
|
|
145233
|
+
"return": {
|
|
145234
|
+
"type": {
|
|
145235
|
+
"text": "void"
|
|
145236
|
+
}
|
|
145237
|
+
},
|
|
145238
|
+
"parameters": [
|
|
145239
|
+
{
|
|
145240
|
+
"name": "slot",
|
|
145241
|
+
"type": {
|
|
145242
|
+
"text": "HTMLSlotElement"
|
|
145243
|
+
}
|
|
145244
|
+
}
|
|
145245
|
+
],
|
|
145246
|
+
"inheritedFrom": {
|
|
145247
|
+
"name": "SbbElement",
|
|
145248
|
+
"module": "core/base-elements/element.js"
|
|
145249
|
+
}
|
|
145250
|
+
},
|
|
145251
|
+
{
|
|
145252
|
+
"kind": "method",
|
|
145253
|
+
"name": "_updateSlottedState",
|
|
145254
|
+
"privacy": "private",
|
|
145255
|
+
"return": {
|
|
145256
|
+
"type": {
|
|
145257
|
+
"text": "void"
|
|
145258
|
+
}
|
|
145259
|
+
},
|
|
145260
|
+
"parameters": [
|
|
145261
|
+
{
|
|
145262
|
+
"name": "slot",
|
|
145263
|
+
"type": {
|
|
145264
|
+
"text": "HTMLSlotElement"
|
|
145265
|
+
}
|
|
145266
|
+
}
|
|
145267
|
+
],
|
|
145268
|
+
"inheritedFrom": {
|
|
145269
|
+
"name": "SbbElement",
|
|
145270
|
+
"module": "core/base-elements/element.js"
|
|
145271
|
+
}
|
|
145272
|
+
},
|
|
145273
|
+
{
|
|
145274
|
+
"kind": "method",
|
|
145275
|
+
"name": "_observeTextNodesInSlot",
|
|
145276
|
+
"privacy": "private",
|
|
145277
|
+
"return": {
|
|
145278
|
+
"type": {
|
|
145279
|
+
"text": "void"
|
|
145280
|
+
}
|
|
145281
|
+
},
|
|
145282
|
+
"parameters": [
|
|
145283
|
+
{
|
|
145284
|
+
"name": "slot",
|
|
145285
|
+
"type": {
|
|
145286
|
+
"text": "HTMLSlotElement"
|
|
145287
|
+
}
|
|
145288
|
+
}
|
|
145289
|
+
],
|
|
145290
|
+
"inheritedFrom": {
|
|
145291
|
+
"name": "SbbElement",
|
|
145292
|
+
"module": "core/base-elements/element.js"
|
|
145293
|
+
}
|
|
145294
|
+
},
|
|
145295
|
+
{
|
|
145296
|
+
"kind": "method",
|
|
145297
|
+
"name": "_hasSlottedContent",
|
|
145298
|
+
"privacy": "private",
|
|
145299
|
+
"return": {
|
|
145300
|
+
"type": {
|
|
145301
|
+
"text": "boolean"
|
|
145302
|
+
}
|
|
145303
|
+
},
|
|
145304
|
+
"parameters": [
|
|
145305
|
+
{
|
|
145306
|
+
"name": "slot",
|
|
145307
|
+
"type": {
|
|
145308
|
+
"text": "HTMLSlotElement"
|
|
145309
|
+
}
|
|
145310
|
+
}
|
|
145311
|
+
],
|
|
145312
|
+
"inheritedFrom": {
|
|
145313
|
+
"name": "SbbElement",
|
|
145314
|
+
"module": "core/base-elements/element.js"
|
|
145315
|
+
}
|
|
145316
|
+
}
|
|
145317
|
+
],
|
|
145318
|
+
"attributes": [
|
|
145319
|
+
{
|
|
145320
|
+
"name": "now",
|
|
145321
|
+
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
145322
|
+
"type": {
|
|
145323
|
+
"text": "Date"
|
|
145324
|
+
},
|
|
145325
|
+
"fieldName": "now"
|
|
145326
|
+
}
|
|
145327
|
+
],
|
|
145328
|
+
"superclass": {
|
|
145329
|
+
"name": "SbbElement",
|
|
145330
|
+
"module": "core.js"
|
|
145331
|
+
},
|
|
145332
|
+
"tagName": "sbb-pearl-chain",
|
|
145333
|
+
"customElement": true
|
|
145334
|
+
}
|
|
145335
|
+
],
|
|
145336
|
+
"exports": [
|
|
145337
|
+
{
|
|
145338
|
+
"kind": "js",
|
|
145339
|
+
"name": "SbbPearlChainElement",
|
|
145340
|
+
"declaration": {
|
|
145341
|
+
"name": "SbbPearlChainElement",
|
|
145342
|
+
"module": "pearl-chain/pearl-chain/pearl-chain.component.js"
|
|
145343
|
+
}
|
|
145344
|
+
}
|
|
145345
|
+
]
|
|
145346
|
+
},
|
|
145347
|
+
{
|
|
145348
|
+
"kind": "javascript-module",
|
|
145349
|
+
"path": "pearl-chain/pearl-chain-node/pearl-chain-node.component.js",
|
|
145350
|
+
"declarations": [
|
|
145351
|
+
{
|
|
145352
|
+
"kind": "class",
|
|
145353
|
+
"description": "Represents a station/point of interest within a `sbb-pearl-chain`.",
|
|
145354
|
+
"name": "SbbPearlChainNodeElement",
|
|
145355
|
+
"members": [
|
|
145356
|
+
{
|
|
145357
|
+
"kind": "field",
|
|
145358
|
+
"name": "elementName",
|
|
145359
|
+
"type": {
|
|
145360
|
+
"text": "string"
|
|
145361
|
+
},
|
|
145362
|
+
"privacy": "public",
|
|
145363
|
+
"static": true,
|
|
145364
|
+
"readonly": true,
|
|
145365
|
+
"default": "'sbb-pearl-chain-node'",
|
|
145366
|
+
"inheritedFrom": {
|
|
145367
|
+
"name": "SbbElement",
|
|
145368
|
+
"module": "core/base-elements/element.js"
|
|
145369
|
+
}
|
|
145370
|
+
},
|
|
145371
|
+
{
|
|
145372
|
+
"kind": "field",
|
|
145373
|
+
"name": "type",
|
|
145374
|
+
"type": {
|
|
145375
|
+
"text": "SbbPearlChainNodeType | null",
|
|
145376
|
+
"resolved": "'start' | 'end' | 'stop' | 'skip' | 'commercial' | 'boarding' | 'alighting' | 'exceptional' | 'exceptional-skip' | 'exceptional-boarding' | 'exceptional-alighting' | 'stop-duty' | 'stop-on-demand' | 'boarding-on-demand' | 'alighting-on-demand' | null"
|
|
145377
|
+
},
|
|
145378
|
+
"privacy": "public",
|
|
145379
|
+
"default": "null",
|
|
145380
|
+
"description": "Decides how the bullet is rendered. Defaults to _empty_ (no bullet).",
|
|
145381
|
+
"attribute": "type"
|
|
145382
|
+
},
|
|
145383
|
+
{
|
|
145384
|
+
"kind": "field",
|
|
145385
|
+
"name": "disrupted",
|
|
145386
|
+
"type": {
|
|
145387
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145388
|
+
},
|
|
145389
|
+
"privacy": "public",
|
|
145390
|
+
"default": "null",
|
|
145391
|
+
"description": "Marks the node as disrupted, coloring the bullet red (if rendered).",
|
|
145392
|
+
"attribute": "disrupted"
|
|
145393
|
+
},
|
|
145394
|
+
{
|
|
145395
|
+
"kind": "field",
|
|
145396
|
+
"name": "walk",
|
|
145397
|
+
"type": {
|
|
145398
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145399
|
+
},
|
|
145400
|
+
"privacy": "public",
|
|
145401
|
+
"default": "null",
|
|
145402
|
+
"description": "Marks the node as a walk connection. Does not affect the bullet color.",
|
|
145403
|
+
"attribute": "walk"
|
|
145404
|
+
},
|
|
145405
|
+
{
|
|
145406
|
+
"kind": "field",
|
|
145407
|
+
"name": "unsure",
|
|
145408
|
+
"type": {
|
|
145409
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145410
|
+
},
|
|
145411
|
+
"privacy": "public",
|
|
145412
|
+
"default": "null",
|
|
145413
|
+
"description": "Marks the connection as unsure, rendering the line dashed. Does not affect the bullet.",
|
|
145414
|
+
"attribute": "unsure"
|
|
145415
|
+
},
|
|
145416
|
+
{
|
|
145417
|
+
"kind": "field",
|
|
145418
|
+
"name": "irrelevant",
|
|
145419
|
+
"type": {
|
|
145420
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145421
|
+
},
|
|
145422
|
+
"privacy": "public",
|
|
145423
|
+
"default": "null",
|
|
145424
|
+
"description": "Marks the node as irrelevant, coloring the bullet gray (if rendered); supersedes `disrupted`.",
|
|
145425
|
+
"attribute": "irrelevant"
|
|
145426
|
+
},
|
|
145427
|
+
{
|
|
145428
|
+
"kind": "field",
|
|
145429
|
+
"name": "arrival",
|
|
145430
|
+
"privacy": "public",
|
|
145431
|
+
"description": "The arrival date/time at this node. Accepts ISO 8601 datetime strings.",
|
|
145432
|
+
"type": {
|
|
145433
|
+
"text": "Date | null"
|
|
145434
|
+
},
|
|
145435
|
+
"attribute": "arrival",
|
|
145436
|
+
"default": "null"
|
|
145437
|
+
},
|
|
145438
|
+
{
|
|
145439
|
+
"kind": "field",
|
|
145440
|
+
"name": "_arrival",
|
|
145441
|
+
"type": {
|
|
145442
|
+
"text": "Date | null"
|
|
145443
|
+
},
|
|
145444
|
+
"privacy": "private",
|
|
145445
|
+
"default": "null"
|
|
145446
|
+
},
|
|
145447
|
+
{
|
|
145448
|
+
"kind": "field",
|
|
145449
|
+
"name": "departure",
|
|
145450
|
+
"privacy": "public",
|
|
145451
|
+
"description": "The departure date/time at this node. Accepts ISO 8601 datetime strings.",
|
|
145452
|
+
"type": {
|
|
145453
|
+
"text": "Date | null"
|
|
145454
|
+
},
|
|
145455
|
+
"attribute": "departure",
|
|
145456
|
+
"default": "null"
|
|
145457
|
+
},
|
|
145458
|
+
{
|
|
145459
|
+
"kind": "field",
|
|
145460
|
+
"name": "_departure",
|
|
145461
|
+
"type": {
|
|
145462
|
+
"text": "Date | null"
|
|
145463
|
+
},
|
|
145464
|
+
"privacy": "private",
|
|
145465
|
+
"default": "null"
|
|
145466
|
+
},
|
|
145467
|
+
{
|
|
145468
|
+
"kind": "field",
|
|
145469
|
+
"name": "now",
|
|
145470
|
+
"type": {
|
|
145471
|
+
"text": "Date"
|
|
145472
|
+
},
|
|
145473
|
+
"privacy": "protected",
|
|
145474
|
+
"readonly": true,
|
|
145475
|
+
"default": "new Date()"
|
|
145476
|
+
},
|
|
145477
|
+
{
|
|
145478
|
+
"kind": "field",
|
|
145479
|
+
"name": "_now",
|
|
145480
|
+
"type": {
|
|
145481
|
+
"text": "Date"
|
|
145482
|
+
},
|
|
145483
|
+
"privacy": "private",
|
|
145484
|
+
"default": "new Date()"
|
|
145485
|
+
},
|
|
145486
|
+
{
|
|
145487
|
+
"kind": "field",
|
|
145488
|
+
"name": "svgElem",
|
|
145489
|
+
"type": {
|
|
145490
|
+
"text": "Element | undefined"
|
|
145491
|
+
},
|
|
145492
|
+
"privacy": "protected",
|
|
145493
|
+
"description": "The bullet svg; read by the parent chain to measure the exact bullet position."
|
|
145494
|
+
},
|
|
145495
|
+
{
|
|
145496
|
+
"kind": "field",
|
|
145497
|
+
"name": "_chain",
|
|
145498
|
+
"type": {
|
|
145499
|
+
"text": "SbbPearlChainElement | null"
|
|
145500
|
+
},
|
|
145501
|
+
"privacy": "private",
|
|
145502
|
+
"default": "null"
|
|
145503
|
+
},
|
|
145504
|
+
{
|
|
145505
|
+
"kind": "method",
|
|
145506
|
+
"name": "_isPast",
|
|
145507
|
+
"privacy": "private",
|
|
145508
|
+
"return": {
|
|
145509
|
+
"type": {
|
|
145510
|
+
"text": "boolean"
|
|
145511
|
+
}
|
|
145512
|
+
}
|
|
145513
|
+
},
|
|
145514
|
+
{
|
|
145515
|
+
"kind": "method",
|
|
145516
|
+
"name": "_renderBullet",
|
|
145517
|
+
"privacy": "private",
|
|
145518
|
+
"return": {
|
|
145519
|
+
"type": {
|
|
145520
|
+
"text": "TemplateResult | typeof nothing"
|
|
145521
|
+
}
|
|
145522
|
+
}
|
|
145523
|
+
},
|
|
145524
|
+
{
|
|
145525
|
+
"kind": "field",
|
|
145526
|
+
"name": "['_$sbbElement$']",
|
|
145527
|
+
"type": {
|
|
145528
|
+
"text": "boolean"
|
|
145529
|
+
},
|
|
145530
|
+
"privacy": "public",
|
|
145531
|
+
"static": true,
|
|
145532
|
+
"default": "true",
|
|
145533
|
+
"inheritedFrom": {
|
|
145534
|
+
"name": "SbbElement",
|
|
145535
|
+
"module": "core/base-elements/element.js"
|
|
145536
|
+
}
|
|
145537
|
+
},
|
|
145538
|
+
{
|
|
145539
|
+
"kind": "field",
|
|
145540
|
+
"name": "elementDependencies",
|
|
145541
|
+
"type": {
|
|
145542
|
+
"text": "SbbElementType[] | undefined"
|
|
145543
|
+
},
|
|
145544
|
+
"privacy": "public",
|
|
145545
|
+
"static": true,
|
|
145546
|
+
"inheritedFrom": {
|
|
145547
|
+
"name": "SbbElement",
|
|
145548
|
+
"module": "core/base-elements/element.js"
|
|
145549
|
+
}
|
|
145550
|
+
},
|
|
145551
|
+
{
|
|
145552
|
+
"kind": "field",
|
|
145553
|
+
"name": "role",
|
|
145554
|
+
"type": {
|
|
145555
|
+
"text": "ElementInternals['role'] | undefined"
|
|
145556
|
+
},
|
|
145557
|
+
"privacy": "public",
|
|
145558
|
+
"static": true,
|
|
145559
|
+
"inheritedFrom": {
|
|
145560
|
+
"name": "SbbElement",
|
|
145561
|
+
"module": "core/base-elements/element.js"
|
|
145562
|
+
}
|
|
145563
|
+
},
|
|
145564
|
+
{
|
|
145565
|
+
"kind": "field",
|
|
145566
|
+
"name": "_controllers",
|
|
145567
|
+
"type": {
|
|
145568
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
145569
|
+
},
|
|
145570
|
+
"privacy": "private",
|
|
145571
|
+
"inheritedFrom": {
|
|
145572
|
+
"name": "SbbElement",
|
|
145573
|
+
"module": "core/base-elements/element.js"
|
|
145574
|
+
}
|
|
145575
|
+
},
|
|
145576
|
+
{
|
|
145577
|
+
"kind": "field",
|
|
145578
|
+
"name": "_hydrationRequired",
|
|
145579
|
+
"type": {
|
|
145580
|
+
"text": "boolean"
|
|
145581
|
+
},
|
|
145582
|
+
"privacy": "private",
|
|
145583
|
+
"default": "!!this.shadowRoot",
|
|
145584
|
+
"inheritedFrom": {
|
|
145585
|
+
"name": "SbbElement",
|
|
145586
|
+
"module": "core/base-elements/element.js"
|
|
145587
|
+
}
|
|
145588
|
+
},
|
|
145589
|
+
{
|
|
145590
|
+
"kind": "field",
|
|
145591
|
+
"name": "_hydrationComplete",
|
|
145592
|
+
"privacy": "private",
|
|
145593
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
145594
|
+
"inheritedFrom": {
|
|
145595
|
+
"name": "SbbElement",
|
|
145596
|
+
"module": "core/base-elements/element.js"
|
|
145597
|
+
}
|
|
145598
|
+
},
|
|
145599
|
+
{
|
|
145600
|
+
"kind": "field",
|
|
145601
|
+
"name": "_resolveHydration",
|
|
145602
|
+
"type": {
|
|
145603
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
145604
|
+
},
|
|
145605
|
+
"privacy": "private",
|
|
145606
|
+
"inheritedFrom": {
|
|
145607
|
+
"name": "SbbElement",
|
|
145608
|
+
"module": "core/base-elements/element.js"
|
|
145609
|
+
}
|
|
145610
|
+
},
|
|
145611
|
+
{
|
|
145612
|
+
"kind": "field",
|
|
145613
|
+
"name": "_textObserver",
|
|
145614
|
+
"type": {
|
|
145615
|
+
"text": "MutationObserver | undefined"
|
|
145616
|
+
},
|
|
145617
|
+
"privacy": "private",
|
|
145618
|
+
"inheritedFrom": {
|
|
145619
|
+
"name": "SbbElement",
|
|
145620
|
+
"module": "core/base-elements/element.js"
|
|
145621
|
+
}
|
|
145622
|
+
},
|
|
145623
|
+
{
|
|
145624
|
+
"kind": "field",
|
|
145625
|
+
"name": "hydrationRequired",
|
|
145626
|
+
"type": {
|
|
145627
|
+
"text": "boolean"
|
|
145628
|
+
},
|
|
145629
|
+
"privacy": "protected",
|
|
145630
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
145631
|
+
"readonly": true,
|
|
145632
|
+
"inheritedFrom": {
|
|
145633
|
+
"name": "SbbElement",
|
|
145634
|
+
"module": "core/base-elements/element.js"
|
|
145635
|
+
},
|
|
145636
|
+
"default": "!!this.shadowRoot"
|
|
145637
|
+
},
|
|
145638
|
+
{
|
|
145639
|
+
"kind": "method",
|
|
145640
|
+
"name": "finalizeStyles",
|
|
145641
|
+
"privacy": "protected",
|
|
145642
|
+
"static": true,
|
|
145643
|
+
"return": {
|
|
145644
|
+
"type": {
|
|
145645
|
+
"text": "CSSResultOrNative[]"
|
|
145646
|
+
}
|
|
145647
|
+
},
|
|
145648
|
+
"parameters": [
|
|
145649
|
+
{
|
|
145650
|
+
"name": "_styles",
|
|
145651
|
+
"type": {
|
|
145652
|
+
"text": "CSSResultGroup"
|
|
145653
|
+
}
|
|
145654
|
+
}
|
|
145655
|
+
],
|
|
145656
|
+
"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.",
|
|
145657
|
+
"inheritedFrom": {
|
|
145658
|
+
"name": "SbbElement",
|
|
145659
|
+
"module": "core/base-elements/element.js"
|
|
145660
|
+
}
|
|
145661
|
+
},
|
|
145662
|
+
{
|
|
145663
|
+
"kind": "method",
|
|
145664
|
+
"name": "toggleState",
|
|
145665
|
+
"privacy": "protected",
|
|
145666
|
+
"return": {
|
|
145667
|
+
"type": {
|
|
145668
|
+
"text": "void"
|
|
145669
|
+
}
|
|
145670
|
+
},
|
|
145671
|
+
"parameters": [
|
|
145672
|
+
{
|
|
145673
|
+
"name": "value",
|
|
145674
|
+
"type": {
|
|
145675
|
+
"text": "string"
|
|
145676
|
+
}
|
|
145677
|
+
},
|
|
145678
|
+
{
|
|
145679
|
+
"name": "force",
|
|
145680
|
+
"optional": true,
|
|
145681
|
+
"type": {
|
|
145682
|
+
"text": "boolean"
|
|
145683
|
+
}
|
|
145684
|
+
}
|
|
145685
|
+
],
|
|
145686
|
+
"inheritedFrom": {
|
|
145687
|
+
"name": "SbbElement",
|
|
145688
|
+
"module": "core/base-elements/element.js"
|
|
145689
|
+
}
|
|
145690
|
+
},
|
|
145691
|
+
{
|
|
145692
|
+
"kind": "method",
|
|
145693
|
+
"name": "_slotchangeHandler",
|
|
145694
|
+
"privacy": "private",
|
|
145695
|
+
"return": {
|
|
145696
|
+
"type": {
|
|
145697
|
+
"text": "void"
|
|
145698
|
+
}
|
|
145699
|
+
},
|
|
145700
|
+
"parameters": [
|
|
145701
|
+
{
|
|
145702
|
+
"name": "event",
|
|
145703
|
+
"type": {
|
|
145704
|
+
"text": "Event"
|
|
145705
|
+
}
|
|
145706
|
+
},
|
|
145707
|
+
{
|
|
145708
|
+
"name": "slot",
|
|
145709
|
+
"type": {
|
|
145710
|
+
"text": "HTMLSlotElement"
|
|
145711
|
+
}
|
|
145712
|
+
}
|
|
145713
|
+
],
|
|
145714
|
+
"inheritedFrom": {
|
|
145715
|
+
"name": "SbbElement",
|
|
145716
|
+
"module": "core/base-elements/element.js"
|
|
145717
|
+
}
|
|
145718
|
+
},
|
|
145719
|
+
{
|
|
145720
|
+
"kind": "method",
|
|
145721
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
145722
|
+
"privacy": "private",
|
|
145723
|
+
"return": {
|
|
145724
|
+
"type": {
|
|
145725
|
+
"text": "void"
|
|
145726
|
+
}
|
|
145727
|
+
},
|
|
145728
|
+
"parameters": [
|
|
145729
|
+
{
|
|
145730
|
+
"name": "slot",
|
|
145731
|
+
"type": {
|
|
145732
|
+
"text": "HTMLSlotElement"
|
|
145733
|
+
}
|
|
145734
|
+
}
|
|
145735
|
+
],
|
|
145736
|
+
"inheritedFrom": {
|
|
145737
|
+
"name": "SbbElement",
|
|
145738
|
+
"module": "core/base-elements/element.js"
|
|
145739
|
+
}
|
|
145740
|
+
},
|
|
145741
|
+
{
|
|
145742
|
+
"kind": "method",
|
|
145743
|
+
"name": "_updateSlottedState",
|
|
145744
|
+
"privacy": "private",
|
|
145745
|
+
"return": {
|
|
145746
|
+
"type": {
|
|
145747
|
+
"text": "void"
|
|
145748
|
+
}
|
|
145749
|
+
},
|
|
145750
|
+
"parameters": [
|
|
145751
|
+
{
|
|
145752
|
+
"name": "slot",
|
|
145753
|
+
"type": {
|
|
145754
|
+
"text": "HTMLSlotElement"
|
|
145755
|
+
}
|
|
145756
|
+
}
|
|
145757
|
+
],
|
|
145758
|
+
"inheritedFrom": {
|
|
145759
|
+
"name": "SbbElement",
|
|
145760
|
+
"module": "core/base-elements/element.js"
|
|
145761
|
+
}
|
|
145762
|
+
},
|
|
145763
|
+
{
|
|
145764
|
+
"kind": "method",
|
|
145765
|
+
"name": "_observeTextNodesInSlot",
|
|
145766
|
+
"privacy": "private",
|
|
145767
|
+
"return": {
|
|
145768
|
+
"type": {
|
|
145769
|
+
"text": "void"
|
|
145770
|
+
}
|
|
145771
|
+
},
|
|
145772
|
+
"parameters": [
|
|
145773
|
+
{
|
|
145774
|
+
"name": "slot",
|
|
145775
|
+
"type": {
|
|
145776
|
+
"text": "HTMLSlotElement"
|
|
145777
|
+
}
|
|
145778
|
+
}
|
|
145779
|
+
],
|
|
145780
|
+
"inheritedFrom": {
|
|
145781
|
+
"name": "SbbElement",
|
|
145782
|
+
"module": "core/base-elements/element.js"
|
|
145783
|
+
}
|
|
145784
|
+
},
|
|
145785
|
+
{
|
|
145786
|
+
"kind": "method",
|
|
145787
|
+
"name": "_hasSlottedContent",
|
|
145788
|
+
"privacy": "private",
|
|
145789
|
+
"return": {
|
|
145790
|
+
"type": {
|
|
145791
|
+
"text": "boolean"
|
|
145792
|
+
}
|
|
145793
|
+
},
|
|
145794
|
+
"parameters": [
|
|
145795
|
+
{
|
|
145796
|
+
"name": "slot",
|
|
145797
|
+
"type": {
|
|
145798
|
+
"text": "HTMLSlotElement"
|
|
145799
|
+
}
|
|
145800
|
+
}
|
|
145801
|
+
],
|
|
145802
|
+
"inheritedFrom": {
|
|
145803
|
+
"name": "SbbElement",
|
|
145804
|
+
"module": "core/base-elements/element.js"
|
|
145805
|
+
}
|
|
145806
|
+
}
|
|
145807
|
+
],
|
|
145808
|
+
"attributes": [
|
|
145809
|
+
{
|
|
145810
|
+
"name": "type",
|
|
145811
|
+
"type": {
|
|
145812
|
+
"text": "SbbPearlChainNodeType | null",
|
|
145813
|
+
"resolved": "'start' | 'end' | 'stop' | 'skip' | 'commercial' | 'boarding' | 'alighting' | 'exceptional' | 'exceptional-skip' | 'exceptional-boarding' | 'exceptional-alighting' | 'stop-duty' | 'stop-on-demand' | 'boarding-on-demand' | 'alighting-on-demand' | null"
|
|
145814
|
+
},
|
|
145815
|
+
"default": "null",
|
|
145816
|
+
"description": "Decides how the bullet is rendered. Defaults to _empty_ (no bullet).",
|
|
145817
|
+
"fieldName": "type"
|
|
145818
|
+
},
|
|
145819
|
+
{
|
|
145820
|
+
"name": "disrupted",
|
|
145821
|
+
"type": {
|
|
145822
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145823
|
+
},
|
|
145824
|
+
"default": "null",
|
|
145825
|
+
"description": "Marks the node as disrupted, coloring the bullet red (if rendered).",
|
|
145826
|
+
"fieldName": "disrupted"
|
|
145827
|
+
},
|
|
145828
|
+
{
|
|
145829
|
+
"name": "walk",
|
|
145830
|
+
"type": {
|
|
145831
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145832
|
+
},
|
|
145833
|
+
"default": "null",
|
|
145834
|
+
"description": "Marks the node as a walk connection. Does not affect the bullet color.",
|
|
145835
|
+
"fieldName": "walk"
|
|
145836
|
+
},
|
|
145837
|
+
{
|
|
145838
|
+
"name": "unsure",
|
|
145839
|
+
"type": {
|
|
145840
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145841
|
+
},
|
|
145842
|
+
"default": "null",
|
|
145843
|
+
"description": "Marks the connection as unsure, rendering the line dashed. Does not affect the bullet.",
|
|
145844
|
+
"fieldName": "unsure"
|
|
145845
|
+
},
|
|
145846
|
+
{
|
|
145847
|
+
"name": "irrelevant",
|
|
145848
|
+
"type": {
|
|
145849
|
+
"text": "'arrival' | 'departure' | true | null"
|
|
145850
|
+
},
|
|
145851
|
+
"default": "null",
|
|
145852
|
+
"description": "Marks the node as irrelevant, coloring the bullet gray (if rendered); supersedes `disrupted`.",
|
|
145853
|
+
"fieldName": "irrelevant"
|
|
145854
|
+
},
|
|
145855
|
+
{
|
|
145856
|
+
"name": "arrival",
|
|
145857
|
+
"description": "The arrival date/time at this node. Accepts ISO 8601 datetime strings.",
|
|
145858
|
+
"type": {
|
|
145859
|
+
"text": "Date | null"
|
|
145860
|
+
},
|
|
145861
|
+
"fieldName": "arrival"
|
|
145862
|
+
},
|
|
145863
|
+
{
|
|
145864
|
+
"name": "departure",
|
|
145865
|
+
"description": "The departure date/time at this node. Accepts ISO 8601 datetime strings.",
|
|
145866
|
+
"type": {
|
|
145867
|
+
"text": "Date | null"
|
|
145868
|
+
},
|
|
145869
|
+
"fieldName": "departure"
|
|
145870
|
+
}
|
|
145871
|
+
],
|
|
145872
|
+
"superclass": {
|
|
145873
|
+
"name": "SbbElement",
|
|
145874
|
+
"module": "core.js"
|
|
145875
|
+
},
|
|
145876
|
+
"tagName": "sbb-pearl-chain-node",
|
|
145877
|
+
"customElement": true
|
|
145878
|
+
}
|
|
145879
|
+
],
|
|
145880
|
+
"exports": [
|
|
145881
|
+
{
|
|
145882
|
+
"kind": "js",
|
|
145883
|
+
"name": "SbbPearlChainNodeElement",
|
|
145884
|
+
"declaration": {
|
|
145885
|
+
"name": "SbbPearlChainNodeElement",
|
|
145886
|
+
"module": "pearl-chain/pearl-chain-node/pearl-chain-node.component.js"
|
|
145887
|
+
}
|
|
145888
|
+
}
|
|
145889
|
+
]
|
|
145890
|
+
},
|
|
145891
|
+
{
|
|
145892
|
+
"kind": "javascript-module",
|
|
145893
|
+
"path": "pearl-chain.pure.js",
|
|
145894
|
+
"declarations": [],
|
|
145895
|
+
"exports": [
|
|
145896
|
+
{
|
|
145897
|
+
"kind": "js",
|
|
145898
|
+
"name": "*",
|
|
145899
|
+
"declaration": {
|
|
145900
|
+
"name": "*",
|
|
145901
|
+
"module": "pearl-chain/pearl-chain-node/pearl-chain-node.component.js"
|
|
145902
|
+
}
|
|
145903
|
+
},
|
|
145904
|
+
{
|
|
145905
|
+
"kind": "js",
|
|
145906
|
+
"name": "*",
|
|
145907
|
+
"declaration": {
|
|
145908
|
+
"name": "*",
|
|
145909
|
+
"module": "pearl-chain/pearl-chain/pearl-chain.component.js"
|
|
145910
|
+
}
|
|
145911
|
+
}
|
|
145912
|
+
]
|
|
145913
|
+
},
|
|
145914
|
+
{
|
|
145915
|
+
"kind": "javascript-module",
|
|
145916
|
+
"path": "pearl-chain.js",
|
|
145917
|
+
"declarations": [],
|
|
145918
|
+
"exports": [
|
|
145919
|
+
{
|
|
145920
|
+
"kind": "js",
|
|
145921
|
+
"name": "*",
|
|
145922
|
+
"declaration": {
|
|
145923
|
+
"name": "*",
|
|
145924
|
+
"module": "pearl-chain.pure.js"
|
|
145925
|
+
}
|
|
145926
|
+
}
|
|
145927
|
+
]
|
|
145928
|
+
},
|
|
144705
145929
|
{
|
|
144706
145930
|
"kind": "javascript-module",
|
|
144707
145931
|
"path": "popover.js",
|
|
@@ -169571,7 +170795,7 @@
|
|
|
169571
170795
|
"name": "position",
|
|
169572
170796
|
"type": {
|
|
169573
170797
|
"text": "SbbToastPosition",
|
|
169574
|
-
"resolved": "'top-
|
|
170798
|
+
"resolved": "'top-start' | 'top-end' | 'top-left' | 'top-center' | 'top-right' | 'bottom-start' | 'bottom-end' | 'bottom-left' | 'bottom-center' | 'bottom-right'"
|
|
169575
170799
|
},
|
|
169576
170800
|
"privacy": "public",
|
|
169577
170801
|
"default": "'bottom-center'",
|
|
@@ -170263,7 +171487,7 @@
|
|
|
170263
171487
|
"name": "position",
|
|
170264
171488
|
"type": {
|
|
170265
171489
|
"text": "SbbToastPosition",
|
|
170266
|
-
"resolved": "'top-
|
|
171490
|
+
"resolved": "'top-start' | 'top-end' | 'top-left' | 'top-center' | 'top-right' | 'bottom-start' | 'bottom-end' | 'bottom-left' | 'bottom-center' | 'bottom-right'"
|
|
170267
171491
|
},
|
|
170268
171492
|
"default": "'bottom-center'",
|
|
170269
171493
|
"description": "The position where to place the toast.",
|