cometchat-visual-builder-no-code 1.0.10-test46 → 1.0.10-test48
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/README.md +3 -3
- package/dist/main.js +1 -1
- package/dist/src/CometChat/CometChatApp.d.ts +3 -1
- package/dist/src/CometChat/components/CometChatHome/CometChatHome.d.ts +2 -1
- package/dist/src/CometChat/components/CometChatMessages/CometChatMessages.d.ts +1 -0
- package/dist/src/CometChatNoCode/CometChatApi.d.ts +7 -1
- package/package.json +1 -1
|
@@ -5,6 +5,8 @@ interface CometChatAppProps {
|
|
|
5
5
|
user?: CometChat.User;
|
|
6
6
|
/** Default group for the chat application (optional). */
|
|
7
7
|
group?: CometChat.Group;
|
|
8
|
+
/** Show or hide group action messages (optional). */
|
|
9
|
+
showGroupActionMessages?: boolean;
|
|
8
10
|
}
|
|
9
11
|
/**
|
|
10
12
|
* Main application component for the CometChat Builder.
|
|
@@ -12,5 +14,5 @@ interface CometChatAppProps {
|
|
|
12
14
|
* @param {CometChatAppProps} props - The component props.
|
|
13
15
|
* @returns {JSX.Element} The rendered CometChatApp component.
|
|
14
16
|
*/
|
|
15
|
-
declare function CometChatApp({ user, group }: CometChatAppProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function CometChatApp({ user, group, showGroupActionMessages }: CometChatAppProps): import("react/jsx-runtime").JSX.Element;
|
|
16
18
|
export default CometChatApp;
|
|
@@ -8,7 +8,8 @@ import '../../styles/CometChatApp.css';
|
|
|
8
8
|
interface CometChatHomeProps {
|
|
9
9
|
defaultUser?: CometChat.User;
|
|
10
10
|
defaultGroup?: CometChat.Group;
|
|
11
|
+
showGroupActionMessages?: boolean;
|
|
11
12
|
}
|
|
12
|
-
declare function CometChatHome({ defaultUser, defaultGroup }: CometChatHomeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
declare function CometChatHome({ defaultUser, defaultGroup, showGroupActionMessages }: CometChatHomeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
14
|
declare const MemoizedCometChatHome: React.MemoExoticComponent<typeof CometChatHome>;
|
|
14
15
|
export { MemoizedCometChatHome as CometChatHome };
|
|
@@ -9,6 +9,7 @@ interface MessagesViewProps {
|
|
|
9
9
|
onBack?: () => void;
|
|
10
10
|
goToMessageId?: string;
|
|
11
11
|
searchKeyword?: string;
|
|
12
|
+
showGroupActionMessages?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export declare const CometChatMessages: (props: MessagesViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -17,6 +17,8 @@ export interface VcbData {
|
|
|
17
17
|
dockedAlignment?: string;
|
|
18
18
|
isAIAgentView?: boolean;
|
|
19
19
|
aiAssistantTools?: any;
|
|
20
|
+
showDockedUnreadCount?: boolean;
|
|
21
|
+
showGroupActionMessages?: boolean;
|
|
20
22
|
}
|
|
21
23
|
export declare const vcbData: VcbData;
|
|
22
24
|
export declare const listeners: Record<string, Function>;
|
|
@@ -24,7 +26,7 @@ declare const CometChatApp: {
|
|
|
24
26
|
init: (config: {
|
|
25
27
|
appID: string;
|
|
26
28
|
appRegion: string;
|
|
27
|
-
authKey
|
|
29
|
+
authKey?: string;
|
|
28
30
|
}) => Promise<boolean>;
|
|
29
31
|
login: ({ uid, authToken }: {
|
|
30
32
|
uid?: string | undefined;
|
|
@@ -41,6 +43,8 @@ declare const CometChatApp: {
|
|
|
41
43
|
defaultChatID?: string;
|
|
42
44
|
dockedAlignment?: string;
|
|
43
45
|
aiAssistantTools?: any;
|
|
46
|
+
showDockedUnreadCount?: boolean;
|
|
47
|
+
showGroupActionMessages?: boolean;
|
|
44
48
|
}) => Promise<void>;
|
|
45
49
|
uiEvent: (eventName: string, callback: Function) => void;
|
|
46
50
|
callUser: (uid: string) => Promise<void>;
|
|
@@ -51,6 +55,8 @@ declare const CometChatApp: {
|
|
|
51
55
|
chatWithGroup: (guid: string) => void;
|
|
52
56
|
localize: (language: string) => void;
|
|
53
57
|
reload: () => Promise<void>;
|
|
58
|
+
showDockedUnreadCount: (show?: boolean) => void;
|
|
59
|
+
showGroupActionMessages: (show?: boolean) => void;
|
|
54
60
|
CometChat: typeof CometChat;
|
|
55
61
|
};
|
|
56
62
|
export default CometChatApp;
|