cometchat-visual-builder-no-code 1.0.10-test26 → 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
@@ -85,6 +85,11 @@ export interface CometChatSettingsInterface {
85
85
  dockedAlignment: string;
86
86
  };
87
87
  };
88
- name?: string;
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,17 +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
- variantName: CometChatSettingsInterface["name"];
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
- setVariantName: React.Dispatch<React.SetStateAction<CometChatSettingsInterface["name"]>>;
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']>>;
15
15
  }
16
16
  interface CometChatProviderProps {
17
17
  children: ReactNode;
@@ -106,7 +106,12 @@ export interface CometChatSettingsInterface {
106
106
  dockedAlignment: string;
107
107
  };
108
108
  };
109
- name?: string;
109
+ agent?: {
110
+ chatHistory: boolean;
111
+ newChat: boolean;
112
+ agentIcon: string;
113
+ showAgentIcon: boolean;
114
+ };
110
115
  }
111
116
  interface CometChatVisualBuilderReact {
112
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,20 +1,21 @@
1
1
  {
2
2
  "name": "cometchat-visual-builder-no-code",
3
- "version": "1.0.10-test26",
3
+ "version": "1.0.10-test28",
4
4
  "description": "CometChat Chat Builder No-Code Integration",
5
5
  "cometChatCustomConfig": {
6
- "prodVersion":"1.0.0",
7
- "devVersion":"1.0.10-test26",
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
- "version": "1.0.0-development",
11
+ "version": "1.0.1",
12
12
  "production": false
13
13
  },
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",