@mobilon-dev/chotto 0.3.21 → 0.3.23

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.
Files changed (48) hide show
  1. package/dist/{CreateChat-DoNHuQv0.js → CreateChat-CdkAwYO5.js} +1 -1
  2. package/dist/{CreateChat2-DpYCA_v_.js → CreateChat2-sDETTpTU.js} +1 -1
  3. package/dist/{CreateDialog-BOnzLE6I.js → CreateDialog-Bw8bOym2.js} +1 -1
  4. package/dist/{ModalVideoRecorder-BY3428rE.js → ModalVideoRecorder-BP9FfPE8.js} +1 -1
  5. package/dist/{SelectUser2-CanippyB.js → SelectUser2-BAKccRXs.js} +1 -1
  6. package/dist/chotto.css +1 -1
  7. package/dist/index-4foc416D.js +36385 -0
  8. package/dist/themes/dark.css +1 -1
  9. package/dist/themes/default.css +1 -1
  10. package/dist/themes/green.css +1 -1
  11. package/dist/themes/mobilon1.css +1 -1
  12. package/dist/types/apps/data/messages.d.ts +256 -1
  13. package/dist/types/components/2_feed_elements/AudioMessage/stories/AudioMessage.stories.d.ts +4 -0
  14. package/dist/types/components/2_feed_elements/CallMessage/stories/CallMessage.stories.d.ts +4 -0
  15. package/dist/types/components/2_feed_elements/DateMessage/stories/DateMessage.stories.d.ts +1 -0
  16. package/dist/types/components/2_feed_elements/FileMessage/stories/FileMessage.stories.d.ts +3 -0
  17. package/dist/types/components/2_feed_elements/ImageMessage/stories/ImageMessage.stories.d.ts +3 -0
  18. package/dist/types/components/2_feed_elements/MessageReactions/MessageReactions.vue.d.ts +61 -0
  19. package/dist/types/components/2_feed_elements/MessageReactions/composables/index.d.ts +4 -0
  20. package/dist/types/components/2_feed_elements/MessageReactions/composables/usePositioning.d.ts +16 -0
  21. package/dist/types/components/2_feed_elements/MessageReactions/composables/useReactions.d.ts +19 -0
  22. package/dist/types/components/2_feed_elements/MessageReactions/composables/useReactionsPanel.d.ts +23 -0
  23. package/dist/types/components/2_feed_elements/MessageReactions/composables/useReactionsState.d.ts +99 -0
  24. package/dist/types/components/2_feed_elements/MessageReactions/stories/MessageReactions.stories.d.ts +16 -0
  25. package/dist/types/components/2_feed_elements/MessageReactions/styles/types.d.ts +221 -0
  26. package/dist/types/components/2_feed_elements/MessageReactions/utils/quickReactions.d.ts +6 -0
  27. package/dist/types/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.d.ts +16 -0
  28. package/dist/types/components/2_feed_elements/ReplyStickerMessage/stories/ReplyStickerMessage.stories.d.ts +10 -0
  29. package/dist/types/components/2_feed_elements/ReplyStickerMessage/styles/types.d.ts +107 -0
  30. package/dist/types/components/2_feed_elements/StickerMessage/StickerMessage.vue.d.ts +41 -0
  31. package/dist/types/components/2_feed_elements/StickerMessage/libs/tgs-player/lottie-player.esm.d.ts +478 -0
  32. package/dist/types/components/2_feed_elements/StickerMessage/libs/tgs-player/tgs-player.esm.d.ts +478 -0
  33. package/dist/types/components/2_feed_elements/StickerMessage/stories/StickerMessage.stories.d.ts +19 -0
  34. package/dist/types/components/2_feed_elements/StickerMessage/styles/types.d.ts +245 -0
  35. package/dist/types/components/2_feed_elements/TextMessage/stories/TextMessage.stories.d.ts +1 -0
  36. package/dist/types/components/2_feed_elements/TypingMessage/stories/TypingMessage.stories.d.ts +1 -0
  37. package/dist/types/components/2_feed_elements/VideoMessage/stories/VideoMessage.stories.d.ts +3 -0
  38. package/dist/types/components/2_feed_elements/types/messages.d.ts +72 -0
  39. package/dist/types/components/3_compounds/SideBar/SideBar.vue.d.ts +2 -0
  40. package/dist/types/components/index.d.ts +3 -0
  41. package/dist/types/functions/createReactionHandlers.d.ts +23 -0
  42. package/dist/types/functions/index.d.ts +1 -0
  43. package/dist/types/main.d.ts +1 -0
  44. package/dist/types/utils/suppress-lit-warning.d.ts +0 -0
  45. package/dist/vuessages.es.js +84 -80
  46. package/dist/vuessages.umd.js +598 -46
  47. package/package.json +1 -1
  48. package/dist/index-D4aZYJgw.js +0 -21904
