@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
package/dist/chat/index.d.ts
DELETED
|
@@ -1,450 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { ChatInstallOptions } from './types';
|
|
3
|
-
declare function install(app: any, options: ChatInstallOptions): Promise<void>;
|
|
4
|
-
declare function updateGetGroupMessages(groupMessageGetter: ((guid: string, query: string) => Promise<any>) | undefined): void;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
setLanguage: (lang: import('./types').Language) => void;
|
|
7
|
-
getGroupMessages: Ref<((guid: string, query: string) => Promise<any>) | undefined, ((guid: string, query: string) => Promise<any>) | undefined>;
|
|
8
|
-
loadMessageId: Ref<string | undefined, string | undefined>;
|
|
9
|
-
scrollToMessageId: Ref<string | undefined, string | undefined>;
|
|
10
|
-
onlineMode: import('vue').WritableComputedRef<import('../offline/types').OnlineStatus, import('../offline/types').OnlineStatus>;
|
|
11
|
-
onlineStatus: import('vue').ComputedRef<import('../offline/types').OnlineStatus>;
|
|
12
|
-
theme: Ref<{
|
|
13
|
-
palette: {
|
|
14
|
-
mode: string;
|
|
15
|
-
background: {
|
|
16
|
-
light?: string | undefined;
|
|
17
|
-
dark?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
primary: {
|
|
20
|
-
light?: string | undefined;
|
|
21
|
-
dark?: string | undefined;
|
|
22
|
-
};
|
|
23
|
-
primary150: {
|
|
24
|
-
light?: string | undefined;
|
|
25
|
-
dark?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
primary500: {
|
|
28
|
-
light?: string | undefined;
|
|
29
|
-
dark?: string | undefined;
|
|
30
|
-
};
|
|
31
|
-
error: {
|
|
32
|
-
light?: string | undefined;
|
|
33
|
-
dark?: string | undefined;
|
|
34
|
-
};
|
|
35
|
-
accent: {
|
|
36
|
-
light?: string | undefined;
|
|
37
|
-
dark?: string | undefined;
|
|
38
|
-
};
|
|
39
|
-
accent50: {
|
|
40
|
-
light?: string | undefined;
|
|
41
|
-
dark?: string | undefined;
|
|
42
|
-
};
|
|
43
|
-
accent100: {
|
|
44
|
-
light?: string | undefined;
|
|
45
|
-
dark?: string | undefined;
|
|
46
|
-
};
|
|
47
|
-
accent200: {
|
|
48
|
-
light?: string | undefined;
|
|
49
|
-
dark?: string | undefined;
|
|
50
|
-
};
|
|
51
|
-
accent300: {
|
|
52
|
-
light?: string | undefined;
|
|
53
|
-
dark?: string | undefined;
|
|
54
|
-
};
|
|
55
|
-
accent400: {
|
|
56
|
-
light?: string | undefined;
|
|
57
|
-
dark?: string | undefined;
|
|
58
|
-
};
|
|
59
|
-
accent500: {
|
|
60
|
-
light?: string | undefined;
|
|
61
|
-
dark?: string | undefined;
|
|
62
|
-
};
|
|
63
|
-
accent600: {
|
|
64
|
-
light?: string | undefined;
|
|
65
|
-
dark?: string | undefined;
|
|
66
|
-
};
|
|
67
|
-
accent700: {
|
|
68
|
-
light?: string | undefined;
|
|
69
|
-
dark?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
accent800: {
|
|
72
|
-
light?: string | undefined;
|
|
73
|
-
dark?: string | undefined;
|
|
74
|
-
};
|
|
75
|
-
accent900: {
|
|
76
|
-
light?: string | undefined;
|
|
77
|
-
dark?: string | undefined;
|
|
78
|
-
};
|
|
79
|
-
success: {
|
|
80
|
-
light?: string | undefined;
|
|
81
|
-
dark?: string | undefined;
|
|
82
|
-
};
|
|
83
|
-
secondary: {
|
|
84
|
-
light?: string | undefined;
|
|
85
|
-
dark?: string | undefined;
|
|
86
|
-
};
|
|
87
|
-
tertiary: {
|
|
88
|
-
light?: string | undefined;
|
|
89
|
-
dark?: string | undefined;
|
|
90
|
-
};
|
|
91
|
-
getAccent: (mode?: string) => string | undefined;
|
|
92
|
-
getAccent50: (mode?: string) => string | undefined;
|
|
93
|
-
getAccent100: (mode?: string) => string | undefined;
|
|
94
|
-
getAccent200: (mode?: string) => string | undefined;
|
|
95
|
-
getAccent300: (mode?: string) => string | undefined;
|
|
96
|
-
getAccent400: (mode?: string) => string | undefined;
|
|
97
|
-
getAccent500: (mode?: string) => string | undefined;
|
|
98
|
-
getAccent600: (mode?: string) => string | undefined;
|
|
99
|
-
getAccent700: (mode?: string) => string | undefined;
|
|
100
|
-
getAccent800: (mode?: string) => string | undefined;
|
|
101
|
-
getAccent900: (mode?: string) => string | undefined;
|
|
102
|
-
getSuccess: (mode?: string) => string | undefined;
|
|
103
|
-
getError: (mode?: string) => string | undefined;
|
|
104
|
-
getPrimary: (mode?: string) => string | undefined;
|
|
105
|
-
getPrimary150: (mode?: string) => string | undefined;
|
|
106
|
-
getPrimary500: (mode?: string) => string | undefined;
|
|
107
|
-
getSecondary: (mode?: string) => string | undefined;
|
|
108
|
-
getBackground: (mode?: string) => string | undefined;
|
|
109
|
-
getTertiary: (mode?: string) => string | undefined;
|
|
110
|
-
setMode: (mode: string) => void;
|
|
111
|
-
setBackground: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
112
|
-
setPrimary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
113
|
-
setPrimary150: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
114
|
-
setPrimary500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
115
|
-
setSecondary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
116
|
-
setError: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
117
|
-
setAccent: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
118
|
-
setAccent50: (colorset?: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
119
|
-
setAccent100: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
120
|
-
setAccent200: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
121
|
-
setAccent300: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
122
|
-
setAccent400: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
123
|
-
setAccent500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
124
|
-
setAccent600: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
125
|
-
setAccent700: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
126
|
-
setAccent800: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
127
|
-
setAccent900: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
128
|
-
setTertiary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
129
|
-
};
|
|
130
|
-
typography: {
|
|
131
|
-
fontFamily: string;
|
|
132
|
-
fontWeightRegular: string;
|
|
133
|
-
fontWeightMedium: string;
|
|
134
|
-
fontWeightSemibold: string;
|
|
135
|
-
fontWeightBold: string;
|
|
136
|
-
heading: {
|
|
137
|
-
fontFamily: string;
|
|
138
|
-
fontWeight: string;
|
|
139
|
-
fontSize: string;
|
|
140
|
-
};
|
|
141
|
-
name: {
|
|
142
|
-
fontFamily: string;
|
|
143
|
-
fontWeight: string;
|
|
144
|
-
fontSize: string;
|
|
145
|
-
};
|
|
146
|
-
title1: {
|
|
147
|
-
fontFamily: string;
|
|
148
|
-
fontWeight: string;
|
|
149
|
-
fontSize: string;
|
|
150
|
-
};
|
|
151
|
-
title2: {
|
|
152
|
-
fontFamily: string;
|
|
153
|
-
fontWeight: string;
|
|
154
|
-
fontSize: string;
|
|
155
|
-
};
|
|
156
|
-
subtitle1: {
|
|
157
|
-
fontFamily: string;
|
|
158
|
-
fontWeight: string;
|
|
159
|
-
fontSize: string;
|
|
160
|
-
};
|
|
161
|
-
subtitle2: {
|
|
162
|
-
fontFamily: string;
|
|
163
|
-
fontWeight: string;
|
|
164
|
-
fontSize: string;
|
|
165
|
-
};
|
|
166
|
-
text1: {
|
|
167
|
-
fontFamily: string;
|
|
168
|
-
fontWeight: string;
|
|
169
|
-
fontSize: string;
|
|
170
|
-
};
|
|
171
|
-
text2: {
|
|
172
|
-
fontFamily: string;
|
|
173
|
-
fontWeight: string;
|
|
174
|
-
fontSize: string;
|
|
175
|
-
};
|
|
176
|
-
text3: {
|
|
177
|
-
fontFamily: string;
|
|
178
|
-
fontWeight: string;
|
|
179
|
-
fontSize: string;
|
|
180
|
-
};
|
|
181
|
-
caption1: {
|
|
182
|
-
fontFamily: string;
|
|
183
|
-
fontWeight: string;
|
|
184
|
-
fontSize: string;
|
|
185
|
-
};
|
|
186
|
-
caption2: {
|
|
187
|
-
fontFamily: string;
|
|
188
|
-
fontWeight: string;
|
|
189
|
-
fontSize: string;
|
|
190
|
-
};
|
|
191
|
-
caption3: {
|
|
192
|
-
fontFamily: string;
|
|
193
|
-
fontWeight: string;
|
|
194
|
-
fontSize: string;
|
|
195
|
-
};
|
|
196
|
-
setFontFamily: (fontFamily: string) => void;
|
|
197
|
-
setFontWeightRegular: (fontWeightRegular: string) => void;
|
|
198
|
-
setFontWeightMedium: (fontWeightMedium: string) => void;
|
|
199
|
-
setFontWeightSemibold: (fontWeightSemibold: string) => void;
|
|
200
|
-
setFontWeightBold: (fontWeightBold: string) => void;
|
|
201
|
-
setHeading: (headingFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
202
|
-
setName: (nameFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
203
|
-
setTitle1: (titleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
204
|
-
setTitle2: (titleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
205
|
-
setSubtitle1: (subtitleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
206
|
-
setSubtitle2: (subtitleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
207
|
-
setText1: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
208
|
-
setText2: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
209
|
-
setText3: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
210
|
-
setCaption1: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
211
|
-
setCaption2: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
212
|
-
setCaption3: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
213
|
-
};
|
|
214
|
-
}, import('@cometchat/uikit-resources').CometChatTheme | {
|
|
215
|
-
palette: {
|
|
216
|
-
mode: string;
|
|
217
|
-
background: {
|
|
218
|
-
light?: string | undefined;
|
|
219
|
-
dark?: string | undefined;
|
|
220
|
-
};
|
|
221
|
-
primary: {
|
|
222
|
-
light?: string | undefined;
|
|
223
|
-
dark?: string | undefined;
|
|
224
|
-
};
|
|
225
|
-
primary150: {
|
|
226
|
-
light?: string | undefined;
|
|
227
|
-
dark?: string | undefined;
|
|
228
|
-
};
|
|
229
|
-
primary500: {
|
|
230
|
-
light?: string | undefined;
|
|
231
|
-
dark?: string | undefined;
|
|
232
|
-
};
|
|
233
|
-
error: {
|
|
234
|
-
light?: string | undefined;
|
|
235
|
-
dark?: string | undefined;
|
|
236
|
-
};
|
|
237
|
-
accent: {
|
|
238
|
-
light?: string | undefined;
|
|
239
|
-
dark?: string | undefined;
|
|
240
|
-
};
|
|
241
|
-
accent50: {
|
|
242
|
-
light?: string | undefined;
|
|
243
|
-
dark?: string | undefined;
|
|
244
|
-
};
|
|
245
|
-
accent100: {
|
|
246
|
-
light?: string | undefined;
|
|
247
|
-
dark?: string | undefined;
|
|
248
|
-
};
|
|
249
|
-
accent200: {
|
|
250
|
-
light?: string | undefined;
|
|
251
|
-
dark?: string | undefined;
|
|
252
|
-
};
|
|
253
|
-
accent300: {
|
|
254
|
-
light?: string | undefined;
|
|
255
|
-
dark?: string | undefined;
|
|
256
|
-
};
|
|
257
|
-
accent400: {
|
|
258
|
-
light?: string | undefined;
|
|
259
|
-
dark?: string | undefined;
|
|
260
|
-
};
|
|
261
|
-
accent500: {
|
|
262
|
-
light?: string | undefined;
|
|
263
|
-
dark?: string | undefined;
|
|
264
|
-
};
|
|
265
|
-
accent600: {
|
|
266
|
-
light?: string | undefined;
|
|
267
|
-
dark?: string | undefined;
|
|
268
|
-
};
|
|
269
|
-
accent700: {
|
|
270
|
-
light?: string | undefined;
|
|
271
|
-
dark?: string | undefined;
|
|
272
|
-
};
|
|
273
|
-
accent800: {
|
|
274
|
-
light?: string | undefined;
|
|
275
|
-
dark?: string | undefined;
|
|
276
|
-
};
|
|
277
|
-
accent900: {
|
|
278
|
-
light?: string | undefined;
|
|
279
|
-
dark?: string | undefined;
|
|
280
|
-
};
|
|
281
|
-
success: {
|
|
282
|
-
light?: string | undefined;
|
|
283
|
-
dark?: string | undefined;
|
|
284
|
-
};
|
|
285
|
-
secondary: {
|
|
286
|
-
light?: string | undefined;
|
|
287
|
-
dark?: string | undefined;
|
|
288
|
-
};
|
|
289
|
-
tertiary: {
|
|
290
|
-
light?: string | undefined;
|
|
291
|
-
dark?: string | undefined;
|
|
292
|
-
};
|
|
293
|
-
getAccent: (mode?: string) => string | undefined;
|
|
294
|
-
getAccent50: (mode?: string) => string | undefined;
|
|
295
|
-
getAccent100: (mode?: string) => string | undefined;
|
|
296
|
-
getAccent200: (mode?: string) => string | undefined;
|
|
297
|
-
getAccent300: (mode?: string) => string | undefined;
|
|
298
|
-
getAccent400: (mode?: string) => string | undefined;
|
|
299
|
-
getAccent500: (mode?: string) => string | undefined;
|
|
300
|
-
getAccent600: (mode?: string) => string | undefined;
|
|
301
|
-
getAccent700: (mode?: string) => string | undefined;
|
|
302
|
-
getAccent800: (mode?: string) => string | undefined;
|
|
303
|
-
getAccent900: (mode?: string) => string | undefined;
|
|
304
|
-
getSuccess: (mode?: string) => string | undefined;
|
|
305
|
-
getError: (mode?: string) => string | undefined;
|
|
306
|
-
getPrimary: (mode?: string) => string | undefined;
|
|
307
|
-
getPrimary150: (mode?: string) => string | undefined;
|
|
308
|
-
getPrimary500: (mode?: string) => string | undefined;
|
|
309
|
-
getSecondary: (mode?: string) => string | undefined;
|
|
310
|
-
getBackground: (mode?: string) => string | undefined;
|
|
311
|
-
getTertiary: (mode?: string) => string | undefined;
|
|
312
|
-
setMode: (mode: string) => void;
|
|
313
|
-
setBackground: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
314
|
-
setPrimary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
315
|
-
setPrimary150: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
316
|
-
setPrimary500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
317
|
-
setSecondary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
318
|
-
setError: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
319
|
-
setAccent: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
320
|
-
setAccent50: (colorset?: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
321
|
-
setAccent100: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
322
|
-
setAccent200: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
323
|
-
setAccent300: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
324
|
-
setAccent400: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
325
|
-
setAccent500: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
326
|
-
setAccent600: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
327
|
-
setAccent700: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
328
|
-
setAccent800: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
329
|
-
setAccent900: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
330
|
-
setTertiary: (colorset: import('@cometchat/uikit-resources').PaletteItem) => void;
|
|
331
|
-
};
|
|
332
|
-
typography: {
|
|
333
|
-
fontFamily: string;
|
|
334
|
-
fontWeightRegular: string;
|
|
335
|
-
fontWeightMedium: string;
|
|
336
|
-
fontWeightSemibold: string;
|
|
337
|
-
fontWeightBold: string;
|
|
338
|
-
heading: {
|
|
339
|
-
fontFamily: string;
|
|
340
|
-
fontWeight: string;
|
|
341
|
-
fontSize: string;
|
|
342
|
-
};
|
|
343
|
-
name: {
|
|
344
|
-
fontFamily: string;
|
|
345
|
-
fontWeight: string;
|
|
346
|
-
fontSize: string;
|
|
347
|
-
};
|
|
348
|
-
title1: {
|
|
349
|
-
fontFamily: string;
|
|
350
|
-
fontWeight: string;
|
|
351
|
-
fontSize: string;
|
|
352
|
-
};
|
|
353
|
-
title2: {
|
|
354
|
-
fontFamily: string;
|
|
355
|
-
fontWeight: string;
|
|
356
|
-
fontSize: string;
|
|
357
|
-
};
|
|
358
|
-
subtitle1: {
|
|
359
|
-
fontFamily: string;
|
|
360
|
-
fontWeight: string;
|
|
361
|
-
fontSize: string;
|
|
362
|
-
};
|
|
363
|
-
subtitle2: {
|
|
364
|
-
fontFamily: string;
|
|
365
|
-
fontWeight: string;
|
|
366
|
-
fontSize: string;
|
|
367
|
-
};
|
|
368
|
-
text1: {
|
|
369
|
-
fontFamily: string;
|
|
370
|
-
fontWeight: string;
|
|
371
|
-
fontSize: string;
|
|
372
|
-
};
|
|
373
|
-
text2: {
|
|
374
|
-
fontFamily: string;
|
|
375
|
-
fontWeight: string;
|
|
376
|
-
fontSize: string;
|
|
377
|
-
};
|
|
378
|
-
text3: {
|
|
379
|
-
fontFamily: string;
|
|
380
|
-
fontWeight: string;
|
|
381
|
-
fontSize: string;
|
|
382
|
-
};
|
|
383
|
-
caption1: {
|
|
384
|
-
fontFamily: string;
|
|
385
|
-
fontWeight: string;
|
|
386
|
-
fontSize: string;
|
|
387
|
-
};
|
|
388
|
-
caption2: {
|
|
389
|
-
fontFamily: string;
|
|
390
|
-
fontWeight: string;
|
|
391
|
-
fontSize: string;
|
|
392
|
-
};
|
|
393
|
-
caption3: {
|
|
394
|
-
fontFamily: string;
|
|
395
|
-
fontWeight: string;
|
|
396
|
-
fontSize: string;
|
|
397
|
-
};
|
|
398
|
-
setFontFamily: (fontFamily: string) => void;
|
|
399
|
-
setFontWeightRegular: (fontWeightRegular: string) => void;
|
|
400
|
-
setFontWeightMedium: (fontWeightMedium: string) => void;
|
|
401
|
-
setFontWeightSemibold: (fontWeightSemibold: string) => void;
|
|
402
|
-
setFontWeightBold: (fontWeightBold: string) => void;
|
|
403
|
-
setHeading: (headingFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
404
|
-
setName: (nameFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
405
|
-
setTitle1: (titleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
406
|
-
setTitle2: (titleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
407
|
-
setSubtitle1: (subtitleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
408
|
-
setSubtitle2: (subtitleFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
409
|
-
setText1: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
410
|
-
setText2: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
411
|
-
setText3: (textFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
412
|
-
setCaption1: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
413
|
-
setCaption2: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
414
|
-
setCaption3: (captionFont: import('@cometchat/uikit-resources').CometChatFont) => void;
|
|
415
|
-
};
|
|
416
|
-
}>;
|
|
417
|
-
setThemeMode: (mode: import('./types').ThemeMode) => void;
|
|
418
|
-
loggedIn: Ref<boolean, boolean>;
|
|
419
|
-
login: typeof import('./login').login;
|
|
420
|
-
logout: typeof import('./login').logout;
|
|
421
|
-
getCurrentEnvironment(): import('./types').ChatEnvironmentConfig;
|
|
422
|
-
setCurrentEnvironment(env: import('./types').Environment): void;
|
|
423
|
-
setAccessToken: (token: string) => Promise<void>;
|
|
424
|
-
connect: typeof import('./connection').connect;
|
|
425
|
-
disconnect: typeof import('./connection').disconnect;
|
|
426
|
-
connected: import('vue').ComputedRef<boolean>;
|
|
427
|
-
connecting: import('vue').ComputedRef<boolean>;
|
|
428
|
-
getGroup(groupUid: string): Promise<import('@cometchat/chat-sdk-javascript').Group | null | undefined>;
|
|
429
|
-
clearGroupChatCount(groupUid: string): Promise<void>;
|
|
430
|
-
getGroupOnlineCount(groupUid: string): Promise<number>;
|
|
431
|
-
getGroupMembersInfo(groupUid: string): Promise<import('./types').ParticipantInfo[]>;
|
|
432
|
-
getUserChats(): Promise<import('./types').UserChatInfo[]>;
|
|
433
|
-
searchChat(searchQuery: string, limit?: number): import('./types').SearchedItems | undefined;
|
|
434
|
-
scrollToMessage(messageId: string): void;
|
|
435
|
-
getSenderDisplayName(message: import('@cometchat/chat-sdk-javascript').BaseMessage | undefined, group?: Ref<import('@cometchat/chat-sdk-javascript').Group | undefined>): any;
|
|
436
|
-
getMessageTextPreview(message?: import('@cometchat/chat-sdk-javascript').BaseMessage, showEmoji?: boolean, showAttachmentName?: boolean): string;
|
|
437
|
-
proxyImage(imageUrl: string): string;
|
|
438
|
-
getMutedUntil(chatUid: string): Promise<string | null>;
|
|
439
|
-
muteChat(chatUid: string, mutedUntil: string | null): Promise<string | null>;
|
|
440
|
-
getMyChatSettings(): Promise<import('./types').PersonSettings>;
|
|
441
|
-
updateMyChatSettings(settings: Partial<import('./types').PersonSettings>): Promise<import('./types').PersonSettings>;
|
|
442
|
-
setMuteAll(mute: boolean): Promise<boolean>;
|
|
443
|
-
toggleMuteAll(): Promise<boolean>;
|
|
444
|
-
toMarkdownHtml(str: string, mentionedUsers?: import('@cometchat/chat-sdk-javascript').User[]): string;
|
|
445
|
-
userChats: Ref<import('./types').UserChatInfo[]>;
|
|
446
|
-
install: typeof install;
|
|
447
|
-
updateGetGroupMessages: typeof updateGetGroupMessages;
|
|
448
|
-
initialized: Ref<boolean, boolean>;
|
|
449
|
-
};
|
|
450
|
-
export default _default;
|
package/dist/chat/logger.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LogEntry } from './types';
|
|
2
|
-
declare class Logger {
|
|
3
|
-
#private;
|
|
4
|
-
constructor();
|
|
5
|
-
debug(msg: string, metadata?: Record<string, any>): void;
|
|
6
|
-
info(msg: string, metadata?: Record<string, any>): void;
|
|
7
|
-
warn(msg: string, metadata?: Record<string, any>): void;
|
|
8
|
-
error(msg: string, metadata?: Record<string, any>): void;
|
|
9
|
-
setCallback(callback: (entry: LogEntry) => void): void;
|
|
10
|
-
}
|
|
11
|
-
declare const logger: Logger;
|
|
12
|
-
export default logger;
|
package/dist/chat/login.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface StoredToken {
|
|
2
|
-
sub: string;
|
|
3
|
-
token: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const loggedIn: import('vue').Ref<boolean, boolean>;
|
|
6
|
-
export declare function login(accessToken?: string): Promise<void>;
|
|
7
|
-
export declare function logout(): Promise<void>;
|
|
8
|
-
export declare function retrieveCcToken(): StoredToken | null;
|
|
9
|
-
declare const _default: {
|
|
10
|
-
loggedIn: import('vue').Ref<boolean, boolean>;
|
|
11
|
-
login: typeof login;
|
|
12
|
-
logout: typeof logout;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
package/dist/chat/message.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class Message {
|
|
2
|
-
chatUid?: string;
|
|
3
|
-
type?: MessageType;
|
|
4
|
-
text?: string;
|
|
5
|
-
mediaUrl?: string;
|
|
6
|
-
metadata?: MessageMetadata;
|
|
7
|
-
}
|
|
8
|
-
export declare enum MessageType {
|
|
9
|
-
MessageTypeText = "Text",
|
|
10
|
-
MessageTypeMedia = "Media"
|
|
11
|
-
}
|
|
12
|
-
export declare class MessageMetadata {
|
|
13
|
-
scheduleDate?: string;
|
|
14
|
-
file?: File;
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ExtensionsDataSource, OptionsStyle } from '@cometchat/chat-uikit-vue';
|
|
2
|
-
import { ReplyPreviewStyle } from './replyStyle';
|
|
3
|
-
export declare const bccReplyOptionId = "bccreply";
|
|
4
|
-
declare class InlineReplyExtensionConfiguration {
|
|
5
|
-
private style;
|
|
6
|
-
private optionIconURL;
|
|
7
|
-
private optionStyle;
|
|
8
|
-
constructor(configuration: {
|
|
9
|
-
style?: ReplyPreviewStyle;
|
|
10
|
-
optionIconURL?: string;
|
|
11
|
-
optionStyle?: OptionsStyle;
|
|
12
|
-
});
|
|
13
|
-
getReplyPreviewStyle(): ReplyPreviewStyle | undefined;
|
|
14
|
-
getOptionIconURL(): string | undefined;
|
|
15
|
-
getOptionStyle(): OptionsStyle | undefined;
|
|
16
|
-
}
|
|
17
|
-
export declare class InlineReplyExtension extends ExtensionsDataSource {
|
|
18
|
-
configuration: InlineReplyExtensionConfiguration;
|
|
19
|
-
constructor({ configuration }?: {
|
|
20
|
-
configuration: InlineReplyExtensionConfiguration;
|
|
21
|
-
});
|
|
22
|
-
enable(): void;
|
|
23
|
-
addExtension(): void;
|
|
24
|
-
getExtensionId(): string;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CometChatTheme } from '@cometchat/uikit-resources';
|
|
2
|
-
import { BaseStyle } from '@cometchat/uikit-shared';
|
|
3
|
-
/**
|
|
4
|
-
* ReplyPreviewStyle
|
|
5
|
-
*
|
|
6
|
-
* @property {string} height - The height of the component.
|
|
7
|
-
* @property {string} width - The width of the component.
|
|
8
|
-
* @property {string} border - The border of the component.
|
|
9
|
-
* @property {string} borderRadius - The border radius of the component.
|
|
10
|
-
* @property {string} background - The background color of the component.
|
|
11
|
-
* @property {string} titleFont - The font of the title text.
|
|
12
|
-
* @property {string} titleColor - The color of the title text.
|
|
13
|
-
* @property {string} subtitleFont - The font of the subtitle text.
|
|
14
|
-
* @property {string} subtitleColor - The color of the subtitle text.
|
|
15
|
-
* @property {string} closeButtonIconTint - The color of the close button.
|
|
16
|
-
*/
|
|
17
|
-
export declare class ReplyPreviewStyle extends BaseStyle {
|
|
18
|
-
titleFont: string;
|
|
19
|
-
titleColor?: string;
|
|
20
|
-
subtitleFont: string;
|
|
21
|
-
subtitleColor?: string;
|
|
22
|
-
closeButtonIconTint?: string;
|
|
23
|
-
barLeftPosition: string;
|
|
24
|
-
barWidth: string;
|
|
25
|
-
barBackground?: string;
|
|
26
|
-
barOpacity: string;
|
|
27
|
-
previewWrapperPadding?: string;
|
|
28
|
-
previewWrapperOpacity?: string;
|
|
29
|
-
constructor(props: Partial<ReplyPreviewStyle>, theme: CometChatTheme);
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ExtensionsDataSource, OptionsStyle } from '@cometchat/chat-uikit-vue';
|
|
2
|
-
export declare const rescheduleOptionId = "reschedule";
|
|
3
|
-
declare class RescheduleExtensionConfiguration {
|
|
4
|
-
private optionIconURL;
|
|
5
|
-
private optionStyle;
|
|
6
|
-
constructor(configuration: {
|
|
7
|
-
optionIconURL?: string;
|
|
8
|
-
optionStyle?: OptionsStyle;
|
|
9
|
-
});
|
|
10
|
-
getOptionIconURL(): string | undefined;
|
|
11
|
-
getOptionStyle(): OptionsStyle | undefined;
|
|
12
|
-
}
|
|
13
|
-
export declare class RescheduleExtension extends ExtensionsDataSource {
|
|
14
|
-
configuration: RescheduleExtensionConfiguration;
|
|
15
|
-
constructor({ configuration }?: {
|
|
16
|
-
configuration: RescheduleExtensionConfiguration;
|
|
17
|
-
});
|
|
18
|
-
enable(): void;
|
|
19
|
-
addExtension(): void;
|
|
20
|
-
getExtensionId(): string;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { ChatInstance } from './types';
|
|
3
|
-
export declare function rescheduleMessage(scheduleDate: string, originalChatUid: string, muid: string, messageId: number): Promise<boolean>;
|
|
4
|
-
export declare function sendScheduledMessage(scheduleDate: string, originalChatUid: string, chatInstance: Ref<ChatInstance>): Promise<boolean>;
|
package/dist/chat/styleFix.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param targetSelector
|
|
4
|
-
* @param apply: Array with objects containing the following properties:
|
|
5
|
-
* - selector Which elements to find and apply the style to
|
|
6
|
-
* - style The css styles to apply
|
|
7
|
-
* - shadowDomSelector (optional) If the elements are in a shadow dom, you can specify the selector to find the shadow dom (e.g. 'my-element'
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
export declare function watchAndApplyStyle(targetSelector: string, apply: Array<{
|
|
11
|
-
selector: string;
|
|
12
|
-
style: Record<string, string>;
|
|
13
|
-
shadowDomSelector?: string;
|
|
14
|
-
}>): MutationObserver | undefined;
|