@sbb-esta/lyne-elements-experimental-dev 4.13.0-dev.1780899835 → 4.13.0-dev.1780925802
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 +317 -317
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -498,52 +498,6 @@
|
|
|
498
498
|
}
|
|
499
499
|
]
|
|
500
500
|
},
|
|
501
|
-
{
|
|
502
|
-
"kind": "javascript-module",
|
|
503
|
-
"path": "core/datetime.js",
|
|
504
|
-
"declarations": [],
|
|
505
|
-
"exports": [
|
|
506
|
-
{
|
|
507
|
-
"kind": "js",
|
|
508
|
-
"name": "*",
|
|
509
|
-
"declaration": {
|
|
510
|
-
"name": "*",
|
|
511
|
-
"module": "core/datetime/date-helper.js"
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
]
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"kind": "javascript-module",
|
|
518
|
-
"path": "core/timetable.js",
|
|
519
|
-
"declarations": [],
|
|
520
|
-
"exports": [
|
|
521
|
-
{
|
|
522
|
-
"kind": "js",
|
|
523
|
-
"name": "*",
|
|
524
|
-
"declaration": {
|
|
525
|
-
"name": "*",
|
|
526
|
-
"module": "core/timetable/access-leg-helper.js"
|
|
527
|
-
}
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
"kind": "js",
|
|
531
|
-
"name": "*",
|
|
532
|
-
"declaration": {
|
|
533
|
-
"name": "*",
|
|
534
|
-
"module": "core/timetable/timetable-helper.js"
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"kind": "js",
|
|
539
|
-
"name": "*",
|
|
540
|
-
"declaration": {
|
|
541
|
-
"name": "*",
|
|
542
|
-
"module": "core/timetable/timetable-properties.js"
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
]
|
|
546
|
-
},
|
|
547
501
|
{
|
|
548
502
|
"kind": "javascript-module",
|
|
549
503
|
"path": "journey-summary/journey-summary.component.js",
|
|
@@ -818,12 +772,58 @@
|
|
|
818
772
|
},
|
|
819
773
|
{
|
|
820
774
|
"kind": "javascript-module",
|
|
821
|
-
"path": "
|
|
775
|
+
"path": "core/datetime.js",
|
|
776
|
+
"declarations": [],
|
|
777
|
+
"exports": [
|
|
778
|
+
{
|
|
779
|
+
"kind": "js",
|
|
780
|
+
"name": "*",
|
|
781
|
+
"declaration": {
|
|
782
|
+
"name": "*",
|
|
783
|
+
"module": "core/datetime/date-helper.js"
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
]
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"kind": "javascript-module",
|
|
790
|
+
"path": "core/timetable.js",
|
|
791
|
+
"declarations": [],
|
|
792
|
+
"exports": [
|
|
793
|
+
{
|
|
794
|
+
"kind": "js",
|
|
795
|
+
"name": "*",
|
|
796
|
+
"declaration": {
|
|
797
|
+
"name": "*",
|
|
798
|
+
"module": "core/timetable/access-leg-helper.js"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"kind": "js",
|
|
803
|
+
"name": "*",
|
|
804
|
+
"declaration": {
|
|
805
|
+
"name": "*",
|
|
806
|
+
"module": "core/timetable/timetable-helper.js"
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"kind": "js",
|
|
811
|
+
"name": "*",
|
|
812
|
+
"declaration": {
|
|
813
|
+
"name": "*",
|
|
814
|
+
"module": "core/timetable/timetable-properties.js"
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
]
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"kind": "javascript-module",
|
|
821
|
+
"path": "pearl-chain-time/pearl-chain-time.component.js",
|
|
822
822
|
"declarations": [
|
|
823
823
|
{
|
|
824
824
|
"kind": "class",
|
|
825
|
-
"description": "
|
|
826
|
-
"name": "
|
|
825
|
+
"description": "Combined with `sbb-pearl-chain`, it displays walk time information.",
|
|
826
|
+
"name": "SbbPearlChainTimeElement",
|
|
827
827
|
"members": [
|
|
828
828
|
{
|
|
829
829
|
"kind": "field",
|
|
@@ -834,7 +834,7 @@
|
|
|
834
834
|
"privacy": "public",
|
|
835
835
|
"static": true,
|
|
836
836
|
"readonly": true,
|
|
837
|
-
"default": "'sbb-pearl-chain'"
|
|
837
|
+
"default": "'sbb-pearl-chain-time'"
|
|
838
838
|
},
|
|
839
839
|
{
|
|
840
840
|
"kind": "field",
|
|
@@ -844,9 +844,53 @@
|
|
|
844
844
|
},
|
|
845
845
|
"privacy": "public",
|
|
846
846
|
"default": "[]",
|
|
847
|
-
"description": "
|
|
847
|
+
"description": "define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
848
848
|
"attribute": "legs"
|
|
849
849
|
},
|
|
850
|
+
{
|
|
851
|
+
"kind": "field",
|
|
852
|
+
"name": "departureTime",
|
|
853
|
+
"type": {
|
|
854
|
+
"text": "string"
|
|
855
|
+
},
|
|
856
|
+
"privacy": "public",
|
|
857
|
+
"default": "''",
|
|
858
|
+
"description": "Prop to render the departure time - will be formatted as \"H:mm\"",
|
|
859
|
+
"attribute": "departure-time"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"kind": "field",
|
|
863
|
+
"name": "arrivalTime",
|
|
864
|
+
"type": {
|
|
865
|
+
"text": "string"
|
|
866
|
+
},
|
|
867
|
+
"privacy": "public",
|
|
868
|
+
"default": "''",
|
|
869
|
+
"description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
|
|
870
|
+
"attribute": "arrival-time"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"kind": "field",
|
|
874
|
+
"name": "departureWalk",
|
|
875
|
+
"type": {
|
|
876
|
+
"text": "number"
|
|
877
|
+
},
|
|
878
|
+
"privacy": "public",
|
|
879
|
+
"default": "NaN",
|
|
880
|
+
"description": "Optional prop to render the walk time (in minutes) before departure",
|
|
881
|
+
"attribute": "departure-walk"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"kind": "field",
|
|
885
|
+
"name": "arrivalWalk",
|
|
886
|
+
"type": {
|
|
887
|
+
"text": "number"
|
|
888
|
+
},
|
|
889
|
+
"privacy": "public",
|
|
890
|
+
"default": "NaN",
|
|
891
|
+
"description": "Optional prop to render the walk time (in minutes) after arrival",
|
|
892
|
+
"attribute": "arrival-walk"
|
|
893
|
+
},
|
|
850
894
|
{
|
|
851
895
|
"kind": "field",
|
|
852
896
|
"name": "disableAnimation",
|
|
@@ -858,13 +902,24 @@
|
|
|
858
902
|
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
859
903
|
"attribute": "disable-animation"
|
|
860
904
|
},
|
|
905
|
+
{
|
|
906
|
+
"kind": "field",
|
|
907
|
+
"name": "a11yFootpath",
|
|
908
|
+
"type": {
|
|
909
|
+
"text": "boolean"
|
|
910
|
+
},
|
|
911
|
+
"privacy": "public",
|
|
912
|
+
"default": "false",
|
|
913
|
+
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
914
|
+
"attribute": "a11y-footpath"
|
|
915
|
+
},
|
|
861
916
|
{
|
|
862
917
|
"kind": "field",
|
|
863
918
|
"name": "now",
|
|
864
919
|
"privacy": "public",
|
|
865
920
|
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
866
921
|
"type": {
|
|
867
|
-
"text": "Date
|
|
922
|
+
"text": "Date"
|
|
868
923
|
},
|
|
869
924
|
"attribute": "now",
|
|
870
925
|
"default": "null"
|
|
@@ -879,171 +934,57 @@
|
|
|
879
934
|
"default": "null"
|
|
880
935
|
},
|
|
881
936
|
{
|
|
882
|
-
"kind": "
|
|
883
|
-
"name": "
|
|
937
|
+
"kind": "field",
|
|
938
|
+
"name": "_language",
|
|
884
939
|
"privacy": "private",
|
|
885
|
-
"
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
940
|
+
"default": "new SbbLanguageController(this)"
|
|
941
|
+
}
|
|
942
|
+
],
|
|
943
|
+
"attributes": [
|
|
944
|
+
{
|
|
945
|
+
"name": "legs",
|
|
946
|
+
"type": {
|
|
947
|
+
"text": "(Leg | PtRideLeg)[]"
|
|
889
948
|
},
|
|
890
|
-
"
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
"type": {
|
|
894
|
-
"text": "PtRideLeg[]"
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
]
|
|
949
|
+
"default": "[]",
|
|
950
|
+
"description": "define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
951
|
+
"fieldName": "legs"
|
|
898
952
|
},
|
|
899
953
|
{
|
|
900
|
-
"
|
|
901
|
-
"
|
|
902
|
-
|
|
903
|
-
"return": {
|
|
904
|
-
"type": {
|
|
905
|
-
"text": "boolean"
|
|
906
|
-
}
|
|
954
|
+
"name": "departure-time",
|
|
955
|
+
"type": {
|
|
956
|
+
"text": "string"
|
|
907
957
|
},
|
|
908
|
-
"
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
"type": {
|
|
912
|
-
"text": "PtRideLeg[]"
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
]
|
|
958
|
+
"default": "''",
|
|
959
|
+
"description": "Prop to render the departure time - will be formatted as \"H:mm\"",
|
|
960
|
+
"fieldName": "departureTime"
|
|
916
961
|
},
|
|
917
962
|
{
|
|
918
|
-
"
|
|
919
|
-
"
|
|
920
|
-
|
|
921
|
-
"return": {
|
|
922
|
-
"type": {
|
|
923
|
-
"text": "number"
|
|
924
|
-
}
|
|
963
|
+
"name": "arrival-time",
|
|
964
|
+
"type": {
|
|
965
|
+
"text": "string"
|
|
925
966
|
},
|
|
926
|
-
"
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
"type": {
|
|
930
|
-
"text": "PtRideLeg[]"
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
"name": "leg",
|
|
935
|
-
"type": {
|
|
936
|
-
"text": "PtRideLeg"
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
]
|
|
967
|
+
"default": "''",
|
|
968
|
+
"description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
|
|
969
|
+
"fieldName": "arrivalTime"
|
|
940
970
|
},
|
|
941
971
|
{
|
|
942
|
-
"
|
|
943
|
-
"
|
|
944
|
-
|
|
945
|
-
"return": {
|
|
946
|
-
"type": {
|
|
947
|
-
"text": "number"
|
|
948
|
-
}
|
|
972
|
+
"name": "departure-walk",
|
|
973
|
+
"type": {
|
|
974
|
+
"text": "number"
|
|
949
975
|
},
|
|
950
|
-
"
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
"type": {
|
|
954
|
-
"text": "Date"
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
"name": "start",
|
|
959
|
-
"optional": true,
|
|
960
|
-
"type": {
|
|
961
|
-
"text": "Time"
|
|
962
|
-
}
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
"name": "end",
|
|
966
|
-
"optional": true,
|
|
967
|
-
"type": {
|
|
968
|
-
"text": "Time"
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
]
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
"kind": "method",
|
|
975
|
-
"name": "_getStatus",
|
|
976
|
-
"privacy": "private",
|
|
977
|
-
"return": {
|
|
978
|
-
"type": {
|
|
979
|
-
"text": "Status"
|
|
980
|
-
}
|
|
981
|
-
},
|
|
982
|
-
"parameters": [
|
|
983
|
-
{
|
|
984
|
-
"name": "now",
|
|
985
|
-
"type": {
|
|
986
|
-
"text": "Date"
|
|
987
|
-
}
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
"name": "start",
|
|
991
|
-
"optional": true,
|
|
992
|
-
"type": {
|
|
993
|
-
"text": "Time"
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"name": "end",
|
|
998
|
-
"optional": true,
|
|
999
|
-
"type": {
|
|
1000
|
-
"text": "Time"
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
]
|
|
976
|
+
"default": "NaN",
|
|
977
|
+
"description": "Optional prop to render the walk time (in minutes) before departure",
|
|
978
|
+
"fieldName": "departureWalk"
|
|
1004
979
|
},
|
|
1005
980
|
{
|
|
1006
|
-
"
|
|
1007
|
-
"name": "_renderPosition",
|
|
1008
|
-
"privacy": "private",
|
|
1009
|
-
"return": {
|
|
1010
|
-
"type": {
|
|
1011
|
-
"text": "TemplateResult | undefined"
|
|
1012
|
-
}
|
|
1013
|
-
},
|
|
1014
|
-
"parameters": [
|
|
1015
|
-
{
|
|
1016
|
-
"name": "now",
|
|
1017
|
-
"type": {
|
|
1018
|
-
"text": "Date"
|
|
1019
|
-
}
|
|
1020
|
-
},
|
|
1021
|
-
{
|
|
1022
|
-
"name": "start",
|
|
1023
|
-
"optional": true,
|
|
1024
|
-
"type": {
|
|
1025
|
-
"text": "Time"
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"name": "end",
|
|
1030
|
-
"optional": true,
|
|
1031
|
-
"type": {
|
|
1032
|
-
"text": "Time"
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
]
|
|
1036
|
-
}
|
|
1037
|
-
],
|
|
1038
|
-
"attributes": [
|
|
1039
|
-
{
|
|
1040
|
-
"name": "legs",
|
|
981
|
+
"name": "arrival-walk",
|
|
1041
982
|
"type": {
|
|
1042
|
-
"text": "
|
|
983
|
+
"text": "number"
|
|
1043
984
|
},
|
|
1044
|
-
"default": "
|
|
1045
|
-
"description": "
|
|
1046
|
-
"fieldName": "
|
|
985
|
+
"default": "NaN",
|
|
986
|
+
"description": "Optional prop to render the walk time (in minutes) after arrival",
|
|
987
|
+
"fieldName": "arrivalWalk"
|
|
1047
988
|
},
|
|
1048
989
|
{
|
|
1049
990
|
"name": "disable-animation",
|
|
@@ -1054,11 +995,20 @@
|
|
|
1054
995
|
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
1055
996
|
"fieldName": "disableAnimation"
|
|
1056
997
|
},
|
|
998
|
+
{
|
|
999
|
+
"name": "a11y-footpath",
|
|
1000
|
+
"type": {
|
|
1001
|
+
"text": "boolean"
|
|
1002
|
+
},
|
|
1003
|
+
"default": "false",
|
|
1004
|
+
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
1005
|
+
"fieldName": "a11yFootpath"
|
|
1006
|
+
},
|
|
1057
1007
|
{
|
|
1058
1008
|
"name": "now",
|
|
1059
1009
|
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
1060
1010
|
"type": {
|
|
1061
|
-
"text": "Date
|
|
1011
|
+
"text": "Date"
|
|
1062
1012
|
},
|
|
1063
1013
|
"fieldName": "now"
|
|
1064
1014
|
}
|
|
@@ -1067,29 +1017,29 @@
|
|
|
1067
1017
|
"name": "SbbElement",
|
|
1068
1018
|
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
1069
1019
|
},
|
|
1070
|
-
"tagName": "sbb-pearl-chain",
|
|
1020
|
+
"tagName": "sbb-pearl-chain-time",
|
|
1071
1021
|
"customElement": true
|
|
1072
1022
|
}
|
|
1073
1023
|
],
|
|
1074
1024
|
"exports": [
|
|
1075
1025
|
{
|
|
1076
1026
|
"kind": "js",
|
|
1077
|
-
"name": "
|
|
1027
|
+
"name": "SbbPearlChainTimeElement",
|
|
1078
1028
|
"declaration": {
|
|
1079
|
-
"name": "
|
|
1080
|
-
"module": "pearl-chain/pearl-chain.component.js"
|
|
1029
|
+
"name": "SbbPearlChainTimeElement",
|
|
1030
|
+
"module": "pearl-chain-time/pearl-chain-time.component.js"
|
|
1081
1031
|
}
|
|
1082
1032
|
}
|
|
1083
1033
|
]
|
|
1084
1034
|
},
|
|
1085
1035
|
{
|
|
1086
1036
|
"kind": "javascript-module",
|
|
1087
|
-
"path": "pearl-chain
|
|
1037
|
+
"path": "pearl-chain/pearl-chain.component.js",
|
|
1088
1038
|
"declarations": [
|
|
1089
1039
|
{
|
|
1090
1040
|
"kind": "class",
|
|
1091
|
-
"description": "
|
|
1092
|
-
"name": "
|
|
1041
|
+
"description": "It visually displays journey information.",
|
|
1042
|
+
"name": "SbbPearlChainElement",
|
|
1093
1043
|
"members": [
|
|
1094
1044
|
{
|
|
1095
1045
|
"kind": "field",
|
|
@@ -1100,7 +1050,7 @@
|
|
|
1100
1050
|
"privacy": "public",
|
|
1101
1051
|
"static": true,
|
|
1102
1052
|
"readonly": true,
|
|
1103
|
-
"default": "'sbb-pearl-chain
|
|
1053
|
+
"default": "'sbb-pearl-chain'"
|
|
1104
1054
|
},
|
|
1105
1055
|
{
|
|
1106
1056
|
"kind": "field",
|
|
@@ -1110,53 +1060,9 @@
|
|
|
1110
1060
|
},
|
|
1111
1061
|
"privacy": "public",
|
|
1112
1062
|
"default": "[]",
|
|
1113
|
-
"description": "
|
|
1063
|
+
"description": "Define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
1114
1064
|
"attribute": "legs"
|
|
1115
1065
|
},
|
|
1116
|
-
{
|
|
1117
|
-
"kind": "field",
|
|
1118
|
-
"name": "departureTime",
|
|
1119
|
-
"type": {
|
|
1120
|
-
"text": "string"
|
|
1121
|
-
},
|
|
1122
|
-
"privacy": "public",
|
|
1123
|
-
"default": "''",
|
|
1124
|
-
"description": "Prop to render the departure time - will be formatted as \"H:mm\"",
|
|
1125
|
-
"attribute": "departure-time"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"kind": "field",
|
|
1129
|
-
"name": "arrivalTime",
|
|
1130
|
-
"type": {
|
|
1131
|
-
"text": "string"
|
|
1132
|
-
},
|
|
1133
|
-
"privacy": "public",
|
|
1134
|
-
"default": "''",
|
|
1135
|
-
"description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
|
|
1136
|
-
"attribute": "arrival-time"
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
"kind": "field",
|
|
1140
|
-
"name": "departureWalk",
|
|
1141
|
-
"type": {
|
|
1142
|
-
"text": "number"
|
|
1143
|
-
},
|
|
1144
|
-
"privacy": "public",
|
|
1145
|
-
"default": "NaN",
|
|
1146
|
-
"description": "Optional prop to render the walk time (in minutes) before departure",
|
|
1147
|
-
"attribute": "departure-walk"
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"kind": "field",
|
|
1151
|
-
"name": "arrivalWalk",
|
|
1152
|
-
"type": {
|
|
1153
|
-
"text": "number"
|
|
1154
|
-
},
|
|
1155
|
-
"privacy": "public",
|
|
1156
|
-
"default": "NaN",
|
|
1157
|
-
"description": "Optional prop to render the walk time (in minutes) after arrival",
|
|
1158
|
-
"attribute": "arrival-walk"
|
|
1159
|
-
},
|
|
1160
1066
|
{
|
|
1161
1067
|
"kind": "field",
|
|
1162
1068
|
"name": "disableAnimation",
|
|
@@ -1168,24 +1074,13 @@
|
|
|
1168
1074
|
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
1169
1075
|
"attribute": "disable-animation"
|
|
1170
1076
|
},
|
|
1171
|
-
{
|
|
1172
|
-
"kind": "field",
|
|
1173
|
-
"name": "a11yFootpath",
|
|
1174
|
-
"type": {
|
|
1175
|
-
"text": "boolean"
|
|
1176
|
-
},
|
|
1177
|
-
"privacy": "public",
|
|
1178
|
-
"default": "false",
|
|
1179
|
-
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
1180
|
-
"attribute": "a11y-footpath"
|
|
1181
|
-
},
|
|
1182
1077
|
{
|
|
1183
1078
|
"kind": "field",
|
|
1184
1079
|
"name": "now",
|
|
1185
1080
|
"privacy": "public",
|
|
1186
1081
|
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
1187
1082
|
"type": {
|
|
1188
|
-
"text": "Date"
|
|
1083
|
+
"text": "Date | null"
|
|
1189
1084
|
},
|
|
1190
1085
|
"attribute": "now",
|
|
1191
1086
|
"default": "null"
|
|
@@ -1200,57 +1095,171 @@
|
|
|
1200
1095
|
"default": "null"
|
|
1201
1096
|
},
|
|
1202
1097
|
{
|
|
1203
|
-
"kind": "
|
|
1204
|
-
"name": "
|
|
1098
|
+
"kind": "method",
|
|
1099
|
+
"name": "_getAllDuration",
|
|
1205
1100
|
"privacy": "private",
|
|
1206
|
-
"
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1101
|
+
"return": {
|
|
1102
|
+
"type": {
|
|
1103
|
+
"text": "number"
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
"parameters": [
|
|
1107
|
+
{
|
|
1108
|
+
"name": "legs",
|
|
1109
|
+
"type": {
|
|
1110
|
+
"text": "PtRideLeg[]"
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
]
|
|
1114
|
+
},
|
|
1210
1115
|
{
|
|
1211
|
-
"
|
|
1212
|
-
"
|
|
1213
|
-
|
|
1116
|
+
"kind": "method",
|
|
1117
|
+
"name": "_isAllCancelled",
|
|
1118
|
+
"privacy": "private",
|
|
1119
|
+
"return": {
|
|
1120
|
+
"type": {
|
|
1121
|
+
"text": "boolean"
|
|
1122
|
+
}
|
|
1214
1123
|
},
|
|
1215
|
-
"
|
|
1216
|
-
|
|
1217
|
-
|
|
1124
|
+
"parameters": [
|
|
1125
|
+
{
|
|
1126
|
+
"name": "legs",
|
|
1127
|
+
"type": {
|
|
1128
|
+
"text": "PtRideLeg[]"
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
]
|
|
1218
1132
|
},
|
|
1219
1133
|
{
|
|
1220
|
-
"
|
|
1221
|
-
"
|
|
1222
|
-
|
|
1134
|
+
"kind": "method",
|
|
1135
|
+
"name": "_getRelativeDuration",
|
|
1136
|
+
"privacy": "private",
|
|
1137
|
+
"return": {
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "number"
|
|
1140
|
+
}
|
|
1223
1141
|
},
|
|
1224
|
-
"
|
|
1225
|
-
|
|
1226
|
-
|
|
1142
|
+
"parameters": [
|
|
1143
|
+
{
|
|
1144
|
+
"name": "legs",
|
|
1145
|
+
"type": {
|
|
1146
|
+
"text": "PtRideLeg[]"
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "leg",
|
|
1151
|
+
"type": {
|
|
1152
|
+
"text": "PtRideLeg"
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
]
|
|
1227
1156
|
},
|
|
1228
1157
|
{
|
|
1229
|
-
"
|
|
1230
|
-
"
|
|
1231
|
-
|
|
1158
|
+
"kind": "method",
|
|
1159
|
+
"name": "_getProgress",
|
|
1160
|
+
"privacy": "private",
|
|
1161
|
+
"return": {
|
|
1162
|
+
"type": {
|
|
1163
|
+
"text": "number"
|
|
1164
|
+
}
|
|
1232
1165
|
},
|
|
1233
|
-
"
|
|
1234
|
-
|
|
1235
|
-
|
|
1166
|
+
"parameters": [
|
|
1167
|
+
{
|
|
1168
|
+
"name": "now",
|
|
1169
|
+
"type": {
|
|
1170
|
+
"text": "Date"
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"name": "start",
|
|
1175
|
+
"optional": true,
|
|
1176
|
+
"type": {
|
|
1177
|
+
"text": "Time"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "end",
|
|
1182
|
+
"optional": true,
|
|
1183
|
+
"type": {
|
|
1184
|
+
"text": "Time"
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
]
|
|
1236
1188
|
},
|
|
1237
1189
|
{
|
|
1238
|
-
"
|
|
1239
|
-
"
|
|
1240
|
-
|
|
1190
|
+
"kind": "method",
|
|
1191
|
+
"name": "_getStatus",
|
|
1192
|
+
"privacy": "private",
|
|
1193
|
+
"return": {
|
|
1194
|
+
"type": {
|
|
1195
|
+
"text": "Status"
|
|
1196
|
+
}
|
|
1241
1197
|
},
|
|
1242
|
-
"
|
|
1243
|
-
|
|
1244
|
-
|
|
1198
|
+
"parameters": [
|
|
1199
|
+
{
|
|
1200
|
+
"name": "now",
|
|
1201
|
+
"type": {
|
|
1202
|
+
"text": "Date"
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"name": "start",
|
|
1207
|
+
"optional": true,
|
|
1208
|
+
"type": {
|
|
1209
|
+
"text": "Time"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "end",
|
|
1214
|
+
"optional": true,
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "Time"
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
]
|
|
1245
1220
|
},
|
|
1246
1221
|
{
|
|
1247
|
-
"
|
|
1222
|
+
"kind": "method",
|
|
1223
|
+
"name": "_renderPosition",
|
|
1224
|
+
"privacy": "private",
|
|
1225
|
+
"return": {
|
|
1226
|
+
"type": {
|
|
1227
|
+
"text": "TemplateResult | undefined"
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
"parameters": [
|
|
1231
|
+
{
|
|
1232
|
+
"name": "now",
|
|
1233
|
+
"type": {
|
|
1234
|
+
"text": "Date"
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"name": "start",
|
|
1239
|
+
"optional": true,
|
|
1240
|
+
"type": {
|
|
1241
|
+
"text": "Time"
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "end",
|
|
1246
|
+
"optional": true,
|
|
1247
|
+
"type": {
|
|
1248
|
+
"text": "Time"
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
]
|
|
1252
|
+
}
|
|
1253
|
+
],
|
|
1254
|
+
"attributes": [
|
|
1255
|
+
{
|
|
1256
|
+
"name": "legs",
|
|
1248
1257
|
"type": {
|
|
1249
|
-
"text": "
|
|
1258
|
+
"text": "(Leg | PtRideLeg)[]"
|
|
1250
1259
|
},
|
|
1251
|
-
"default": "
|
|
1252
|
-
"description": "
|
|
1253
|
-
"fieldName": "
|
|
1260
|
+
"default": "[]",
|
|
1261
|
+
"description": "Define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
1262
|
+
"fieldName": "legs"
|
|
1254
1263
|
},
|
|
1255
1264
|
{
|
|
1256
1265
|
"name": "disable-animation",
|
|
@@ -1261,20 +1270,11 @@
|
|
|
1261
1270
|
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
1262
1271
|
"fieldName": "disableAnimation"
|
|
1263
1272
|
},
|
|
1264
|
-
{
|
|
1265
|
-
"name": "a11y-footpath",
|
|
1266
|
-
"type": {
|
|
1267
|
-
"text": "boolean"
|
|
1268
|
-
},
|
|
1269
|
-
"default": "false",
|
|
1270
|
-
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
1271
|
-
"fieldName": "a11yFootpath"
|
|
1272
|
-
},
|
|
1273
1273
|
{
|
|
1274
1274
|
"name": "now",
|
|
1275
1275
|
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
1276
1276
|
"type": {
|
|
1277
|
-
"text": "Date"
|
|
1277
|
+
"text": "Date | null"
|
|
1278
1278
|
},
|
|
1279
1279
|
"fieldName": "now"
|
|
1280
1280
|
}
|
|
@@ -1283,17 +1283,17 @@
|
|
|
1283
1283
|
"name": "SbbElement",
|
|
1284
1284
|
"package": "@sbb-esta/lyne-elements/core/base-elements.js"
|
|
1285
1285
|
},
|
|
1286
|
-
"tagName": "sbb-pearl-chain
|
|
1286
|
+
"tagName": "sbb-pearl-chain",
|
|
1287
1287
|
"customElement": true
|
|
1288
1288
|
}
|
|
1289
1289
|
],
|
|
1290
1290
|
"exports": [
|
|
1291
1291
|
{
|
|
1292
1292
|
"kind": "js",
|
|
1293
|
-
"name": "
|
|
1293
|
+
"name": "SbbPearlChainElement",
|
|
1294
1294
|
"declaration": {
|
|
1295
|
-
"name": "
|
|
1296
|
-
"module": "pearl-chain
|
|
1295
|
+
"name": "SbbPearlChainElement",
|
|
1296
|
+
"module": "pearl-chain/pearl-chain.component.js"
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
]
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-experimental-dev",
|
|
3
|
-
"version": "4.13.0-dev.
|
|
3
|
+
"version": "4.13.0-dev.1780925802",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
9
|
"storybook",
|
|
10
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
10
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/ef64ac923a1d80351b18f8d34c646589c2fa2fca"
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"exports": {
|