deep-chat-dev 9.0.95 → 9.0.96

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.
@@ -309,7 +309,7 @@
309
309
  "kind": "field",
310
310
  "name": "onComponentRender",
311
311
  "type": {
312
- "text": "(deepChat: DeepChat) => void"
312
+ "text": "() => void"
313
313
  }
314
314
  },
315
315
  {
@@ -501,6 +501,54 @@
501
501
  }
502
502
  ]
503
503
  },
504
+ {
505
+ "kind": "javascript-module",
506
+ "path": "src/services/serviceIO.ts",
507
+ "declarations": [],
508
+ "exports": []
509
+ },
510
+ {
511
+ "kind": "javascript-module",
512
+ "path": "src/services/serviceIOFactory.ts",
513
+ "declarations": [
514
+ {
515
+ "kind": "class",
516
+ "description": "",
517
+ "name": "ServiceIOFactory",
518
+ "members": [
519
+ {
520
+ "kind": "method",
521
+ "name": "create",
522
+ "privacy": "public",
523
+ "static": true,
524
+ "return": {
525
+ "type": {
526
+ "text": "ServiceIO"
527
+ }
528
+ },
529
+ "parameters": [
530
+ {
531
+ "name": "deepChat",
532
+ "type": {
533
+ "text": "DeepChat"
534
+ }
535
+ }
536
+ ]
537
+ }
538
+ ]
539
+ }
540
+ ],
541
+ "exports": [
542
+ {
543
+ "kind": "js",
544
+ "name": "ServiceIOFactory",
545
+ "declaration": {
546
+ "name": "ServiceIOFactory",
547
+ "module": "src/services/serviceIOFactory.ts"
548
+ }
549
+ }
550
+ ]
551
+ },
504
552
  {
505
553
  "kind": "javascript-module",
506
554
  "path": "src/icons/audioIcon.ts",
@@ -860,51 +908,327 @@
860
908
  },
861
909
  {
862
910
  "kind": "javascript-module",
863
- "path": "src/services/serviceIO.ts",
911
+ "path": "src/types/APIKey.ts",
864
912
  "declarations": [],
865
913
  "exports": []
866
914
  },
867
915
  {
868
916
  "kind": "javascript-module",
869
- "path": "src/services/serviceIOFactory.ts",
870
- "declarations": [
871
- {
872
- "kind": "class",
873
- "description": "",
874
- "name": "ServiceIOFactory",
875
- "members": [
876
- {
877
- "kind": "method",
878
- "name": "create",
879
- "privacy": "public",
880
- "static": true,
881
- "return": {
882
- "type": {
883
- "text": "ServiceIO"
884
- }
885
- },
886
- "parameters": [
887
- {
888
- "name": "deepChat",
889
- "type": {
890
- "text": "DeepChat"
891
- }
892
- }
893
- ]
894
- }
895
- ]
896
- }
897
- ],
898
- "exports": [
899
- {
900
- "kind": "js",
901
- "name": "ServiceIOFactory",
902
- "declaration": {
903
- "name": "ServiceIOFactory",
904
- "module": "src/services/serviceIOFactory.ts"
905
- }
906
- }
907
- ]
917
+ "path": "src/types/GCP.ts",
918
+ "declarations": [],
919
+ "exports": []
920
+ },
921
+ {
922
+ "kind": "javascript-module",
923
+ "path": "src/types/assemblyAI.ts",
924
+ "declarations": [],
925
+ "exports": []
926
+ },
927
+ {
928
+ "kind": "javascript-module",
929
+ "path": "src/types/assemblyAIResult.ts",
930
+ "declarations": [],
931
+ "exports": []
932
+ },
933
+ {
934
+ "kind": "javascript-module",
935
+ "path": "src/types/avatars.ts",
936
+ "declarations": [],
937
+ "exports": []
938
+ },
939
+ {
940
+ "kind": "javascript-module",
941
+ "path": "src/types/azure.ts",
942
+ "declarations": [],
943
+ "exports": []
944
+ },
945
+ {
946
+ "kind": "javascript-module",
947
+ "path": "src/types/azureResult.ts",
948
+ "declarations": [],
949
+ "exports": []
950
+ },
951
+ {
952
+ "kind": "javascript-module",
953
+ "path": "src/types/button.ts",
954
+ "declarations": [],
955
+ "exports": []
956
+ },
957
+ {
958
+ "kind": "javascript-module",
959
+ "path": "src/types/buttonInternal.ts",
960
+ "declarations": [],
961
+ "exports": []
962
+ },
963
+ {
964
+ "kind": "javascript-module",
965
+ "path": "src/types/buttonTypes.ts",
966
+ "declarations": [],
967
+ "exports": []
968
+ },
969
+ {
970
+ "kind": "javascript-module",
971
+ "path": "src/types/camera.ts",
972
+ "declarations": [],
973
+ "exports": []
974
+ },
975
+ {
976
+ "kind": "javascript-module",
977
+ "path": "src/types/chatLimits.ts",
978
+ "declarations": [],
979
+ "exports": []
980
+ },
981
+ {
982
+ "kind": "javascript-module",
983
+ "path": "src/types/cohere.ts",
984
+ "declarations": [],
985
+ "exports": []
986
+ },
987
+ {
988
+ "kind": "javascript-module",
989
+ "path": "src/types/cohereResult.ts",
990
+ "declarations": [],
991
+ "exports": []
992
+ },
993
+ {
994
+ "kind": "javascript-module",
995
+ "path": "src/types/demo.ts",
996
+ "declarations": [],
997
+ "exports": []
998
+ },
999
+ {
1000
+ "kind": "javascript-module",
1001
+ "path": "src/types/directConnection.ts",
1002
+ "declarations": [],
1003
+ "exports": []
1004
+ },
1005
+ {
1006
+ "kind": "javascript-module",
1007
+ "path": "src/types/dropupStyles.ts",
1008
+ "declarations": [],
1009
+ "exports": []
1010
+ },
1011
+ {
1012
+ "kind": "javascript-module",
1013
+ "path": "src/types/error.ts",
1014
+ "declarations": [],
1015
+ "exports": []
1016
+ },
1017
+ {
1018
+ "kind": "javascript-module",
1019
+ "path": "src/types/fileAttachments.ts",
1020
+ "declarations": [],
1021
+ "exports": []
1022
+ },
1023
+ {
1024
+ "kind": "javascript-module",
1025
+ "path": "src/types/fileServiceConfigs.ts",
1026
+ "declarations": [],
1027
+ "exports": []
1028
+ },
1029
+ {
1030
+ "kind": "javascript-module",
1031
+ "path": "src/types/fileTypes.ts",
1032
+ "declarations": [],
1033
+ "exports": []
1034
+ },
1035
+ {
1036
+ "kind": "javascript-module",
1037
+ "path": "src/types/genericInputButton.ts",
1038
+ "declarations": [],
1039
+ "exports": []
1040
+ },
1041
+ {
1042
+ "kind": "javascript-module",
1043
+ "path": "src/types/handler.ts",
1044
+ "declarations": [],
1045
+ "exports": []
1046
+ },
1047
+ {
1048
+ "kind": "javascript-module",
1049
+ "path": "src/types/headers.ts",
1050
+ "declarations": [],
1051
+ "exports": []
1052
+ },
1053
+ {
1054
+ "kind": "javascript-module",
1055
+ "path": "src/types/html.ts",
1056
+ "declarations": [],
1057
+ "exports": []
1058
+ },
1059
+ {
1060
+ "kind": "javascript-module",
1061
+ "path": "src/types/huggingFace.ts",
1062
+ "declarations": [],
1063
+ "exports": []
1064
+ },
1065
+ {
1066
+ "kind": "javascript-module",
1067
+ "path": "src/types/huggingFaceResult.ts",
1068
+ "declarations": [],
1069
+ "exports": []
1070
+ },
1071
+ {
1072
+ "kind": "javascript-module",
1073
+ "path": "src/types/insertKeyViewStyles.ts",
1074
+ "declarations": [],
1075
+ "exports": []
1076
+ },
1077
+ {
1078
+ "kind": "javascript-module",
1079
+ "path": "src/types/interceptors.ts",
1080
+ "declarations": [],
1081
+ "exports": []
1082
+ },
1083
+ {
1084
+ "kind": "javascript-module",
1085
+ "path": "src/types/keyVerificationDetails.ts",
1086
+ "declarations": [],
1087
+ "exports": []
1088
+ },
1089
+ {
1090
+ "kind": "javascript-module",
1091
+ "path": "src/types/messageFile.ts",
1092
+ "declarations": [],
1093
+ "exports": []
1094
+ },
1095
+ {
1096
+ "kind": "javascript-module",
1097
+ "path": "src/types/messages.ts",
1098
+ "declarations": [],
1099
+ "exports": []
1100
+ },
1101
+ {
1102
+ "kind": "javascript-module",
1103
+ "path": "src/types/messagesInternal.ts",
1104
+ "declarations": [],
1105
+ "exports": []
1106
+ },
1107
+ {
1108
+ "kind": "javascript-module",
1109
+ "path": "src/types/microphone.ts",
1110
+ "declarations": [],
1111
+ "exports": []
1112
+ },
1113
+ {
1114
+ "kind": "javascript-module",
1115
+ "path": "src/types/names.ts",
1116
+ "declarations": [],
1117
+ "exports": []
1118
+ },
1119
+ {
1120
+ "kind": "javascript-module",
1121
+ "path": "src/types/object.ts",
1122
+ "declarations": [],
1123
+ "exports": []
1124
+ },
1125
+ {
1126
+ "kind": "javascript-module",
1127
+ "path": "src/types/openAI.ts",
1128
+ "declarations": [],
1129
+ "exports": []
1130
+ },
1131
+ {
1132
+ "kind": "javascript-module",
1133
+ "path": "src/types/openAIInternal.ts",
1134
+ "declarations": [],
1135
+ "exports": []
1136
+ },
1137
+ {
1138
+ "kind": "javascript-module",
1139
+ "path": "src/types/openAIResult.ts",
1140
+ "declarations": [],
1141
+ "exports": []
1142
+ },
1143
+ {
1144
+ "kind": "javascript-module",
1145
+ "path": "src/types/permittedErrorMessage.ts",
1146
+ "declarations": [],
1147
+ "exports": []
1148
+ },
1149
+ {
1150
+ "kind": "javascript-module",
1151
+ "path": "src/types/request.ts",
1152
+ "declarations": [],
1153
+ "exports": []
1154
+ },
1155
+ {
1156
+ "kind": "javascript-module",
1157
+ "path": "src/types/response.ts",
1158
+ "declarations": [],
1159
+ "exports": []
1160
+ },
1161
+ {
1162
+ "kind": "javascript-module",
1163
+ "path": "src/types/responseInternal.ts",
1164
+ "declarations": [],
1165
+ "exports": []
1166
+ },
1167
+ {
1168
+ "kind": "javascript-module",
1169
+ "path": "src/types/stabilityAI.ts",
1170
+ "declarations": [],
1171
+ "exports": []
1172
+ },
1173
+ {
1174
+ "kind": "javascript-module",
1175
+ "path": "src/types/stabilityAIResult.ts",
1176
+ "declarations": [],
1177
+ "exports": []
1178
+ },
1179
+ {
1180
+ "kind": "javascript-module",
1181
+ "path": "src/types/stream.ts",
1182
+ "declarations": [],
1183
+ "exports": []
1184
+ },
1185
+ {
1186
+ "kind": "javascript-module",
1187
+ "path": "src/types/styles.ts",
1188
+ "declarations": [],
1189
+ "exports": []
1190
+ },
1191
+ {
1192
+ "kind": "javascript-module",
1193
+ "path": "src/types/submitButton.ts",
1194
+ "declarations": [],
1195
+ "exports": []
1196
+ },
1197
+ {
1198
+ "kind": "javascript-module",
1199
+ "path": "src/types/textInput.ts",
1200
+ "declarations": [],
1201
+ "exports": []
1202
+ },
1203
+ {
1204
+ "kind": "javascript-module",
1205
+ "path": "src/types/textToSpeech.ts",
1206
+ "declarations": [],
1207
+ "exports": []
1208
+ },
1209
+ {
1210
+ "kind": "javascript-module",
1211
+ "path": "src/types/typeConverters.ts",
1212
+ "declarations": [],
1213
+ "exports": []
1214
+ },
1215
+ {
1216
+ "kind": "javascript-module",
1217
+ "path": "src/types/utilityTypes.ts",
1218
+ "declarations": [],
1219
+ "exports": []
1220
+ },
1221
+ {
1222
+ "kind": "javascript-module",
1223
+ "path": "src/types/validateInput.ts",
1224
+ "declarations": [],
1225
+ "exports": []
1226
+ },
1227
+ {
1228
+ "kind": "javascript-module",
1229
+ "path": "src/types/validationHandler.ts",
1230
+ "declarations": [],
1231
+ "exports": []
908
1232
  },
909
1233
  {
910
1234
  "kind": "javascript-module",
@@ -927,8 +1251,12 @@
927
1251
  {
928
1252
  "kind": "field",
929
1253
  "name": "GENERIC_ERROR",
1254
+ "type": {
1255
+ "text": "string"
1256
+ },
930
1257
  "privacy": "private",
931
- "static": true
1258
+ "static": true,
1259
+ "default": "'Error, please check the following list of [instructions](https://deepchat.dev/docs/webModel#error) to fix this.'"
932
1260
  },
933
1261
  {
934
1262
  "kind": "field",
@@ -1777,6 +2105,16 @@
1777
2105
  "static": true,
1778
2106
  "default": "'deep-chat-file-input'"
1779
2107
  },
2108
+ {
2109
+ "kind": "field",
2110
+ "name": "CLEAR_CACHE_CLASS",
2111
+ "type": {
2112
+ "text": "string"
2113
+ },
2114
+ "privacy": "private",
2115
+ "static": true,
2116
+ "default": "'deep-chat-clear-cache-button'"
2117
+ },
1780
2118
  {
1781
2119
  "kind": "field",
1782
2120
  "name": "EXPORT_BUTTON_CLASS",
@@ -1880,6 +2218,12 @@
1880
2218
  }
1881
2219
  }
1882
2220
  ]
2221
+ },
2222
+ {
2223
+ "kind": "method",
2224
+ "name": "clearCache",
2225
+ "privacy": "private",
2226
+ "static": true
1883
2227
  }
1884
2228
  ]
1885
2229
  }
@@ -1901,330 +2245,6 @@
1901
2245
  "declarations": [],
1902
2246
  "exports": []
1903
2247
  },
