@webinex/chatify 1.0.0-rc2 → 1.0.1-rc3
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/css/chatify.css +183 -141
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/core/action.d.ts +110 -42
- package/dist/esm/types/core/client.d.ts +2 -1
- package/dist/esm/types/core/index.d.ts +11 -8
- package/dist/esm/types/core/models.d.ts +10 -4
- package/dist/esm/types/core/state.d.ts +36 -7
- package/dist/esm/types/core/useAddChatMutation.d.ts +2 -0
- package/dist/esm/types/core/useAddMemberMutation.d.ts +2 -0
- package/dist/esm/types/core/useFetchNextMutation.d.ts +3 -0
- package/dist/esm/types/core/useGetAccountsQuery.d.ts +1 -0
- package/dist/esm/types/core/useGetChatListQuery.d.ts +1 -0
- package/dist/{cjs/types/core/useChat.d.ts → esm/types/core/useGetChatQuery.d.ts} +1 -1
- package/dist/esm/types/core/useGetMessagesQuery.d.ts +4 -0
- package/dist/esm/types/core/useRemoveMemberMutation.d.ts +2 -0
- package/dist/esm/types/core/useSendMutation.d.ts +2 -0
- package/dist/esm/types/core/useUpdateChatNameMutation.d.ts +2 -0
- package/dist/esm/types/ui/AddChatButton.d.ts +2 -2
- package/dist/esm/types/ui/Avatar.d.ts +2 -2
- package/dist/esm/types/ui/ChatList/ChatList.d.ts +2 -0
- package/dist/esm/types/ui/ChatList/ChatListItemBox.d.ts +6 -0
- package/dist/esm/types/ui/ChatList/ChatListItemLastMessage.d.ts +3 -0
- package/dist/esm/types/ui/ChatList/ChatListItemLastMessageAuthor.d.ts +3 -0
- package/dist/esm/types/ui/ChatList/ChatListItemLastMessageContent.d.ts +3 -0
- package/dist/esm/types/ui/ChatList/ChatListItemName.d.ts +3 -0
- package/dist/esm/types/ui/ChatList/ChatListItemUnreadCount.d.ts +3 -0
- package/dist/esm/types/ui/ChatList/index.d.ts +7 -0
- package/dist/esm/types/ui/ChatName.d.ts +2 -2
- package/dist/esm/types/ui/ChatPanel/ChatBody.d.ts +5 -0
- package/dist/esm/types/ui/ChatPanel/ChatHeader.d.ts +5 -0
- package/dist/esm/types/ui/ChatPanel/ChatHeaderMembers.d.ts +5 -0
- package/dist/esm/types/ui/ChatPanel/ChatHeaderName.d.ts +5 -0
- package/dist/esm/types/ui/ChatPanel/ChatMembersButton.d.ts +5 -0
- package/dist/esm/types/ui/ChatPanel/ChatMembersPanel.d.ts +5 -0
- package/dist/esm/types/ui/ChatPanel/ChatPanel.d.ts +5 -0
- package/dist/esm/types/ui/ChatPanel/index.d.ts +6 -0
- package/dist/esm/types/ui/Chatify.d.ts +45 -23
- package/dist/esm/types/ui/CreateChatPanel/CreateChatForm.d.ts +11 -0
- package/dist/esm/types/ui/CreateChatPanel/CreateChatMemberInput.d.ts +5 -0
- package/dist/esm/types/ui/CreateChatPanel/CreateChatNameInput.d.ts +5 -0
- package/dist/esm/types/ui/CreateChatPanel/CreateChatPanel.d.ts +2 -0
- package/dist/esm/types/ui/CreateChatPanel/index.d.ts +4 -0
- package/dist/esm/types/ui/Icon.d.ts +13 -4
- package/dist/esm/types/ui/InputBox/InputBox.d.ts +2 -0
- package/dist/esm/types/ui/InputBox/InputFilesBox.d.ts +2 -0
- package/dist/esm/types/ui/InputBox/InputSubmitButtonBox.d.ts +5 -0
- package/dist/esm/types/ui/InputBox/InputTextBox.d.ts +7 -0
- package/dist/esm/types/ui/InputBox/index.d.ts +4 -0
- package/dist/esm/types/ui/Layout/Aside.d.ts +2 -0
- package/dist/esm/types/ui/Layout/Body.d.ts +2 -0
- package/dist/esm/types/ui/Layout/Footer.d.ts +2 -0
- package/dist/esm/types/ui/Layout/Header.d.ts +2 -0
- package/dist/esm/types/ui/Layout/Main.d.ts +2 -0
- package/dist/esm/types/ui/Layout/index.d.ts +5 -0
- package/dist/esm/types/ui/Message/MessageAuthor.d.ts +3 -0
- package/dist/esm/types/ui/Message/MessageBox.d.ts +6 -0
- package/dist/esm/types/ui/Message/MessageContent.d.ts +3 -0
- package/dist/esm/types/ui/Message/MessageInfoBox.d.ts +3 -0
- package/dist/esm/types/ui/Message/MessageRow.d.ts +6 -0
- package/dist/esm/types/ui/Message/MessageText.d.ts +3 -0
- package/dist/esm/types/ui/Message/index.d.ts +6 -0
- package/dist/esm/types/ui/MessageReadObserver.d.ts +6 -0
- package/dist/esm/types/ui/Next.d.ts +4 -0
- package/dist/esm/types/ui/SendingMessage/SendingMessageBox.d.ts +7 -0
- package/dist/esm/types/ui/SendingMessage/SendingMessageContent.d.ts +3 -0
- package/dist/esm/types/ui/SendingMessage/SendingMessageInfoBox.d.ts +3 -0
- package/dist/esm/types/ui/SendingMessage/SendingMessageText.d.ts +3 -0
- package/dist/esm/types/ui/SendingMessage/index.d.ts +4 -0
- package/dist/esm/types/ui/SystemMessage/SystemMessageBox.d.ts +6 -0
- package/dist/esm/types/ui/SystemMessage/SystemMessageRow.d.ts +9 -0
- package/dist/esm/types/ui/SystemMessage/index.d.ts +2 -0
- package/dist/esm/types/{util → ui}/customize.d.ts +2 -3
- package/dist/esm/types/ui/index.d.ts +6 -6
- package/dist/esm/types/ui/localizer.d.ts +5 -0
- package/dist/esm/types/util/index.d.ts +0 -1
- package/dist/index.d.ts +353 -142
- package/package.json +92 -90
- package/src/ChatifyContext.tsx +41 -41
- package/src/core/action.tsx +405 -319
- package/src/core/client.ts +143 -137
- package/src/core/index.ts +17 -14
- package/src/core/models.tsx +82 -75
- package/src/core/reducer.tsx +87 -86
- package/src/core/state.ts +92 -38
- package/src/core/useAddChatMutation.tsx +22 -0
- package/src/core/useAddMemberMutation.tsx +25 -0
- package/src/core/useFetchNextMutation.tsx +28 -0
- package/src/core/useGetAccountsQuery.tsx +33 -0
- package/src/core/useGetChatListQuery.tsx +33 -0
- package/src/core/useGetChatQuery.tsx +34 -0
- package/src/core/useGetMessagesQuery.tsx +35 -0
- package/src/core/useReadMonitor.tsx +32 -31
- package/src/core/useRemoveMemberMutation.tsx +23 -0
- package/src/core/useSendMutation.tsx +24 -0
- package/src/core/useSignalRMonitor.tsx +66 -52
- package/src/core/useUpdateChatNameMutation.tsx +23 -0
- package/src/index.ts +3 -3
- package/src/{ui/styles → styles}/aside.scss +94 -94
- package/src/styles/chat.scss +222 -0
- package/src/styles/index.scss +79 -0
- package/src/{ui/styles → styles}/keyframes.scss +14 -14
- package/src/{ui/styles → styles}/mixins.scss +20 -20
- package/src/styles/settings.scss +5 -0
- package/src/{ui/styles → styles}/variables.scss +10 -10
- package/src/ui/AddChatButton.tsx +15 -19
- package/src/ui/Avatar.tsx +18 -18
- package/src/ui/ChatList/ChatList.tsx +42 -0
- package/src/ui/ChatList/ChatListItemBox.tsx +22 -0
- package/src/ui/ChatList/ChatListItemLastMessage.tsx +13 -0
- package/src/ui/ChatList/ChatListItemLastMessageAuthor.tsx +20 -0
- package/src/ui/ChatList/ChatListItemLastMessageContent.tsx +21 -0
- package/src/ui/ChatList/ChatListItemName.tsx +13 -0
- package/src/ui/ChatList/ChatListItemUnreadCount.tsx +12 -0
- package/src/ui/ChatList/index.ts +7 -0
- package/src/ui/ChatName.tsx +10 -15
- package/src/ui/ChatPanel/ChatBody.tsx +44 -0
- package/src/ui/ChatPanel/ChatHeader.tsx +33 -0
- package/src/ui/{ChatHeaderMembers.tsx → ChatPanel/ChatHeaderMembers.tsx} +26 -30
- package/src/ui/ChatPanel/ChatHeaderName.tsx +67 -0
- package/src/ui/ChatPanel/ChatMembersButton.tsx +21 -0
- package/src/ui/ChatPanel/ChatMembersPanel.tsx +117 -0
- package/src/ui/ChatPanel/ChatPanel.tsx +27 -0
- package/src/ui/ChatPanel/index.ts +6 -0
- package/src/ui/Chatify.tsx +148 -106
- package/src/ui/CreateChatPanel/CreateChatForm.tsx +36 -0
- package/src/ui/CreateChatPanel/CreateChatMemberInput.tsx +66 -0
- package/src/ui/CreateChatPanel/CreateChatNameInput.tsx +25 -0
- package/src/ui/CreateChatPanel/CreateChatPanel.tsx +33 -0
- package/src/ui/CreateChatPanel/index.ts +4 -0
- package/src/ui/Icon.tsx +33 -21
- package/src/ui/InputBox/InputBox.tsx +38 -0
- package/src/ui/InputBox/InputFilesBox.tsx +9 -0
- package/src/ui/InputBox/InputSubmitButtonBox.tsx +17 -0
- package/src/ui/InputBox/InputTextBox.tsx +50 -0
- package/src/ui/InputBox/index.ts +4 -0
- package/src/ui/Layout/Aside.tsx +10 -0
- package/src/ui/Layout/Body.tsx +10 -0
- package/src/ui/Layout/Footer.tsx +3 -0
- package/src/ui/Layout/Header.tsx +10 -0
- package/src/ui/Layout/Main.tsx +15 -0
- package/src/ui/Layout/index.ts +5 -0
- package/src/ui/Message/MessageAuthor.tsx +13 -0
- package/src/ui/Message/MessageBox.tsx +20 -0
- package/src/ui/Message/MessageContent.tsx +13 -0
- package/src/ui/Message/MessageInfoBox.tsx +25 -0
- package/src/ui/Message/MessageRow.tsx +24 -0
- package/src/ui/Message/MessageText.tsx +7 -0
- package/src/ui/Message/index.ts +6 -0
- package/src/ui/MessageReadObserver.tsx +45 -0
- package/src/ui/MessageSkeleton.tsx +19 -19
- package/src/ui/Next.tsx +48 -0
- package/src/ui/SendingMessage/SendingMessageBox.tsx +16 -0
- package/src/ui/SendingMessage/SendingMessageContent.tsx +13 -0
- package/src/ui/SendingMessage/SendingMessageInfoBox.tsx +13 -0
- package/src/ui/SendingMessage/SendingMessageText.tsx +7 -0
- package/src/ui/SendingMessage/index.ts +4 -0
- package/src/ui/SystemMessage/SystemMessageBox.tsx +20 -0
- package/src/ui/SystemMessage/SystemMessageRow.tsx +43 -0
- package/src/ui/SystemMessage/index.ts +2 -0
- package/src/{util → ui}/customize.tsx +45 -45
- package/src/ui/index.ts +11 -11
- package/src/ui/localizer.tsx +80 -68
- package/src/util/index.ts +2 -3
- package/src/util/uniqBy.tsx +17 -17
- package/src/util/uniqId.tsx +3 -3
- package/dist/cjs/index.js +0 -2
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/ChatifyContext.d.ts +0 -11
- package/dist/cjs/types/core/action.d.ts +0 -76
- package/dist/cjs/types/core/client.d.ts +0 -35
- package/dist/cjs/types/core/index.d.ts +0 -14
- package/dist/cjs/types/core/models.d.ts +0 -64
- package/dist/cjs/types/core/reducer.d.ts +0 -11
- package/dist/cjs/types/core/state.d.ts +0 -25
- package/dist/cjs/types/core/useAccounts.d.ts +0 -1
- package/dist/cjs/types/core/useAddChat.d.ts +0 -2
- package/dist/cjs/types/core/useAddMember.d.ts +0 -2
- package/dist/cjs/types/core/useAddMessage.d.ts +0 -5
- package/dist/cjs/types/core/useChatList.d.ts +0 -1
- package/dist/cjs/types/core/useLoadMore.d.ts +0 -3
- package/dist/cjs/types/core/useMessages.d.ts +0 -15
- package/dist/cjs/types/core/useMutation.d.ts +0 -12
- package/dist/cjs/types/core/useQuery.d.ts +0 -7
- package/dist/cjs/types/core/useReadMonitor.d.ts +0 -1
- package/dist/cjs/types/core/useRemoveMember.d.ts +0 -2
- package/dist/cjs/types/core/useSignalRMonitor.d.ts +0 -2
- package/dist/cjs/types/index.d.ts +0 -3
- package/dist/cjs/types/ui/AddChat.d.ts +0 -1
- package/dist/cjs/types/ui/AddChatButton.d.ts +0 -2
- package/dist/cjs/types/ui/Aside.d.ts +0 -1
- package/dist/cjs/types/ui/Avatar.d.ts +0 -6
- package/dist/cjs/types/ui/Chat.d.ts +0 -4
- package/dist/cjs/types/ui/ChatBody.d.ts +0 -4
- package/dist/cjs/types/ui/ChatHeader.d.ts +0 -4
- package/dist/cjs/types/ui/ChatHeaderMembers.d.ts +0 -5
- package/dist/cjs/types/ui/ChatHeaderSettingsButton.d.ts +0 -5
- package/dist/cjs/types/ui/ChatListItem.d.ts +0 -11
- package/dist/cjs/types/ui/ChatName.d.ts +0 -5
- package/dist/cjs/types/ui/ChatSettings.d.ts +0 -1
- package/dist/cjs/types/ui/Chatify.d.ts +0 -49
- package/dist/cjs/types/ui/Footer.d.ts +0 -2
- package/dist/cjs/types/ui/Header.d.ts +0 -2
- package/dist/cjs/types/ui/Icon.d.ts +0 -7
- package/dist/cjs/types/ui/InputForm.d.ts +0 -1
- package/dist/cjs/types/ui/LoadMore.d.ts +0 -4
- package/dist/cjs/types/ui/Main.d.ts +0 -1
- package/dist/cjs/types/ui/Message.d.ts +0 -18
- package/dist/cjs/types/ui/MessageSkeleton.d.ts +0 -4
- package/dist/cjs/types/ui/SendingMessage.d.ts +0 -10
- package/dist/cjs/types/ui/SystemMessage.d.ts +0 -8
- package/dist/cjs/types/ui/index.d.ts +0 -11
- package/dist/cjs/types/ui/localizer.d.ts +0 -32
- package/dist/cjs/types/util/customize.d.ts +0 -12
- package/dist/cjs/types/util/index.d.ts +0 -3
- package/dist/cjs/types/util/uniqBy.d.ts +0 -1
- package/dist/cjs/types/util/uniqId.d.ts +0 -1
- package/dist/esm/types/core/useAccounts.d.ts +0 -1
- package/dist/esm/types/core/useAddChat.d.ts +0 -2
- package/dist/esm/types/core/useAddMember.d.ts +0 -2
- package/dist/esm/types/core/useAddMessage.d.ts +0 -5
- package/dist/esm/types/core/useChat.d.ts +0 -3
- package/dist/esm/types/core/useChatList.d.ts +0 -1
- package/dist/esm/types/core/useLoadMore.d.ts +0 -3
- package/dist/esm/types/core/useMessages.d.ts +0 -15
- package/dist/esm/types/core/useMutation.d.ts +0 -12
- package/dist/esm/types/core/useQuery.d.ts +0 -7
- package/dist/esm/types/core/useRemoveMember.d.ts +0 -2
- package/dist/esm/types/ui/AddChat.d.ts +0 -1
- package/dist/esm/types/ui/Aside.d.ts +0 -1
- package/dist/esm/types/ui/Chat.d.ts +0 -4
- package/dist/esm/types/ui/ChatBody.d.ts +0 -4
- package/dist/esm/types/ui/ChatHeader.d.ts +0 -4
- package/dist/esm/types/ui/ChatHeaderMembers.d.ts +0 -5
- package/dist/esm/types/ui/ChatHeaderSettingsButton.d.ts +0 -5
- package/dist/esm/types/ui/ChatListItem.d.ts +0 -11
- package/dist/esm/types/ui/ChatSettings.d.ts +0 -1
- package/dist/esm/types/ui/Footer.d.ts +0 -2
- package/dist/esm/types/ui/Header.d.ts +0 -2
- package/dist/esm/types/ui/InputForm.d.ts +0 -1
- package/dist/esm/types/ui/LoadMore.d.ts +0 -4
- package/dist/esm/types/ui/Main.d.ts +0 -1
- package/dist/esm/types/ui/Message.d.ts +0 -18
- package/dist/esm/types/ui/SendingMessage.d.ts +0 -10
- package/dist/esm/types/ui/SystemMessage.d.ts +0 -8
- package/src/core/useAccounts.tsx +0 -11
- package/src/core/useAddChat.tsx +0 -12
- package/src/core/useAddMember.tsx +0 -12
- package/src/core/useAddMessage.tsx +0 -40
- package/src/core/useChat.tsx +0 -12
- package/src/core/useChatList.tsx +0 -10
- package/src/core/useLoadMore.tsx +0 -42
- package/src/core/useMessages.tsx +0 -23
- package/src/core/useMutation.tsx +0 -48
- package/src/core/useQuery.tsx +0 -45
- package/src/core/useRemoveMember.tsx +0 -12
- package/src/ui/AddChat.tsx +0 -55
- package/src/ui/Aside.tsx +0 -41
- package/src/ui/Chat.tsx +0 -26
- package/src/ui/ChatBody.tsx +0 -43
- package/src/ui/ChatHeader.tsx +0 -33
- package/src/ui/ChatHeaderSettingsButton.tsx +0 -26
- package/src/ui/ChatListItem.tsx +0 -101
- package/src/ui/ChatSettings.tsx +0 -59
- package/src/ui/Footer.tsx +0 -7
- package/src/ui/Header.tsx +0 -14
- package/src/ui/InputForm.tsx +0 -51
- package/src/ui/LoadMore.tsx +0 -40
- package/src/ui/Main.tsx +0 -16
- package/src/ui/Message.tsx +0 -118
- package/src/ui/SendingMessage.tsx +0 -50
- package/src/ui/SystemMessage.tsx +0 -32
- package/src/ui/styles/index.scss +0 -248
package/dist/index.d.ts
CHANGED
|
@@ -1,42 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
import * as
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import react__default, { PropsWithChildren, Ref, RefObject, CSSProperties, FC } from 'react';
|
|
4
|
+
import * as _ant_design_icons_lib_components_AntdIcon from '@ant-design/icons/lib/components/AntdIcon';
|
|
3
5
|
import { AxiosInstance } from 'axios';
|
|
6
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
7
|
|
|
5
8
|
interface Localizer {
|
|
6
9
|
timestamp: (value: string) => string;
|
|
7
10
|
system: {
|
|
8
11
|
chatCreated: () => string;
|
|
9
12
|
memberAdded: () => string;
|
|
13
|
+
memberRemoved: () => string;
|
|
14
|
+
chatNameChanged: (newName: string) => string;
|
|
10
15
|
};
|
|
11
16
|
message: {
|
|
12
|
-
read: () =>
|
|
13
|
-
reading: () =>
|
|
14
|
-
sending: () =>
|
|
17
|
+
read: () => react__default.ReactNode;
|
|
18
|
+
reading: () => react__default.ReactNode;
|
|
19
|
+
sending: () => react__default.ReactNode;
|
|
15
20
|
};
|
|
16
21
|
addChat: {
|
|
17
|
-
title: () =>
|
|
22
|
+
title: () => react__default.ReactNode;
|
|
18
23
|
name: {
|
|
19
|
-
label: () =>
|
|
24
|
+
label: () => react__default.ReactNode;
|
|
20
25
|
required: () => string;
|
|
21
26
|
max250: () => string;
|
|
22
27
|
};
|
|
23
28
|
members: {
|
|
24
|
-
label: () =>
|
|
29
|
+
label: () => react__default.ReactNode;
|
|
25
30
|
required: () => string;
|
|
26
31
|
};
|
|
27
|
-
submitBtn: () =>
|
|
32
|
+
submitBtn: () => react__default.ReactNode;
|
|
28
33
|
};
|
|
29
34
|
input: {
|
|
30
35
|
placeholder: () => string;
|
|
31
36
|
};
|
|
37
|
+
settings: {
|
|
38
|
+
members: () => string;
|
|
39
|
+
};
|
|
32
40
|
}
|
|
33
|
-
declare const LocalizerContext:
|
|
41
|
+
declare const LocalizerContext: react__default.Context<Localizer>;
|
|
34
42
|
declare function useLocalizer(): Localizer;
|
|
35
43
|
declare const defaultLocalizer: Localizer;
|
|
36
44
|
|
|
37
|
-
type Customizable<TComponent extends
|
|
45
|
+
type Customizable<TComponent extends react__default.ComponentType<any>> = TComponent & {
|
|
38
46
|
Component: TComponent;
|
|
39
|
-
key: TKey;
|
|
40
47
|
};
|
|
41
48
|
|
|
42
49
|
interface File {
|
|
@@ -56,7 +63,6 @@ interface Message {
|
|
|
56
63
|
files: File[];
|
|
57
64
|
sentAt: string;
|
|
58
65
|
sentBy: Account;
|
|
59
|
-
read: boolean;
|
|
60
66
|
requestId?: string;
|
|
61
67
|
}
|
|
62
68
|
interface Chat {
|
|
@@ -68,7 +74,9 @@ interface ChatListItem {
|
|
|
68
74
|
id: string;
|
|
69
75
|
name: string;
|
|
70
76
|
message: Message;
|
|
71
|
-
|
|
77
|
+
totalUnreadCount: number;
|
|
78
|
+
active: boolean;
|
|
79
|
+
lastReadMessageId: string | null;
|
|
72
80
|
}
|
|
73
81
|
interface SendMessageRequest {
|
|
74
82
|
chatId: string;
|
|
@@ -87,11 +95,12 @@ interface AddChatRequest {
|
|
|
87
95
|
members: string[];
|
|
88
96
|
}
|
|
89
97
|
interface ReadRequest {
|
|
90
|
-
|
|
98
|
+
id: string;
|
|
91
99
|
}
|
|
92
100
|
interface ReadEvent {
|
|
93
|
-
messageId: string;
|
|
94
101
|
chatId: string;
|
|
102
|
+
newLastReadMessageId: string;
|
|
103
|
+
readCount: number;
|
|
95
104
|
}
|
|
96
105
|
interface RemoveMemberRequest {
|
|
97
106
|
chatId: string;
|
|
@@ -103,6 +112,10 @@ interface AddMemberRequest {
|
|
|
103
112
|
accountId: string;
|
|
104
113
|
withHistory: boolean;
|
|
105
114
|
}
|
|
115
|
+
interface UpdateChatNameRequest {
|
|
116
|
+
id: string;
|
|
117
|
+
name: string;
|
|
118
|
+
}
|
|
106
119
|
|
|
107
120
|
interface ChatifySignalRConfig {
|
|
108
121
|
hubUri?: string;
|
|
@@ -135,11 +148,23 @@ declare class ChatifyClient {
|
|
|
135
148
|
send: (request: SendMessageRequest) => Promise<void>;
|
|
136
149
|
read: (request: ReadRequest) => Promise<void>;
|
|
137
150
|
removeMember: (request: RemoveMemberRequest) => Promise<void>;
|
|
151
|
+
updateChatName: (request: UpdateChatNameRequest) => Promise<void>;
|
|
138
152
|
addMember: (request: AddMemberRequest) => Promise<void>;
|
|
139
153
|
}
|
|
140
154
|
|
|
155
|
+
type MessageState = ({
|
|
156
|
+
type: 'message';
|
|
157
|
+
} & Message) | {
|
|
158
|
+
type: 'next';
|
|
159
|
+
} | {
|
|
160
|
+
type: 'sending';
|
|
161
|
+
text: string;
|
|
162
|
+
files: File[];
|
|
163
|
+
requestId: string;
|
|
164
|
+
};
|
|
141
165
|
interface UIState {
|
|
142
|
-
view?: 'chat' | 'new-chat'
|
|
166
|
+
view?: 'chat' | 'new-chat';
|
|
167
|
+
showMembers: boolean;
|
|
143
168
|
chatId?: string;
|
|
144
169
|
}
|
|
145
170
|
interface QueryState<TData> {
|
|
@@ -152,84 +177,170 @@ interface MutationState {
|
|
|
152
177
|
isFetching: boolean;
|
|
153
178
|
error?: any;
|
|
154
179
|
}
|
|
180
|
+
interface QueueState<TValue> {
|
|
181
|
+
queued: TValue[];
|
|
182
|
+
processing: TValue[];
|
|
183
|
+
timestamp: number;
|
|
184
|
+
}
|
|
155
185
|
interface State {
|
|
156
186
|
ui: UIState;
|
|
157
|
-
query:
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
187
|
+
query: {
|
|
188
|
+
messages: Record<string, QueryState<MessageState[]>>;
|
|
189
|
+
chats: Record<string, QueryState<Chat>>;
|
|
190
|
+
chatList: QueryState<ChatListItem[]>;
|
|
191
|
+
accounts: QueryState<Account[]>;
|
|
192
|
+
};
|
|
193
|
+
mutation: {
|
|
194
|
+
fetchNext: MutationState;
|
|
195
|
+
removeMember: MutationState;
|
|
196
|
+
addMember: MutationState;
|
|
197
|
+
updateChatName: MutationState;
|
|
198
|
+
addChat: MutationState;
|
|
199
|
+
send: MutationState;
|
|
200
|
+
};
|
|
201
|
+
queue: {
|
|
202
|
+
read: QueueState<string>;
|
|
203
|
+
send: QueueState<SendMessageRequest>;
|
|
163
204
|
};
|
|
164
205
|
}
|
|
206
|
+
declare const INITIAL_QUERY_STATE: QueryState<any>;
|
|
207
|
+
declare const INITIAL_STATE: State;
|
|
165
208
|
|
|
166
209
|
declare const ACTIONS: {
|
|
167
|
-
query_fetch: (state: State, { key }: {
|
|
168
|
-
key: string;
|
|
169
|
-
}) => State;
|
|
170
|
-
query_resolve: (state: State, { key, data }: {
|
|
171
|
-
key: string;
|
|
172
|
-
data: any[];
|
|
173
|
-
}) => State;
|
|
174
|
-
query_reject: (state: State, { key, error }: {
|
|
175
|
-
key: string;
|
|
176
|
-
error: any;
|
|
177
|
-
}) => State;
|
|
178
|
-
mutation_fetch: (state: State, { key }: {
|
|
179
|
-
key: string;
|
|
180
|
-
}) => State;
|
|
181
|
-
mutation_resolve: (state: State, { key }: {
|
|
182
|
-
key: string;
|
|
183
|
-
}) => State;
|
|
184
|
-
mutation_reject: (state: State, { key, error }: {
|
|
185
|
-
key: string;
|
|
186
|
-
error: any;
|
|
187
|
-
}) => State;
|
|
188
210
|
update: (state: State, { mutation }: {
|
|
189
211
|
mutation: (state: State) => State;
|
|
190
|
-
}) =>
|
|
191
|
-
|
|
212
|
+
}) => void;
|
|
213
|
+
messages_fetch: (state: State, { chatId }: {
|
|
192
214
|
chatId: string;
|
|
193
|
-
}) =>
|
|
194
|
-
|
|
195
|
-
chat_settings_open: (state: State, { chatId }: {
|
|
215
|
+
}) => void;
|
|
216
|
+
messages_fulfilled: (state: State, { chatId, messages, hasMore }: {
|
|
196
217
|
chatId: string;
|
|
197
|
-
|
|
198
|
-
|
|
218
|
+
messages: Message[];
|
|
219
|
+
hasMore: boolean;
|
|
220
|
+
}) => void;
|
|
221
|
+
messages_rejected: (state: State, { chatId, error }: {
|
|
222
|
+
chatId: string;
|
|
223
|
+
error: any;
|
|
224
|
+
}) => void;
|
|
225
|
+
fetchNext_fetch: (state: State, { chatId }: {
|
|
226
|
+
chatId: string;
|
|
227
|
+
}) => void;
|
|
228
|
+
fetchNext_fulfilled: (state: State, { chatId, messages, hasMore }: {
|
|
229
|
+
chatId: string;
|
|
230
|
+
messages: Message[];
|
|
231
|
+
hasMore: boolean;
|
|
232
|
+
}) => void;
|
|
233
|
+
fetchNext_rejected: (state: State, { chatId, error }: {
|
|
234
|
+
chatId: string;
|
|
235
|
+
error: any;
|
|
236
|
+
}) => void;
|
|
237
|
+
chatList_fetch: (state: State) => void;
|
|
238
|
+
chatList_fulfilled: (state: State, { chats }: {
|
|
239
|
+
chats: ChatListItem[];
|
|
240
|
+
}) => void;
|
|
241
|
+
chatList_rejected: (state: State, { error }: {
|
|
242
|
+
error: any;
|
|
243
|
+
}) => void;
|
|
244
|
+
removeMember_fetch: (state: State) => void;
|
|
245
|
+
removeMember_fulfilled: (state: State) => void;
|
|
246
|
+
removeMember_rejected: (state: State, { error }: {
|
|
247
|
+
error: any;
|
|
248
|
+
}) => void;
|
|
249
|
+
addMember_fetch: (state: State) => void;
|
|
250
|
+
addMember_fulfilled: (state: State) => void;
|
|
251
|
+
addMember_rejected: (state: State, { error }: {
|
|
252
|
+
error: any;
|
|
253
|
+
}) => void;
|
|
254
|
+
updateChatName_fetch: (state: State) => void;
|
|
255
|
+
updateChatName_fulfilled: (state: State) => void;
|
|
256
|
+
updateChatName_rejected: (state: State, { error }: {
|
|
257
|
+
error: any;
|
|
258
|
+
}) => void;
|
|
259
|
+
addChat_fetch: (state: State) => void;
|
|
260
|
+
addChat_fulfilled: (state: State) => void;
|
|
261
|
+
addChat_rejected: (state: State, { error }: {
|
|
262
|
+
error: any;
|
|
263
|
+
}) => void;
|
|
264
|
+
accounts_fetch: (state: State) => void;
|
|
265
|
+
accounts_fulfilled: (state: State, { accounts }: {
|
|
266
|
+
accounts: Account[];
|
|
267
|
+
}) => void;
|
|
268
|
+
accounts_rejected: (state: State, { error }: {
|
|
269
|
+
error: any;
|
|
270
|
+
}) => void;
|
|
271
|
+
chat_open: (state: State, { chatId }: {
|
|
272
|
+
chatId: string;
|
|
273
|
+
}) => void;
|
|
274
|
+
new_chat_open: (state: State) => void;
|
|
275
|
+
toggle_members_view: (state: State) => void;
|
|
276
|
+
message_received: (state: State, { message, requestId, me }: {
|
|
199
277
|
message: Message;
|
|
200
278
|
requestId: string;
|
|
201
|
-
|
|
279
|
+
me: string;
|
|
280
|
+
}) => void;
|
|
202
281
|
chat_created: (state: State, { chat }: {
|
|
203
282
|
chat: ChatListItem;
|
|
204
283
|
requestId?: string | undefined;
|
|
205
|
-
}) =>
|
|
284
|
+
}) => void;
|
|
206
285
|
read: (state: State, { id, timestamp }: {
|
|
207
286
|
id: string;
|
|
208
287
|
timestamp: number;
|
|
209
|
-
}) =>
|
|
210
|
-
read_send: (state: State, {
|
|
211
|
-
|
|
212
|
-
}) =>
|
|
213
|
-
read_reject: (state: State, {
|
|
214
|
-
|
|
288
|
+
}) => void;
|
|
289
|
+
read_send: (state: State, { id }: {
|
|
290
|
+
id: string;
|
|
291
|
+
}) => void;
|
|
292
|
+
read_reject: (state: State, { id, timestamp }: {
|
|
293
|
+
id: string;
|
|
215
294
|
timestamp: number;
|
|
216
|
-
}) =>
|
|
295
|
+
}) => void;
|
|
217
296
|
read_received: (state: State, { events }: {
|
|
218
297
|
events: ReadEvent[];
|
|
219
|
-
}) =>
|
|
220
|
-
member_added: (state: State, { chatId, chatName, account, me, message, }: {
|
|
298
|
+
}) => void;
|
|
299
|
+
member_added: (state: State, { chatId, chatName, account, me, message, withHistory, }: {
|
|
221
300
|
chatId: string;
|
|
222
301
|
chatName: string;
|
|
223
302
|
account: Account;
|
|
224
303
|
me: string;
|
|
225
304
|
message: Message;
|
|
305
|
+
withHistory: boolean;
|
|
226
306
|
}) => State;
|
|
227
|
-
member_removed: (state: State, { chatId, accountId, deleteHistory, me, }: {
|
|
307
|
+
member_removed: (state: State, { chatId, accountId, deleteHistory, me, message, }: {
|
|
228
308
|
chatId: string;
|
|
229
309
|
accountId: string;
|
|
230
310
|
deleteHistory: boolean;
|
|
231
311
|
me: string;
|
|
232
|
-
|
|
312
|
+
message: Message;
|
|
313
|
+
}) => void;
|
|
314
|
+
chat_fetch: (state: State, { chatId }: {
|
|
315
|
+
chatId: string;
|
|
316
|
+
}) => void;
|
|
317
|
+
chat_fulfilled: (state: State, { chat }: {
|
|
318
|
+
chat: Chat;
|
|
319
|
+
}) => void;
|
|
320
|
+
chat_rejected: (state: State, { chatId, error }: {
|
|
321
|
+
chatId: string;
|
|
322
|
+
error: any;
|
|
323
|
+
}) => void;
|
|
324
|
+
send_fetch: (state: State, { chatId, text, files, requestId, }: {
|
|
325
|
+
chatId: string;
|
|
326
|
+
text: string;
|
|
327
|
+
files: File[];
|
|
328
|
+
requestId: string;
|
|
329
|
+
}) => void;
|
|
330
|
+
send_fulfilled: (state: State, { chatId, requestId }: {
|
|
331
|
+
chatId: string;
|
|
332
|
+
requestId: string;
|
|
333
|
+
}) => void;
|
|
334
|
+
send_rejected: (state: State, { chatId, requestId, error }: {
|
|
335
|
+
chatId: string;
|
|
336
|
+
requestId: string;
|
|
337
|
+
error: any;
|
|
338
|
+
}) => void;
|
|
339
|
+
chatNameChanged_received: (state: State, { chatId, newName, message }: {
|
|
340
|
+
chatId: string;
|
|
341
|
+
newName: string;
|
|
342
|
+
message: Message;
|
|
343
|
+
}) => void;
|
|
233
344
|
};
|
|
234
345
|
type Action = {
|
|
235
346
|
[K in keyof typeof ACTIONS]: {
|
|
@@ -240,150 +351,255 @@ type Action = {
|
|
|
240
351
|
|
|
241
352
|
type Reducer = ReturnType<typeof useReducer>;
|
|
242
353
|
type Subscriber = (state: State) => void;
|
|
243
|
-
declare function useReducer(): readonly [
|
|
354
|
+
declare function useReducer(): readonly [react__default.MutableRefObject<State>, (action: Action) => void, (subscriber: Subscriber) => () => void];
|
|
244
355
|
declare function ReducerProvider({ children }: PropsWithChildren<{}>): react_jsx_runtime.JSX.Element;
|
|
245
356
|
declare function useDispatch(): (action: Action) => void;
|
|
246
|
-
declare function useStateRef():
|
|
357
|
+
declare function useStateRef(): react__default.MutableRefObject<State>;
|
|
247
358
|
declare function useSelect<TResult>(select: (state: State) => TResult, deps: any[]): TResult;
|
|
248
359
|
|
|
249
|
-
declare function
|
|
360
|
+
declare function useGetChatQuery(args: {
|
|
250
361
|
chatId: string;
|
|
251
362
|
}): QueryState<Chat>;
|
|
252
363
|
|
|
253
|
-
declare function
|
|
364
|
+
declare function useGetChatListQuery(): QueryState<ChatListItem[]>;
|
|
254
365
|
|
|
255
|
-
declare function
|
|
366
|
+
declare function useFetchNextMutation({ chatId }: {
|
|
256
367
|
chatId: string;
|
|
257
|
-
}): readonly [(
|
|
368
|
+
}): readonly [() => void, MutationState];
|
|
258
369
|
|
|
259
|
-
|
|
260
|
-
type: 'message';
|
|
261
|
-
} & Message) | {
|
|
262
|
-
type: 'more';
|
|
263
|
-
} | {
|
|
264
|
-
type: 'sending';
|
|
265
|
-
text: string;
|
|
266
|
-
files: File[];
|
|
267
|
-
requestId: string;
|
|
268
|
-
};
|
|
269
|
-
declare function useMessages(args: {
|
|
370
|
+
declare function useGetMessagesQuery(args: {
|
|
270
371
|
chatId: string;
|
|
271
372
|
}): QueryState<MessageState[]>;
|
|
272
373
|
|
|
273
374
|
declare function useSignalRMonitor(me: string, client: ChatifyClient): void;
|
|
274
375
|
|
|
275
|
-
declare function
|
|
376
|
+
declare function useGetAccountsQuery(): QueryState<Account[]>;
|
|
276
377
|
|
|
277
|
-
declare function
|
|
378
|
+
declare function useAddChatMutation(): readonly [(args: AddChatRequest) => void, MutationState];
|
|
278
379
|
|
|
279
380
|
declare function useReadMonitor(): void;
|
|
280
381
|
|
|
281
|
-
declare function
|
|
382
|
+
declare function useAddMemberMutation(): readonly [(args: AddMemberRequest) => void, MutationState];
|
|
383
|
+
|
|
384
|
+
declare function useRemoveMemberMutation(): readonly [(args: RemoveMemberRequest) => void, MutationState];
|
|
282
385
|
|
|
283
|
-
declare function
|
|
386
|
+
declare function useSendMutation(): readonly [(args: SendMessageRequest) => void, MutationState];
|
|
387
|
+
|
|
388
|
+
declare function useUpdateChatNameMutation(): readonly [(args: UpdateChatNameRequest) => void, MutationState];
|
|
284
389
|
|
|
285
390
|
interface AvatarProps {
|
|
286
391
|
account: Account;
|
|
287
392
|
}
|
|
288
|
-
declare const Avatar: Customizable<
|
|
393
|
+
declare const Avatar: Customizable<react.ComponentType<AvatarProps>>;
|
|
289
394
|
|
|
290
395
|
interface ChatHeaderMembersProps {
|
|
291
396
|
id: string;
|
|
292
397
|
}
|
|
293
|
-
declare const ChatHeaderMembers: Customizable<
|
|
398
|
+
declare const ChatHeaderMembers: Customizable<react.ComponentType<ChatHeaderMembersProps>>;
|
|
294
399
|
|
|
295
|
-
interface
|
|
400
|
+
interface ChatMembersButtonProps {
|
|
296
401
|
id: string;
|
|
297
402
|
}
|
|
298
|
-
declare const
|
|
299
|
-
|
|
300
|
-
declare const Header: Customizable<FC, "Header">;
|
|
301
|
-
|
|
302
|
-
declare const AddChatButton: Customizable<FC, "AddChatButton">;
|
|
403
|
+
declare const ChatMembersButton: Customizable<react.ComponentType<ChatMembersButtonProps>>;
|
|
303
404
|
|
|
304
|
-
declare const
|
|
405
|
+
declare const AddChatButton: Customizable<react.ComponentType<unknown>>;
|
|
305
406
|
|
|
306
407
|
interface ChatNameProps {
|
|
307
408
|
name: string;
|
|
308
409
|
}
|
|
309
|
-
declare const ChatName: Customizable<
|
|
410
|
+
declare const ChatName: Customizable<react.ComponentType<ChatNameProps>>;
|
|
411
|
+
|
|
412
|
+
declare const Aside: Customizable<react.ComponentType<unknown>>;
|
|
413
|
+
|
|
414
|
+
declare const Header: Customizable<react.ComponentType<unknown>>;
|
|
415
|
+
|
|
416
|
+
declare const Footer: Customizable<react.ComponentType<unknown>>;
|
|
417
|
+
|
|
418
|
+
declare const Main: Customizable<react.ComponentType<unknown>>;
|
|
419
|
+
|
|
420
|
+
declare const Body: Customizable<react.ComponentType<unknown>>;
|
|
421
|
+
|
|
422
|
+
declare const ChatList: Customizable<react.ComponentType<unknown>>;
|
|
310
423
|
|
|
311
424
|
interface ChatListItemBoxProps {
|
|
312
425
|
chat: ChatListItem;
|
|
313
426
|
}
|
|
314
|
-
declare const
|
|
315
|
-
|
|
316
|
-
declare const ChatListItemLastMessage: Customizable<
|
|
317
|
-
|
|
318
|
-
declare const
|
|
319
|
-
declare const ChatListItemBox: Customizable<FC<ChatListItemBoxProps>, "ChatListItemBox">;
|
|
427
|
+
declare const ChatListItemBox: Customizable<react.ComponentType<ChatListItemBoxProps>>;
|
|
428
|
+
|
|
429
|
+
declare const ChatListItemLastMessage: Customizable<react.ComponentType<ChatListItemBoxProps>>;
|
|
430
|
+
|
|
431
|
+
declare const ChatListItemLastMessageAuthor: Customizable<react.ComponentType<ChatListItemBoxProps>>;
|
|
320
432
|
|
|
321
|
-
|
|
433
|
+
declare const ChatListItemLastMessageContent: Customizable<react.ComponentType<ChatListItemBoxProps>>;
|
|
434
|
+
|
|
435
|
+
declare const ChatListItemName: Customizable<react.ComponentType<ChatListItemBoxProps>>;
|
|
436
|
+
|
|
437
|
+
declare const ChatListItemUnreadCount: Customizable<react.ComponentType<ChatListItemBoxProps>>;
|
|
438
|
+
|
|
439
|
+
interface SendingMessageBoxProps {
|
|
322
440
|
text: string;
|
|
323
441
|
files: File[];
|
|
324
442
|
}
|
|
325
|
-
declare const
|
|
326
|
-
|
|
327
|
-
declare const SendingMessageContent: Customizable<
|
|
328
|
-
|
|
443
|
+
declare const SendingMessageBox: Customizable<react.ComponentType<SendingMessageBoxProps>>;
|
|
444
|
+
|
|
445
|
+
declare const SendingMessageContent: Customizable<react.ComponentType<SendingMessageBoxProps>>;
|
|
446
|
+
|
|
447
|
+
declare const SendingMessageInfoBox: Customizable<react.ComponentType<SendingMessageBoxProps>>;
|
|
448
|
+
|
|
449
|
+
declare const SendingMessageText: Customizable<react.ComponentType<SendingMessageBoxProps>>;
|
|
329
450
|
|
|
330
451
|
interface MessageBoxProps {
|
|
331
452
|
message: Message;
|
|
332
453
|
}
|
|
454
|
+
declare const MessageBox: Customizable<react.ComponentType<MessageBoxProps>>;
|
|
455
|
+
|
|
456
|
+
declare const MessageAuthor: Customizable<react.ComponentType<MessageBoxProps>>;
|
|
457
|
+
|
|
458
|
+
declare const MessageContent: Customizable<react.ComponentType<MessageBoxProps>>;
|
|
459
|
+
|
|
460
|
+
declare const MessageInfoBox: Customizable<react.ComponentType<MessageBoxProps>>;
|
|
461
|
+
|
|
333
462
|
interface MessageRowProps extends MessageBoxProps {
|
|
334
463
|
containerRef?: Ref<HTMLDivElement>;
|
|
335
464
|
}
|
|
336
|
-
declare const
|
|
337
|
-
|
|
338
|
-
declare const
|
|
339
|
-
|
|
340
|
-
declare const MessageRow: Customizable<FC<MessageRowProps>, string>;
|
|
341
|
-
declare const MessageBox: Customizable<FC<MessageBoxProps>, string>;
|
|
465
|
+
declare const MessageRow: Customizable<react.ComponentType<MessageRowProps>>;
|
|
466
|
+
|
|
467
|
+
declare const MessageText: Customizable<react.ComponentType<MessageBoxProps>>;
|
|
468
|
+
|
|
342
469
|
interface MessageReadObserverProps extends MessageBoxProps {
|
|
343
470
|
messageRef: RefObject<HTMLDivElement | null>;
|
|
344
471
|
}
|
|
345
|
-
declare const MessageReadObserver: Customizable<
|
|
472
|
+
declare const MessageReadObserver: Customizable<react.ComponentType<MessageReadObserverProps>>;
|
|
346
473
|
|
|
347
|
-
type IconType =
|
|
474
|
+
type IconType = keyof typeof ICONS;
|
|
348
475
|
interface IconProps {
|
|
349
476
|
type: IconType;
|
|
350
477
|
}
|
|
351
|
-
declare const ICONS:
|
|
352
|
-
|
|
478
|
+
declare const ICONS: {
|
|
479
|
+
attach: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
480
|
+
send: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
481
|
+
remove: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
482
|
+
remove_delete_history: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
483
|
+
add: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
484
|
+
add_with_history: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
485
|
+
team: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
486
|
+
edit: react.ForwardRefExoticComponent<Pick<_ant_design_icons_lib_components_AntdIcon.AntdIconProps, "id" | "data" | "type" | "name" | "children" | "value" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "headers" | "default" | "src" | "start" | "hidden" | "color" | "content" | "size" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "key" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "target" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "twoToneColor"> & react.RefAttributes<HTMLSpanElement>>;
|
|
487
|
+
};
|
|
488
|
+
declare const Icon: Customizable<react.ComponentType<IconProps>>;
|
|
353
489
|
|
|
354
|
-
interface
|
|
355
|
-
|
|
356
|
-
|
|
490
|
+
interface SystemMessageRowProps {
|
|
491
|
+
message: Message;
|
|
492
|
+
containerRef?: Ref<HTMLDivElement>;
|
|
493
|
+
}
|
|
494
|
+
declare const SystemMessageRow: Customizable<react.ComponentType<SystemMessageRowProps>>;
|
|
495
|
+
|
|
496
|
+
interface ChatBodyProps {
|
|
497
|
+
id: string;
|
|
498
|
+
}
|
|
499
|
+
declare const ChatBody: Customizable<react.ComponentType<ChatBodyProps>>;
|
|
500
|
+
|
|
501
|
+
interface ChatHeaderProps {
|
|
502
|
+
id: string;
|
|
503
|
+
}
|
|
504
|
+
declare const ChatHeader: Customizable<react.ComponentType<ChatHeaderProps>>;
|
|
505
|
+
|
|
506
|
+
interface ChatHeaderNameProps {
|
|
507
|
+
id: string;
|
|
508
|
+
}
|
|
509
|
+
declare const ChatHeaderName: Customizable<react.ComponentType<ChatHeaderNameProps>>;
|
|
510
|
+
|
|
511
|
+
interface ChatPanelProps {
|
|
512
|
+
id: string;
|
|
513
|
+
}
|
|
514
|
+
declare const ChatPanel: Customizable<react.ComponentType<ChatPanelProps>>;
|
|
515
|
+
|
|
516
|
+
declare const InputBox: Customizable<react.ComponentType<unknown>>;
|
|
517
|
+
|
|
518
|
+
declare const InputFilesBox: Customizable<react.ComponentType<unknown>>;
|
|
519
|
+
|
|
520
|
+
interface InputSubmitButtonBoxProps {
|
|
521
|
+
onSubmit: () => void;
|
|
522
|
+
}
|
|
523
|
+
declare const InputSubmitButtonBox: Customizable<react.ComponentType<InputSubmitButtonBoxProps>>;
|
|
524
|
+
|
|
525
|
+
interface TextInputBoxProps {
|
|
526
|
+
value: string;
|
|
527
|
+
onChange: (value: string) => void;
|
|
528
|
+
onSend: (value: string) => void;
|
|
357
529
|
}
|
|
358
|
-
declare
|
|
359
|
-
|
|
530
|
+
declare const InputTextBox: Customizable<react.ComponentType<TextInputBoxProps>>;
|
|
531
|
+
|
|
532
|
+
interface SystemMessageBoxProps {
|
|
533
|
+
message: Message;
|
|
534
|
+
}
|
|
535
|
+
declare const SystemMessageBox: Customizable<react.ComponentType<SystemMessageBoxProps>>;
|
|
536
|
+
|
|
537
|
+
interface CreateChatFormValue {
|
|
538
|
+
name: string;
|
|
539
|
+
members: string[];
|
|
540
|
+
}
|
|
541
|
+
interface CreateChatFormProps {
|
|
542
|
+
value?: CreateChatFormValue;
|
|
543
|
+
onSubmit: (value: CreateChatFormValue) => void;
|
|
544
|
+
busy?: boolean;
|
|
545
|
+
}
|
|
546
|
+
declare const CreateChatForm: Customizable<react.ComponentType<CreateChatFormProps>>;
|
|
547
|
+
|
|
548
|
+
interface CreateChatMemberInputProps {
|
|
549
|
+
name: string;
|
|
550
|
+
}
|
|
551
|
+
declare const CreateChatMemberInput: Customizable<react.ComponentType<CreateChatMemberInputProps>>;
|
|
552
|
+
|
|
553
|
+
interface CreateChatNameInputProps {
|
|
554
|
+
name: string;
|
|
555
|
+
}
|
|
556
|
+
declare const CreateChatNameInput: Customizable<react.ComponentType<CreateChatNameInputProps>>;
|
|
557
|
+
|
|
558
|
+
declare const CreateChatPanel: Customizable<react.ComponentType<unknown>>;
|
|
360
559
|
|
|
361
560
|
interface ChatifyCustomizeValue {
|
|
362
|
-
|
|
363
|
-
Header?: typeof Header.Component | null;
|
|
364
|
-
Footer?: typeof Footer.Component | null;
|
|
365
|
-
AddChatButton?: typeof AddChatButton.Component | null;
|
|
366
|
-
ChatHeaderMembers?: typeof ChatHeaderMembers.Component | null;
|
|
367
|
-
ChatSettingsButton?: typeof ChatSettingsButton.Component | null;
|
|
368
|
-
ChatName?: typeof ChatName.Component | null;
|
|
561
|
+
ChatList?: typeof ChatList.Component | null;
|
|
369
562
|
ChatListItemBox?: typeof ChatListItemBox.Component | null;
|
|
370
563
|
ChatListItemName?: typeof ChatListItemName.Component | null;
|
|
371
564
|
ChatListItemUnreadCount?: typeof ChatListItemUnreadCount.Component | null;
|
|
372
565
|
ChatListItemLastMessage?: typeof ChatListItemLastMessage.Component | null;
|
|
373
566
|
ChatListItemLastMessageAuthor?: typeof ChatListItemLastMessageAuthor.Component | null;
|
|
374
567
|
ChatListItemLastMessageContent?: typeof ChatListItemLastMessageContent.Component | null;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
568
|
+
Header?: typeof Header.Component | null;
|
|
569
|
+
Footer?: typeof Footer.Component | null;
|
|
570
|
+
Body?: typeof Body.Component | null;
|
|
571
|
+
Main?: typeof Main.Component | null;
|
|
572
|
+
Aside?: typeof Aside.Component | null;
|
|
573
|
+
MessageAuthor?: typeof MessageAuthor.Component | null;
|
|
380
574
|
MessageBox?: typeof MessageBox.Component | null;
|
|
381
|
-
MessageReadObserver?: typeof MessageReadObserver.Component | null;
|
|
382
|
-
MessageRow?: typeof MessageRow.Component | null;
|
|
383
575
|
MessageContent?: typeof MessageContent.Component | null;
|
|
384
576
|
MessageInfoBox?: typeof MessageInfoBox.Component | null;
|
|
577
|
+
MessageRow?: typeof MessageRow.Component | null;
|
|
385
578
|
MessageText?: typeof MessageText.Component | null;
|
|
386
|
-
|
|
579
|
+
SendingMessageBox?: typeof SendingMessageBox.Component | null;
|
|
580
|
+
SendingMessageContent?: typeof SendingMessageContent.Component | null;
|
|
581
|
+
SendingMessageInfoBox?: typeof SendingMessageInfoBox.Component | null;
|
|
582
|
+
SendingMessageText?: typeof SendingMessageText.Component | null;
|
|
583
|
+
ChatBody?: typeof ChatBody.Component | null;
|
|
584
|
+
ChatHeader?: typeof ChatHeader.Component | null;
|
|
585
|
+
ChatHeaderMembers?: typeof ChatHeaderMembers.Component | null;
|
|
586
|
+
ChatHeaderName?: typeof ChatHeaderName.Component | null;
|
|
587
|
+
ChatPanel?: typeof ChatPanel.Component | null;
|
|
588
|
+
ChatMembersButton?: typeof ChatMembersButton.Component | null;
|
|
589
|
+
InputBox?: typeof InputBox.Component | null;
|
|
590
|
+
InputFilesBox?: typeof InputFilesBox.Component | null;
|
|
591
|
+
InputSubmitButtonBox?: typeof InputSubmitButtonBox.Component | null;
|
|
592
|
+
InputTextBox?: typeof InputTextBox.Component | null;
|
|
593
|
+
SystemMessageBox?: typeof SystemMessageBox.Component | null;
|
|
594
|
+
SystemMessageRow?: typeof SystemMessageRow.Component | null;
|
|
595
|
+
CreateChatForm?: typeof CreateChatForm.Component | null;
|
|
596
|
+
CreateChatMemberInput?: typeof CreateChatMemberInput.Component | null;
|
|
597
|
+
CreateChatNameInput?: typeof CreateChatNameInput.Component | null;
|
|
598
|
+
CreateChatPanel?: typeof CreateChatPanel.Component | null;
|
|
599
|
+
MessageReadObserver?: typeof MessageReadObserver.Component | null;
|
|
600
|
+
Avatar?: typeof Avatar.Component | null;
|
|
601
|
+
AddChatButton?: typeof AddChatButton.Component | null;
|
|
602
|
+
ChatName?: typeof ChatName.Component | null;
|
|
387
603
|
Icon?: typeof Icon.Component | null;
|
|
388
604
|
}
|
|
389
605
|
interface ChatifyProps {
|
|
@@ -394,11 +610,6 @@ interface ChatifyProps {
|
|
|
394
610
|
}
|
|
395
611
|
declare const Chatify: FC<ChatifyProps>;
|
|
396
612
|
|
|
397
|
-
interface ChatHeaderProps {
|
|
398
|
-
id: string;
|
|
399
|
-
}
|
|
400
|
-
declare function ChatHeader(props: ChatHeaderProps): react_jsx_runtime.JSX.Element;
|
|
401
|
-
|
|
402
613
|
declare function useClient(): ChatifyClient;
|
|
403
614
|
declare function useMe(): string;
|
|
404
615
|
interface ChatifyContextValue {
|
|
@@ -409,4 +620,4 @@ declare function ChatifyContext({ value, children }: PropsWithChildren<{
|
|
|
409
620
|
value: ChatifyContextValue;
|
|
410
621
|
}>): react_jsx_runtime.JSX.Element;
|
|
411
622
|
|
|
412
|
-
export { ACTIONS, Account, Action, AddChatButton, AddChatRequest, AddMemberRequest, Avatar, AvatarProps, Chat, ChatHeader, ChatHeaderMembers, ChatHeaderMembersProps, ChatHeaderProps, ChatListItem, ChatListItemBox, ChatListItemBoxProps,
|
|
623
|
+
export { ACTIONS, Account, Action, AddChatButton, AddChatRequest, AddMemberRequest, Avatar, AvatarProps, Chat, ChatHeader, ChatHeaderMembers, ChatHeaderMembersProps, ChatHeaderProps, ChatListItem, ChatListItemBox, ChatListItemBoxProps, Chatify, ChatifyClient, ChatifyClientConfig, ChatifyContext, ChatifyContextValue, ChatifyCustomizeValue, ChatifyProps, ChatifySignalRConfig, File, Header, ICONS, INITIAL_QUERY_STATE, INITIAL_STATE, Icon, IconProps, IconType, Localizer, LocalizerContext, Message, MessageBody, MessageBox, MessageBoxProps, MessageState, MutationState, QueryState, QueueState, ReadEvent, ReadRequest, Reducer, ReducerProvider, RemoveMemberRequest, SendMessageRequest, State, SystemMessageBox, SystemMessageBoxProps, UIState, UpdateChatNameRequest, defaultLocalizer, useAddChatMutation, useAddMemberMutation, useClient, useDispatch, useFetchNextMutation, useGetAccountsQuery, useGetChatListQuery, useGetChatQuery, useGetMessagesQuery, useLocalizer, useMe, useReadMonitor, useReducer, useRemoveMemberMutation, useSelect, useSendMutation, useSignalRMonitor, useStateRef, useUpdateChatNameMutation };
|