cometchat-visual-builder-no-code 1.0.12-firefox-theme-fix → 1.0.53

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.
@@ -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;
@@ -13,6 +13,7 @@ export interface CometChatSettingsInterface {
13
13
  userAndFriendsPresence: boolean;
14
14
  conversationAndAdvancedSearch?: boolean;
15
15
  moderation?: boolean;
16
+ quotedReplies?: boolean;
16
17
  };
17
18
  deeperUserEngagement: {
18
19
  mentions: boolean;
@@ -32,6 +33,9 @@ export interface CometChatSettingsInterface {
32
33
  conversationSummary: boolean;
33
34
  smartReply: boolean;
34
35
  };
36
+ userManagement?: {
37
+ friendsOnly?: boolean;
38
+ };
35
39
  groupManagement: {
36
40
  createGroup: boolean;
37
41
  addMembersToGroups: boolean;
@@ -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 {};
@@ -34,6 +34,7 @@ export interface CometChatSettingsInterface {
34
34
  userAndFriendsPresence: boolean;
35
35
  conversationAndAdvancedSearch?: boolean;
36
36
  moderation?: boolean;
37
+ quotedReplies?: boolean;
37
38
  };
38
39
  deeperUserEngagement: {
39
40
  mentions: boolean;
@@ -53,6 +54,9 @@ export interface CometChatSettingsInterface {
53
54
  conversationSummary: boolean;
54
55
  smartReply: boolean;
55
56
  };
57
+ userManagement?: {
58
+ friendsOnly?: boolean;
59
+ };
56
60
  groupManagement: {
57
61
  createGroup: boolean;
58
62
  addMembersToGroups: boolean;
@@ -17,6 +17,9 @@ export interface VcbData {
17
17
  dockedAlignment?: string;
18
18
  isAIAgentView?: boolean;
19
19
  aiAssistantTools?: any;
20
+ showDockedUnreadCount?: boolean;
21
+ showGroupActionMessages?: boolean;
22
+ storageMode?: string;
20
23
  }
21
24
  export declare const vcbData: VcbData;
22
25
  export declare const listeners: Record<string, Function>;
@@ -24,7 +27,8 @@ declare const CometChatApp: {
24
27
  init: (config: {
25
28
  appID: string;
26
29
  appRegion: string;
27
- authKey: string;
30
+ authKey?: string;
31
+ storageMode?: string;
28
32
  }) => Promise<boolean>;
29
33
  login: ({ uid, authToken }: {
30
34
  uid?: string | undefined;
@@ -41,6 +45,8 @@ declare const CometChatApp: {
41
45
  defaultChatID?: string;
42
46
  dockedAlignment?: string;
43
47
  aiAssistantTools?: any;
48
+ showDockedUnreadCount?: boolean;
49
+ showGroupActionMessages?: boolean;
44
50
  }) => Promise<void>;
45
51
  uiEvent: (eventName: string, callback: Function) => void;
46
52
  callUser: (uid: string) => Promise<void>;
@@ -51,6 +57,8 @@ declare const CometChatApp: {
51
57
  chatWithGroup: (guid: string) => void;
52
58
  localize: (language: string) => void;
53
59
  reload: () => Promise<void>;
60
+ showDockedUnreadCount: (show?: boolean) => void;
61
+ showGroupActionMessages: (show?: boolean) => void;
54
62
  CometChat: typeof CometChat;
55
63
  };
56
64
  export default CometChatApp;
@@ -0,0 +1,9 @@
1
+ import React, { ReactNode } from "react";
2
+ interface IframePortalProps {
3
+ children: ReactNode;
4
+ height?: string;
5
+ width?: string;
6
+ dockedAlignment?: string;
7
+ }
8
+ declare const IframePortal: React.FC<IframePortalProps>;
9
+ export default IframePortal;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Custom React hook to attach a click listener to CometChat message indicators
3
+ * inside an iframe. The callback will trigger when a user clicks on
4
+ * a `.cometchat-message-list__message-indicator` element or any of its child buttons.
5
+ *
6
+ * This hook works for indicators and buttons that exist at the time the iframe is loaded.
7
+ * It uses the capture phase to ensure clicks are caught even if internal CometChat
8
+ * handlers stop propagation.
9
+ *
10
+ * @param {() => void} callback - Function to be called when a message indicator is clicked.
11
+ *
12
+ * @example
13
+ * useMessageIndicatorClick(() => {
14
+ * console.log("A message indicator was clicked!");
15
+ * });
16
+ */
17
+ export declare function useMessageIndicatorClick(callback: () => void): void;
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "cometchat-visual-builder-no-code",
3
- "version": "1.0.12-firefox-theme-fix",
4
- "description": "CometChat Chat Builder No-Code Integration",
3
+ "version": "1.0.53",
4
+ "description": "CometChat Widget Builder No-Code Integration",
5
5
  "cometChatCustomConfig": {
6
- "prodVersion": "1.0.12",
6
+ "prodVersion": "1.0.17",
7
7
  "devStagingVersion": "1.0.10-test29",
8
8
  "prodName": "@cometchat/chat-embed",
9
9
  "devName": "cometchat-visual-builder-no-code",
10
10
  "name": "cometchat-visual-builder-react-no-code",
11
- "version": "1.0.12",
11
+ "version": "1.0.17",
12
12
  "production": true
13
13
  },
14
14
  "author": "CometChat",
15
15
  "dependencies": {
16
- "@cometchat/calls-sdk-javascript": "4.1.0",
17
- "@cometchat/chat-uikit-react": "6.2.6",
16
+ "@cometchat/calls-sdk-javascript": "4.2.1",
17
+ "@cometchat/chat-uikit-react": "6.3.4",
18
18
  "react": "18.2.0",
19
19
  "react-dom": "18.2.0",
20
20
  "react-frame-component": "^5.2.7",