cometchat-visual-builder-no-code 1.0.6-test → 1.0.8-test
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/package.json +1 -1
- package/dist/156.main.js +0 -1
- package/dist/194.main.js +0 -1
- package/dist/37.main.js +0 -1
- package/dist/380.main.js +0 -1
- package/dist/750.main.js +0 -1
- package/dist/App.d.ts +0 -4
- package/dist/CometChat/CometChatApp.d.ts +0 -16
- package/dist/CometChat/CometChatSettings.d.ts +0 -88
- package/dist/CometChat/components/CometChatAddMembers/CometChatAddMembers.d.ts +0 -210
- package/dist/CometChat/components/CometChatAddMembers/useCometChatAddMembers.d.ts +0 -11
- package/dist/CometChat/components/CometChatAlertPopup/CometChatAlertPopup.d.ts +0 -6
- package/dist/CometChat/components/CometChatBannedMembers/CometChatBannedMembers.d.ts +0 -6
- package/dist/CometChat/components/CometChatCallLog/CometChatCallLogDetails.d.ts +0 -5
- package/dist/CometChat/components/CometChatCallLog/CometChatCallLogHistory.d.ts +0 -4
- package/dist/CometChat/components/CometChatCallLog/CometChatCallLogInfo.d.ts +0 -4
- package/dist/CometChat/components/CometChatCallLog/CometChatCallLogParticipants.d.ts +0 -4
- package/dist/CometChat/components/CometChatCallLog/CometChatCallLogRecordings.d.ts +0 -4
- package/dist/CometChat/components/CometChatCreateGroup/CometChatCreateGroup.d.ts +0 -9
- package/dist/CometChat/components/CometChatDetails/CometChatThreadedMessages.d.ts +0 -11
- package/dist/CometChat/components/CometChatDetails/CometChatUserDetails.d.ts +0 -17
- package/dist/CometChat/components/CometChatHome/CometChatHome.d.ts +0 -14
- package/dist/CometChat/components/CometChatJoinGroup/CometChatJoinGroup.d.ts +0 -9
- package/dist/CometChat/components/CometChatLogin/CometChatAppCredentials.d.ts +0 -3
- package/dist/CometChat/components/CometChatLogin/CometChatLogin.d.ts +0 -3
- package/dist/CometChat/components/CometChatLogin/sampledata.d.ts +0 -7
- package/dist/CometChat/components/CometChatMessages/CometChatEmptyStateView.d.ts +0 -4
- package/dist/CometChat/components/CometChatMessages/CometChatMessages.d.ts +0 -12
- package/dist/CometChat/components/CometChatSelector/CometChatSelector.d.ts +0 -20
- package/dist/CometChat/components/CometChatSelector/CometChatTabs.d.ts +0 -8
- package/dist/CometChat/components/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +0 -142
- package/dist/CometChat/components/CometChatTransferOwnership/useCometChatTransferOwnership.d.ts +0 -7
- package/dist/CometChat/context/AppContext.d.ts +0 -8
- package/dist/CometChat/context/CometChatContext.d.ts +0 -107
- package/dist/CometChat/context/appReducer.d.ts +0 -213
- package/dist/CometChat/customHooks.d.ts +0 -7
- package/dist/CometChat/styleConfig.d.ts +0 -104
- package/dist/CometChat/utils/utils.d.ts +0 -28
- package/dist/CometChatNoCode/CometChatApi.d.ts +0 -33
- package/dist/CometChatNoCode/components/docked/DockedChatView.d.ts +0 -7
- package/dist/CometChatNoCode/components/embedded/EmbeddedChatView.d.ts +0 -5
- package/dist/CometChatNoCode/useCometChatWidgetStyles.d.ts +0 -8
- package/dist/assets/Roboto-Black.4afbed674a5252ead176.ttf +0 -0
- package/dist/assets/Roboto-BlackItalic.b49c4ba79204961dccd3.ttf +0 -0
- package/dist/assets/Roboto-Bold.d50a80138ec4f2fb5e9f.ttf +0 -0
- package/dist/assets/Roboto-BoldItalic.3fcf599c8a6c05a2c712.ttf +0 -0
- package/dist/assets/Roboto-Italic.cd47f5421512ee65fe22.ttf +0 -0
- package/dist/assets/Roboto-Light.839cb7309f46fed11436.ttf +0 -0
- package/dist/assets/Roboto-LightItalic.3743e89917aa46e2f6e5.ttf +0 -0
- package/dist/assets/Roboto-Medium.e73e917f7bfa48666e00.ttf +0 -0
- package/dist/assets/Roboto-MediumItalic.3dc683bc0f0d56bae3f8.ttf +0 -0
- package/dist/assets/Roboto-Regular.27f62b53b93858475a7f.ttf +0 -0
- package/dist/assets/change_scope.b7ce2e760bde03b486b5.png +0 -0
- package/dist/assets/svg/Spinner-Gradient-1.f2f8d4c6a11b46ae64da.svg +0 -12
- package/dist/assets/svg/addMembers.ac9bd9903ea91980e5bc.svg +0 -5
- package/dist/assets/svg/arrow_back.dd796cd8deddca446613.svg +0 -8
- package/dist/assets/svg/audio_call_button.17b58b643e8bc12cc6b9.svg +0 -5
- package/dist/assets/svg/block.0699b8d96de4c20c76d0.svg +0 -5
- package/dist/assets/svg/call-log-audio.0e3aaf2981e227b061c4.svg +0 -3
- package/dist/assets/svg/call-log_video.a810985ecf2746c8842f.svg +0 -3
- package/dist/assets/svg/callRecordingEmpty.eed59067696789e6204c.svg +0 -8
- package/dist/assets/svg/callRejectedIcon.fc84614b78bd19ffa1b0.svg +0 -3
- package/dist/assets/svg/call_empty.8ce6468827c447772bb6.svg +0 -10
- package/dist/assets/svg/call_end_no_fill.4a9911b198245072f6ae.svg +0 -3
- package/dist/assets/svg/call_made.e084ced6071c98821ebc.svg +0 -8
- package/dist/assets/svg/call_received.8a1f2ab017bbcf7bb046.svg +0 -8
- package/dist/assets/svg/calls.28f11734184b2e2e4e71.svg +0 -5
- package/dist/assets/svg/chats.5adfcfafa4cc0d303184.svg +0 -10
- package/dist/assets/svg/checkbox_tick.c8c052b7695f577cad91.svg +0 -5
- package/dist/assets/svg/close.2adefe6aea2efbd3491d.svg +0 -12
- package/dist/assets/svg/close.9564eb57de95f15d7b4e.svg +0 -8
- package/dist/assets/svg/collaborative_document_fill.221c4b61169245253c63.svg +0 -4
- package/dist/assets/svg/collaborative_whiteboard_fill.25e29644e4591c341125.svg +0 -4
- package/dist/assets/svg/cometchat_logo.ecf7992c1cc3576ceb57.svg +0 -11
- package/dist/assets/svg/conversations_audio-message.55058fd73f6f30059605.svg +0 -8
- package/dist/assets/svg/conversations_collaborative-document-message.9f5c199a668e6da1c4c6.svg +0 -4
- package/dist/assets/svg/conversations_collaborative-whiteboard-message.247bd7060246085899a4.svg +0 -5
- package/dist/assets/svg/conversations_delete.ce537f017fc12fab523e.svg +0 -8
- package/dist/assets/svg/conversations_delivered.510802caddcee7cf38e1.svg +0 -3
- package/dist/assets/svg/conversations_empty_state.32344f305d4d728f07e7.svg +0 -20
- package/dist/assets/svg/conversations_file-message.64124f24b26099a70a27.svg +0 -8
- package/dist/assets/svg/conversations_image-message.eaaad8ef101995637081.svg +0 -8
- package/dist/assets/svg/conversations_link.cfde67f9dcdc9ad112cc.svg +0 -8
- package/dist/assets/svg/conversations_missed-video-call.77f4e98af6049b2deab0.svg +0 -8
- package/dist/assets/svg/conversations_missed-voice-call.b52f9611ff85a6f468ee.svg +0 -3
- package/dist/assets/svg/conversations_outgoing-video-call.53f25a89d3793fdf2a00.svg +0 -8
- package/dist/assets/svg/conversations_outgoing-voice-call.aa7e2a8136855c39e5cb.svg +0 -4
- package/dist/assets/svg/conversations_poll-message.a38228224d6a756b8aa0.svg +0 -3
- package/dist/assets/svg/conversations_read.510802caddcee7cf38e1.svg +0 -3
- package/dist/assets/svg/conversations_sent.fbb8355efb327852ba32.svg +0 -3
- package/dist/assets/svg/conversations_sticker-message.1e08cf8a4ce3d8af27c9.svg +0 -4
- package/dist/assets/svg/conversations_thread.ef0eb6defdbb3b8a27b6.svg +0 -8
- package/dist/assets/svg/conversations_video-message.a2b413578aacf04e2a73.svg +0 -8
- package/dist/assets/svg/create-group.1166ddd2089dc474d86b.svg +0 -3
- package/dist/assets/svg/delete.9436ff083c3f2bf87470.svg +0 -7
- package/dist/assets/svg/delete.ca82d8766e6022162c9a.svg +0 -8
- package/dist/assets/svg/delete_icon.5db005e80f01622481b4.svg +0 -4
- package/dist/assets/svg/download.2068ff3bb9a26d87d0e5.svg +0 -8
- package/dist/assets/svg/downloadRecording.68d1a64015bdff727563.svg +0 -3
- package/dist/assets/svg/dropdown-arrow.19438c7586194515d473.svg +0 -3
- package/dist/assets/svg/emptyStateIconChat.dd845e1db2718f852ae0.svg +0 -13
- package/dist/assets/svg/error_icon.093f6c62b1e9dc09b727.svg +0 -3
- package/dist/assets/svg/error_info.139c04e0afeb03ada008.svg +0 -3
- package/dist/assets/svg/groups.6cc0adefb30e36b72309.svg +0 -5
- package/dist/assets/svg/incomingCallIcon.f72a226b678f60cf8858.svg +0 -3
- package/dist/assets/svg/incomingCallSuccess.0bf30f35cef97a13ccbe.svg +0 -3
- package/dist/assets/svg/incoming_video.00f32e896263889e2509.svg +0 -8
- package/dist/assets/svg/incoming_video_no_fill.01824d5f73a4bb089c1c.svg +0 -4
- package/dist/assets/svg/infoIcon.a45d68fa3e8e16b713b0.svg +0 -5
- package/dist/assets/svg/leaveGroup.58a4d38b4954c066952c.svg +0 -5
- package/dist/assets/svg/list_error_state_icon.173ec5995098722fd26a.svg +0 -20
- package/dist/assets/svg/loading_icon.0b32af930a5efc56290d.svg +0 -3
- package/dist/assets/svg/lock.71f7e9ad8da2b826c5c8.svg +0 -8
- package/dist/assets/svg/logout.450e8c11bf96d0c74710.svg +0 -3
- package/dist/assets/svg/message_delete.ce537f017fc12fab523e.svg +0 -8
- package/dist/assets/svg/mic_off.feb56f6133333e8e36fa.svg +0 -8
- package/dist/assets/svg/missedCallIcon.1cd662c850168ec2dd17.svg +0 -10
- package/dist/assets/svg/missedCallIcon.6048dda48a6a5b22dedc.svg +0 -3
- package/dist/assets/svg/missed_video_call_no_fill.a0aacfbcbf172a144ddc.svg +0 -3
- package/dist/assets/svg/more_icon.81b8f41258a897ea6ac4.svg +0 -5
- package/dist/assets/svg/outgoingCallSuccess.bbbc38474aa26b2bc241.svg +0 -3
- package/dist/assets/svg/outgoing_video_no_fill.765e9ef5fcb3e4a5be0c.svg +0 -4
- package/dist/assets/svg/pause.05902e314b4e9feca993.svg +0 -8
- package/dist/assets/svg/phone_incoming_no_fill.74e0941289461c76a5b4.svg +0 -3
- package/dist/assets/svg/phone_missed_no_fill.79993937b02c29c3ea6c.svg +0 -3
- package/dist/assets/svg/phone_outgoing_no_fill.07e8c060e778f4974d37.svg +0 -4
- package/dist/assets/svg/play_arrow.04f459a65b962cbb5f65.svg +0 -8
- package/dist/assets/svg/recording_icon.34cb90ed731d42e870b8.svg +0 -10
- package/dist/assets/svg/recording_resume.3d513ca8193f9334828b.svg +0 -10
- package/dist/assets/svg/search.61b1c747aa872b5ab4aa.svg +0 -4
- package/dist/assets/svg/send_fill.7d309325ccdb5f41d511.svg +0 -8
- package/dist/assets/svg/shield.0e8a980876383e89187b.svg +0 -3
- package/dist/assets/svg/start_chat.8f162a45823986cf2187.svg +0 -5
- package/dist/assets/svg/status_delivered.eda17954854636ebc910.svg +0 -5
- package/dist/assets/svg/status_read.f096888f2bedb92218d0.svg +0 -3
- package/dist/assets/svg/status_sending.7d1d357d6406afa36f70.svg +0 -5
- package/dist/assets/svg/status_sent.929a6372b15bb47d0179.svg +0 -5
- package/dist/assets/svg/sticker.54cf4f566ab9065ac0ef.svg +0 -3
- package/dist/assets/svg/stop.436a8cb465a4609f82a5.svg +0 -8
- package/dist/assets/svg/tooltip.2aa237f32c9f99b8d920.svg +0 -5
- package/dist/assets/svg/user.8dfdcadd19738360c459.svg +0 -3
- package/dist/assets/svg/user_empty.cce82d51a2fd34fb1414.svg +0 -8
- package/dist/assets/svg/users.3a4bb20ce645e85da09e.svg +0 -5
- package/dist/assets/svg/video_call_button.ad8739d880b299a43512.svg +0 -5
- package/dist/icons/docked_close_icon.svg +0 -3
- package/dist/icons/docked_open_icon.svg +0 -3
- package/dist/index.d.ts +0 -7
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -39
package/dist/CometChat/components/CometChatTransferOwnership/CometChatTransferOwnership.d.ts
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'react';
|
|
2
|
-
import '../../styles/CometChatTransferOwnership/CometChatTransferOwnership.css';
|
|
3
|
-
import { CometChatOption, TitleAlignment } from '@cometchat/chat-uikit-react';
|
|
4
|
-
interface ITransferOwnershipProps {
|
|
5
|
-
/**
|
|
6
|
-
* Group to transfer ownership of
|
|
7
|
-
*/
|
|
8
|
-
group: CometChat.Group;
|
|
9
|
-
/**
|
|
10
|
-
* Title of the component
|
|
11
|
-
*
|
|
12
|
-
* @defaultValue `getLocalizedString("TRANSFER_OWNERSHIP")`
|
|
13
|
-
*/
|
|
14
|
-
title?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Alignment of the `title` text
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue `TitleAlignment.center`
|
|
19
|
-
*/
|
|
20
|
-
titleAlignment?: TitleAlignment;
|
|
21
|
-
/**
|
|
22
|
-
* Image URL for the search icon to use in the search bar
|
|
23
|
-
*
|
|
24
|
-
* @defaultValue `../../assets/search.svg`
|
|
25
|
-
*/
|
|
26
|
-
searchIconURL?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Text to be displayed when the search input has no value
|
|
29
|
-
*
|
|
30
|
-
* @defaultValue `getLocalizedString("SEARCH")`
|
|
31
|
-
*/
|
|
32
|
-
searchPlaceholderText?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Hide the search bar
|
|
35
|
-
*
|
|
36
|
-
* @defaulValue `false`
|
|
37
|
-
*/
|
|
38
|
-
hideSearch?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Request builder to fetch group members
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* If the search input is not empty and the `searchRequestBuilder` prop is not provided,
|
|
44
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
45
|
-
*
|
|
46
|
-
* @defaultValue Default request builder having the limit set to 30
|
|
47
|
-
*/
|
|
48
|
-
groupMembersRequestBuilder?: CometChat.GroupMembersRequestBuilder;
|
|
49
|
-
/**
|
|
50
|
-
* Request builder with search parameters to fetch group members
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* If the search input is not empty,
|
|
54
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
55
|
-
*/
|
|
56
|
-
searchRequestBuilder?: CometChat.GroupMembersRequestBuilder;
|
|
57
|
-
/**
|
|
58
|
-
* Image URL for the default loading view
|
|
59
|
-
*
|
|
60
|
-
* @defaultValue `../../assets/spinner.svg`
|
|
61
|
-
*/
|
|
62
|
-
loadingIconURL?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Custom view for the loading state of the component
|
|
65
|
-
*/
|
|
66
|
-
loadingStateView?: JSX.Element;
|
|
67
|
-
/**
|
|
68
|
-
* Text to display in the default empty view
|
|
69
|
-
*
|
|
70
|
-
* @defaultValue `getLocalizedString("NO_USERS_FOUND")`
|
|
71
|
-
*/
|
|
72
|
-
emptyStateText?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Custom view for the empty state of the component
|
|
75
|
-
*/
|
|
76
|
-
emptyStateView?: JSX.Element;
|
|
77
|
-
/**
|
|
78
|
-
* Text to display in the default error view
|
|
79
|
-
*
|
|
80
|
-
* @defaultValue `getLocalizedString("SOMETHING_WRONG")`
|
|
81
|
-
*/
|
|
82
|
-
errorStateText?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Custom view for the error state of the component
|
|
85
|
-
*/
|
|
86
|
-
errorStateView?: JSX.Element;
|
|
87
|
-
/**
|
|
88
|
-
* Function to call whenever the component encounters an error
|
|
89
|
-
*/
|
|
90
|
-
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
91
|
-
/**
|
|
92
|
-
* Hide the separator at the bottom of the default list item view
|
|
93
|
-
*
|
|
94
|
-
* @defaultValue `false`
|
|
95
|
-
*/
|
|
96
|
-
hideSeparator?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Hide user presence
|
|
99
|
-
*
|
|
100
|
-
* @remarks
|
|
101
|
-
* If set to true, the status indicator of the default list item view is not displayed
|
|
102
|
-
*
|
|
103
|
-
* @defaultValue `false`
|
|
104
|
-
*/
|
|
105
|
-
disableUsersPresence?: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Image URL for the close button
|
|
108
|
-
*
|
|
109
|
-
* @defaultValue `../../assets/close2x.svg`
|
|
110
|
-
*/
|
|
111
|
-
closeButtonIconURL?: string;
|
|
112
|
-
/**
|
|
113
|
-
* Function to call when the close button is clicked
|
|
114
|
-
*/
|
|
115
|
-
onClose?: () => void;
|
|
116
|
-
/**
|
|
117
|
-
* Custom list item view to be rendered for each group member in the fetched list
|
|
118
|
-
*/
|
|
119
|
-
listItemView?: (groupMember: CometChat.GroupMember) => JSX.Element;
|
|
120
|
-
/**
|
|
121
|
-
* Custom subtitle view to be rendered for each group member in the fetched list
|
|
122
|
-
*
|
|
123
|
-
* @remarks
|
|
124
|
-
* This prop is used if `listItemView` prop is not provided
|
|
125
|
-
*/
|
|
126
|
-
subtitleView?: (groupMember: CometChat.GroupMember) => JSX.Element;
|
|
127
|
-
transferButtonText?: string;
|
|
128
|
-
onTransferOwnership?: (groupMember: CometChat.GroupMember) => void;
|
|
129
|
-
/**
|
|
130
|
-
* Text to display for the cancel button
|
|
131
|
-
*/
|
|
132
|
-
cancelButtonText?: string;
|
|
133
|
-
/**
|
|
134
|
-
* List of actions available on mouse over on the default list item component
|
|
135
|
-
*/
|
|
136
|
-
options?: (group: CometChat.Group, groupMember: CometChat.GroupMember) => CometChatOption[];
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Renders transfer ownership view related to a group of a CometChat App
|
|
140
|
-
*/
|
|
141
|
-
export declare function CometChatTransferOwnership(props: ITransferOwnershipProps): import("react/jsx-runtime").JSX.Element;
|
|
142
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement } from 'react';
|
|
2
|
-
export declare const AppContext: React.Context<{
|
|
3
|
-
appState: import("./appReducer").defaultStateType;
|
|
4
|
-
setAppState: React.Dispatch<unknown>;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const AppContextProvider: ({ children }: {
|
|
7
|
-
children: ReactElement;
|
|
8
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
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']>>;
|
|
13
|
-
}
|
|
14
|
-
interface CometChatProviderProps {
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
authBuilderSetting?: CometChatSettingsInterface;
|
|
17
|
-
}
|
|
18
|
-
export declare const CometChatProvider: React.FC<CometChatProviderProps>;
|
|
19
|
-
export declare const useCometChatContext: () => CometChatContextInterface;
|
|
20
|
-
export interface CometChatSettingsInterface {
|
|
21
|
-
chatFeatures: {
|
|
22
|
-
coreMessagingExperience: {
|
|
23
|
-
typingIndicator: boolean;
|
|
24
|
-
threadConversationAndReplies: boolean;
|
|
25
|
-
photosSharing: boolean;
|
|
26
|
-
videoSharing: boolean;
|
|
27
|
-
audioSharing: boolean;
|
|
28
|
-
fileSharing: boolean;
|
|
29
|
-
editMessage: boolean;
|
|
30
|
-
deleteMessage: boolean;
|
|
31
|
-
messageDeliveryAndReadReceipts: boolean;
|
|
32
|
-
userAndFriendsPresence: boolean;
|
|
33
|
-
};
|
|
34
|
-
deeperUserEngagement: {
|
|
35
|
-
mentions: boolean;
|
|
36
|
-
reactions: boolean;
|
|
37
|
-
messageTranslation: boolean;
|
|
38
|
-
polls: boolean;
|
|
39
|
-
collaborativeWhiteboard: boolean;
|
|
40
|
-
collaborativeDocument: boolean;
|
|
41
|
-
voiceNotes: boolean;
|
|
42
|
-
emojis: boolean;
|
|
43
|
-
stickers: boolean;
|
|
44
|
-
userInfo: boolean;
|
|
45
|
-
groupInfo: boolean;
|
|
46
|
-
};
|
|
47
|
-
aiUserCopilot: {
|
|
48
|
-
conversationStarter: boolean;
|
|
49
|
-
conversationSummary: boolean;
|
|
50
|
-
smartReply: boolean;
|
|
51
|
-
};
|
|
52
|
-
groupManagement: {
|
|
53
|
-
createGroup: boolean;
|
|
54
|
-
addMembersToGroups: boolean;
|
|
55
|
-
joinLeaveGroup: boolean;
|
|
56
|
-
deleteGroup: boolean;
|
|
57
|
-
viewGroupMembers: boolean;
|
|
58
|
-
};
|
|
59
|
-
moderatorControls: {
|
|
60
|
-
kickUsers: boolean;
|
|
61
|
-
banUsers: boolean;
|
|
62
|
-
promoteDemoteMembers: boolean;
|
|
63
|
-
};
|
|
64
|
-
privateMessagingWithinGroups: {
|
|
65
|
-
sendPrivateMessageToGroupMembers: boolean;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
callFeatures: {
|
|
69
|
-
voiceAndVideoCalling: {
|
|
70
|
-
oneOnOneVoiceCalling: boolean;
|
|
71
|
-
oneOnOneVideoCalling: boolean;
|
|
72
|
-
groupVideoConference: boolean;
|
|
73
|
-
groupVoiceConference: boolean;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
layout: {
|
|
77
|
-
withSideBar: boolean;
|
|
78
|
-
tabs: string[];
|
|
79
|
-
chatType: string;
|
|
80
|
-
};
|
|
81
|
-
style: {
|
|
82
|
-
theme: string;
|
|
83
|
-
color: {
|
|
84
|
-
brandColor: string;
|
|
85
|
-
primaryTextLight: string;
|
|
86
|
-
primaryTextDark: string;
|
|
87
|
-
secondaryTextLight: string;
|
|
88
|
-
secondaryTextDark: string;
|
|
89
|
-
};
|
|
90
|
-
typography: {
|
|
91
|
-
font: string;
|
|
92
|
-
size: string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
noCode?: {
|
|
96
|
-
docked: boolean;
|
|
97
|
-
styles: {
|
|
98
|
-
buttonBackGround: string;
|
|
99
|
-
buttonShape: string;
|
|
100
|
-
openIcon: string;
|
|
101
|
-
closeIcon: string;
|
|
102
|
-
customJs: string;
|
|
103
|
-
customCss: string;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
export {};
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
export interface defaultStateType {
|
|
2
|
-
activeTab: string;
|
|
3
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
4
|
-
selectedItemUser: CometChat.User | undefined;
|
|
5
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
6
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
7
|
-
sideComponent: {
|
|
8
|
-
visible: boolean;
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
12
|
-
showNewChat: boolean;
|
|
13
|
-
showJoinGroup: boolean;
|
|
14
|
-
newChat?: {
|
|
15
|
-
user: CometChat.User;
|
|
16
|
-
group: CometChat.Group;
|
|
17
|
-
};
|
|
18
|
-
isFreshChat?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const defaultAppState: defaultStateType;
|
|
21
|
-
export declare const appReducer: (state: defaultStateType | undefined, action: any) => {
|
|
22
|
-
activeTab: any;
|
|
23
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
24
|
-
selectedItemUser: CometChat.User | undefined;
|
|
25
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
26
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
27
|
-
sideComponent: {
|
|
28
|
-
visible: boolean;
|
|
29
|
-
type: string;
|
|
30
|
-
};
|
|
31
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
32
|
-
showNewChat: boolean;
|
|
33
|
-
showJoinGroup: boolean;
|
|
34
|
-
newChat?: {
|
|
35
|
-
user: CometChat.User;
|
|
36
|
-
group: CometChat.Group;
|
|
37
|
-
} | undefined;
|
|
38
|
-
isFreshChat?: boolean | undefined;
|
|
39
|
-
} | {
|
|
40
|
-
selectedItem: any;
|
|
41
|
-
activeTab: string;
|
|
42
|
-
selectedItemUser: CometChat.User | undefined;
|
|
43
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
44
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
45
|
-
sideComponent: {
|
|
46
|
-
visible: boolean;
|
|
47
|
-
type: string;
|
|
48
|
-
};
|
|
49
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
50
|
-
showNewChat: boolean;
|
|
51
|
-
showJoinGroup: boolean;
|
|
52
|
-
newChat?: {
|
|
53
|
-
user: CometChat.User;
|
|
54
|
-
group: CometChat.Group;
|
|
55
|
-
} | undefined;
|
|
56
|
-
isFreshChat?: boolean | undefined;
|
|
57
|
-
} | {
|
|
58
|
-
selectedItemUser: any;
|
|
59
|
-
activeTab: string;
|
|
60
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
61
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
62
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
63
|
-
sideComponent: {
|
|
64
|
-
visible: boolean;
|
|
65
|
-
type: string;
|
|
66
|
-
};
|
|
67
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
68
|
-
showNewChat: boolean;
|
|
69
|
-
showJoinGroup: boolean;
|
|
70
|
-
newChat?: {
|
|
71
|
-
user: CometChat.User;
|
|
72
|
-
group: CometChat.Group;
|
|
73
|
-
} | undefined;
|
|
74
|
-
isFreshChat?: boolean | undefined;
|
|
75
|
-
} | {
|
|
76
|
-
selectedItemGroup: any;
|
|
77
|
-
activeTab: string;
|
|
78
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
79
|
-
selectedItemUser: CometChat.User | undefined;
|
|
80
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
81
|
-
sideComponent: {
|
|
82
|
-
visible: boolean;
|
|
83
|
-
type: string;
|
|
84
|
-
};
|
|
85
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
86
|
-
showNewChat: boolean;
|
|
87
|
-
showJoinGroup: boolean;
|
|
88
|
-
newChat?: {
|
|
89
|
-
user: CometChat.User;
|
|
90
|
-
group: CometChat.Group;
|
|
91
|
-
} | undefined;
|
|
92
|
-
isFreshChat?: boolean | undefined;
|
|
93
|
-
} | {
|
|
94
|
-
selectedItemCall: any;
|
|
95
|
-
activeTab: string;
|
|
96
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
97
|
-
selectedItemUser: CometChat.User | undefined;
|
|
98
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
99
|
-
sideComponent: {
|
|
100
|
-
visible: boolean;
|
|
101
|
-
type: string;
|
|
102
|
-
};
|
|
103
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
104
|
-
showNewChat: boolean;
|
|
105
|
-
showJoinGroup: boolean;
|
|
106
|
-
newChat?: {
|
|
107
|
-
user: CometChat.User;
|
|
108
|
-
group: CometChat.Group;
|
|
109
|
-
} | undefined;
|
|
110
|
-
isFreshChat?: boolean | undefined;
|
|
111
|
-
} | {
|
|
112
|
-
sideComponent: any;
|
|
113
|
-
activeTab: string;
|
|
114
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
115
|
-
selectedItemUser: CometChat.User | undefined;
|
|
116
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
117
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
118
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
119
|
-
showNewChat: boolean;
|
|
120
|
-
showJoinGroup: boolean;
|
|
121
|
-
newChat?: {
|
|
122
|
-
user: CometChat.User;
|
|
123
|
-
group: CometChat.Group;
|
|
124
|
-
} | undefined;
|
|
125
|
-
isFreshChat?: boolean | undefined;
|
|
126
|
-
} | {
|
|
127
|
-
threadedMessage: any;
|
|
128
|
-
activeTab: string;
|
|
129
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
130
|
-
selectedItemUser: CometChat.User | undefined;
|
|
131
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
132
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
133
|
-
sideComponent: {
|
|
134
|
-
visible: boolean;
|
|
135
|
-
type: string;
|
|
136
|
-
};
|
|
137
|
-
showNewChat: boolean;
|
|
138
|
-
showJoinGroup: boolean;
|
|
139
|
-
newChat?: {
|
|
140
|
-
user: CometChat.User;
|
|
141
|
-
group: CometChat.Group;
|
|
142
|
-
} | undefined;
|
|
143
|
-
isFreshChat?: boolean | undefined;
|
|
144
|
-
} | {
|
|
145
|
-
showNewChat: any;
|
|
146
|
-
activeTab: string;
|
|
147
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
148
|
-
selectedItemUser: CometChat.User | undefined;
|
|
149
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
150
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
151
|
-
sideComponent: {
|
|
152
|
-
visible: boolean;
|
|
153
|
-
type: string;
|
|
154
|
-
};
|
|
155
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
156
|
-
showJoinGroup: boolean;
|
|
157
|
-
newChat?: {
|
|
158
|
-
user: CometChat.User;
|
|
159
|
-
group: CometChat.Group;
|
|
160
|
-
} | undefined;
|
|
161
|
-
isFreshChat?: boolean | undefined;
|
|
162
|
-
} | {
|
|
163
|
-
newChat: any;
|
|
164
|
-
showNewChat: boolean;
|
|
165
|
-
activeTab: string;
|
|
166
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
167
|
-
selectedItemUser: CometChat.User | undefined;
|
|
168
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
169
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
170
|
-
sideComponent: {
|
|
171
|
-
visible: boolean;
|
|
172
|
-
type: string;
|
|
173
|
-
};
|
|
174
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
175
|
-
showJoinGroup: boolean;
|
|
176
|
-
isFreshChat?: boolean | undefined;
|
|
177
|
-
} | {
|
|
178
|
-
showJoinGroup: any;
|
|
179
|
-
activeTab: string;
|
|
180
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
181
|
-
selectedItemUser: CometChat.User | undefined;
|
|
182
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
183
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
184
|
-
sideComponent: {
|
|
185
|
-
visible: boolean;
|
|
186
|
-
type: string;
|
|
187
|
-
};
|
|
188
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
189
|
-
showNewChat: boolean;
|
|
190
|
-
newChat?: {
|
|
191
|
-
user: CometChat.User;
|
|
192
|
-
group: CometChat.Group;
|
|
193
|
-
} | undefined;
|
|
194
|
-
isFreshChat?: boolean | undefined;
|
|
195
|
-
} | {
|
|
196
|
-
isFreshChat: any;
|
|
197
|
-
activeTab: string;
|
|
198
|
-
selectedItem: CometChat.Conversation | undefined;
|
|
199
|
-
selectedItemUser: CometChat.User | undefined;
|
|
200
|
-
selectedItemGroup: CometChat.Group | undefined;
|
|
201
|
-
selectedItemCall: CometChat.Call | undefined;
|
|
202
|
-
sideComponent: {
|
|
203
|
-
visible: boolean;
|
|
204
|
-
type: string;
|
|
205
|
-
};
|
|
206
|
-
threadedMessage: CometChat.BaseMessage | undefined;
|
|
207
|
-
showNewChat: boolean;
|
|
208
|
-
showJoinGroup: boolean;
|
|
209
|
-
newChat?: {
|
|
210
|
-
user: CometChat.User;
|
|
211
|
-
group: CometChat.Group;
|
|
212
|
-
} | undefined;
|
|
213
|
-
};
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
export declare const fontOptions: {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
}[];
|
|
5
|
-
export declare const sizeOptions: {
|
|
6
|
-
value: string;
|
|
7
|
-
label: string;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const buttonShapeOptions: {
|
|
10
|
-
value: string;
|
|
11
|
-
label: string;
|
|
12
|
-
}[];
|
|
13
|
-
export declare const fontSizes: {
|
|
14
|
-
compact: {
|
|
15
|
-
'--cometchat-font-title-bold': string;
|
|
16
|
-
'--cometchat-font-title-medium': string;
|
|
17
|
-
'--cometchat-font-title-regular': string;
|
|
18
|
-
'--cometchat-font-heading1-bold': string;
|
|
19
|
-
'--cometchat-font-heading1-medium': string;
|
|
20
|
-
'--cometchat-font-heading1-regular': string;
|
|
21
|
-
'--cometchat-font-heading2-bold': string;
|
|
22
|
-
'--cometchat-font-heading2-medium': string;
|
|
23
|
-
'--cometchat-font-heading2-regular': string;
|
|
24
|
-
'--cometchat-font-heading3-bold': string;
|
|
25
|
-
'--cometchat-font-heading3-medium': string;
|
|
26
|
-
'--cometchat-font-heading3-regular': string;
|
|
27
|
-
'--cometchat-font-heading4-bold': string;
|
|
28
|
-
'--cometchat-font-heading4-medium': string;
|
|
29
|
-
'--cometchat-font-heading4-regular': string;
|
|
30
|
-
'--cometchat-font-body-bold': string;
|
|
31
|
-
'--cometchat-font-body-medium': string;
|
|
32
|
-
'--cometchat-font-body-regular': string;
|
|
33
|
-
'--cometchat-font-caption1-bold': string;
|
|
34
|
-
'--cometchat-font-caption1-medium': string;
|
|
35
|
-
'--cometchat-font-caption1-regular': string;
|
|
36
|
-
'--cometchat-font-caption2-bold': string;
|
|
37
|
-
'--cometchat-font-caption2-medium': string;
|
|
38
|
-
'--cometchat-font-caption2-regular': string;
|
|
39
|
-
'--cometchat-font-button-bold': string;
|
|
40
|
-
'--cometchat-font-button-medium': string;
|
|
41
|
-
'--cometchat-font-button-regular': string;
|
|
42
|
-
'--cometchat-font-link': string;
|
|
43
|
-
};
|
|
44
|
-
default: {
|
|
45
|
-
'--cometchat-font-title-bold': string;
|
|
46
|
-
'--cometchat-font-title-medium': string;
|
|
47
|
-
'--cometchat-font-title-regular': string;
|
|
48
|
-
'--cometchat-font-heading1-bold': string;
|
|
49
|
-
'--cometchat-font-heading1-medium': string;
|
|
50
|
-
'--cometchat-font-heading1-regular': string;
|
|
51
|
-
'--cometchat-font-heading2-bold': string;
|
|
52
|
-
'--cometchat-font-heading2-medium': string;
|
|
53
|
-
'--cometchat-font-heading2-regular': string;
|
|
54
|
-
'--cometchat-font-heading3-bold': string;
|
|
55
|
-
'--cometchat-font-heading3-medium': string;
|
|
56
|
-
'--cometchat-font-heading3-regular': string;
|
|
57
|
-
'--cometchat-font-heading4-bold': string;
|
|
58
|
-
'--cometchat-font-heading4-medium': string;
|
|
59
|
-
'--cometchat-font-heading4-regular': string;
|
|
60
|
-
'--cometchat-font-body-bold': string;
|
|
61
|
-
'--cometchat-font-body-medium': string;
|
|
62
|
-
'--cometchat-font-body-regular': string;
|
|
63
|
-
'--cometchat-font-caption1-bold': string;
|
|
64
|
-
'--cometchat-font-caption1-medium': string;
|
|
65
|
-
'--cometchat-font-caption1-regular': string;
|
|
66
|
-
'--cometchat-font-caption2-bold': string;
|
|
67
|
-
'--cometchat-font-caption2-medium': string;
|
|
68
|
-
'--cometchat-font-caption2-regular': string;
|
|
69
|
-
'--cometchat-font-button-bold': string;
|
|
70
|
-
'--cometchat-font-button-medium': string;
|
|
71
|
-
'--cometchat-font-button-regular': string;
|
|
72
|
-
'--cometchat-font-link': string;
|
|
73
|
-
};
|
|
74
|
-
comfortable: {
|
|
75
|
-
'--cometchat-font-title-bold': string;
|
|
76
|
-
'--cometchat-font-title-medium': string;
|
|
77
|
-
'--cometchat-font-title-regular': string;
|
|
78
|
-
'--cometchat-font-heading1-bold': string;
|
|
79
|
-
'--cometchat-font-heading1-medium': string;
|
|
80
|
-
'--cometchat-font-heading1-regular': string;
|
|
81
|
-
'--cometchat-font-heading2-bold': string;
|
|
82
|
-
'--cometchat-font-heading2-medium': string;
|
|
83
|
-
'--cometchat-font-heading2-regular': string;
|
|
84
|
-
'--cometchat-font-heading3-bold': string;
|
|
85
|
-
'--cometchat-font-heading3-medium': string;
|
|
86
|
-
'--cometchat-font-heading3-regular': string;
|
|
87
|
-
'--cometchat-font-heading4-bold': string;
|
|
88
|
-
'--cometchat-font-heading4-medium': string;
|
|
89
|
-
'--cometchat-font-heading4-regular': string;
|
|
90
|
-
'--cometchat-font-body-bold': string;
|
|
91
|
-
'--cometchat-font-body-medium': string;
|
|
92
|
-
'--cometchat-font-body-regular': string;
|
|
93
|
-
'--cometchat-font-caption1-bold': string;
|
|
94
|
-
'--cometchat-font-caption1-medium': string;
|
|
95
|
-
'--cometchat-font-caption1-regular': string;
|
|
96
|
-
'--cometchat-font-caption2-bold': string;
|
|
97
|
-
'--cometchat-font-caption2-medium': string;
|
|
98
|
-
'--cometchat-font-caption2-regular': string;
|
|
99
|
-
'--cometchat-font-button-bold': string;
|
|
100
|
-
'--cometchat-font-button-medium': string;
|
|
101
|
-
'--cometchat-font-button-regular': string;
|
|
102
|
-
'--cometchat-font-link': string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Initializes the localization for both the sample app and the UI Kit.
|
|
3
|
-
*
|
|
4
|
-
* This function sets up the localization system by determining the language to be used.
|
|
5
|
-
* It uses the provided `language` parameter if available; otherwise, it defaults to the browser's language settings.
|
|
6
|
-
*
|
|
7
|
-
* @param {string} [language] - The language code to be used for localization (e.g., 'en', 'fr', 'es'). If not provided, the browser's default language is used.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* // Initialize localization with a specific language
|
|
11
|
-
* setupLocalization('fr'); // Sets language to French
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* // Initialize localization using the browser's default language
|
|
15
|
-
* setupLocalization(); // Defaults to the browser's language
|
|
16
|
-
*/
|
|
17
|
-
export declare function setupLocalization(language?: string): void;
|
|
18
|
-
/**
|
|
19
|
-
* Dynamically generates and sets extended primary colors based on the primary color.
|
|
20
|
-
*
|
|
21
|
-
* This function retrieves the primary color from CSS variables and generates a set
|
|
22
|
-
* of extended primary colors by blending the primary color with white or black, depending
|
|
23
|
-
* on the current theme (light or dark mode). The generated colors are then applied as
|
|
24
|
-
* CSS variables.
|
|
25
|
-
*
|
|
26
|
-
* @static
|
|
27
|
-
*/
|
|
28
|
-
export declare function generateExtendedColors(): void;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare let appID: string;
|
|
2
|
-
declare let appRegion: string;
|
|
3
|
-
declare let authKey: string;
|
|
4
|
-
export interface VcbData {
|
|
5
|
-
appID?: string;
|
|
6
|
-
appRegion?: string;
|
|
7
|
-
authKey?: string;
|
|
8
|
-
variantID?: string;
|
|
9
|
-
targetElementID?: string;
|
|
10
|
-
isDocked?: boolean;
|
|
11
|
-
height?: string;
|
|
12
|
-
width?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const vcbData: VcbData;
|
|
15
|
-
declare const CometChatApp: {
|
|
16
|
-
init: (config: {
|
|
17
|
-
appID: string;
|
|
18
|
-
appRegion: string;
|
|
19
|
-
authKey: string;
|
|
20
|
-
}) => Promise<boolean>;
|
|
21
|
-
login: ({ uid }: {
|
|
22
|
-
uid: string;
|
|
23
|
-
}) => Promise<import("@cometchat/chat-sdk-javascript").User>;
|
|
24
|
-
logout: () => void;
|
|
25
|
-
launch: (config: {
|
|
26
|
-
variantID?: string;
|
|
27
|
-
targetElementID: string;
|
|
28
|
-
isDocked?: boolean;
|
|
29
|
-
height?: string;
|
|
30
|
-
width?: string;
|
|
31
|
-
}) => void;
|
|
32
|
-
};
|
|
33
|
-
export default CometChatApp;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface DockedChatViewInterface {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
isMobile?: boolean | undefined;
|
|
5
|
-
}
|
|
6
|
-
declare const DockedChatView: ({ children, isMobile }: DockedChatViewInterface) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default DockedChatView;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom React hook to fetch and apply CometChat widget styles (CSS & JS) dynamically.
|
|
3
|
-
*
|
|
4
|
-
* @param widgetId - The unique widget ID provided by CometChat.
|
|
5
|
-
* @param region - The region for the widget (default is "us").
|
|
6
|
-
*/
|
|
7
|
-
declare const useCometChatWidgetStyles: (widgetId?: string, region?: string) => void;
|
|
8
|
-
export default useCometChatWidgetStyles;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|