cometchat-visual-builder-no-code 1.0.10-test27 → 1.0.10-test28

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.
@@ -1,3 +1,12 @@
1
+ /**
2
+ * Prism: Lightweight, robust, elegant syntax highlighting
3
+ *
4
+ * @license MIT <https://opensource.org/licenses/MIT>
5
+ * @author Lea Verou <https://lea.verou.me>
6
+ * @namespace
7
+ * @public
8
+ */
9
+
1
10
  /**
2
11
  * @license React
3
12
  * react-dom.production.min.js
@@ -11,7 +11,6 @@ export interface CometChatSettingsInterface {
11
11
  deleteMessage: boolean;
12
12
  messageDeliveryAndReadReceipts: boolean;
13
13
  userAndFriendsPresence: boolean;
14
- conversationAndAdvancedSearch?: boolean;
15
14
  };
16
15
  deeperUserEngagement: {
17
16
  mentions: boolean;
@@ -86,5 +85,11 @@ export interface CometChatSettingsInterface {
86
85
  dockedAlignment: string;
87
86
  };
88
87
  };
88
+ agent?: {
89
+ chatHistory: boolean;
90
+ newChat: boolean;
91
+ agentIcon: string;
92
+ showAgentIcon: boolean;
93
+ };
89
94
  }
90
95
  export declare const CometChatSettings: CometChatSettingsInterface;
@@ -1,15 +1,17 @@
1
- import React, { ReactNode } from "react";
1
+ import React, { ReactNode } from 'react';
2
2
  interface CometChatContextInterface {
3
- chatFeatures: CometChatSettingsInterface["chatFeatures"];
4
- callFeatures: CometChatSettingsInterface["callFeatures"];
5
- styleFeatures: CometChatSettingsInterface["style"];
6
- layoutFeatures: CometChatSettingsInterface["layout"];
7
- noCodeFeatures: CometChatSettingsInterface["noCode"];
8
- setChatFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface["chatFeatures"]>>;
9
- setCallFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface["callFeatures"]>>;
10
- setStyleFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface["style"]>>;
11
- setLayoutFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface["layout"]>>;
12
- setNoCodeFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface["noCode"]>>;
3
+ chatFeatures: CometChatSettingsInterface['chatFeatures'];
4
+ callFeatures: CometChatSettingsInterface['callFeatures'];
5
+ styleFeatures: CometChatSettingsInterface['style'];
6
+ layoutFeatures: CometChatSettingsInterface['layout'];
7
+ noCodeFeatures: CometChatSettingsInterface['noCode'];
8
+ aiAgentFeatures: CometChatSettingsInterface['agent'];
9
+ setChatFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['chatFeatures']>>;
10
+ setCallFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['callFeatures']>>;
11
+ setStyleFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['style']>>;
12
+ setLayoutFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['layout']>>;
13
+ setNoCodeFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['noCode']>>;
14
+ setAiAgentFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['agent']>>;
13
15
  }
14
16
  interface CometChatProviderProps {
15
17
  children: ReactNode;
@@ -30,7 +32,6 @@ export interface CometChatSettingsInterface {
30
32
  deleteMessage: boolean;
31
33
  messageDeliveryAndReadReceipts: boolean;
32
34
  userAndFriendsPresence: boolean;
33
- conversationAndAdvancedSearch?: boolean;
34
35
  };
35
36
  deeperUserEngagement: {
36
37
  mentions: boolean;
@@ -105,6 +106,12 @@ export interface CometChatSettingsInterface {
105
106
  dockedAlignment: string;
106
107
  };
107
108
  };
109
+ agent?: {
110
+ chatHistory: boolean;
111
+ newChat: boolean;
112
+ agentIcon: string;
113
+ showAgentIcon: boolean;
114
+ };
108
115
  }
109
116
  interface CometChatVisualBuilderReact {
110
117
  name: string;
@@ -0,0 +1,2 @@
1
+ declare function useThemeStyles(styleFeatures: any, systemTheme: string, setStyleFeatures: Function): void;
2
+ export default useThemeStyles;
@@ -15,6 +15,7 @@ export interface VcbData {
15
15
  defaultChatID?: string;
16
16
  theme?: string;
17
17
  dockedAlignment?: string;
18
+ isAIAgentView?: boolean;
18
19
  }
19
20
  export declare const vcbData: VcbData;
20
21
  export declare const listeners: Record<string, Function>;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ interface AIAgentViewProps {
3
+ user: CometChat.User;
4
+ }
5
+ declare const AIAgentView: React.FC<AIAgentViewProps>;
6
+ export default AIAgentView;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cometchat-visual-builder-no-code",
3
- "version": "1.0.10-test27",
3
+ "version": "1.0.10-test28",
4
4
  "description": "CometChat Chat Builder No-Code Integration",
5
5
  "cometChatCustomConfig": {
6
- "prodVersion":"1.0.1",
7
- "devStagingVersion":"1.0.10-test27",
8
- "prodName":"@cometchat/chat-embed",
9
- "devName":"cometchat-visual-builder-no-code",
6
+ "prodVersion": "1.0.1",
7
+ "devStagingVersion": "1.0.10-test28",
8
+ "prodName": "@cometchat/chat-embed",
9
+ "devName": "cometchat-visual-builder-no-code",
10
10
  "name": "cometchat-visual-builder-react-no-code",
11
11
  "version": "1.0.1",
12
12
  "production": false
@@ -14,7 +14,8 @@
14
14
  "author": "CometChat",
15
15
  "dependencies": {
16
16
  "@cometchat/calls-sdk-javascript": "4.0.12",
17
- "@cometchat/chat-uikit-react": "6.1.2",
17
+ "@cometchat/chat-sdk-javascript": "^4.0.14-ai-alpha1",
18
+ "@cometchat/chat-uikit-react": "^6.2.0-ai",
18
19
  "react": "18.2.0",
19
20
  "react-dom": "18.2.0",
20
21
  "react-frame-component": "^5.2.7",