@yonus_amire01/chat 2.0.0 → 2.1.1

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 (78) hide show
  1. package/dist/chat.css +1 -1
  2. package/dist/index.cjs +5 -5
  3. package/dist/index.mjs +6853 -77707
  4. package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts +1 -1
  5. package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts.map +1 -1
  6. package/dist/types/app/components/call/CallPageOverlay.vue.d.ts +1 -1
  7. package/dist/types/app/components/call/CallPageOverlay.vue.d.ts.map +1 -1
  8. package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts +1 -1
  9. package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +1 -1
  10. package/dist/types/app/components/chat/ChatBubble.vue.d.ts +1 -1
  11. package/dist/types/app/components/chat/ChatBubble.vue.d.ts.map +1 -1
  12. package/dist/types/app/components/chat/ChatInput.vue.d.ts.map +1 -1
  13. package/dist/types/app/components/chat/ChatMessages.vue.d.ts +1 -1
  14. package/dist/types/app/components/chat/ChatMessages.vue.d.ts.map +1 -1
  15. package/dist/types/app/components/chat/ChatPageBar.vue.d.ts +1 -1
  16. package/dist/types/app/components/chat/ChatPageBar.vue.d.ts.map +1 -1
  17. package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts +1 -1
  18. package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts.map +1 -1
  19. package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +1 -1
  20. package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +1 -1
  21. package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +1 -1
  22. package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +1 -1
  23. package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +1 -1
  24. package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts +2 -2
  25. package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts +1 -1
  26. package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -1
  27. package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts +1 -1
  28. package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts.map +1 -1
  29. package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts.map +1 -1
  30. package/dist/types/app/components/general/LoadingStatus.vue.d.ts +1 -1
  31. package/dist/types/app/components/general/LoadingStatus.vue.d.ts.map +1 -1
  32. package/dist/types/app/components/global/BIcon.vue.d.ts.map +1 -1
  33. package/dist/types/app/components/global/BInput.vue.d.ts +8 -8
  34. package/dist/types/app/components/global/BInput.vue.d.ts.map +1 -1
  35. package/dist/types/app/components/global/BModal.vue.d.ts +2 -2
  36. package/dist/types/app/components/global/BPopup.vue.d.ts.map +1 -1
  37. package/dist/types/app/components/global/BSelect.vue.d.ts +1 -1
  38. package/dist/types/app/components/global/BSelect.vue.d.ts.map +1 -1
  39. package/dist/types/app/components/global/BToast.vue.d.ts.map +1 -1
  40. package/dist/types/app/composables/useDate.d.ts +1 -18
  41. package/dist/types/app/composables/useDate.d.ts.map +1 -1
  42. package/dist/types/app/composables/useLocalI18n.d.ts +3 -0
  43. package/dist/types/app/composables/useLocalI18n.d.ts.map +1 -1
  44. package/dist/types/app/index.d.ts +6 -2
  45. package/dist/types/app/index.d.ts.map +1 -1
  46. package/dist/types/app/stores/callStore.d.ts +13 -49
  47. package/dist/types/app/stores/callStore.d.ts.map +1 -1
  48. package/dist/types/app/stores/chatStore.d.ts +25 -39
  49. package/dist/types/app/stores/chatStore.d.ts.map +1 -1
  50. package/dist/types/app/stores/mediaStore.d.ts +18 -0
  51. package/dist/types/app/stores/mediaStore.d.ts.map +1 -0
  52. package/dist/types/app/stores/messageStores.d.ts +127 -146
  53. package/dist/types/app/stores/messageStores.d.ts.map +1 -1
  54. package/dist/types/app/stores/profileStore.d.ts +45 -0
  55. package/dist/types/app/stores/profileStore.d.ts.map +1 -0
  56. package/dist/types/app/types/index.d.ts +149 -0
  57. package/dist/types/app/types/index.d.ts.map +1 -0
  58. package/dist/types/app/utils/format.d.ts +0 -48
  59. package/dist/types/app/utils/format.d.ts.map +1 -1
  60. package/package.json +1 -1
  61. package/dist/types/app/composables/useLocale.d.ts +0 -12
  62. package/dist/types/app/composables/useLocale.d.ts.map +0 -1
  63. package/dist/types/app/composables/useTheme.d.ts +0 -4
  64. package/dist/types/app/composables/useTheme.d.ts.map +0 -1
  65. package/dist/types/app/composables/useValidation.d.ts +0 -20
  66. package/dist/types/app/composables/useValidation.d.ts.map +0 -1
  67. package/dist/types/app/composables/useWindowSize.d.ts +0 -5
  68. package/dist/types/app/composables/useWindowSize.d.ts.map +0 -1
  69. package/dist/types/app/types/address.d.ts +0 -26
  70. package/dist/types/app/types/address.d.ts.map +0 -1
  71. package/dist/types/app/types/calendar.d.ts +0 -87
  72. package/dist/types/app/types/calendar.d.ts.map +0 -1
  73. package/dist/types/app/types/call.d.ts +0 -10
  74. package/dist/types/app/types/call.d.ts.map +0 -1
  75. package/dist/types/app/types/chat.d.ts +0 -52
  76. package/dist/types/app/types/chat.d.ts.map +0 -1
  77. package/dist/types/app/types/theme.d.ts +0 -11
  78. package/dist/types/app/types/theme.d.ts.map +0 -1