1904
- {
1905
- "kind": "javascript-module",
1906
- "path": "src/types/APIKey.ts",
1907
- "declarations": [],
1908
- "exports": []
1909
- },
1910
- {
1911
- "kind": "javascript-module",
1912
- "path": "src/types/GCP.ts",
1913
- "declarations": [],
1914
- "exports": []
1915
- },
1916
- {
1917
- "kind": "javascript-module",
1918
- "path": "src/types/assemblyAI.ts",
1919
- "declarations": [],
1920
- "exports": []
1921
- },
1922
- {
1923
- "kind": "javascript-module",
1924
- "path": "src/types/assemblyAIResult.ts",
1925
- "declarations": [],
1926
- "exports": []
1927
- },
1928
- {
1929
- "kind": "javascript-module",
1930
- "path": "src/types/avatars.ts",
1931
- "declarations": [],
1932
- "exports": []
1933
- },
1934
- {
1935
- "kind": "javascript-module",
1936
- "path": "src/types/azure.ts",
1937
- "declarations": [],
1938
- "exports": []
1939
- },
1940
- {
1941
- "kind": "javascript-module",
1942
- "path": "src/types/azureResult.ts",
1943
- "declarations": [],
1944
- "exports": []
1945
- },
1946
- {
1947
- "kind": "javascript-module",
1948
- "path": "src/types/button.ts",
1949
- "declarations": [],
1950
- "exports": []
1951
- },
1952
- {
1953
- "kind": "javascript-module",
1954
- "path": "src/types/buttonInternal.ts",
1955
- "declarations": [],
1956
- "exports": []
1957
- },
1958
- {
1959
- "kind": "javascript-module",
1960
- "path": "src/types/buttonTypes.ts",
1961
- "declarations": [],
1962
- "exports": []
1963
- },
1964
- {
1965
- "kind": "javascript-module",
1966
- "path": "src/types/camera.ts",
1967
- "declarations": [],
1968
- "exports": []
1969
- },
1970
- {
1971
- "kind": "javascript-module",
1972
- "path": "src/types/chatLimits.ts",
1973
- "declarations": [],
1974
- "exports": []
1975
- },
1976
- {
1977
- "kind": "javascript-module",
1978
- "path": "src/types/cohere.ts",
1979
- "declarations": [],
1980
- "exports": []
1981
- },
1982
- {
1983
- "kind": "javascript-module",
1984
- "path": "src/types/cohereResult.ts",
1985
- "declarations": [],
1986
- "exports": []
1987
- },
1988
- {
1989
- "kind": "javascript-module",
1990
- "path": "src/types/demo.ts",
1991
- "declarations": [],
1992
- "exports": []
1993
- },
1994
- {
1995
- "kind": "javascript-module",
1996
- "path": "src/types/directConnection.ts",
1997
- "declarations": [],
1998
- "exports": []
1999
- },
2000
- {
2001
- "kind": "javascript-module",
2002
- "path": "src/types/dropupStyles.ts",
2003
- "declarations": [],
2004
- "exports": []
2005
- },
2006
- {
2007
- "kind": "javascript-module",
2008
- "path": "src/types/error.ts",
2009
- "declarations": [],
2010
- "exports": []
2011
- },
2012
- {
2013
- "kind": "javascript-module",
2014
- "path": "src/types/fileAttachments.ts",
2015
- "declarations": [],
2016
- "exports": []
2017
- },
2018
- {
2019
- "kind": "javascript-module",
2020
- "path": "src/types/fileServiceConfigs.ts",
2021
- "declarations": [],
2022
- "exports": []
2023
- },
2024
- {
2025
- "kind": "javascript-module",
2026
- "path": "src/types/fileTypes.ts",
2027
- "declarations": [],
2028
- "exports": []
2029
- },
2030
- {
2031
- "kind": "javascript-module",
2032
- "path": "src/types/genericInputButton.ts",
2033
- "declarations": [],
2034
- "exports": []
2035
- },
2036
- {
2037
- "kind": "javascript-module",
2038
- "path": "src/types/handler.ts",
2039
- "declarations": [],
2040
- "exports": []
2041
- },
2042
- {
2043
- "kind": "javascript-module",
2044
- "path": "src/types/headers.ts",
2045
- "declarations": [],
2046
- "exports": []
2047
- },
2048
- {
2049
- "kind": "javascript-module",
2050
- "path": "src/types/html.ts",
2051
- "declarations": [],
2052
- "exports": []
2053
- },
2054
- {
2055
- "kind": "javascript-module",
2056
- "path": "src/types/huggingFace.ts",
2057
- "declarations": [],
2058
- "exports": []
2059
- },
2060
- {
2061
- "kind": "javascript-module",
2062
- "path": "src/types/huggingFaceResult.ts",
2063
- "declarations": [],
2064
- "exports": []
2065
- },
2066
- {
2067
- "kind": "javascript-module",
2068
- "path": "src/types/insertKeyViewStyles.ts",
2069
- "declarations": [],
2070
- "exports": []
2071
- },
2072
- {
2073
- "kind": "javascript-module",
2074
- "path": "src/types/interceptors.ts",
2075
- "declarations": [],
2076
- "exports": []
2077
- },
2078
- {
2079
- "kind": "javascript-module",
2080
- "path": "src/types/keyVerificationDetails.ts",
2081
- "declarations": [],
2082
- "exports": []
2083
- },
2084
- {
2085
- "kind": "javascript-module",
2086
- "path": "src/types/messageFile.ts",
2087
- "declarations": [],
2088
- "exports": []
2089
- },
2090
- {
2091
- "kind": "javascript-module",
2092
- "path": "src/types/messages.ts",
2093
- "declarations": [],
2094
- "exports": []
2095
- },
2096
- {
2097
- "kind": "javascript-module",
2098
- "path": "src/types/messagesInternal.ts",
2099
- "declarations": [],
2100
- "exports": []
2101
- },
2102
- {
2103
- "kind": "javascript-module",
2104
- "path": "src/types/microphone.ts",
2105
- "declarations": [],
2106
- "exports": []
2107
- },
2108
- {
2109
- "kind": "javascript-module",
2110
- "path": "src/types/names.ts",
2111
- "declarations": [],
2112
- "exports": []
2113
- },
2114
- {
2115
- "kind": "javascript-module",
2116
- "path": "src/types/object.ts",
2117
- "declarations": [],
2118
- "exports": []
2119
- },
2120
- {
2121
- "kind": "javascript-module",
2122
- "path": "src/types/openAI.ts",
2123
- "declarations": [],
2124
- "exports": []
2125
- },
2126
- {
2127
- "kind": "javascript-module",
2128
- "path": "src/types/openAIInternal.ts",
2129
- "declarations": [],
2130
- "exports": []
2131
- },
2132
- {
2133
- "kind": "javascript-module",
2134
- "path": "src/types/openAIResult.ts",
2135
- "declarations": [],
2136
- "exports": []
2137
- },
2138
- {
2139
- "kind": "javascript-module",
2140
- "path": "src/types/permittedErrorMessage.ts",
2141
- "declarations": [],
2142
- "exports": []
2143
- },
2144
- {
2145
- "kind": "javascript-module",
2146
- "path": "src/types/request.ts",
2147
- "declarations": [],
2148
- "exports": []
2149
- },
2150
- {
2151
- "kind": "javascript-module",
2152
- "path": "src/types/response.ts",
2153
- "declarations": [],
2154
- "exports": []
2155
- },
2156
- {
2157
- "kind": "javascript-module",
2158
- "path": "src/types/responseInternal.ts",
2159
- "declarations": [],
2160
- "exports": []
2161
- },
2162
- {
2163
- "kind": "javascript-module",
2164
- "path": "src/types/stabilityAI.ts",
2165
- "declarations": [],
2166
- "exports": []
2167
- },
2168
- {
2169
- "kind": "javascript-module",
2170
- "path": "src/types/stabilityAIResult.ts",
2171
- "declarations": [],
2172
- "exports": []
2173
- },
2174
- {
2175
- "kind": "javascript-module",
2176
- "path": "src/types/stream.ts",
2177
- "declarations": [],
2178
- "exports": []
2179
- },
2180
- {
2181
- "kind": "javascript-module",
2182
- "path": "src/types/styles.ts",
2183
- "declarations": [],
2184
- "exports": []
2185
- },
2186
- {
2187
- "kind": "javascript-module",
2188
- "path": "src/types/submitButton.ts",
2189
- "declarations": [],
2190
- "exports": []
2191
- },
2192
- {
2193
- "kind": "javascript-module",
2194
- "path": "src/types/textInput.ts",
2195
- "declarations": [],
2196
- "exports": []
2197
- },
2198
- {
2199
- "kind": "javascript-module",
2200
- "path": "src/types/textToSpeech.ts",
2201
- "declarations": [],
2202
- "exports": []
2203
- },
2204
- {
2205
- "kind": "javascript-module",
2206
- "path": "src/types/typeConverters.ts",
2207
- "declarations": [],
2208
- "exports": []
2209
- },
2210
- {
2211
- "kind": "javascript-module",
2212
- "path": "src/types/utilityTypes.ts",
2213
- "declarations": [],
2214
- "exports": []
2215
- },
2216
- {
2217
- "kind": "javascript-module",
2218
- "path": "src/types/validateInput.ts",
2219
- "declarations": [],
2220
- "exports": []
2221
- },
2222
- {
2223
- "kind": "javascript-module",
2224
- "path": "src/types/validationHandler.ts",
2225
- "declarations": [],
2226
- "exports": []
2227
- },
2228
2248
  {
2229
2249
  "kind": "javascript-module",
2230
2250
  "path": "src/services/assemblyAI/assemblyAIAudioIO.ts",
@@ -26669,6 +26689,48 @@
26669
26689
  }
26670
26690
  ]
26671
26691
  },
26692
+ {
26693
+ "kind": "javascript-module",
26694
+ "path": "src/utils/svg/svgIconUtils.ts",
26695
+ "declarations": [
26696
+ {
26697
+ "kind": "class",
26698
+ "description": "",
26699
+ "name": "SVGIconUtils",
26700
+ "members": [
26701
+ {
26702
+ "kind": "method",
26703
+ "name": "createSVGElement",
26704
+ "privacy": "public",
26705
+ "static": true,
26706
+ "return": {
26707
+ "type": {
26708
+ "text": "SVGGraphicsElement"
26709
+ }
26710
+ },
26711
+ "parameters": [
26712
+ {
26713
+ "name": "svgString",
26714
+ "type": {
26715
+ "text": "string"
26716
+ }
26717
+ }
26718
+ ]
26719
+ }
26720
+ ]
26721
+ }
26722
+ ],
26723
+ "exports": [
26724
+ {
26725
+ "kind": "js",
26726
+ "name": "SVGIconUtils",
26727
+ "declaration": {
26728
+ "name": "SVGIconUtils",
26729
+ "module": "src/utils/svg/svgIconUtils.ts"
26730
+ }
26731
+ }
26732
+ ]
26733
+ },
26672
26734
  {
26673
26735
  "kind": "javascript-module",
26674
26736
  "path": "src/utils/webComponent/googleFont.ts",
@@ -26909,45 +26971,9 @@
26909
26971
  },
26910
26972
  {
26911
26973
  "kind": "javascript-module",
26912
- "path": "src/utils/svg/svgIconUtils.ts",
26913
- "declarations": [
26914
- {
26915
- "kind": "class",
26916
- "description": "",
26917
- "name": "SVGIconUtils",
26918
- "members": [
26919
- {
26920
- "kind": "method",
26921
- "name": "createSVGElement",
26922
- "privacy": "public",
26923
- "static": true,
26924
- "return": {
26925
- "type": {
26926
- "text": "SVGGraphicsElement"
26927
- }
26928
- },
26929
- "parameters": [
26930
- {
26931
- "name": "svgString",
26932
- "type": {
26933
- "text": "string"
26934
- }
26935
- }
26936
- ]
26937
- }
26938
- ]
26939
- }
26940
- ],
26941
- "exports": [
26942
- {
26943
- "kind": "js",
26944
- "name": "SVGIconUtils",
26945
- "declaration": {
26946
- "name": "SVGIconUtils",
26947
- "module": "src/utils/svg/svgIconUtils.ts"
26948
- }
26949
- }
26950
- ]
26974
+ "path": "src/types/webModel/webModel.ts",
26975
+ "declarations": [],
26976
+ "exports": []
26951
26977
  },
26952
26978
  {
26953
26979
  "kind": "javascript-module",
@@ -27528,12 +27554,6 @@
27528
27554
  }
27529
27555
  ]
27530
27556
  },
27531
- {
27532
- "kind": "javascript-module",
27533
- "path": "src/types/webModel/webModel.ts",
27534
- "declarations": [],
27535
- "exports": []
27536
- },
27537
27557
  {
27538
27558
  "kind": "javascript-module",
27539
27559
  "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
@@ -28257,160 +28277,232 @@
28257
28277
  },
