@bcc-code/vue-bcc-chat-ui 3.12.0 → 3.13.0

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/dist/App.vue.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}>;
2
2
  export default _default;
@@ -0,0 +1,2 @@
1
+ import { MessageComposerConfiguration } from '@cometchat/uikit-shared';
2
+ export declare function sendMediaMessage(msgComposerConfig: MessageComposerConfiguration, fileObject: File, receiverId: string, receiverType: string, messageType: string): boolean;
@@ -0,0 +1,7 @@
1
+ import { ExtensionsDataSource } from '@cometchat/chat-uikit-vue';
2
+ export declare class CaptionedAttachmentExtension extends ExtensionsDataSource {
3
+ constructor();
4
+ enable(): void;
5
+ addExtension(): void;
6
+ getExtensionId(): string;
7
+ }
@@ -2,7 +2,7 @@ import { ChatInstallOptions } from './types';
2
2
  declare function install(app: any, options: ChatInstallOptions): Promise<void>;
3
3
  declare const _default: {
4
4
  setLanguage: (lang: import('./types').Language) => void;
5
- onlineMode: import('vue').WritableComputedRef<import('../offline/types').OnlineStatus>;
5
+ onlineMode: import('vue').WritableComputedRef<import('../offline/types').OnlineStatus, import('../offline/types').OnlineStatus>;
6
6
  onlineStatus: import('vue').ComputedRef<import('../offline/types').OnlineStatus>;
7
7
  theme: import('vue').Ref<{
8
8
  palette: {
@@ -206,9 +206,211 @@ declare const _default: {
206
206
  setCaption2: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
207
207
  setCaption3: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
208
208
  };
209
+ }, import('@cometchat/uikit-resources').CometChatTheme | {
210
+ palette: {
211
+ mode: string;
212
+ background: {
213
+ light?: string | undefined;
214
+ dark?: string | undefined;
215
+ };
216
+ primary: {
217
+ light?: string | undefined;
218
+ dark?: string | undefined;
219
+ };
220
+ primary150: {
221
+ light?: string | undefined;
222
+ dark?: string | undefined;
223
+ };
224
+ primary500: {
225
+ light?: string | undefined;
226
+ dark?: string | undefined;
227
+ };
228
+ error: {
229
+ light?: string | undefined;
230
+ dark?: string | undefined;
231
+ };
232
+ accent: {
233
+ light?: string | undefined;
234
+ dark?: string | undefined;
235
+ };
236
+ accent50: {
237
+ light?: string | undefined;
238
+ dark?: string | undefined;
239
+ };
240
+ accent100: {
241
+ light?: string | undefined;
242
+ dark?: string | undefined;
243
+ };
244
+ accent200: {
245
+ light?: string | undefined;
246
+ dark?: string | undefined;
247
+ };
248
+ accent300: {
249
+ light?: string | undefined;
250
+ dark?: string | undefined;
251
+ };
252
+ accent400: {
253
+ light?: string | undefined;
254
+ dark?: string | undefined;
255
+ };
256
+ accent500: {
257
+ light?: string | undefined;
258
+ dark?: string | undefined;
259
+ };
260
+ accent600: {
261
+ light?: string | undefined;
262
+ dark?: string | undefined;
263
+ };
264
+ accent700: {
265
+ light?: string | undefined;
266
+ dark?: string | undefined;
267
+ };
268
+ accent800: {
269
+ light?: string | undefined;
270
+ dark?: string | undefined;
271
+ };
272
+ accent900: {
273
+ light?: string | undefined;
274
+ dark?: string | undefined;
275
+ };
276
+ success: {
277
+ light?: string | undefined;
278
+ dark?: string | undefined;
279
+ };
280
+ secondary: {
281
+ light?: string | undefined;
282
+ dark?: string | undefined;
283
+ };
284
+ tertiary: {
285
+ light?: string | undefined;
286
+ dark?: string | undefined;
287
+ };
288
+ getAccent: (mode?: string) => string | undefined;
289
+ getAccent50: (mode?: string) => string | undefined;
290
+ getAccent100: (mode?: string) => string | undefined;
291
+ getAccent200: (mode?: string) => string | undefined;
292
+ getAccent300: (mode?: string) => string | undefined;
293
+ getAccent400: (mode?: string) => string | undefined;
294
+ getAccent500: (mode?: string) => string | undefined;
295
+ getAccent600: (mode?: string) => string | undefined;
296
+ getAccent700: (mode?: string) => string | undefined;
297
+ getAccent800: (mode?: string) => string | undefined;
298
+ getAccent900: (mode?: string) => string | undefined;
299
+ getSuccess: (mode?: string) => string | undefined;
300
+ getError: (mode?: string) => string | undefined;
301
+ getPrimary: (mode?: string) => string | undefined;
302
+ getPrimary150: (mode?: string) => string | undefined;
303
+ getPrimary500: (mode?: string) => string | undefined;
304
+ getSecondary: (mode?: string) => string | undefined;
305
+ getBackground: (mode?: string) => string | undefined;
306
+ getTertiary: (mode?: string) => string | undefined;
307
+ setMode: (mode: string) => void;
308
+ setBackground: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
309
+ setPrimary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
310
+ setPrimary150: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
311
+ setPrimary500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
312
+ setSecondary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
313
+ setError: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
314
+ setAccent: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
315
+ setAccent50: (colorset?: import('@cometchat/uikit-resources').PaletteItem) => void;
316
+ setAccent100: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
317
+ setAccent200: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
318
+ setAccent300: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
319
+ setAccent400: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
320
+ setAccent500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
321
+ setAccent600: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
322
+ setAccent700: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
323
+ setAccent800: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
324
+ setAccent900: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
325
+ setTertiary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
326
+ };
327
+ typography: {
328
+ fontFamily: string;
329
+ fontWeightRegular: string;
330
+ fontWeightMedium: string;
331
+ fontWeightSemibold: string;
332
+ fontWeightBold: string;
333
+ heading: {
334
+ fontFamily: string;
335
+ fontWeight: string;
336
+ fontSize: string;
337
+ };
338
+ name: {
339
+ fontFamily: string;
340
+ fontWeight: string;
341
+ fontSize: string;
342
+ };
343
+ title1: {
344
+ fontFamily: string;
345
+ fontWeight: string;
346
+ fontSize: string;
347
+ };
348
+ title2: {
349
+ fontFamily: string;
350
+ fontWeight: string;
351
+ fontSize: string;
352
+ };
353
+ subtitle1: {
354
+ fontFamily: string;
355
+ fontWeight: string;
356
+ fontSize: string;
357
+ };
358
+ subtitle2: {
359
+ fontFamily: string;
360
+ fontWeight: string;
361
+ fontSize: string;
362
+ };
363
+ text1: {
364
+ fontFamily: string;
365
+ fontWeight: string;
366
+ fontSize: string;
367
+ };
368
+ text2: {
369
+ fontFamily: string;
370
+ fontWeight: string;
371
+ fontSize: string;
372
+ };
373
+ text3: {
374
+ fontFamily: string;
375
+ fontWeight: string;
376
+ fontSize: string;
377
+ };
378
+ caption1: {
379
+ fontFamily: string;
380
+ fontWeight: string;
381
+ fontSize: string;
382
+ };
383
+ caption2: {
384
+ fontFamily: string;
385
+ fontWeight: string;
386
+ fontSize: string;
387
+ };
388
+ caption3: {
389
+ fontFamily: string;
390
+ fontWeight: string;
391
+ fontSize: string;
392
+ };
393
+ setFontFamily: (fontFamily: string) => void;
394
+ setFontWeightRegular: (fontWeightRegular: string) => void;
395
+ setFontWeightMedium: (fontWeightMedium: string) => void;
396
+ setFontWeightSemibold: (fontWeightSemibold: string) => void;
397
+ setFontWeightBold: (fontWeightBold: string) => void;
398
+ setHeading: (headingFont: import('@cometchat/uikit-resources').CometChatFont) => void;
399
+ setName: (nameFont: import('@cometchat/uikit-resources').CometChatFont) => void;
400
+ setTitle1: (titleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
401
+ setTitle2: (titleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
402
+ setSubtitle1: (subtitleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
403
+ setSubtitle2: (subtitleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
404
+ setText1: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
405
+ setText2: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
406
+ setText3: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
407
+ setCaption1: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
408
+ setCaption2: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
409
+ setCaption3: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
410
+ };
209
411
  }>;
210
412
  setThemeMode: (mode: import('./types').ThemeMode) => void;
211
- loggedIn: import('vue').Ref<boolean>;
413
+ loggedIn: import('vue').Ref<boolean, boolean>;
212
414
  login: (accessToken?: string | null | undefined) => Promise<boolean | undefined>;
213
415
  logout: () => Promise<boolean>;
214
416
  loginWithChatToken: (chatToken: string) => Promise<boolean>;
@@ -229,6 +431,6 @@ declare const _default: {
229
431
  proxyImage(imageUrl: string): string;
230
432
  userChats: import('vue').Ref<import('./types').UserChatInfo[]>;
231
433
  install: typeof install;
232
- initialized: import('vue').Ref<boolean>;
434
+ initialized: import('vue').Ref<boolean, boolean>;
233
435
  };
234
436
  export default _default;
@@ -1,9 +1,9 @@
1
- export declare const loggedIn: import('vue').Ref<boolean>;
1
+ export declare const loggedIn: import('vue').Ref<boolean, boolean>;
2
2
  export declare const login: (accessToken?: string | null | undefined) => Promise<boolean | undefined>;
3
3
  export declare const logout: () => Promise<boolean>;
4
4
  export declare const loginWithChatToken: (chatToken: string) => Promise<boolean>;
5
5
  declare const _default: {
6
- loggedIn: import('vue').Ref<boolean>;
6
+ loggedIn: import('vue').Ref<boolean, boolean>;
7
7
  login: (accessToken?: string | null | undefined) => Promise<boolean | undefined>;
8
8
  logout: () => Promise<boolean>;
9
9
  loginWithChatToken: (chatToken: string) => Promise<boolean>;
@@ -1,4 +1,4 @@
1
- import { CometChatFont } from '@cometchat/uikit-resources';
1
+ import { CometChatTheme, CometChatFont } from '@cometchat/uikit-resources';
2
2
  import { ThemeMode } from './types';
3
3
  export declare const theme: import('vue').Ref<{
4
4
  palette: {
@@ -202,5 +202,207 @@ export declare const theme: import('vue').Ref<{
202
202
  setCaption2: (captionFont: CometChatFont) => void;
203
203
  setCaption3: (captionFont: CometChatFont) => void;
204
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
+ };
205
407
  }>;
206
408
  export declare const setThemeMode: (mode: ThemeMode) => void;
@@ -9,6 +9,11 @@ export interface ChatInstallOptions {
9
9
  export interface ChatInstance {
10
10
  componentId: string;
11
11
  replyToMessage: BaseMessage | null;
12
+ captionedAttachment: {
13
+ image?: string;
14
+ caption?: string;
15
+ fileObject?: File;
16
+ } | null;
12
17
  }
13
18
  export interface View {
14
19
  componentName: string;
@@ -3,6 +3,6 @@ import { Ref } from 'vue';
3
3
  import { MessageListConfiguration, MessageComposerConfiguration, ThreadedMessagesConfiguration } from '@cometchat/uikit-shared';
4
4
  import { ChatInstance } from './types';
5
5
  export declare function setupUiKit(): Promise<void>;
6
- export declare function getMessageComposerConfiguration(): Ref<MessageComposerConfiguration>;
6
+ export declare function getMessageComposerConfiguration(chatInstance?: Ref<ChatInstance>): Ref<MessageComposerConfiguration>;
7
7
  export declare function getMessageListConfiguration(chatInstance?: Ref<ChatInstance>, group?: Ref<Group | undefined>): import('vue').ComputedRef<MessageListConfiguration>;
8
8
  export declare function getThreadedMessagesConfiguration(chatGroup?: Ref<Group | undefined>): ThreadedMessagesConfiguration;
@@ -0,0 +1,29 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ captionedAttachment: {
3
+ type: ObjectConstructor;
4
+ };
5
+ closeButtonIconURL: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ previewStyle: {
10
+ type: ObjectConstructor;
11
+ default: {};
12
+ };
13
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ captionedAttachment: {
15
+ type: ObjectConstructor;
16
+ };
17
+ closeButtonIconURL: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ previewStyle: {
22
+ type: ObjectConstructor;
23
+ default: {};
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ previewStyle: Record<string, any>;
27
+ closeButtonIconURL: string;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}>;
29
+ export default _default;
@@ -0,0 +1,23 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ captionedAttachment: {
3
+ type: ObjectConstructor;
4
+ default: {};
5
+ };
6
+ previewStyle: {
7
+ type: ObjectConstructor;
8
+ default: {};
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ captionedAttachment: {
12
+ type: ObjectConstructor;
13
+ default: {};
14
+ };
15
+ previewStyle: {
16
+ type: ObjectConstructor;
17
+ default: {};
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ previewStyle: Record<string, any>;
21
+ captionedAttachment: Record<string, any>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}>;
23
+ export default _default;
@@ -1,20 +1,83 @@
1
- import { User } from '@cometchat/chat-sdk-javascript';
2
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
- text: string;
4
- metadata: Record<string, any>;
5
- mentionedUsers: User[];
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
7
- text: string;
8
- metadata: Record<string, any>;
9
- mentionedUsers: User[];
10
- }>>>, {}, {}>;
11
- export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToOption<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('vue').PropType<T[K]>;
1
+ import { MediaMessage, User } from '@cometchat/chat-sdk-javascript';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ text: {
4
+ type: StringConstructor;
5
+ required: true;
6
+ };
7
+ metadata: {
8
+ type: ObjectConstructor;
9
+ };
10
+ mentionedUsers: {
11
+ type: {
12
+ (arrayLength: number): User[];
13
+ (...items: User[]): User[];
14
+ new (arrayLength: number): User[];
15
+ new (...items: User[]): User[];
16
+ isArray(arg: any): arg is any[];
17
+ readonly prototype: any[];
18
+ from<T>(arrayLike: ArrayLike<T>): T[];
19
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
20
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
21
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
22
+ of<T>(...items: T[]): T[];
23
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
24
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
25
+ readonly [Symbol.species]: ArrayConstructor;
26
+ };
27
+ };
28
+ message: {
29
+ type: typeof MediaMessage;
30
+ default: null;
31
+ };
32
+ placeholderImage: {
33
+ type: StringConstructor;
34
+ default: null;
35
+ };
36
+ src: {
37
+ type: StringConstructor;
38
+ default: null;
39
+ };
40
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
41
+ text: {
42
+ type: StringConstructor;
18
43
  required: true;
19
44
  };
20
- };
45
+ metadata: {
46
+ type: ObjectConstructor;
47
+ };
48
+ mentionedUsers: {
49
+ type: {
50
+ (arrayLength: number): User[];
51
+ (...items: User[]): User[];
52
+ new (arrayLength: number): User[];
53
+ new (...items: User[]): User[];
54
+ isArray(arg: any): arg is any[];
55
+ readonly prototype: any[];
56
+ from<T>(arrayLike: ArrayLike<T>): T[];
57
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
58
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
59
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
60
+ of<T>(...items: T[]): T[];
61
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
62
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
63
+ readonly [Symbol.species]: ArrayConstructor;
64
+ };
65
+ };
66
+ message: {
67
+ type: typeof MediaMessage;
68
+ default: null;
69
+ };
70
+ placeholderImage: {
71
+ type: StringConstructor;
72
+ default: null;
73
+ };
74
+ src: {
75
+ type: StringConstructor;
76
+ default: null;
77
+ };
78
+ }>> & Readonly<{}>, {
79
+ message: MediaMessage;
80
+ src: string;
81
+ placeholderImage: string;
82
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}>;
83
+ export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  chatUid: {
3
3
  type: StringConstructor;
4
4
  required: true;
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
7
7
  type: StringConstructor;
8
8
  required: false;
9
9
  };
10
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
11
  chatUid: {
12
12
  type: StringConstructor;
13
13
  required: true;
@@ -16,5 +16,5 @@ declare const _default: import('vue').DefineComponent<{
16
16
  type: StringConstructor;
17
17
  required: false;
18
18
  };
19
- }>>, {}, {}>;
19
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}>;
20
20
  export default _default;