@bcc-code/vue-bcc-chat-ui 6.4.1 → 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.
- package/dist/assets/index-B_y7vs2y.js +12519 -0
- package/dist/assets/index-uEhSMl7W.css +1 -0
- package/dist/assets/primeicons-C6QP2o4f.woff2 +0 -0
- package/dist/assets/primeicons-DMOk5skT.eot +0 -0
- package/dist/assets/primeicons-Dr5RGzOO.svg +345 -0
- package/dist/assets/primeicons-MpK4pl85.ttf +0 -0
- package/dist/assets/primeicons-WjwUDZjB.woff +0 -0
- package/dist/assets/web-Cp3vw--c.js +1 -0
- package/dist/assets/web-DSc1BjG7.js +1 -0
- package/dist/index.html +13 -0
- package/package.json +42 -51
- package/README.md +0 -89
- package/dist/App.vue.d.ts +0 -2
- package/dist/chat/accessToken.d.ts +0 -2
- package/dist/chat/bccuiExtension.d.ts +0 -7
- package/dist/chat/captionedAttachment.d.ts +0 -7
- package/dist/chat/captionedAttachmentExtension.d.ts +0 -7
- package/dist/chat/cometChatPatches.d.ts +0 -3
- package/dist/chat/connection.d.ts +0 -14
- package/dist/chat/data.d.ts +0 -21
- package/dist/chat/environment.d.ts +0 -3
- package/dist/chat/index.d.ts +0 -450
- package/dist/chat/logger.d.ts +0 -12
- package/dist/chat/login.d.ts +0 -14
- package/dist/chat/message.d.ts +0 -15
- package/dist/chat/replyExtension.d.ts +0 -26
- package/dist/chat/replyStyle.d.ts +0 -30
- package/dist/chat/rescheduleExtension.d.ts +0 -22
- package/dist/chat/scheduledMessage.d.ts +0 -4
- package/dist/chat/styleFix.d.ts +0 -14
- package/dist/chat/theme.d.ts +0 -408
- package/dist/chat/translations.d.ts +0 -3
- package/dist/chat/types.d.ts +0 -123
- package/dist/chat/uiKit.d.ts +0 -10
- package/dist/component-overrides/BccBubbleWrapper.vue.d.ts +0 -156
- package/dist/component-overrides/CometChatMessageListOverride.vue.d.ts +0 -2
- package/dist/components/BccAttachmentBox.vue.d.ts +0 -29
- package/dist/components/BccAttachmentPreview.vue.d.ts +0 -23
- package/dist/components/BccChatMessageBubble.vue.d.ts +0 -99
- package/dist/components/BccChatMessageList.vue.d.ts +0 -82
- package/dist/components/BccChatMessages.vue.d.ts +0 -33
- package/dist/components/BccChatSendButton.vue.d.ts +0 -4
- package/dist/components/BccCometChatFullScreenViewer.vue.d.ts +0 -24
- package/dist/components/BccFileBubble.vue.d.ts +0 -70
- package/dist/components/BccImageBubble.vue.d.ts +0 -27
- package/dist/components/BccReplyBox.vue.d.ts +0 -36
- package/dist/components/BccReplyPreview.vue.d.ts +0 -30
- package/dist/components/BccScheduledMessageIcon.vue.d.ts +0 -2
- package/dist/components/BccScheduledMessageModal.vue.d.ts +0 -31
- package/dist/components/BccScheduledMessages.vue.d.ts +0 -25
- package/dist/components/BccScheduledSendButton.vue.d.ts +0 -14
- package/dist/index.d.ts +0 -4
- package/dist/main.d.ts +0 -1
- package/dist/offline/cometChatAPIInterceptor.d.ts +0 -2
- package/dist/offline/cometChatWSInterceptor.d.ts +0 -2
- package/dist/offline/connectivity.d.ts +0 -5
- package/dist/offline/failedSendingRetry.d.ts +0 -4
- package/dist/offline/index.d.ts +0 -9
- package/dist/offline/offlineStoreLocalStorage.d.ts +0 -29
- package/dist/offline/types.d.ts +0 -67
- package/dist/vite.svg +0 -1
- package/dist/vue-bcc-chat-ui.css +0 -1
- package/dist/vue-bcc-chat-ui.js +0 -86335
- package/dist/vue-bcc-chat-ui.js.map +0 -1
- package/src/components/BccAttachmentBox.vue +0 -133
- package/src/components/BccAttachmentPreview.vue +0 -57
- package/src/components/BccChatMessageBubble.vue +0 -219
- package/src/components/BccChatMessageList.vue +0 -488
- package/src/components/BccChatMessages.vue +0 -212
- package/src/components/BccChatSendButton.vue +0 -91
- package/src/components/BccCometChatFullScreenViewer.vue +0 -118
- package/src/components/BccFileBubble.vue +0 -137
- package/src/components/BccImageBubble.vue +0 -75
- package/src/components/BccReplyBox.vue +0 -141
- package/src/components/BccReplyPreview.vue +0 -113
- package/src/components/BccScheduledMessageIcon.vue +0 -65
- package/src/components/BccScheduledMessageModal.vue +0 -70
- package/src/components/BccScheduledMessages.vue +0 -125
- package/src/components/BccScheduledSendButton.vue +0 -118
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
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, {}, HTMLDivElement>;
|
|
29
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
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, {}, HTMLDivElement>;
|
|
23
|
-
export default _default;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { MediaMessage, User } from '@cometchat/chat-sdk-javascript';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
id: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
required: false;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
text: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
metadata: {
|
|
13
|
-
type: ObjectConstructor;
|
|
14
|
-
};
|
|
15
|
-
guid: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
mentionedUsers: {
|
|
20
|
-
type: {
|
|
21
|
-
(arrayLength: number): User[];
|
|
22
|
-
(...items: User[]): User[];
|
|
23
|
-
new (arrayLength: number): User[];
|
|
24
|
-
new (...items: User[]): User[];
|
|
25
|
-
isArray(arg: any): arg is any[];
|
|
26
|
-
readonly prototype: any[];
|
|
27
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
29
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
30
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
31
|
-
of<T>(...items: T[]): T[];
|
|
32
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
message: {
|
|
36
|
-
type: typeof MediaMessage;
|
|
37
|
-
default: null;
|
|
38
|
-
};
|
|
39
|
-
placeholderImage: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: null;
|
|
42
|
-
};
|
|
43
|
-
src: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: null;
|
|
46
|
-
};
|
|
47
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
-
id: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
required: false;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
text: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
metadata: {
|
|
58
|
-
type: ObjectConstructor;
|
|
59
|
-
};
|
|
60
|
-
guid: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
mentionedUsers: {
|
|
65
|
-
type: {
|
|
66
|
-
(arrayLength: number): User[];
|
|
67
|
-
(...items: User[]): User[];
|
|
68
|
-
new (arrayLength: number): User[];
|
|
69
|
-
new (...items: User[]): User[];
|
|
70
|
-
isArray(arg: any): arg is any[];
|
|
71
|
-
readonly prototype: any[];
|
|
72
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
73
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
74
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
75
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
76
|
-
of<T>(...items: T[]): T[];
|
|
77
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
message: {
|
|
81
|
-
type: typeof MediaMessage;
|
|
82
|
-
default: null;
|
|
83
|
-
};
|
|
84
|
-
placeholderImage: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: null;
|
|
87
|
-
};
|
|
88
|
-
src: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
default: null;
|
|
91
|
-
};
|
|
92
|
-
}>> & Readonly<{}>, {
|
|
93
|
-
message: MediaMessage;
|
|
94
|
-
id: string;
|
|
95
|
-
placeholderImage: string;
|
|
96
|
-
src: string;
|
|
97
|
-
guid: string;
|
|
98
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
99
|
-
export default _default;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
'no-messages'?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: HTMLDivElement;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
-
chatUid: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
senderDisplayName: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
required: false;
|
|
19
|
-
};
|
|
20
|
-
hideDeletedMessages: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
required: false;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
groupMessageGetter: {
|
|
26
|
-
type: PropType<(guid: string, query: string) => Promise<any>>;
|
|
27
|
-
required: false;
|
|
28
|
-
};
|
|
29
|
-
loadMessageId: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
required: false;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
displayNoMessagesText: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
required: false;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
groupMembersFetched: (...args: any[]) => void;
|
|
41
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
-
chatUid: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
senderDisplayName: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
required: false;
|
|
49
|
-
};
|
|
50
|
-
hideDeletedMessages: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
required: false;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
groupMessageGetter: {
|
|
56
|
-
type: PropType<(guid: string, query: string) => Promise<any>>;
|
|
57
|
-
required: false;
|
|
58
|
-
};
|
|
59
|
-
loadMessageId: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
required: false;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
displayNoMessagesText: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
required: false;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
}>> & Readonly<{
|
|
70
|
-
onGroupMembersFetched?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
}>, {
|
|
72
|
-
hideDeletedMessages: boolean;
|
|
73
|
-
loadMessageId: string;
|
|
74
|
-
displayNoMessagesText: boolean;
|
|
75
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
76
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
77
|
-
export default _default;
|
|
78
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
|
-
new (): {
|
|
80
|
-
$slots: S;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Group } from '@cometchat/chat-sdk-javascript';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
chatUid: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
chatGroup: {
|
|
8
|
-
type: typeof Group;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
hideDeletedMessages: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
required: false;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
-
chatUid: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
chatGroup: {
|
|
22
|
-
type: typeof Group;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
hideDeletedMessages: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
required: false;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
}>> & Readonly<{}>, {
|
|
31
|
-
hideDeletedMessages: boolean;
|
|
32
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
33
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
-
sendButton: HTMLDivElement;
|
|
3
|
-
}, HTMLDivElement>;
|
|
4
|
-
export default _default;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
url: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
placeholderImage: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
-
"cc-close-clicked": () => any;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
-
url: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
placeholderImage: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
};
|
|
19
|
-
}>> & Readonly<{
|
|
20
|
-
"onCc-close-clicked"?: (() => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
22
|
-
zoomContainer: HTMLDivElement;
|
|
23
|
-
}, any>;
|
|
24
|
-
export default _default;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
fileURL: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
downloadIconURL: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
title: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
subtitle: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
fileStyle: {
|
|
19
|
-
type: ObjectConstructor;
|
|
20
|
-
default: () => {
|
|
21
|
-
width: string;
|
|
22
|
-
height: string;
|
|
23
|
-
border: string;
|
|
24
|
-
background: string;
|
|
25
|
-
borderRadius: string;
|
|
26
|
-
titleFont: string;
|
|
27
|
-
titleColor: string;
|
|
28
|
-
subtitleFont: string;
|
|
29
|
-
subtitleColor: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
-
fileURL: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
downloadIconURL: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
title: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
subtitle: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
fileStyle: {
|
|
50
|
-
type: ObjectConstructor;
|
|
51
|
-
default: () => {
|
|
52
|
-
width: string;
|
|
53
|
-
height: string;
|
|
54
|
-
border: string;
|
|
55
|
-
background: string;
|
|
56
|
-
borderRadius: string;
|
|
57
|
-
titleFont: string;
|
|
58
|
-
titleColor: string;
|
|
59
|
-
subtitleFont: string;
|
|
60
|
-
subtitleColor: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}>> & Readonly<{}>, {
|
|
64
|
-
title: string;
|
|
65
|
-
fileURL: string;
|
|
66
|
-
downloadIconURL: string;
|
|
67
|
-
subtitle: string;
|
|
68
|
-
fileStyle: Record<string, any>;
|
|
69
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
70
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { MediaMessage } from '@cometchat/chat-sdk-javascript';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
src: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: null;
|
|
6
|
-
};
|
|
7
|
-
placeholderImage: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
};
|
|
10
|
-
message: {
|
|
11
|
-
type: typeof MediaMessage;
|
|
12
|
-
};
|
|
13
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
-
src: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: null;
|
|
17
|
-
};
|
|
18
|
-
placeholderImage: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
};
|
|
21
|
-
message: {
|
|
22
|
-
type: typeof MediaMessage;
|
|
23
|
-
};
|
|
24
|
-
}>> & Readonly<{}>, {
|
|
25
|
-
src: string;
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseMessage } from '@cometchat/chat-sdk-javascript';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
replyToMessage: {
|
|
4
|
-
type: typeof BaseMessage;
|
|
5
|
-
};
|
|
6
|
-
titlePrefix: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
closeButtonIconURL: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
previewStyle: {
|
|
14
|
-
type: ObjectConstructor;
|
|
15
|
-
default: {};
|
|
16
|
-
};
|
|
17
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
-
replyToMessage: {
|
|
19
|
-
type: typeof BaseMessage;
|
|
20
|
-
};
|
|
21
|
-
titlePrefix: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
};
|
|
24
|
-
closeButtonIconURL: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
previewStyle: {
|
|
29
|
-
type: ObjectConstructor;
|
|
30
|
-
default: {};
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{}>, {
|
|
33
|
-
previewStyle: Record<string, any>;
|
|
34
|
-
closeButtonIconURL: string;
|
|
35
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
36
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { BaseMessage } from '@cometchat/chat-sdk-javascript';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
replyToMessage: {
|
|
4
|
-
type: typeof BaseMessage;
|
|
5
|
-
};
|
|
6
|
-
titlePrefix: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
previewStyle: {
|
|
11
|
-
type: ObjectConstructor;
|
|
12
|
-
default: {};
|
|
13
|
-
};
|
|
14
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
replyToMessage: {
|
|
16
|
-
type: typeof BaseMessage;
|
|
17
|
-
};
|
|
18
|
-
titlePrefix: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
previewStyle: {
|
|
23
|
-
type: ObjectConstructor;
|
|
24
|
-
default: {};
|
|
25
|
-
};
|
|
26
|
-
}>> & Readonly<{}>, {
|
|
27
|
-
titlePrefix: string;
|
|
28
|
-
previewStyle: Record<string, any>;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
30
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
isReschedule: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
closeOnOutsideClick: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
close: (...args: any[]) => void;
|
|
12
|
-
schedule: (...args: any[]) => void;
|
|
13
|
-
reschedule: (...args: any[]) => void;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
isReschedule: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
closeOnOutsideClick: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
}>> & Readonly<{
|
|
24
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
onSchedule?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
onReschedule?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
isReschedule: boolean;
|
|
29
|
-
closeOnOutsideClick: boolean;
|
|
30
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Group } from '@cometchat/chat-sdk-javascript';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
chatGroup: {
|
|
4
|
-
type: typeof Group;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
originalChatUid: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
close: (...args: any[]) => void;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
-
chatGroup: {
|
|
15
|
-
type: typeof Group;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
originalChatUid: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
}>> & Readonly<{
|
|
23
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
25
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
chatUid: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
-
chatUid: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
12
|
-
sendButton: HTMLDivElement;
|
|
13
|
-
}, any>;
|
|
14
|
-
export default _default;
|
package/dist/index.d.ts
DELETED
package/dist/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { OnlineStatus } from './types';
|
|
2
|
-
export declare const onlineMode: import('vue').WritableComputedRef<OnlineStatus, OnlineStatus>;
|
|
3
|
-
export declare const onlineStatus: import('vue').ComputedRef<OnlineStatus>;
|
|
4
|
-
export declare function setOnlineStatus(status: OnlineStatus): void;
|
|
5
|
-
export declare function installConnectivityStatus(_realFetch: typeof fetch): void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { BaseMessage, CustomMessage, MediaMessage, TextMessage } from '@cometchat/chat-sdk-javascript';
|
|
2
|
-
export declare function getQueuedMessagesForChat(chatUid: string): (BaseMessage | TextMessage | MediaMessage | CustomMessage)[];
|
|
3
|
-
export declare function installFailedSendingRetry(): void;
|
|
4
|
-
export declare function uninstallFailedSendingRetry(): void;
|
package/dist/offline/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OfflineStore } from './types.js';
|
|
2
|
-
export declare let offlineStore: OfflineStore;
|
|
3
|
-
export declare function installOfflineCaching(): void;
|
|
4
|
-
export declare function purgeLeftChatsFromCache(conversations: CometChat.Conversation[]): void;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
installOfflineCaching: typeof installOfflineCaching;
|
|
7
|
-
purgeLeftChatsFromCache: typeof purgeLeftChatsFromCache;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { default as Fuse } from 'fuse.js';
|
|
2
|
-
import { CachedLastMessage, CachedParticipantSettings } from '../chat/types';
|
|
3
|
-
import { Conversation, ConversationPaginationMeta, Group, Message, MessagePaginationMeta, OfflineStore, PaginatedResponse } from './types';
|
|
4
|
-
export declare class OfflineStoreLocalStorage implements OfflineStore {
|
|
5
|
-
#private;
|
|
6
|
-
storePrefix: string;
|
|
7
|
-
constructor(storePrefix?: string);
|
|
8
|
-
getGroupMessages(groupId: string, pagination: MessagePaginationMeta): PaginatedResponse<Message>;
|
|
9
|
-
getThreadMessages(parentId: string, pagination: MessagePaginationMeta): PaginatedResponse<Message>;
|
|
10
|
-
getMessage(messageId: string): {
|
|
11
|
-
data: Message;
|
|
12
|
-
};
|
|
13
|
-
saveMessages(messages: Message[]): void;
|
|
14
|
-
checkIfCachedMessagesIsExpired(): boolean;
|
|
15
|
-
updateExpiredCachedMessages(): Promise<void>;
|
|
16
|
-
purgeMessages(keepByConversationIds: string[]): void;
|
|
17
|
-
getConversations(pagination: ConversationPaginationMeta): PaginatedResponse<Conversation>;
|
|
18
|
-
saveConversations(conversations: Conversation[]): void;
|
|
19
|
-
purgeConversations(keepConversationIds: string[]): void;
|
|
20
|
-
getGroup(groupId: string): Group | null;
|
|
21
|
-
saveGroup(group: Group): void;
|
|
22
|
-
purgeGroups(keepGroupIds: string[]): void;
|
|
23
|
-
getFuseConversations(): Fuse<Conversation>;
|
|
24
|
-
getFuseMessages(): Fuse<Message>;
|
|
25
|
-
getParticipantSettings(uid: string): CachedParticipantSettings | null;
|
|
26
|
-
storeSettings(participantSettings: CachedParticipantSettings): void;
|
|
27
|
-
getLastMessage(groupId: string): CachedLastMessage | null;
|
|
28
|
-
storeLastMessage(cachedLastMessage: CachedLastMessage): void;
|
|
29
|
-
}
|