@bcc-code/vue-bcc-chat-ui 6.5.0 → 7.0.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 (80) hide show
  1. package/dist/assets/index-B_y7vs2y.js +12519 -0
  2. package/dist/assets/index-uEhSMl7W.css +1 -0
  3. package/dist/assets/primeicons-C6QP2o4f.woff2 +0 -0
  4. package/dist/assets/primeicons-DMOk5skT.eot +0 -0
  5. package/dist/assets/primeicons-Dr5RGzOO.svg +345 -0
  6. package/dist/assets/primeicons-MpK4pl85.ttf +0 -0
  7. package/dist/assets/primeicons-WjwUDZjB.woff +0 -0
  8. package/dist/assets/web-Cp3vw--c.js +1 -0
  9. package/dist/assets/web-DSc1BjG7.js +1 -0
  10. package/dist/index.html +13 -0
  11. package/package.json +42 -51
  12. package/README.md +0 -89
  13. package/dist/App.vue.d.ts +0 -2
  14. package/dist/chat/accessToken.d.ts +0 -3
  15. package/dist/chat/bccuiExtension.d.ts +0 -7
  16. package/dist/chat/cacheScope.d.ts +0 -13
  17. package/dist/chat/captionedAttachment.d.ts +0 -7
  18. package/dist/chat/captionedAttachmentExtension.d.ts +0 -7
  19. package/dist/chat/cometChatPatches.d.ts +0 -3
  20. package/dist/chat/connection.d.ts +0 -14
  21. package/dist/chat/data.d.ts +0 -24
  22. package/dist/chat/environment.d.ts +0 -3
  23. package/dist/chat/index.d.ts +0 -453
  24. package/dist/chat/logger.d.ts +0 -12
  25. package/dist/chat/login.d.ts +0 -14
  26. package/dist/chat/message.d.ts +0 -15
  27. package/dist/chat/replyExtension.d.ts +0 -26
  28. package/dist/chat/replyStyle.d.ts +0 -30
  29. package/dist/chat/rescheduleExtension.d.ts +0 -22
  30. package/dist/chat/scheduledMessage.d.ts +0 -4
  31. package/dist/chat/styleFix.d.ts +0 -14
  32. package/dist/chat/theme.d.ts +0 -408
  33. package/dist/chat/translations.d.ts +0 -3
  34. package/dist/chat/types.d.ts +0 -123
  35. package/dist/chat/uiKit.d.ts +0 -10
  36. package/dist/component-overrides/BccBubbleWrapper.vue.d.ts +0 -156
  37. package/dist/component-overrides/CometChatMessageListOverride.vue.d.ts +0 -2
  38. package/dist/components/BccAttachmentBox.vue.d.ts +0 -29
  39. package/dist/components/BccAttachmentPreview.vue.d.ts +0 -23
  40. package/dist/components/BccChatMessageBubble.vue.d.ts +0 -99
  41. package/dist/components/BccChatMessageList.vue.d.ts +0 -82
  42. package/dist/components/BccChatMessages.vue.d.ts +0 -33
  43. package/dist/components/BccChatSendButton.vue.d.ts +0 -4
  44. package/dist/components/BccCometChatFullScreenViewer.vue.d.ts +0 -24
  45. package/dist/components/BccFileBubble.vue.d.ts +0 -70
  46. package/dist/components/BccImageBubble.vue.d.ts +0 -27
  47. package/dist/components/BccReplyBox.vue.d.ts +0 -36
  48. package/dist/components/BccReplyPreview.vue.d.ts +0 -30
  49. package/dist/components/BccScheduledMessageIcon.vue.d.ts +0 -2
  50. package/dist/components/BccScheduledMessageModal.vue.d.ts +0 -31
  51. package/dist/components/BccScheduledMessages.vue.d.ts +0 -25
  52. package/dist/components/BccScheduledSendButton.vue.d.ts +0 -14
  53. package/dist/index.d.ts +0 -4
  54. package/dist/main.d.ts +0 -1
  55. package/dist/offline/cometChatAPIInterceptor.d.ts +0 -2
  56. package/dist/offline/cometChatWSInterceptor.d.ts +0 -2
  57. package/dist/offline/connectivity.d.ts +0 -5
  58. package/dist/offline/failedSendingRetry.d.ts +0 -4
  59. package/dist/offline/index.d.ts +0 -10
  60. package/dist/offline/offlineStoreLocalStorage.d.ts +0 -32
  61. package/dist/offline/types.d.ts +0 -69
  62. package/dist/vite.svg +0 -1
  63. package/dist/vue-bcc-chat-ui.css +0 -1
  64. package/dist/vue-bcc-chat-ui.js +0 -86486
  65. package/dist/vue-bcc-chat-ui.js.map +0 -1
  66. package/src/components/BccAttachmentBox.vue +0 -133
  67. package/src/components/BccAttachmentPreview.vue +0 -57
  68. package/src/components/BccChatMessageBubble.vue +0 -219
  69. package/src/components/BccChatMessageList.vue +0 -488
  70. package/src/components/BccChatMessages.vue +0 -212
  71. package/src/components/BccChatSendButton.vue +0 -91
  72. package/src/components/BccCometChatFullScreenViewer.vue +0 -118
  73. package/src/components/BccFileBubble.vue +0 -137
  74. package/src/components/BccImageBubble.vue +0 -75
  75. package/src/components/BccReplyBox.vue +0 -141
  76. package/src/components/BccReplyPreview.vue +0 -113
  77. package/src/components/BccScheduledMessageIcon.vue +0 -65
  78. package/src/components/BccScheduledMessageModal.vue +0 -70
  79. package/src/components/BccScheduledMessages.vue +0 -125
  80. package/src/components/BccScheduledSendButton.vue +0 -118