@@ -29,6 +29,7 @@ export declare const messages: ({
29
29
  filename?: undefined;
30
30
  linkPreview?: undefined;
31
31
  keyboard?: undefined;
32
+ reactions?: undefined;
32
33
  statusMsg?: undefined;
33
34
  } | {
34
35
  chatId: number;
@@ -57,6 +58,7 @@ export declare const messages: ({
57
58
  filename?: undefined;
58
59
  linkPreview?: undefined;
59
60
  keyboard?: undefined;
61
+ reactions?: undefined;
60
62
  statusMsg?: undefined;
61
63
  } | {
62
64
  chatId: number;
@@ -90,6 +92,7 @@ export declare const messages: ({
90
92
  filename?: undefined;
91
93
  linkPreview?: undefined;
92
94
  keyboard?: undefined;
95
+ reactions?: undefined;
93
96
  statusMsg?: undefined;
94
97
  } | {
95
98
  chatId: number;
@@ -115,6 +118,7 @@ export declare const messages: ({
115
118
  filename?: undefined;
116
119
  linkPreview?: undefined;
117
120
  keyboard?: undefined;
121
+ reactions?: undefined;
118
122
  statusMsg?: undefined;
119
123
  } | {
120
124
  chatId: number;
@@ -148,6 +152,7 @@ export declare const messages: ({
148
152
  filename?: undefined;
149
153
  linkPreview?: undefined;
150
154
  keyboard?: undefined;
155
+ reactions?: undefined;
151
156
  statusMsg?: undefined;
152
157
  } | {
153
158
  chatId: number;
@@ -181,6 +186,7 @@ export declare const messages: ({
181
186
  filename?: undefined;
182
187
  linkPreview?: undefined;
183
188
  keyboard?: undefined;
189
+ reactions?: undefined;
184
190
  statusMsg?: undefined;
185
191
  } | {
186
192
  chatId: number;
@@ -206,6 +212,7 @@ export declare const messages: ({
206
212
  filename?: undefined;
207
213
  linkPreview?: undefined;
208
214
  keyboard?: undefined;
215
+ reactions?: undefined;
209
216
  statusMsg?: undefined;
210
217
  } | {
211
218
  chatId: number;
@@ -245,6 +252,7 @@ export declare const messages: ({
245
252
  filename?: undefined;
246
253
  linkPreview?: undefined;
247
254
  keyboard?: undefined;
255
+ reactions?: undefined;
248
256
  statusMsg?: undefined;
249
257
  } | {
250
258
  chatId: number;
@@ -276,6 +284,7 @@ export declare const messages: ({
276
284
  filename?: undefined;
277
285
  linkPreview?: undefined;
278
286
  keyboard?: undefined;
287
+ reactions?: undefined;
279
288
  statusMsg?: undefined;
280
289
  } | {
281
290
  chatId: number;
@@ -307,6 +316,7 @@ export declare const messages: ({
307
316
  filename?: undefined;
308
317
  linkPreview?: undefined;
309
318
  keyboard?: undefined;
319
+ reactions?: undefined;
310
320
  statusMsg?: undefined;
311
321
  } | {
312
322
  chatId: number;
@@ -332,6 +342,7 @@ export declare const messages: ({
332
342
  filename?: undefined;
333
343
  linkPreview?: undefined;
334
344
  keyboard?: undefined;
345
+ reactions?: undefined;
335
346
  statusMsg?: undefined;
336
347
  } | {
337
348
  chatId: number;
@@ -365,6 +376,7 @@ export declare const messages: ({
365
376
  filename?: undefined;
366
377
  linkPreview?: undefined;
367
378
  keyboard?: undefined;
379
+ reactions?: undefined;
368
380
  statusMsg?: undefined;
369
381
  } | {
370
382
  chatId: number;
@@ -396,6 +408,7 @@ export declare const messages: ({
396
408
  filename?: undefined;
397
409
  linkPreview?: undefined;
398
410
  keyboard?: undefined;
411
+ reactions?: undefined;
399
412
  statusMsg?: undefined;
400
413
  } | {
401
414
  chatId: number;
@@ -427,6 +440,7 @@ export declare const messages: ({
427
440
  alt?: undefined;
428
441
  linkPreview?: undefined;
429
442
  keyboard?: undefined;
443
+ reactions?: undefined;
430
444
  statusMsg?: undefined;
431
445
  } | {
432
446
  chatId: number;
@@ -464,6 +478,7 @@ export declare const messages: ({
464
478
  filename?: undefined;
465
479
  linkPreview?: undefined;
466
480
  keyboard?: undefined;
481
+ reactions?: undefined;
467
482
  statusMsg?: undefined;
468
483
  } | {
469
484
  chatId: number;
@@ -494,6 +509,7 @@ export declare const messages: ({
494
509
  reply?: undefined;
495
510
  filename?: undefined;
496
511
  keyboard?: undefined;
512
+ reactions?: undefined;
497
513
  statusMsg?: undefined;
498
514
  } | {
499
515
  chatId: number;
@@ -531,6 +547,7 @@ export declare const messages: ({
531
547
  reply?: undefined;
532
548
  filename?: undefined;
533
549
  linkPreview?: undefined;
550
+ reactions?: undefined;
534
551
  statusMsg?: undefined;
535
552
  } | {
536
553
  chatId: number;
@@ -564,6 +581,7 @@ export declare const messages: ({
564
581
  filename?: undefined;
565
582
  linkPreview?: undefined;
566
583
  keyboard?: undefined;
584
+ reactions?: undefined;
567
585
  statusMsg?: undefined;
568
586
  } | {
569
587
  chatId: number;
@@ -597,6 +615,7 @@ export declare const messages: ({
597
615
  filename?: undefined;
598
616
  linkPreview?: undefined;
599
617
  keyboard?: undefined;
618
+ reactions?: undefined;
600
619
  statusMsg?: undefined;
601
620
  } | {
602
621
  chatId: number;
@@ -622,6 +641,7 @@ export declare const messages: ({
622
641
  filename?: undefined;
623
642
  linkPreview?: undefined;
624
643
  keyboard?: undefined;
644
+ reactions?: undefined;
625
645
  statusMsg?: undefined;
626
646
  } | {
627
647
  chatId: number;
@@ -647,6 +667,7 @@ export declare const messages: ({
647
667
  filename?: undefined;
648
668
  linkPreview?: undefined;
649
669
  keyboard?: undefined;
670
+ reactions?: undefined;
650
671
  statusMsg?: undefined;
651
672
  } | {
652
673
  chatId: number;
@@ -675,6 +696,7 @@ export declare const messages: ({
675
696
  reply?: undefined;
676
697
  linkPreview?: undefined;
677
698
  keyboard?: undefined;
699
+ reactions?: undefined;
678
700
  statusMsg?: undefined;
679
701
  } | {
680
702
  chatId: number;
@@ -700,6 +722,7 @@ export declare const messages: ({
700
722
  filename?: undefined;
701
723
  linkPreview?: undefined;
702
724
  keyboard?: undefined;
725
+ reactions?: undefined;
703
726
  statusMsg?: undefined;
704
727
  } | {
705
728
  chatId: number;
@@ -731,6 +754,7 @@ export declare const messages: ({
731
754
  filename?: undefined;
732
755
  linkPreview?: undefined;
733
756
  keyboard?: undefined;
757
+ reactions?: undefined;
734
758
  statusMsg?: undefined;
735
759
  } | {
736
760
  chatId: number;
@@ -759,6 +783,7 @@ export declare const messages: ({
759
783
  filename?: undefined;
760
784
  linkPreview?: undefined;
761
785
  keyboard?: undefined;
786
+ reactions?: undefined;
762
787
  statusMsg?: undefined;
763
788
  } | {
764
789
  chatId: number;
@@ -784,6 +809,7 @@ export declare const messages: ({
784
809
  filename?: undefined;
785
810
  linkPreview?: undefined;
786
811
  keyboard?: undefined;
812
+ reactions?: undefined;
787
813
  statusMsg?: undefined;
788
814
  } | {
789
815
  chatId: number;
@@ -809,6 +835,7 @@ export declare const messages: ({
809
835
  filename?: undefined;
810
836
  linkPreview?: undefined;
811
837
  keyboard?: undefined;
838
+ reactions?: undefined;
812
839
  statusMsg?: undefined;
813
840
  } | {
814
841
  chatId: number;
@@ -834,6 +861,7 @@ export declare const messages: ({
834
861
  filename?: undefined;
835
862
  linkPreview?: undefined;
836
863
  keyboard?: undefined;
864
+ reactions?: undefined;
837
865
  statusMsg?: undefined;
838
866
  } | {
839
867
  chatId: number;
@@ -862,6 +890,7 @@ export declare const messages: ({
862
890
  filename?: undefined;
863
891
  linkPreview?: undefined;
864
892
  keyboard?: undefined;
893
+ reactions?: undefined;
865
894
  statusMsg?: undefined;
866
895
  } | {
867
896
  chatId: number;
@@ -887,6 +916,7 @@ export declare const messages: ({
887
916
  filename?: undefined;
888
917
  linkPreview?: undefined;
889
918
  keyboard?: undefined;
919
+ reactions?: undefined;
890
920
  statusMsg?: undefined;
891
921
  } | {
892
922
  chatId: number;
@@ -912,6 +942,7 @@ export declare const messages: ({
912
942
  filename?: undefined;
913
943
  linkPreview?: undefined;
914
944
  keyboard?: undefined;
945
+ reactions?: undefined;
915
946
  statusMsg?: undefined;
916
947
  } | {
917
948
  chatId: number;
@@ -940,6 +971,7 @@ export declare const messages: ({
940
971
  reply?: undefined;
941
972
  linkPreview?: undefined;
942
973
  keyboard?: undefined;
974
+ reactions?: undefined;
943
975
  statusMsg?: undefined;
944
976
  } | {
945
977
  chatId: number;
@@ -972,6 +1004,7 @@ export declare const messages: ({
972
1004
  alt?: undefined;
973
1005
  reply?: undefined;
974
1006
  linkPreview?: undefined;
1007
+ reactions?: undefined;
975
1008
  statusMsg?: undefined;
976
1009
  } | {
977
1010
  chatId: number;
@@ -1005,6 +1038,7 @@ export declare const messages: ({
1005
1038
  filename?: undefined;
1006
1039
  linkPreview?: undefined;
1007
1040
  keyboard?: undefined;
1041
+ reactions?: undefined;
1008
1042
  statusMsg?: undefined;
1009
1043
  } | {
1010
1044
  chatId: number;
@@ -1030,6 +1064,7 @@ export declare const messages: ({
1030
1064
  filename?: undefined;
1031
1065
  linkPreview?: undefined;
1032
1066
  keyboard?: undefined;
1067
+ reactions?: undefined;
1033
1068
  statusMsg?: undefined;
1034
1069
  } | {
1035
1070
  chatId: number;
@@ -1055,6 +1090,7 @@ export declare const messages: ({
1055
1090
  reply?: undefined;
1056
1091
  linkPreview?: undefined;
1057
1092
  keyboard?: undefined;
1093
+ reactions?: undefined;
1058
1094
  statusMsg?: undefined;
1059
1095
  } | {
1060
1096
  chatId: number;
@@ -1075,6 +1111,14 @@ export declare const messages: ({
1075
1111
  filename: string;
1076
1112
  url?: undefined;
1077
1113
  };
1114
+ reactions: {
1115
+ items: {
1116
+ key: string;
1117
+ count: number;
1118
+ reactedByMe: boolean;
1119
+ }[];
1120
+ meta?: undefined;
1121
+ };
1078
1122
  callDuration?: undefined;
1079
1123
  isMissedCall?: undefined;
1080
1124
  transcript?: undefined;
@@ -1087,6 +1131,41 @@ export declare const messages: ({
1087
1131
  linkPreview?: undefined;
1088
1132
  keyboard?: undefined;
1089
1133
  statusMsg?: undefined;
1134
+ } | {
1135
+ chatId: number;
1136
+ dialogId: string;
1137
+ messageId: string;
1138
+ type: string;
1139
+ url: string;
1140
+ filename: string;
1141
+ text: string;
1142
+ direction: string;
1143
+ status: string;
1144
+ timestamp: string;
1145
+ header: string;
1146
+ subText: string;
1147
+ avatar: string;
1148
+ reactions: {
1149
+ items: {
1150
+ key: string;
1151
+ count: number;
1152
+ reactedByMe: boolean;
1153
+ }[];
1154
+ meta: {
1155
+ mode: string;
1156
+ };
1157
+ };
1158
+ callDuration?: undefined;
1159
+ isMissedCall?: undefined;
1160
+ transcript?: undefined;
1161
+ embed?: undefined;
1162
+ actions?: undefined;
1163
+ views?: undefined;
1164
+ alt?: undefined;
1165
+ reply?: undefined;
1166
+ linkPreview?: undefined;
1167
+ keyboard?: undefined;
1168
+ statusMsg?: undefined;
1090
1169
  } | {
1091
1170
  chatId: number;
1092
1171
  dialogId: string;
@@ -1114,6 +1193,45 @@ export declare const messages: ({
1114
1193
  filename?: undefined;
1115
1194
  linkPreview?: undefined;
1116
1195
  keyboard?: undefined;
1196
+ reactions?: undefined;
1197
+ statusMsg?: undefined;
1198
+ } | {
1199
+ chatId: number;
1200
+ dialogId: string;
1201
+ messageId: string;
1202
+ type: string;
1203
+ text: string;
1204
+ direction: string;
1205
+ status: string;
1206
+ timestamp: string;
1207
+ header: string;
1208
+ subText: string;
1209
+ avatar: string;
1210
+ embed: {
1211
+ type: string;
1212
+ url: string;
1213
+ };
1214
+ reactions: {
1215
+ items: {
1216
+ key: string;
1217
+ count: number;
1218
+ reactedByMe: boolean;
1219
+ }[];
1220
+ meta: {
1221
+ mode: string;
1222
+ };
1223
+ };
1224
+ callDuration?: undefined;
1225
+ isMissedCall?: undefined;
1226
+ transcript?: undefined;
1227
+ actions?: undefined;
1228
+ views?: undefined;
1229
+ url?: undefined;
1230
+ alt?: undefined;
1231
+ reply?: undefined;
1232
+ filename?: undefined;
1233
+ linkPreview?: undefined;
1234
+ keyboard?: undefined;
1117
1235
  statusMsg?: undefined;
1118
1236
  } | {
1119
1237
  chatId: number;
@@ -1140,6 +1258,7 @@ export declare const messages: ({
1140
1258
  filename?: undefined;
1141
1259
  linkPreview?: undefined;
1142
1260
  keyboard?: undefined;
1261
+ reactions?: undefined;
1143
1262
  } | {
1144
1263
  chatId: number;
1145
1264
  dialogId: string;
@@ -1171,12 +1290,14 @@ export declare const messages: ({
1171
1290
  filename?: undefined;
1172
1291
  linkPreview?: undefined;
1173
1292
  keyboard?: undefined;
1293
+ reactions?: undefined;
1174
1294
  } | {
1175
1295
  chatId: number;
1176
1296
  type: string;
1177
1297
  url: string;
1178
1298
  alt: string;
1179
1299
  header: string;
1300
+ messageId: string;
1180
1301
  text: string;
1181
1302
  direction: string;
1182
1303
  subText: string;
@@ -1184,7 +1305,6 @@ export declare const messages: ({
1184
1305
  status: string;
1185
1306
  avatar: string;
1186
1307
  dialogId?: undefined;
1187
- messageId?: undefined;
1188
1308
  callDuration?: undefined;
1189
1309
  isMissedCall?: undefined;
1190
1310
  transcript?: undefined;
@@ -1195,6 +1315,139 @@ export declare const messages: ({
1195
1315
  filename?: undefined;
1196
1316
  linkPreview?: undefined;
1197
1317
  keyboard?: undefined;
1318
+ reactions?: undefined;
1319
+ statusMsg?: undefined;
1320
+ } | {
1321
+ chatId: number;
1322
+ dialogId: string;
1323
+ messageId: string;
1324
+ type: string;
1325
+ text: string;
1326
+ direction: string;
1327
+ status: string;
1328
+ timestamp: string;
1329
+ header: string;
1330
+ subText: string;
1331
+ avatar: string;
1332
+ reactions: {
1333
+ items: {
1334
+ key: string;
1335
+ count: number;
1336
+ reactedByMe: boolean;
1337
+ }[];
1338
+ meta: {
1339
+ mode: string;
1340
+ };
1341
+ };
1342
+ callDuration?: undefined;
1343
+ isMissedCall?: undefined;
1344
+ transcript?: undefined;
1345
+ embed?: undefined;
1346
+ actions?: undefined;
1347
+ views?: undefined;
1348
+ url?: undefined;
1349
+ alt?: undefined;
1350
+ reply?: undefined;
1351
+ filename?: undefined;
1352
+ linkPreview?: undefined;
1353
+ keyboard?: undefined;
1354
+ statusMsg?: undefined;
1355
+ } | {
1356
+ chatId: number;
1357
+ dialogId: string;
1358
+ messageId: string;
1359
+ type: string;
1360
+ url: string;
1361
+ alt: string;
1362
+ direction: string;
1363
+ status: string;
1364
+ timestamp: string;
1365
+ header: string;
1366
+ subText: string;
1367
+ avatar: string;
1368
+ callDuration?: undefined;
1369
+ isMissedCall?: undefined;
1370
+ transcript?: undefined;
1371
+ text?: undefined;
1372
+ embed?: undefined;
1373
+ actions?: undefined;
1374
+ views?: undefined;
1375
+ reply?: undefined;
1376
+ filename?: undefined;
1377
+ linkPreview?: undefined;
1378
+ keyboard?: undefined;
1379
+ reactions?: undefined;
1380
+ statusMsg?: undefined;
1381
+ } | {
1382
+ chatId: number;
1383
+ dialogId: string;
1384
+ messageId: string;
1385
+ type: string;
1386
+ url: string;
1387
+ alt: string;
1388
+ direction: string;
1389
+ status: string;
1390
+ statusMsg: string;
1391
+ timestamp: string;
1392
+ header: string;
1393
+ subText: string;
1394
+ avatar: string;
1395
+ reactions: {
1396
+ items: ({
1397
+ key: string;
1398
+ count: number;
1399
+ reactedByMe?: undefined;
1400
+ } | {
1401
+ key: string;
1402
+ count: number;
1403
+ reactedByMe: boolean;
1404
+ })[];
1405
+ meta: {
1406
+ mode: string;
1407
+ };
1408
+ };
1409
+ callDuration?: undefined;
1410
+ isMissedCall?: undefined;
1411
+ transcript?: undefined;
1412
+ text?: undefined;
1413
+ embed?: undefined;
1414
+ actions?: undefined;
1415
+ views?: undefined;
1416
+ reply?: undefined;
1417
+ filename?: undefined;
1418
+ linkPreview?: undefined;
1419
+ keyboard?: undefined;
1420
+ } | {
1421
+ chatId: number;
1422
+ dialogId: string;
1423
+ messageId: string;
1424
+ type: string;
1425
+ url: string;
1426
+ text: string;
1427
+ direction: string;
1428
+ status: string;
1429
+ subText: string;
1430
+ timestamp: string;
1431
+ header: string;
1432
+ avatar: string;
1433
+ reactions: {
1434
+ items: {
1435
+ key: string;
1436
+ count: number;
1437
+ }[];
1438
+ meta?: undefined;
1439
+ };
1440
+ callDuration?: undefined;
1441
+ isMissedCall?: undefined;
1442
+ transcript?: undefined;
1443
+ embed?: undefined;
1444
+ actions?: undefined;
1445
+ views?: undefined;
1446
+ alt?: undefined;
1447
+ reply?: undefined;
1448
+ filename?: undefined;
1449
+ linkPreview?: undefined;
1450
+ keyboard?: undefined;
1198
1451
  statusMsg?: undefined;
1199
1452
  } | {
1200
1453
  messageId: number;
@@ -1220,6 +1473,7 @@ export declare const messages: ({
1220
1473
  filename?: undefined;
1221
1474
  linkPreview?: undefined;
1222
1475
  keyboard?: undefined;
1476
+ reactions?: undefined;
1223
1477
  statusMsg?: undefined;
1224
1478
  } | {
1225
1479
  messageId: number;
@@ -1251,5 +1505,6 @@ export declare const messages: ({
1251
1505
  filename?: undefined;
1252
1506
  linkPreview?: undefined;
1253
1507
  keyboard?: undefined;
1508
+ reactions?: undefined;
1254
1509
  statusMsg?: undefined;
1255
1510
  })[];
@@ -3,6 +3,7 @@ import AudioMessage from '../AudioMessage.vue';
3
3
  declare const meta: Meta<typeof AudioMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof AudioMessage>;
6
+ export declare const Default: Story;
6
7
  export declare const LeftMessage: Story;
7
8
  export declare const LeftMessageWithActions: Story;
8
9
  export declare const RightMessage: Story;
@@ -13,6 +14,9 @@ export declare const RightMessageWithAvatarAndSubtext: Story;
13
14
  export declare const RightMessageSent: Story;
14
15
  export declare const RightMessageReceived: Story;
15
16
  export declare const RightMessageRead: Story;
17
+ export declare const RightMessagePending: Story;
18
+ export declare const RightMessageError: Story;
19
+ export declare const RightMessageErrorWithStatusMsg: Story;
16
20
  export declare const RightMessageWithActions: Story;
17
21
  export declare const RightMessageWithActionsAndText: Story;
18
22
  export declare const LeftMessageWithActionsAndText: Story;
@@ -3,6 +3,7 @@ import CallMessage from '../CallMessage.vue';
3
3
  declare const meta: Meta<typeof CallMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof CallMessage>;
6
+ export declare const Default: Story;
6
7
  export declare const NoAnswerLeft: Story;
7
8
  export declare const NoAnswerRight: Story;
8
9
  export declare const NoAnswerLeftWithAvatar: Story;
@@ -11,6 +12,9 @@ export declare const NoAnswerLeftWithAvatarAndSubtext: Story;
11
12
  export declare const NoAnswerRightWithAvatarAndSubtext: Story;
12
13
  export declare const CallHappenedLeft: Story;
13
14
  export declare const CallHappenedRight: Story;
15
+ export declare const RightCallMissed: Story;
16
+ export declare const RightCallSuccess: Story;
17
+ export declare const RightCallLong: Story;
14
18
  export declare const RecallLeft: Story;
15
19
  export declare const RecallRight: Story;
16
20
  export declare const LeftCallWithTranscript: Story;
@@ -3,4 +3,5 @@ import DateMessage from '../DateMessage.vue';
3
3
  declare const meta: Meta<typeof DateMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof DateMessage>;
6
+ export declare const Default: Story;
6
7
  export declare const Today: Story;
@@ -3,6 +3,7 @@ import FileMessage from '../FileMessage.vue';
3
3
  declare const meta: Meta<typeof FileMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof FileMessage>;
6
+ export declare const Default: Story;
6
7
  export declare const LeftFileMessage: Story;
7
8
  export declare const LeftFileMessageWithSubtext: Story;
8
9
  export declare const LeftFileMessageWithActions: Story;
@@ -14,6 +15,8 @@ export declare const RightFileMessage: Story;
14
15
  export declare const RightFileMessageStatusSent: Story;
15
16
  export declare const RightFileMessageStatusReceived: Story;
16
17
  export declare const RightFileMessageStatusRead: Story;
18
+ export declare const RightFileMessageStatusPending: Story;
19
+ export declare const RightFileMessageStatusError: Story;
17
20
  export declare const RightFileMessageWithSubtext: Story;
18
21
  export declare const RightFileMessageWithActions: Story;
19
22
  export declare const RightFileMessageWithActionsAndText: Story;
@@ -3,6 +3,7 @@ import ImageMessage from '../ImageMessage.vue';
3
3
  declare const meta: Meta<typeof ImageMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof ImageMessage>;
6
+ export declare const Default: Story;
6
7
  export declare const LeftImageMessage: Story;
7
8
  export declare const LeftImageMessageWithText: Story;
8
9
  export declare const LeftImageMessageWithTextAndLink: Story;
@@ -21,6 +22,8 @@ export declare const RightImageMessageWithSubtext: Story;
21
22
  export declare const RightImageMessageStatusSent: Story;
22
23
  export declare const RightImageMessageStatusReceived: Story;
23
24
  export declare const RightImageMessageStatusRead: Story;
25
+ export declare const RightImageMessageStatusPending: Story;
26
+ export declare const RightImageMessageStatusError: Story;
24
27
  export declare const RightImageMessageWithActions: Story;
25
28
  export declare const LeftMessageWithReplyText: Story;
26
29
  export declare const RightMessageWithReplyText: Story;
@@ -0,0 +1,61 @@
1
+ import 'vue3-emoji-picker/css';
2
+ import type { MessageReactions } from '@/types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ reactions: {
5
+ type: () => MessageReactions | undefined;
6
+ required: false;
7
+ default: undefined;
8
+ };
9
+ messageId: {
10
+ type: (StringConstructor | NumberConstructor)[];
11
+ required: true;
12
+ };
13
+ readonly: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ "toggle-reaction": (payload: {
19
+ messageId: string | number;
20
+ key: string;
21
+ }) => any;
22
+ "add-reaction": (payload: {
23
+ messageId: string | number;
24
+ key: string;
25
+ }) => any;
26
+ "remove-reaction": (payload: {
27
+ messageId: string | number;
28
+ key: string;
29
+ }) => any;
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ reactions: {
32
+ type: () => MessageReactions | undefined;
33
+ required: false;
34
+ default: undefined;
35
+ };
36
+ messageId: {
37
+ type: (StringConstructor | NumberConstructor)[];
38
+ required: true;
39
+ };
40
+ readonly: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ }>> & Readonly<{
45
+ "onToggle-reaction"?: ((payload: {
46
+ messageId: string | number;
47
+ key: string;
48
+ }) => any) | undefined;
49
+ "onAdd-reaction"?: ((payload: {
50
+ messageId: string | number;
51
+ key: string;
52
+ }) => any) | undefined;
53
+ "onRemove-reaction"?: ((payload: {
54
+ messageId: string | number;
55
+ key: string;
56
+ }) => any) | undefined;
57
+ }>, {
58
+ reactions: MessageReactions | undefined;
59
+ readonly: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export { findFeedContainer, isRightMessage, calculatePanelPosition, calculateFixedPanelPosition, } from './usePositioning';
2
+ export { updateLocalReactionsAdd, updateLocalReactionsRemove, updateLocalReactionsToggle, } from './useReactions';
3
+ export { useReactionsState } from './useReactionsState';
4
+ export { useReactionsPanel } from './useReactionsPanel';