cometchat-visual-builder-no-code 1.0.10-test6 → 1.0.10-test8
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/330.main.js +1 -0
- package/dist/icons/docked_close_icon.svg +9 -2
- package/dist/main.js +1 -1
- package/dist/{CometChat → src/CometChat}/context/CometChatContext.d.ts +22 -13
- package/dist/{CometChatNoCode → src/CometChatNoCode}/CometChatApi.d.ts +3 -0
- package/dist/src/CometChatNoCode/components/IframePortal.d.ts +8 -0
- package/dist/{CometChatNoCode → src/CometChatNoCode}/components/docked/DockedChatView.d.ts +3 -3
- package/package.json +1 -1
- /package/dist/{App.d.ts → src/App.d.ts} +0 -0
- /package/dist/{CometChat → src/CometChat}/CometChatApp.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/CometChatSettings.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatAddMembers/CometChatAddMembers.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatAddMembers/useCometChatAddMembers.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatAlertPopup/CometChatAlertPopup.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatBannedMembers/CometChatBannedMembers.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogDetails.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogHistory.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogInfo.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogParticipants.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogRecordings.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatCreateGroup/CometChatCreateGroup.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatDetails/CometChatThreadedMessages.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatDetails/CometChatUserDetails.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatHome/CometChatHome.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatJoinGroup/CometChatJoinGroup.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatLogin/CometChatAppCredentials.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatLogin/CometChatLogin.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatLogin/sampledata.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatMessages/CometChatEmptyStateView.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatMessages/CometChatMessages.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatSearchView/CometChatSearchView.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatSelector/CometChatSelector.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatSelector/CometChatTabs.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/components/CometChatTransferOwnership/useCometChatTransferOwnership.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/context/AppContext.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/context/appReducer.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/customHooks.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/styleConfig.d.ts +0 -0
- /package/dist/{CometChat → src/CometChat}/utils/utils.d.ts +0 -0
- /package/dist/{CometChatNoCode → src/CometChatNoCode}/components/embedded/EmbeddedChatView.d.ts +0 -0
- /package/dist/{CometChatNoCode → src/CometChatNoCode}/services/builders.d.ts +0 -0
- /package/dist/{CometChatNoCode → src/CometChatNoCode}/useInjectNoCodeStyles.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{noCodeConstants.d.ts → src/noCodeConstants.d.ts} +0 -0
|
@@ -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
|
-
variantName: CometChatSettingsInterface[
|
|
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
|
-
setVariantName: React.Dispatch<React.SetStateAction<CometChatSettingsInterface[
|
|
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"]>>;
|
|
15
15
|
}
|
|
16
16
|
interface CometChatProviderProps {
|
|
17
17
|
children: ReactNode;
|
|
@@ -108,4 +108,13 @@ export interface CometChatSettingsInterface {
|
|
|
108
108
|
};
|
|
109
109
|
name?: string;
|
|
110
110
|
}
|
|
111
|
+
interface CometChatVisualBuilderReact {
|
|
112
|
+
name: string;
|
|
113
|
+
version: string;
|
|
114
|
+
}
|
|
115
|
+
declare global {
|
|
116
|
+
interface Window {
|
|
117
|
+
CometChatVisualBuilderReact: CometChatVisualBuilderReact;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
111
120
|
export {};
|
|
@@ -44,7 +44,10 @@ declare const CometChatApp: {
|
|
|
44
44
|
callGroup: (guid: string) => Promise<void>;
|
|
45
45
|
createOrUpdateUser: (user: CometChat.User) => Promise<import("@cometchat/chat-sdk-javascript").User>;
|
|
46
46
|
createOrUpdateGroup: (groupParams: CometChat.Group) => Promise<import("@cometchat/chat-sdk-javascript").Group>;
|
|
47
|
+
chatWithUser: (uid: string) => void;
|
|
48
|
+
chatWithGroup: (guid: string) => void;
|
|
47
49
|
localize: (language: string) => void;
|
|
50
|
+
reload: () => Promise<void>;
|
|
48
51
|
CometChat: typeof CometChat;
|
|
49
52
|
};
|
|
50
53
|
export default CometChatApp;
|
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
interface DockedChatViewInterface {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
showSidebarOnDesktop?: boolean | undefined;
|
|
5
|
-
type?:
|
|
6
|
-
dockedAlignment?:
|
|
5
|
+
type?: "user" | "group";
|
|
6
|
+
dockedAlignment?: "left" | "right";
|
|
7
7
|
}
|
|
8
|
-
declare const DockedChatView: ({ children, showSidebarOnDesktop, type, dockedAlignment }: DockedChatViewInterface) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const DockedChatView: ({ children, showSidebarOnDesktop, type, dockedAlignment, }: DockedChatViewInterface) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default DockedChatView;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatAddMembers/CometChatAddMembers.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatAddMembers/useCometChatAddMembers.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatAlertPopup/CometChatAlertPopup.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogDetails.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogHistory.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatCallLog/CometChatCallLogInfo.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatCreateGroup/CometChatCreateGroup.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatDetails/CometChatThreadedMessages.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatDetails/CometChatUserDetails.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatJoinGroup/CometChatJoinGroup.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatLogin/CometChatAppCredentials.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatMessages/CometChatEmptyStateView.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatMessages/CometChatMessages.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatSearchView/CometChatSearchView.d.ts
RENAMED
|
File without changes
|
/package/dist/{CometChat → src/CometChat}/components/CometChatSelector/CometChatSelector.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{CometChatNoCode → src/CometChatNoCode}/components/embedded/EmbeddedChatView.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|