28258
28278
  {
28259
28279
  "kind": "javascript-module",
28260
- "path": "src/views/chat/input/input.ts",
28280
+ "path": "src/types/webModel/webLLM/webLLM.ts",
28281
+ "declarations": [],
28282
+ "exports": [
28283
+ {
28284
+ "kind": "js",
28285
+ "name": "ChatWorkerClient",
28286
+ "declaration": {
28287
+ "name": "ChatWorkerClient",
28288
+ "module": "./webLLMClient"
28289
+ }
28290
+ },
28291
+ {
28292
+ "kind": "js",
28293
+ "name": "ChatModule",
28294
+ "declaration": {
28295
+ "name": "ChatModule",
28296
+ "module": "./webLLMChatModule"
28297
+ }
28298
+ },
28299
+ {
28300
+ "kind": "js",
28301
+ "name": "*",
28302
+ "declaration": {
28303
+ "name": "*",
28304
+ "package": "./webLLMShared"
28305
+ }
28306
+ }
28307
+ ]
28308
+ },
28309
+ {
28310
+ "kind": "javascript-module",
28311
+ "path": "src/types/webModel/webLLM/webLLMChatModule.ts",
28261
28312
  "declarations": [
28262
28313
  {
28263
28314
  "kind": "class",
28264
28315
  "description": "",
28265
- "name": "Input",
28316
+ "name": "ChatModule",
28266
28317
  "members": [
28267
28318
  {
28268
28319
  "kind": "field",
28269
- "name": "elementRef",
28270
- "type": {
28271
- "text": "HTMLElement"
28272
- }
28320
+ "name": "logger",
28321
+ "privacy": "private"
28322
+ },
28323
+ {
28324
+ "kind": "field",
28325
+ "name": "pipeline",
28326
+ "privacy": "private"
28327
+ },
28328
+ {
28329
+ "kind": "field",
28330
+ "name": "initProgressCallback",
28331
+ "privacy": "private"
28332
+ },
28333
+ {
28334
+ "kind": "field",
28335
+ "name": "interruptSignal",
28336
+ "privacy": "private"
28273
28337
  },
28274
28338
  {
28275
28339
  "kind": "method",
28276
- "name": "createPanelElement",
28277
- "privacy": "private",
28278
- "static": true,
28340
+ "name": "setInitProgressCallback",
28341
+ "return": {
28342
+ "type": {
28343
+ "text": "void"
28344
+ }
28345
+ },
28279
28346
  "parameters": [
28280
28347
  {
28281
- "name": "customStyle",
28282
- "optional": true,
28348
+ "name": "initProgressCallback",
28283
28349
  "type": {
28284
- "text": "CustomStyle"
28350
+ "text": "InitProgressCallback"
28285
28351
  }
28286
28352
  }
28287
28353
  ]
28288
28354
  },
28289
28355
  {
28290
28356
  "kind": "method",
28291
- "name": "createFileUploadComponents",
28292
- "privacy": "private",
28357
+ "name": "reload",
28358
+ "return": {
28359
+ "type": {
28360
+ "text": "Promise<void>"
28361
+ }
28362
+ },
28293
28363
  "parameters": [
28294
28364
  {
28295
- "name": "deepChat",
28296
- "type": {
28297
- "text": "DeepChat"
28298
- }
28299
- },
28300
- {
28301
- "name": "serviceIO",
28365
+ "name": "localId",
28302
28366
  "type": {
28303
- "text": "ServiceIO"
28367
+ "text": "string"
28304
28368
  }
28305
28369
  },
28306
28370
  {
28307
- "name": "containerElement",
28371
+ "name": "chatOpts",
28372
+ "optional": true,
28308
28373
  "type": {
28309
- "text": "HTMLElement"
28374
+ "text": "ChatOptions"
28310
28375
  }
28311
28376
  },
28312
28377
  {
28313
- "name": "buttons",
28378
+ "name": "appConfig",
28379
+ "optional": true,
28314
28380
  "type": {
28315
- "text": "Buttons"
28381
+ "text": "AppConfig"
28316
28382
  }
28317
28383
  }
28318
28384
  ]
28319
28385
  },
28320
28386
  {
28321
28387
  "kind": "method",
28322
- "name": "createUploadButtons",
28323
- "privacy": "private",
28324
- "static": true,
28388
+ "name": "generate",
28389
+ "return": {
28390
+ "type": {
28391
+ "text": "Promise<string>"
28392
+ }
28393
+ },
28325
28394
  "parameters": [
28326
28395
  {
28327
- "name": "deepChat",
28328
- "type": {
28329
- "text": "DeepChat"
28330
- }
28331
- },
28332
- {
28333
- "name": "fileTypes",
28334
- "type": {
28335
- "text": "ServiceFileTypes"
28336
- }
28337
- },
28338
- {
28339
- "name": "fileAtt",
28396
+ "name": "input",
28340
28397
  "type": {
28341
- "text": "FileAttachments"
28398
+ "text": "string"
28342
28399
  }
28343
28400
  },
28344
28401
  {
28345
- "name": "containerEl",
28402
+ "name": "progressCallback",
28403
+ "optional": true,
28346
28404
  "type": {
28347
- "text": "HTMLElement"
28405
+ "text": "GenerateProgressCallback"
28348
28406
  }
28349
28407
  },
28350
28408
  {
28351
- "name": "buttons",
28409
+ "name": "streamInterval",
28410
+ "optional": true,
28352
28411
  "type": {
28353
- "text": "Buttons"
28412
+ "text": "number"
28354
28413
  }
28355
28414
  }
28356
28415
  ]
28357
28416
  },
28358
28417
  {
28359
28418
  "kind": "method",
28360
- "name": "addElements",
28361
- "privacy": "private",
28362
- "static": true,
28419
+ "name": "interruptGenerate",
28420
+ "return": {
28421
+ "type": {
28422
+ "text": "Promise<void>"
28423
+ }
28424
+ }
28425
+ },
28426
+ {
28427
+ "kind": "method",
28428
+ "name": "runtimeStatsText",
28429
+ "return": {
28430
+ "type": {
28431
+ "text": "Promise<string>"
28432
+ }
28433
+ }
28434
+ },
28435
+ {
28436
+ "kind": "method",
28437
+ "name": "resetChat",
28438
+ "return": {
28439
+ "type": {
28440
+ "text": "Promise<void>"
28441
+ }
28442
+ }
28443
+ },
28444
+ {
28445
+ "kind": "method",
28446
+ "name": "unload",
28447
+ "return": {
28448
+ "type": {
28449
+ "text": "Promise<void>"
28450
+ }
28451
+ }
28452
+ },
28453
+ {
28454
+ "kind": "method",
28455
+ "name": "stopped",
28456
+ "return": {
28457
+ "type": {
28458
+ "text": "boolean"
28459
+ }
28460
+ }
28461
+ },
28462
+ {
28463
+ "kind": "method",
28464
+ "name": "getMessage",
28465
+ "return": {
28466
+ "type": {
28467
+ "text": "string"
28468
+ }
28469
+ }
28470
+ },
28471
+ {
28472
+ "kind": "method",
28473
+ "name": "prefill",
28474
+ "return": {
28475
+ "type": {
28476
+ "text": "Promise<void>"
28477
+ }
28478
+ },
28363
28479
  "parameters": [
28364
28480
  {
28365
- "name": "panel",
28366
- "type": {
28367
- "text": "HTMLElement"
28368
- }
28369
- },
28370
- {
28371
- "name": "textInput",
28372
- "type": {
28373
- "text": "TextInputEl"
28374
- }
28375
- },
28376
- {
28377
- "name": "buttons",
28378
- "type": {
28379
- "text": "Buttons"
28380
- }
28381
- },
28382
- {
28383
- "name": "container",
28384
- "type": {
28385
- "text": "HTMLElement"
28386
- }
28387
- },
28388
- {
28389
- "name": "fileAttachments",
28390
- "type": {
28391
- "text": "FileAttachments"
28392
- }
28393
- },
28394
- {
28395
- "name": "dropupStyles",
28396
- "optional": true,
28481
+ "name": "input",
28397
28482
  "type": {
28398
- "text": "DropupStyles"
28483
+ "text": "string"
28399
28484
  }
28400
28485
  }
28401
28486
  ]
28402
28487
  },
28488
+ {
28489
+ "kind": "method",
28490
+ "name": "decode",
28491
+ "return": {
28492
+ "type": {
28493
+ "text": "Promise<void>"
28494
+ }
28495
+ }
28496
+ },
28403
28497
  {
28404
28498
  "kind": "field",
28405
- "name": "submit",
28406
- "type": {
28407
- "text": "object"
28408
- },
28409
- "default": "{button: submitButton}"
28499
+ "name": "getPipeline",
28500
+ "privacy": "private"
28410
28501
  },
28411
28502
  {
28412
28503
  "kind": "field",
28413
- "name": "submitUserMessage"
28504
+ "name": "asyncLoadTokenizer",
28505
+ "privacy": "private"
28414
28506
  }
28415
28507
  ]
28416
28508
  }
@@ -28418,158 +28510,594 @@
28418
28510
  "exports": [
28419
28511
  {
28420
28512
  "kind": "js",
28421
- "name": "Input",
28513
+ "name": "ChatModule",
28422
28514
  "declaration": {
28423
- "name": "Input",
28424
- "module": "src/views/chat/input/input.ts"
28515
+ "name": "ChatModule",
28516
+ "module": "src/types/webModel/webLLM/webLLMChatModule.ts"
28425
28517
  }
28426
28518
  }
28427
28519
  ]
28428
28520
  },
28429
28521
  {
28430
28522
  "kind": "javascript-module",
28431
- "path": "src/views/chat/introPanel/introPanel.ts",
28523
+ "path": "src/types/webModel/webLLM/webLLMClient.ts",
28432
28524
  "declarations": [
28433
28525
  {
28434
28526
  "kind": "class",
28435
28527
  "description": "",
28436
- "name": "IntroPanel",
28528
+ "name": "ChatWorkerHandler",
28437
28529
  "members": [
28438
28530
  {
28439
28531
  "kind": "field",
28440
- "name": "_elementRef",
28441
- "type": {
28442
- "text": "HTMLElement | undefined"
28443
- }
28444
- },
28445
- {
28446
- "kind": "field",
28447
- "name": "_isDisplayed",
28448
- "type": {
28449
- "text": "boolean"
28450
- },
28451
- "privacy": "private",
28452
- "default": "false"
28532
+ "name": "chat",
28533
+ "privacy": "private"
28453
28534
  },
28454
28535
  {
28455
28536
  "kind": "method",
28456
- "name": "createIntroPanel",
28457
- "privacy": "private",
28458
- "static": true,
28537
+ "name": "handleTask",
28538
+ "return": {
28539
+ "type": {
28540
+ "text": "Promise<void>"
28541
+ }
28542
+ },
28459
28543
  "parameters": [
28460
28544
  {
28461
- "name": "introPanelStyle",
28462
- "optional": true,
28545
+ "name": "uuid",
28463
28546
  "type": {
28464
- "text": "CustomStyle"
28547
+ "text": "string"
28548
+ }
28549
+ },
28550
+ {
28551
+ "name": "task",
28552
+ "type": {
28553
+ "text": "() => Promise<T>"
28465
28554
  }
28466
28555
  }
28467
28556
  ]
28468
28557
  },
28469
28558
  {
28470
28559
  "kind": "method",
28471
- "name": "createIntroPanelWithChild",
28472
- "privacy": "private",
28560
+ "name": "onmessage",
28561
+ "return": {
28562
+ "type": {
28563
+ "text": "void"
28564
+ }
28565
+ },
28473
28566
  "parameters": [
28474
28567
  {
28475
- "name": "childElement",
28476
- "type": {
28477
- "text": "HTMLElement"
28478
- }
28479
- },
28480
- {
28481
- "name": "introPanelStyle",
28482
- "optional": true,
28568
+ "name": "event",
28483
28569
  "type": {
28484
- "text": "CustomStyle"
28570
+ "text": "MessageEvent"
28485
28571
  }
28486
28572
  }
28487
28573
  ]
28574
+ }
28575
+ ]
28576
+ },
28577
+ {
28578
+ "kind": "class",
28579
+ "description": "",
28580
+ "name": "ChatWorkerClient",
28581
+ "members": [
28582
+ {
28583
+ "kind": "field",
28584
+ "name": "worker",
28585
+ "type": {
28586
+ "text": "ChatWorker"
28587
+ }
28588
+ },
28589
+ {
28590
+ "kind": "field",
28591
+ "name": "initProgressCallback",
28592
+ "privacy": "private"
28593
+ },
28594
+ {
28595
+ "kind": "field",
28596
+ "name": "generateCallbackRegistry",
28597
+ "privacy": "private"
28598
+ },
28599
+ {
28600
+ "kind": "field",
28601
+ "name": "pendingPromise",
28602
+ "privacy": "private"
28488
28603
  },
28489
28604
  {
28490
28605
  "kind": "method",
28491
- "name": "createInternalIntroPanel",
28492
- "privacy": "private",
28606
+ "name": "setInitProgressCallback",
28607
+ "return": {
28608
+ "type": {
28609
+ "text": "void"
28610
+ }
28611
+ },
28493
28612
  "parameters": [
28494
28613
  {
28495
- "name": "introPanelMarkUp",
28496
- "type": {
28497
- "text": "string"
28498
- }
28499
- },
28500
- {
28501
- "name": "introPanelStyle",
28502
- "optional": true,
28614
+ "name": "initProgressCallback",
28503
28615
  "type": {
28504
- "text": "CustomStyle"
28616
+ "text": "InitProgressCallback"
28505
28617
  }
28506
28618
  }
28507
28619
  ]
28508
28620
  },
28509
28621
  {
28510
- "kind": "method",
28511
- "name": "hide",
28512
- "privacy": "public"
28622
+ "kind": "field",
28623
+ "name": "getPromise",
28624
+ "privacy": "private"
28513
28625
  },
28514
28626
  {
28515
28627
  "kind": "method",
28516
- "name": "display",
28517
- "privacy": "public"
28518
- }
28519
- ]
28520
- }
28521
- ],
28522
- "exports": [
28523
- {
28524
- "kind": "js",
28525
- "name": "IntroPanel",
28526
- "declaration": {
28527
- "name": "IntroPanel",
28528
- "module": "src/views/chat/introPanel/introPanel.ts"
28529
- }
28530
- }
28531
- ]
28532
- },
28533
- {
28534
- "kind": "javascript-module",
28535
- "path": "src/views/chat/messages/avatar.ts",
28536
- "declarations": [
28537
- {
28538
- "kind": "class",
28539
- "description": "",
28540
- "name": "AvatarEl",
28541
- "members": [
28542
- {
28543
- "kind": "method",
28544
- "name": "applyCustomStylesToElements",
28545
- "privacy": "private",
28546
- "static": true,
28628
+ "name": "reload",
28629
+ "return": {
28630
+ "type": {
28631
+ "text": "Promise<void>"
28632
+ }
28633
+ },
28547
28634
  "parameters": [
28548
28635
  {
28549
- "name": "container",
28636
+ "name": "localIdOrUrl",
28550
28637
  "type": {
28551
- "text": "HTMLElement"
28638
+ "text": "string"
28552
28639
  }
28553
28640
  },
28554
28641
  {
28555
- "name": "avatar",
28642
+ "name": "chatOpts",
28643
+ "optional": true,
28556
28644
  "type": {
28557
- "text": "HTMLElement"
28645
+ "text": "ChatOptions"
28558
28646
  }
28559
28647
  },
28560
28648
  {
28561
- "name": "style",
28649
+ "name": "appConfig",
28650
+ "optional": true,
28562
28651
  "type": {
28563
- "text": "AvatarStyles"
28652
+ "text": "AppConfig"
28564
28653
  }
28565
28654
  }
28566
28655
  ]
28567
28656
  },
28568
28657
  {
28569
28658
  "kind": "method",
28570
- "name": "applyCustomStyles",
28571
- "privacy": "private",
28572
- "static": true,
28659
+ "name": "generate",
28660
+ "return": {
28661
+ "type": {
28662
+ "text": "Promise<string>"
28663
+ }
28664
+ },
28665
+ "parameters": [
28666
+ {
28667
+ "name": "input",
28668
+ "type": {
28669
+ "text": "string"
28670
+ }
28671
+ },
28672
+ {
28673
+ "name": "progressCallback",
28674
+ "optional": true,
28675
+ "type": {
28676
+ "text": "GenerateProgressCallback"
28677
+ }
28678
+ },
28679
+ {
28680
+ "name": "streamInterval",
28681
+ "optional": true,
28682
+ "type": {
28683
+ "text": "number"
28684
+ }
28685
+ }
28686
+ ]
28687
+ },
28688
+ {
28689
+ "kind": "method",
28690
+ "name": "runtimeStatsText",
28691
+ "return": {
28692
+ "type": {
28693
+ "text": "Promise<string>"
28694
+ }
28695
+ }
28696
+ },
28697
+ {
28698
+ "kind": "method",
28699
+ "name": "interruptGenerate",
28700
+ "return": {
28701
+ "type": {
28702
+ "text": "void"
28703
+ }
28704
+ }
28705
+ },
28706
+ {
28707
+ "kind": "method",
28708
+ "name": "unload",
28709
+ "return": {
28710
+ "type": {
28711
+ "text": "Promise<void>"
28712
+ }
28713
+ }
28714
+ },
28715
+ {
28716
+ "kind": "method",
28717
+ "name": "resetChat",
28718
+ "return": {
28719
+ "type": {
28720
+ "text": "Promise<void>"
28721
+ }
28722
+ }
28723
+ },
28724
+ {
28725
+ "kind": "method",
28726
+ "name": "onmessage",
28727
+ "return": {
28728
+ "type": {
28729
+ "text": "void"
28730
+ }
28731
+ },
28732
+ "parameters": [
28733
+ {
28734
+ "name": "event",
28735
+ "type": {
28736
+ "text": "any"
28737
+ }
28738
+ }
28739
+ ]
28740
+ }
28741
+ ]
28742
+ }
28743
+ ],
28744
+ "exports": [
28745
+ {
28746
+ "kind": "js",
28747
+ "name": "ChatWorkerHandler",
28748
+ "declaration": {
28749
+ "name": "ChatWorkerHandler",
28750
+ "module": "src/types/webModel/webLLM/webLLMClient.ts"
28751
+ }
28752
+ },
28753
+ {
28754
+ "kind": "js",
28755
+ "name": "ChatWorkerClient",
28756
+ "declaration": {
28757
+ "name": "ChatWorkerClient",
28758
+ "module": "src/types/webModel/webLLM/webLLMClient.ts"
28759
+ }
28760
+ }
28761
+ ]
28762
+ },
28763
+ {
28764
+ "kind": "javascript-module",
28765
+ "path": "src/types/webModel/webLLM/webLLMShared.ts",
28766
+ "declarations": [
28767
+ {
28768
+ "kind": "variable",
28769
+ "name": "prebuiltAppConfig",
28770
+ "type": {
28771
+ "text": "AppConfig"
28772
+ }
28773
+ }
28774
+ ],
28775
+ "exports": [
28776
+ {
28777
+ "kind": "js",
28778
+ "name": "prebuiltAppConfig",
28779
+ "declaration": {
28780
+ "name": "prebuiltAppConfig",
28781
+ "module": "src/types/webModel/webLLM/webLLMShared.ts"
28782
+ }
28783
+ }
28784
+ ]
28785
+ },
28786
+ {
28787
+ "kind": "javascript-module",
28788
+ "path": "src/views/chat/introPanel/introPanel.ts",
28789
+ "declarations": [
28790
+ {
28791
+ "kind": "class",
28792
+ "description": "",
28793
+ "name": "IntroPanel",
28794
+ "members": [
28795
+ {
28796
+ "kind": "field",
28797
+ "name": "_elementRef",
28798
+ "type": {
28799
+ "text": "HTMLElement | undefined"
28800
+ }
28801
+ },
28802
+ {
28803
+ "kind": "field",
28804
+ "name": "_isDisplayed",
28805
+ "type": {
28806
+ "text": "boolean"
28807
+ },
28808
+ "privacy": "private",
28809
+ "default": "false"
28810
+ },
28811
+ {
28812
+ "kind": "method",
28813
+ "name": "createIntroPanel",
28814
+ "privacy": "private",
28815
+ "static": true,
28816
+ "parameters": [
28817
+ {
28818
+ "name": "introPanelStyle",
28819
+ "optional": true,
28820
+ "type": {
28821
+ "text": "CustomStyle"
28822
+ }
28823
+ }
28824
+ ]
28825
+ },
28826
+ {
28827
+ "kind": "method",
28828
+ "name": "createIntroPanelWithChild",
28829
+ "privacy": "private",
28830
+ "parameters": [
28831
+ {
28832
+ "name": "childElement",
28833
+ "type": {
28834
+ "text": "HTMLElement"
28835
+ }
28836
+ },
28837
+ {
28838
+ "name": "introPanelStyle",
28839
+ "optional": true,
28840
+ "type": {
28841
+ "text": "CustomStyle"
28842
+ }
28843
+ }
28844
+ ]
28845
+ },
28846
+ {
28847
+ "kind": "method",
28848
+ "name": "createInternalIntroPanel",
28849
+ "privacy": "private",
28850
+ "parameters": [
28851
+ {
28852
+ "name": "introPanelMarkUp",
28853
+ "type": {
28854
+ "text": "string"
28855
+ }
28856
+ },
28857
+ {
28858
+ "name": "introPanelStyle",
28859
+ "optional": true,
28860
+ "type": {
28861
+ "text": "CustomStyle"
28862
+ }
28863
+ }
28864
+ ]
28865
+ },
28866
+ {
28867
+ "kind": "method",
28868
+ "name": "hide",
28869
+ "privacy": "public"
28870
+ },
28871
+ {
28872
+ "kind": "method",
28873
+ "name": "display",
28874
+ "privacy": "public"
28875
+ }
28876
+ ]
28877
+ }
28878
+ ],
28879
+ "exports": [
28880
+ {
28881
+ "kind": "js",
28882
+ "name": "IntroPanel",
28883
+ "declaration": {
28884
+ "name": "IntroPanel",
28885
+ "module": "src/views/chat/introPanel/introPanel.ts"
28886
+ }
28887
+ }
28888
+ ]
28889
+ },
28890
+ {
28891
+ "kind": "javascript-module",
28892
+ "path": "src/views/chat/input/input.ts",
28893
+ "declarations": [
28894
+ {
28895
+ "kind": "class",
28896
+ "description": "",
28897
+ "name": "Input",
28898
+ "members": [
28899
+ {
28900
+ "kind": "field",
28901
+ "name": "elementRef",
28902
+ "type": {
28903
+ "text": "HTMLElement"
28904
+ }
28905
+ },
28906
+ {
28907
+ "kind": "method",
28908
+ "name": "createPanelElement",
28909
+ "privacy": "private",
28910
+ "static": true,
28911
+ "parameters": [
28912
+ {
28913
+ "name": "customStyle",
28914
+ "optional": true,
28915
+ "type": {
28916
+ "text": "CustomStyle"
28917
+ }
28918
+ }
28919
+ ]
28920
+ },
28921
+ {
28922
+ "kind": "method",
28923
+ "name": "createFileUploadComponents",
28924
+ "privacy": "private",
28925
+ "parameters": [
28926
+ {
28927
+ "name": "deepChat",
28928
+ "type": {
28929
+ "text": "DeepChat"
28930
+ }
28931
+ },
28932
+ {
28933
+ "name": "serviceIO",
28934
+ "type": {
28935
+ "text": "ServiceIO"
28936
+ }
28937
+ },
28938
+ {
28939
+ "name": "containerElement",
28940
+ "type": {
28941
+ "text": "HTMLElement"
28942
+ }
28943
+ },
28944
+ {
28945
+ "name": "buttons",
28946
+ "type": {
28947
+ "text": "Buttons"
28948
+ }
28949
+ }
28950
+ ]
28951
+ },
28952
+ {
28953
+ "kind": "method",
28954
+ "name": "createUploadButtons",
28955
+ "privacy": "private",
28956
+ "static": true,
28957
+ "parameters": [
28958
+ {
28959
+ "name": "deepChat",
28960
+ "type": {
28961
+ "text": "DeepChat"
28962
+ }
28963
+ },
28964
+ {
28965
+ "name": "fileTypes",
28966
+ "type": {
28967
+ "text": "ServiceFileTypes"
28968
+ }
28969
+ },
28970
+ {
28971
+ "name": "fileAtt",
28972
+ "type": {
28973
+ "text": "FileAttachments"
28974
+ }
28975
+ },
28976
+ {
28977
+ "name": "containerEl",
28978
+ "type": {
28979
+ "text": "HTMLElement"
28980
+ }
28981
+ },
28982
+ {
28983
+ "name": "buttons",
28984
+ "type": {
28985
+ "text": "Buttons"
28986
+ }
28987
+ }
28988
+ ]
28989
+ },
28990
+ {
28991
+ "kind": "method",
28992
+ "name": "addElements",
28993
+ "privacy": "private",
28994
+ "static": true,
28995
+ "parameters": [
28996
+ {
28997
+ "name": "panel",
28998
+ "type": {
28999
+ "text": "HTMLElement"
29000
+ }
29001
+ },
29002
+ {
29003
+ "name": "textInput",
29004
+ "type": {
29005
+ "text": "TextInputEl"
29006
+ }
29007
+ },
29008
+ {
29009
+ "name": "buttons",
29010
+ "type": {
29011
+ "text": "Buttons"
29012
+ }
29013
+ },
29014
+ {
29015
+ "name": "container",
29016
+ "type": {
29017
+ "text": "HTMLElement"
29018
+ }
29019
+ },
29020
+ {
29021
+ "name": "fileAttachments",
29022
+ "type": {
29023
+ "text": "FileAttachments"
29024
+ }
29025
+ },
29026
+ {
29027
+ "name": "dropupStyles",
29028
+ "optional": true,
29029
+ "type": {
29030
+ "text": "DropupStyles"
29031
+ }
29032
+ }
29033
+ ]
29034
+ },
29035
+ {
29036
+ "kind": "field",
29037
+ "name": "submit",
29038
+ "type": {
29039
+ "text": "object"
29040
+ },
29041
+ "default": "{button: submitButton}"
29042
+ },
29043
+ {
29044
+ "kind": "field",
29045
+ "name": "submitUserMessage"
29046
+ }
29047
+ ]
29048
+ }
29049
+ ],
29050
+ "exports": [
29051
+ {
29052
+ "kind": "js",
29053
+ "name": "Input",
29054
+ "declaration": {
29055
+ "name": "Input",
29056
+ "module": "src/views/chat/input/input.ts"
29057
+ }
29058
+ }
29059
+ ]
29060
+ },
29061
+ {
29062
+ "kind": "javascript-module",
29063
+ "path": "src/views/chat/messages/avatar.ts",
29064
+ "declarations": [
29065
+ {
29066
+ "kind": "class",
29067
+ "description": "",
29068
+ "name": "AvatarEl",
29069
+ "members": [
29070
+ {
29071
+ "kind": "method",
29072
+ "name": "applyCustomStylesToElements",
29073
+ "privacy": "private",
29074
+ "static": true,
29075
+ "parameters": [
29076
+ {
29077
+ "name": "container",
29078
+ "type": {
29079
+ "text": "HTMLElement"
29080
+ }
29081
+ },
29082
+ {
29083
+ "name": "avatar",
29084
+ "type": {
29085
+ "text": "HTMLElement"
29086
+ }
29087
+ },
29088
+ {
29089
+ "name": "style",
29090
+ "type": {
29091
+ "text": "AvatarStyles"
29092
+ }
29093
+ }
29094
+ ]
29095
+ },
29096
+ {
29097
+ "kind": "method",
29098
+ "name": "applyCustomStyles",
29099
+ "privacy": "private",
29100
+ "static": true,
28573
29101
  "parameters": [
28574
29102
  {
28575
29103
  "name": "container",
@@ -30940,514 +31468,6 @@
30940
31468
  }
30941
31469
  ]
30942
31470
  },
30943
- {
30944
- "kind": "javascript-module",
30945
- "path": "src/types/webModel/webLLM/webLLM.ts",
30946
- "declarations": [],
30947
- "exports": [
30948
- {
30949
- "kind": "js",
30950
- "name": "ChatWorkerClient",
30951
- "declaration": {
30952
- "name": "ChatWorkerClient",
30953
- "module": "./webLLMClient"
30954
- }
30955
- },
30956
- {
30957
- "kind": "js",
30958
- "name": "ChatModule",
30959
- "declaration": {
30960
- "name": "ChatModule",
30961
- "module": "./webLLMChatModule"
30962
- }
30963
- },
30964
- {
30965
- "kind": "js",
30966
- "name": "*",
30967
- "declaration": {
30968
- "name": "*",
30969
- "package": "./webLLMShared"
30970
- }
30971
- }
30972
- ]
30973
- },
30974
- {
30975
- "kind": "javascript-module",
30976
- "path": "src/types/webModel/webLLM/webLLMChatModule.ts",
30977
- "declarations": [
30978
- {
30979
- "kind": "class",
30980
- "description": "",
30981
- "name": "ChatModule",
30982
- "members": [
30983
- {
30984
- "kind": "field",
30985
- "name": "logger",
30986
- "privacy": "private"
30987
- },
30988
- {
30989
- "kind": "field",
30990
- "name": "pipeline",
30991
- "privacy": "private"
30992
- },
30993
- {
30994
- "kind": "field",
30995
- "name": "initProgressCallback",
30996
- "privacy": "private"
30997
- },
30998
- {
30999
- "kind": "field",
31000
- "name": "interruptSignal",
31001
- "privacy": "private"
31002
- },
31003
- {
31004
- "kind": "method",
31005
- "name": "setInitProgressCallback",
31006
- "return": {
31007
- "type": {
31008
- "text": "void"
31009
- }
31010
- },
31011
- "parameters": [
31012
- {
31013
- "name": "initProgressCallback",
31014
- "type": {
31015
- "text": "InitProgressCallback"
31016
- }
31017
- }
31018
- ]
31019
- },
31020
- {
31021
- "kind": "method",
31022
- "name": "reload",
31023
- "return": {
31024
- "type": {
31025
- "text": "Promise<void>"
31026
- }
31027
- },
31028
- "parameters": [
31029
- {
31030
- "name": "localId",
31031
- "type": {
31032
- "text": "string"
31033
- }
31034
- },
31035
- {
31036
- "name": "chatOpts",
31037
- "optional": true,
31038
- "type": {
31039
- "text": "ChatOptions"
31040
- }
31041
- },
31042
- {
31043
- "name": "appConfig",
31044
- "optional": true,
31045
- "type": {
31046
- "text": "AppConfig"
31047
- }
31048
- }
31049
- ]
31050
- },
31051
- {
31052
- "kind": "method",
31053
- "name": "generate",
31054
- "return": {
31055
- "type": {
31056
- "text": "Promise<string>"
31057
- }
31058
- },
31059
- "parameters": [
31060
- {
31061
- "name": "input",
31062
- "type": {
31063
- "text": "string"
31064
- }
31065
- },
31066
- {
31067
- "name": "progressCallback",
31068
- "optional": true,
31069
- "type": {
31070
- "text": "GenerateProgressCallback"
31071
- }
31072
- },
31073
- {
31074
- "name": "streamInterval",
31075
- "optional": true,
31076
- "type": {
31077
- "text": "number"
31078
- }
31079
- }
31080
- ]
31081
- },
31082
- {
31083
- "kind": "method",
31084
- "name": "interruptGenerate",
31085
- "return": {
31086
- "type": {
31087
- "text": "Promise<void>"
31088
- }
31089
- }
31090
- },
31091
- {
31092
- "kind": "method",
31093
- "name": "runtimeStatsText",
31094
- "return": {
31095
- "type": {
31096
- "text": "Promise<string>"
31097
- }
31098
- }
31099
- },
31100
- {
31101
- "kind": "method",
31102
- "name": "resetChat",
31103
- "return": {
31104
- "type": {
31105
- "text": "Promise<void>"
31106
- }
31107
- }
31108
- },
31109
- {
31110
- "kind": "method",
31111
- "name": "unload",
31112
- "return": {
31113
- "type": {
31114
- "text": "Promise<void>"
31115
- }
31116
- }
31117
- },
31118
- {
31119
- "kind": "method",
31120
- "name": "stopped",
31121
- "return": {
31122
- "type": {
31123
- "text": "boolean"
31124
- }
31125
- }
31126
- },
31127
- {
31128
- "kind": "method",
31129
- "name": "getMessage",
31130
- "return": {
31131
- "type": {
31132
- "text": "string"
31133
- }
31134
- }
31135
- },
31136
- {
31137
- "kind": "method",
31138
- "name": "prefill",
31139
- "return": {
31140
- "type": {
31141
- "text": "Promise<void>"
31142
- }
31143
- },
31144
- "parameters": [
31145
- {
31146
- "name": "input",
31147
- "type": {
31148
- "text": "string"
31149
- }
31150
- }
31151
- ]
31152
- },
31153
- {
31154
- "kind": "method",
31155
- "name": "decode",
31156
- "return": {
31157
- "type": {
31158
- "text": "Promise<void>"
31159
- }
31160
- }
31161
- },
31162
- {
31163
- "kind": "field",
31164
- "name": "getPipeline",
31165
- "privacy": "private"
31166
- },
31167
- {
31168
- "kind": "field",
31169
- "name": "asyncLoadTokenizer",
31170
- "privacy": "private"
31171
- }
31172
- ]
31173
- }
31174
- ],
31175
- "exports": [
31176
- {
31177
- "kind": "js",
31178
- "name": "ChatModule",
31179
- "declaration": {
31180
- "name": "ChatModule",
31181
- "module": "src/types/webModel/webLLM/webLLMChatModule.ts"
31182
- }
31183
- }
31184
- ]
31185
- },
31186
- {
31187
- "kind": "javascript-module",
31188
- "path": "src/types/webModel/webLLM/webLLMClient.ts",
31189
- "declarations": [
31190
- {
31191
- "kind": "class",
31192
- "description": "",
31193
- "name": "ChatWorkerHandler",
31194
- "members": [
31195
- {
31196
- "kind": "field",
31197
- "name": "chat",
31198
- "privacy": "private"
31199
- },
31200
- {
31201
- "kind": "method",
31202
- "name": "handleTask",
31203
- "return": {
31204
- "type": {
31205
- "text": "Promise<void>"
31206
- }
31207
- },
31208
- "parameters": [
31209
- {
31210
- "name": "uuid",
31211
- "type": {
31212
- "text": "string"
31213
- }
31214
- },
31215
- {
31216
- "name": "task",
31217
- "type": {
31218
- "text": "() => Promise<T>"
31219
- }
31220
- }
31221
- ]
31222
- },
31223
- {
31224
- "kind": "method",
31225
- "name": "onmessage",
31226
- "return": {
31227
- "type": {
31228
- "text": "void"
31229
- }
31230
- },
31231
- "parameters": [
31232
- {
31233
- "name": "event",
31234
- "type": {
31235
- "text": "MessageEvent"
31236
- }
31237
- }
31238
- ]
31239
- }
31240
- ]
31241
- },
31242
- {
31243
- "kind": "class",
31244
- "description": "",
31245
- "name": "ChatWorkerClient",
31246
- "members": [
31247
- {
31248
- "kind": "field",
31249
- "name": "worker",
31250
- "type": {
31251
- "text": "ChatWorker"
31252
- }
31253
- },
31254
- {
31255
- "kind": "field",
31256
- "name": "initProgressCallback",
31257
- "privacy": "private"
31258
- },
31259
- {
31260
- "kind": "field",
31261
- "name": "generateCallbackRegistry",
31262
- "privacy": "private"
31263
- },
31264
- {
31265
- "kind": "field",
31266
- "name": "pendingPromise",
31267
- "privacy": "private"
31268
- },
31269
- {
31270
- "kind": "method",
31271
- "name": "setInitProgressCallback",
31272
- "return": {
31273
- "type": {
31274
- "text": "void"
31275
- }
31276
- },
31277
- "parameters": [
31278
- {
31279
- "name": "initProgressCallback",
31280
- "type": {
31281
- "text": "InitProgressCallback"
31282
- }
31283
- }
31284
- ]
31285
- },
31286
- {
31287
- "kind": "field",
31288
- "name": "getPromise",
31289
- "privacy": "private"
31290
- },
31291
- {
31292
- "kind": "method",
31293
- "name": "reload",
31294
- "return": {
31295
- "type": {
31296
- "text": "Promise<void>"
31297
- }
31298
- },
31299
- "parameters": [
31300
- {
31301
- "name": "localIdOrUrl",
31302
- "type": {
31303
- "text": "string"
31304
- }
31305
- },
31306
- {
31307
- "name": "chatOpts",
31308
- "optional": true,
31309
- "type": {
31310
- "text": "ChatOptions"
31311
- }
31312
- },
31313
- {
31314
- "name": "appConfig",
31315
- "optional": true,
31316
- "type": {
31317
- "text": "AppConfig"
31318
- }
31319
- }
31320
- ]
31321
- },
31322
- {
31323
- "kind": "method",
31324
- "name": "generate",
31325
- "return": {
31326
- "type": {
31327
- "text": "Promise<string>"
31328
- }
31329
- },
31330
- "parameters": [
31331
- {
31332
- "name": "input",
31333
- "type": {
31334
- "text": "string"
31335
- }
31336
- },
31337
- {
31338
- "name": "progressCallback",
31339
- "optional": true,
31340
- "type": {
31341
- "text": "GenerateProgressCallback"
31342
- }
31343
- },
31344
- {
31345
- "name": "streamInterval",
31346
- "optional": true,
31347
- "type": {
31348
- "text": "number"
31349
- }
31350
- }
31351
- ]
31352
- },
31353
- {
31354
- "kind": "method",
31355
- "name": "runtimeStatsText",
31356
- "return": {
31357
- "type": {
31358
- "text": "Promise<string>"
31359
- }
31360
- }
31361
- },
31362
- {
31363
- "kind": "method",
31364
- "name": "interruptGenerate",
31365
- "return": {
31366
- "type": {
31367
- "text": "void"
31368
- }
31369
- }
31370
- },
31371
- {
31372
- "kind": "method",
31373
- "name": "unload",
31374
- "return": {
31375
- "type": {
31376
- "text": "Promise<void>"
31377
- }
31378
- }
31379
- },
31380
- {
31381
- "kind": "method",
31382
- "name": "resetChat",
31383
- "return": {
31384
- "type": {
31385
- "text": "Promise<void>"
31386
- }
31387
- }
31388
- },
31389
- {
31390
- "kind": "method",
31391
- "name": "onmessage",
31392
- "return": {
31393
- "type": {
31394
- "text": "void"
31395
- }
31396
- },
31397
- "parameters": [
31398
- {
31399
- "name": "event",
31400
- "type": {
31401
- "text": "any"
31402
- }
31403
- }
31404
- ]
31405
- }
31406
- ]
31407
- }
31408
- ],
31409
- "exports": [
31410
- {
31411
- "kind": "js",
31412
- "name": "ChatWorkerHandler",
31413
- "declaration": {
31414
- "name": "ChatWorkerHandler",
31415
- "module": "src/types/webModel/webLLM/webLLMClient.ts"
31416
- }
31417
- },
31418
- {
31419
- "kind": "js",
31420
- "name": "ChatWorkerClient",
31421
- "declaration": {
31422
- "name": "ChatWorkerClient",
31423
- "module": "src/types/webModel/webLLM/webLLMClient.ts"
31424
- }
31425
- }
31426
- ]
31427
- },
31428
- {
31429
- "kind": "javascript-module",
31430
- "path": "src/types/webModel/webLLM/webLLMShared.ts",
31431
- "declarations": [
31432
- {
31433
- "kind": "variable",
31434
- "name": "prebuiltAppConfig",
31435
- "type": {
31436
- "text": "AppConfig"
31437
- }
31438
- }
31439
- ],
31440
- "exports": [
31441
- {
31442
- "kind": "js",
31443
- "name": "prebuiltAppConfig",
31444
- "declaration": {
31445
- "name": "prebuiltAppConfig",
31446
- "module": "src/types/webModel/webLLM/webLLMShared.ts"
31447
- }
31448
- }
31449
- ]
31450
- },
31451
31471
  {
31452
31472
  "kind": "javascript-module",
31453
31473
  "path": "src/views/chat/input/buttonContainers/buttonContainers.ts",
@@ -31459,756 +31479,67 @@
31459
31479
  "members": [
31460
31480
  {
31461
31481
  "kind": "method",
31462
- "name": "create",
31463
- "privacy": "public",
31464
- "static": true
31465
- },
31466
- {
31467
- "kind": "method",
31468
- "name": "add",
31469
- "privacy": "public",
31470
- "static": true,
31471
- "parameters": [
31472
- {
31473
- "name": "inputContainer",
31474
- "type": {
31475
- "text": "HTMLElement"
31476
- }
31477
- },
31478
- {
31479
- "name": "buttonContainers",
31480
- "type": {
31481
- "text": "ButtonContainersT"
31482
- }
31483
- }
31484
- ]
31485
- },
31486
- {
31487
- "kind": "method",
31488
- "name": "getContainerIndex",
31489
- "privacy": "private",
31490
- "static": true,
31491
- "parameters": [
31492
- {
31493
- "name": "position",
31494
- "type": {
31495
- "text": "ButtonPosition"
31496
- }
31497
- }
31498
- ]
31499
- },
31500
- {
31501
- "kind": "method",
31502
- "name": "addButton",
31503
- "privacy": "public",
31504
- "static": true,
31505
- "parameters": [
31506
- {
31507
- "name": "buttonContainers",
31508
- "type": {
31509
- "text": "ButtonContainersT"
31510
- }
31511
- },
31512
- {
31513
- "name": "elementRef",
31514
- "type": {
31515
- "text": "HTMLElement"
31516
- }
31517
- },
31518
- {
31519
- "name": "position",
31520
- "type": {
31521
- "text": "ButtonPosition"
31522
- }
31523
- }
31524
- ]
31525
- }
31526
- ]
31527
- }
31528
- ],
31529
- "exports": [
31530
- {
31531
- "kind": "js",
31532
- "name": "ButtonContainers",
31533
- "declaration": {
31534
- "name": "ButtonContainers",
31535
- "module": "src/views/chat/input/buttonContainers/buttonContainers.ts"
31536
- }
31537
- }
31538
- ]
31539
- },
31540
- {
31541
- "kind": "javascript-module",
31542
- "path": "src/views/chat/input/dropup/dropup.ts",
31543
- "declarations": [
31544
- {
31545
- "kind": "class",
31546
- "description": "",
31547
- "name": "Dropup",
31548
- "members": [
31549
- {
31550
- "kind": "field",
31551
- "name": "_menu",
31552
- "type": {
31553
- "text": "DropupMenu"
31554
- },
31555
- "privacy": "private",
31556
- "default": "new DropupMenu(containerElement, styles?.menu)"
31557
- },
31558
- {
31559
- "kind": "field",
31560
- "name": "buttonContainer",
31561
- "type": {
31562
- "text": "HTMLElement"
31563
- }
31564
- },
31565
- {
31566
- "kind": "method",
31567
- "name": "createButtonElement",
31568
- "privacy": "private",
31569
- "static": true
31570
- },
31571
- {
31572
- "kind": "method",
31573
- "name": "createInnerElements",
31574
- "privacy": "private",
31575
- "parameters": [
31576
- {
31577
- "name": "customStyles",
31578
- "optional": true,
31579
- "type": {
31580
- "text": "Styles"
31581
- }
31582
- }
31583
- ]
31584
- },
31585
- {
31586
- "kind": "method",
31587
- "name": "createInnerElement",
31588
- "privacy": "private",
31589
- "parameters": [
31590
- {
31591
- "name": "baseButton",
31592
- "type": {
31593
- "text": "SVGGraphicsElement"
31594
- }
31595
- },
31596
- {
31597
- "name": "state",
31598
- "type": {
31599
- "text": "'styles'"
31600
- }
31601
- },
31602
- {
31603
- "name": "customStyles",
31604
- "optional": true,
31605
- "type": {
31606
- "text": "Styles"
31607
- }
31608
- }
31609
- ]
31610
- },
31611
- {
31612
- "kind": "method",
31613
- "name": "createSVGIconElement",
31614
- "privacy": "private",
31615
- "static": true
31616
- },
31617
- {
31618
- "kind": "method",
31619
- "name": "addClickEvent",
31620
- "privacy": "private"
31621
- },
31622
- {
31623
- "kind": "method",
31624
- "name": "createButtonContainer",
31625
- "privacy": "private",
31626
- "static": true
31627
- },
31628
- {
31629
- "kind": "method",
31630
- "name": "addItem",
31631
- "parameters": [
31632
- {
31633
- "name": "buttonProps",
31634
- "type": {
31635
- "text": "InputButton"
31636
- }
31637
- }
31638
- ]
31639
- },
31640
- {
31641
- "kind": "method",
31642
- "name": "addContainerEvents",
31643
- "privacy": "private",
31644
- "parameters": [
31645
- {
31646
- "name": "containerElement",
31647
- "type": {
31648
- "text": "HTMLElement"
31649
- }
31650
- }
31651
- ]
31652
- },
31653
- {
31654
- "kind": "method",
31655
- "name": "getPosition",
31656
- "static": true,
31657
- "parameters": [
31658
- {
31659
- "name": "positions",
31660
- "type": {
31661
- "text": "Positions"
31662
- }
31663
- },
31664
- {
31665
- "name": "dropupStyles",
31666
- "optional": true,
31667
- "type": {
31668
- "text": "DropupStyles"
31669
- }
31670
- }
31671
- ]
31672
- },
31673
- {
31674
- "kind": "field",
31675
- "name": "elementRef",
31676
- "type": {
31677
- "text": "HTMLElement"
31678
- },
31679
- "default": "buttonElement",
31680
- "inheritedFrom": {
31681
- "name": "InputButton",
31682
- "module": "src/views/chat/input/buttons/inputButton.ts"
31683
- }
31684
- },
31685
- {
31686
- "kind": "field",
31687
- "name": "_mouseState",
31688
- "type": {
31689
- "text": "MouseState"
31690
- },
31691
- "privacy": "protected",
31692
- "default": "{state: 'default'}",
31693
- "inheritedFrom": {
31694
- "name": "InputButton",
31695
- "module": "src/views/chat/input/buttons/inputButton.ts"
31696
- }
31697
- },
31698
- {
31699
- "kind": "field",
31700
- "name": "_customStyles",
31701
- "type": {
31702
- "text": "T | undefined"
31703
- },
31704
- "privacy": "protected",
31705
- "default": "customStyles",
31706
- "inheritedFrom": {
31707
- "name": "InputButton",
31708
- "module": "src/views/chat/input/buttons/inputButton.ts"
31709
- }
31710
- },
31711
- {
31712
- "kind": "field",
31713
- "name": "position",
31714
- "type": {
31715
- "text": "ButtonPositionT | undefined"
31716
- },
31717
- "default": "position",
31718
- "inheritedFrom": {
31719
- "name": "InputButton",
31720
- "module": "src/views/chat/input/buttons/inputButton.ts"
31721
- }
31722
- },
31723
- {
31724
- "kind": "field",
31725
- "name": "dropupText",
31726
- "type": {
31727
- "text": "string | undefined"
31728
- },
31729
- "default": "dropupText",
31730
- "inheritedFrom": {
31731
- "name": "InputButton",
31732
- "module": "src/views/chat/input/buttons/inputButton.ts"
31733
- }
31734
- },
31735
- {
31736
- "kind": "method",
31737
- "name": "buttonMouseLeave",
31738
- "privacy": "private",
31739
- "parameters": [
31740
- {
31741
- "name": "customStyles",
31742
- "optional": true,
31743
- "type": {
31744
- "text": "ButtonStyles"
31745
- }
31746
- }
31747
- ],
31748
- "inheritedFrom": {
31749
- "name": "InputButton",
31750
- "module": "src/views/chat/input/buttons/inputButton.ts"
31751
- }
31752
- },
31753
- {
31754
- "kind": "method",
31755
- "name": "buttonMouseEnter",
31756
- "privacy": "private",
31757
- "parameters": [
31758
- {
31759
- "name": "customStyles",
31760
- "optional": true,
31761
- "type": {
31762
- "text": "ButtonStyles"
31763
- }
31764
- }
31765
- ],
31766
- "inheritedFrom": {
31767
- "name": "InputButton",
31768
- "module": "src/views/chat/input/buttons/inputButton.ts"
31769
- }
31770
- },
31771
- {
31772
- "kind": "method",
31773
- "name": "buttonMouseUp",
31774
- "privacy": "private",
31775
- "parameters": [
31776
- {
31777
- "name": "customStyles",
31778
- "optional": true,
31779
- "type": {
31780
- "text": "ButtonStyles"
31781
- }
31782
- }
31783
- ],
31784
- "inheritedFrom": {
31785
- "name": "InputButton",
31786
- "module": "src/views/chat/input/buttons/inputButton.ts"
31787
- }
31788
- },
31789
- {
31790
- "kind": "method",
31791
- "name": "buttonMouseDown",
31792
- "privacy": "private",
31793
- "parameters": [
31794
- {
31795
- "name": "customStyles",
31796
- "optional": true,
31797
- "type": {
31798
- "text": "ButtonStyles"
31799
- }
31800
- }
31801
- ],
31802
- "inheritedFrom": {
31803
- "name": "InputButton",
31804
- "module": "src/views/chat/input/buttons/inputButton.ts"
31805
- }
31806
- },
31807
- {
31808
- "kind": "method",
31809
- "name": "setEvents",
31810
- "privacy": "private",
31811
- "parameters": [
31812
- {
31813
- "name": "customStyles",
31814
- "optional": true,
31815
- "type": {
31816
- "text": "ButtonStyles"
31817
- }
31818
- }
31819
- ],
31820
- "inheritedFrom": {
31821
- "name": "InputButton",
31822
- "module": "src/views/chat/input/buttons/inputButton.ts"
31823
- }
31824
- },
31825
- {
31826
- "kind": "method",
31827
- "name": "unsetCustomStateStyles",
31828
- "privacy": "public",
31829
- "parameters": [
31830
- {
31831
- "name": "unsetTypes",
31832
- "type": {
31833
- "text": "(keyof T)[]"
31834
- }
31835
- }
31836
- ],
31837
- "inheritedFrom": {
31838
- "name": "InputButton",
31839
- "module": "src/views/chat/input/buttons/inputButton.ts"
31840
- }
31841
- },
31842
- {
31843
- "kind": "method",
31844
- "name": "reapplyStateStyle",
31845
- "privacy": "public",
31846
- "parameters": [
31847
- {
31848
- "name": "setType",
31849
- "type": {
31850
- "text": "keyof T"
31851
- }
31852
- },
31853
- {
31854
- "name": "unsetTypes",
31855
- "optional": true,
31856
- "type": {
31857
- "text": "(keyof T)[]"
31858
- }
31859
- }
31860
- ],
31861
- "inheritedFrom": {
31862
- "name": "InputButton",
31863
- "module": "src/views/chat/input/buttons/inputButton.ts"
31864
- }
31865
- }
31866
- ],
31867
- "superclass": {
31868
- "name": "InputButton",
31869
- "module": "/src/views/chat/input/buttons/inputButton"
31870
- }
31871
- }
31872
- ],
31873
- "exports": [
31874
- {
31875
- "kind": "js",
31876
- "name": "Dropup",
31877
- "declaration": {
31878
- "name": "Dropup",
31879
- "module": "src/views/chat/input/dropup/dropup.ts"
31880
- }
31881
- }
31882
- ]
31883
- },
31884
- {
31885
- "kind": "javascript-module",
31886
- "path": "src/views/chat/input/dropup/dropupItem.ts",
31887
- "declarations": [
31888
- {
31889
- "kind": "class",
31890
- "description": "",
31891
- "name": "DropupItem",
31892
- "members": [
31893
- {
31894
- "kind": "method",
31895
- "name": "addItemEvents",
31896
- "privacy": "private",
31897
- "static": true,
31898
- "parameters": [
31899
- {
31900
- "name": "menu",
31901
- "type": {
31902
- "text": "DropupMenu"
31903
- }
31904
- },
31905
- {
31906
- "name": "item",
31907
- "type": {
31908
- "text": "HTMLElement"
31909
- }
31910
- },
31911
- {
31912
- "name": "inputButton",
31913
- "type": {
31914
- "text": "HTMLElement"
31915
- }
31916
- },
31917
- {
31918
- "name": "styles",
31919
- "type": {
31920
- "text": "StatefulStyles"
31921
- }
31922
- }
31923
- ]
31924
- },
31925
- {
31926
- "kind": "method",
31927
- "name": "createItemText",
31928
- "privacy": "private",
31929
- "static": true,
31930
- "parameters": [
31931
- {
31932
- "name": "dropupText",
31933
- "optional": true,
31934
- "type": {
31935
- "text": "string"
31936
- }
31937
- },
31938
- {
31939
- "name": "textStyle",
31940
- "optional": true,
31941
- "type": {
31942
- "text": "CustomStyle"
31943
- }
31944
- }
31945
- ]
31946
- },
31947
- {
31948
- "kind": "method",
31949
- "name": "createItemIcon",
31950
- "privacy": "private",
31951
- "static": true,
31952
- "parameters": [
31953
- {
31954
- "name": "inputButtonElement",
31955
- "type": {
31956
- "text": "HTMLElement"
31957
- }
31958
- },
31959
- {
31960
- "name": "iconContainerStyle",
31961
- "optional": true,
31962
- "type": {
31963
- "text": "CustomStyle"
31964
- }
31965
- }
31966
- ]
31967
- },
31968
- {
31969
- "kind": "method",
31970
- "name": "populateItem",
31971
- "privacy": "private",
31972
- "static": true,
31973
- "parameters": [
31974
- {
31975
- "name": "elementRef",
31976
- "type": {
31977
- "text": "HTMLElement"
31978
- }
31979
- },
31980
- {
31981
- "name": "item",
31982
- "type": {
31983
- "text": "HTMLElement"
31984
- }
31985
- },
31986
- {
31987
- "name": "dropupText",
31988
- "optional": true,
31989
- "type": {
31990
- "text": "string"
31991
- }
31992
- },
31993
- {
31994
- "name": "styles",
31995
- "optional": true,
31996
- "type": {
31997
- "text": "DropupMenuStyles"
31998
- }
31999
- }
32000
- ]
32001
- },
32002
- {
32003
- "kind": "method",
32004
- "name": "createItem",
32005
- "privacy": "public",
32006
- "static": true,
32007
- "parameters": [
32008
- {
32009
- "name": "menu",
32010
- "type": {
32011
- "text": "DropupMenu"
32012
- }
32013
- },
32014
- {
32015
- "name": "inputButton",
32016
- "type": {
32017
- "text": "InputButton"
32018
- }
32019
- },
32020
- {
32021
- "name": "styles",
32022
- "optional": true,
32023
- "type": {
32024
- "text": "DropupMenuStyles"
32025
- }
32026
- }
32027
- ]
32028
- }
32029
- ]
32030
- }
32031
- ],
32032
- "exports": [
32033
- {
32034
- "kind": "js",
32035
- "name": "DropupItem",
32036
- "declaration": {
32037
- "name": "DropupItem",
32038
- "module": "src/views/chat/input/dropup/dropupItem.ts"
32039
- }
32040
- }
32041
- ]
32042
- },
32043
- {
32044
- "kind": "javascript-module",
32045
- "path": "src/views/chat/input/dropup/dropupItemNavigation.ts",
32046
- "declarations": [
32047
- {
32048
- "kind": "class",
32049
- "description": "",
32050
- "name": "DropupItemNavigation",
32051
- "members": [
32052
- {
32053
- "kind": "method",
32054
- "name": "focusItemWhenOnEdge",
32055
- "privacy": "private",
32056
- "static": true,
32057
- "parameters": [
32058
- {
32059
- "name": "dropupElement",
32060
- "type": {
32061
- "text": "HTMLElement"
32062
- }
32063
- },
32064
- {
32065
- "name": "isNext",
32066
- "type": {
32067
- "text": "boolean"
32068
- }
32069
- }
32070
- ]
31482
+ "name": "create",
31483
+ "privacy": "public",
31484
+ "static": true
32071
31485
  },
32072
31486
  {
32073
31487
  "kind": "method",
32074
- "name": "focusSiblingItem",
31488
+ "name": "add",
32075
31489
  "privacy": "public",
32076
31490
  "static": true,
32077
- "return": {
32078
- "type": {
32079
- "text": "void"
32080
- }
32081
- },
32082
31491
  "parameters": [
32083
31492
  {
32084
- "name": "focusedItem",
32085
- "type": {
32086
- "text": "HTMLElement"
32087
- }
32088
- },
32089
- {
32090
- "name": "dropupElement",
31493
+ "name": "inputContainer",
32091
31494
  "type": {
32092
31495
  "text": "HTMLElement"
32093
31496
  }
32094
31497
  },
32095
31498
  {
32096
- "name": "isNext",
31499
+ "name": "buttonContainers",
32097
31500
  "type": {
32098
- "text": "boolean"
31501
+ "text": "ButtonContainersT"
32099
31502
  }
32100
- },
32101
- {
32102
- "name": "isEdgeItem",
32103
- "default": "false"
32104
31503
  }
32105
31504
  ]
32106
- }
32107
- ]
32108
- }
32109
- ],
32110
- "exports": [
32111
- {
32112
- "kind": "js",
32113
- "name": "DropupItemNavigation",
32114
- "declaration": {
32115
- "name": "DropupItemNavigation",
32116
- "module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
32117
- }
32118
- }
32119
- ]
32120
- },
32121
- {
32122
- "kind": "javascript-module",
32123
- "path": "src/views/chat/input/dropup/dropupMenu.ts",
32124
- "declarations": [
32125
- {
32126
- "kind": "class",
32127
- "description": "",
32128
- "name": "DropupMenu",
32129
- "members": [
32130
- {
32131
- "kind": "field",
32132
- "name": "elementRef",
32133
- "type": {
32134
- "text": "HTMLElement"
32135
- }
32136
- },
32137
- {
32138
- "kind": "field",
32139
- "name": "_isOpen",
32140
- "type": {
32141
- "text": "boolean"
32142
- },
32143
- "privacy": "private",
32144
- "default": "true"
32145
- },
32146
- {
32147
- "kind": "field",
32148
- "name": "highlightedItem",
32149
- "type": {
32150
- "text": "HTMLElement | undefined"
32151
- }
32152
- },
32153
- {
32154
- "kind": "field",
32155
- "name": "_styles",
32156
- "type": {
32157
- "text": "DropupMenuStyles | undefined"
32158
- },
32159
- "privacy": "private",
32160
- "default": "styles"
32161
31505
  },
32162
31506
  {
32163
31507
  "kind": "method",
32164
- "name": "createElement",
31508
+ "name": "getContainerIndex",
32165
31509
  "privacy": "private",
32166
31510
  "static": true,
32167
31511
  "parameters": [
32168
31512
  {
32169
- "name": "containerStyle",
32170
- "optional": true,
31513
+ "name": "position",
32171
31514
  "type": {
32172
- "text": "CustomStyle"
31515
+ "text": "ButtonPosition"
32173
31516
  }
32174
31517
  }
32175
31518
  ]
32176
31519
  },
32177
31520
  {
32178
31521
  "kind": "method",
32179
- "name": "open",
32180
- "privacy": "private"
32181
- },
32182
- {
32183
- "kind": "method",
32184
- "name": "close"
32185
- },
32186
- {
32187
- "kind": "method",
32188
- "name": "toggle"
32189
- },
32190
- {
32191
- "kind": "method",
32192
- "name": "addItem",
31522
+ "name": "addButton",
31523
+ "privacy": "public",
31524
+ "static": true,
32193
31525
  "parameters": [
32194
31526
  {
32195
- "name": "inputButton",
31527
+ "name": "buttonContainers",
32196
31528
  "type": {
32197
- "text": "InputButton"
31529
+ "text": "ButtonContainersT"
32198
31530
  }
32199
- }
32200
- ]
32201
- },
32202
- {
32203
- "kind": "method",
32204
- "name": "addWindowEvents",
32205
- "privacy": "private",
32206
- "parameters": [
31531
+ },
32207
31532
  {
32208
- "name": "containerElement",
31533
+ "name": "elementRef",
32209
31534
  "type": {
32210
31535
  "text": "HTMLElement"
32211
31536
  }
31537
+ },
31538
+ {
31539
+ "name": "position",
31540
+ "type": {
31541
+ "text": "ButtonPosition"
31542
+ }
32212
31543
  }
32213
31544
  ]
32214
31545
  }
@@ -32218,10 +31549,10 @@
32218
31549
  "exports": [
32219
31550
  {
32220
31551
  "kind": "js",
32221
- "name": "DropupMenu",
31552
+ "name": "ButtonContainers",
32222
31553
  "declaration": {
32223
- "name": "DropupMenu",
32224
- "module": "src/views/chat/input/dropup/dropupMenu.ts"
31554
+ "name": "ButtonContainers",
31555
+ "module": "src/views/chat/input/buttonContainers/buttonContainers.ts"
32225
31556
  }
32226
31557
  }
32227
31558
  ]
@@ -32772,235 +32103,744 @@
32772
32103
  "text": "File[]"
32773
32104
  }
32774
32105
  }
32775
- ]
32776
- },
32777
- {
32778
- "kind": "method",
32779
- "name": "removeAllFiles"
32106
+ ]
32107
+ },
32108
+ {
32109
+ "kind": "method",
32110
+ "name": "removeAllFiles"
32111
+ },
32112
+ {
32113
+ "kind": "method",
32114
+ "name": "getNumberOfTypes"
32115
+ }
32116
+ ]
32117
+ }
32118
+ ],
32119
+ "exports": [
32120
+ {
32121
+ "kind": "js",
32122
+ "name": "FileAttachments",
32123
+ "declaration": {
32124
+ "name": "FileAttachments",
32125
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
32126
+ }
32127
+ }
32128
+ ]
32129
+ },
32130
+ {
32131
+ "kind": "javascript-module",
32132
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
32133
+ "declarations": [
32134
+ {
32135
+ "kind": "class",
32136
+ "description": "",
32137
+ "name": "NewFileName",
32138
+ "members": [
32139
+ {
32140
+ "kind": "method",
32141
+ "name": "getFileName",
32142
+ "privacy": "public",
32143
+ "static": true,
32144
+ "parameters": [
32145
+ {
32146
+ "name": "prefix",
32147
+ "type": {
32148
+ "text": "string"
32149
+ }
32150
+ },
32151
+ {
32152
+ "name": "extension",
32153
+ "type": {
32154
+ "text": "string"
32155
+ }
32156
+ }
32157
+ ]
32158
+ }
32159
+ ]
32160
+ }
32161
+ ],
32162
+ "exports": [
32163
+ {
32164
+ "kind": "js",
32165
+ "name": "NewFileName",
32166
+ "declaration": {
32167
+ "name": "NewFileName",
32168
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
32169
+ }
32170
+ }
32171
+ ]
32172
+ },
32173
+ {
32174
+ "kind": "javascript-module",
32175
+ "path": "src/views/chat/input/dropup/dropup.ts",
32176
+ "declarations": [
32177
+ {
32178
+ "kind": "class",
32179
+ "description": "",
32180
+ "name": "Dropup",
32181
+ "members": [
32182
+ {
32183
+ "kind": "field",
32184
+ "name": "_menu",
32185
+ "type": {
32186
+ "text": "DropupMenu"
32187
+ },
32188
+ "privacy": "private",
32189
+ "default": "new DropupMenu(containerElement, styles?.menu)"
32190
+ },
32191
+ {
32192
+ "kind": "field",
32193
+ "name": "buttonContainer",
32194
+ "type": {
32195
+ "text": "HTMLElement"
32196
+ }
32197
+ },
32198
+ {
32199
+ "kind": "method",
32200
+ "name": "createButtonElement",
32201
+ "privacy": "private",
32202
+ "static": true
32203
+ },
32204
+ {
32205
+ "kind": "method",
32206
+ "name": "createInnerElements",
32207
+ "privacy": "private",
32208
+ "parameters": [
32209
+ {
32210
+ "name": "customStyles",
32211
+ "optional": true,
32212
+ "type": {
32213
+ "text": "Styles"
32214
+ }
32215
+ }
32216
+ ]
32217
+ },
32218
+ {
32219
+ "kind": "method",
32220
+ "name": "createInnerElement",
32221
+ "privacy": "private",
32222
+ "parameters": [
32223
+ {
32224
+ "name": "baseButton",
32225
+ "type": {
32226
+ "text": "SVGGraphicsElement"
32227
+ }
32228
+ },
32229
+ {
32230
+ "name": "state",
32231
+ "type": {
32232
+ "text": "'styles'"
32233
+ }
32234
+ },
32235
+ {
32236
+ "name": "customStyles",
32237
+ "optional": true,
32238
+ "type": {
32239
+ "text": "Styles"
32240
+ }
32241
+ }
32242
+ ]
32243
+ },
32244
+ {
32245
+ "kind": "method",
32246
+ "name": "createSVGIconElement",
32247
+ "privacy": "private",
32248
+ "static": true
32249
+ },
32250
+ {
32251
+ "kind": "method",
32252
+ "name": "addClickEvent",
32253
+ "privacy": "private"
32254
+ },
32255
+ {
32256
+ "kind": "method",
32257
+ "name": "createButtonContainer",
32258
+ "privacy": "private",
32259
+ "static": true
32260
+ },
32261
+ {
32262
+ "kind": "method",
32263
+ "name": "addItem",
32264
+ "parameters": [
32265
+ {
32266
+ "name": "buttonProps",
32267
+ "type": {
32268
+ "text": "InputButton"
32269
+ }
32270
+ }
32271
+ ]
32272
+ },
32273
+ {
32274
+ "kind": "method",
32275
+ "name": "addContainerEvents",
32276
+ "privacy": "private",
32277
+ "parameters": [
32278
+ {
32279
+ "name": "containerElement",
32280
+ "type": {
32281
+ "text": "HTMLElement"
32282
+ }
32283
+ }
32284
+ ]
32285
+ },
32286
+ {
32287
+ "kind": "method",
32288
+ "name": "getPosition",
32289
+ "static": true,
32290
+ "parameters": [
32291
+ {
32292
+ "name": "positions",
32293
+ "type": {
32294
+ "text": "Positions"
32295
+ }
32296
+ },
32297
+ {
32298
+ "name": "dropupStyles",
32299
+ "optional": true,
32300
+ "type": {
32301
+ "text": "DropupStyles"
32302
+ }
32303
+ }
32304
+ ]
32305
+ },
32306
+ {
32307
+ "kind": "field",
32308
+ "name": "elementRef",
32309
+ "type": {
32310
+ "text": "HTMLElement"
32311
+ },
32312
+ "default": "buttonElement",
32313
+ "inheritedFrom": {
32314
+ "name": "InputButton",
32315
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32316
+ }
32317
+ },
32318
+ {
32319
+ "kind": "field",
32320
+ "name": "_mouseState",
32321
+ "type": {
32322
+ "text": "MouseState"
32323
+ },
32324
+ "privacy": "protected",
32325
+ "default": "{state: 'default'}",
32326
+ "inheritedFrom": {
32327
+ "name": "InputButton",
32328
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32329
+ }
32330
+ },
32331
+ {
32332
+ "kind": "field",
32333
+ "name": "_customStyles",
32334
+ "type": {
32335
+ "text": "T | undefined"
32336
+ },
32337
+ "privacy": "protected",
32338
+ "default": "customStyles",
32339
+ "inheritedFrom": {
32340
+ "name": "InputButton",
32341
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32342
+ }
32343
+ },
32344
+ {
32345
+ "kind": "field",
32346
+ "name": "position",
32347
+ "type": {
32348
+ "text": "ButtonPositionT | undefined"
32349
+ },
32350
+ "default": "position",
32351
+ "inheritedFrom": {
32352
+ "name": "InputButton",
32353
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32354
+ }
32355
+ },
32356
+ {
32357
+ "kind": "field",
32358
+ "name": "dropupText",
32359
+ "type": {
32360
+ "text": "string | undefined"
32361
+ },
32362
+ "default": "dropupText",
32363
+ "inheritedFrom": {
32364
+ "name": "InputButton",
32365
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32366
+ }
32367
+ },
32368
+ {
32369
+ "kind": "method",
32370
+ "name": "buttonMouseLeave",
32371
+ "privacy": "private",
32372
+ "parameters": [
32373
+ {
32374
+ "name": "customStyles",
32375
+ "optional": true,
32376
+ "type": {
32377
+ "text": "ButtonStyles"
32378
+ }
32379
+ }
32380
+ ],
32381
+ "inheritedFrom": {
32382
+ "name": "InputButton",
32383
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32384
+ }
32385
+ },
32386
+ {
32387
+ "kind": "method",
32388
+ "name": "buttonMouseEnter",
32389
+ "privacy": "private",
32390
+ "parameters": [
32391
+ {
32392
+ "name": "customStyles",
32393
+ "optional": true,
32394
+ "type": {
32395
+ "text": "ButtonStyles"
32396
+ }
32397
+ }
32398
+ ],
32399
+ "inheritedFrom": {
32400
+ "name": "InputButton",
32401
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32402
+ }
32403
+ },
32404
+ {
32405
+ "kind": "method",
32406
+ "name": "buttonMouseUp",
32407
+ "privacy": "private",
32408
+ "parameters": [
32409
+ {
32410
+ "name": "customStyles",
32411
+ "optional": true,
32412
+ "type": {
32413
+ "text": "ButtonStyles"
32414
+ }
32415
+ }
32416
+ ],
32417
+ "inheritedFrom": {
32418
+ "name": "InputButton",
32419
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32420
+ }
32421
+ },
32422
+ {
32423
+ "kind": "method",
32424
+ "name": "buttonMouseDown",
32425
+ "privacy": "private",
32426
+ "parameters": [
32427
+ {
32428
+ "name": "customStyles",
32429
+ "optional": true,
32430
+ "type": {
32431
+ "text": "ButtonStyles"
32432
+ }
32433
+ }
32434
+ ],
32435
+ "inheritedFrom": {
32436
+ "name": "InputButton",
32437
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32438
+ }
32439
+ },
32440
+ {
32441
+ "kind": "method",
32442
+ "name": "setEvents",
32443
+ "privacy": "private",
32444
+ "parameters": [
32445
+ {
32446
+ "name": "customStyles",
32447
+ "optional": true,
32448
+ "type": {
32449
+ "text": "ButtonStyles"
32450
+ }
32451
+ }
32452
+ ],
32453
+ "inheritedFrom": {
32454
+ "name": "InputButton",
32455
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32456
+ }
32457
+ },
32458
+ {
32459
+ "kind": "method",
32460
+ "name": "unsetCustomStateStyles",
32461
+ "privacy": "public",
32462
+ "parameters": [
32463
+ {
32464
+ "name": "unsetTypes",
32465
+ "type": {
32466
+ "text": "(keyof T)[]"
32467
+ }
32468
+ }
32469
+ ],
32470
+ "inheritedFrom": {
32471
+ "name": "InputButton",
32472
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32473
+ }
32780
32474
  },
32781
32475
  {
32782
32476
  "kind": "method",
32783
- "name": "getNumberOfTypes"
32784
- }
32785
- ]
32786
- }
32787
- ],
32788
- "exports": [
32789
- {
32790
- "kind": "js",
32791
- "name": "FileAttachments",
32792
- "declaration": {
32793
- "name": "FileAttachments",
32794
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
32795
- }
32796
- }
32797
- ]
32798
- },
32799
- {
32800
- "kind": "javascript-module",
32801
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
32802
- "declarations": [
32803
- {
32804
- "kind": "class",
32805
- "description": "",
32806
- "name": "NewFileName",
32807
- "members": [
32808
- {
32809
- "kind": "method",
32810
- "name": "getFileName",
32477
+ "name": "reapplyStateStyle",
32811
32478
  "privacy": "public",
32812
- "static": true,
32813
32479
  "parameters": [
32814
32480
  {
32815
- "name": "prefix",
32481
+ "name": "setType",
32816
32482
  "type": {
32817
- "text": "string"
32483
+ "text": "keyof T"
32818
32484
  }
32819
32485
  },
32820
32486
  {
32821
- "name": "extension",
32487
+ "name": "unsetTypes",
32488
+ "optional": true,
32822
32489
  "type": {
32823
- "text": "string"
32490
+ "text": "(keyof T)[]"
32824
32491
  }
32825
32492
  }
32826
- ]
32493
+ ],
32494
+ "inheritedFrom": {
32495
+ "name": "InputButton",
32496
+ "module": "src/views/chat/input/buttons/inputButton.ts"
32497
+ }
32827
32498
  }
32828
- ]
32499
+ ],
32500
+ "superclass": {
32501
+ "name": "InputButton",
32502
+ "module": "/src/views/chat/input/buttons/inputButton"
32503
+ }
32829
32504
  }
