@bcc-code/vue-bcc-chat-ui 7.1.63 → 7.2.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/index.d.ts +13 -2
- package/dist/style.css +1 -1
- package/dist/vue-bcc-chat-ui.js +7336 -7170
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -86,9 +86,9 @@ declare type __VLS_Slots = {} & {
|
|
|
86
86
|
} & {
|
|
87
87
|
'message-header'?: (props: typeof __VLS_18) => any;
|
|
88
88
|
} & {
|
|
89
|
-
'no-messages'?: (props: typeof
|
|
89
|
+
'no-messages'?: (props: typeof __VLS_88) => any;
|
|
90
90
|
} & {
|
|
91
|
-
'not-a-member'?: (props: typeof
|
|
91
|
+
'not-a-member'?: (props: typeof __VLS_91) => any;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
declare type __VLS_WithSlots<T, S> = T & {
|
|
@@ -347,6 +347,7 @@ export declare interface ChatClient {
|
|
|
347
347
|
sendTextMessage: (text: string, options?: MessageSendOptions) => Promise<void>;
|
|
348
348
|
sendAttachmentMessage: (input: AttachmentUploadInput, options?: MessageSendOptions) => Promise<void>;
|
|
349
349
|
sendPollMessage: (input: PollComposerInput, options?: MessageSendOptions) => Promise<void>;
|
|
350
|
+
forwardMessage: (message: ChatMessageItem, target: ForwardMessageTarget) => Promise<void>;
|
|
350
351
|
fetchScheduledMessages: (originalChatUid?: string) => Promise<void>;
|
|
351
352
|
loadOlderMessages: () => Promise<boolean>;
|
|
352
353
|
loadOlderThreadMessages: () => Promise<boolean>;
|
|
@@ -417,6 +418,10 @@ declare interface ChatEnvironmentConfig {
|
|
|
417
418
|
chatApiBaseUrl: string;
|
|
418
419
|
}
|
|
419
420
|
|
|
421
|
+
export declare interface ChatForwardedFromInfo {
|
|
422
|
+
senderName: string;
|
|
423
|
+
}
|
|
424
|
+
|
|
420
425
|
export declare interface ChatInstallOptions {
|
|
421
426
|
environment: Environment;
|
|
422
427
|
language?: Language;
|
|
@@ -473,6 +478,7 @@ export declare interface ChatMessageItem {
|
|
|
473
478
|
scheduled?: ChatScheduledInfo;
|
|
474
479
|
translatedText?: string;
|
|
475
480
|
replyTo?: ChatReplyPreview;
|
|
481
|
+
forwardedFrom?: ChatForwardedFromInfo;
|
|
476
482
|
parentMessageId?: string;
|
|
477
483
|
replyCount: number;
|
|
478
484
|
reactions: ChatReactionItem[];
|
|
@@ -612,6 +618,11 @@ export declare interface DispatchData {
|
|
|
612
618
|
|
|
613
619
|
export declare type Environment = "prod" | "sandbox";
|
|
614
620
|
|
|
621
|
+
export declare interface ForwardMessageTarget {
|
|
622
|
+
chatUid: string;
|
|
623
|
+
type: "user" | "group";
|
|
624
|
+
}
|
|
625
|
+
|
|
615
626
|
export declare interface FuseResultMatch {
|
|
616
627
|
indices: ReadonlyArray<[number, number]>;
|
|
617
628
|
key?: {
|