deep-chat-dev 9.0.87 → 9.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1562 -1533
- package/dist/deepChat.bundle.js +1 -1
- package/dist/deepChat.js +261 -248
- package/dist/services/serviceIOFactory.d.ts.map +1 -1
- package/dist/types/webModel/webModel.d.ts +1 -1
- package/dist/types/webModel/webModel.d.ts.map +1 -1
- package/dist/views/chat/chatView.d.ts.map +1 -1
- package/dist/views/chat/messages/messages.d.ts.map +1 -1
- package/dist/views/chat/messages/messagesBase.d.ts.map +1 -1
- package/dist/webModel/webModel.d.ts +7 -1
- package/dist/webModel/webModel.d.ts.map +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
@@ -906,743 +906,6 @@
|
|
906
906
|
}
|
907
907
|
]
|
908
908
|
},
|
909
|
-
{
|
910
|
-
"kind": "javascript-module",
|
911
|
-
"path": "src/webModel/webModel.ts",
|
912
|
-
"declarations": [
|
913
|
-
{
|
914
|
-
"kind": "class",
|
915
|
-
"description": "",
|
916
|
-
"name": "WebModel",
|
917
|
-
"members": [
|
918
|
-
{
|
919
|
-
"kind": "field",
|
920
|
-
"name": "chat",
|
921
|
-
"type": {
|
922
|
-
"text": "WebLLM.ChatInterface | undefined"
|
923
|
-
},
|
924
|
-
"privacy": "private",
|
925
|
-
"static": true
|
926
|
-
},
|
927
|
-
{
|
928
|
-
"kind": "field",
|
929
|
-
"name": "DOWNLOAD_BUTTON_CLASS",
|
930
|
-
"type": {
|
931
|
-
"text": "string"
|
932
|
-
},
|
933
|
-
"privacy": "private",
|
934
|
-
"static": true,
|
935
|
-
"default": "'deep-chat-download-button'"
|
936
|
-
},
|
937
|
-
{
|
938
|
-
"kind": "field",
|
939
|
-
"name": "GENERIC_ERROR",
|
940
|
-
"privacy": "private",
|
941
|
-
"static": true
|
942
|
-
},
|
943
|
-
{
|
944
|
-
"kind": "field",
|
945
|
-
"name": "MULTIPLE_MODELS_ERROR",
|
946
|
-
"type": {
|
947
|
-
"text": "string"
|
948
|
-
},
|
949
|
-
"privacy": "private",
|
950
|
-
"static": true,
|
951
|
-
"default": "'Cannot run multiple web models'"
|
952
|
-
},
|
953
|
-
{
|
954
|
-
"kind": "field",
|
955
|
-
"name": "WEB_LLM_NOT_FOUND_ERROR",
|
956
|
-
"type": {
|
957
|
-
"text": "string"
|
958
|
-
},
|
959
|
-
"privacy": "private",
|
960
|
-
"static": true,
|
961
|
-
"default": "'WebLLM module not found'"
|
962
|
-
},
|
963
|
-
{
|
964
|
-
"kind": "field",
|
965
|
-
"name": "DEFAULT_MODEL",
|
966
|
-
"type": {
|
967
|
-
"text": "string"
|
968
|
-
},
|
969
|
-
"privacy": "private",
|
970
|
-
"static": true,
|
971
|
-
"default": "'Llama-2-7b-chat-hf-q4f32_1'"
|
972
|
-
},
|
973
|
-
{
|
974
|
-
"kind": "field",
|
975
|
-
"name": "_isModelLoaded",
|
976
|
-
"type": {
|
977
|
-
"text": "boolean"
|
978
|
-
},
|
979
|
-
"privacy": "private",
|
980
|
-
"default": "false"
|
981
|
-
},
|
982
|
-
{
|
983
|
-
"kind": "field",
|
984
|
-
"name": "_isModelLoading",
|
985
|
-
"type": {
|
986
|
-
"text": "boolean"
|
987
|
-
},
|
988
|
-
"privacy": "private",
|
989
|
-
"default": "false"
|
990
|
-
},
|
991
|
-
{
|
992
|
-
"kind": "field",
|
993
|
-
"name": "_loadOnFirstMessage",
|
994
|
-
"type": {
|
995
|
-
"text": "boolean"
|
996
|
-
},
|
997
|
-
"privacy": "private",
|
998
|
-
"default": "false"
|
999
|
-
},
|
1000
|
-
{
|
1001
|
-
"kind": "field",
|
1002
|
-
"name": "permittedErrorPrefixes",
|
1003
|
-
"type": {
|
1004
|
-
"text": "array"
|
1005
|
-
},
|
1006
|
-
"default": "[WebModel.MULTIPLE_MODELS_ERROR, WebModel.WEB_LLM_NOT_FOUND_ERROR, WebModel.GENERIC_ERROR]"
|
1007
|
-
},
|
1008
|
-
{
|
1009
|
-
"kind": "field",
|
1010
|
-
"name": "webModel",
|
1011
|
-
"type": {
|
1012
|
-
"text": "WebModelConfig"
|
1013
|
-
},
|
1014
|
-
"privacy": "private",
|
1015
|
-
"default": "{}"
|
1016
|
-
},
|
1017
|
-
{
|
1018
|
-
"kind": "method",
|
1019
|
-
"name": "findModelInWindow",
|
1020
|
-
"privacy": "private",
|
1021
|
-
"parameters": [
|
1022
|
-
{
|
1023
|
-
"name": "shadowRoot",
|
1024
|
-
"type": {
|
1025
|
-
"text": "ShadowRoot"
|
1026
|
-
}
|
1027
|
-
},
|
1028
|
-
{
|
1029
|
-
"name": "seconds",
|
1030
|
-
"default": "0"
|
1031
|
-
}
|
1032
|
-
]
|
1033
|
-
},
|
1034
|
-
{
|
1035
|
-
"kind": "method",
|
1036
|
-
"name": "addInitialMessage",
|
1037
|
-
"privacy": "private",
|
1038
|
-
"parameters": [
|
1039
|
-
{
|
1040
|
-
"name": "shadowRoot",
|
1041
|
-
"type": {
|
1042
|
-
"text": "ShadowRoot"
|
1043
|
-
}
|
1044
|
-
}
|
1045
|
-
]
|
1046
|
-
},
|
1047
|
-
{
|
1048
|
-
"kind": "method",
|
1049
|
-
"name": "configureInit",
|
1050
|
-
"privacy": "private",
|
1051
|
-
"parameters": [
|
1052
|
-
{
|
1053
|
-
"name": "wasMessageSet",
|
1054
|
-
"type": {
|
1055
|
-
"text": "boolean"
|
1056
|
-
}
|
1057
|
-
}
|
1058
|
-
]
|
1059
|
-
},
|
1060
|
-
{
|
1061
|
-
"kind": "method",
|
1062
|
-
"name": "init",
|
1063
|
-
"privacy": "private"
|
1064
|
-
},
|
1065
|
-
{
|
1066
|
-
"kind": "method",
|
1067
|
-
"name": "attemptToCreateChat",
|
1068
|
-
"privacy": "private"
|
1069
|
-
},
|
1070
|
-
{
|
1071
|
-
"kind": "method",
|
1072
|
-
"name": "getConfig",
|
1073
|
-
"privacy": "private"
|
1074
|
-
},
|
1075
|
-
{
|
1076
|
-
"kind": "method",
|
1077
|
-
"name": "loadModel",
|
1078
|
-
"privacy": "private",
|
1079
|
-
"parameters": [
|
1080
|
-
{
|
1081
|
-
"name": "chat",
|
1082
|
-
"type": {
|
1083
|
-
"text": "WebLLM.ChatInterface"
|
1084
|
-
}
|
1085
|
-
}
|
1086
|
-
]
|
1087
|
-
},
|
1088
|
-
{
|
1089
|
-
"kind": "method",
|
1090
|
-
"name": "generateResp",
|
1091
|
-
"privacy": "private",
|
1092
|
-
"parameters": [
|
1093
|
-
{
|
1094
|
-
"name": "messages",
|
1095
|
-
"type": {
|
1096
|
-
"text": "Messages"
|
1097
|
-
}
|
1098
|
-
},
|
1099
|
-
{
|
1100
|
-
"name": "pMessages",
|
1101
|
-
"type": {
|
1102
|
-
"text": "MessageContentI[]"
|
1103
|
-
}
|
1104
|
-
},
|
1105
|
-
{
|
1106
|
-
"name": "chat",
|
1107
|
-
"type": {
|
1108
|
-
"text": "WebLLM.ChatInterface"
|
1109
|
-
}
|
1110
|
-
}
|
1111
|
-
]
|
1112
|
-
},
|
1113
|
-
{
|
1114
|
-
"kind": "method",
|
1115
|
-
"name": "immediateResp",
|
1116
|
-
"privacy": "private",
|
1117
|
-
"parameters": [
|
1118
|
-
{
|
1119
|
-
"name": "messages",
|
1120
|
-
"type": {
|
1121
|
-
"text": "Messages"
|
1122
|
-
}
|
1123
|
-
},
|
1124
|
-
{
|
1125
|
-
"name": "text",
|
1126
|
-
"type": {
|
1127
|
-
"text": "string"
|
1128
|
-
}
|
1129
|
-
},
|
1130
|
-
{
|
1131
|
-
"name": "chat",
|
1132
|
-
"type": {
|
1133
|
-
"text": "WebLLM.ChatInterface"
|
1134
|
-
}
|
1135
|
-
}
|
1136
|
-
]
|
1137
|
-
},
|
1138
|
-
{
|
1139
|
-
"kind": "method",
|
1140
|
-
"name": "streamResp",
|
1141
|
-
"privacy": "private",
|
1142
|
-
"parameters": [
|
1143
|
-
{
|
1144
|
-
"name": "messages",
|
1145
|
-
"type": {
|
1146
|
-
"text": "Messages"
|
1147
|
-
}
|
1148
|
-
},
|
1149
|
-
{
|
1150
|
-
"name": "text",
|
1151
|
-
"type": {
|
1152
|
-
"text": "string"
|
1153
|
-
}
|
1154
|
-
},
|
1155
|
-
{
|
1156
|
-
"name": "chat",
|
1157
|
-
"type": {
|
1158
|
-
"text": "WebLLM.ChatInterface"
|
1159
|
-
}
|
1160
|
-
}
|
1161
|
-
]
|
1162
|
-
},
|
1163
|
-
{
|
1164
|
-
"kind": "method",
|
1165
|
-
"name": "canSubmit",
|
1166
|
-
"privacy": "private",
|
1167
|
-
"parameters": [
|
1168
|
-
{
|
1169
|
-
"name": "text",
|
1170
|
-
"optional": true,
|
1171
|
-
"type": {
|
1172
|
-
"text": "string"
|
1173
|
-
}
|
1174
|
-
}
|
1175
|
-
]
|
1176
|
-
},
|
1177
|
-
{
|
1178
|
-
"kind": "method",
|
1179
|
-
"name": "callServiceAPI",
|
1180
|
-
"parameters": [
|
1181
|
-
{
|
1182
|
-
"name": "messages",
|
1183
|
-
"type": {
|
1184
|
-
"text": "Messages"
|
1185
|
-
}
|
1186
|
-
},
|
1187
|
-
{
|
1188
|
-
"name": "pMessages",
|
1189
|
-
"type": {
|
1190
|
-
"text": "MessageContentI[]"
|
1191
|
-
}
|
1192
|
-
}
|
1193
|
-
],
|
1194
|
-
"inheritedFrom": {
|
1195
|
-
"name": "BaseServiceIO",
|
1196
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1197
|
-
}
|
1198
|
-
},
|
1199
|
-
{
|
1200
|
-
"kind": "method",
|
1201
|
-
"name": "unloadChat",
|
1202
|
-
"privacy": "private",
|
1203
|
-
"parameters": [
|
1204
|
-
{
|
1205
|
-
"name": "err",
|
1206
|
-
"type": {
|
1207
|
-
"text": "string"
|
1208
|
-
}
|
1209
|
-
}
|
1210
|
-
]
|
1211
|
-
},
|
1212
|
-
{
|
1213
|
-
"kind": "method",
|
1214
|
-
"name": "isWebModel",
|
1215
|
-
"privacy": "public",
|
1216
|
-
"inheritedFrom": {
|
1217
|
-
"name": "BaseServiceIO",
|
1218
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1219
|
-
}
|
1220
|
-
},
|
1221
|
-
{
|
1222
|
-
"kind": "field",
|
1223
|
-
"name": "canSendMessage",
|
1224
|
-
"privacy": "private",
|
1225
|
-
"static": true,
|
1226
|
-
"parameters": [
|
1227
|
-
{
|
1228
|
-
"name": "text",
|
1229
|
-
"optional": true,
|
1230
|
-
"type": {
|
1231
|
-
"text": "string"
|
1232
|
-
}
|
1233
|
-
},
|
1234
|
-
{
|
1235
|
-
"name": "files",
|
1236
|
-
"optional": true,
|
1237
|
-
"type": {
|
1238
|
-
"text": "File[]"
|
1239
|
-
}
|
1240
|
-
},
|
1241
|
-
{
|
1242
|
-
"name": "isProgrammatic",
|
1243
|
-
"optional": true,
|
1244
|
-
"type": {
|
1245
|
-
"text": "boolean"
|
1246
|
-
}
|
1247
|
-
}
|
1248
|
-
],
|
1249
|
-
"type": {
|
1250
|
-
"text": "ValidateInput"
|
1251
|
-
},
|
1252
|
-
"inheritedFrom": {
|
1253
|
-
"name": "BaseServiceIO",
|
1254
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1255
|
-
}
|
1256
|
-
},
|
1257
|
-
{
|
1258
|
-
"kind": "field",
|
1259
|
-
"name": "rawBody",
|
1260
|
-
"type": {
|
1261
|
-
"text": "any"
|
1262
|
-
},
|
1263
|
-
"default": "{}",
|
1264
|
-
"inheritedFrom": {
|
1265
|
-
"name": "BaseServiceIO",
|
1266
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1267
|
-
}
|
1268
|
-
},
|
1269
|
-
{
|
1270
|
-
"kind": "field",
|
1271
|
-
"name": "deepChat",
|
1272
|
-
"type": {
|
1273
|
-
"text": "DeepChat"
|
1274
|
-
},
|
1275
|
-
"default": "deepChat",
|
1276
|
-
"inheritedFrom": {
|
1277
|
-
"name": "BaseServiceIO",
|
1278
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1279
|
-
}
|
1280
|
-
},
|
1281
|
-
{
|
1282
|
-
"kind": "field",
|
1283
|
-
"name": "validateConfigKey",
|
1284
|
-
"type": {
|
1285
|
-
"text": "boolean"
|
1286
|
-
},
|
1287
|
-
"default": "false",
|
1288
|
-
"inheritedFrom": {
|
1289
|
-
"name": "BaseServiceIO",
|
1290
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1291
|
-
}
|
1292
|
-
},
|
1293
|
-
{
|
1294
|
-
"kind": "field",
|
1295
|
-
"name": "requestSettings",
|
1296
|
-
"type": {
|
1297
|
-
"text": "Request"
|
1298
|
-
},
|
1299
|
-
"default": "{}",
|
1300
|
-
"inheritedFrom": {
|
1301
|
-
"name": "BaseServiceIO",
|
1302
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1303
|
-
}
|
1304
|
-
},
|
1305
|
-
{
|
1306
|
-
"kind": "field",
|
1307
|
-
"name": "fileTypes",
|
1308
|
-
"type": {
|
1309
|
-
"text": "ServiceFileTypes"
|
1310
|
-
},
|
1311
|
-
"default": "{}",
|
1312
|
-
"inheritedFrom": {
|
1313
|
-
"name": "BaseServiceIO",
|
1314
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1315
|
-
}
|
1316
|
-
},
|
1317
|
-
{
|
1318
|
-
"kind": "field",
|
1319
|
-
"name": "camera",
|
1320
|
-
"type": {
|
1321
|
-
"text": "CameraFilesServiceConfig | undefined"
|
1322
|
-
},
|
1323
|
-
"inheritedFrom": {
|
1324
|
-
"name": "BaseServiceIO",
|
1325
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1326
|
-
}
|
1327
|
-
},
|
1328
|
-
{
|
1329
|
-
"kind": "field",
|
1330
|
-
"name": "recordAudio",
|
1331
|
-
"type": {
|
1332
|
-
"text": "MicrophoneFilesServiceConfig | undefined"
|
1333
|
-
},
|
1334
|
-
"inheritedFrom": {
|
1335
|
-
"name": "BaseServiceIO",
|
1336
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1337
|
-
}
|
1338
|
-
},
|
1339
|
-
{
|
1340
|
-
"kind": "field",
|
1341
|
-
"name": "totalMessagesMaxCharLength",
|
1342
|
-
"type": {
|
1343
|
-
"text": "number | undefined"
|
1344
|
-
},
|
1345
|
-
"inheritedFrom": {
|
1346
|
-
"name": "BaseServiceIO",
|
1347
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1348
|
-
}
|
1349
|
-
},
|
1350
|
-
{
|
1351
|
-
"kind": "field",
|
1352
|
-
"name": "maxMessages",
|
1353
|
-
"type": {
|
1354
|
-
"text": "number | undefined"
|
1355
|
-
},
|
1356
|
-
"inheritedFrom": {
|
1357
|
-
"name": "BaseServiceIO",
|
1358
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1359
|
-
}
|
1360
|
-
},
|
1361
|
-
{
|
1362
|
-
"kind": "field",
|
1363
|
-
"name": "addMessage",
|
1364
|
-
"type": {
|
1365
|
-
"text": "(data: ResponseI) => void | undefined"
|
1366
|
-
},
|
1367
|
-
"inheritedFrom": {
|
1368
|
-
"name": "BaseServiceIO",
|
1369
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1370
|
-
}
|
1371
|
-
},
|
1372
|
-
{
|
1373
|
-
"kind": "field",
|
1374
|
-
"name": "demo",
|
1375
|
-
"type": {
|
1376
|
-
"text": "DemoT | undefined"
|
1377
|
-
},
|
1378
|
-
"default": "demo",
|
1379
|
-
"inheritedFrom": {
|
1380
|
-
"name": "BaseServiceIO",
|
1381
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1382
|
-
}
|
1383
|
-
},
|
1384
|
-
{
|
1385
|
-
"kind": "field",
|
1386
|
-
"name": "completionsHandlers",
|
1387
|
-
"type": {
|
1388
|
-
"text": "CompletionsHandlers"
|
1389
|
-
},
|
1390
|
-
"default": "{}",
|
1391
|
-
"inheritedFrom": {
|
1392
|
-
"name": "BaseServiceIO",
|
1393
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1394
|
-
}
|
1395
|
-
},
|
1396
|
-
{
|
1397
|
-
"kind": "field",
|
1398
|
-
"name": "streamHandlers",
|
1399
|
-
"type": {
|
1400
|
-
"text": "StreamHandlers"
|
1401
|
-
},
|
1402
|
-
"default": "{}",
|
1403
|
-
"inheritedFrom": {
|
1404
|
-
"name": "BaseServiceIO",
|
1405
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1406
|
-
}
|
1407
|
-
},
|
1408
|
-
{
|
1409
|
-
"kind": "method",
|
1410
|
-
"name": "verifyKey",
|
1411
|
-
"parameters": [
|
1412
|
-
{
|
1413
|
-
"name": "_key",
|
1414
|
-
"type": {
|
1415
|
-
"text": "string"
|
1416
|
-
}
|
1417
|
-
},
|
1418
|
-
{
|
1419
|
-
"name": "_keyVerificationHandlers",
|
1420
|
-
"type": {
|
1421
|
-
"text": "KeyVerificationHandlers"
|
1422
|
-
}
|
1423
|
-
}
|
1424
|
-
],
|
1425
|
-
"inheritedFrom": {
|
1426
|
-
"name": "BaseServiceIO",
|
1427
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1428
|
-
}
|
1429
|
-
},
|
1430
|
-
{
|
1431
|
-
"kind": "method",
|
1432
|
-
"name": "createCustomFormDataBody",
|
1433
|
-
"privacy": "private",
|
1434
|
-
"static": true,
|
1435
|
-
"parameters": [
|
1436
|
-
{
|
1437
|
-
"name": "body",
|
1438
|
-
"type": {
|
1439
|
-
"text": "any"
|
1440
|
-
}
|
1441
|
-
},
|
1442
|
-
{
|
1443
|
-
"name": "messages",
|
1444
|
-
"type": {
|
1445
|
-
"text": "MessageContentI[]"
|
1446
|
-
}
|
1447
|
-
},
|
1448
|
-
{
|
1449
|
-
"name": "files",
|
1450
|
-
"type": {
|
1451
|
-
"text": "File[]"
|
1452
|
-
}
|
1453
|
-
}
|
1454
|
-
],
|
1455
|
-
"inheritedFrom": {
|
1456
|
-
"name": "BaseServiceIO",
|
1457
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1458
|
-
}
|
1459
|
-
},
|
1460
|
-
{
|
1461
|
-
"kind": "method",
|
1462
|
-
"name": "getServiceIOByType",
|
1463
|
-
"privacy": "private",
|
1464
|
-
"parameters": [
|
1465
|
-
{
|
1466
|
-
"name": "file",
|
1467
|
-
"type": {
|
1468
|
-
"text": "File"
|
1469
|
-
}
|
1470
|
-
}
|
1471
|
-
],
|
1472
|
-
"inheritedFrom": {
|
1473
|
-
"name": "BaseServiceIO",
|
1474
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1475
|
-
}
|
1476
|
-
},
|
1477
|
-
{
|
1478
|
-
"kind": "method",
|
1479
|
-
"name": "request",
|
1480
|
-
"privacy": "private",
|
1481
|
-
"parameters": [
|
1482
|
-
{
|
1483
|
-
"name": "body",
|
1484
|
-
"type": {
|
1485
|
-
"text": "any"
|
1486
|
-
}
|
1487
|
-
},
|
1488
|
-
{
|
1489
|
-
"name": "messages",
|
1490
|
-
"type": {
|
1491
|
-
"text": "Messages"
|
1492
|
-
}
|
1493
|
-
},
|
1494
|
-
{
|
1495
|
-
"name": "stringifyBody",
|
1496
|
-
"default": "true"
|
1497
|
-
}
|
1498
|
-
],
|
1499
|
-
"inheritedFrom": {
|
1500
|
-
"name": "BaseServiceIO",
|
1501
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1502
|
-
}
|
1503
|
-
},
|
1504
|
-
{
|
1505
|
-
"kind": "method",
|
1506
|
-
"name": "callAPIWithText",
|
1507
|
-
"privacy": "private",
|
1508
|
-
"parameters": [
|
1509
|
-
{
|
1510
|
-
"name": "messages",
|
1511
|
-
"type": {
|
1512
|
-
"text": "Messages"
|
1513
|
-
}
|
1514
|
-
},
|
1515
|
-
{
|
1516
|
-
"name": "pMessages",
|
1517
|
-
"type": {
|
1518
|
-
"text": "MessageContentI[]"
|
1519
|
-
}
|
1520
|
-
}
|
1521
|
-
],
|
1522
|
-
"inheritedFrom": {
|
1523
|
-
"name": "BaseServiceIO",
|
1524
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1525
|
-
}
|
1526
|
-
},
|
1527
|
-
{
|
1528
|
-
"kind": "method",
|
1529
|
-
"name": "callApiWithFiles",
|
1530
|
-
"privacy": "private",
|
1531
|
-
"parameters": [
|
1532
|
-
{
|
1533
|
-
"name": "messages",
|
1534
|
-
"type": {
|
1535
|
-
"text": "Messages"
|
1536
|
-
}
|
1537
|
-
},
|
1538
|
-
{
|
1539
|
-
"name": "pMessages",
|
1540
|
-
"type": {
|
1541
|
-
"text": "MessageContentI[]"
|
1542
|
-
}
|
1543
|
-
},
|
1544
|
-
{
|
1545
|
-
"name": "files",
|
1546
|
-
"type": {
|
1547
|
-
"text": "File[]"
|
1548
|
-
}
|
1549
|
-
}
|
1550
|
-
],
|
1551
|
-
"inheritedFrom": {
|
1552
|
-
"name": "BaseServiceIO",
|
1553
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1554
|
-
}
|
1555
|
-
},
|
1556
|
-
{
|
1557
|
-
"kind": "method",
|
1558
|
-
"name": "callAPI",
|
1559
|
-
"parameters": [
|
1560
|
-
{
|
1561
|
-
"name": "requestContents",
|
1562
|
-
"type": {
|
1563
|
-
"text": "RequestContents"
|
1564
|
-
}
|
1565
|
-
},
|
1566
|
-
{
|
1567
|
-
"name": "messages",
|
1568
|
-
"type": {
|
1569
|
-
"text": "Messages"
|
1570
|
-
}
|
1571
|
-
}
|
1572
|
-
],
|
1573
|
-
"inheritedFrom": {
|
1574
|
-
"name": "BaseServiceIO",
|
1575
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1576
|
-
}
|
1577
|
-
},
|
1578
|
-
{
|
1579
|
-
"kind": "method",
|
1580
|
-
"name": "extractResultData",
|
1581
|
-
"return": {
|
1582
|
-
"type": {
|
1583
|
-
"text": "Promise<Response | {makingAnotherRequest: true}>"
|
1584
|
-
}
|
1585
|
-
},
|
1586
|
-
"parameters": [
|
1587
|
-
{
|
1588
|
-
"name": "result",
|
1589
|
-
"type": {
|
1590
|
-
"text": "any | Response"
|
1591
|
-
}
|
1592
|
-
}
|
1593
|
-
],
|
1594
|
-
"inheritedFrom": {
|
1595
|
-
"name": "BaseServiceIO",
|
1596
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1597
|
-
}
|
1598
|
-
},
|
1599
|
-
{
|
1600
|
-
"kind": "method",
|
1601
|
-
"name": "isDirectConnection",
|
1602
|
-
"privacy": "public",
|
1603
|
-
"inheritedFrom": {
|
1604
|
-
"name": "BaseServiceIO",
|
1605
|
-
"module": "src/services/utils/baseServiceIO.ts"
|
1606
|
-
}
|
1607
|
-
}
|
1608
|
-
],
|
1609
|
-
"superclass": {
|
1610
|
-
"name": "BaseServiceIO",
|
1611
|
-
"module": "/src/services/utils/baseServiceIO"
|
1612
|
-
}
|
1613
|
-
}
|
1614
|
-
],
|
1615
|
-
"exports": [
|
1616
|
-
{
|
1617
|
-
"kind": "js",
|
1618
|
-
"name": "WebModel",
|
1619
|
-
"declaration": {
|
1620
|
-
"name": "WebModel",
|
1621
|
-
"module": "src/webModel/webModel.ts"
|
1622
|
-
}
|
1623
|
-
}
|
1624
|
-
]
|
1625
|
-
},
|
1626
|
-
{
|
1627
|
-
"kind": "javascript-module",
|
1628
|
-
"path": "src/webModel/webModelConfig.ts",
|
1629
|
-
"declarations": [],
|
1630
|
-
"exports": [
|
1631
|
-
{
|
1632
|
-
"kind": "js",
|
1633
|
-
"name": "default",
|
1634
|
-
"declaration": {
|
1635
|
-
"module": "src/webModel/webModelConfig.ts"
|
1636
|
-
}
|
1637
|
-
}
|
1638
|
-
]
|
1639
|
-
},
|
1640
|
-
{
|
1641
|
-
"kind": "javascript-module",
|
1642
|
-
"path": "src/webModel/worker-2.ts",
|
1643
|
-
"declarations": [],
|
1644
|
-
"exports": []
|
1645
|
-
},
|
1646
909
|
{
|
1647
910
|
"kind": "javascript-module",
|
1648
911
|
"path": "src/types/APIKey.ts",
|
@@ -1951,13 +1214,772 @@
|
|
1951
1214
|
},
|
1952
1215
|
{
|
1953
1216
|
"kind": "javascript-module",
|
1954
|
-
"path": "src/types/validateInput.ts",
|
1217
|
+
"path": "src/types/validateInput.ts",
|
1218
|
+
"declarations": [],
|
1219
|
+
"exports": []
|
1220
|
+
},
|
1221
|
+
{
|
1222
|
+
"kind": "javascript-module",
|
1223
|
+
"path": "src/types/validationHandler.ts",
|
1224
|
+
"declarations": [],
|
1225
|
+
"exports": []
|
1226
|
+
},
|
1227
|
+
{
|
1228
|
+
"kind": "javascript-module",
|
1229
|
+
"path": "src/webModel/webModel.ts",
|
1230
|
+
"declarations": [
|
1231
|
+
{
|
1232
|
+
"kind": "class",
|
1233
|
+
"description": "",
|
1234
|
+
"name": "WebModel",
|
1235
|
+
"members": [
|
1236
|
+
{
|
1237
|
+
"kind": "field",
|
1238
|
+
"name": "chat",
|
1239
|
+
"type": {
|
1240
|
+
"text": "WebLLM.ChatInterface | undefined"
|
1241
|
+
},
|
1242
|
+
"privacy": "private",
|
1243
|
+
"static": true
|
1244
|
+
},
|
1245
|
+
{
|
1246
|
+
"kind": "field",
|
1247
|
+
"name": "DOWNLOAD_BUTTON_CLASS",
|
1248
|
+
"type": {
|
1249
|
+
"text": "string"
|
1250
|
+
},
|
1251
|
+
"privacy": "private",
|
1252
|
+
"static": true,
|
1253
|
+
"default": "'deep-chat-download-button'"
|
1254
|
+
},
|
1255
|
+
{
|
1256
|
+
"kind": "field",
|
1257
|
+
"name": "GENERIC_ERROR",
|
1258
|
+
"privacy": "private",
|
1259
|
+
"static": true
|
1260
|
+
},
|
1261
|
+
{
|
1262
|
+
"kind": "field",
|
1263
|
+
"name": "MULTIPLE_MODELS_ERROR",
|
1264
|
+
"type": {
|
1265
|
+
"text": "string"
|
1266
|
+
},
|
1267
|
+
"privacy": "private",
|
1268
|
+
"static": true,
|
1269
|
+
"default": "'Cannot run multiple web models'"
|
1270
|
+
},
|
1271
|
+
{
|
1272
|
+
"kind": "field",
|
1273
|
+
"name": "WEB_LLM_NOT_FOUND_ERROR",
|
1274
|
+
"type": {
|
1275
|
+
"text": "string"
|
1276
|
+
},
|
1277
|
+
"privacy": "private",
|
1278
|
+
"static": true,
|
1279
|
+
"default": "'WebLLM module not found'"
|
1280
|
+
},
|
1281
|
+
{
|
1282
|
+
"kind": "field",
|
1283
|
+
"name": "DEFAULT_MODEL",
|
1284
|
+
"type": {
|
1285
|
+
"text": "string"
|
1286
|
+
},
|
1287
|
+
"privacy": "private",
|
1288
|
+
"static": true,
|
1289
|
+
"default": "'Llama-2-7b-chat-hf-q4f32_1'"
|
1290
|
+
},
|
1291
|
+
{
|
1292
|
+
"kind": "field",
|
1293
|
+
"name": "_isModelLoaded",
|
1294
|
+
"type": {
|
1295
|
+
"text": "boolean"
|
1296
|
+
},
|
1297
|
+
"privacy": "private",
|
1298
|
+
"default": "false"
|
1299
|
+
},
|
1300
|
+
{
|
1301
|
+
"kind": "field",
|
1302
|
+
"name": "_isModelLoading",
|
1303
|
+
"type": {
|
1304
|
+
"text": "boolean"
|
1305
|
+
},
|
1306
|
+
"privacy": "private",
|
1307
|
+
"default": "false"
|
1308
|
+
},
|
1309
|
+
{
|
1310
|
+
"kind": "field",
|
1311
|
+
"name": "_loadOnFirstMessage",
|
1312
|
+
"type": {
|
1313
|
+
"text": "boolean"
|
1314
|
+
},
|
1315
|
+
"privacy": "private",
|
1316
|
+
"default": "false"
|
1317
|
+
},
|
1318
|
+
{
|
1319
|
+
"kind": "field",
|
1320
|
+
"name": "_downloadButton",
|
1321
|
+
"type": {
|
1322
|
+
"text": "HTMLButtonElement | undefined"
|
1323
|
+
},
|
1324
|
+
"privacy": "private"
|
1325
|
+
},
|
1326
|
+
{
|
1327
|
+
"kind": "field",
|
1328
|
+
"name": "permittedErrorPrefixes",
|
1329
|
+
"type": {
|
1330
|
+
"text": "array"
|
1331
|
+
},
|
1332
|
+
"default": "[WebModel.MULTIPLE_MODELS_ERROR, WebModel.WEB_LLM_NOT_FOUND_ERROR, WebModel.GENERIC_ERROR]"
|
1333
|
+
},
|
1334
|
+
{
|
1335
|
+
"kind": "field",
|
1336
|
+
"name": "webModel",
|
1337
|
+
"type": {
|
1338
|
+
"text": "WebModelConfig"
|
1339
|
+
},
|
1340
|
+
"privacy": "private",
|
1341
|
+
"default": "{}"
|
1342
|
+
},
|
1343
|
+
{
|
1344
|
+
"kind": "method",
|
1345
|
+
"name": "findModelInWindow",
|
1346
|
+
"privacy": "private",
|
1347
|
+
"parameters": [
|
1348
|
+
{
|
1349
|
+
"name": "deepChat",
|
1350
|
+
"type": {
|
1351
|
+
"text": "DeepChat"
|
1352
|
+
}
|
1353
|
+
},
|
1354
|
+
{
|
1355
|
+
"name": "seconds",
|
1356
|
+
"default": "0"
|
1357
|
+
}
|
1358
|
+
]
|
1359
|
+
},
|
1360
|
+
{
|
1361
|
+
"kind": "method",
|
1362
|
+
"name": "shouldAddInitialMessage",
|
1363
|
+
"privacy": "private",
|
1364
|
+
"parameters": [
|
1365
|
+
{
|
1366
|
+
"name": "userIntroMessage",
|
1367
|
+
"optional": true,
|
1368
|
+
"type": {
|
1369
|
+
"text": "IntroMessage"
|
1370
|
+
}
|
1371
|
+
}
|
1372
|
+
]
|
1373
|
+
},
|
1374
|
+
{
|
1375
|
+
"kind": "method",
|
1376
|
+
"name": "getIntroMessage",
|
1377
|
+
"privacy": "public",
|
1378
|
+
"parameters": [
|
1379
|
+
{
|
1380
|
+
"name": "{shadowRoot, introMessage: userIntroMessage}",
|
1381
|
+
"type": {
|
1382
|
+
"text": "DeepChat"
|
1383
|
+
}
|
1384
|
+
}
|
1385
|
+
]
|
1386
|
+
},
|
1387
|
+
{
|
1388
|
+
"kind": "method",
|
1389
|
+
"name": "configureInit",
|
1390
|
+
"privacy": "private",
|
1391
|
+
"parameters": [
|
1392
|
+
{
|
1393
|
+
"name": "wasIntroSet",
|
1394
|
+
"type": {
|
1395
|
+
"text": "boolean"
|
1396
|
+
}
|
1397
|
+
}
|
1398
|
+
]
|
1399
|
+
},
|
1400
|
+
{
|
1401
|
+
"kind": "method",
|
1402
|
+
"name": "init",
|
1403
|
+
"privacy": "private"
|
1404
|
+
},
|
1405
|
+
{
|
1406
|
+
"kind": "method",
|
1407
|
+
"name": "attemptToCreateChat",
|
1408
|
+
"privacy": "private"
|
1409
|
+
},
|
1410
|
+
{
|
1411
|
+
"kind": "method",
|
1412
|
+
"name": "getConfig",
|
1413
|
+
"privacy": "private"
|
1414
|
+
},
|
1415
|
+
{
|
1416
|
+
"kind": "method",
|
1417
|
+
"name": "loadModel",
|
1418
|
+
"privacy": "private",
|
1419
|
+
"parameters": [
|
1420
|
+
{
|
1421
|
+
"name": "chat",
|
1422
|
+
"type": {
|
1423
|
+
"text": "WebLLM.ChatInterface"
|
1424
|
+
}
|
1425
|
+
}
|
1426
|
+
]
|
1427
|
+
},
|
1428
|
+
{
|
1429
|
+
"kind": "method",
|
1430
|
+
"name": "generateResp",
|
1431
|
+
"privacy": "private",
|
1432
|
+
"parameters": [
|
1433
|
+
{
|
1434
|
+
"name": "messages",
|
1435
|
+
"type": {
|
1436
|
+
"text": "Messages"
|
1437
|
+
}
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
"name": "pMessages",
|
1441
|
+
"type": {
|
1442
|
+
"text": "MessageContentI[]"
|
1443
|
+
}
|
1444
|
+
},
|
1445
|
+
{
|
1446
|
+
"name": "chat",
|
1447
|
+
"type": {
|
1448
|
+
"text": "WebLLM.ChatInterface"
|
1449
|
+
}
|
1450
|
+
}
|
1451
|
+
]
|
1452
|
+
},
|
1453
|
+
{
|
1454
|
+
"kind": "method",
|
1455
|
+
"name": "immediateResp",
|
1456
|
+
"privacy": "private",
|
1457
|
+
"parameters": [
|
1458
|
+
{
|
1459
|
+
"name": "messages",
|
1460
|
+
"type": {
|
1461
|
+
"text": "Messages"
|
1462
|
+
}
|
1463
|
+
},
|
1464
|
+
{
|
1465
|
+
"name": "text",
|
1466
|
+
"type": {
|
1467
|
+
"text": "string"
|
1468
|
+
}
|
1469
|
+
},
|
1470
|
+
{
|
1471
|
+
"name": "chat",
|
1472
|
+
"type": {
|
1473
|
+
"text": "WebLLM.ChatInterface"
|
1474
|
+
}
|
1475
|
+
}
|
1476
|
+
]
|
1477
|
+
},
|
1478
|
+
{
|
1479
|
+
"kind": "method",
|
1480
|
+
"name": "streamResp",
|
1481
|
+
"privacy": "private",
|
1482
|
+
"parameters": [
|
1483
|
+
{
|
1484
|
+
"name": "messages",
|
1485
|
+
"type": {
|
1486
|
+
"text": "Messages"
|
1487
|
+
}
|
1488
|
+
},
|
1489
|
+
{
|
1490
|
+
"name": "text",
|
1491
|
+
"type": {
|
1492
|
+
"text": "string"
|
1493
|
+
}
|
1494
|
+
},
|
1495
|
+
{
|
1496
|
+
"name": "chat",
|
1497
|
+
"type": {
|
1498
|
+
"text": "WebLLM.ChatInterface"
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
]
|
1502
|
+
},
|
1503
|
+
{
|
1504
|
+
"kind": "method",
|
1505
|
+
"name": "canSubmit",
|
1506
|
+
"privacy": "private",
|
1507
|
+
"parameters": [
|
1508
|
+
{
|
1509
|
+
"name": "text",
|
1510
|
+
"optional": true,
|
1511
|
+
"type": {
|
1512
|
+
"text": "string"
|
1513
|
+
}
|
1514
|
+
}
|
1515
|
+
]
|
1516
|
+
},
|
1517
|
+
{
|
1518
|
+
"kind": "method",
|
1519
|
+
"name": "callServiceAPI",
|
1520
|
+
"parameters": [
|
1521
|
+
{
|
1522
|
+
"name": "messages",
|
1523
|
+
"type": {
|
1524
|
+
"text": "Messages"
|
1525
|
+
}
|
1526
|
+
},
|
1527
|
+
{
|
1528
|
+
"name": "pMessages",
|
1529
|
+
"type": {
|
1530
|
+
"text": "MessageContentI[]"
|
1531
|
+
}
|
1532
|
+
}
|
1533
|
+
],
|
1534
|
+
"inheritedFrom": {
|
1535
|
+
"name": "BaseServiceIO",
|
1536
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1537
|
+
}
|
1538
|
+
},
|
1539
|
+
{
|
1540
|
+
"kind": "method",
|
1541
|
+
"name": "unloadChat",
|
1542
|
+
"privacy": "private",
|
1543
|
+
"parameters": [
|
1544
|
+
{
|
1545
|
+
"name": "err",
|
1546
|
+
"type": {
|
1547
|
+
"text": "string"
|
1548
|
+
}
|
1549
|
+
}
|
1550
|
+
]
|
1551
|
+
},
|
1552
|
+
{
|
1553
|
+
"kind": "method",
|
1554
|
+
"name": "isWebModel",
|
1555
|
+
"privacy": "public",
|
1556
|
+
"inheritedFrom": {
|
1557
|
+
"name": "BaseServiceIO",
|
1558
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1559
|
+
}
|
1560
|
+
},
|
1561
|
+
{
|
1562
|
+
"kind": "field",
|
1563
|
+
"name": "canSendMessage",
|
1564
|
+
"privacy": "private",
|
1565
|
+
"static": true,
|
1566
|
+
"parameters": [
|
1567
|
+
{
|
1568
|
+
"name": "text",
|
1569
|
+
"optional": true,
|
1570
|
+
"type": {
|
1571
|
+
"text": "string"
|
1572
|
+
}
|
1573
|
+
},
|
1574
|
+
{
|
1575
|
+
"name": "files",
|
1576
|
+
"optional": true,
|
1577
|
+
"type": {
|
1578
|
+
"text": "File[]"
|
1579
|
+
}
|
1580
|
+
},
|
1581
|
+
{
|
1582
|
+
"name": "isProgrammatic",
|
1583
|
+
"optional": true,
|
1584
|
+
"type": {
|
1585
|
+
"text": "boolean"
|
1586
|
+
}
|
1587
|
+
}
|
1588
|
+
],
|
1589
|
+
"type": {
|
1590
|
+
"text": "ValidateInput"
|
1591
|
+
},
|
1592
|
+
"inheritedFrom": {
|
1593
|
+
"name": "BaseServiceIO",
|
1594
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1595
|
+
}
|
1596
|
+
},
|
1597
|
+
{
|
1598
|
+
"kind": "field",
|
1599
|
+
"name": "rawBody",
|
1600
|
+
"type": {
|
1601
|
+
"text": "any"
|
1602
|
+
},
|
1603
|
+
"default": "{}",
|
1604
|
+
"inheritedFrom": {
|
1605
|
+
"name": "BaseServiceIO",
|
1606
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1607
|
+
}
|
1608
|
+
},
|
1609
|
+
{
|
1610
|
+
"kind": "field",
|
1611
|
+
"name": "deepChat",
|
1612
|
+
"type": {
|
1613
|
+
"text": "DeepChat"
|
1614
|
+
},
|
1615
|
+
"default": "deepChat",
|
1616
|
+
"inheritedFrom": {
|
1617
|
+
"name": "BaseServiceIO",
|
1618
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1619
|
+
}
|
1620
|
+
},
|
1621
|
+
{
|
1622
|
+
"kind": "field",
|
1623
|
+
"name": "validateConfigKey",
|
1624
|
+
"type": {
|
1625
|
+
"text": "boolean"
|
1626
|
+
},
|
1627
|
+
"default": "false",
|
1628
|
+
"inheritedFrom": {
|
1629
|
+
"name": "BaseServiceIO",
|
1630
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1631
|
+
}
|
1632
|
+
},
|
1633
|
+
{
|
1634
|
+
"kind": "field",
|
1635
|
+
"name": "requestSettings",
|
1636
|
+
"type": {
|
1637
|
+
"text": "Request"
|
1638
|
+
},
|
1639
|
+
"default": "{}",
|
1640
|
+
"inheritedFrom": {
|
1641
|
+
"name": "BaseServiceIO",
|
1642
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1643
|
+
}
|
1644
|
+
},
|
1645
|
+
{
|
1646
|
+
"kind": "field",
|
1647
|
+
"name": "fileTypes",
|
1648
|
+
"type": {
|
1649
|
+
"text": "ServiceFileTypes"
|
1650
|
+
},
|
1651
|
+
"default": "{}",
|
1652
|
+
"inheritedFrom": {
|
1653
|
+
"name": "BaseServiceIO",
|
1654
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1655
|
+
}
|
1656
|
+
},
|
1657
|
+
{
|
1658
|
+
"kind": "field",
|
1659
|
+
"name": "camera",
|
1660
|
+
"type": {
|
1661
|
+
"text": "CameraFilesServiceConfig | undefined"
|
1662
|
+
},
|
1663
|
+
"inheritedFrom": {
|
1664
|
+
"name": "BaseServiceIO",
|
1665
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1666
|
+
}
|
1667
|
+
},
|
1668
|
+
{
|
1669
|
+
"kind": "field",
|
1670
|
+
"name": "recordAudio",
|
1671
|
+
"type": {
|
1672
|
+
"text": "MicrophoneFilesServiceConfig | undefined"
|
1673
|
+
},
|
1674
|
+
"inheritedFrom": {
|
1675
|
+
"name": "BaseServiceIO",
|
1676
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1677
|
+
}
|
1678
|
+
},
|
1679
|
+
{
|
1680
|
+
"kind": "field",
|
1681
|
+
"name": "totalMessagesMaxCharLength",
|
1682
|
+
"type": {
|
1683
|
+
"text": "number | undefined"
|
1684
|
+
},
|
1685
|
+
"inheritedFrom": {
|
1686
|
+
"name": "BaseServiceIO",
|
1687
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1688
|
+
}
|
1689
|
+
},
|
1690
|
+
{
|
1691
|
+
"kind": "field",
|
1692
|
+
"name": "maxMessages",
|
1693
|
+
"type": {
|
1694
|
+
"text": "number | undefined"
|
1695
|
+
},
|
1696
|
+
"inheritedFrom": {
|
1697
|
+
"name": "BaseServiceIO",
|
1698
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1699
|
+
}
|
1700
|
+
},
|
1701
|
+
{
|
1702
|
+
"kind": "field",
|
1703
|
+
"name": "addMessage",
|
1704
|
+
"type": {
|
1705
|
+
"text": "(data: ResponseI) => void | undefined"
|
1706
|
+
},
|
1707
|
+
"inheritedFrom": {
|
1708
|
+
"name": "BaseServiceIO",
|
1709
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1710
|
+
}
|
1711
|
+
},
|
1712
|
+
{
|
1713
|
+
"kind": "field",
|
1714
|
+
"name": "demo",
|
1715
|
+
"type": {
|
1716
|
+
"text": "DemoT | undefined"
|
1717
|
+
},
|
1718
|
+
"default": "demo",
|
1719
|
+
"inheritedFrom": {
|
1720
|
+
"name": "BaseServiceIO",
|
1721
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1722
|
+
}
|
1723
|
+
},
|
1724
|
+
{
|
1725
|
+
"kind": "field",
|
1726
|
+
"name": "completionsHandlers",
|
1727
|
+
"type": {
|
1728
|
+
"text": "CompletionsHandlers"
|
1729
|
+
},
|
1730
|
+
"default": "{}",
|
1731
|
+
"inheritedFrom": {
|
1732
|
+
"name": "BaseServiceIO",
|
1733
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1734
|
+
}
|
1735
|
+
},
|
1736
|
+
{
|
1737
|
+
"kind": "field",
|
1738
|
+
"name": "streamHandlers",
|
1739
|
+
"type": {
|
1740
|
+
"text": "StreamHandlers"
|
1741
|
+
},
|
1742
|
+
"default": "{}",
|
1743
|
+
"inheritedFrom": {
|
1744
|
+
"name": "BaseServiceIO",
|
1745
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1746
|
+
}
|
1747
|
+
},
|
1748
|
+
{
|
1749
|
+
"kind": "method",
|
1750
|
+
"name": "verifyKey",
|
1751
|
+
"parameters": [
|
1752
|
+
{
|
1753
|
+
"name": "_key",
|
1754
|
+
"type": {
|
1755
|
+
"text": "string"
|
1756
|
+
}
|
1757
|
+
},
|
1758
|
+
{
|
1759
|
+
"name": "_keyVerificationHandlers",
|
1760
|
+
"type": {
|
1761
|
+
"text": "KeyVerificationHandlers"
|
1762
|
+
}
|
1763
|
+
}
|
1764
|
+
],
|
1765
|
+
"inheritedFrom": {
|
1766
|
+
"name": "BaseServiceIO",
|
1767
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1768
|
+
}
|
1769
|
+
},
|
1770
|
+
{
|
1771
|
+
"kind": "method",
|
1772
|
+
"name": "createCustomFormDataBody",
|
1773
|
+
"privacy": "private",
|
1774
|
+
"static": true,
|
1775
|
+
"parameters": [
|
1776
|
+
{
|
1777
|
+
"name": "body",
|
1778
|
+
"type": {
|
1779
|
+
"text": "any"
|
1780
|
+
}
|
1781
|
+
},
|
1782
|
+
{
|
1783
|
+
"name": "messages",
|
1784
|
+
"type": {
|
1785
|
+
"text": "MessageContentI[]"
|
1786
|
+
}
|
1787
|
+
},
|
1788
|
+
{
|
1789
|
+
"name": "files",
|
1790
|
+
"type": {
|
1791
|
+
"text": "File[]"
|
1792
|
+
}
|
1793
|
+
}
|
1794
|
+
],
|
1795
|
+
"inheritedFrom": {
|
1796
|
+
"name": "BaseServiceIO",
|
1797
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1798
|
+
}
|
1799
|
+
},
|
1800
|
+
{
|
1801
|
+
"kind": "method",
|
1802
|
+
"name": "getServiceIOByType",
|
1803
|
+
"privacy": "private",
|
1804
|
+
"parameters": [
|
1805
|
+
{
|
1806
|
+
"name": "file",
|
1807
|
+
"type": {
|
1808
|
+
"text": "File"
|
1809
|
+
}
|
1810
|
+
}
|
1811
|
+
],
|
1812
|
+
"inheritedFrom": {
|
1813
|
+
"name": "BaseServiceIO",
|
1814
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1815
|
+
}
|
1816
|
+
},
|
1817
|
+
{
|
1818
|
+
"kind": "method",
|
1819
|
+
"name": "request",
|
1820
|
+
"privacy": "private",
|
1821
|
+
"parameters": [
|
1822
|
+
{
|
1823
|
+
"name": "body",
|
1824
|
+
"type": {
|
1825
|
+
"text": "any"
|
1826
|
+
}
|
1827
|
+
},
|
1828
|
+
{
|
1829
|
+
"name": "messages",
|
1830
|
+
"type": {
|
1831
|
+
"text": "Messages"
|
1832
|
+
}
|
1833
|
+
},
|
1834
|
+
{
|
1835
|
+
"name": "stringifyBody",
|
1836
|
+
"default": "true"
|
1837
|
+
}
|
1838
|
+
],
|
1839
|
+
"inheritedFrom": {
|
1840
|
+
"name": "BaseServiceIO",
|
1841
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1842
|
+
}
|
1843
|
+
},
|
1844
|
+
{
|
1845
|
+
"kind": "method",
|
1846
|
+
"name": "callAPIWithText",
|
1847
|
+
"privacy": "private",
|
1848
|
+
"parameters": [
|
1849
|
+
{
|
1850
|
+
"name": "messages",
|
1851
|
+
"type": {
|
1852
|
+
"text": "Messages"
|
1853
|
+
}
|
1854
|
+
},
|
1855
|
+
{
|
1856
|
+
"name": "pMessages",
|
1857
|
+
"type": {
|
1858
|
+
"text": "MessageContentI[]"
|
1859
|
+
}
|
1860
|
+
}
|
1861
|
+
],
|
1862
|
+
"inheritedFrom": {
|
1863
|
+
"name": "BaseServiceIO",
|
1864
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1865
|
+
}
|
1866
|
+
},
|
1867
|
+
{
|
1868
|
+
"kind": "method",
|
1869
|
+
"name": "callApiWithFiles",
|
1870
|
+
"privacy": "private",
|
1871
|
+
"parameters": [
|
1872
|
+
{
|
1873
|
+
"name": "messages",
|
1874
|
+
"type": {
|
1875
|
+
"text": "Messages"
|
1876
|
+
}
|
1877
|
+
},
|
1878
|
+
{
|
1879
|
+
"name": "pMessages",
|
1880
|
+
"type": {
|
1881
|
+
"text": "MessageContentI[]"
|
1882
|
+
}
|
1883
|
+
},
|
1884
|
+
{
|
1885
|
+
"name": "files",
|
1886
|
+
"type": {
|
1887
|
+
"text": "File[]"
|
1888
|
+
}
|
1889
|
+
}
|
1890
|
+
],
|
1891
|
+
"inheritedFrom": {
|
1892
|
+
"name": "BaseServiceIO",
|
1893
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1894
|
+
}
|
1895
|
+
},
|
1896
|
+
{
|
1897
|
+
"kind": "method",
|
1898
|
+
"name": "callAPI",
|
1899
|
+
"parameters": [
|
1900
|
+
{
|
1901
|
+
"name": "requestContents",
|
1902
|
+
"type": {
|
1903
|
+
"text": "RequestContents"
|
1904
|
+
}
|
1905
|
+
},
|
1906
|
+
{
|
1907
|
+
"name": "messages",
|
1908
|
+
"type": {
|
1909
|
+
"text": "Messages"
|
1910
|
+
}
|
1911
|
+
}
|
1912
|
+
],
|
1913
|
+
"inheritedFrom": {
|
1914
|
+
"name": "BaseServiceIO",
|
1915
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1916
|
+
}
|
1917
|
+
},
|
1918
|
+
{
|
1919
|
+
"kind": "method",
|
1920
|
+
"name": "extractResultData",
|
1921
|
+
"return": {
|
1922
|
+
"type": {
|
1923
|
+
"text": "Promise<Response | {makingAnotherRequest: true}>"
|
1924
|
+
}
|
1925
|
+
},
|
1926
|
+
"parameters": [
|
1927
|
+
{
|
1928
|
+
"name": "result",
|
1929
|
+
"type": {
|
1930
|
+
"text": "any | Response"
|
1931
|
+
}
|
1932
|
+
}
|
1933
|
+
],
|
1934
|
+
"inheritedFrom": {
|
1935
|
+
"name": "BaseServiceIO",
|
1936
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1937
|
+
}
|
1938
|
+
},
|
1939
|
+
{
|
1940
|
+
"kind": "method",
|
1941
|
+
"name": "isDirectConnection",
|
1942
|
+
"privacy": "public",
|
1943
|
+
"inheritedFrom": {
|
1944
|
+
"name": "BaseServiceIO",
|
1945
|
+
"module": "src/services/utils/baseServiceIO.ts"
|
1946
|
+
}
|
1947
|
+
}
|
1948
|
+
],
|
1949
|
+
"superclass": {
|
1950
|
+
"name": "BaseServiceIO",
|
1951
|
+
"module": "/src/services/utils/baseServiceIO"
|
1952
|
+
}
|
1953
|
+
}
|
1954
|
+
],
|
1955
|
+
"exports": [
|
1956
|
+
{
|
1957
|
+
"kind": "js",
|
1958
|
+
"name": "WebModel",
|
1959
|
+
"declaration": {
|
1960
|
+
"name": "WebModel",
|
1961
|
+
"module": "src/webModel/webModel.ts"
|
1962
|
+
}
|
1963
|
+
}
|
1964
|
+
]
|
1965
|
+
},
|
1966
|
+
{
|
1967
|
+
"kind": "javascript-module",
|
1968
|
+
"path": "src/webModel/webModelConfig.ts",
|
1955
1969
|
"declarations": [],
|
1956
|
-
"exports": [
|
1970
|
+
"exports": [
|
1971
|
+
{
|
1972
|
+
"kind": "js",
|
1973
|
+
"name": "default",
|
1974
|
+
"declaration": {
|
1975
|
+
"module": "src/webModel/webModelConfig.ts"
|
1976
|
+
}
|
1977
|
+
}
|
1978
|
+
]
|
1957
1979
|
},
|
1958
1980
|
{
|
1959
1981
|
"kind": "javascript-module",
|
1960
|
-
"path": "src/
|
1982
|
+
"path": "src/webModel/worker-2.ts",
|
1961
1983
|
"declarations": [],
|
1962
1984
|
"exports": []
|
1963
1985
|
},
|
@@ -27056,10 +27078,76 @@
|
|
27056
27078
|
"exports": [
|
27057
27079
|
{
|
27058
27080
|
"kind": "js",
|
27059
|
-
"name": "ErrorMessages",
|
27081
|
+
"name": "ErrorMessages",
|
27082
|
+
"declaration": {
|
27083
|
+
"name": "ErrorMessages",
|
27084
|
+
"module": "src/utils/errorMessages/errorMessages.ts"
|
27085
|
+
}
|
27086
|
+
}
|
27087
|
+
]
|
27088
|
+
},
|
27089
|
+
{
|
27090
|
+
"kind": "javascript-module",
|
27091
|
+
"path": "src/utils/files/fileTypeButtonIcons.ts",
|
27092
|
+
"declarations": [
|
27093
|
+
{
|
27094
|
+
"kind": "variable",
|
27095
|
+
"name": "FILE_TYPE_BUTTON_ICONS",
|
27096
|
+
"type": {
|
27097
|
+
"text": "ServiceFileTypes"
|
27098
|
+
},
|
27099
|
+
"default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}"
|
27100
|
+
}
|
27101
|
+
],
|
27102
|
+
"exports": [
|
27103
|
+
{
|
27104
|
+
"kind": "js",
|
27105
|
+
"name": "FILE_TYPE_BUTTON_ICONS",
|
27106
|
+
"declaration": {
|
27107
|
+
"name": "FILE_TYPE_BUTTON_ICONS",
|
27108
|
+
"module": "src/utils/files/fileTypeButtonIcons.ts"
|
27109
|
+
}
|
27110
|
+
}
|
27111
|
+
]
|
27112
|
+
},
|
27113
|
+
{
|
27114
|
+
"kind": "javascript-module",
|
27115
|
+
"path": "src/utils/files/fileUtils.ts",
|
27116
|
+
"declarations": [
|
27117
|
+
{
|
27118
|
+
"kind": "class",
|
27119
|
+
"description": "",
|
27120
|
+
"name": "FileUtils",
|
27121
|
+
"members": [
|
27122
|
+
{
|
27123
|
+
"kind": "method",
|
27124
|
+
"name": "load",
|
27125
|
+
"privacy": "public",
|
27126
|
+
"static": true,
|
27127
|
+
"return": {
|
27128
|
+
"type": {
|
27129
|
+
"text": "Promise<FileReader['result']>"
|
27130
|
+
}
|
27131
|
+
},
|
27132
|
+
"parameters": [
|
27133
|
+
{
|
27134
|
+
"name": "file",
|
27135
|
+
"type": {
|
27136
|
+
"text": "File"
|
27137
|
+
}
|
27138
|
+
}
|
27139
|
+
]
|
27140
|
+
}
|
27141
|
+
]
|
27142
|
+
}
|
27143
|
+
],
|
27144
|
+
"exports": [
|
27145
|
+
{
|
27146
|
+
"kind": "js",
|
27147
|
+
"name": "FileUtils",
|
27060
27148
|
"declaration": {
|
27061
|
-
"name": "
|
27062
|
-
"module": "src/utils/
|
27149
|
+
"name": "FileUtils",
|
27150
|
+
"module": "src/utils/files/fileUtils.ts"
|
27063
27151
|
}
|
27064
27152
|
}
|
27065
27153
|
]
|
@@ -27143,52 +27231,28 @@
|
|
27143
27231
|
},
|
27144
27232
|
{
|
27145
27233
|
"kind": "javascript-module",
|
27146
|
-
"path": "src/utils/
|
27147
|
-
"declarations": [
|
27148
|
-
{
|
27149
|
-
"kind": "variable",
|
27150
|
-
"name": "FILE_TYPE_BUTTON_ICONS",
|
27151
|
-
"type": {
|
27152
|
-
"text": "ServiceFileTypes"
|
27153
|
-
},
|
27154
|
-
"default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}"
|
27155
|
-
}
|
27156
|
-
],
|
27157
|
-
"exports": [
|
27158
|
-
{
|
27159
|
-
"kind": "js",
|
27160
|
-
"name": "FILE_TYPE_BUTTON_ICONS",
|
27161
|
-
"declaration": {
|
27162
|
-
"name": "FILE_TYPE_BUTTON_ICONS",
|
27163
|
-
"module": "src/utils/files/fileTypeButtonIcons.ts"
|
27164
|
-
}
|
27165
|
-
}
|
27166
|
-
]
|
27167
|
-
},
|
27168
|
-
{
|
27169
|
-
"kind": "javascript-module",
|
27170
|
-
"path": "src/utils/files/fileUtils.ts",
|
27234
|
+
"path": "src/utils/svg/svgIconUtils.ts",
|
27171
27235
|
"declarations": [
|
27172
27236
|
{
|
27173
27237
|
"kind": "class",
|
27174
27238
|
"description": "",
|
27175
|
-
"name": "
|
27239
|
+
"name": "SVGIconUtils",
|
27176
27240
|
"members": [
|
27177
27241
|
{
|
27178
27242
|
"kind": "method",
|
27179
|
-
"name": "
|
27243
|
+
"name": "createSVGElement",
|
27180
27244
|
"privacy": "public",
|
27181
27245
|
"static": true,
|
27182
27246
|
"return": {
|
27183
27247
|
"type": {
|
27184
|
-
"text": "
|
27248
|
+
"text": "SVGGraphicsElement"
|
27185
27249
|
}
|
27186
27250
|
},
|
27187
27251
|
"parameters": [
|
27188
27252
|
{
|
27189
|
-
"name": "
|
27253
|
+
"name": "svgString",
|
27190
27254
|
"type": {
|
27191
|
-
"text": "
|
27255
|
+
"text": "string"
|
27192
27256
|
}
|
27193
27257
|
}
|
27194
27258
|
]
|
@@ -27199,10 +27263,10 @@
|
|
27199
27263
|
"exports": [
|
27200
27264
|
{
|
27201
27265
|
"kind": "js",
|
27202
|
-
"name": "
|
27266
|
+
"name": "SVGIconUtils",
|
27203
27267
|
"declaration": {
|
27204
|
-
"name": "
|
27205
|
-
"module": "src/utils/
|
27268
|
+
"name": "SVGIconUtils",
|
27269
|
+
"module": "src/utils/svg/svgIconUtils.ts"
|
27206
27270
|
}
|
27207
27271
|
}
|
27208
27272
|
]
|
@@ -27322,45 +27386,9 @@
|
|
27322
27386
|
},
|
27323
27387
|
{
|
27324
27388
|
"kind": "javascript-module",
|
27325
|
-
"path": "src/
|
27326
|
-
"declarations": [
|
27327
|
-
|
27328
|
-
"kind": "class",
|
27329
|
-
"description": "",
|
27330
|
-
"name": "SVGIconUtils",
|
27331
|
-
"members": [
|
27332
|
-
{
|
27333
|
-
"kind": "method",
|
27334
|
-
"name": "createSVGElement",
|
27335
|
-
"privacy": "public",
|
27336
|
-
"static": true,
|
27337
|
-
"return": {
|
27338
|
-
"type": {
|
27339
|
-
"text": "SVGGraphicsElement"
|
27340
|
-
}
|
27341
|
-
},
|
27342
|
-
"parameters": [
|
27343
|
-
{
|
27344
|
-
"name": "svgString",
|
27345
|
-
"type": {
|
27346
|
-
"text": "string"
|
27347
|
-
}
|
27348
|
-
}
|
27349
|
-
]
|
27350
|
-
}
|
27351
|
-
]
|
27352
|
-
}
|
27353
|
-
],
|
27354
|
-
"exports": [
|
27355
|
-
{
|
27356
|
-
"kind": "js",
|
27357
|
-
"name": "SVGIconUtils",
|
27358
|
-
"declaration": {
|
27359
|
-
"name": "SVGIconUtils",
|
27360
|
-
"module": "src/utils/svg/svgIconUtils.ts"
|
27361
|
-
}
|
27362
|
-
}
|
27363
|
-
]
|
27389
|
+
"path": "src/types/webModel/webModel.ts",
|
27390
|
+
"declarations": [],
|
27391
|
+
"exports": []
|
27364
27392
|
},
|
27365
27393
|
{
|
27366
27394
|
"kind": "javascript-module",
|
@@ -27600,12 +27628,6 @@
|
|
27600
27628
|
}
|
27601
27629
|
]
|
27602
27630
|
},
|
27603
|
-
{
|
27604
|
-
"kind": "javascript-module",
|
27605
|
-
"path": "src/types/webModel/webModel.ts",
|
27606
|
-
"declarations": [],
|
27607
|
-
"exports": []
|
27608
|
-
},
|
27609
27631
|
{
|
27610
27632
|
"kind": "javascript-module",
|
27611
27633
|
"path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
|
@@ -27953,12 +27975,12 @@
|
|
27953
27975
|
},
|
27954
27976
|
{
|
27955
27977
|
"kind": "javascript-module",
|
27956
|
-
"path": "src/services/
|
27978
|
+
"path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
|
27957
27979
|
"declarations": [
|
27958
27980
|
{
|
27959
27981
|
"kind": "class",
|
27960
27982
|
"description": "",
|
27961
|
-
"name": "
|
27983
|
+
"name": "HuggingFaceUtils",
|
27962
27984
|
"members": [
|
27963
27985
|
{
|
27964
27986
|
"kind": "method",
|
@@ -28023,22 +28045,22 @@
|
|
28023
28045
|
"exports": [
|
28024
28046
|
{
|
28025
28047
|
"kind": "js",
|
28026
|
-
"name": "
|
28048
|
+
"name": "HuggingFaceUtils",
|
28027
28049
|
"declaration": {
|
28028
|
-
"name": "
|
28029
|
-
"module": "src/services/
|
28050
|
+
"name": "HuggingFaceUtils",
|
28051
|
+
"module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
|
28030
28052
|
}
|
28031
28053
|
}
|
28032
28054
|
]
|
28033
28055
|
},
|
28034
28056
|
{
|
28035
28057
|
"kind": "javascript-module",
|
28036
|
-
"path": "src/services/
|
28058
|
+
"path": "src/services/cohere/utils/cohereUtils.ts",
|
28037
28059
|
"declarations": [
|
28038
28060
|
{
|
28039
28061
|
"kind": "class",
|
28040
28062
|
"description": "",
|
28041
|
-
"name": "
|
28063
|
+
"name": "CohereUtils",
|
28042
28064
|
"members": [
|
28043
28065
|
{
|
28044
28066
|
"kind": "method",
|
@@ -28103,10 +28125,10 @@
|
|
28103
28125
|
"exports": [
|
28104
28126
|
{
|
28105
28127
|
"kind": "js",
|
28106
|
-
"name": "
|
28128
|
+
"name": "CohereUtils",
|
28107
28129
|
"declaration": {
|
28108
|
-
"name": "
|
28109
|
-
"module": "src/services/
|
28130
|
+
"name": "CohereUtils",
|
28131
|
+
"module": "src/services/cohere/utils/cohereUtils.ts"
|
28110
28132
|
}
|
28111
28133
|
}
|
28112
28134
|
]
|
@@ -29712,10 +29734,17 @@
|
|
29712
29734
|
"privacy": "private",
|
29713
29735
|
"parameters": [
|
29714
29736
|
{
|
29715
|
-
"name": "
|
29737
|
+
"name": "deepChat",
|
29716
29738
|
"optional": true,
|
29717
29739
|
"type": {
|
29718
|
-
"text": "
|
29740
|
+
"text": "DeepChat"
|
29741
|
+
}
|
29742
|
+
},
|
29743
|
+
{
|
29744
|
+
"name": "serviceIO",
|
29745
|
+
"optional": true,
|
29746
|
+
"type": {
|
29747
|
+
"text": "ServiceIO"
|
29719
29748
|
}
|
29720
29749
|
}
|
29721
29750
|
]
|
@@ -32188,606 +32217,568 @@
|
|
32188
32217
|
},
|
32189
32218
|
{
|
32190
32219
|
"kind": "javascript-module",
|
32191
|
-
"path": "src/views/chat/input/
|
32192
|
-
"declarations": [
|
32193
|
-
{
|
32194
|
-
"kind": "class",
|
32195
|
-
"description": "",
|
32196
|
-
"name": "
|
32197
|
-
"members": [
|
32198
|
-
{
|
32199
|
-
"kind": "method",
|
32200
|
-
"name": "focusEndOfInput",
|
32201
|
-
"privacy": "public",
|
32202
|
-
"static": true,
|
32203
|
-
"parameters": [
|
32204
|
-
{
|
32205
|
-
"name": "inputElement",
|
32206
|
-
"type": {
|
32207
|
-
"text": "HTMLElement"
|
32208
|
-
}
|
32209
|
-
}
|
32210
|
-
]
|
32211
|
-
},
|
32212
|
-
{
|
32213
|
-
"kind": "method",
|
32214
|
-
"name": "focusFromParentElement",
|
32215
|
-
"privacy": "public",
|
32216
|
-
"static": true,
|
32217
|
-
"parameters": [
|
32218
|
-
{
|
32219
|
-
"name": "parentElement",
|
32220
|
-
"type": {
|
32221
|
-
"text": "HTMLElement"
|
32222
|
-
}
|
32223
|
-
}
|
32224
|
-
]
|
32225
|
-
}
|
32226
|
-
]
|
32227
|
-
}
|
32228
|
-
],
|
32229
|
-
"exports": [
|
32230
|
-
{
|
32231
|
-
"kind": "js",
|
32232
|
-
"name": "FocusUtils",
|
32233
|
-
"declaration": {
|
32234
|
-
"name": "FocusUtils",
|
32235
|
-
"module": "src/views/chat/input/textInput/focusUtils.ts"
|
32236
|
-
}
|
32237
|
-
}
|
32238
|
-
]
|
32239
|
-
},
|
32240
|
-
{
|
32241
|
-
"kind": "javascript-module",
|
32242
|
-
"path": "src/views/chat/input/textInput/pasteUtils.ts",
|
32243
|
-
"declarations": [
|
32244
|
-
{
|
32245
|
-
"kind": "class",
|
32246
|
-
"description": "",
|
32247
|
-
"name": "PasteUtils",
|
32248
|
-
"members": [
|
32249
|
-
{
|
32250
|
-
"kind": "method",
|
32251
|
-
"name": "sanitizePastedTextContent",
|
32252
|
-
"privacy": "public",
|
32253
|
-
"static": true,
|
32254
|
-
"parameters": [
|
32255
|
-
{
|
32256
|
-
"name": "event",
|
32257
|
-
"type": {
|
32258
|
-
"text": "ClipboardEvent"
|
32259
|
-
}
|
32260
|
-
}
|
32261
|
-
]
|
32262
|
-
}
|
32263
|
-
]
|
32264
|
-
}
|
32265
|
-
],
|
32266
|
-
"exports": [
|
32267
|
-
{
|
32268
|
-
"kind": "js",
|
32269
|
-
"name": "PasteUtils",
|
32270
|
-
"declaration": {
|
32271
|
-
"name": "PasteUtils",
|
32272
|
-
"module": "src/views/chat/input/textInput/pasteUtils.ts"
|
32273
|
-
}
|
32274
|
-
}
|
32275
|
-
]
|
32276
|
-
},
|
32277
|
-
{
|
32278
|
-
"kind": "javascript-module",
|
32279
|
-
"path": "src/views/chat/input/textInput/textInput.ts",
|
32280
|
-
"declarations": [
|
32281
|
-
{
|
32282
|
-
"kind": "class",
|
32283
|
-
"description": "",
|
32284
|
-
"name": "TextInputEl",
|
32285
|
-
"members": [
|
32286
|
-
{
|
32287
|
-
"kind": "field",
|
32288
|
-
"name": "TEXT_INPUT_ID",
|
32289
|
-
"type": {
|
32290
|
-
"text": "string"
|
32291
|
-
},
|
32292
|
-
"privacy": "public",
|
32293
|
-
"static": true,
|
32294
|
-
"default": "'text-input'"
|
32295
|
-
},
|
32296
|
-
{
|
32297
|
-
"kind": "field",
|
32298
|
-
"name": "elementRef",
|
32299
|
-
"type": {
|
32300
|
-
"text": "HTMLElement"
|
32301
|
-
}
|
32302
|
-
},
|
32303
|
-
{
|
32304
|
-
"kind": "field",
|
32305
|
-
"name": "inputElementRef",
|
32306
|
-
"type": {
|
32307
|
-
"text": "HTMLElement"
|
32308
|
-
}
|
32309
|
-
},
|
32220
|
+
"path": "src/views/chat/input/dropup/dropup.ts",
|
32221
|
+
"declarations": [
|
32222
|
+
{
|
32223
|
+
"kind": "class",
|
32224
|
+
"description": "",
|
32225
|
+
"name": "Dropup",
|
32226
|
+
"members": [
|
32310
32227
|
{
|
32311
32228
|
"kind": "field",
|
32312
|
-
"name": "
|
32229
|
+
"name": "_menu",
|
32313
32230
|
"type": {
|
32314
|
-
"text": "
|
32231
|
+
"text": "DropupMenu"
|
32315
32232
|
},
|
32316
32233
|
"privacy": "private",
|
32317
|
-
"default": "
|
32234
|
+
"default": "new DropupMenu(containerElement, styles?.menu)"
|
32318
32235
|
},
|
32319
32236
|
{
|
32320
32237
|
"kind": "field",
|
32321
|
-
"name": "
|
32238
|
+
"name": "buttonContainer",
|
32322
32239
|
"type": {
|
32323
|
-
"text": "
|
32240
|
+
"text": "HTMLElement"
|
32324
32241
|
}
|
32325
32242
|
},
|
32326
32243
|
{
|
32327
32244
|
"kind": "method",
|
32328
|
-
"name": "
|
32245
|
+
"name": "createButtonElement",
|
32246
|
+
"privacy": "private",
|
32247
|
+
"static": true
|
32248
|
+
},
|
32249
|
+
{
|
32250
|
+
"kind": "method",
|
32251
|
+
"name": "createInnerElements",
|
32329
32252
|
"privacy": "private",
|
32330
|
-
"static": true,
|
32331
32253
|
"parameters": [
|
32332
32254
|
{
|
32333
|
-
"name": "
|
32334
|
-
"type": {
|
32335
|
-
"text": "ServiceIO"
|
32336
|
-
}
|
32337
|
-
},
|
32338
|
-
{
|
32339
|
-
"name": "textInput",
|
32255
|
+
"name": "customStyles",
|
32340
32256
|
"optional": true,
|
32341
32257
|
"type": {
|
32342
|
-
"text": "
|
32258
|
+
"text": "Styles"
|
32343
32259
|
}
|
32344
32260
|
}
|
32345
32261
|
]
|
32346
32262
|
},
|
32347
32263
|
{
|
32348
32264
|
"kind": "method",
|
32349
|
-
"name": "
|
32265
|
+
"name": "createInnerElement",
|
32350
32266
|
"privacy": "private",
|
32351
|
-
"static": true,
|
32352
32267
|
"parameters": [
|
32353
32268
|
{
|
32354
|
-
"name": "
|
32269
|
+
"name": "baseButton",
|
32355
32270
|
"type": {
|
32356
|
-
"text": "
|
32271
|
+
"text": "SVGGraphicsElement"
|
32357
32272
|
}
|
32358
|
-
}
|
32359
|
-
]
|
32360
|
-
},
|
32361
|
-
{
|
32362
|
-
"kind": "method",
|
32363
|
-
"name": "clear",
|
32364
|
-
"privacy": "public",
|
32365
|
-
"static": true,
|
32366
|
-
"parameters": [
|
32273
|
+
},
|
32367
32274
|
{
|
32368
|
-
"name": "
|
32275
|
+
"name": "state",
|
32369
32276
|
"type": {
|
32370
|
-
"text": "
|
32277
|
+
"text": "'styles'"
|
32371
32278
|
}
|
32372
|
-
}
|
32373
|
-
]
|
32374
|
-
},
|
32375
|
-
{
|
32376
|
-
"kind": "method",
|
32377
|
-
"name": "createInputElement",
|
32378
|
-
"privacy": "private",
|
32379
|
-
"parameters": [
|
32279
|
+
},
|
32380
32280
|
{
|
32381
|
-
"name": "
|
32281
|
+
"name": "customStyles",
|
32382
32282
|
"optional": true,
|
32383
32283
|
"type": {
|
32384
|
-
"text": "
|
32284
|
+
"text": "Styles"
|
32385
32285
|
}
|
32386
32286
|
}
|
32387
32287
|
]
|
32388
32288
|
},
|
32389
32289
|
{
|
32390
32290
|
"kind": "method",
|
32391
|
-
"name": "
|
32392
|
-
"privacy": "
|
32291
|
+
"name": "createSVGIconElement",
|
32292
|
+
"privacy": "private",
|
32293
|
+
"static": true
|
32393
32294
|
},
|
32394
32295
|
{
|
32395
32296
|
"kind": "method",
|
32396
|
-
"name": "
|
32397
|
-
"privacy": "
|
32398
|
-
"static": true,
|
32399
|
-
"parameters": [
|
32400
|
-
{
|
32401
|
-
"name": "inputElement",
|
32402
|
-
"type": {
|
32403
|
-
"text": "HTMLElement"
|
32404
|
-
}
|
32405
|
-
},
|
32406
|
-
{
|
32407
|
-
"name": "isEditable",
|
32408
|
-
"type": {
|
32409
|
-
"text": "boolean"
|
32410
|
-
}
|
32411
|
-
}
|
32412
|
-
]
|
32297
|
+
"name": "addClickEvent",
|
32298
|
+
"privacy": "private"
|
32413
32299
|
},
|
32414
32300
|
{
|
32415
32301
|
"kind": "method",
|
32416
|
-
"name": "
|
32302
|
+
"name": "createButtonContainer",
|
32417
32303
|
"privacy": "private",
|
32304
|
+
"static": true
|
32305
|
+
},
|
32306
|
+
{
|
32307
|
+
"kind": "method",
|
32308
|
+
"name": "addItem",
|
32418
32309
|
"parameters": [
|
32419
32310
|
{
|
32420
|
-
"name": "
|
32421
|
-
"type": {
|
32422
|
-
"text": "HTMLElement"
|
32423
|
-
}
|
32424
|
-
},
|
32425
|
-
{
|
32426
|
-
"name": "textInput",
|
32427
|
-
"optional": true,
|
32311
|
+
"name": "buttonProps",
|
32428
32312
|
"type": {
|
32429
|
-
"text": "
|
32313
|
+
"text": "InputButton"
|
32430
32314
|
}
|
32431
32315
|
}
|
32432
32316
|
]
|
32433
32317
|
},
|
32434
32318
|
{
|
32435
32319
|
"kind": "method",
|
32436
|
-
"name": "
|
32320
|
+
"name": "addContainerEvents",
|
32437
32321
|
"privacy": "private",
|
32438
32322
|
"parameters": [
|
32439
32323
|
{
|
32440
|
-
"name": "
|
32441
|
-
"optional": true,
|
32324
|
+
"name": "containerElement",
|
32442
32325
|
"type": {
|
32443
|
-
"text": "
|
32326
|
+
"text": "HTMLElement"
|
32444
32327
|
}
|
32445
32328
|
}
|
32446
32329
|
]
|
32447
32330
|
},
|
32448
32331
|
{
|
32449
32332
|
"kind": "method",
|
32450
|
-
"name": "
|
32451
|
-
"
|
32333
|
+
"name": "getPosition",
|
32334
|
+
"static": true,
|
32452
32335
|
"parameters": [
|
32453
32336
|
{
|
32454
|
-
"name": "
|
32337
|
+
"name": "positions",
|
32455
32338
|
"type": {
|
32456
|
-
"text": "
|
32339
|
+
"text": "Positions"
|
32457
32340
|
}
|
32458
32341
|
},
|
32459
32342
|
{
|
32460
|
-
"name": "
|
32343
|
+
"name": "dropupStyles",
|
32461
32344
|
"optional": true,
|
32462
32345
|
"type": {
|
32463
|
-
"text": "
|
32346
|
+
"text": "DropupStyles"
|
32464
32347
|
}
|
32465
32348
|
}
|
32466
32349
|
]
|
32467
32350
|
},
|
32468
32351
|
{
|
32469
|
-
"kind": "
|
32470
|
-
"name": "
|
32471
|
-
"
|
32472
|
-
|
32473
|
-
|
32474
|
-
|
32475
|
-
|
32476
|
-
|
32477
|
-
|
32478
|
-
|
32479
|
-
}
|
32480
|
-
}
|
32481
|
-
]
|
32352
|
+
"kind": "field",
|
32353
|
+
"name": "elementRef",
|
32354
|
+
"type": {
|
32355
|
+
"text": "HTMLElement"
|
32356
|
+
},
|
32357
|
+
"default": "buttonElement",
|
32358
|
+
"inheritedFrom": {
|
32359
|
+
"name": "InputButton",
|
32360
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32361
|
+
}
|
32482
32362
|
},
|
32483
32363
|
{
|
32484
|
-
"kind": "
|
32485
|
-
"name": "
|
32486
|
-
"
|
32487
|
-
|
32488
|
-
|
32489
|
-
|
32490
|
-
|
32491
|
-
|
32492
|
-
|
32493
|
-
|
32494
|
-
|
32495
|
-
}
|
32496
|
-
]
|
32497
|
-
}
|
32498
|
-
],
|
32499
|
-
"exports": [
|
32500
|
-
{
|
32501
|
-
"kind": "js",
|
32502
|
-
"name": "TextInputEl",
|
32503
|
-
"declaration": {
|
32504
|
-
"name": "TextInputEl",
|
32505
|
-
"module": "src/views/chat/input/textInput/textInput.ts"
|
32506
|
-
}
|
32507
|
-
}
|
32508
|
-
]
|
32509
|
-
},
|
32510
|
-
{
|
32511
|
-
"kind": "javascript-module",
|
32512
|
-
"path": "src/views/chat/input/textInput/textInputEvents.ts",
|
32513
|
-
"declarations": [
|
32514
|
-
{
|
32515
|
-
"kind": "class",
|
32516
|
-
"description": "",
|
32517
|
-
"name": "TextInputEvents",
|
32518
|
-
"members": [
|
32364
|
+
"kind": "field",
|
32365
|
+
"name": "_mouseState",
|
32366
|
+
"type": {
|
32367
|
+
"text": "MouseState"
|
32368
|
+
},
|
32369
|
+
"privacy": "protected",
|
32370
|
+
"default": "{state: 'default'}",
|
32371
|
+
"inheritedFrom": {
|
32372
|
+
"name": "InputButton",
|
32373
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32374
|
+
}
|
32375
|
+
},
|
32519
32376
|
{
|
32520
32377
|
"kind": "field",
|
32521
|
-
"name": "
|
32522
|
-
"
|
32523
|
-
|
32524
|
-
|
32378
|
+
"name": "_customStyles",
|
32379
|
+
"type": {
|
32380
|
+
"text": "T | undefined"
|
32381
|
+
},
|
32382
|
+
"privacy": "protected",
|
32383
|
+
"default": "customStyles",
|
32384
|
+
"inheritedFrom": {
|
32385
|
+
"name": "InputButton",
|
32386
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32387
|
+
}
|
32388
|
+
},
|
32389
|
+
{
|
32390
|
+
"kind": "field",
|
32391
|
+
"name": "position",
|
32392
|
+
"type": {
|
32393
|
+
"text": "ButtonPositionT | undefined"
|
32394
|
+
},
|
32395
|
+
"default": "position",
|
32396
|
+
"inheritedFrom": {
|
32397
|
+
"name": "InputButton",
|
32398
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32399
|
+
}
|
32400
|
+
},
|
32401
|
+
{
|
32402
|
+
"kind": "field",
|
32403
|
+
"name": "dropupText",
|
32404
|
+
"type": {
|
32405
|
+
"text": "string | undefined"
|
32406
|
+
},
|
32407
|
+
"default": "dropupText",
|
32408
|
+
"inheritedFrom": {
|
32409
|
+
"name": "InputButton",
|
32410
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32411
|
+
}
|
32525
32412
|
},
|
32526
32413
|
{
|
32527
32414
|
"kind": "method",
|
32528
|
-
"name": "
|
32529
|
-
"privacy": "
|
32530
|
-
"static": true,
|
32415
|
+
"name": "buttonMouseLeave",
|
32416
|
+
"privacy": "private",
|
32531
32417
|
"parameters": [
|
32532
32418
|
{
|
32533
|
-
"name": "
|
32419
|
+
"name": "customStyles",
|
32420
|
+
"optional": true,
|
32534
32421
|
"type": {
|
32535
|
-
"text": "
|
32422
|
+
"text": "ButtonStyles"
|
32536
32423
|
}
|
32537
|
-
}
|
32424
|
+
}
|
32425
|
+
],
|
32426
|
+
"inheritedFrom": {
|
32427
|
+
"name": "InputButton",
|
32428
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32429
|
+
}
|
32430
|
+
},
|
32431
|
+
{
|
32432
|
+
"kind": "method",
|
32433
|
+
"name": "buttonMouseEnter",
|
32434
|
+
"privacy": "private",
|
32435
|
+
"parameters": [
|
32538
32436
|
{
|
32539
|
-
"name": "
|
32437
|
+
"name": "customStyles",
|
32540
32438
|
"optional": true,
|
32541
32439
|
"type": {
|
32542
|
-
"text": "
|
32440
|
+
"text": "ButtonStyles"
|
32543
32441
|
}
|
32544
|
-
}
|
32442
|
+
}
|
32443
|
+
],
|
32444
|
+
"inheritedFrom": {
|
32445
|
+
"name": "InputButton",
|
32446
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32447
|
+
}
|
32448
|
+
},
|
32449
|
+
{
|
32450
|
+
"kind": "method",
|
32451
|
+
"name": "buttonMouseUp",
|
32452
|
+
"privacy": "private",
|
32453
|
+
"parameters": [
|
32545
32454
|
{
|
32546
|
-
"name": "
|
32455
|
+
"name": "customStyles",
|
32547
32456
|
"optional": true,
|
32548
32457
|
"type": {
|
32549
|
-
"text": "
|
32458
|
+
"text": "ButtonStyles"
|
32550
32459
|
}
|
32551
32460
|
}
|
32552
|
-
]
|
32461
|
+
],
|
32462
|
+
"inheritedFrom": {
|
32463
|
+
"name": "InputButton",
|
32464
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32465
|
+
}
|
32553
32466
|
},
|
32554
32467
|
{
|
32555
32468
|
"kind": "method",
|
32556
|
-
"name": "
|
32469
|
+
"name": "buttonMouseDown",
|
32557
32470
|
"privacy": "private",
|
32558
|
-
"static": true,
|
32559
32471
|
"parameters": [
|
32560
32472
|
{
|
32561
|
-
"name": "
|
32562
|
-
"
|
32563
|
-
"text": "number"
|
32564
|
-
}
|
32565
|
-
},
|
32566
|
-
{
|
32567
|
-
"name": "event",
|
32473
|
+
"name": "customStyles",
|
32474
|
+
"optional": true,
|
32568
32475
|
"type": {
|
32569
|
-
"text": "
|
32476
|
+
"text": "ButtonStyles"
|
32570
32477
|
}
|
32571
32478
|
}
|
32572
|
-
]
|
32479
|
+
],
|
32480
|
+
"inheritedFrom": {
|
32481
|
+
"name": "InputButton",
|
32482
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32483
|
+
}
|
32573
32484
|
},
|
32574
32485
|
{
|
32575
32486
|
"kind": "method",
|
32576
|
-
"name": "
|
32487
|
+
"name": "setEvents",
|
32577
32488
|
"privacy": "private",
|
32578
|
-
"static": true,
|
32579
32489
|
"parameters": [
|
32580
32490
|
{
|
32581
|
-
"name": "
|
32491
|
+
"name": "customStyles",
|
32492
|
+
"optional": true,
|
32582
32493
|
"type": {
|
32583
|
-
"text": "
|
32494
|
+
"text": "ButtonStyles"
|
32584
32495
|
}
|
32585
32496
|
}
|
32586
|
-
]
|
32497
|
+
],
|
32498
|
+
"inheritedFrom": {
|
32499
|
+
"name": "InputButton",
|
32500
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32501
|
+
}
|
32587
32502
|
},
|
32588
32503
|
{
|
32589
32504
|
"kind": "method",
|
32590
|
-
"name": "
|
32591
|
-
"privacy": "
|
32592
|
-
"static": true,
|
32505
|
+
"name": "unsetCustomStateStyles",
|
32506
|
+
"privacy": "public",
|
32593
32507
|
"parameters": [
|
32594
32508
|
{
|
32595
|
-
"name": "
|
32509
|
+
"name": "unsetTypes",
|
32596
32510
|
"type": {
|
32597
|
-
"text": "
|
32511
|
+
"text": "(keyof T)[]"
|
32598
32512
|
}
|
32599
|
-
}
|
32513
|
+
}
|
32514
|
+
],
|
32515
|
+
"inheritedFrom": {
|
32516
|
+
"name": "InputButton",
|
32517
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32518
|
+
}
|
32519
|
+
},
|
32520
|
+
{
|
32521
|
+
"kind": "method",
|
32522
|
+
"name": "reapplyStateStyle",
|
32523
|
+
"privacy": "public",
|
32524
|
+
"parameters": [
|
32600
32525
|
{
|
32601
|
-
"name": "
|
32526
|
+
"name": "setType",
|
32602
32527
|
"type": {
|
32603
|
-
"text": "
|
32528
|
+
"text": "keyof T"
|
32604
32529
|
}
|
32605
32530
|
},
|
32606
32531
|
{
|
32607
|
-
"name": "
|
32532
|
+
"name": "unsetTypes",
|
32533
|
+
"optional": true,
|
32608
32534
|
"type": {
|
32609
|
-
"text": "
|
32535
|
+
"text": "(keyof T)[]"
|
32610
32536
|
}
|
32611
32537
|
}
|
32612
|
-
]
|
32538
|
+
],
|
32539
|
+
"inheritedFrom": {
|
32540
|
+
"name": "InputButton",
|
32541
|
+
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32542
|
+
}
|
32613
32543
|
}
|
32614
|
-
]
|
32544
|
+
],
|
32545
|
+
"superclass": {
|
32546
|
+
"name": "InputButton",
|
32547
|
+
"module": "/src/views/chat/input/buttons/inputButton"
|
32548
|
+
}
|
32615
32549
|
}
|
32616
32550
|
],
|
32617
32551
|
"exports": [
|
32618
32552
|
{
|
32619
32553
|
"kind": "js",
|
32620
|
-
"name": "
|
32554
|
+
"name": "Dropup",
|
32621
32555
|
"declaration": {
|
32622
|
-
"name": "
|
32623
|
-
"module": "src/views/chat/input/
|
32556
|
+
"name": "Dropup",
|
32557
|
+
"module": "src/views/chat/input/dropup/dropup.ts"
|
32624
32558
|
}
|
32625
32559
|
}
|
32626
32560
|
]
|
32627
32561
|
},
|
32628
32562
|
{
|
32629
32563
|
"kind": "javascript-module",
|
32630
|
-
"path": "src/views/chat/input/
|
32564
|
+
"path": "src/views/chat/input/dropup/dropupItem.ts",
|
32631
32565
|
"declarations": [
|
32632
32566
|
{
|
32633
32567
|
"kind": "class",
|
32634
32568
|
"description": "",
|
32635
|
-
"name": "
|
32569
|
+
"name": "DropupItem",
|
32636
32570
|
"members": [
|
32637
32571
|
{
|
32638
32572
|
"kind": "method",
|
32639
|
-
"name": "
|
32573
|
+
"name": "addItemEvents",
|
32640
32574
|
"privacy": "private",
|
32641
32575
|
"static": true,
|
32642
32576
|
"parameters": [
|
32643
32577
|
{
|
32644
|
-
"name": "
|
32578
|
+
"name": "menu",
|
32645
32579
|
"type": {
|
32646
|
-
"text": "
|
32580
|
+
"text": "DropupMenu"
|
32647
32581
|
}
|
32648
32582
|
},
|
32649
32583
|
{
|
32650
|
-
"name": "
|
32584
|
+
"name": "item",
|
32651
32585
|
"type": {
|
32652
|
-
"text": "
|
32586
|
+
"text": "HTMLElement"
|
32653
32587
|
}
|
32654
32588
|
},
|
32655
32589
|
{
|
32656
|
-
"name": "
|
32590
|
+
"name": "inputButton",
|
32591
|
+
"type": {
|
32592
|
+
"text": "HTMLElement"
|
32593
|
+
}
|
32594
|
+
},
|
32595
|
+
{
|
32596
|
+
"name": "styles",
|
32597
|
+
"type": {
|
32598
|
+
"text": "StatefulStyles"
|
32599
|
+
}
|
32600
|
+
}
|
32601
|
+
]
|
32602
|
+
},
|
32603
|
+
{
|
32604
|
+
"kind": "method",
|
32605
|
+
"name": "createItemText",
|
32606
|
+
"privacy": "private",
|
32607
|
+
"static": true,
|
32608
|
+
"parameters": [
|
32609
|
+
{
|
32610
|
+
"name": "dropupText",
|
32657
32611
|
"optional": true,
|
32658
32612
|
"type": {
|
32659
32613
|
"text": "string"
|
32660
32614
|
}
|
32661
32615
|
},
|
32662
32616
|
{
|
32663
|
-
"name": "
|
32617
|
+
"name": "textStyle",
|
32664
32618
|
"optional": true,
|
32665
32619
|
"type": {
|
32666
|
-
"text": "
|
32620
|
+
"text": "CustomStyle"
|
32621
|
+
}
|
32622
|
+
}
|
32623
|
+
]
|
32624
|
+
},
|
32625
|
+
{
|
32626
|
+
"kind": "method",
|
32627
|
+
"name": "createItemIcon",
|
32628
|
+
"privacy": "private",
|
32629
|
+
"static": true,
|
32630
|
+
"parameters": [
|
32631
|
+
{
|
32632
|
+
"name": "inputButtonElement",
|
32633
|
+
"type": {
|
32634
|
+
"text": "HTMLElement"
|
32667
32635
|
}
|
32668
32636
|
},
|
32669
32637
|
{
|
32670
|
-
"name": "
|
32638
|
+
"name": "iconContainerStyle",
|
32671
32639
|
"optional": true,
|
32672
32640
|
"type": {
|
32673
|
-
"text": "
|
32641
|
+
"text": "CustomStyle"
|
32674
32642
|
}
|
32675
32643
|
}
|
32676
32644
|
]
|
32677
32645
|
},
|
32678
32646
|
{
|
32679
32647
|
"kind": "method",
|
32680
|
-
"name": "
|
32648
|
+
"name": "populateItem",
|
32681
32649
|
"privacy": "private",
|
32682
32650
|
"static": true,
|
32683
32651
|
"parameters": [
|
32684
32652
|
{
|
32685
|
-
"name": "
|
32653
|
+
"name": "elementRef",
|
32686
32654
|
"type": {
|
32687
|
-
"text": "
|
32655
|
+
"text": "HTMLElement"
|
32688
32656
|
}
|
32689
32657
|
},
|
32690
32658
|
{
|
32691
|
-
"name": "
|
32659
|
+
"name": "item",
|
32692
32660
|
"type": {
|
32693
|
-
"text": "
|
32661
|
+
"text": "HTMLElement"
|
32694
32662
|
}
|
32695
32663
|
},
|
32696
32664
|
{
|
32697
|
-
"name": "
|
32665
|
+
"name": "dropupText",
|
32666
|
+
"optional": true,
|
32698
32667
|
"type": {
|
32699
|
-
"text": "
|
32668
|
+
"text": "string"
|
32700
32669
|
}
|
32701
32670
|
},
|
32702
32671
|
{
|
32703
|
-
"name": "
|
32672
|
+
"name": "styles",
|
32673
|
+
"optional": true,
|
32704
32674
|
"type": {
|
32705
|
-
"text": "
|
32675
|
+
"text": "DropupMenuStyles"
|
32706
32676
|
}
|
32707
32677
|
}
|
32708
32678
|
]
|
32709
32679
|
},
|
32710
32680
|
{
|
32711
32681
|
"kind": "method",
|
32712
|
-
"name": "
|
32713
|
-
"privacy": "
|
32682
|
+
"name": "createItem",
|
32683
|
+
"privacy": "public",
|
32714
32684
|
"static": true,
|
32715
32685
|
"parameters": [
|
32716
32686
|
{
|
32717
|
-
"name": "
|
32687
|
+
"name": "menu",
|
32718
32688
|
"type": {
|
32719
|
-
"text": "
|
32689
|
+
"text": "DropupMenu"
|
32720
32690
|
}
|
32721
32691
|
},
|
32722
32692
|
{
|
32723
|
-
"name": "
|
32693
|
+
"name": "inputButton",
|
32724
32694
|
"type": {
|
32725
|
-
"text": "
|
32695
|
+
"text": "InputButton"
|
32726
32696
|
}
|
32727
32697
|
},
|
32728
32698
|
{
|
32729
|
-
"name": "
|
32699
|
+
"name": "styles",
|
32700
|
+
"optional": true,
|
32730
32701
|
"type": {
|
32731
|
-
"text": "
|
32702
|
+
"text": "DropupMenuStyles"
|
32732
32703
|
}
|
32733
32704
|
}
|
32734
32705
|
]
|
32735
|
-
}
|
32706
|
+
}
|
32707
|
+
]
|
32708
|
+
}
|
32709
|
+
],
|
32710
|
+
"exports": [
|
32711
|
+
{
|
32712
|
+
"kind": "js",
|
32713
|
+
"name": "DropupItem",
|
32714
|
+
"declaration": {
|
32715
|
+
"name": "DropupItem",
|
32716
|
+
"module": "src/views/chat/input/dropup/dropupItem.ts"
|
32717
|
+
}
|
32718
|
+
}
|
32719
|
+
]
|
32720
|
+
},
|
32721
|
+
{
|
32722
|
+
"kind": "javascript-module",
|
32723
|
+
"path": "src/views/chat/input/dropup/dropupItemNavigation.ts",
|
32724
|
+
"declarations": [
|
32725
|
+
{
|
32726
|
+
"kind": "class",
|
32727
|
+
"description": "",
|
32728
|
+
"name": "DropupItemNavigation",
|
32729
|
+
"members": [
|
32736
32730
|
{
|
32737
32731
|
"kind": "method",
|
32738
|
-
"name": "
|
32732
|
+
"name": "focusItemWhenOnEdge",
|
32739
32733
|
"privacy": "private",
|
32740
32734
|
"static": true,
|
32741
32735
|
"parameters": [
|
32742
32736
|
{
|
32743
|
-
"name": "
|
32737
|
+
"name": "dropupElement",
|
32744
32738
|
"type": {
|
32745
|
-
"text": "
|
32739
|
+
"text": "HTMLElement"
|
32746
32740
|
}
|
32747
32741
|
},
|
32748
32742
|
{
|
32749
|
-
"name": "
|
32743
|
+
"name": "isNext",
|
32750
32744
|
"type": {
|
32751
|
-
"text": "
|
32745
|
+
"text": "boolean"
|
32752
32746
|
}
|
32753
32747
|
}
|
32754
32748
|
]
|
32755
32749
|
},
|
32756
32750
|
{
|
32757
32751
|
"kind": "method",
|
32758
|
-
"name": "
|
32752
|
+
"name": "focusSiblingItem",
|
32759
32753
|
"privacy": "public",
|
32760
32754
|
"static": true,
|
32761
|
-
"
|
32762
|
-
{
|
32763
|
-
"
|
32764
|
-
|
32765
|
-
|
32766
|
-
|
32767
|
-
},
|
32755
|
+
"return": {
|
32756
|
+
"type": {
|
32757
|
+
"text": "void"
|
32758
|
+
}
|
32759
|
+
},
|
32760
|
+
"parameters": [
|
32768
32761
|
{
|
32769
|
-
"name": "
|
32762
|
+
"name": "focusedItem",
|
32770
32763
|
"type": {
|
32771
|
-
"text": "
|
32764
|
+
"text": "HTMLElement"
|
32772
32765
|
}
|
32773
32766
|
},
|
32774
32767
|
{
|
32775
|
-
"name": "
|
32768
|
+
"name": "dropupElement",
|
32776
32769
|
"type": {
|
32777
|
-
"text": "
|
32770
|
+
"text": "HTMLElement"
|
32778
32771
|
}
|
32779
32772
|
},
|
32780
32773
|
{
|
32781
|
-
"name": "
|
32774
|
+
"name": "isNext",
|
32782
32775
|
"type": {
|
32783
|
-
"text": "
|
32776
|
+
"text": "boolean"
|
32784
32777
|
}
|
32785
32778
|
},
|
32786
32779
|
{
|
32787
|
-
"name": "
|
32788
|
-
"
|
32789
|
-
"text": "SubmitButton"
|
32790
|
-
}
|
32780
|
+
"name": "isEdgeItem",
|
32781
|
+
"default": "false"
|
32791
32782
|
}
|
32792
32783
|
]
|
32793
32784
|
}
|
@@ -32797,108 +32788,89 @@
|
|
32797
32788
|
"exports": [
|
32798
32789
|
{
|
32799
32790
|
"kind": "js",
|
32800
|
-
"name": "
|
32791
|
+
"name": "DropupItemNavigation",
|
32801
32792
|
"declaration": {
|
32802
|
-
"name": "
|
32803
|
-
"module": "src/views/chat/input/
|
32793
|
+
"name": "DropupItemNavigation",
|
32794
|
+
"module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
|
32804
32795
|
}
|
32805
32796
|
}
|
32806
32797
|
]
|
32807
32798
|
},
|
32808
32799
|
{
|
32809
32800
|
"kind": "javascript-module",
|
32810
|
-
"path": "src/views/chat/input/dropup/
|
32801
|
+
"path": "src/views/chat/input/dropup/dropupMenu.ts",
|
32811
32802
|
"declarations": [
|
32812
32803
|
{
|
32813
32804
|
"kind": "class",
|
32814
32805
|
"description": "",
|
32815
|
-
"name": "
|
32806
|
+
"name": "DropupMenu",
|
32816
32807
|
"members": [
|
32817
32808
|
{
|
32818
32809
|
"kind": "field",
|
32819
|
-
"name": "
|
32810
|
+
"name": "elementRef",
|
32820
32811
|
"type": {
|
32821
|
-
"text": "
|
32812
|
+
"text": "HTMLElement"
|
32813
|
+
}
|
32814
|
+
},
|
32815
|
+
{
|
32816
|
+
"kind": "field",
|
32817
|
+
"name": "_isOpen",
|
32818
|
+
"type": {
|
32819
|
+
"text": "boolean"
|
32822
32820
|
},
|
32823
32821
|
"privacy": "private",
|
32824
|
-
"default": "
|
32822
|
+
"default": "true"
|
32825
32823
|
},
|
32826
32824
|
{
|
32827
32825
|
"kind": "field",
|
32828
|
-
"name": "
|
32826
|
+
"name": "highlightedItem",
|
32829
32827
|
"type": {
|
32830
|
-
"text": "HTMLElement"
|
32828
|
+
"text": "HTMLElement | undefined"
|
32831
32829
|
}
|
32832
32830
|
},
|
32833
32831
|
{
|
32834
|
-
"kind": "
|
32835
|
-
"name": "
|
32836
|
-
"
|
32837
|
-
|
32838
|
-
|
32839
|
-
{
|
32840
|
-
"kind": "method",
|
32841
|
-
"name": "createInnerElements",
|
32832
|
+
"kind": "field",
|
32833
|
+
"name": "_styles",
|
32834
|
+
"type": {
|
32835
|
+
"text": "DropupMenuStyles | undefined"
|
32836
|
+
},
|
32842
32837
|
"privacy": "private",
|
32843
|
-
"
|
32844
|
-
{
|
32845
|
-
"name": "customStyles",
|
32846
|
-
"optional": true,
|
32847
|
-
"type": {
|
32848
|
-
"text": "Styles"
|
32849
|
-
}
|
32850
|
-
}
|
32851
|
-
]
|
32838
|
+
"default": "styles"
|
32852
32839
|
},
|
32853
32840
|
{
|
32854
32841
|
"kind": "method",
|
32855
|
-
"name": "
|
32842
|
+
"name": "createElement",
|
32856
32843
|
"privacy": "private",
|
32844
|
+
"static": true,
|
32857
32845
|
"parameters": [
|
32858
32846
|
{
|
32859
|
-
"name": "
|
32860
|
-
"type": {
|
32861
|
-
"text": "SVGGraphicsElement"
|
32862
|
-
}
|
32863
|
-
},
|
32864
|
-
{
|
32865
|
-
"name": "state",
|
32866
|
-
"type": {
|
32867
|
-
"text": "'styles'"
|
32868
|
-
}
|
32869
|
-
},
|
32870
|
-
{
|
32871
|
-
"name": "customStyles",
|
32847
|
+
"name": "containerStyle",
|
32872
32848
|
"optional": true,
|
32873
32849
|
"type": {
|
32874
|
-
"text": "
|
32850
|
+
"text": "CustomStyle"
|
32875
32851
|
}
|
32876
32852
|
}
|
32877
32853
|
]
|
32878
32854
|
},
|
32879
32855
|
{
|
32880
32856
|
"kind": "method",
|
32881
|
-
"name": "
|
32882
|
-
"privacy": "private"
|
32883
|
-
"static": true
|
32857
|
+
"name": "open",
|
32858
|
+
"privacy": "private"
|
32884
32859
|
},
|
32885
32860
|
{
|
32886
32861
|
"kind": "method",
|
32887
|
-
"name": "
|
32888
|
-
"privacy": "private"
|
32862
|
+
"name": "close"
|
32889
32863
|
},
|
32890
32864
|
{
|
32891
32865
|
"kind": "method",
|
32892
|
-
"name": "
|
32893
|
-
"privacy": "private",
|
32894
|
-
"static": true
|
32866
|
+
"name": "toggle"
|
32895
32867
|
},
|
32896
32868
|
{
|
32897
32869
|
"kind": "method",
|
32898
32870
|
"name": "addItem",
|
32899
32871
|
"parameters": [
|
32900
32872
|
{
|
32901
|
-
"name": "
|
32873
|
+
"name": "inputButton",
|
32902
32874
|
"type": {
|
32903
32875
|
"text": "InputButton"
|
32904
32876
|
}
|
@@ -32907,7 +32879,7 @@
|
|
32907
32879
|
},
|
32908
32880
|
{
|
32909
32881
|
"kind": "method",
|
32910
|
-
"name": "
|
32882
|
+
"name": "addWindowEvents",
|
32911
32883
|
"privacy": "private",
|
32912
32884
|
"parameters": [
|
32913
32885
|
{
|
@@ -32917,379 +32889,442 @@
|
|
32917
32889
|
}
|
32918
32890
|
}
|
32919
32891
|
]
|
32892
|
+
}
|
32893
|
+
]
|
32894
|
+
}
|
32895
|
+
],
|
32896
|
+
"exports": [
|
32897
|
+
{
|
32898
|
+
"kind": "js",
|
32899
|
+
"name": "DropupMenu",
|
32900
|
+
"declaration": {
|
32901
|
+
"name": "DropupMenu",
|
32902
|
+
"module": "src/views/chat/input/dropup/dropupMenu.ts"
|
32903
|
+
}
|
32904
|
+
}
|
32905
|
+
]
|
32906
|
+
},
|
32907
|
+
{
|
32908
|
+
"kind": "javascript-module",
|
32909
|
+
"path": "src/views/chat/input/textInput/focusUtils.ts",
|
32910
|
+
"declarations": [
|
32911
|
+
{
|
32912
|
+
"kind": "class",
|
32913
|
+
"description": "",
|
32914
|
+
"name": "FocusUtils",
|
32915
|
+
"members": [
|
32916
|
+
{
|
32917
|
+
"kind": "method",
|
32918
|
+
"name": "focusEndOfInput",
|
32919
|
+
"privacy": "public",
|
32920
|
+
"static": true,
|
32921
|
+
"parameters": [
|
32922
|
+
{
|
32923
|
+
"name": "inputElement",
|
32924
|
+
"type": {
|
32925
|
+
"text": "HTMLElement"
|
32926
|
+
}
|
32927
|
+
}
|
32928
|
+
]
|
32920
32929
|
},
|
32921
32930
|
{
|
32922
32931
|
"kind": "method",
|
32923
|
-
"name": "
|
32932
|
+
"name": "focusFromParentElement",
|
32933
|
+
"privacy": "public",
|
32924
32934
|
"static": true,
|
32925
32935
|
"parameters": [
|
32926
32936
|
{
|
32927
|
-
"name": "
|
32937
|
+
"name": "parentElement",
|
32928
32938
|
"type": {
|
32929
|
-
"text": "
|
32939
|
+
"text": "HTMLElement"
|
32930
32940
|
}
|
32931
|
-
}
|
32941
|
+
}
|
32942
|
+
]
|
32943
|
+
}
|
32944
|
+
]
|
32945
|
+
}
|
32946
|
+
],
|
32947
|
+
"exports": [
|
32948
|
+
{
|
32949
|
+
"kind": "js",
|
32950
|
+
"name": "FocusUtils",
|
32951
|
+
"declaration": {
|
32952
|
+
"name": "FocusUtils",
|
32953
|
+
"module": "src/views/chat/input/textInput/focusUtils.ts"
|
32954
|
+
}
|
32955
|
+
}
|
32956
|
+
]
|
32957
|
+
},
|
32958
|
+
{
|
32959
|
+
"kind": "javascript-module",
|
32960
|
+
"path": "src/views/chat/input/textInput/pasteUtils.ts",
|
32961
|
+
"declarations": [
|
32962
|
+
{
|
32963
|
+
"kind": "class",
|
32964
|
+
"description": "",
|
32965
|
+
"name": "PasteUtils",
|
32966
|
+
"members": [
|
32967
|
+
{
|
32968
|
+
"kind": "method",
|
32969
|
+
"name": "sanitizePastedTextContent",
|
32970
|
+
"privacy": "public",
|
32971
|
+
"static": true,
|
32972
|
+
"parameters": [
|
32932
32973
|
{
|
32933
|
-
"name": "
|
32934
|
-
"optional": true,
|
32974
|
+
"name": "event",
|
32935
32975
|
"type": {
|
32936
|
-
"text": "
|
32976
|
+
"text": "ClipboardEvent"
|
32937
32977
|
}
|
32938
32978
|
}
|
32939
32979
|
]
|
32940
|
-
}
|
32980
|
+
}
|
32981
|
+
]
|
32982
|
+
}
|
32983
|
+
],
|
32984
|
+
"exports": [
|
32985
|
+
{
|
32986
|
+
"kind": "js",
|
32987
|
+
"name": "PasteUtils",
|
32988
|
+
"declaration": {
|
32989
|
+
"name": "PasteUtils",
|
32990
|
+
"module": "src/views/chat/input/textInput/pasteUtils.ts"
|
32991
|
+
}
|
32992
|
+
}
|
32993
|
+
]
|
32994
|
+
},
|
32995
|
+
{
|
32996
|
+
"kind": "javascript-module",
|
32997
|
+
"path": "src/views/chat/input/textInput/textInput.ts",
|
32998
|
+
"declarations": [
|
32999
|
+
{
|
33000
|
+
"kind": "class",
|
33001
|
+
"description": "",
|
33002
|
+
"name": "TextInputEl",
|
33003
|
+
"members": [
|
32941
33004
|
{
|
32942
33005
|
"kind": "field",
|
32943
|
-
"name": "
|
33006
|
+
"name": "TEXT_INPUT_ID",
|
32944
33007
|
"type": {
|
32945
|
-
"text": "
|
33008
|
+
"text": "string"
|
32946
33009
|
},
|
32947
|
-
"
|
32948
|
-
"
|
32949
|
-
|
32950
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32951
|
-
}
|
33010
|
+
"privacy": "public",
|
33011
|
+
"static": true,
|
33012
|
+
"default": "'text-input'"
|
32952
33013
|
},
|
32953
33014
|
{
|
32954
33015
|
"kind": "field",
|
32955
|
-
"name": "
|
33016
|
+
"name": "elementRef",
|
32956
33017
|
"type": {
|
32957
|
-
"text": "
|
32958
|
-
},
|
32959
|
-
"privacy": "protected",
|
32960
|
-
"default": "{state: 'default'}",
|
32961
|
-
"inheritedFrom": {
|
32962
|
-
"name": "InputButton",
|
32963
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33018
|
+
"text": "HTMLElement"
|
32964
33019
|
}
|
32965
33020
|
},
|
32966
33021
|
{
|
32967
33022
|
"kind": "field",
|
32968
|
-
"name": "
|
33023
|
+
"name": "inputElementRef",
|
32969
33024
|
"type": {
|
32970
|
-
"text": "
|
32971
|
-
},
|
32972
|
-
"privacy": "protected",
|
32973
|
-
"default": "customStyles",
|
32974
|
-
"inheritedFrom": {
|
32975
|
-
"name": "InputButton",
|
32976
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33025
|
+
"text": "HTMLElement"
|
32977
33026
|
}
|
32978
33027
|
},
|
32979
33028
|
{
|
32980
33029
|
"kind": "field",
|
32981
|
-
"name": "
|
32982
|
-
"type": {
|
32983
|
-
"text": "
|
32984
|
-
},
|
32985
|
-
"
|
32986
|
-
"
|
32987
|
-
"name": "InputButton",
|
32988
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
32989
|
-
}
|
33030
|
+
"name": "_config",
|
33031
|
+
"type": {
|
33032
|
+
"text": "TextInput"
|
33033
|
+
},
|
33034
|
+
"privacy": "private",
|
33035
|
+
"default": "processedConfig"
|
32990
33036
|
},
|
32991
33037
|
{
|
32992
33038
|
"kind": "field",
|
32993
|
-
"name": "
|
33039
|
+
"name": "submit",
|
32994
33040
|
"type": {
|
32995
|
-
"text": "
|
32996
|
-
},
|
32997
|
-
"default": "dropupText",
|
32998
|
-
"inheritedFrom": {
|
32999
|
-
"name": "InputButton",
|
33000
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33041
|
+
"text": "() => void | undefined"
|
33001
33042
|
}
|
33002
33043
|
},
|
33003
33044
|
{
|
33004
33045
|
"kind": "method",
|
33005
|
-
"name": "
|
33046
|
+
"name": "processConfig",
|
33006
33047
|
"privacy": "private",
|
33048
|
+
"static": true,
|
33007
33049
|
"parameters": [
|
33008
33050
|
{
|
33009
|
-
"name": "
|
33010
|
-
"optional": true,
|
33051
|
+
"name": "serviceIO",
|
33011
33052
|
"type": {
|
33012
|
-
"text": "
|
33053
|
+
"text": "ServiceIO"
|
33013
33054
|
}
|
33014
|
-
}
|
33015
|
-
],
|
33016
|
-
"inheritedFrom": {
|
33017
|
-
"name": "InputButton",
|
33018
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33019
|
-
}
|
33020
|
-
},
|
33021
|
-
{
|
33022
|
-
"kind": "method",
|
33023
|
-
"name": "buttonMouseEnter",
|
33024
|
-
"privacy": "private",
|
33025
|
-
"parameters": [
|
33055
|
+
},
|
33026
33056
|
{
|
33027
|
-
"name": "
|
33057
|
+
"name": "textInput",
|
33028
33058
|
"optional": true,
|
33029
33059
|
"type": {
|
33030
|
-
"text": "
|
33060
|
+
"text": "TextInput"
|
33031
33061
|
}
|
33032
33062
|
}
|
33033
|
-
]
|
33034
|
-
"inheritedFrom": {
|
33035
|
-
"name": "InputButton",
|
33036
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33037
|
-
}
|
33063
|
+
]
|
33038
33064
|
},
|
33039
33065
|
{
|
33040
33066
|
"kind": "method",
|
33041
|
-
"name": "
|
33067
|
+
"name": "preventAutomaticScrollUpOnNewLine",
|
33042
33068
|
"privacy": "private",
|
33069
|
+
"static": true,
|
33043
33070
|
"parameters": [
|
33044
33071
|
{
|
33045
|
-
"name": "
|
33046
|
-
"optional": true,
|
33072
|
+
"name": "inputElement",
|
33047
33073
|
"type": {
|
33048
|
-
"text": "
|
33074
|
+
"text": "HTMLDivElement"
|
33049
33075
|
}
|
33050
33076
|
}
|
33051
|
-
]
|
33052
|
-
"inheritedFrom": {
|
33053
|
-
"name": "InputButton",
|
33054
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33055
|
-
}
|
33077
|
+
]
|
33056
33078
|
},
|
33057
33079
|
{
|
33058
33080
|
"kind": "method",
|
33059
|
-
"name": "
|
33060
|
-
"privacy": "
|
33081
|
+
"name": "clear",
|
33082
|
+
"privacy": "public",
|
33083
|
+
"static": true,
|
33061
33084
|
"parameters": [
|
33062
33085
|
{
|
33063
|
-
"name": "
|
33064
|
-
"optional": true,
|
33086
|
+
"name": "inputElement",
|
33065
33087
|
"type": {
|
33066
|
-
"text": "
|
33088
|
+
"text": "HTMLElement"
|
33067
33089
|
}
|
33068
33090
|
}
|
33069
|
-
]
|
33070
|
-
"inheritedFrom": {
|
33071
|
-
"name": "InputButton",
|
33072
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33073
|
-
}
|
33091
|
+
]
|
33074
33092
|
},
|
33075
33093
|
{
|
33076
33094
|
"kind": "method",
|
33077
|
-
"name": "
|
33095
|
+
"name": "createInputElement",
|
33078
33096
|
"privacy": "private",
|
33079
33097
|
"parameters": [
|
33080
33098
|
{
|
33081
|
-
"name": "
|
33099
|
+
"name": "textInput",
|
33082
33100
|
"optional": true,
|
33083
33101
|
"type": {
|
33084
|
-
"text": "
|
33102
|
+
"text": "TextInput"
|
33085
33103
|
}
|
33086
33104
|
}
|
33087
|
-
]
|
33088
|
-
"inheritedFrom": {
|
33089
|
-
"name": "InputButton",
|
33090
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33091
|
-
}
|
33105
|
+
]
|
33092
33106
|
},
|
33093
33107
|
{
|
33094
33108
|
"kind": "method",
|
33095
|
-
"name": "
|
33109
|
+
"name": "removeTextIfPlaceholder",
|
33110
|
+
"privacy": "public"
|
33111
|
+
},
|
33112
|
+
{
|
33113
|
+
"kind": "method",
|
33114
|
+
"name": "toggleEditability",
|
33096
33115
|
"privacy": "public",
|
33116
|
+
"static": true,
|
33097
33117
|
"parameters": [
|
33098
33118
|
{
|
33099
|
-
"name": "
|
33119
|
+
"name": "inputElement",
|
33100
33120
|
"type": {
|
33101
|
-
"text": "
|
33121
|
+
"text": "HTMLElement"
|
33122
|
+
}
|
33123
|
+
},
|
33124
|
+
{
|
33125
|
+
"name": "isEditable",
|
33126
|
+
"type": {
|
33127
|
+
"text": "boolean"
|
33102
33128
|
}
|
33103
33129
|
}
|
33104
|
-
]
|
33105
|
-
"inheritedFrom": {
|
33106
|
-
"name": "InputButton",
|
33107
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33108
|
-
}
|
33130
|
+
]
|
33109
33131
|
},
|
33110
33132
|
{
|
33111
33133
|
"kind": "method",
|
33112
|
-
"name": "
|
33113
|
-
"privacy": "
|
33134
|
+
"name": "addEventListeners",
|
33135
|
+
"privacy": "private",
|
33114
33136
|
"parameters": [
|
33115
33137
|
{
|
33116
|
-
"name": "
|
33138
|
+
"name": "inputElement",
|
33117
33139
|
"type": {
|
33118
|
-
"text": "
|
33140
|
+
"text": "HTMLElement"
|
33119
33141
|
}
|
33120
33142
|
},
|
33121
33143
|
{
|
33122
|
-
"name": "
|
33144
|
+
"name": "textInput",
|
33123
33145
|
"optional": true,
|
33124
33146
|
"type": {
|
33125
|
-
"text": "
|
33147
|
+
"text": "TextInput"
|
33126
33148
|
}
|
33127
33149
|
}
|
33128
|
-
]
|
33129
|
-
|
33130
|
-
"name": "InputButton",
|
33131
|
-
"module": "src/views/chat/input/buttons/inputButton.ts"
|
33132
|
-
}
|
33133
|
-
}
|
33134
|
-
],
|
33135
|
-
"superclass": {
|
33136
|
-
"name": "InputButton",
|
33137
|
-
"module": "/src/views/chat/input/buttons/inputButton"
|
33138
|
-
}
|
33139
|
-
}
|
33140
|
-
],
|
33141
|
-
"exports": [
|
33142
|
-
{
|
33143
|
-
"kind": "js",
|
33144
|
-
"name": "Dropup",
|
33145
|
-
"declaration": {
|
33146
|
-
"name": "Dropup",
|
33147
|
-
"module": "src/views/chat/input/dropup/dropup.ts"
|
33148
|
-
}
|
33149
|
-
}
|
33150
|
-
]
|
33151
|
-
},
|
33152
|
-
{
|
33153
|
-
"kind": "javascript-module",
|
33154
|
-
"path": "src/views/chat/input/dropup/dropupItem.ts",
|
33155
|
-
"declarations": [
|
33156
|
-
{
|
33157
|
-
"kind": "class",
|
33158
|
-
"description": "",
|
33159
|
-
"name": "DropupItem",
|
33160
|
-
"members": [
|
33150
|
+
]
|
33151
|
+
},
|
33161
33152
|
{
|
33162
33153
|
"kind": "method",
|
33163
|
-
"name": "
|
33154
|
+
"name": "onFocus",
|
33164
33155
|
"privacy": "private",
|
33165
|
-
"static": true,
|
33166
33156
|
"parameters": [
|
33167
33157
|
{
|
33168
|
-
"name": "
|
33169
|
-
"
|
33170
|
-
"text": "DropupMenu"
|
33171
|
-
}
|
33172
|
-
},
|
33173
|
-
{
|
33174
|
-
"name": "item",
|
33158
|
+
"name": "focusStyle",
|
33159
|
+
"optional": true,
|
33175
33160
|
"type": {
|
33176
|
-
"text": "
|
33161
|
+
"text": "CustomStyle"
|
33177
33162
|
}
|
33178
|
-
}
|
33163
|
+
}
|
33164
|
+
]
|
33165
|
+
},
|
33166
|
+
{
|
33167
|
+
"kind": "method",
|
33168
|
+
"name": "onBlur",
|
33169
|
+
"privacy": "private",
|
33170
|
+
"parameters": [
|
33179
33171
|
{
|
33180
|
-
"name": "
|
33172
|
+
"name": "focusStyle",
|
33181
33173
|
"type": {
|
33182
|
-
"text": "
|
33174
|
+
"text": "CustomStyle"
|
33183
33175
|
}
|
33184
33176
|
},
|
33185
33177
|
{
|
33186
|
-
"name": "
|
33178
|
+
"name": "containerStyle",
|
33179
|
+
"optional": true,
|
33187
33180
|
"type": {
|
33188
|
-
"text": "
|
33181
|
+
"text": "CustomStyle"
|
33189
33182
|
}
|
33190
33183
|
}
|
33191
33184
|
]
|
33192
33185
|
},
|
33193
33186
|
{
|
33194
33187
|
"kind": "method",
|
33195
|
-
"name": "
|
33188
|
+
"name": "createContainerElement",
|
33196
33189
|
"privacy": "private",
|
33197
33190
|
"static": true,
|
33198
33191
|
"parameters": [
|
33199
33192
|
{
|
33200
|
-
"name": "
|
33193
|
+
"name": "containerStyle",
|
33201
33194
|
"optional": true,
|
33202
33195
|
"type": {
|
33203
|
-
"text": "
|
33196
|
+
"text": "CustomStyle"
|
33204
33197
|
}
|
33205
|
-
}
|
33198
|
+
}
|
33199
|
+
]
|
33200
|
+
},
|
33201
|
+
{
|
33202
|
+
"kind": "method",
|
33203
|
+
"name": "onKeydown",
|
33204
|
+
"privacy": "private",
|
33205
|
+
"parameters": [
|
33206
33206
|
{
|
33207
|
-
"name": "
|
33208
|
-
"optional": true,
|
33207
|
+
"name": "event",
|
33209
33208
|
"type": {
|
33210
|
-
"text": "
|
33209
|
+
"text": "KeyboardEvent"
|
33211
33210
|
}
|
33212
33211
|
}
|
33213
33212
|
]
|
33213
|
+
}
|
33214
|
+
]
|
33215
|
+
}
|
33216
|
+
],
|
33217
|
+
"exports": [
|
33218
|
+
{
|
33219
|
+
"kind": "js",
|
33220
|
+
"name": "TextInputEl",
|
33221
|
+
"declaration": {
|
33222
|
+
"name": "TextInputEl",
|
33223
|
+
"module": "src/views/chat/input/textInput/textInput.ts"
|
33224
|
+
}
|
33225
|
+
}
|
33226
|
+
]
|
33227
|
+
},
|
33228
|
+
{
|
33229
|
+
"kind": "javascript-module",
|
33230
|
+
"path": "src/views/chat/input/textInput/textInputEvents.ts",
|
33231
|
+
"declarations": [
|
33232
|
+
{
|
33233
|
+
"kind": "class",
|
33234
|
+
"description": "",
|
33235
|
+
"name": "TextInputEvents",
|
33236
|
+
"members": [
|
33237
|
+
{
|
33238
|
+
"kind": "field",
|
33239
|
+
"name": "PERMITTED_KEYS",
|
33240
|
+
"privacy": "private",
|
33241
|
+
"static": true,
|
33242
|
+
"default": "new Set<string>([\n KEYBOARD_KEY.BACKSPACE, KEYBOARD_KEY.DELETE, KEYBOARD_KEY.ARROW_RIGHT, KEYBOARD_KEY.ARROW_LEFT,\n KEYBOARD_KEY.ARROW_DOWN, KEYBOARD_KEY.ARROW_UP, KEYBOARD_KEY.META, KEYBOARD_KEY.CONTROL, KEYBOARD_KEY.ENTER\n ])"
|
33214
33243
|
},
|
33215
33244
|
{
|
33216
33245
|
"kind": "method",
|
33217
|
-
"name": "
|
33218
|
-
"privacy": "
|
33246
|
+
"name": "add",
|
33247
|
+
"privacy": "public",
|
33219
33248
|
"static": true,
|
33220
33249
|
"parameters": [
|
33221
33250
|
{
|
33222
|
-
"name": "
|
33251
|
+
"name": "inputElement",
|
33223
33252
|
"type": {
|
33224
33253
|
"text": "HTMLElement"
|
33225
33254
|
}
|
33226
33255
|
},
|
33227
33256
|
{
|
33228
|
-
"name": "
|
33257
|
+
"name": "characterLimit",
|
33229
33258
|
"optional": true,
|
33230
33259
|
"type": {
|
33231
|
-
"text": "
|
33260
|
+
"text": "number"
|
33261
|
+
}
|
33262
|
+
},
|
33263
|
+
{
|
33264
|
+
"name": "validationHandler",
|
33265
|
+
"optional": true,
|
33266
|
+
"type": {
|
33267
|
+
"text": "ValidationHandler"
|
33232
33268
|
}
|
33233
33269
|
}
|
33234
33270
|
]
|
33235
33271
|
},
|
33236
33272
|
{
|
33237
33273
|
"kind": "method",
|
33238
|
-
"name": "
|
33274
|
+
"name": "onKeyDown",
|
33239
33275
|
"privacy": "private",
|
33240
33276
|
"static": true,
|
33241
33277
|
"parameters": [
|
33242
33278
|
{
|
33243
|
-
"name": "
|
33244
|
-
"type": {
|
33245
|
-
"text": "HTMLElement"
|
33246
|
-
}
|
33247
|
-
},
|
33248
|
-
{
|
33249
|
-
"name": "item",
|
33279
|
+
"name": "characterLimit",
|
33250
33280
|
"type": {
|
33251
|
-
"text": "
|
33281
|
+
"text": "number"
|
33252
33282
|
}
|
33253
33283
|
},
|
33254
33284
|
{
|
33255
|
-
"name": "
|
33256
|
-
"optional": true,
|
33285
|
+
"name": "event",
|
33257
33286
|
"type": {
|
33258
|
-
"text": "
|
33287
|
+
"text": "KeyboardEvent"
|
33259
33288
|
}
|
33260
|
-
}
|
33289
|
+
}
|
33290
|
+
]
|
33291
|
+
},
|
33292
|
+
{
|
33293
|
+
"kind": "method",
|
33294
|
+
"name": "isKeyCombinationPermitted",
|
33295
|
+
"privacy": "private",
|
33296
|
+
"static": true,
|
33297
|
+
"parameters": [
|
33261
33298
|
{
|
33262
|
-
"name": "
|
33263
|
-
"optional": true,
|
33299
|
+
"name": "event",
|
33264
33300
|
"type": {
|
33265
|
-
"text": "
|
33301
|
+
"text": "KeyboardEvent"
|
33266
33302
|
}
|
33267
33303
|
}
|
33268
33304
|
]
|
33269
33305
|
},
|
33270
33306
|
{
|
33271
33307
|
"kind": "method",
|
33272
|
-
"name": "
|
33273
|
-
"privacy": "
|
33308
|
+
"name": "onInput",
|
33309
|
+
"privacy": "private",
|
33274
33310
|
"static": true,
|
33275
33311
|
"parameters": [
|
33276
33312
|
{
|
33277
|
-
"name": "
|
33313
|
+
"name": "characterLimit",
|
33278
33314
|
"type": {
|
33279
|
-
"text": "
|
33315
|
+
"text": "number | undefined"
|
33280
33316
|
}
|
33281
33317
|
},
|
33282
33318
|
{
|
33283
|
-
"name": "
|
33319
|
+
"name": "validate",
|
33284
33320
|
"type": {
|
33285
|
-
"text": "
|
33321
|
+
"text": "ValidationHandler | undefined"
|
33286
33322
|
}
|
33287
33323
|
},
|
33288
33324
|
{
|
33289
|
-
"name": "
|
33290
|
-
"optional": true,
|
33325
|
+
"name": "event",
|
33291
33326
|
"type": {
|
33292
|
-
"text": "
|
33327
|
+
"text": "Event"
|
33293
33328
|
}
|
33294
33329
|
}
|
33295
33330
|
]
|
@@ -33300,37 +33335,58 @@
|
|
33300
33335
|
"exports": [
|
33301
33336
|
{
|
33302
33337
|
"kind": "js",
|
33303
|
-
"name": "
|
33338
|
+
"name": "TextInputEvents",
|
33304
33339
|
"declaration": {
|
33305
|
-
"name": "
|
33306
|
-
"module": "src/views/chat/input/
|
33340
|
+
"name": "TextInputEvents",
|
33341
|
+
"module": "src/views/chat/input/textInput/textInputEvents.ts"
|
33307
33342
|
}
|
33308
33343
|
}
|
33309
33344
|
]
|
33310
33345
|
},
|
33311
33346
|
{
|
33312
33347
|
"kind": "javascript-module",
|
33313
|
-
"path": "src/views/chat/input/
|
33348
|
+
"path": "src/views/chat/input/validation/validationHandler.ts",
|
33314
33349
|
"declarations": [
|
33315
33350
|
{
|
33316
33351
|
"kind": "class",
|
33317
33352
|
"description": "",
|
33318
|
-
"name": "
|
33353
|
+
"name": "ValidationHandler",
|
33319
33354
|
"members": [
|
33320
33355
|
{
|
33321
33356
|
"kind": "method",
|
33322
|
-
"name": "
|
33357
|
+
"name": "validate",
|
33323
33358
|
"privacy": "private",
|
33324
33359
|
"static": true,
|
33325
33360
|
"parameters": [
|
33326
33361
|
{
|
33327
|
-
"name": "
|
33362
|
+
"name": "validation",
|
33328
33363
|
"type": {
|
33329
|
-
"text": "
|
33364
|
+
"text": "ValidateFunc"
|
33330
33365
|
}
|
33331
33366
|
},
|
33332
33367
|
{
|
33333
|
-
"name": "
|
33368
|
+
"name": "submitButton",
|
33369
|
+
"type": {
|
33370
|
+
"text": "SubmitButton"
|
33371
|
+
}
|
33372
|
+
},
|
33373
|
+
{
|
33374
|
+
"name": "text",
|
33375
|
+
"optional": true,
|
33376
|
+
"type": {
|
33377
|
+
"text": "string"
|
33378
|
+
}
|
33379
|
+
},
|
33380
|
+
{
|
33381
|
+
"name": "files",
|
33382
|
+
"optional": true,
|
33383
|
+
"type": {
|
33384
|
+
"text": "File[]"
|
33385
|
+
}
|
33386
|
+
},
|
33387
|
+
{
|
33388
|
+
"name": "isProgrammatic",
|
33389
|
+
"optional": true,
|
33334
33390
|
"type": {
|
33335
33391
|
"text": "boolean"
|
33336
33392
|
}
|
@@ -33339,143 +33395,116 @@
|
|
33339
33395
|
},
|
33340
33396
|
{
|
33341
33397
|
"kind": "method",
|
33342
|
-
"name": "
|
33343
|
-
"privacy": "
|
33398
|
+
"name": "useValidationFunc",
|
33399
|
+
"privacy": "private",
|
33344
33400
|
"static": true,
|
33345
|
-
"return": {
|
33346
|
-
"type": {
|
33347
|
-
"text": "void"
|
33348
|
-
}
|
33349
|
-
},
|
33350
33401
|
"parameters": [
|
33351
33402
|
{
|
33352
|
-
"name": "
|
33403
|
+
"name": "validation",
|
33353
33404
|
"type": {
|
33354
|
-
"text": "
|
33405
|
+
"text": "ValidateFunc"
|
33355
33406
|
}
|
33356
33407
|
},
|
33357
33408
|
{
|
33358
|
-
"name": "
|
33409
|
+
"name": "textInput",
|
33359
33410
|
"type": {
|
33360
|
-
"text": "
|
33411
|
+
"text": "TextInputEl"
|
33361
33412
|
}
|
33362
33413
|
},
|
33363
33414
|
{
|
33364
|
-
"name": "
|
33415
|
+
"name": "fileAttachments",
|
33365
33416
|
"type": {
|
33366
|
-
"text": "
|
33417
|
+
"text": "FileAttachments"
|
33367
33418
|
}
|
33368
33419
|
},
|
33369
33420
|
{
|
33370
|
-
"name": "
|
33371
|
-
"
|
33421
|
+
"name": "submitButton",
|
33422
|
+
"type": {
|
33423
|
+
"text": "SubmitButton"
|
33424
|
+
}
|
33372
33425
|
}
|
33373
33426
|
]
|
33374
|
-
}
|
33375
|
-
]
|
33376
|
-
}
|
33377
|
-
],
|
33378
|
-
"exports": [
|
33379
|
-
{
|
33380
|
-
"kind": "js",
|
33381
|
-
"name": "DropupItemNavigation",
|
33382
|
-
"declaration": {
|
33383
|
-
"name": "DropupItemNavigation",
|
33384
|
-
"module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
|
33385
|
-
}
|
33386
|
-
}
|
33387
|
-
]
|
33388
|
-
},
|
33389
|
-
{
|
33390
|
-
"kind": "javascript-module",
|
33391
|
-
"path": "src/views/chat/input/dropup/dropupMenu.ts",
|
33392
|
-
"declarations": [
|
33393
|
-
{
|
33394
|
-
"kind": "class",
|
33395
|
-
"description": "",
|
33396
|
-
"name": "DropupMenu",
|
33397
|
-
"members": [
|
33398
|
-
{
|
33399
|
-
"kind": "field",
|
33400
|
-
"name": "elementRef",
|
33401
|
-
"type": {
|
33402
|
-
"text": "HTMLElement"
|
33403
|
-
}
|
33404
|
-
},
|
33405
|
-
{
|
33406
|
-
"kind": "field",
|
33407
|
-
"name": "_isOpen",
|
33408
|
-
"type": {
|
33409
|
-
"text": "boolean"
|
33410
|
-
},
|
33411
|
-
"privacy": "private",
|
33412
|
-
"default": "true"
|
33413
|
-
},
|
33414
|
-
{
|
33415
|
-
"kind": "field",
|
33416
|
-
"name": "highlightedItem",
|
33417
|
-
"type": {
|
33418
|
-
"text": "HTMLElement | undefined"
|
33419
|
-
}
|
33420
|
-
},
|
33421
|
-
{
|
33422
|
-
"kind": "field",
|
33423
|
-
"name": "_styles",
|
33424
|
-
"type": {
|
33425
|
-
"text": "DropupMenuStyles | undefined"
|
33426
|
-
},
|
33427
|
-
"privacy": "private",
|
33428
|
-
"default": "styles"
|
33429
33427
|
},
|
33430
33428
|
{
|
33431
33429
|
"kind": "method",
|
33432
|
-
"name": "
|
33430
|
+
"name": "useValidationFuncProgrammatic",
|
33433
33431
|
"privacy": "private",
|
33434
33432
|
"static": true,
|
33435
33433
|
"parameters": [
|
33436
33434
|
{
|
33437
|
-
"name": "
|
33438
|
-
"optional": true,
|
33435
|
+
"name": "validation",
|
33439
33436
|
"type": {
|
33440
|
-
"text": "
|
33437
|
+
"text": "ValidateFunc"
|
33438
|
+
}
|
33439
|
+
},
|
33440
|
+
{
|
33441
|
+
"name": "programmatic",
|
33442
|
+
"type": {
|
33443
|
+
"text": "UserContentI"
|
33444
|
+
}
|
33445
|
+
},
|
33446
|
+
{
|
33447
|
+
"name": "submitButton",
|
33448
|
+
"type": {
|
33449
|
+
"text": "SubmitButton"
|
33441
33450
|
}
|
33442
33451
|
}
|
33443
33452
|
]
|
33444
33453
|
},
|
33445
33454
|
{
|
33446
33455
|
"kind": "method",
|
33447
|
-
"name": "
|
33448
|
-
"privacy": "private"
|
33449
|
-
|
33450
|
-
{
|
33451
|
-
"kind": "method",
|
33452
|
-
"name": "close"
|
33453
|
-
},
|
33454
|
-
{
|
33455
|
-
"kind": "method",
|
33456
|
-
"name": "toggle"
|
33457
|
-
},
|
33458
|
-
{
|
33459
|
-
"kind": "method",
|
33460
|
-
"name": "addItem",
|
33456
|
+
"name": "validateWebsocket",
|
33457
|
+
"privacy": "private",
|
33458
|
+
"static": true,
|
33461
33459
|
"parameters": [
|
33462
33460
|
{
|
33463
|
-
"name": "
|
33461
|
+
"name": "serviceIO",
|
33464
33462
|
"type": {
|
33465
|
-
"text": "
|
33463
|
+
"text": "ServiceIO"
|
33464
|
+
}
|
33465
|
+
},
|
33466
|
+
{
|
33467
|
+
"name": "submitButton",
|
33468
|
+
"type": {
|
33469
|
+
"text": "SubmitButton"
|
33466
33470
|
}
|
33467
33471
|
}
|
33468
33472
|
]
|
33469
33473
|
},
|
33470
33474
|
{
|
33471
33475
|
"kind": "method",
|
33472
|
-
"name": "
|
33473
|
-
"privacy": "
|
33476
|
+
"name": "attach",
|
33477
|
+
"privacy": "public",
|
33478
|
+
"static": true,
|
33474
33479
|
"parameters": [
|
33475
33480
|
{
|
33476
|
-
"name": "
|
33481
|
+
"name": "deepChat",
|
33477
33482
|
"type": {
|
33478
|
-
"text": "
|
33483
|
+
"text": "DeepChat"
|
33484
|
+
}
|
33485
|
+
},
|
33486
|
+
{
|
33487
|
+
"name": "serviceIO",
|
33488
|
+
"type": {
|
33489
|
+
"text": "ServiceIO"
|
33490
|
+
}
|
33491
|
+
},
|
33492
|
+
{
|
33493
|
+
"name": "textInput",
|
33494
|
+
"type": {
|
33495
|
+
"text": "TextInputEl"
|
33496
|
+
}
|
33497
|
+
},
|
33498
|
+
{
|
33499
|
+
"name": "fileAttachments",
|
33500
|
+
"type": {
|
33501
|
+
"text": "FileAttachments"
|
33502
|
+
}
|
33503
|
+
},
|
33504
|
+
{
|
33505
|
+
"name": "submitButton",
|
33506
|
+
"type": {
|
33507
|
+
"text": "SubmitButton"
|
33479
33508
|
}
|
33480
33509
|
}
|
33481
33510
|
]
|
@@ -33486,10 +33515,10 @@
|
|
33486
33515
|
"exports": [
|
33487
33516
|
{
|
33488
33517
|
"kind": "js",
|
33489
|
-
"name": "
|
33518
|
+
"name": "ValidationHandler",
|
33490
33519
|
"declaration": {
|
33491
|
-
"name": "
|
33492
|
-
"module": "src/views/chat/input/
|
33520
|
+
"name": "ValidationHandler",
|
33521
|
+
"module": "src/views/chat/input/validation/validationHandler.ts"
|
33493
33522
|
}
|
33494
33523
|
}
|
33495
33524
|
]
|