32830
32505
  ],
32831
32506
  "exports": [
32832
32507
  {
32833
32508
  "kind": "js",
32834
- "name": "NewFileName",
32509
+ "name": "Dropup",
32835
32510
  "declaration": {
32836
- "name": "NewFileName",
32837
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
32511
+ "name": "Dropup",
32512
+ "module": "src/views/chat/input/dropup/dropup.ts"
32838
32513
  }
32839
32514
  }
32840
32515
  ]
32841
32516
  },
32842
32517
  {
32843
32518
  "kind": "javascript-module",
32844
- "path": "src/views/chat/input/validation/validationHandler.ts",
32519
+ "path": "src/views/chat/input/dropup/dropupItem.ts",
32845
32520
  "declarations": [
32846
32521
  {
32847
32522
  "kind": "class",
32848
32523
  "description": "",
32849
- "name": "ValidationHandler",
32524
+ "name": "DropupItem",
32850
32525
  "members": [
32851
32526
  {
32852
32527
  "kind": "method",
32853
- "name": "validate",
32528
+ "name": "addItemEvents",
32854
32529
  "privacy": "private",
32855
32530
  "static": true,
32856
32531
  "parameters": [
32857
32532
  {
32858
- "name": "validation",
32533
+ "name": "menu",
32859
32534
  "type": {
32860
- "text": "ValidateFunc"
32535
+ "text": "DropupMenu"
32861
32536
  }
32862
32537
  },
32863
32538
  {
32864
- "name": "submitButton",
32539
+ "name": "item",
32865
32540
  "type": {
32866
- "text": "SubmitButton"
32541
+ "text": "HTMLElement"
32867
32542
  }
32868
32543
  },
32869
32544
  {
32870
- "name": "text",
32545
+ "name": "inputButton",
32546
+ "type": {
32547
+ "text": "HTMLElement"
32548
+ }
32549
+ },
32550
+ {
32551
+ "name": "styles",
32552
+ "type": {
32553
+ "text": "StatefulStyles"
32554
+ }
32555
+ }
32556
+ ]
32557
+ },
32558
+ {
32559
+ "kind": "method",
32560
+ "name": "createItemText",
32561
+ "privacy": "private",
32562
+ "static": true,
32563
+ "parameters": [
32564
+ {
32565
+ "name": "dropupText",
32871
32566
  "optional": true,
32872
32567
  "type": {
32873
32568
  "text": "string"
32874
32569
  }
32875
32570
  },
32876
32571
  {
32877
- "name": "files",
32572
+ "name": "textStyle",
32878
32573
  "optional": true,
32879
32574
  "type": {
32880
- "text": "File[]"
32575
+ "text": "CustomStyle"
32576
+ }
32577
+ }
32578
+ ]
32579
+ },
32580
+ {
32581
+ "kind": "method",
32582
+ "name": "createItemIcon",
32583
+ "privacy": "private",
32584
+ "static": true,
32585
+ "parameters": [
32586
+ {
32587
+ "name": "inputButtonElement",
32588
+ "type": {
32589
+ "text": "HTMLElement"
32881
32590
  }
32882
32591
  },
32883
32592
  {
32884
- "name": "isProgrammatic",
32593
+ "name": "iconContainerStyle",
32885
32594
  "optional": true,
32886
32595
  "type": {
32887
- "text": "boolean"
32596
+ "text": "CustomStyle"
32888
32597
  }
32889
32598
  }
32890
32599
  ]
32891
32600
  },
32892
32601
  {
32893
32602
  "kind": "method",
32894
- "name": "useValidationFunc",
32603
+ "name": "populateItem",
32895
32604
  "privacy": "private",
32896
32605
  "static": true,
32897
32606
  "parameters": [
32898
32607
  {
32899
- "name": "validation",
32608
+ "name": "elementRef",
32900
32609
  "type": {
32901
- "text": "ValidateFunc"
32610
+ "text": "HTMLElement"
32902
32611
  }
32903
32612
  },
32904
32613
  {
32905
- "name": "textInput",
32614
+ "name": "item",
32906
32615
  "type": {
32907
- "text": "TextInputEl"
32616
+ "text": "HTMLElement"
32908
32617
  }
32909
32618
  },
32910
32619
  {
32911
- "name": "fileAttachments",
32620
+ "name": "dropupText",
32621
+ "optional": true,
32912
32622
  "type": {
32913
- "text": "FileAttachments"
32623
+ "text": "string"
32914
32624
  }
32915
32625
  },
32916
32626
  {
32917
- "name": "submitButton",
32627
+ "name": "styles",
32628
+ "optional": true,
32918
32629
  "type": {
32919
- "text": "SubmitButton"
32630
+ "text": "DropupMenuStyles"
32920
32631
  }
32921
32632
  }
32922
32633
  ]
32923
32634
  },
32924
32635
  {
32925
32636
  "kind": "method",
32926
- "name": "useValidationFuncProgrammatic",
32927
- "privacy": "private",
32637
+ "name": "createItem",
32638
+ "privacy": "public",
32928
32639
  "static": true,
32929
32640
  "parameters": [
32930
32641
  {
32931
- "name": "validation",
32642
+ "name": "menu",
32932
32643
  "type": {
32933
- "text": "ValidateFunc"
32644
+ "text": "DropupMenu"
32934
32645
  }
32935
32646
  },
32936
32647
  {
32937
- "name": "programmatic",
32648
+ "name": "inputButton",
32938
32649
  "type": {
32939
- "text": "UserContentI"
32650
+ "text": "InputButton"
32940
32651
  }
32941
32652
  },
32942
32653
  {
32943
- "name": "submitButton",
32654
+ "name": "styles",
32655
+ "optional": true,
32944
32656
  "type": {
32945
- "text": "SubmitButton"
32657
+ "text": "DropupMenuStyles"
32946
32658
  }
32947
32659
  }
32948
32660
  ]
32949
- },
32661
+ }
32662
+ ]
32663
+ }
32664
+ ],
32665
+ "exports": [
32666
+ {
32667
+ "kind": "js",
32668
+ "name": "DropupItem",
32669
+ "declaration": {
32670
+ "name": "DropupItem",
32671
+ "module": "src/views/chat/input/dropup/dropupItem.ts"
32672
+ }
32673
+ }
32674
+ ]
32675
+ },
32676
+ {
32677
+ "kind": "javascript-module",
32678
+ "path": "src/views/chat/input/dropup/dropupItemNavigation.ts",
32679
+ "declarations": [
32680
+ {
32681
+ "kind": "class",
32682
+ "description": "",
32683
+ "name": "DropupItemNavigation",
32684
+ "members": [
32950
32685
  {
32951
32686
  "kind": "method",
32952
- "name": "validateWebsocket",
32687
+ "name": "focusItemWhenOnEdge",
32953
32688
  "privacy": "private",
32954
32689
  "static": true,
32955
32690
  "parameters": [
32956
32691
  {
32957
- "name": "serviceIO",
32692
+ "name": "dropupElement",
32958
32693
  "type": {
32959
- "text": "ServiceIO"
32694
+ "text": "HTMLElement"
32960
32695
  }
32961
32696
  },
32962
32697
  {
32963
- "name": "submitButton",
32698
+ "name": "isNext",
32964
32699
  "type": {
32965
- "text": "SubmitButton"
32700
+ "text": "boolean"
32966
32701
  }
32967
32702
  }
32968
32703
  ]
32969
32704
  },
32970
32705
  {
32971
32706
  "kind": "method",
32972
- "name": "attach",
32707
+ "name": "focusSiblingItem",
32973
32708
  "privacy": "public",
32974
32709
  "static": true,
32710
+ "return": {
32711
+ "type": {
32712
+ "text": "void"
32713
+ }
32714
+ },
32975
32715
  "parameters": [
32976
32716
  {
32977
- "name": "deepChat",
32717
+ "name": "focusedItem",
32978
32718
  "type": {
32979
- "text": "DeepChat"
32719
+ "text": "HTMLElement"
32980
32720
  }
32981
32721
  },
32982
32722
  {
32983
- "name": "serviceIO",
32723
+ "name": "dropupElement",
32984
32724
  "type": {
32985
- "text": "ServiceIO"
32725
+ "text": "HTMLElement"
32986
32726
  }
32987
32727
  },
32988
32728
  {
32989
- "name": "textInput",
32729
+ "name": "isNext",
32990
32730
  "type": {
32991
- "text": "TextInputEl"
32731
+ "text": "boolean"
32992
32732
  }
32993
32733
  },
32994
32734
  {
32995
- "name": "fileAttachments",
32735
+ "name": "isEdgeItem",
32736
+ "default": "false"
32737
+ }
32738
+ ]
32739
+ }
32740
+ ]
32741
+ }
32742
+ ],
32743
+ "exports": [
32744
+ {
32745
+ "kind": "js",
32746
+ "name": "DropupItemNavigation",
32747
+ "declaration": {
32748
+ "name": "DropupItemNavigation",
32749
+ "module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
32750
+ }
32751
+ }
32752
+ ]
32753
+ },
32754
+ {
32755
+ "kind": "javascript-module",
32756
+ "path": "src/views/chat/input/dropup/dropupMenu.ts",
32757
+ "declarations": [
32758
+ {
32759
+ "kind": "class",
32760
+ "description": "",
32761
+ "name": "DropupMenu",
32762
+ "members": [
32763
+ {
32764
+ "kind": "field",
32765
+ "name": "elementRef",
32766
+ "type": {
32767
+ "text": "HTMLElement"
32768
+ }
32769
+ },
32770
+ {
32771
+ "kind": "field",
32772
+ "name": "_isOpen",
32773
+ "type": {
32774
+ "text": "boolean"
32775
+ },
32776
+ "privacy": "private",
32777
+ "default": "true"
32778
+ },
32779
+ {
32780
+ "kind": "field",
32781
+ "name": "highlightedItem",
32782
+ "type": {
32783
+ "text": "HTMLElement | undefined"
32784
+ }
32785
+ },
32786
+ {
32787
+ "kind": "field",
32788
+ "name": "_styles",
32789
+ "type": {
32790
+ "text": "DropupMenuStyles | undefined"
32791
+ },
32792
+ "privacy": "private",
32793
+ "default": "styles"
32794
+ },
32795
+ {
32796
+ "kind": "method",
32797
+ "name": "createElement",
32798
+ "privacy": "private",
32799
+ "static": true,
32800
+ "parameters": [
32801
+ {
32802
+ "name": "containerStyle",
32803
+ "optional": true,
32996
32804
  "type": {
32997
- "text": "FileAttachments"
32805
+ "text": "CustomStyle"
32998
32806
  }
32999
- },
32807
+ }
32808
+ ]
32809
+ },
32810
+ {
32811
+ "kind": "method",
32812
+ "name": "open",
32813
+ "privacy": "private"
32814
+ },
32815
+ {
32816
+ "kind": "method",
32817
+ "name": "close"
32818
+ },
32819
+ {
32820
+ "kind": "method",
32821
+ "name": "toggle"
32822
+ },
32823
+ {
32824
+ "kind": "method",
32825
+ "name": "addItem",
32826
+ "parameters": [
33000
32827
  {
33001
- "name": "submitButton",
32828
+ "name": "inputButton",
33002
32829
  "type": {
33003
- "text": "SubmitButton"
32830
+ "text": "InputButton"
32831
+ }
32832
+ }
32833
+ ]
32834
+ },
32835
+ {
32836
+ "kind": "method",
32837
+ "name": "addWindowEvents",
32838
+ "privacy": "private",
32839
+ "parameters": [
32840
+ {
32841
+ "name": "containerElement",
32842
+ "type": {
32843
+ "text": "HTMLElement"
33004
32844
  }
33005
32845
  }
33006
32846
  ]
@@ -33011,10 +32851,10 @@
33011
32851
  "exports": [
33012
32852
  {
33013
32853
  "kind": "js",
33014
- "name": "ValidationHandler",
32854
+ "name": "DropupMenu",
33015
32855
  "declaration": {
33016
- "name": "ValidationHandler",
33017
- "module": "src/views/chat/input/validation/validationHandler.ts"
32856
+ "name": "DropupMenu",
32857
+ "module": "src/views/chat/input/dropup/dropupMenu.ts"
33018
32858
  }
33019
32859
  }
33020
32860
  ]
@@ -33458,6 +33298,186 @@
33458
33298
  }
33459
33299
  ]
33460
33300
  },
33301
+ {
33302
+ "kind": "javascript-module",
33303
+ "path": "src/views/chat/input/validation/validationHandler.ts",
33304
+ "declarations": [
33305
+ {
33306
+ "kind": "class",
33307
+ "description": "",
33308
+ "name": "ValidationHandler",
33309
+ "members": [
33310
+ {
33311
+ "kind": "method",
33312
+ "name": "validate",
33313
+ "privacy": "private",
33314
+ "static": true,
33315
+ "parameters": [
33316
+ {
33317
+ "name": "validation",
33318
+ "type": {
33319
+ "text": "ValidateFunc"
33320
+ }
33321
+ },
33322
+ {
33323
+ "name": "submitButton",
33324
+ "type": {
33325
+ "text": "SubmitButton"
33326
+ }
33327
+ },
33328
+ {
33329
+ "name": "text",
33330
+ "optional": true,
33331
+ "type": {
33332
+ "text": "string"
33333
+ }
33334
+ },
33335
+ {
33336
+ "name": "files",
33337
+ "optional": true,
33338
+ "type": {
33339
+ "text": "File[]"
33340
+ }
33341
+ },
33342
+ {
33343
+ "name": "isProgrammatic",
33344
+ "optional": true,
33345
+ "type": {
33346
+ "text": "boolean"
33347
+ }
33348
+ }
33349
+ ]
33350
+ },
33351
+ {
33352
+ "kind": "method",
33353
+ "name": "useValidationFunc",
33354
+ "privacy": "private",
33355
+ "static": true,
33356
+ "parameters": [
33357
+ {
33358
+ "name": "validation",
33359
+ "type": {
33360
+ "text": "ValidateFunc"
33361
+ }
33362
+ },
33363
+ {
33364
+ "name": "textInput",
33365
+ "type": {
33366
+ "text": "TextInputEl"
33367
+ }
33368
+ },
33369
+ {
33370
+ "name": "fileAttachments",
33371
+ "type": {
33372
+ "text": "FileAttachments"
33373
+ }
33374
+ },
33375
+ {
33376
+ "name": "submitButton",
33377
+ "type": {
33378
+ "text": "SubmitButton"
33379
+ }
33380
+ }
33381
+ ]
33382
+ },
33383
+ {
33384
+ "kind": "method",
33385
+ "name": "useValidationFuncProgrammatic",
33386
+ "privacy": "private",
33387
+ "static": true,
33388
+ "parameters": [
33389
+ {
33390
+ "name": "validation",
33391
+ "type": {
33392
+ "text": "ValidateFunc"
33393
+ }
33394
+ },
33395
+ {
33396
+ "name": "programmatic",
33397
+ "type": {
33398
+ "text": "UserContentI"
33399
+ }
33400
+ },
33401
+ {
33402
+ "name": "submitButton",
33403
+ "type": {
33404
+ "text": "SubmitButton"
33405
+ }
33406
+ }
33407
+ ]
33408
+ },
33409
+ {
33410
+ "kind": "method",
33411
+ "name": "validateWebsocket",
33412
+ "privacy": "private",
33413
+ "static": true,
33414
+ "parameters": [
33415
+ {
33416
+ "name": "serviceIO",
33417
+ "type": {
33418
+ "text": "ServiceIO"
33419
+ }
33420
+ },
33421
+ {
33422
+ "name": "submitButton",
33423
+ "type": {
33424
+ "text": "SubmitButton"
33425
+ }
33426
+ }
33427
+ ]
33428
+ },
33429
+ {
33430
+ "kind": "method",
33431
+ "name": "attach",
33432
+ "privacy": "public",
33433
+ "static": true,
33434
+ "parameters": [
33435
+ {
33436
+ "name": "deepChat",
33437
+ "type": {
33438
+ "text": "DeepChat"
33439
+ }
33440
+ },
33441
+ {
33442
+ "name": "serviceIO",
33443
+ "type": {
33444
+ "text": "ServiceIO"
33445
+ }
33446
+ },
33447
+ {
33448
+ "name": "textInput",
33449
+ "type": {
33450
+ "text": "TextInputEl"
33451
+ }
33452
+ },
33453
+ {
33454
+ "name": "fileAttachments",
33455
+ "type": {
33456
+ "text": "FileAttachments"
33457
+ }
33458
+ },
33459
+ {
33460
+ "name": "submitButton",
33461
+ "type": {
33462
+ "text": "SubmitButton"
33463
+ }
33464
+ }
33465
+ ]
33466
+ }
33467
+ ]
33468
+ }
33469
+ ],
33470
+ "exports": [
33471
+ {
33472
+ "kind": "js",
33473
+ "name": "ValidationHandler",
33474
+ "declaration": {
33475
+ "name": "ValidationHandler",
33476
+ "module": "src/views/chat/input/validation/validationHandler.ts"
33477
+ }
33478
+ }
33479
+ ]
33480
+ },
33461
33481
  {
33462
33482
  "kind": "javascript-module",
33463
33483
  "path": "src/views/chat/messages/html/htmlDeepChatElements.ts",