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.
- package/README.md +62 -231
- package/dist/assets/svg/Copy.4d5c5370c2badfa4ec72.svg +5 -0
- package/dist/assets/svg/right-arrow.d430f526b3249ce1e4c9.svg +3 -0
- package/dist/assets/svg/send-message.fa7501d52cb01566a038.svg +3 -0
- package/dist/assets/svg/stop-message.394e6adf2af527d6b219.svg +3 -0
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +9 -0
- package/dist/src/CometChat/CometChatSettings.d.ts +6 -1
- package/dist/src/CometChat/context/CometChatContext.d.ts +19 -14
- package/dist/src/CometChat/customHook/useThemeStyles.d.ts +2 -0
- package/dist/src/CometChatNoCode/CometChatApi.d.ts +1 -0
- package/dist/src/CometChatNoCode/components/AIAgentView/AIAgentView.d.ts +6 -0
- package/package.json +8 -7
package/dist/main.js.LICENSE.txt
CHANGED
|
@@ -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
|
-
|
|
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
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
interface CometChatContextInterface {
|
|
3
|
-
chatFeatures: CometChatSettingsInterface[
|
|
4
|
-
callFeatures: CometChatSettingsInterface[
|
|
5
|
-
styleFeatures: CometChatSettingsInterface[
|
|
6
|
-
layoutFeatures: CometChatSettingsInterface[
|
|
7
|
-
noCodeFeatures: CometChatSettingsInterface[
|
|
8
|
-
|
|
9
|
-
setChatFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface[
|
|
10
|
-
setCallFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface[
|
|
11
|
-
setStyleFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface[
|
|
12
|
-
setLayoutFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface[
|
|
13
|
-
setNoCodeFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface[
|
|
14
|
-
|
|
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
|
-
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cometchat-visual-builder-no-code",
|
|
3
|
-
"version": "1.0.10-
|
|
3
|
+
"version": "1.0.10-test28",
|
|
4
4
|
"description": "CometChat Chat Builder No-Code Integration",
|
|
5
5
|
"cometChatCustomConfig": {
|
|
6
|
-
"prodVersion":"1.0.
|
|
7
|
-
"
|
|
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.
|
|
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-
|
|
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",
|