@@ -1,18 +1,4 @@
1
- import { Contact, StateKeys, UserRoleKey } from '../types/chat';
2
- export interface FetchContactsParams {
3
- page: number;
4
- pageSize: number;
5
- state: StateKeys;
6
- search?: string;
7
- }
8
- export interface ContactsPage {
9
- data: Contact[];
10
- hasNextPage: boolean;
11
- }
12
- export interface ChatHandlers {
13
- fetchConversations(params: FetchContactsParams): Promise<ContactsPage>;
14
- deleteConversation(id: string): Promise<void>;
15
- }
1
+ import { ChatHandlers, Contact, StateKeys, UserRoleKey } from '../types';
16
2
  export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<{
17
3
  currentUserId: globalThis.Ref<string, string>;
18
4
  chosenRole: globalThis.Ref<UserRoleKey, UserRoleKey>;
@@ -34,7 +20,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
34
20
  id: string;
35
21
  conversationId: string;
36
22
  date: Date;
37
- type: import('../types/chat').MessageType;
23
+ type: import('../types').MessageType;
38
24
  text?: string;
39
25
  imageUrl?: string[];
40
26
  fileUrl?: string;
@@ -71,7 +57,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
71
57
  id: string;
72
58
  conversationId: string;
73
59
  date: Date;
74
- type: import('../types/chat').MessageType;
60
+ type: import('../types').MessageType;
75
61
  text?: string;
76
62
  imageUrl?: string[];
77
63
  fileUrl?: string;
@@ -108,7 +94,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
108
94
  id: string;
109
95
  conversationId: string;
110
96
  date: Date;
111
- type: import('../types/chat').MessageType;
97
+ type: import('../types').MessageType;
112
98
  text?: string;
113
99
  imageUrl?: string[];
114
100
  fileUrl?: string;
@@ -145,7 +131,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
145
131
  id: string;
146
132
  conversationId: string;
147
133
  date: Date;
148
- type: import('../types/chat').MessageType;
134
+ type: import('../types').MessageType;
149
135
  text?: string;
150
136
  imageUrl?: string[];
151
137
  fileUrl?: string;
@@ -188,7 +174,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
188
174
  id: string;
189
175
  conversationId: string;
190
176
  date: Date;
191
- type: import('../types/chat').MessageType;
177
+ type: import('../types').MessageType;
192
178
  text?: string;
193
179
  imageUrl?: string[];
194
180
  fileUrl?: string;
@@ -225,7 +211,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
225
211
  id: string;
226
212
  conversationId: string;
227
213
  date: Date;
228
- type: import('../types/chat').MessageType;
214
+ type: import('../types').MessageType;
229
215
  text?: string;
230
216
  imageUrl?: string[];
231
217
  fileUrl?: string;
@@ -262,7 +248,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
262
248
  id: string;
263
249
  conversationId: string;
264
250
  date: Date;
265
- type: import('../types/chat').MessageType;
251
+ type: import('../types').MessageType;
266
252
  text?: string;
267
253
  imageUrl?: string[];
268
254
  fileUrl?: string;
@@ -299,7 +285,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
299
285
  id: string;
300
286
  conversationId: string;
301
287
  date: Date;
302
- type: import('../types/chat').MessageType;
288
+ type: import('../types').MessageType;
303
289
  text?: string;
304
290
  imageUrl?: string[];
305
291
  fileUrl?: string;
@@ -356,7 +342,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
356
342
  id: string;
357
343
  conversationId: string;
358
344
  date: Date;
359
- type: import('../types/chat').MessageType;
345
+ type: import('../types').MessageType;
360
346
  text?: string;
361
347
  imageUrl?: string[];
362
348
  fileUrl?: string;
@@ -393,7 +379,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
393
379
  id: string;
394
380
  conversationId: string;
395
381
  date: Date;
396
- type: import('../types/chat').MessageType;
382
+ type: import('../types').MessageType;
397
383
  text?: string;
398
384
  imageUrl?: string[];
399
385
  fileUrl?: string;
@@ -430,7 +416,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
430
416
  id: string;
431
417
  conversationId: string;
432
418
  date: Date;
433
- type: import('../types/chat').MessageType;
419
+ type: import('../types').MessageType;
434
420
  text?: string;
435
421
  imageUrl?: string[];
436
422
  fileUrl?: string;
@@ -467,7 +453,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
467
453
  id: string;
468
454
  conversationId: string;
469
455
  date: Date;
470
- type: import('../types/chat').MessageType;
456
+ type: import('../types').MessageType;
471
457
  text?: string;
472
458
  imageUrl?: string[];
473
459
  fileUrl?: string;
@@ -510,7 +496,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
510
496
  id: string;
511
497
  conversationId: string;
512
498
  date: Date;
513
- type: import('../types/chat').MessageType;
499
+ type: import('../types').MessageType;
514
500
  text?: string;
515
501
  imageUrl?: string[];
516
502
  fileUrl?: string;
@@ -547,7 +533,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
547
533
  id: string;
548
534
  conversationId: string;
549
535
  date: Date;
550
- type: import('../types/chat').MessageType;
536
+ type: import('../types').MessageType;
551
537
  text?: string;
552
538
  imageUrl?: string[];
553
539
  fileUrl?: string;
@@ -584,7 +570,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
584
570
  id: string;
585
571
  conversationId: string;
586
572
  date: Date;
587
- type: import('../types/chat').MessageType;
573
+ type: import('../types').MessageType;
588
574
  text?: string;
589
575
  imageUrl?: string[];
590
576
  fileUrl?: string;
@@ -621,7 +607,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
621
607
  id: string;
622
608
  conversationId: string;
623
609
  date: Date;
624
- type: import('../types/chat').MessageType;
610
+ type: import('../types').MessageType;
625
611
  text?: string;
626
612
  imageUrl?: string[];
627
613
  fileUrl?: string;
@@ -678,7 +664,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
678
664
  id: string;
679
665
  conversationId: string;
680
666
  date: Date;
681
- type: import('../types/chat').MessageType;
667
+ type: import('../types').MessageType;
682
668
  text?: string;
683
669
  imageUrl?: string[];
684
670
  fileUrl?: string;
@@ -715,7 +701,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
715
701
  id: string;
716
702
  conversationId: string;
717
703
  date: Date;
718
- type: import('../types/chat').MessageType;
704
+ type: import('../types').MessageType;
719
705
  text?: string;
720
706
  imageUrl?: string[];
721
707
  fileUrl?: string;
@@ -752,7 +738,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
752
738
  id: string;
753
739
  conversationId: string;
754
740
  date: Date;
755
- type: import('../types/chat').MessageType;
741
+ type: import('../types').MessageType;
756
742
  text?: string;
757
743
  imageUrl?: string[];
758
744
  fileUrl?: string;
@@ -789,7 +775,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
789
775
  id: string;
790
776
  conversationId: string;
791
777
  date: Date;
792
- type: import('../types/chat').MessageType;
778
+ type: import('../types').MessageType;
793
779
  text?: string;
794
780
  imageUrl?: string[];
795
781
  fileUrl?: string;
@@ -832,7 +818,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
832
818
  id: string;
833
819
  conversationId: string;
834
820
  date: Date;
835
- type: import('../types/chat').MessageType;
821
+ type: import('../types').MessageType;
836
822
  text?: string;
837
823
  imageUrl?: string[];
838
824
  fileUrl?: string;
@@ -869,7 +855,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
869
855
  id: string;
870
856
  conversationId: string;
871
857
  date: Date;
872
- type: import('../types/chat').MessageType;
858
+ type: import('../types').MessageType;
873
859
  text?: string;
874
860
  imageUrl?: string[];
875
861
  fileUrl?: string;
@@ -906,7 +892,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
906
892
  id: string;
907
893
  conversationId: string;
908
894
  date: Date;
909
- type: import('../types/chat').MessageType;
895
+ type: import('../types').MessageType;
910
896
  text?: string;
911
897
  imageUrl?: string[];
912
898
  fileUrl?: string;
@@ -943,7 +929,7 @@ export declare const useChatStore: import('pinia').StoreDefinition<"chat", Pick<
943
929
  id: string;
944
930
  conversationId: string;
945
931
  date: Date;
946
- type: import('../types/chat').MessageType;
932
+ type: import('../types').MessageType;
947
933
  text?: string;
948
934
  imageUrl?: string[];
949
935
  fileUrl?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"chatStore.d.ts","sourceRoot":"","sources":["../../../../app/stores/chatStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG/D,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MA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;;;;;;;;;;;;;;qBAnD5C,OAAO;kBACV,MAAM;yBACC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAFX,OAAO;kBACV,MAAM;yBACC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAFX,OAAO;kBACV,MAAM;yBACC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAFX,OAAO;kBACV,MAAM;yBACC,OAAO;;;cAHd,OAAO,EAAE;iBACN,OAAO;cACV,MAAM;qBACC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAFX,OAAO;kBACV,MAAM;yBACC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAFX,OAAO;kBACV,MAAM;yBACC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAFX,OAAO;kBACV,MAAM;yBACC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAFX,OAAO;kBACV,MAAM;yBACC,OAAO;;;;;;;;uBAzBA,YAAY;0BAmCT,MAAM,GAAG,IAAI;;;6BAoFJ,MAAM;uCAtE7B,SAAS;2BAmCY,SAAS;yBAOjB,MAAM,KAAG,OAAO,GAAG,IAAI;mCAjBb,SAAS,KAAG,OAAO,EAAE;kLAqH3D,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { MediaDownloadOptions, MediaHandlers } from '../types';
2
+ export declare const useMediaStore: import('pinia').StoreDefinition<"media", Pick<{
3
+ setHandlers: (val: MediaHandlers) => void;
4
+ fetchFileSize: (url: string) => Promise<number | null>;
5
+ getCachedBlob: (url: string) => Promise<Blob | null>;
6
+ download: (url: string, opts?: MediaDownloadOptions) => Promise<Blob>;
7
+ }, never>, Pick<{
8
+ setHandlers: (val: MediaHandlers) => void;
9
+ fetchFileSize: (url: string) => Promise<number | null>;
10
+ getCachedBlob: (url: string) => Promise<Blob | null>;
11
+ download: (url: string, opts?: MediaDownloadOptions) => Promise<Blob>;
12
+ }, never>, Pick<{
13
+ setHandlers: (val: MediaHandlers) => void;
14
+ fetchFileSize: (url: string) => Promise<number | null>;
15
+ getCachedBlob: (url: string) => Promise<Blob | null>;
16
+ download: (url: string, opts?: MediaDownloadOptions) => Promise<Blob>;
17
+ }, "setHandlers" | "fetchFileSize" | "getCachedBlob" | "download">>;
18
+ //# sourceMappingURL=mediaStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mediaStore.d.ts","sourceRoot":"","sources":["../../../../app/stores/mediaStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAe9D,eAAO,MAAM,aAAa;uBAGE,aAAa;yBA4BX,MAAM,KAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;yBAxBzB,MAAM,KAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;oBA4BxD,MAAM,SACJ,oBAAoB,KAC1B,OAAO,CAAC,IAAI,CAAC;;uBAlCU,aAAa;yBA4BX,MAAM,KAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;yBAxBzB,MAAM,KAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;oBA4BxD,MAAM,SACJ,oBAAoB,KAC1B,OAAO,CAAC,IAAI,CAAC;;uBAlCU,aAAa;yBA4BX,MAAM,KAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;yBAxBzB,MAAM,KAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;oBA4BxD,MAAM,SACJ,oBAAoB,KAC1B,OAAO,CAAC,IAAI,CAAC;mEAiBhB,CAAC"}