@@ -1,408 +0,0 @@
1
- import { CometChatFont, CometChatTheme } from '@cometchat/uikit-resources';
2
- import { ThemeMode } from './types';
3
- export declare const theme: import('vue').Ref<{
4
- palette: {
5
- mode: string;
6
- background: {
7
- light?: string | undefined;
8
- dark?: string | undefined;
9
- };
10
- primary: {
11
- light?: string | undefined;
12
- dark?: string | undefined;
13
- };
14
- primary150: {
15
- light?: string | undefined;
16
- dark?: string | undefined;
17
- };
18
- primary500: {
19
- light?: string | undefined;
20
- dark?: string | undefined;
21
- };
22
- error: {
23
- light?: string | undefined;
24
- dark?: string | undefined;
25
- };
26
- accent: {
27
- light?: string | undefined;
28
- dark?: string | undefined;
29
- };
30
- accent50: {
31
- light?: string | undefined;
32
- dark?: string | undefined;
33
- };
34
- accent100: {
35
- light?: string | undefined;
36
- dark?: string | undefined;
37
- };
38
- accent200: {
39
- light?: string | undefined;
40
- dark?: string | undefined;
41
- };
42
- accent300: {
43
- light?: string | undefined;
44
- dark?: string | undefined;
45
- };
46
- accent400: {
47
- light?: string | undefined;
48
- dark?: string | undefined;
49
- };
50
- accent500: {
51
- light?: string | undefined;
52
- dark?: string | undefined;
53
- };
54
- accent600: {
55
- light?: string | undefined;
56
- dark?: string | undefined;
57
- };
58
- accent700: {
59
- light?: string | undefined;
60
- dark?: string | undefined;
61
- };
62
- accent800: {
63
- light?: string | undefined;
64
- dark?: string | undefined;
65
- };
66
- accent900: {
67
- light?: string | undefined;
68
- dark?: string | undefined;
69
- };
70
- success: {
71
- light?: string | undefined;
72
- dark?: string | undefined;
73
- };
74
- secondary: {
75
- light?: string | undefined;
76
- dark?: string | undefined;
77
- };
78
- tertiary: {
79
- light?: string | undefined;
80
- dark?: string | undefined;
81
- };
82
- getAccent: (mode?: string) => string | undefined;
83
- getAccent50: (mode?: string) => string | undefined;
84
- getAccent100: (mode?: string) => string | undefined;
85
- getAccent200: (mode?: string) => string | undefined;
86
- getAccent300: (mode?: string) => string | undefined;
87
- getAccent400: (mode?: string) => string | undefined;
88
- getAccent500: (mode?: string) => string | undefined;
89
- getAccent600: (mode?: string) => string | undefined;
90
- getAccent700: (mode?: string) => string | undefined;
91
- getAccent800: (mode?: string) => string | undefined;
92
- getAccent900: (mode?: string) => string | undefined;
93
- getSuccess: (mode?: string) => string | undefined;
94
- getError: (mode?: string) => string | undefined;
95
- getPrimary: (mode?: string) => string | undefined;
96
- getPrimary150: (mode?: string) => string | undefined;
97
- getPrimary500: (mode?: string) => string | undefined;
98
- getSecondary: (mode?: string) => string | undefined;
99
- getBackground: (mode?: string) => string | undefined;
100
- getTertiary: (mode?: string) => string | undefined;
101
- setMode: (mode: string) => void;
102
- setBackground: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
103
- setPrimary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
104
- setPrimary150: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
105
- setPrimary500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
106
- setSecondary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
107
- setError: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
108
- setAccent: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
109
- setAccent50: (colorset?: import('@cometchat/uikit-resources').PaletteItem) => void;
110
- setAccent100: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
111
- setAccent200: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
112
- setAccent300: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
113
- setAccent400: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
114
- setAccent500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
115
- setAccent600: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
116
- setAccent700: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
117
- setAccent800: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
118
- setAccent900: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
119
- setTertiary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
120
- };
121
- typography: {
122
- fontFamily: string;
123
- fontWeightRegular: string;
124
- fontWeightMedium: string;
125
- fontWeightSemibold: string;
126
- fontWeightBold: string;
127
- heading: {
128
- fontFamily: string;
129
- fontWeight: string;
130
- fontSize: string;
131
- };
132
- name: {
133
- fontFamily: string;
134
- fontWeight: string;
135
- fontSize: string;
136
- };
137
- title1: {
138
- fontFamily: string;
139
- fontWeight: string;
140
- fontSize: string;
141
- };
142
- title2: {
143
- fontFamily: string;
144
- fontWeight: string;
145
- fontSize: string;
146
- };
147
- subtitle1: {
148
- fontFamily: string;
149
- fontWeight: string;
150
- fontSize: string;
151
- };
152
- subtitle2: {
153
- fontFamily: string;
154
- fontWeight: string;
155
- fontSize: string;
156
- };
157
- text1: {
158
- fontFamily: string;
159
- fontWeight: string;
160
- fontSize: string;
161
- };
162
- text2: {
163
- fontFamily: string;
164
- fontWeight: string;
165
- fontSize: string;
166
- };
167
- text3: {
168
- fontFamily: string;
169
- fontWeight: string;
170
- fontSize: string;
171
- };
172
- caption1: {
173
- fontFamily: string;
174
- fontWeight: string;
175
- fontSize: string;
176
- };
177
- caption2: {
178
- fontFamily: string;
179
- fontWeight: string;
180
- fontSize: string;
181
- };
182
- caption3: {
183
- fontFamily: string;
184
- fontWeight: string;
185
- fontSize: string;
186
- };
187
- setFontFamily: (fontFamily: string) => void;
188
- setFontWeightRegular: (fontWeightRegular: string) => void;
189
- setFontWeightMedium: (fontWeightMedium: string) => void;
190
- setFontWeightSemibold: (fontWeightSemibold: string) => void;
191
- setFontWeightBold: (fontWeightBold: string) => void;
192
- setHeading: (headingFont: CometChatFont) => void;
193
- setName: (nameFont: CometChatFont) => void;
194
- setTitle1: (titleFont: CometChatFont) => void;
195
- setTitle2: (titleFont: CometChatFont) => void;
196
- setSubtitle1: (subtitleFont: CometChatFont) => void;
197
- setSubtitle2: (subtitleFont: CometChatFont) => void;
198
- setText1: (textFont: CometChatFont) => void;
199
- setText2: (textFont: CometChatFont) => void;
200
- setText3: (textFont: CometChatFont) => void;
201
- setCaption1: (captionFont: CometChatFont) => void;
202
- setCaption2: (captionFont: CometChatFont) => void;
203
- setCaption3: (captionFont: CometChatFont) => void;
204
- };
205
- }, CometChatTheme | {
206
- palette: {
207
- mode: string;
208
- background: {
209
- light?: string | undefined;
210
- dark?: string | undefined;
211
- };
212
- primary: {
213
- light?: string | undefined;
214
- dark?: string | undefined;
215
- };
216
- primary150: {
217
- light?: string | undefined;
218
- dark?: string | undefined;
219
- };
220
- primary500: {
221
- light?: string | undefined;
222
- dark?: string | undefined;
223
- };
224
- error: {
225
- light?: string | undefined;
226
- dark?: string | undefined;
227
- };
228
- accent: {
229
- light?: string | undefined;
230
- dark?: string | undefined;
231
- };
232
- accent50: {
233
- light?: string | undefined;
234
- dark?: string | undefined;
235
- };
236
- accent100: {
237
- light?: string | undefined;
238
- dark?: string | undefined;
239
- };
240
- accent200: {
241
- light?: string | undefined;
242
- dark?: string | undefined;
243
- };
244
- accent300: {
245
- light?: string | undefined;
246
- dark?: string | undefined;
247
- };
248
- accent400: {
249
- light?: string | undefined;
250
- dark?: string | undefined;
251
- };
252
- accent500: {
253
- light?: string | undefined;
254
- dark?: string | undefined;
255
- };
256
- accent600: {
257
- light?: string | undefined;
258
- dark?: string | undefined;
259
- };
260
- accent700: {
261
- light?: string | undefined;
262
- dark?: string | undefined;
263
- };
264
- accent800: {
265
- light?: string | undefined;
266
- dark?: string | undefined;
267
- };
268
- accent900: {
269
- light?: string | undefined;
270
- dark?: string | undefined;
271
- };
272
- success: {
273
- light?: string | undefined;
274
- dark?: string | undefined;
275
- };
276
- secondary: {
277
- light?: string | undefined;
278
- dark?: string | undefined;
279
- };
280
- tertiary: {
281
- light?: string | undefined;
282
- dark?: string | undefined;
283
- };
284
- getAccent: (mode?: string) => string | undefined;
285
- getAccent50: (mode?: string) => string | undefined;
286
- getAccent100: (mode?: string) => string | undefined;
287
- getAccent200: (mode?: string) => string | undefined;
288
- getAccent300: (mode?: string) => string | undefined;
289
- getAccent400: (mode?: string) => string | undefined;
290
- getAccent500: (mode?: string) => string | undefined;
291
- getAccent600: (mode?: string) => string | undefined;
292
- getAccent700: (mode?: string) => string | undefined;
293
- getAccent800: (mode?: string) => string | undefined;
294
- getAccent900: (mode?: string) => string | undefined;
295
- getSuccess: (mode?: string) => string | undefined;
296
- getError: (mode?: string) => string | undefined;
297
- getPrimary: (mode?: string) => string | undefined;
298
- getPrimary150: (mode?: string) => string | undefined;
299
- getPrimary500: (mode?: string) => string | undefined;
300
- getSecondary: (mode?: string) => string | undefined;
301
- getBackground: (mode?: string) => string | undefined;
302
- getTertiary: (mode?: string) => string | undefined;
303
- setMode: (mode: string) => void;
304
- setBackground: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
305
- setPrimary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
306
- setPrimary150: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
307
- setPrimary500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
308
- setSecondary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
309
- setError: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
310
- setAccent: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
311
- setAccent50: (colorset?: import('@cometchat/uikit-resources').PaletteItem) => void;
312
- setAccent100: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
313
- setAccent200: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
314
- setAccent300: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
315
- setAccent400: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
316
- setAccent500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
317
- setAccent600: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
318
- setAccent700: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
319
- setAccent800: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
320
- setAccent900: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
321
- setTertiary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
322
- };
323
- typography: {
324
- fontFamily: string;
325
- fontWeightRegular: string;
326
- fontWeightMedium: string;
327
- fontWeightSemibold: string;
328
- fontWeightBold: string;
329
- heading: {
330
- fontFamily: string;
331
- fontWeight: string;
332
- fontSize: string;
333
- };
334
- name: {
335
- fontFamily: string;
336
- fontWeight: string;
337
- fontSize: string;
338
- };
339
- title1: {
340
- fontFamily: string;
341
- fontWeight: string;
342
- fontSize: string;
343
- };
344
- title2: {
345
- fontFamily: string;
346
- fontWeight: string;
347
- fontSize: string;
348
- };
349
- subtitle1: {
350
- fontFamily: string;
351
- fontWeight: string;
352
- fontSize: string;
353
- };
354
- subtitle2: {
355
- fontFamily: string;
356
- fontWeight: string;
357
- fontSize: string;
358
- };
359
- text1: {
360
- fontFamily: string;
361
- fontWeight: string;
362
- fontSize: string;
363
- };
364
- text2: {
365
- fontFamily: string;
366
- fontWeight: string;
367
- fontSize: string;
368
- };
369
- text3: {
370
- fontFamily: string;
371
- fontWeight: string;
372
- fontSize: string;
373
- };
374
- caption1: {
375
- fontFamily: string;
376
- fontWeight: string;
377
- fontSize: string;
378
- };
379
- caption2: {
380
- fontFamily: string;
381
- fontWeight: string;
382
- fontSize: string;
383
- };
384
- caption3: {
385
- fontFamily: string;
386
- fontWeight: string;
387
- fontSize: string;
388
- };
389
- setFontFamily: (fontFamily: string) => void;
390
- setFontWeightRegular: (fontWeightRegular: string) => void;
391
- setFontWeightMedium: (fontWeightMedium: string) => void;
392
- setFontWeightSemibold: (fontWeightSemibold: string) => void;
393
- setFontWeightBold: (fontWeightBold: string) => void;
394
- setHeading: (headingFont: CometChatFont) => void;
395
- setName: (nameFont: CometChatFont) => void;
396
- setTitle1: (titleFont: CometChatFont) => void;
397
- setTitle2: (titleFont: CometChatFont) => void;
398
- setSubtitle1: (subtitleFont: CometChatFont) => void;
399
- setSubtitle2: (subtitleFont: CometChatFont) => void;
400
- setText1: (textFont: CometChatFont) => void;
401
- setText2: (textFont: CometChatFont) => void;
402
- setText3: (textFont: CometChatFont) => void;
403
- setCaption1: (captionFont: CometChatFont) => void;
404
- setCaption2: (captionFont: CometChatFont) => void;
405
- setCaption3: (captionFont: CometChatFont) => void;
406
- };
407
- }>;
408
- export declare const setThemeMode: (mode: ThemeMode) => void;
@@ -1,3 +0,0 @@
1
- import { Language } from './types';
2
- export declare function initializeLocalization(setCurrentLanguage?: string): void;
3
- export declare const setLanguage: (lang: Language) => void;
@@ -1,123 +0,0 @@
1
- import { BaseMessage, Group, MessageReceipt } from '@cometchat/chat-sdk-javascript';
2
- import { FuseResultMatch } from 'fuse.js';
3
- import { Ref } from 'vue';
4
- import { Conversation as OfflineConversation, Message as OfflineMessage } from '../offline/types';
5
- export * from 'fuse.js';
6
- export { OfflineConversation, OfflineMessage };
7
- export interface ChatInstallOptions {
8
- environment: Environment;
9
- language?: Language;
10
- themeMode: ThemeMode;
11
- accessToken?: Ref<string | null | undefined> | null | undefined | string;
12
- loggerCallback?: (entry: LogEntry) => void;
13
- }
14
- export * from './logger';
15
- export interface ChatInstance {
16
- componentId: string;
17
- replyToMessage: BaseMessage | null;
18
- captionedAttachment: {
19
- fileObject?: File;
20
- dimensions?: {
21
- width: number;
22
- height: number;
23
- };
24
- } | null;
25
- decoyAttachment: {
26
- fileObject?: File;
27
- dimensions?: {
28
- width: number;
29
- height: number;
30
- };
31
- } | null;
32
- scheduledMessageChat?: Group;
33
- showScheduledMessagesChat: boolean;
34
- showAlert: boolean;
35
- showRescheduleAlert: boolean;
36
- userInput: string | null;
37
- rescheduleInfo: {
38
- rescheduleMuid: string;
39
- messageId: number;
40
- } | null;
41
- }
42
- export interface View {
43
- componentName: string;
44
- props?: Record<string, any>;
45
- }
46
- export type Language = 'nb' | 'no' | 'ar' | 'de' | 'en' | 'es' | 'fr' | 'hi' | 'ms' | 'pt' | 'ru' | 'zh' | 'zh-tw' | 'sv' | 'lt';
47
- export type Environment = 'prod' | 'sandbox';
48
- export type ChatEnvironmentConfig = {
49
- region: string;
50
- appId: string;
51
- chatApiBaseUrl: string;
52
- };
53
- export interface UserChatInfo {
54
- chatUid: string;
55
- name: string;
56
- unreadMessageCount: number;
57
- lastMessage?: MessageInfo;
58
- membersCount: number;
59
- tags: string[];
60
- muteSettings?: Date | null;
61
- }
62
- export interface MessageInfo {
63
- text?: string;
64
- type: string;
65
- senderName: string;
66
- sentAt: Date;
67
- messageReceipts?: MessageReceipt[];
68
- }
69
- export interface ParticipantInfo {
70
- uid: string;
71
- displayName: string;
72
- avatar: string;
73
- role: string;
74
- }
75
- export interface DispatchData {
76
- muid: string;
77
- originalChatUid: string;
78
- scheduleDate: string;
79
- messageId: number;
80
- }
81
- export type ThemeMode = 'dark' | 'light';
82
- export type LogEntry = {
83
- logUid: string;
84
- correlationUid?: string;
85
- message: string;
86
- severity: LogSeverity;
87
- userMetadata?: Record<string, any>;
88
- timestamp: string;
89
- };
90
- export declare enum LogSeverity {
91
- DEBUG = "Debug",
92
- INFO = "Info",
93
- WARN = "Warn",
94
- ERROR = "Error"
95
- }
96
- export interface SearchedItems {
97
- conversations: {
98
- conversation: OfflineConversation;
99
- matches: FuseResultMatch[];
100
- }[];
101
- messages: {
102
- message: OfflineMessage;
103
- matches: FuseResultMatch[];
104
- }[];
105
- }
106
- export interface ParticipantSettings {
107
- chatUid: string;
108
- personUid: string;
109
- mutedUntil: string | null;
110
- }
111
- export interface PersonSettings {
112
- mutedAll: boolean;
113
- }
114
- export interface CachedParticipantSettings {
115
- chatUid: string;
116
- mutedUntil: string | null;
117
- lastUpdated: number;
118
- }
119
- export interface CachedLastMessage {
120
- chatUid: string;
121
- lastMessage: null | MessageInfo;
122
- lastUpdated: number;
123
- }
@@ -1,10 +0,0 @@
1
- import { Group } from '@cometchat/chat-sdk-javascript';
2
- import { MessageComposerConfiguration, MessageListConfiguration, ThreadedMessagesConfiguration } from '@cometchat/uikit-shared';
3
- import { Ref } from 'vue';
4
- import { ChatInstance } from './types';
5
- export declare function setupUiKit(): Promise<void>;
6
- export declare function getMessageComposerConfiguration(chatInstance?: Ref<ChatInstance>): Ref<MessageComposerConfiguration>;
7
- export declare function getScheduledMessagesComposerConfiguration(originalChatUid: string, chatInstance?: Ref<ChatInstance>): Ref<MessageComposerConfiguration>;
8
- export declare function getMessageListConfiguration(hideDeletedMessages: boolean, chatInstance?: Ref<ChatInstance>, group?: Ref<Group | undefined>): import('vue').ComputedRef<MessageListConfiguration>;
9
- export declare function getScheduledMessagesListConfiguration(originalChatUid: string, chatInstance?: Ref<ChatInstance>, group?: Ref<Group | undefined>): Ref<MessageListConfiguration>;
10
- export declare function getThreadedMessagesConfiguration(chatGroup?: Ref<Group | undefined>): ThreadedMessagesConfiguration;
@@ -1,156 +0,0 @@
1
- import { CometChatContextMenu } from '@cometchat/chat-uikit-vue';
2
- import { MessageBubbleAlignment } from '@cometchat/uikit-resources';
3
- declare class VueComponentOrHTML {
4
- html?: string;
5
- componentName?: string;
6
- props?: object;
7
- slots?: object;
8
- listeners?: any;
9
- }
10
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
- messageBubbleStyle: {
12
- type: ObjectConstructor;
13
- default: () => {
14
- width: string;
15
- height: string;
16
- background: string;
17
- borderRadius: string;
18
- border: string;
19
- };
20
- };
21
- options: {
22
- type: ArrayConstructor;
23
- default: () => never[];
24
- };
25
- alignment: {
26
- type: NumberConstructor;
27
- default: () => MessageBubbleAlignment;
28
- };
29
- id: {
30
- type: null;
31
- default: undefined;
32
- };
33
- moreIconURL: {
34
- type: StringConstructor;
35
- default: string;
36
- };
37
- topMenuSize: {
38
- type: NumberConstructor;
39
- default: number;
40
- };
41
- leadingView: {
42
- type: typeof VueComponentOrHTML;
43
- };
44
- contentView: {
45
- type: typeof VueComponentOrHTML;
46
- };
47
- bottomView: {
48
- type: typeof VueComponentOrHTML;
49
- };
50
- headerView: {
51
- type: typeof VueComponentOrHTML;
52
- };
53
- footerView: {
54
- type: typeof VueComponentOrHTML;
55
- };
56
- replyView: {
57
- type: typeof VueComponentOrHTML;
58
- };
59
- threadView: {
60
- type: {
61
- (arrayLength: number): VueComponentOrHTML[];
62
- (...items: VueComponentOrHTML[]): VueComponentOrHTML[];
63
- new (arrayLength: number): VueComponentOrHTML[];
64
- new (...items: VueComponentOrHTML[]): VueComponentOrHTML[];
65
- isArray(arg: any): arg is any[];
66
- readonly prototype: any[];
67
- from<T>(arrayLike: ArrayLike<T>): T[];
68
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
69
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
70
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
71
- of<T>(...items: T[]): T[];
72
- readonly [Symbol.species]: ArrayConstructor;
73
- };
74
- };
75
- statusInfoView: {
76
- type: typeof VueComponentOrHTML;
77
- };
78
- }>, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
79
- messageBubbleStyle: {
80
- type: ObjectConstructor;
81
- default: () => {
82
- width: string;
83
- height: string;
84
- background: string;
85
- borderRadius: string;
86
- border: string;
87
- };
88
- };
89
- options: {
90
- type: ArrayConstructor;
91
- default: () => never[];
92
- };
93
- alignment: {
94
- type: NumberConstructor;
95
- default: () => MessageBubbleAlignment;
96
- };
97
- id: {
98
- type: null;
99
- default: undefined;
100
- };
101
- moreIconURL: {
102
- type: StringConstructor;
103
- default: string;
104
- };
105
- topMenuSize: {
106
- type: NumberConstructor;
107
- default: number;
108
- };
109
- leadingView: {
110
- type: typeof VueComponentOrHTML;
111
- };
112
- contentView: {
113
- type: typeof VueComponentOrHTML;
114
- };
115
- bottomView: {
116
- type: typeof VueComponentOrHTML;
117
- };
118
- headerView: {
119
- type: typeof VueComponentOrHTML;
120
- };
121
- footerView: {
122
- type: typeof VueComponentOrHTML;
123
- };
124
- replyView: {
125
- type: typeof VueComponentOrHTML;
126
- };
127
- threadView: {
128
- type: {
129
- (arrayLength: number): VueComponentOrHTML[];
130
- (...items: VueComponentOrHTML[]): VueComponentOrHTML[];
131
- new (arrayLength: number): VueComponentOrHTML[];
132
- new (...items: VueComponentOrHTML[]): VueComponentOrHTML[];
133
- isArray(arg: any): arg is any[];
134
- readonly prototype: any[];
135
- from<T>(arrayLike: ArrayLike<T>): T[];
136
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
137
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
138
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
139
- of<T>(...items: T[]): T[];
140
- readonly [Symbol.species]: ArrayConstructor;
141
- };
142
- };
143
- statusInfoView: {
144
- type: typeof VueComponentOrHTML;
145
- };
146
- }>> & Readonly<{}>, {
147
- id: any;
148
- alignment: number;
149
- options: unknown[];
150
- messageBubbleStyle: Record<string, any>;
151
- moreIconURL: string;
152
- topMenuSize: number;
153
- }, {}, {
154
- CometChatContextMenu: typeof CometChatContextMenu;
155
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
156
- export default _default;