@contraagent/elements 0.1.0 → 0.2.0
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/README.md +16 -5
- package/custom-elements.json +1107 -345
- package/dist/code/code.d.ts +83 -0
- package/dist/code/code.d.ts.map +1 -0
- package/dist/code/code.js +206 -0
- package/dist/code/code.js.map +1 -0
- package/dist/code/highlight.d.ts +25 -0
- package/dist/code/highlight.d.ts.map +1 -0
- package/dist/code/highlight.js +312 -0
- package/dist/code/highlight.js.map +1 -0
- package/dist/code/index.d.ts +3 -0
- package/dist/code/index.d.ts.map +1 -0
- package/dist/code/index.js +5 -0
- package/dist/code/index.js.map +1 -0
- package/dist/define/all.d.ts +2 -0
- package/dist/define/all.d.ts.map +1 -1
- package/dist/define/all.js +2 -0
- package/dist/define/all.js.map +1 -1
- package/dist/define/code.d.ts +4 -0
- package/dist/define/code.d.ts.map +1 -0
- package/dist/define/code.js +7 -0
- package/dist/define/code.js.map +1 -0
- package/dist/define/tree.d.ts +4 -0
- package/dist/define/tree.d.ts.map +1 -0
- package/dist/define/tree.js +7 -0
- package/dist/define/tree.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/markdown/highlight.d.ts +1 -4
- package/dist/markdown/highlight.d.ts.map +1 -1
- package/dist/markdown/highlight.js +2 -85
- package/dist/markdown/highlight.js.map +1 -1
- package/dist/styles/prose.d.ts.map +1 -1
- package/dist/styles/prose.js +5 -0
- package/dist/styles/prose.js.map +1 -1
- package/dist/tree/index.d.ts +2 -0
- package/dist/tree/index.d.ts.map +1 -0
- package/dist/tree/index.js +4 -0
- package/dist/tree/index.js.map +1 -0
- package/dist/tree/tree.d.ts +83 -0
- package/dist/tree/tree.d.ts.map +1 -0
- package/dist/tree/tree.js +251 -0
- package/dist/tree/tree.js.map +1 -0
- package/docs/code.md +55 -0
- package/docs/examples/code.ts +28 -0
- package/docs/examples/tree.ts +44 -0
- package/docs/tree.md +44 -0
- package/package.json +19 -3
- package/src/code/code.ts +199 -0
- package/src/code/highlight.ts +378 -0
- package/src/code/index.ts +4 -0
- package/src/define/all.ts +2 -0
- package/src/define/code.ts +9 -0
- package/src/define/tree.ts +9 -0
- package/src/index.ts +2 -0
- package/src/markdown/highlight.ts +2 -94
- package/src/styles/prose.ts +5 -0
- package/src/tree/index.ts +3 -0
- package/src/tree/tree.ts +263 -0
package/custom-elements.json
CHANGED
|
@@ -754,97 +754,550 @@
|
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
756
|
"kind": "javascript-module",
|
|
757
|
-
"path": "src/
|
|
757
|
+
"path": "src/checks/check-table.ts",
|
|
758
758
|
"declarations": [
|
|
759
|
+
{
|
|
760
|
+
"kind": "function",
|
|
761
|
+
"name": "verdict",
|
|
762
|
+
"return": {
|
|
763
|
+
"type": {
|
|
764
|
+
"text": "TemplateResult | typeof nothing"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"parameters": [
|
|
768
|
+
{
|
|
769
|
+
"name": "v",
|
|
770
|
+
"type": {
|
|
771
|
+
"text": "Verdict"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "label",
|
|
776
|
+
"type": {
|
|
777
|
+
"text": "string"
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "tip",
|
|
782
|
+
"default": "''"
|
|
783
|
+
}
|
|
784
|
+
],
|
|
785
|
+
"description": "A verdict in words (`.verdict`, `data-verdict`; `verdictStyles`): ✓ before a\npass, ✕ before a failure, hidden from screen readers, which read the word.\nNothing for `none` without a word."
|
|
786
|
+
},
|
|
759
787
|
{
|
|
760
788
|
"kind": "class",
|
|
761
|
-
"description": "
|
|
762
|
-
"name": "
|
|
789
|
+
"description": "Named values checked one by one: a row per name, with what it must be, what\nit is and the verdict. Without `showValues`, only the names and what each\nmust be (nothing to check them against).",
|
|
790
|
+
"name": "CaeCheckTable",
|
|
791
|
+
"cssParts": [
|
|
792
|
+
{
|
|
793
|
+
"description": "the `<table>`",
|
|
794
|
+
"name": "table"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"description": "each row of a name",
|
|
798
|
+
"name": "row"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"description": "each verdict",
|
|
802
|
+
"name": "verdict"
|
|
803
|
+
}
|
|
804
|
+
],
|
|
763
805
|
"members": [
|
|
764
806
|
{
|
|
765
807
|
"kind": "field",
|
|
766
|
-
"name": "
|
|
808
|
+
"name": "rows",
|
|
767
809
|
"type": {
|
|
768
|
-
"text": "
|
|
810
|
+
"text": "readonly CheckRow[]"
|
|
769
811
|
},
|
|
770
|
-
"default": "
|
|
771
|
-
"attribute": "value"
|
|
812
|
+
"default": "[]"
|
|
772
813
|
},
|
|
773
814
|
{
|
|
774
815
|
"kind": "field",
|
|
775
|
-
"name": "
|
|
816
|
+
"name": "showValues",
|
|
776
817
|
"type": {
|
|
777
|
-
"text": "
|
|
818
|
+
"text": "boolean"
|
|
778
819
|
},
|
|
779
|
-
"
|
|
780
|
-
"
|
|
820
|
+
"default": "true",
|
|
821
|
+
"description": "Show the values and the verdicts.",
|
|
822
|
+
"attribute": "showValues"
|
|
781
823
|
},
|
|
782
824
|
{
|
|
783
825
|
"kind": "field",
|
|
784
|
-
"name": "
|
|
826
|
+
"name": "strings",
|
|
785
827
|
"type": {
|
|
786
|
-
"text": "
|
|
828
|
+
"text": "Partial<CheckTableStrings>"
|
|
787
829
|
},
|
|
788
|
-
"
|
|
789
|
-
"default": "0"
|
|
830
|
+
"default": "{}"
|
|
790
831
|
}
|
|
791
832
|
],
|
|
792
833
|
"attributes": [
|
|
793
834
|
{
|
|
794
|
-
"name": "
|
|
835
|
+
"name": "showValues",
|
|
795
836
|
"type": {
|
|
796
|
-
"text": "
|
|
837
|
+
"text": "boolean"
|
|
797
838
|
},
|
|
798
|
-
"default": "
|
|
799
|
-
"
|
|
839
|
+
"default": "true",
|
|
840
|
+
"description": "Show the values and the verdicts.",
|
|
841
|
+
"fieldName": "showValues"
|
|
800
842
|
}
|
|
801
843
|
],
|
|
802
844
|
"superclass": {
|
|
803
845
|
"name": "LitElement",
|
|
804
846
|
"package": "lit"
|
|
805
847
|
},
|
|
806
|
-
"tagName": "cae-
|
|
848
|
+
"tagName": "cae-check-table",
|
|
807
849
|
"customElement": true
|
|
808
850
|
}
|
|
809
851
|
],
|
|
810
852
|
"exports": [
|
|
811
853
|
{
|
|
812
854
|
"kind": "js",
|
|
813
|
-
"name": "
|
|
855
|
+
"name": "verdict",
|
|
814
856
|
"declaration": {
|
|
815
|
-
"name": "
|
|
816
|
-
"module": "src/
|
|
857
|
+
"name": "verdict",
|
|
858
|
+
"module": "src/checks/check-table.ts"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"kind": "js",
|
|
863
|
+
"name": "CaeCheckTable",
|
|
864
|
+
"declaration": {
|
|
865
|
+
"name": "CaeCheckTable",
|
|
866
|
+
"module": "src/checks/check-table.ts"
|
|
817
867
|
}
|
|
818
868
|
}
|
|
819
869
|
]
|
|
820
870
|
},
|
|
821
871
|
{
|
|
822
872
|
"kind": "javascript-module",
|
|
823
|
-
"path": "src/
|
|
873
|
+
"path": "src/code/code.ts",
|
|
824
874
|
"declarations": [
|
|
875
|
+
{
|
|
876
|
+
"kind": "variable",
|
|
877
|
+
"name": "DEFAULT_CODE_STRINGS",
|
|
878
|
+
"type": {
|
|
879
|
+
"text": "Readonly<CodeStrings>"
|
|
880
|
+
},
|
|
881
|
+
"default": "{ copy: 'Copy', copied: 'Copied', wrap: 'Wrap lines', empty: 'No text', cut: (shown, total) => `First ${shown.toLocaleString('en')} of ${total.toLocaleString('en')} lines`, }"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"kind": "function",
|
|
885
|
+
"name": "shownText",
|
|
886
|
+
"return": {
|
|
887
|
+
"type": {
|
|
888
|
+
"text": "ShownText"
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"parameters": [
|
|
892
|
+
{
|
|
893
|
+
"name": "text",
|
|
894
|
+
"type": {
|
|
895
|
+
"text": "string"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "maxLines",
|
|
900
|
+
"type": {
|
|
901
|
+
"text": "number"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "maxCharacters",
|
|
906
|
+
"type": {
|
|
907
|
+
"text": "number"
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
"description": "The first lines of `text`: at most `maxLines` lines and `maxCharacters` characters, cut\nat the end of a line (a first line longer than that is cut inside it)."
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"kind": "function",
|
|
915
|
+
"name": "isMarked",
|
|
916
|
+
"return": {
|
|
917
|
+
"type": {
|
|
918
|
+
"text": "boolean"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"parameters": [
|
|
922
|
+
{
|
|
923
|
+
"name": "marks",
|
|
924
|
+
"type": {
|
|
925
|
+
"text": "readonly LineMark[]"
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "n",
|
|
930
|
+
"type": {
|
|
931
|
+
"text": "number"
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
],
|
|
935
|
+
"description": "Whether line `n` is in one of `marks`."
|
|
936
|
+
},
|
|
825
937
|
{
|
|
826
938
|
"kind": "class",
|
|
827
|
-
"description": "
|
|
828
|
-
"name": "
|
|
939
|
+
"description": "A text shown as code: highlighted by its `language` (`LANGUAGES`, another name of one\nor a file name; anything else is plain), each line numbered from `start`, the lines of\n`highlight` marked (a bar beside the number and a tint). Long lines scroll sideways,\nor wrap with `wrap` or the reader's switch. A text of more than `maxLines` lines or\n`maxCharacters` characters shows its first lines and says how many it has; the copy\nbutton copies the whole text. The line numbers are not part of a selection.",
|
|
940
|
+
"name": "CaeCode",
|
|
941
|
+
"cssParts": [
|
|
942
|
+
{
|
|
943
|
+
"description": "the path, the language and the buttons",
|
|
944
|
+
"name": "header"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"description": "the lines, which scroll",
|
|
948
|
+
"name": "code"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"description": "the note under a text cut short",
|
|
952
|
+
"name": "cut"
|
|
953
|
+
}
|
|
954
|
+
],
|
|
829
955
|
"members": [
|
|
830
956
|
{
|
|
831
957
|
"kind": "field",
|
|
832
|
-
"name": "
|
|
958
|
+
"name": "code",
|
|
959
|
+
"type": {
|
|
960
|
+
"text": "string"
|
|
961
|
+
},
|
|
962
|
+
"default": "''",
|
|
963
|
+
"description": "The text.",
|
|
964
|
+
"attribute": "code"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"kind": "field",
|
|
968
|
+
"name": "language",
|
|
969
|
+
"type": {
|
|
970
|
+
"text": "string"
|
|
971
|
+
},
|
|
972
|
+
"default": "''",
|
|
973
|
+
"description": "Its language: a name of `LANGUAGES`, another name of one, or a file name; anything else is plain text.",
|
|
974
|
+
"attribute": "language"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"kind": "field",
|
|
978
|
+
"name": "start",
|
|
833
979
|
"type": {
|
|
834
980
|
"text": "number"
|
|
835
981
|
},
|
|
836
|
-
"default": "
|
|
837
|
-
"
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
"attributes": [
|
|
982
|
+
"default": "1",
|
|
983
|
+
"description": "The number of the first line.",
|
|
984
|
+
"attribute": "start"
|
|
985
|
+
},
|
|
841
986
|
{
|
|
842
|
-
"
|
|
987
|
+
"kind": "field",
|
|
988
|
+
"name": "highlight",
|
|
989
|
+
"type": {
|
|
990
|
+
"text": "readonly LineMark[]"
|
|
991
|
+
},
|
|
992
|
+
"default": "[]",
|
|
993
|
+
"description": "The lines marked, in the numbers shown."
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"kind": "field",
|
|
997
|
+
"name": "path",
|
|
998
|
+
"type": {
|
|
999
|
+
"text": "string"
|
|
1000
|
+
},
|
|
1001
|
+
"default": "''",
|
|
1002
|
+
"description": "The file the text is, named over it.",
|
|
1003
|
+
"attribute": "path"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"kind": "field",
|
|
1007
|
+
"name": "label",
|
|
1008
|
+
"type": {
|
|
1009
|
+
"text": "string"
|
|
1010
|
+
},
|
|
1011
|
+
"default": "''",
|
|
1012
|
+
"description": "What the lines are named to a screen reader (default: the path).",
|
|
1013
|
+
"attribute": "label"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"kind": "field",
|
|
1017
|
+
"name": "wrap",
|
|
1018
|
+
"type": {
|
|
1019
|
+
"text": "boolean"
|
|
1020
|
+
},
|
|
1021
|
+
"default": "false",
|
|
1022
|
+
"description": "Long lines wrap at first; the reader's switch changes it.",
|
|
1023
|
+
"attribute": "wrap"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"kind": "field",
|
|
1027
|
+
"name": "maxLines",
|
|
843
1028
|
"type": {
|
|
844
1029
|
"text": "number"
|
|
845
1030
|
},
|
|
846
|
-
"default": "
|
|
847
|
-
"
|
|
1031
|
+
"default": "5000",
|
|
1032
|
+
"description": "The most lines shown.",
|
|
1033
|
+
"attribute": "maxLines"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"kind": "field",
|
|
1037
|
+
"name": "maxCharacters",
|
|
1038
|
+
"type": {
|
|
1039
|
+
"text": "number"
|
|
1040
|
+
},
|
|
1041
|
+
"default": "500_000",
|
|
1042
|
+
"description": "The most characters shown, at the end of a line.",
|
|
1043
|
+
"attribute": "maxCharacters"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"kind": "field",
|
|
1047
|
+
"name": "strings",
|
|
1048
|
+
"type": {
|
|
1049
|
+
"text": "Partial<CodeStrings>"
|
|
1050
|
+
},
|
|
1051
|
+
"default": "{}",
|
|
1052
|
+
"description": "The visible words; English by default."
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"kind": "field",
|
|
1056
|
+
"name": "wrapped",
|
|
1057
|
+
"type": {
|
|
1058
|
+
"text": "boolean"
|
|
1059
|
+
},
|
|
1060
|
+
"privacy": "private",
|
|
1061
|
+
"default": "false"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"kind": "field",
|
|
1065
|
+
"name": "copied",
|
|
1066
|
+
"type": {
|
|
1067
|
+
"text": "boolean"
|
|
1068
|
+
},
|
|
1069
|
+
"privacy": "private",
|
|
1070
|
+
"default": "false"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"kind": "field",
|
|
1074
|
+
"name": "copiedTimer",
|
|
1075
|
+
"type": {
|
|
1076
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
1077
|
+
},
|
|
1078
|
+
"privacy": "private"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "method",
|
|
1082
|
+
"name": "copy",
|
|
1083
|
+
"privacy": "private",
|
|
1084
|
+
"return": {
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "Promise<void>"
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
"attributes": [
|
|
1092
|
+
{
|
|
1093
|
+
"name": "code",
|
|
1094
|
+
"type": {
|
|
1095
|
+
"text": "string"
|
|
1096
|
+
},
|
|
1097
|
+
"default": "''",
|
|
1098
|
+
"description": "The text.",
|
|
1099
|
+
"fieldName": "code"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "language",
|
|
1103
|
+
"type": {
|
|
1104
|
+
"text": "string"
|
|
1105
|
+
},
|
|
1106
|
+
"default": "''",
|
|
1107
|
+
"description": "Its language: a name of `LANGUAGES`, another name of one, or a file name; anything else is plain text.",
|
|
1108
|
+
"fieldName": "language"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "start",
|
|
1112
|
+
"type": {
|
|
1113
|
+
"text": "number"
|
|
1114
|
+
},
|
|
1115
|
+
"default": "1",
|
|
1116
|
+
"description": "The number of the first line.",
|
|
1117
|
+
"fieldName": "start"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "path",
|
|
1121
|
+
"type": {
|
|
1122
|
+
"text": "string"
|
|
1123
|
+
},
|
|
1124
|
+
"default": "''",
|
|
1125
|
+
"description": "The file the text is, named over it.",
|
|
1126
|
+
"fieldName": "path"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"name": "label",
|
|
1130
|
+
"type": {
|
|
1131
|
+
"text": "string"
|
|
1132
|
+
},
|
|
1133
|
+
"default": "''",
|
|
1134
|
+
"description": "What the lines are named to a screen reader (default: the path).",
|
|
1135
|
+
"fieldName": "label"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "wrap",
|
|
1139
|
+
"type": {
|
|
1140
|
+
"text": "boolean"
|
|
1141
|
+
},
|
|
1142
|
+
"default": "false",
|
|
1143
|
+
"description": "Long lines wrap at first; the reader's switch changes it.",
|
|
1144
|
+
"fieldName": "wrap"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "maxLines",
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "number"
|
|
1150
|
+
},
|
|
1151
|
+
"default": "5000",
|
|
1152
|
+
"description": "The most lines shown.",
|
|
1153
|
+
"fieldName": "maxLines"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"name": "maxCharacters",
|
|
1157
|
+
"type": {
|
|
1158
|
+
"text": "number"
|
|
1159
|
+
},
|
|
1160
|
+
"default": "500_000",
|
|
1161
|
+
"description": "The most characters shown, at the end of a line.",
|
|
1162
|
+
"fieldName": "maxCharacters"
|
|
1163
|
+
}
|
|
1164
|
+
],
|
|
1165
|
+
"superclass": {
|
|
1166
|
+
"name": "LitElement",
|
|
1167
|
+
"package": "lit"
|
|
1168
|
+
},
|
|
1169
|
+
"tagName": "cae-code",
|
|
1170
|
+
"customElement": true
|
|
1171
|
+
}
|
|
1172
|
+
],
|
|
1173
|
+
"exports": [
|
|
1174
|
+
{
|
|
1175
|
+
"kind": "js",
|
|
1176
|
+
"name": "DEFAULT_CODE_STRINGS",
|
|
1177
|
+
"declaration": {
|
|
1178
|
+
"name": "DEFAULT_CODE_STRINGS",
|
|
1179
|
+
"module": "src/code/code.ts"
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "js",
|
|
1184
|
+
"name": "shownText",
|
|
1185
|
+
"declaration": {
|
|
1186
|
+
"name": "shownText",
|
|
1187
|
+
"module": "src/code/code.ts"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"kind": "js",
|
|
1192
|
+
"name": "isMarked",
|
|
1193
|
+
"declaration": {
|
|
1194
|
+
"name": "isMarked",
|
|
1195
|
+
"module": "src/code/code.ts"
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
"kind": "js",
|
|
1200
|
+
"name": "CaeCode",
|
|
1201
|
+
"declaration": {
|
|
1202
|
+
"name": "CaeCode",
|
|
1203
|
+
"module": "src/code/code.ts"
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
]
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "javascript-module",
|
|
1210
|
+
"path": "src/count/count.ts",
|
|
1211
|
+
"declarations": [
|
|
1212
|
+
{
|
|
1213
|
+
"kind": "class",
|
|
1214
|
+
"description": "A number that counts up (or down) to its new value when it changes; at once\nfor a reader who asks for reduced motion.",
|
|
1215
|
+
"name": "CaeCount",
|
|
1216
|
+
"members": [
|
|
1217
|
+
{
|
|
1218
|
+
"kind": "field",
|
|
1219
|
+
"name": "value",
|
|
1220
|
+
"type": {
|
|
1221
|
+
"text": "number"
|
|
1222
|
+
},
|
|
1223
|
+
"default": "0",
|
|
1224
|
+
"attribute": "value"
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"kind": "field",
|
|
1228
|
+
"name": "shown",
|
|
1229
|
+
"type": {
|
|
1230
|
+
"text": "number"
|
|
1231
|
+
},
|
|
1232
|
+
"privacy": "private",
|
|
1233
|
+
"default": "0"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"kind": "field",
|
|
1237
|
+
"name": "frame",
|
|
1238
|
+
"type": {
|
|
1239
|
+
"text": "number"
|
|
1240
|
+
},
|
|
1241
|
+
"privacy": "private",
|
|
1242
|
+
"default": "0"
|
|
1243
|
+
}
|
|
1244
|
+
],
|
|
1245
|
+
"attributes": [
|
|
1246
|
+
{
|
|
1247
|
+
"name": "value",
|
|
1248
|
+
"type": {
|
|
1249
|
+
"text": "number"
|
|
1250
|
+
},
|
|
1251
|
+
"default": "0",
|
|
1252
|
+
"fieldName": "value"
|
|
1253
|
+
}
|
|
1254
|
+
],
|
|
1255
|
+
"superclass": {
|
|
1256
|
+
"name": "LitElement",
|
|
1257
|
+
"package": "lit"
|
|
1258
|
+
},
|
|
1259
|
+
"tagName": "cae-count",
|
|
1260
|
+
"customElement": true
|
|
1261
|
+
}
|
|
1262
|
+
],
|
|
1263
|
+
"exports": [
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "js",
|
|
1266
|
+
"name": "CaeCount",
|
|
1267
|
+
"declaration": {
|
|
1268
|
+
"name": "CaeCount",
|
|
1269
|
+
"module": "src/count/count.ts"
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
]
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"kind": "javascript-module",
|
|
1276
|
+
"path": "src/count/elapsed.ts",
|
|
1277
|
+
"declarations": [
|
|
1278
|
+
{
|
|
1279
|
+
"kind": "class",
|
|
1280
|
+
"description": "Time since `since` (epoch ms), ticking every second: `42s`, `3m 05s`, `1h 02m`.",
|
|
1281
|
+
"name": "CaeElapsed",
|
|
1282
|
+
"members": [
|
|
1283
|
+
{
|
|
1284
|
+
"kind": "field",
|
|
1285
|
+
"name": "since",
|
|
1286
|
+
"type": {
|
|
1287
|
+
"text": "number"
|
|
1288
|
+
},
|
|
1289
|
+
"default": "0",
|
|
1290
|
+
"attribute": "since"
|
|
1291
|
+
}
|
|
1292
|
+
],
|
|
1293
|
+
"attributes": [
|
|
1294
|
+
{
|
|
1295
|
+
"name": "since",
|
|
1296
|
+
"type": {
|
|
1297
|
+
"text": "number"
|
|
1298
|
+
},
|
|
1299
|
+
"default": "0",
|
|
1300
|
+
"fieldName": "since"
|
|
848
1301
|
}
|
|
849
1302
|
],
|
|
850
1303
|
"superclass": {
|
|
@@ -889,6 +1342,29 @@
|
|
|
889
1342
|
}
|
|
890
1343
|
]
|
|
891
1344
|
},
|
|
1345
|
+
{
|
|
1346
|
+
"kind": "javascript-module",
|
|
1347
|
+
"path": "src/define/code.ts",
|
|
1348
|
+
"declarations": [],
|
|
1349
|
+
"exports": [
|
|
1350
|
+
{
|
|
1351
|
+
"kind": "js",
|
|
1352
|
+
"name": "CaeCode",
|
|
1353
|
+
"declaration": {
|
|
1354
|
+
"name": "CaeCode",
|
|
1355
|
+
"module": "src/define/code.ts"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"kind": "js",
|
|
1360
|
+
"name": "CaeEventMap",
|
|
1361
|
+
"declaration": {
|
|
1362
|
+
"name": "CaeEventMap",
|
|
1363
|
+
"module": "../core/events.js"
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
]
|
|
1367
|
+
},
|
|
892
1368
|
{
|
|
893
1369
|
"kind": "javascript-module",
|
|
894
1370
|
"path": "src/define/count.ts",
|
|
@@ -1037,141 +1513,48 @@
|
|
|
1037
1513
|
},
|
|
1038
1514
|
{
|
|
1039
1515
|
"kind": "javascript-module",
|
|
1040
|
-
"path": "src/
|
|
1516
|
+
"path": "src/define/tree.ts",
|
|
1517
|
+
"declarations": [],
|
|
1518
|
+
"exports": [
|
|
1519
|
+
{
|
|
1520
|
+
"kind": "js",
|
|
1521
|
+
"name": "CaeTree",
|
|
1522
|
+
"declaration": {
|
|
1523
|
+
"name": "CaeTree",
|
|
1524
|
+
"module": "src/define/tree.ts"
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "js",
|
|
1529
|
+
"name": "CaeEventMap",
|
|
1530
|
+
"declaration": {
|
|
1531
|
+
"name": "CaeEventMap",
|
|
1532
|
+
"module": "../core/events.js"
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
]
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"kind": "javascript-module",
|
|
1539
|
+
"path": "src/graph/layered-graph.ts",
|
|
1041
1540
|
"declarations": [
|
|
1042
1541
|
{
|
|
1043
|
-
"kind": "
|
|
1044
|
-
"name": "
|
|
1045
|
-
"
|
|
1046
|
-
"
|
|
1047
|
-
"text": "TemplateResult | typeof nothing"
|
|
1048
|
-
}
|
|
1542
|
+
"kind": "variable",
|
|
1543
|
+
"name": "NARROW",
|
|
1544
|
+
"type": {
|
|
1545
|
+
"text": "number"
|
|
1049
1546
|
},
|
|
1050
|
-
"
|
|
1051
|
-
|
|
1052
|
-
"name": "v",
|
|
1053
|
-
"type": {
|
|
1054
|
-
"text": "Verdict"
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
"name": "label",
|
|
1059
|
-
"type": {
|
|
1060
|
-
"text": "string"
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"name": "tip",
|
|
1065
|
-
"default": "''"
|
|
1066
|
-
}
|
|
1067
|
-
],
|
|
1068
|
-
"description": "A verdict in words (`.verdict`, `data-verdict`; `verdictStyles`): ✓ before a\npass, ✕ before a failure, hidden from screen readers, which read the word.\nNothing for `none` without a word."
|
|
1547
|
+
"default": "640",
|
|
1548
|
+
"description": "Below this width, `direction: 'auto'` draws top to bottom, without zoom."
|
|
1069
1549
|
},
|
|
1070
1550
|
{
|
|
1071
1551
|
"kind": "class",
|
|
1072
|
-
"description": "
|
|
1073
|
-
"name": "
|
|
1552
|
+
"description": "A layered graph: each node in a layer by the longest path to it, edges bending only\nin the gaps between layers and never passing a node or a cluster's label; a cluster\nof nodes in a box (a cluster in a cluster: a box in a box), with, when it `cycle`s,\na dotted return from its last layer to its first; an edge from outside the graph\nfrom a named stub. Inside each node, one mark per series id, at the same place in\nevery node, so a series can be followed across the graph; a mark is drawn in its\nstate's look (`states`). Above `barAt` marks, a node shows a bar of its counts and\nlists its failed marks. The order depends on the structure only, and keeps a\nprevious `order`: nodes that appear later are added at the end of their layer.\n\nA click selects a mark, a node or a cluster (`cae-select`); a card beside it (the\nhost's content, in the `inspector` slot) moves with it as the graph pans and zooms,\nand hides while it is out of the frame; on a narrow screen it is a sheet under the\nframe. A double click or Enter is the item's action (`cae-activate`), or opens its\ninner view (`cae-drill`, for an item with `drill`). Hovering or focusing a mark\nhighlights its series and what `related` names. The frame first shows the whole\ngraph; Ctrl (or ⌘) and the wheel, or the buttons, zoom; dragging pans; \"Show all\"\ngoes back. \"Graph | Table\" changes the view (`cae-view-change`): the table is a row\nper node, with its status and the nodes it is joined to. With `matrix`, the frame\nshows that `<cae-mark-matrix>` as the table instead.\n\nSize: the element is as wide as its container. Without a height set on it, the\nframe is as tall as the whole drawing at that width (never scaled up), up to 70% of\nthe window's height or 360 px, whichever is more, and taller when the card needs\nit; top to bottom, as tall as the drawing. A height set on the element\n(or given it by a flex or grid container) is shared: the `crumbs` slot and the row\nunder the frame keep theirs, and the frame takes the rest, the drawing fitted in it.\n\nKeyboard: Tab moves between nodes; the arrow keys, Home and End move between a\nnode's marks, and a mark out of the frame is brought into it; Shift and an arrow\nkey move along an edge to an earlier or a later node, on the same series; what has\nthe focus is selected (Tab goes on to the card); Enter is the item's action; Escape\nclears the selection (and, with none, is left to the host).",
|
|
1553
|
+
"name": "CaeLayeredGraph",
|
|
1074
1554
|
"cssParts": [
|
|
1075
1555
|
{
|
|
1076
|
-
"description": "the
|
|
1077
|
-
"name": "
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"description": "each row of a name",
|
|
1081
|
-
"name": "row"
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
"description": "each verdict",
|
|
1085
|
-
"name": "verdict"
|
|
1086
|
-
}
|
|
1087
|
-
],
|
|
1088
|
-
"members": [
|
|
1089
|
-
{
|
|
1090
|
-
"kind": "field",
|
|
1091
|
-
"name": "rows",
|
|
1092
|
-
"type": {
|
|
1093
|
-
"text": "readonly CheckRow[]"
|
|
1094
|
-
},
|
|
1095
|
-
"default": "[]"
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"kind": "field",
|
|
1099
|
-
"name": "showValues",
|
|
1100
|
-
"type": {
|
|
1101
|
-
"text": "boolean"
|
|
1102
|
-
},
|
|
1103
|
-
"default": "true",
|
|
1104
|
-
"description": "Show the values and the verdicts.",
|
|
1105
|
-
"attribute": "showValues"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"kind": "field",
|
|
1109
|
-
"name": "strings",
|
|
1110
|
-
"type": {
|
|
1111
|
-
"text": "Partial<CheckTableStrings>"
|
|
1112
|
-
},
|
|
1113
|
-
"default": "{}"
|
|
1114
|
-
}
|
|
1115
|
-
],
|
|
1116
|
-
"attributes": [
|
|
1117
|
-
{
|
|
1118
|
-
"name": "showValues",
|
|
1119
|
-
"type": {
|
|
1120
|
-
"text": "boolean"
|
|
1121
|
-
},
|
|
1122
|
-
"default": "true",
|
|
1123
|
-
"description": "Show the values and the verdicts.",
|
|
1124
|
-
"fieldName": "showValues"
|
|
1125
|
-
}
|
|
1126
|
-
],
|
|
1127
|
-
"superclass": {
|
|
1128
|
-
"name": "LitElement",
|
|
1129
|
-
"package": "lit"
|
|
1130
|
-
},
|
|
1131
|
-
"tagName": "cae-check-table",
|
|
1132
|
-
"customElement": true
|
|
1133
|
-
}
|
|
1134
|
-
],
|
|
1135
|
-
"exports": [
|
|
1136
|
-
{
|
|
1137
|
-
"kind": "js",
|
|
1138
|
-
"name": "verdict",
|
|
1139
|
-
"declaration": {
|
|
1140
|
-
"name": "verdict",
|
|
1141
|
-
"module": "src/checks/check-table.ts"
|
|
1142
|
-
}
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"kind": "js",
|
|
1146
|
-
"name": "CaeCheckTable",
|
|
1147
|
-
"declaration": {
|
|
1148
|
-
"name": "CaeCheckTable",
|
|
1149
|
-
"module": "src/checks/check-table.ts"
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
]
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
"kind": "javascript-module",
|
|
1156
|
-
"path": "src/graph/layered-graph.ts",
|
|
1157
|
-
"declarations": [
|
|
1158
|
-
{
|
|
1159
|
-
"kind": "variable",
|
|
1160
|
-
"name": "NARROW",
|
|
1161
|
-
"type": {
|
|
1162
|
-
"text": "number"
|
|
1163
|
-
},
|
|
1164
|
-
"default": "640",
|
|
1165
|
-
"description": "Below this width, `direction: 'auto'` draws top to bottom, without zoom."
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"kind": "class",
|
|
1169
|
-
"description": "A layered graph: each node in a layer by the longest path to it, edges bending only\nin the gaps between layers and never passing a node or a cluster's label; a cluster\nof nodes in a box (a cluster in a cluster: a box in a box), with, when it `cycle`s,\na dotted return from its last layer to its first; an edge from outside the graph\nfrom a named stub. Inside each node, one mark per series id, at the same place in\nevery node, so a series can be followed across the graph; a mark is drawn in its\nstate's look (`states`). Above `barAt` marks, a node shows a bar of its counts and\nlists its failed marks. The order depends on the structure only, and keeps a\nprevious `order`: nodes that appear later are added at the end of their layer.\n\nA click selects a mark, a node or a cluster (`cae-select`); a card beside it (the\nhost's content, in the `inspector` slot) moves with it as the graph pans and zooms,\nand hides while it is out of the frame; on a narrow screen it is a sheet under the\nframe. A double click or Enter is the item's action (`cae-activate`), or opens its\ninner view (`cae-drill`, for an item with `drill`). Hovering or focusing a mark\nhighlights its series and what `related` names. The frame first shows the whole\ngraph; Ctrl (or ⌘) and the wheel, or the buttons, zoom; dragging pans; \"Show all\"\ngoes back. \"Graph | Table\" changes the view (`cae-view-change`): the table is a row\nper node, with its status and the nodes it is joined to. With `matrix`, the frame\nshows that `<cae-mark-matrix>` as the table instead.\n\nSize: the element is as wide as its container. Without a height set on it, the\nframe is as tall as the whole drawing at that width (never scaled up), up to 70% of\nthe window's height or 360 px, whichever is more, and taller when the card needs\nit; top to bottom, as tall as the drawing. A height set on the element\n(or given it by a flex or grid container) is shared: the `crumbs` slot and the row\nunder the frame keep theirs, and the frame takes the rest, the drawing fitted in it.\n\nKeyboard: Tab moves between nodes; the arrow keys, Home and End move between a\nnode's marks, and a mark out of the frame is brought into it; Shift and an arrow\nkey move along an edge to an earlier or a later node, on the same series; what has\nthe focus is selected (Tab goes on to the card); Enter is the item's action; Escape\nclears the selection (and, with none, is left to the host).",
|
|
1170
|
-
"name": "CaeLayeredGraph",
|
|
1171
|
-
"cssParts": [
|
|
1172
|
-
{
|
|
1173
|
-
"description": "the frame every view is drawn in",
|
|
1174
|
-
"name": "frame"
|
|
1556
|
+
"description": "the frame every view is drawn in",
|
|
1557
|
+
"name": "frame"
|
|
1175
1558
|
},
|
|
1176
1559
|
{
|
|
1177
1560
|
"description": "what pans and zooms",
|
|
@@ -3946,236 +4329,618 @@
|
|
|
3946
4329
|
"text": "Promise<void>"
|
|
3947
4330
|
}
|
|
3948
4331
|
},
|
|
3949
|
-
"description": "The first content is drawn without entry animations, then the reader is put back where they were."
|
|
4332
|
+
"description": "The first content is drawn without entry animations, then the reader is put back where they were."
|
|
4333
|
+
},
|
|
4334
|
+
{
|
|
4335
|
+
"kind": "method",
|
|
4336
|
+
"name": "onScroll",
|
|
4337
|
+
"privacy": "private",
|
|
4338
|
+
"return": {
|
|
4339
|
+
"type": {
|
|
4340
|
+
"text": "void"
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
"kind": "method",
|
|
4346
|
+
"name": "pick",
|
|
4347
|
+
"privacy": "private",
|
|
4348
|
+
"return": {
|
|
4349
|
+
"type": {
|
|
4350
|
+
"text": "void"
|
|
4351
|
+
}
|
|
4352
|
+
},
|
|
4353
|
+
"parameters": [
|
|
4354
|
+
{
|
|
4355
|
+
"name": "i",
|
|
4356
|
+
"type": {
|
|
4357
|
+
"text": "number"
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
]
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
"kind": "method",
|
|
4364
|
+
"name": "toLatest",
|
|
4365
|
+
"privacy": "private",
|
|
4366
|
+
"return": {
|
|
4367
|
+
"type": {
|
|
4368
|
+
"text": "void"
|
|
4369
|
+
}
|
|
4370
|
+
}
|
|
4371
|
+
},
|
|
4372
|
+
{
|
|
4373
|
+
"kind": "method",
|
|
4374
|
+
"name": "loadEarlier",
|
|
4375
|
+
"privacy": "private",
|
|
4376
|
+
"return": {
|
|
4377
|
+
"type": {
|
|
4378
|
+
"text": "void"
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
"kind": "method",
|
|
4384
|
+
"name": "renderPicker",
|
|
4385
|
+
"privacy": "private",
|
|
4386
|
+
"parameters": [
|
|
4387
|
+
{
|
|
4388
|
+
"name": "sections",
|
|
4389
|
+
"type": {
|
|
4390
|
+
"text": "readonly TranscriptSection[]"
|
|
4391
|
+
}
|
|
4392
|
+
},
|
|
4393
|
+
{
|
|
4394
|
+
"name": "shown",
|
|
4395
|
+
"type": {
|
|
4396
|
+
"text": "number"
|
|
4397
|
+
}
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"name": "s",
|
|
4401
|
+
"type": {
|
|
4402
|
+
"text": "TranscriptStrings"
|
|
4403
|
+
}
|
|
4404
|
+
}
|
|
4405
|
+
]
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
"kind": "method",
|
|
4409
|
+
"name": "renderSection",
|
|
4410
|
+
"privacy": "private",
|
|
4411
|
+
"parameters": [
|
|
4412
|
+
{
|
|
4413
|
+
"name": "sec",
|
|
4414
|
+
"type": {
|
|
4415
|
+
"text": "TranscriptSection"
|
|
4416
|
+
}
|
|
4417
|
+
},
|
|
4418
|
+
{
|
|
4419
|
+
"name": "isLast",
|
|
4420
|
+
"type": {
|
|
4421
|
+
"text": "boolean"
|
|
4422
|
+
}
|
|
4423
|
+
},
|
|
4424
|
+
{
|
|
4425
|
+
"name": "s",
|
|
4426
|
+
"type": {
|
|
4427
|
+
"text": "TranscriptStrings"
|
|
4428
|
+
}
|
|
4429
|
+
},
|
|
4430
|
+
{
|
|
4431
|
+
"name": "cards",
|
|
4432
|
+
"type": {
|
|
4433
|
+
"text": "CardHost"
|
|
4434
|
+
}
|
|
4435
|
+
}
|
|
4436
|
+
]
|
|
4437
|
+
},
|
|
4438
|
+
{
|
|
4439
|
+
"kind": "method",
|
|
4440
|
+
"name": "renderHead",
|
|
4441
|
+
"privacy": "private",
|
|
4442
|
+
"parameters": [
|
|
4443
|
+
{
|
|
4444
|
+
"name": "sec",
|
|
4445
|
+
"type": {
|
|
4446
|
+
"text": "TranscriptSection"
|
|
4447
|
+
}
|
|
4448
|
+
}
|
|
4449
|
+
]
|
|
4450
|
+
},
|
|
4451
|
+
{
|
|
4452
|
+
"kind": "method",
|
|
4453
|
+
"name": "renderProse",
|
|
4454
|
+
"privacy": "private",
|
|
4455
|
+
"parameters": [
|
|
4456
|
+
{
|
|
4457
|
+
"name": "sec",
|
|
4458
|
+
"type": {
|
|
4459
|
+
"text": "TranscriptSection"
|
|
4460
|
+
}
|
|
4461
|
+
},
|
|
4462
|
+
{
|
|
4463
|
+
"name": "d",
|
|
4464
|
+
"type": {
|
|
4465
|
+
"text": "TranscriptDetail"
|
|
4466
|
+
}
|
|
4467
|
+
}
|
|
4468
|
+
],
|
|
4469
|
+
"description": "A prose detail is drawn only while it is open."
|
|
4470
|
+
},
|
|
4471
|
+
{
|
|
4472
|
+
"kind": "method",
|
|
4473
|
+
"name": "md",
|
|
4474
|
+
"privacy": "private",
|
|
4475
|
+
"parameters": [
|
|
4476
|
+
{
|
|
4477
|
+
"name": "id",
|
|
4478
|
+
"type": {
|
|
4479
|
+
"text": "string"
|
|
4480
|
+
}
|
|
4481
|
+
},
|
|
4482
|
+
{
|
|
4483
|
+
"name": "raw",
|
|
4484
|
+
"type": {
|
|
4485
|
+
"text": "string"
|
|
4486
|
+
}
|
|
4487
|
+
}
|
|
4488
|
+
]
|
|
4489
|
+
},
|
|
4490
|
+
{
|
|
4491
|
+
"kind": "method",
|
|
4492
|
+
"name": "bubble",
|
|
4493
|
+
"privacy": "private",
|
|
4494
|
+
"parameters": [
|
|
4495
|
+
{
|
|
4496
|
+
"name": "av",
|
|
4497
|
+
"type": {
|
|
4498
|
+
"text": "string"
|
|
4499
|
+
}
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
4502
|
+
"name": "avCls",
|
|
4503
|
+
"type": {
|
|
4504
|
+
"text": "string"
|
|
4505
|
+
}
|
|
4506
|
+
},
|
|
4507
|
+
{
|
|
4508
|
+
"name": "head",
|
|
4509
|
+
"type": {
|
|
4510
|
+
"text": "string"
|
|
4511
|
+
}
|
|
4512
|
+
},
|
|
4513
|
+
{
|
|
4514
|
+
"name": "body",
|
|
4515
|
+
"type": {
|
|
4516
|
+
"text": "TemplateResult | string"
|
|
4517
|
+
}
|
|
4518
|
+
},
|
|
4519
|
+
{
|
|
4520
|
+
"name": "title",
|
|
4521
|
+
"optional": true,
|
|
4522
|
+
"type": {
|
|
4523
|
+
"text": "string"
|
|
4524
|
+
}
|
|
4525
|
+
}
|
|
4526
|
+
]
|
|
4527
|
+
},
|
|
4528
|
+
{
|
|
4529
|
+
"kind": "method",
|
|
4530
|
+
"name": "renderItem",
|
|
4531
|
+
"privacy": "private",
|
|
4532
|
+
"parameters": [
|
|
4533
|
+
{
|
|
4534
|
+
"name": "it",
|
|
4535
|
+
"type": {
|
|
4536
|
+
"text": "TranscriptItem"
|
|
4537
|
+
}
|
|
4538
|
+
},
|
|
4539
|
+
{
|
|
4540
|
+
"name": "s",
|
|
4541
|
+
"type": {
|
|
4542
|
+
"text": "TranscriptStrings"
|
|
4543
|
+
}
|
|
4544
|
+
},
|
|
4545
|
+
{
|
|
4546
|
+
"name": "cards",
|
|
4547
|
+
"type": {
|
|
4548
|
+
"text": "CardHost"
|
|
4549
|
+
}
|
|
4550
|
+
}
|
|
4551
|
+
]
|
|
4552
|
+
},
|
|
4553
|
+
{
|
|
4554
|
+
"kind": "method",
|
|
4555
|
+
"name": "typing",
|
|
4556
|
+
"privacy": "private",
|
|
4557
|
+
"parameters": [
|
|
4558
|
+
{
|
|
4559
|
+
"name": "s",
|
|
4560
|
+
"type": {
|
|
4561
|
+
"text": "TranscriptStrings"
|
|
4562
|
+
}
|
|
4563
|
+
}
|
|
4564
|
+
]
|
|
4565
|
+
}
|
|
4566
|
+
],
|
|
4567
|
+
"events": [
|
|
4568
|
+
{
|
|
4569
|
+
"description": "`{index}`: the reader picked a section (null: the latest)",
|
|
4570
|
+
"name": "cae-section-change"
|
|
4571
|
+
},
|
|
4572
|
+
{
|
|
4573
|
+
"description": "`{index}`: the section on screen changed (-1: none)",
|
|
4574
|
+
"name": "cae-section-shown"
|
|
4575
|
+
},
|
|
4576
|
+
{
|
|
4577
|
+
"description": "the reader asked for the content before `earlier`",
|
|
4578
|
+
"name": "cae-load-earlier"
|
|
4579
|
+
}
|
|
4580
|
+
],
|
|
4581
|
+
"attributes": [
|
|
4582
|
+
{
|
|
4583
|
+
"name": "live",
|
|
4584
|
+
"type": {
|
|
4585
|
+
"text": "boolean"
|
|
4586
|
+
},
|
|
4587
|
+
"default": "false",
|
|
4588
|
+
"description": "The transcript is still being written: it shows the agent working; a tool call with no result is running, not interrupted.",
|
|
4589
|
+
"fieldName": "live"
|
|
4590
|
+
},
|
|
4591
|
+
{
|
|
4592
|
+
"name": "earlier",
|
|
4593
|
+
"type": {
|
|
4594
|
+
"text": "number"
|
|
4595
|
+
},
|
|
4596
|
+
"default": "0",
|
|
4597
|
+
"description": "Lines before the content that are not loaded: above 0, a button asks for them (`cae-load-earlier`).",
|
|
4598
|
+
"fieldName": "earlier"
|
|
4599
|
+
},
|
|
4600
|
+
{
|
|
4601
|
+
"name": "loading",
|
|
4602
|
+
"type": {
|
|
4603
|
+
"text": "boolean"
|
|
4604
|
+
},
|
|
4605
|
+
"default": "false",
|
|
4606
|
+
"description": "The content has not arrived yet: the reader's position is restored once it has.",
|
|
4607
|
+
"fieldName": "loading"
|
|
4608
|
+
},
|
|
4609
|
+
{
|
|
4610
|
+
"name": "mode",
|
|
4611
|
+
"type": {
|
|
4612
|
+
"text": "'full' | 'tabs' | 'none'"
|
|
4613
|
+
},
|
|
4614
|
+
"default": "'full'",
|
|
4615
|
+
"description": "`full`; `tabs`: only the section picker; `none`: hidden.",
|
|
4616
|
+
"fieldName": "mode"
|
|
4617
|
+
}
|
|
4618
|
+
],
|
|
4619
|
+
"superclass": {
|
|
4620
|
+
"name": "LitElement",
|
|
4621
|
+
"package": "lit"
|
|
4622
|
+
},
|
|
4623
|
+
"tagName": "cae-transcript",
|
|
4624
|
+
"customElement": true
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
"kind": "variable",
|
|
4628
|
+
"name": "s"
|
|
4629
|
+
}
|
|
4630
|
+
],
|
|
4631
|
+
"exports": [
|
|
4632
|
+
{
|
|
4633
|
+
"kind": "js",
|
|
4634
|
+
"name": "CaeTranscript",
|
|
4635
|
+
"declaration": {
|
|
4636
|
+
"name": "CaeTranscript",
|
|
4637
|
+
"module": "src/transcript/transcript.ts"
|
|
4638
|
+
}
|
|
4639
|
+
}
|
|
4640
|
+
]
|
|
4641
|
+
},
|
|
4642
|
+
{
|
|
4643
|
+
"kind": "javascript-module",
|
|
4644
|
+
"path": "src/tree/tree.ts",
|
|
4645
|
+
"declarations": [
|
|
4646
|
+
{
|
|
4647
|
+
"kind": "variable",
|
|
4648
|
+
"name": "DEFAULT_TREE_STRINGS",
|
|
4649
|
+
"type": {
|
|
4650
|
+
"text": "Readonly<TreeStrings>"
|
|
4651
|
+
},
|
|
4652
|
+
"default": "{ empty: 'No items' }"
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
"kind": "function",
|
|
4656
|
+
"name": "visibleRows",
|
|
4657
|
+
"return": {
|
|
4658
|
+
"type": {
|
|
4659
|
+
"text": "TreeRow[]"
|
|
4660
|
+
}
|
|
4661
|
+
},
|
|
4662
|
+
"parameters": [
|
|
4663
|
+
{
|
|
4664
|
+
"name": "items",
|
|
4665
|
+
"type": {
|
|
4666
|
+
"text": "readonly TreeItem[]"
|
|
4667
|
+
}
|
|
4668
|
+
},
|
|
4669
|
+
{
|
|
4670
|
+
"name": "isOpen",
|
|
4671
|
+
"type": {
|
|
4672
|
+
"text": "(t: TreeItem) => boolean"
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
],
|
|
4676
|
+
"description": "The items shown, top to bottom: every item whose ancestors are all open (`isOpen`)."
|
|
4677
|
+
},
|
|
4678
|
+
{
|
|
4679
|
+
"kind": "function",
|
|
4680
|
+
"name": "ancestorsOf",
|
|
4681
|
+
"return": {
|
|
4682
|
+
"type": {
|
|
4683
|
+
"text": "string[] | null"
|
|
4684
|
+
}
|
|
4685
|
+
},
|
|
4686
|
+
"parameters": [
|
|
4687
|
+
{
|
|
4688
|
+
"name": "items",
|
|
4689
|
+
"type": {
|
|
4690
|
+
"text": "readonly TreeItem[]"
|
|
4691
|
+
}
|
|
4692
|
+
},
|
|
4693
|
+
{
|
|
4694
|
+
"name": "id",
|
|
4695
|
+
"type": {
|
|
4696
|
+
"text": "string"
|
|
4697
|
+
}
|
|
4698
|
+
}
|
|
4699
|
+
],
|
|
4700
|
+
"description": "The ids of the ancestors of item `id`, outermost first; null when no item has that id."
|
|
4701
|
+
},
|
|
4702
|
+
{
|
|
4703
|
+
"kind": "function",
|
|
4704
|
+
"name": "findItem",
|
|
4705
|
+
"return": {
|
|
4706
|
+
"type": {
|
|
4707
|
+
"text": "TreeItem | null"
|
|
4708
|
+
}
|
|
4709
|
+
},
|
|
4710
|
+
"parameters": [
|
|
4711
|
+
{
|
|
4712
|
+
"name": "items",
|
|
4713
|
+
"type": {
|
|
4714
|
+
"text": "readonly TreeItem[]"
|
|
4715
|
+
}
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"name": "match",
|
|
4719
|
+
"type": {
|
|
4720
|
+
"text": "(t: TreeItem) => boolean"
|
|
4721
|
+
}
|
|
4722
|
+
}
|
|
4723
|
+
],
|
|
4724
|
+
"description": "The first item, depth first, that `match` accepts."
|
|
4725
|
+
},
|
|
4726
|
+
{
|
|
4727
|
+
"kind": "class",
|
|
4728
|
+
"description": "Items in a tree, the children of each under it, folded and opened by the reader: files\nand directories, say. It is one tab stop: Up and Down move between the items shown,\nRight opens an item (then moves to its first child), Left closes it (or moves to its\nparent), Home and End go to the first and the last, a letter to the next item of\nthat initial; Enter, Space or a click selects a selectable item (`cae-select`) and\nopens or closes any other. The toggle before an item with children opens and closes\nit (`cae-toggle`). The ancestors of `selected` are always open.",
|
|
4729
|
+
"name": "CaeTree",
|
|
4730
|
+
"cssParts": [
|
|
4731
|
+
{
|
|
4732
|
+
"description": "the list of items",
|
|
4733
|
+
"name": "tree"
|
|
4734
|
+
},
|
|
4735
|
+
{
|
|
4736
|
+
"description": "an item's row",
|
|
4737
|
+
"name": "item"
|
|
4738
|
+
},
|
|
4739
|
+
{
|
|
4740
|
+
"description": "what it shows with no items",
|
|
4741
|
+
"name": "empty"
|
|
4742
|
+
}
|
|
4743
|
+
],
|
|
4744
|
+
"members": [
|
|
4745
|
+
{
|
|
4746
|
+
"kind": "field",
|
|
4747
|
+
"name": "items",
|
|
4748
|
+
"type": {
|
|
4749
|
+
"text": "readonly TreeItem[]"
|
|
4750
|
+
},
|
|
4751
|
+
"default": "[]"
|
|
4752
|
+
},
|
|
4753
|
+
{
|
|
4754
|
+
"kind": "field",
|
|
4755
|
+
"name": "selected",
|
|
4756
|
+
"type": {
|
|
4757
|
+
"text": "string | null"
|
|
4758
|
+
},
|
|
4759
|
+
"default": "null",
|
|
4760
|
+
"description": "The selected item's id, or null."
|
|
4761
|
+
},
|
|
4762
|
+
{
|
|
4763
|
+
"kind": "field",
|
|
4764
|
+
"name": "label",
|
|
4765
|
+
"type": {
|
|
4766
|
+
"text": "string"
|
|
4767
|
+
},
|
|
4768
|
+
"default": "''",
|
|
4769
|
+
"description": "What the tree is named to a screen reader.",
|
|
4770
|
+
"attribute": "label"
|
|
4771
|
+
},
|
|
4772
|
+
{
|
|
4773
|
+
"kind": "field",
|
|
4774
|
+
"name": "strings",
|
|
4775
|
+
"type": {
|
|
4776
|
+
"text": "Partial<TreeStrings>"
|
|
4777
|
+
},
|
|
4778
|
+
"default": "{}",
|
|
4779
|
+
"description": "The visible words; English by default."
|
|
4780
|
+
},
|
|
4781
|
+
{
|
|
4782
|
+
"kind": "field",
|
|
4783
|
+
"name": "opened",
|
|
4784
|
+
"privacy": "private",
|
|
4785
|
+
"default": "new Map<string, boolean>()",
|
|
4786
|
+
"description": "The reader's choice of open and closed items, by id, over each item's `open`."
|
|
4787
|
+
},
|
|
4788
|
+
{
|
|
4789
|
+
"kind": "field",
|
|
4790
|
+
"name": "focusId",
|
|
4791
|
+
"type": {
|
|
4792
|
+
"text": "string | null"
|
|
4793
|
+
},
|
|
4794
|
+
"privacy": "private",
|
|
4795
|
+
"default": "null",
|
|
4796
|
+
"description": "The item that holds the tab stop."
|
|
3950
4797
|
},
|
|
3951
4798
|
{
|
|
3952
|
-
"kind": "
|
|
3953
|
-
"name": "
|
|
4799
|
+
"kind": "field",
|
|
4800
|
+
"name": "isOpen",
|
|
3954
4801
|
"privacy": "private",
|
|
3955
|
-
"
|
|
3956
|
-
"type": {
|
|
3957
|
-
"text": "void"
|
|
3958
|
-
}
|
|
3959
|
-
}
|
|
4802
|
+
"readonly": true
|
|
3960
4803
|
},
|
|
3961
4804
|
{
|
|
3962
4805
|
"kind": "method",
|
|
3963
|
-
"name": "
|
|
4806
|
+
"name": "rowOf",
|
|
3964
4807
|
"privacy": "private",
|
|
3965
4808
|
"return": {
|
|
3966
4809
|
"type": {
|
|
3967
|
-
"text": "
|
|
4810
|
+
"text": "HTMLElement | null"
|
|
3968
4811
|
}
|
|
3969
4812
|
},
|
|
3970
4813
|
"parameters": [
|
|
3971
4814
|
{
|
|
3972
|
-
"name": "
|
|
4815
|
+
"name": "id",
|
|
3973
4816
|
"type": {
|
|
3974
|
-
"text": "
|
|
4817
|
+
"text": "string"
|
|
3975
4818
|
}
|
|
3976
4819
|
}
|
|
3977
4820
|
]
|
|
3978
4821
|
},
|
|
3979
4822
|
{
|
|
3980
4823
|
"kind": "method",
|
|
3981
|
-
"name": "
|
|
3982
|
-
"privacy": "private",
|
|
3983
|
-
"return": {
|
|
3984
|
-
"type": {
|
|
3985
|
-
"text": "void"
|
|
3986
|
-
}
|
|
3987
|
-
}
|
|
3988
|
-
},
|
|
3989
|
-
{
|
|
3990
|
-
"kind": "method",
|
|
3991
|
-
"name": "loadEarlier",
|
|
4824
|
+
"name": "setOpen",
|
|
3992
4825
|
"privacy": "private",
|
|
3993
4826
|
"return": {
|
|
3994
4827
|
"type": {
|
|
3995
4828
|
"text": "void"
|
|
3996
4829
|
}
|
|
3997
|
-
}
|
|
3998
|
-
},
|
|
3999
|
-
{
|
|
4000
|
-
"kind": "method",
|
|
4001
|
-
"name": "renderPicker",
|
|
4002
|
-
"privacy": "private",
|
|
4003
|
-
"parameters": [
|
|
4004
|
-
{
|
|
4005
|
-
"name": "sections",
|
|
4006
|
-
"type": {
|
|
4007
|
-
"text": "readonly TranscriptSection[]"
|
|
4008
|
-
}
|
|
4009
|
-
},
|
|
4010
|
-
{
|
|
4011
|
-
"name": "shown",
|
|
4012
|
-
"type": {
|
|
4013
|
-
"text": "number"
|
|
4014
|
-
}
|
|
4015
|
-
},
|
|
4016
|
-
{
|
|
4017
|
-
"name": "s",
|
|
4018
|
-
"type": {
|
|
4019
|
-
"text": "TranscriptStrings"
|
|
4020
|
-
}
|
|
4021
|
-
}
|
|
4022
|
-
]
|
|
4023
|
-
},
|
|
4024
|
-
{
|
|
4025
|
-
"kind": "method",
|
|
4026
|
-
"name": "renderSection",
|
|
4027
|
-
"privacy": "private",
|
|
4830
|
+
},
|
|
4028
4831
|
"parameters": [
|
|
4029
4832
|
{
|
|
4030
|
-
"name": "
|
|
4833
|
+
"name": "t",
|
|
4031
4834
|
"type": {
|
|
4032
|
-
"text": "
|
|
4835
|
+
"text": "TreeItem"
|
|
4033
4836
|
}
|
|
4034
4837
|
},
|
|
4035
4838
|
{
|
|
4036
|
-
"name": "
|
|
4839
|
+
"name": "open",
|
|
4037
4840
|
"type": {
|
|
4038
4841
|
"text": "boolean"
|
|
4039
4842
|
}
|
|
4040
|
-
},
|
|
4041
|
-
{
|
|
4042
|
-
"name": "s",
|
|
4043
|
-
"type": {
|
|
4044
|
-
"text": "TranscriptStrings"
|
|
4045
|
-
}
|
|
4046
|
-
},
|
|
4047
|
-
{
|
|
4048
|
-
"name": "cards",
|
|
4049
|
-
"type": {
|
|
4050
|
-
"text": "CardHost"
|
|
4051
|
-
}
|
|
4052
4843
|
}
|
|
4053
4844
|
]
|
|
4054
4845
|
},
|
|
4055
4846
|
{
|
|
4056
4847
|
"kind": "method",
|
|
4057
|
-
"name": "
|
|
4848
|
+
"name": "choose",
|
|
4058
4849
|
"privacy": "private",
|
|
4850
|
+
"return": {
|
|
4851
|
+
"type": {
|
|
4852
|
+
"text": "void"
|
|
4853
|
+
}
|
|
4854
|
+
},
|
|
4059
4855
|
"parameters": [
|
|
4060
4856
|
{
|
|
4061
|
-
"name": "
|
|
4857
|
+
"name": "t",
|
|
4062
4858
|
"type": {
|
|
4063
|
-
"text": "
|
|
4859
|
+
"text": "TreeItem"
|
|
4064
4860
|
}
|
|
4065
4861
|
}
|
|
4066
4862
|
]
|
|
4067
4863
|
},
|
|
4068
4864
|
{
|
|
4069
4865
|
"kind": "method",
|
|
4070
|
-
"name": "
|
|
4866
|
+
"name": "moveTo",
|
|
4071
4867
|
"privacy": "private",
|
|
4072
|
-
"
|
|
4073
|
-
{
|
|
4074
|
-
"
|
|
4075
|
-
"type": {
|
|
4076
|
-
"text": "TranscriptSection"
|
|
4077
|
-
}
|
|
4078
|
-
},
|
|
4079
|
-
{
|
|
4080
|
-
"name": "d",
|
|
4081
|
-
"type": {
|
|
4082
|
-
"text": "TranscriptDetail"
|
|
4083
|
-
}
|
|
4868
|
+
"return": {
|
|
4869
|
+
"type": {
|
|
4870
|
+
"text": "Promise<void>"
|
|
4084
4871
|
}
|
|
4085
|
-
|
|
4086
|
-
"description": "A prose detail is drawn only while it is open."
|
|
4087
|
-
},
|
|
4088
|
-
{
|
|
4089
|
-
"kind": "method",
|
|
4090
|
-
"name": "md",
|
|
4091
|
-
"privacy": "private",
|
|
4872
|
+
},
|
|
4092
4873
|
"parameters": [
|
|
4093
4874
|
{
|
|
4094
4875
|
"name": "id",
|
|
4095
4876
|
"type": {
|
|
4096
4877
|
"text": "string"
|
|
4097
4878
|
}
|
|
4098
|
-
},
|
|
4099
|
-
{
|
|
4100
|
-
"name": "raw",
|
|
4101
|
-
"type": {
|
|
4102
|
-
"text": "string"
|
|
4103
|
-
}
|
|
4104
4879
|
}
|
|
4105
4880
|
]
|
|
4106
4881
|
},
|
|
4107
4882
|
{
|
|
4108
4883
|
"kind": "method",
|
|
4109
|
-
"name": "
|
|
4884
|
+
"name": "onKey",
|
|
4110
4885
|
"privacy": "private",
|
|
4886
|
+
"return": {
|
|
4887
|
+
"type": {
|
|
4888
|
+
"text": "void"
|
|
4889
|
+
}
|
|
4890
|
+
},
|
|
4111
4891
|
"parameters": [
|
|
4112
4892
|
{
|
|
4113
|
-
"name": "
|
|
4114
|
-
"type": {
|
|
4115
|
-
"text": "string"
|
|
4116
|
-
}
|
|
4117
|
-
},
|
|
4118
|
-
{
|
|
4119
|
-
"name": "avCls",
|
|
4120
|
-
"type": {
|
|
4121
|
-
"text": "string"
|
|
4122
|
-
}
|
|
4123
|
-
},
|
|
4124
|
-
{
|
|
4125
|
-
"name": "head",
|
|
4893
|
+
"name": "e",
|
|
4126
4894
|
"type": {
|
|
4127
|
-
"text": "
|
|
4895
|
+
"text": "KeyboardEvent"
|
|
4128
4896
|
}
|
|
4129
4897
|
},
|
|
4130
4898
|
{
|
|
4131
|
-
"name": "
|
|
4899
|
+
"name": "rows",
|
|
4132
4900
|
"type": {
|
|
4133
|
-
"text": "
|
|
4901
|
+
"text": "readonly TreeRow[]"
|
|
4134
4902
|
}
|
|
4135
4903
|
},
|
|
4136
4904
|
{
|
|
4137
|
-
"name": "
|
|
4138
|
-
"optional": true,
|
|
4905
|
+
"name": "i",
|
|
4139
4906
|
"type": {
|
|
4140
|
-
"text": "
|
|
4907
|
+
"text": "number"
|
|
4141
4908
|
}
|
|
4142
4909
|
}
|
|
4143
4910
|
]
|
|
4144
4911
|
},
|
|
4145
4912
|
{
|
|
4146
4913
|
"kind": "method",
|
|
4147
|
-
"name": "
|
|
4914
|
+
"name": "row",
|
|
4148
4915
|
"privacy": "private",
|
|
4916
|
+
"return": {
|
|
4917
|
+
"type": {
|
|
4918
|
+
"text": "TemplateResult"
|
|
4919
|
+
}
|
|
4920
|
+
},
|
|
4149
4921
|
"parameters": [
|
|
4150
4922
|
{
|
|
4151
|
-
"name": "
|
|
4923
|
+
"name": "r",
|
|
4152
4924
|
"type": {
|
|
4153
|
-
"text": "
|
|
4925
|
+
"text": "TreeRow"
|
|
4154
4926
|
}
|
|
4155
4927
|
},
|
|
4156
4928
|
{
|
|
4157
|
-
"name": "
|
|
4929
|
+
"name": "i",
|
|
4158
4930
|
"type": {
|
|
4159
|
-
"text": "
|
|
4931
|
+
"text": "number"
|
|
4160
4932
|
}
|
|
4161
4933
|
},
|
|
4162
4934
|
{
|
|
4163
|
-
"name": "
|
|
4935
|
+
"name": "rows",
|
|
4164
4936
|
"type": {
|
|
4165
|
-
"text": "
|
|
4937
|
+
"text": "readonly TreeRow[]"
|
|
4166
4938
|
}
|
|
4167
|
-
}
|
|
4168
|
-
]
|
|
4169
|
-
},
|
|
4170
|
-
{
|
|
4171
|
-
"kind": "method",
|
|
4172
|
-
"name": "typing",
|
|
4173
|
-
"privacy": "private",
|
|
4174
|
-
"parameters": [
|
|
4939
|
+
},
|
|
4175
4940
|
{
|
|
4176
|
-
"name": "
|
|
4941
|
+
"name": "stop",
|
|
4177
4942
|
"type": {
|
|
4178
|
-
"text": "
|
|
4943
|
+
"text": "boolean"
|
|
4179
4944
|
}
|
|
4180
4945
|
}
|
|
4181
4946
|
]
|
|
@@ -4183,75 +4948,72 @@
|
|
|
4183
4948
|
],
|
|
4184
4949
|
"events": [
|
|
4185
4950
|
{
|
|
4186
|
-
"description": "`{
|
|
4187
|
-
"name": "cae-
|
|
4188
|
-
},
|
|
4189
|
-
{
|
|
4190
|
-
"description": "`{index}`: the section on screen changed (-1: none)",
|
|
4191
|
-
"name": "cae-section-shown"
|
|
4951
|
+
"description": "`{id}`: an item was chosen with a click, Enter or Space",
|
|
4952
|
+
"name": "cae-select"
|
|
4192
4953
|
},
|
|
4193
4954
|
{
|
|
4194
|
-
"description": "the reader
|
|
4195
|
-
"name": "cae-
|
|
4955
|
+
"description": "`{id, open}`: the reader opened or closed an item",
|
|
4956
|
+
"name": "cae-toggle"
|
|
4196
4957
|
}
|
|
4197
4958
|
],
|
|
4198
4959
|
"attributes": [
|
|
4199
4960
|
{
|
|
4200
|
-
"name": "
|
|
4201
|
-
"type": {
|
|
4202
|
-
"text": "boolean"
|
|
4203
|
-
},
|
|
4204
|
-
"default": "false",
|
|
4205
|
-
"description": "The transcript is still being written: it shows the agent working; a tool call with no result is running, not interrupted.",
|
|
4206
|
-
"fieldName": "live"
|
|
4207
|
-
},
|
|
4208
|
-
{
|
|
4209
|
-
"name": "earlier",
|
|
4210
|
-
"type": {
|
|
4211
|
-
"text": "number"
|
|
4212
|
-
},
|
|
4213
|
-
"default": "0",
|
|
4214
|
-
"description": "Lines before the content that are not loaded: above 0, a button asks for them (`cae-load-earlier`).",
|
|
4215
|
-
"fieldName": "earlier"
|
|
4216
|
-
},
|
|
4217
|
-
{
|
|
4218
|
-
"name": "loading",
|
|
4219
|
-
"type": {
|
|
4220
|
-
"text": "boolean"
|
|
4221
|
-
},
|
|
4222
|
-
"default": "false",
|
|
4223
|
-
"description": "The content has not arrived yet: the reader's position is restored once it has.",
|
|
4224
|
-
"fieldName": "loading"
|
|
4225
|
-
},
|
|
4226
|
-
{
|
|
4227
|
-
"name": "mode",
|
|
4961
|
+
"name": "label",
|
|
4228
4962
|
"type": {
|
|
4229
|
-
"text": "
|
|
4963
|
+
"text": "string"
|
|
4230
4964
|
},
|
|
4231
|
-
"default": "'
|
|
4232
|
-
"description": "
|
|
4233
|
-
"fieldName": "
|
|
4965
|
+
"default": "''",
|
|
4966
|
+
"description": "What the tree is named to a screen reader.",
|
|
4967
|
+
"fieldName": "label"
|
|
4234
4968
|
}
|
|
4235
4969
|
],
|
|
4236
4970
|
"superclass": {
|
|
4237
4971
|
"name": "LitElement",
|
|
4238
4972
|
"package": "lit"
|
|
4239
4973
|
},
|
|
4240
|
-
"tagName": "cae-
|
|
4974
|
+
"tagName": "cae-tree",
|
|
4241
4975
|
"customElement": true
|
|
4242
|
-
},
|
|
4243
|
-
{
|
|
4244
|
-
"kind": "variable",
|
|
4245
|
-
"name": "s"
|
|
4246
4976
|
}
|
|
4247
4977
|
],
|
|
4248
4978
|
"exports": [
|
|
4249
4979
|
{
|
|
4250
4980
|
"kind": "js",
|
|
4251
|
-
"name": "
|
|
4981
|
+
"name": "DEFAULT_TREE_STRINGS",
|
|
4252
4982
|
"declaration": {
|
|
4253
|
-
"name": "
|
|
4254
|
-
"module": "src/
|
|
4983
|
+
"name": "DEFAULT_TREE_STRINGS",
|
|
4984
|
+
"module": "src/tree/tree.ts"
|
|
4985
|
+
}
|
|
4986
|
+
},
|
|
4987
|
+
{
|
|
4988
|
+
"kind": "js",
|
|
4989
|
+
"name": "visibleRows",
|
|
4990
|
+
"declaration": {
|
|
4991
|
+
"name": "visibleRows",
|
|
4992
|
+
"module": "src/tree/tree.ts"
|
|
4993
|
+
}
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"kind": "js",
|
|
4997
|
+
"name": "ancestorsOf",
|
|
4998
|
+
"declaration": {
|
|
4999
|
+
"name": "ancestorsOf",
|
|
5000
|
+
"module": "src/tree/tree.ts"
|
|
5001
|
+
}
|
|
5002
|
+
},
|
|
5003
|
+
{
|
|
5004
|
+
"kind": "js",
|
|
5005
|
+
"name": "findItem",
|
|
5006
|
+
"declaration": {
|
|
5007
|
+
"name": "findItem",
|
|
5008
|
+
"module": "src/tree/tree.ts"
|
|
5009
|
+
}
|
|
5010
|
+
},
|
|
5011
|
+
{
|
|
5012
|
+
"kind": "js",
|
|
5013
|
+
"name": "CaeTree",
|
|
5014
|
+
"declaration": {
|
|
5015
|
+
"name": "CaeTree",
|
|
5016
|
+
"module": "src/tree/tree.ts"
|
|
4255
5017
|
}
|
|
4256
5018
|
}
|
|
4257
5019
|
]
|