easemob-chat-uikit 3.0.0 → 3.0.2
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/ChatUI.esm.js +22737 -22328
- package/ChatUI.js +80 -80
- package/ChatUI.umd.js +82 -82
- package/README.md +390 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/module/messageInput/MessageInput.d.ts +1 -0
- package/types/module/messageInput/gift/GiftKeyboard.d.ts +1 -0
- package/types/module/messageInput/moreAction/MoreAction.d.ts +1 -0
- package/types/module/messageInput/recorder/Recorder.d.ts +1 -0
- package/types/module/messageInput/selectedControls/SelectedControls.d.ts +1 -0
- package/types/module/messageInput/textarea/Textarea.d.ts +1 -0
- package/types/module/store/Provider.d.ts +3 -0
|
@@ -17,6 +17,7 @@ export interface GiftKeyboardProps {
|
|
|
17
17
|
onBeforeSendMessage?: BeforeSendMessage;
|
|
18
18
|
giftConfig?: typeof giftConfig;
|
|
19
19
|
closeAfterClick?: boolean;
|
|
20
|
+
webhookEnv?: string;
|
|
20
21
|
}
|
|
21
22
|
declare const GiftKeyboard: (props: GiftKeyboardProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
23
|
export { GiftKeyboard };
|
|
@@ -15,6 +15,7 @@ export interface MoreActionProps {
|
|
|
15
15
|
conversation?: CurrentConversation;
|
|
16
16
|
isChatThread?: boolean;
|
|
17
17
|
onBeforeSendMessage?: BeforeSendMessage;
|
|
18
|
+
webhookEnv?: string;
|
|
18
19
|
}
|
|
19
20
|
declare let MoreAction: (props: MoreActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export { MoreAction };
|
|
@@ -8,6 +8,7 @@ export interface SelectedControlsProps {
|
|
|
8
8
|
onHide?: () => void;
|
|
9
9
|
conversation?: CurrentConversation;
|
|
10
10
|
onSendMessage?: (message: ChatSDK.Message) => void;
|
|
11
|
+
webhookEnv?: string;
|
|
11
12
|
}
|
|
12
13
|
declare const SelectedControls: (props: SelectedControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export { SelectedControls };
|
|
@@ -12,7 +12,10 @@ export interface UIKitDataProviders {
|
|
|
12
12
|
groupInfo?: GroupInfoProvider;
|
|
13
13
|
}
|
|
14
14
|
export interface ProviderInitConfig {
|
|
15
|
+
/** 应用身份。appKey 和 appId 必须且只能传一个。 */
|
|
15
16
|
appKey?: string;
|
|
17
|
+
/** 应用 ID。appKey 和 appId 必须且只能传一个。 */
|
|
18
|
+
appId?: string;
|
|
16
19
|
userId?: string;
|
|
17
20
|
token?: string;
|
|
18
21
|
password?: string;
|