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.
- 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 -12
- 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 +7 -6
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
|
|
@@ -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
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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.1",
|
|
7
|
-
"devStagingVersion":"1.0.10-
|
|
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-
|
|
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",
|