@webinex/chatify 2.0.0-build4 → 2.0.0-build7
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/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/types/core/api/accountApi.d.ts +5 -0
- package/dist/esm/types/core/api/api.d.ts +2380 -0
- package/dist/{types → esm/types}/core/api/baseApi.d.ts +5 -1
- package/dist/{types → esm/types}/core/api/chatApi.d.ts +2 -0
- package/dist/esm/types/core/api/chatListApi.d.ts +5 -0
- package/dist/{types → esm/types}/core/api/chatMemberApi.d.ts +3 -2
- package/dist/esm/types/core/api/chatMessageApi.d.ts +3 -0
- package/dist/esm/types/core/api/threadApi.d.ts +1 -0
- package/dist/esm/types/core/api/threadMessageApi.d.ts +6 -0
- package/dist/index.d.ts +1588 -1760
- package/package.json +6 -3
- package/src/core/api/accountApi.ts +5 -5
- package/src/core/api/api.ts +642 -42
- package/src/core/api/baseApi.ts +4 -1
- package/src/core/api/chatApi.ts +5 -1
- package/src/core/api/chatListApi.ts +5 -18
- package/src/core/api/chatMemberApi.ts +5 -5
- package/src/core/api/chatMessageApi.ts +4 -139
- package/src/core/api/threadApi.ts +1 -117
- package/src/core/api/threadMessageApi.ts +1 -99
- package/src/types/core/api/accountApi.d.ts +5 -0
- package/src/types/core/api/api.d.ts +2380 -0
- package/src/types/core/api/baseApi.d.ts +15 -0
- package/src/types/core/api/chatApi.d.ts +16 -0
- package/src/types/core/api/chatListApi.d.ts +5 -0
- package/src/types/core/api/chatMemberApi.d.ts +6 -0
- package/src/types/core/api/chatMessageApi.d.ts +3 -0
- package/src/types/core/api/index.d.ts +1 -0
- package/src/types/core/api/threadApi.d.ts +1 -0
- package/src/types/core/api/threadMessageApi.d.ts +6 -0
- package/src/types/core/client.d.ts +83 -0
- package/src/types/core/constants.d.ts +1 -0
- package/src/types/core/debounce.d.ts +27 -0
- package/src/types/core/index.d.ts +4 -0
- package/src/types/core/types.d.ts +105 -0
- package/src/types/index.d.ts +2 -0
- package/src/types/ui/Chat/ChatContext.d.ts +10 -0
- package/src/types/ui/Chat/ChatEditableHeaderName.d.ts +2 -0
- package/src/types/ui/Chat/ChatHeaderActions.d.ts +2 -0
- package/src/types/ui/Chat/ChatPanel.d.ts +13 -0
- package/src/types/ui/Chat/ChatView.d.ts +17 -0
- package/src/types/ui/Chat/Members/ChatMembersButton.d.ts +2 -0
- package/src/types/ui/Chat/Members/ChatMembersPanel.d.ts +2 -0
- package/src/types/ui/Chat/Members/ChatMembersPreview.d.ts +2 -0
- package/src/types/ui/Chat/Members/index.d.ts +11 -0
- package/src/types/ui/Chat/index.d.ts +6 -0
- package/src/types/ui/ChatGroup/ChatGroupContext.d.ts +12 -0
- package/src/types/ui/ChatGroup/ChatGroupPanel.d.ts +15 -0
- package/src/types/ui/ChatGroup/Create/CreateChatButton.d.ts +2 -0
- package/src/types/ui/ChatGroup/Create/CreateChatForm.d.ts +11 -0
- package/src/types/ui/ChatGroup/Create/CreateChatMemberInput.d.ts +5 -0
- package/src/types/ui/ChatGroup/Create/CreateChatNameInput.d.ts +5 -0
- package/src/types/ui/ChatGroup/Create/CreateChatPanel.d.ts +2 -0
- package/src/types/ui/ChatGroup/Create/index.d.ts +17 -0
- package/src/types/ui/ChatGroup/Layout/ChatGroupAside.d.ts +2 -0
- package/src/types/ui/ChatGroup/Layout/ChatGroupBody.d.ts +2 -0
- package/src/types/ui/ChatGroup/Layout/ChatGroupFooter.d.ts +2 -0
- package/src/types/ui/ChatGroup/Layout/ChatGroupHeader.d.ts +2 -0
- package/src/types/ui/ChatGroup/Layout/ChatGroupMain.d.ts +2 -0
- package/src/types/ui/ChatGroup/Layout/index.d.ts +17 -0
- package/src/types/ui/ChatGroup/List/ChatList.d.ts +2 -0
- package/src/types/ui/ChatGroup/List/ChatListItemAvatar.d.ts +3 -0
- package/src/types/ui/ChatGroup/List/ChatListItemBox.d.ts +6 -0
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessage.d.ts +3 -0
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessageAuthor.d.ts +3 -0
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessageContent.d.ts +3 -0
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessageSentAt.d.ts +3 -0
- package/src/types/ui/ChatGroup/List/ChatListItemName.d.ts +3 -0
- package/src/types/ui/ChatGroup/List/ChatListItemUnreadCount.d.ts +3 -0
- package/src/types/ui/ChatGroup/List/index.d.ts +29 -0
- package/src/types/ui/ChatGroup/index.d.ts +5 -0
- package/src/types/ui/Chatify.d.ts +8 -0
- package/src/types/ui/Conversation/Conversation.d.ts +21 -0
- package/src/types/ui/Conversation/ConversationActions.d.ts +2 -0
- package/src/types/ui/Conversation/ConversationBody.d.ts +2 -0
- package/src/types/ui/Conversation/ConversationContext.d.ts +20 -0
- package/src/types/ui/Conversation/ConversationHeader.d.ts +2 -0
- package/src/types/ui/Conversation/ConversationName.d.ts +2 -0
- package/src/types/ui/Conversation/InputBox/InputBox.d.ts +2 -0
- package/src/types/ui/Conversation/InputBox/InputFilesBox.d.ts +2 -0
- package/src/types/ui/Conversation/InputBox/InputSubmitButtonBox.d.ts +5 -0
- package/src/types/ui/Conversation/InputBox/InputTextBox.d.ts +8 -0
- package/src/types/ui/Conversation/InputBox/index.d.ts +14 -0
- package/src/types/ui/Conversation/Message/MessageAuthor.d.ts +3 -0
- package/src/types/ui/Conversation/Message/MessageBox.d.ts +6 -0
- package/src/types/ui/Conversation/Message/MessageContent.d.ts +3 -0
- package/src/types/ui/Conversation/Message/MessageInfoBox.d.ts +3 -0
- package/src/types/ui/Conversation/Message/MessageRow.d.ts +6 -0
- package/src/types/ui/Conversation/Message/MessageText.d.ts +3 -0
- package/src/types/ui/Conversation/Message/index.d.ts +20 -0
- package/src/types/ui/Conversation/NextObserver/NextMessagesObserver.d.ts +5 -0
- package/src/types/ui/Conversation/NextObserver/index.d.ts +1 -0
- package/src/types/ui/Conversation/ReadObserver/MessageReadObserver.d.ts +6 -0
- package/src/types/ui/Conversation/ReadObserver/index.d.ts +1 -0
- package/src/types/ui/Conversation/SendingMessage/SendingMessageBox.d.ts +7 -0
- package/src/types/ui/Conversation/SendingMessage/SendingMessageContent.d.ts +3 -0
- package/src/types/ui/Conversation/SendingMessage/SendingMessageInfoBox.d.ts +3 -0
- package/src/types/ui/Conversation/SendingMessage/SendingMessageText.d.ts +3 -0
- package/src/types/ui/Conversation/SendingMessage/index.d.ts +14 -0
- package/src/types/ui/Conversation/SystemMessage/SystemMessageBox.d.ts +6 -0
- package/src/types/ui/Conversation/SystemMessage/SystemMessageRow.d.ts +9 -0
- package/src/types/ui/Conversation/SystemMessage/index.d.ts +8 -0
- package/src/types/ui/Conversation/index.d.ts +12 -0
- package/src/types/ui/Thread/ThreadActions.d.ts +2 -0
- package/src/types/ui/Thread/ThreadContext.d.ts +8 -0
- package/src/types/ui/Thread/ThreadPanel.d.ts +14 -0
- package/src/types/ui/Thread/index.d.ts +3 -0
- package/src/types/ui/color.d.ts +6 -0
- package/src/types/ui/common/Avatar.d.ts +6 -0
- package/src/types/ui/common/Icon.d.ts +20 -0
- package/src/types/ui/common/MessageSkeleton.d.ts +5 -0
- package/src/types/ui/common/index.d.ts +11 -0
- package/src/types/ui/customize.d.ts +9 -0
- package/src/types/ui/index.d.ts +11 -0
- package/src/types/ui/localizer.d.ts +35 -0
- package/dist/index.js +0 -11
- package/dist/index.js.map +0 -1
- package/dist/types/core/api/accountApi.d.ts +0 -4
- package/dist/types/core/api/api.d.ts +0 -2540
- package/dist/types/core/api/chatListApi.d.ts +0 -5
- package/dist/types/core/api/chatMessageApi.d.ts +0 -22
- package/dist/types/core/api/threadApi.d.ts +0 -87
- package/dist/types/core/api/threadMessageApi.d.ts +0 -19
- /package/dist/{types → esm/types}/core/api/index.d.ts +0 -0
- /package/dist/{types → esm/types}/core/client.d.ts +0 -0
- /package/dist/{types → esm/types}/core/constants.d.ts +0 -0
- /package/dist/{types → esm/types}/core/debounce.d.ts +0 -0
- /package/dist/{types → esm/types}/core/index.d.ts +0 -0
- /package/dist/{types → esm/types}/core/types.d.ts +0 -0
- /package/dist/{types → esm/types}/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/ChatContext.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/ChatEditableHeaderName.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/ChatHeaderActions.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/ChatPanel.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/ChatView.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/Members/ChatMembersButton.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/Members/ChatMembersPanel.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/Members/ChatMembersPreview.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/Members/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chat/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/ChatGroupContext.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/ChatGroupPanel.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Create/CreateChatButton.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Create/CreateChatForm.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Create/CreateChatMemberInput.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Create/CreateChatNameInput.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Create/CreateChatPanel.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Create/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Layout/ChatGroupAside.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Layout/ChatGroupBody.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Layout/ChatGroupFooter.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Layout/ChatGroupHeader.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Layout/ChatGroupMain.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/Layout/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatList.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemAvatar.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemLastMessage.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemLastMessageAuthor.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemLastMessageContent.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemLastMessageSentAt.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemName.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/ChatListItemUnreadCount.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/List/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/ChatGroup/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Chatify.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Conversation.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/ConversationActions.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/ConversationBody.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/ConversationContext.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/ConversationHeader.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/ConversationName.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/InputBox/InputBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/InputBox/InputFilesBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/InputBox/InputSubmitButtonBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/InputBox/InputTextBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/InputBox/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Message/MessageAuthor.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Message/MessageBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Message/MessageContent.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Message/MessageInfoBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Message/MessageRow.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Message/MessageText.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/Message/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/NextObserver/NextMessagesObserver.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/NextObserver/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/ReadObserver/MessageReadObserver.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/ReadObserver/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SendingMessage/SendingMessageBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SendingMessage/SendingMessageContent.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SendingMessage/SendingMessageInfoBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SendingMessage/SendingMessageText.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SendingMessage/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SystemMessage/SystemMessageBox.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SystemMessage/SystemMessageRow.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/SystemMessage/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Conversation/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Thread/ThreadActions.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Thread/ThreadContext.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Thread/ThreadPanel.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/Thread/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/color.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/common/Avatar.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/common/Icon.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/common/MessageSkeleton.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/common/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/customize.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/index.d.ts +0 -0
- /package/dist/{types → esm/types}/ui/localizer.d.ts +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type IconType = keyof typeof ICONS;
|
|
3
|
+
export interface IconProps {
|
|
4
|
+
type: IconType;
|
|
5
|
+
}
|
|
6
|
+
export declare const ICONS: {
|
|
7
|
+
attach: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
send: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
'remove-member': import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
'remove-member-delete-history': import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
'add-member': import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
12
|
+
'add-member-with-history': import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
13
|
+
members: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
14
|
+
edit: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
15
|
+
close: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
16
|
+
chat: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
17
|
+
watch: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
18
|
+
unwatch: import("react").ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "value" | "children" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "hidden" | "color" | "content" | "size" | "default" | "wrap" | "open" | "height" | "rotate" | "translate" | "width" | "multiple" | "disabled" | "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" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "noValidate" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "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" | "type" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
19
|
+
};
|
|
20
|
+
export declare const Icon: import("../customize").Customizable<import("react").ComponentType<IconProps>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Avatar } from './Avatar';
|
|
2
|
+
import { Icon } from './Icon';
|
|
3
|
+
import { MessageSkeleton } from './MessageSkeleton';
|
|
4
|
+
export * from './Avatar';
|
|
5
|
+
export * from './Icon';
|
|
6
|
+
export * from './MessageSkeleton';
|
|
7
|
+
export interface CommonCustomizeValue {
|
|
8
|
+
Avatar?: typeof Avatar.Component | null;
|
|
9
|
+
Icon?: typeof Icon.Component | null;
|
|
10
|
+
MessageSkeleton?: typeof MessageSkeleton.Component | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type Customizable<TComponent extends React.ComponentType<any>> = TComponent & {
|
|
3
|
+
Component: TComponent;
|
|
4
|
+
key: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const CustomizeContext: React.Context<Record<string, React.ComponentType<any> | null | undefined>>;
|
|
7
|
+
export declare function useCustomizeContext(): Record<string, React.ComponentType<any> | null | undefined>;
|
|
8
|
+
export declare function useCustomize<TCustom extends Customizable<React.ComponentType<any>>>(custom: TCustom): TCustom["Component"] | null;
|
|
9
|
+
export declare function customize<TComponent extends React.ComponentType<any>>(key: string, Component: TComponent): TComponent extends React.ComponentType<infer X> ? Customizable<React.ComponentType<X>> : never;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './color';
|
|
2
|
+
export * from './customize';
|
|
3
|
+
export * from './Chatify';
|
|
4
|
+
export * from './localizer';
|
|
5
|
+
export * from './Chat';
|
|
6
|
+
export * from './ChatGroup';
|
|
7
|
+
export * from './Conversation';
|
|
8
|
+
export * from './Thread';
|
|
9
|
+
export * from './common/Icon';
|
|
10
|
+
export * from './common/Avatar';
|
|
11
|
+
export * from './common/MessageSkeleton';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SystemMessageText } from '../core';
|
|
3
|
+
export interface Localizer {
|
|
4
|
+
isToday: (value: string) => boolean;
|
|
5
|
+
timestamp: (value: string) => string;
|
|
6
|
+
dateTime: (value: string) => string;
|
|
7
|
+
system: Record<SystemMessageText, (key: SystemMessageText, payload: any | null) => string>;
|
|
8
|
+
message: {
|
|
9
|
+
read: () => React.ReactNode;
|
|
10
|
+
reading: () => React.ReactNode;
|
|
11
|
+
sending: () => React.ReactNode;
|
|
12
|
+
};
|
|
13
|
+
addChat: {
|
|
14
|
+
title: () => React.ReactNode;
|
|
15
|
+
name: {
|
|
16
|
+
label: () => React.ReactNode;
|
|
17
|
+
required: () => string;
|
|
18
|
+
max250: () => string;
|
|
19
|
+
};
|
|
20
|
+
members: {
|
|
21
|
+
label: () => React.ReactNode;
|
|
22
|
+
required: () => string;
|
|
23
|
+
};
|
|
24
|
+
submitBtn: () => React.ReactNode;
|
|
25
|
+
};
|
|
26
|
+
input: {
|
|
27
|
+
placeholder: () => string;
|
|
28
|
+
};
|
|
29
|
+
settings: {
|
|
30
|
+
members: () => string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export declare const LocalizerContext: React.Context<Localizer>;
|
|
34
|
+
export declare function useLocalizer(): Localizer;
|
|
35
|
+
export declare const defaultLocalizer: Localizer;
|
package/dist/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as a from"react";import s,{useContext as i,useState as r,useMemo as c,forwardRef as o,useCallback as d,memo as l,useRef as u,useLayoutEffect as h,useEffect as m}from"react";import{Button as f,Avatar as g,List as v,Tooltip as b,Space as p,Input as y,Skeleton as w,Row as C,Col as x,Form as O,Checkbox as N,Menu as M}from"antd";import I from"@ant-design/icons/SendOutlined";import R from"@ant-design/icons/PaperClipOutlined";import S from"@ant-design/icons/UserAddOutlined";import _ from"@ant-design/icons/UsergroupAddOutlined";import k from"@ant-design/icons/UserDeleteOutlined";import j from"@ant-design/icons/UsergroupDeleteOutlined";import T from"@ant-design/icons/TeamOutlined";import E from"@ant-design/icons/EditOutlined";import L from"@ant-design/icons/CloseOutlined";import A from"@ant-design/icons/EyeInvisibleOutlined";import B from"@ant-design/icons/EyeOutlined";import{createApi as U,fakeBaseQuery as P}from"@reduxjs/toolkit/query/react";import*as G from"@microsoft/signalr";import D from"is-hotkey";import F from"dayjs";const V={saturation:100,lightness:75};function $(e,t={}){t=Object.assign({},V,t);let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n),n&=n;return`hsl(${n%360}, ${t.saturation}%, ${t.lightness}%)`}const H=s.createContext(null);function Q(){return i(H)}function q(e){const t=i(H);return t?t[e]:void 0}function z(e){const t=q(e.key);return null==t?null:null!=t?t:e.Component}function K(t,n){const a=s.forwardRef(((a,s)=>{const i=q(t);return null===i?null:e(i||n,Object.assign({},a,{ref:s}))}));return n.displayName=n.displayName||t,a.displayName="Customizable."+n.displayName,Object.assign(a,{key:t,Component:n})}const W={attach:R,send:I,"remove-member":k,"remove-member-delete-history":j,"add-member":S,"add-member-with-history":_,members:T,edit:E,close:L,chat:T,watch:B,unwatch:A},Y=K("Icon",(t=>{const{type:n}=t,a=W[n];return a?e(a,{}):null})),J=s.createContext(null);function X(){return i(J)}function Z(t){const{id:n,children:a}=t,[s,i]=r(!1),o=c((()=>({id:n,showMembers:s,onShowMembers:i})),[n,s]);return e(J.Provider,{value:o,children:a})}const ee=K("ChatMembersButton",(()=>{const{showMembers:t,onShowMembers:n}=X();return e(f,{onClick:()=>n(!t),type:"link",icon:e(Y,{type:"members"})})})),te="chatify::system";function ne(e){return e.slice(0,36)}function ae(e){const[t,n]=e.split("::",2);return[t,parseInt(n,10)]}function se(e){var t,n;const a=null!=e.lastReadMessageId?ae(e.lastReadMessageId)[1]:-1;return(null!=(null===(t=e.lastMessage)||void 0===t?void 0:t.id)?ae(null===(n=e.lastMessage)||void 0===n?void 0:n.id)[1]:-1)-a}function ie(e){return e.reduce(((e,t)=>e+se(t)),0)}const re={me:null,client:null},ce=U({baseQuery:P(),reducerPath:"chatify",tagTypes:["chat","account","message","thread","thread-message"],endpoints:e=>({})});function oe(e,t,n,a){return new(n||(n=Promise))((function(s,i){function r(e){try{o(a.next(e))}catch(e){i(e)}}function c(e){try{o(a.throw(e))}catch(e){i(e)}}function o(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,c)}o((a=a.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;const de={hubUri:"/api/chatify/hub",headersFactory:()=>Promise.resolve({})},le=["chatify://chat-new-message","chatify://chat-created","chatify://chat-message-read","chatify://chat-member-added","chatify://chat-member-removed","chatify://chat-name-changed","chatify://thread-created","chatify://thread-message-new","chatify://thread-message-read","chatify://thread-watch-added","chatify://thread-watch-removed"];class ue{constructor(e){this._connection=null,this._connectionPromise=null,this._subscribers={},this._reconnectSubscribers=[],this.connect=()=>oe(this,void 0,void 0,(function*(){if(!this._connection){if(this._connectionPromise)return yield this._connectionPromise;this._connectionPromise=this.createAndStartConnection(),this._connection=yield this._connectionPromise}})),this.createAndStartConnection=()=>oe(this,void 0,void 0,(function*(){const e=yield this._config.signalR.headersFactory(),t=(new G.HubConnectionBuilder).withUrl(this._config.signalR.hubUri,{accessTokenFactory:this._config.signalR.accessTokenFactory?this._config.signalR.accessTokenFactory:void 0,headers:e}).withAutomaticReconnect().build();return le.forEach((e=>{t.on(e,((...t)=>{var n;null===(n=this._subscribers[e])||void 0===n||n.forEach((e=>{try{e(t)}catch(e){console.error("Failed to notify subscriber",e)}}))}))})),t.onreconnected((()=>this._reconnectSubscribers.forEach((e=>e())))),yield t.start(),t})),this.subscribe=(e,t)=>(this.connect().then((()=>{var n;this._subscribers[e]=null!==(n=this._subscribers[e])&&void 0!==n?n:[],this._subscribers[e].push(t)})),()=>this._subscribers[e].filter((e=>e!==t))),this.subscribeReconnect=e=>(this._reconnectSubscribers.push(e),()=>this._reconnectSubscribers.filter((t=>t!==e))),this.accounts=()=>oe(this,void 0,void 0,(function*(){const{data:e}=yield this.axios.get("account");return e})),this.chats=()=>oe(this,void 0,void 0,(function*(){const{data:e}=yield this.axios.get("chat");return e})),this.chat=e=>oe(this,void 0,void 0,(function*(){const{data:t}=yield this.axios.get(`chat/${encodeURIComponent(e)}`);return t})),this.addChat=e=>oe(this,void 0,void 0,(function*(){const{data:t}=yield this.axios.post("chat",e);return t})),this.chatMessages=e=>oe(this,void 0,void 0,(function*(){const{chatId:t,skip:n=0,take:a=20}=e,s=encodeURIComponent(JSON.stringify({skip:n,take:a})),{data:i}=yield this.axios.get(`chat/${encodeURIComponent(t)}/message?pagingRule=${s}`);return i})),this.sendChatMessage=e=>oe(this,void 0,void 0,(function*(){const{chatId:t}=e,n=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s<a.length;s++)t.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(e,a[s])&&(n[a[s]]=e[a[s]])}return n}(e,["chatId"]);yield this.axios.post(`chat/${encodeURIComponent(t)}/message`,n)})),this.readChatMessage=e=>oe(this,void 0,void 0,(function*(){yield this.axios.put("chat/message/read",e)})),this.removeChatMember=e=>oe(this,void 0,void 0,(function*(){yield this.axios.delete(`chat/${encodeURIComponent(e.chatId)}/member`,{data:e})})),this.updateChatName=e=>oe(this,void 0,void 0,(function*(){yield this.axios.put(`chat/${encodeURIComponent(e.id)}/name`,e)})),this.addChatMember=e=>oe(this,void 0,void 0,(function*(){yield this.axios.post(`chat/${encodeURIComponent(e.chatId)}/member`,e)})),this.sendThreadMessage=({body:e,threadId:t})=>oe(this,void 0,void 0,(function*(){const{data:n}=yield this.axios.post(`thread/${encodeURIComponent(t)}/message`,{body:e});return n})),this.readThreadMessage=e=>oe(this,void 0,void 0,(function*(){yield this.axios.put(`thread/message/${encodeURIComponent(e)}/read`)})),this.watchThreads=()=>oe(this,void 0,void 0,(function*(){const{data:e}=yield this.axios.get("thread/watch");return e})),this.thread=e=>oe(this,void 0,void 0,(function*(){const{data:t}=yield this.axios.get(`thread/${encodeURIComponent(e)}`);return t})),this.threadMessages=({threadId:e,skip:t,take:n})=>oe(this,void 0,void 0,(function*(){const a=new URLSearchParams;a.append("skip",t.toString()),a.append("take",n.toString());const{data:s}=yield this.axios.get(`thread/${encodeURIComponent(e)}/message?${a.toString()}`);return s})),this.watchThread=(e,t)=>oe(this,void 0,void 0,(function*(){yield this.axios.put(`thread/${encodeURIComponent(e)}/watch`,{watch:t})})),this.connectToThread=e=>oe(this,void 0,void 0,(function*(){this.connect().then((()=>this._connection.invoke("ConnectToThread",e)))})),this.disconnectFromThread=e=>oe(this,void 0,void 0,(function*(){this.connect().then((()=>this._connection.invoke("DisconnectFromThread",e)))})),this._config=Object.assign(Object.assign({},e),{signalR:Object.assign(Object.assign({},de),e.signalR)})}get axios(){return this._config.axios}}function he(...e){const t=()=>e.forEach((e=>e()));return t.when=e=>e.then(t),t}var me,fe={exports:{}},ge={};var ve,be={};
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* use-sync-external-store-with-selector.development.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/"production"===process.env.NODE_ENV?fe.exports=function(){if(me)return ge;me=1;var e=s,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useSyncExternalStore,a=e.useRef,i=e.useEffect,r=e.useMemo,c=e.useDebugValue;return ge.useSyncExternalStoreWithSelector=function(e,s,o,d,l){var u=a(null);if(null===u.current){var h={hasValue:!1,value:null};u.current=h}else h=u.current;u=r((function(){function e(e){if(!i){if(i=!0,n=e,e=d(e),void 0!==l&&h.hasValue){var s=h.value;if(l(s,e))return a=s}return a=e}if(s=a,t(n,e))return s;var r=d(e);return void 0!==l&&l(s,r)?s:(n=e,a=r)}var n,a,i=!1,r=void 0===o?null:o;return[function(){return e(s())},null===r?void 0:function(){return e(r())}]}),[s,o,d,l]);var m=n(e,u[0],u[1]);return i((function(){h.hasValue=!0,h.value=m}),[m]),c(m),m},ge}():fe.exports=(ve||(ve=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=s,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useSyncExternalStore,a=e.useRef,i=e.useEffect,r=e.useMemo,c=e.useDebugValue;be.useSyncExternalStoreWithSelector=function(e,s,o,d,l){var u,h=a(null);null===h.current?(u={hasValue:!1,value:null},h.current=u):u=h.current;var m=r((function(){var e,n,a=!1,i=function(s){if(!a){a=!0,e=s;var i=d(s);if(void 0!==l&&u.hasValue){var r=u.value;if(l(r,i))return n=r,r}return n=i,i}var c=n;if(t(e,s))return c;var o=d(s);return void 0!==l&&l(c,o)?c:(e=s,n=o,o)},r=void 0===o?null:o;return[function(){return i(s())},null===r?void 0:function(){return i(r())}]}),[s,o,d,l]),f=m[0],g=m[1],v=n(e,f,g);return i((function(){u.hasValue=!0,u.value=v}),[v]),c(v),v},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),be);var pe=fe.exports,ye="default"in a?a.default:a,we=Symbol.for("react-redux-context"),Ce="undefined"!=typeof globalThis?globalThis:{};function xe(){if(!ye.createContext)return{};const e=Ce[we]??(Ce[we]=new Map);let t=e.get(ye.createContext);return t||(t=ye.createContext(null),"production"!==process.env.NODE_ENV&&(t.displayName="ReactRedux"),e.set(ye.createContext,t)),t}var Oe=xe();function Ne(e=Oe){return function(){const t=ye.useContext(e);if("production"!==process.env.NODE_ENV&&!t)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return t}}var Me=Ne(),Ie=()=>{throw new Error("uSES not initialized!")},Re=(e,t)=>e===t;function Se(e=Oe){const t=e===Oe?Me:Ne(e),n=(e,n={})=>{const{equalityFn:a=Re,devModeChecks:s={}}="function"==typeof n?{equalityFn:n}:n;if("production"!==process.env.NODE_ENV){if(!e)throw new Error("You must pass a selector to useSelector");if("function"!=typeof e)throw new Error("You must pass a function as a selector to useSelector");if("function"!=typeof a)throw new Error("You must pass a function as an equality function to useSelector")}const{store:i,subscription:r,getServerState:c,stabilityCheck:o,identityFunctionCheck:d}=t(),l=ye.useRef(!0),u=ye.useCallback({[e.name](t){const n=e(t);if("production"!==process.env.NODE_ENV){const{identityFunctionCheck:i,stabilityCheck:r}={stabilityCheck:o,identityFunctionCheck:d,...s};if("always"===r||"once"===r&&l.current){const s=e(t);if(!a(n,s)){let a;try{throw new Error}catch(e){({stack:a}=e)}console.warn("Selector "+(e.name||"unknown")+" returned a different result when called with the same parameters. This can lead to unnecessary rerenders.\nSelectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization",{state:t,selected:n,selected2:s,stack:a})}}if(("always"===i||"once"===i&&l.current)&&n===t){let t;try{throw new Error}catch(e){({stack:t}=e)}console.warn("Selector "+(e.name||"unknown")+" returned the root state when called. This can lead to unnecessary rerenders.\nSelectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.",{stack:t})}l.current&&(l.current=!1)}return n}}[e.name],[e,o,s.stabilityCheck]),h=Ie(r.addNestedSub,i.getState,c||i.getState,u,a);return ye.useDebugValue(h),h};return Object.assign(n,{withTypes:()=>n}),n}var _e,ke=Se(),je=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Te="undefined"!=typeof navigator&&"ReactNative"===navigator.product;je||Te?ye.useLayoutEffect:ye.useEffect,_e=pe.useSyncExternalStoreWithSelector,Ie=_e;const Ee=ce.injectEndpoints({endpoints:e=>({getChatList:e.query({queryFn:()=>oe(void 0,void 0,void 0,(function*(){return{data:yield re.client.chats()}})),providesTags:["chat","account"],onCacheEntryAdded:(e,{dispatch:t,cacheEntryRemoved:n,cacheDataLoaded:a,updateCachedData:s})=>oe(void 0,void 0,void 0,(function*(){yield a,he(re.client.subscribe("chatify://chat-created",(([e])=>s((t=>{t.push(e)})))),re.client.subscribe("chatify://chat-new-message",(([e])=>s((t=>{const n=t.find((t=>t.id===e.chatId));n&&(n.message=e,e.sentBy.id===re.me()&&(n.lastReadMessageId=e.id,n.totalUnreadCount=0),e.sentBy.id!==re.me()&&n.totalUnreadCount++)})))),re.client.subscribe("chatify://chat-message-read",(([e])=>s((t=>{for(const n of e){const e=t.find((e=>e.id===n.chatId));if(!e)return;e.lastReadMessageId=n.newLastReadMessageId,e.totalUnreadCount=e.totalUnreadCount-n.readCount}})))),re.client.subscribe("chatify://chat-member-added",(([e,t,n,a,,i])=>s((s=>{const r=s.find((t=>t.id===e));n.id!==re.me()||r||s.push({id:e,name:t,message:a,totalUnreadCount:i?0:1,active:!0,lastReadMessageId:i?a.id:null}),r&&(r.message=a,r.active=!0,i?(r.totalUnreadCount=0,r.lastReadMessageId=a.id):r.totalUnreadCount++)})))),re.client.subscribe("chatify://chat-member-removed",(([e,t,n,a,i])=>s((s=>{if(t===re.me()&&n)return s.filter((t=>t.id!==e));const r=s.find((t=>t.id===e));r&&(r.message=a,t===re.me()&&(r.active=!1),i?(r.totalUnreadCount=0,r.lastReadMessageId=a.id):r.totalUnreadCount++)})))),re.client.subscribe("chatify://chat-name-changed",(([e,t,n,a])=>s((s=>{const i=s.find((t=>t.id===e));i&&(i.name=t,i.message=n,a?(i.totalUnreadCount=0,i.lastReadMessageId=n.id):i.totalUnreadCount++)}))))).when(n)}))})})});const Le=ce,Ae=Object.assign(Le,{settings:re,useChatListItem:function(e){return ke((t=>{var n;return null!=e?null===(n=Ee.endpoints.getChatList.select()(t).data)||void 0===n?void 0:n.find((t=>t.id===e)):null}))}}),Be=o(((t,n)=>{const{account:a}=t;return e(g,{ref:n,src:a.avatar})}));Be.displayName="Avatar";const Ue=K("Avatar",Be);function Pe(e,t,n){const[a,s]=Ae.useAddChatMemberMutation();return[d((()=>a({chatId:e,accountId:t,withHistory:n})),[a,e,t,n]),s]}function Ge(e,t,n){const[a,s]=Ae.useRemoveChatMemberMutation();return[d((()=>a({chatId:e,accountId:t,deleteHistory:n})),[a,e,t,n]),s]}const De=K("ChatMemberListItem",(n=>{const{chatId:a}=n,{data:s}=Ae.useGetChatQuery({id:a}),{data:i}=Ae.useGetAccountListQuery(),r=i.find((e=>e.id===n.id)),c=s.members.some((e=>e.id===r.id)),[o]=Pe(a,r.id,!1),[d]=Pe(a,r.id,!0),[l]=Ge(a,r.id,!1),[u]=Ge(a,r.id,!0);return e(v.Item,{className:"wxchtf-chat-members-list-item",actions:c?[e(b,{title:"Remove (keep history)",children:e(f,{onClick:l,type:"link",icon:e(Y,{type:"remove-member"})})},"remove"),e(b,{title:"Remove (delete history)",children:e(f,{onClick:u,type:"link",icon:e(Y,{type:"remove-member-delete-history"})})},"remove_delete_history")]:[e(b,{title:"Add (no history)",children:e(f,{onClick:o,type:"link",icon:e(Y,{type:"add-member"})})},"add_no_history"),e(b,{title:"Add (share history)",children:e(f,{onClick:d,type:"link",icon:e(Y,{type:"add-member-with-history"})})},"add")],children:t(p,{children:[e(Ue,{account:r}),e("span",{children:r.name})]})})})),Fe=K("ChatMembersPanel",(()=>{const{id:t}=X(),{data:n}=Ae.useGetChatQuery({id:t}),{data:a}=Ae.useGetAccountListQuery(),s=c((()=>null==a?void 0:a.slice().sort(((e,t)=>((null==n?void 0:n.members.some((t=>t.id===e.id)))?-100:0)-((null==n?void 0:n.members.some((e=>e.id===t.id)))?-100:0)+e.name.localeCompare(t.name)))),[a,n]);return(null==n?void 0:n.members)&&a?e("div",{className:"wxchtf-chat-members-panel",children:e(v,{className:"wxchtf-chat-members-list",dataSource:s,renderItem:n=>e(De,{id:n.id,chatId:t})})}):null})),Ve=K("ChatMembersPreview",(()=>{const{id:t}=X(),{data:n}=Ae.useGetChatQuery({id:t});return(null==n?void 0:n.members)?e(g.Group,{maxCount:5,children:n.members.map((t=>e(b,{title:t.name,children:e(Ue,{account:t})},t.id)))}):null})),$e=K("InputFilesBox",(()=>e("div",{className:"wxchtf-add-files-box",children:e(f,{type:"link",icon:e(Y,{type:"attach"}),className:"wxchtf-add-files-btn"})}))),He=s.createContext(null);function Qe(){return i(He)}const qe={isToday:e=>F(e).isSame(F(),"day"),timestamp:e=>F(e).format("HH:mm"),dateTime:e=>F(e).format("DD/MM/YYYY HH:mm"),message:{read:()=>"Read",reading:()=>"Reading...",sending:()=>"Sending..."},addChat:{title:()=>"Add chat",name:{label:()=>"Name",required:()=>"Name is required",max250:()=>"Max 250 characters allowed"},members:{label:()=>"Members",required:()=>"Members is required"},submitBtn:()=>"Submit"},system:{"chatify://chat-created":()=>"Chat created","chatify://member-added":()=>"New member added","chatify://member-removed":()=>"Member removed","chatify://chat-name-changed":(e,{newName:t})=>`Chat name changed to '${t}'`},input:{placeholder:()=>"Start typing (Ctrl/⌘Cmd + Enter to send) ..."},settings:{members:()=>"Members"}},ze=D("ctrl+enter"),Ke={maxRows:5,minRows:1},We=K("InputTextBox",l((t=>{const{value:n,onChange:a,onSend:s,inputRef:i}=t,r=Qe(),c=d((e=>a(e.target.value)),[a]),o=d((e=>{ze(e)&&s(n)}),[s,n]);return e("div",{className:"wxchtf-text-input-box",children:e(y.TextArea,{ref:i,value:n,onChange:c,autoSize:Ke,className:"wxchtf-text-input-textarea",placeholder:r.input.placeholder(),onKeyDown:o})})}))),Ye=K("InputSubmitButtonBox",(t=>{const{onSubmit:n}=t;return e("div",{className:"wxchtf-submit-btn-box",children:e(f,{onClick:n,type:"link",icon:e(Y,{type:"send"}),className:"wxchtf-submit-btn"})})})),Je=s.createContext(void 0);function Xe(){return s.useContext(Je)}const Ze=K("InputBox",(()=>{const[n,{text:a,setText:s}]=function(){const{onSend:e}=Xe(),[t,n]=r("");return[d((()=>{0!==t.length&&(n(""),Promise.resolve(e({text:t,files:[]})).catch((()=>n(t))))}),[t,e]),{text:t,setText:n}]}(),i=u(null);return h((()=>{var e;return null===(e=i.current)||void 0===e?void 0:e.focus()}),[]),e("div",{className:"wxchtf-input-form",children:t("div",{className:"wxchtf-input-box",children:[e($e,{}),e(We,{value:a,onSend:n,onChange:s,inputRef:i}),e(Ye,{onSubmit:n})]})})})),et=K("MessageAuthor",(t=>{const{sentBy:n}=t.message;return e("div",{className:"wxchtf-message-author",children:e(Ue,{account:n})})})),tt=t=>{const{message:a,messageRef:s}=t,{onRead:i,lastReadMessageId:r}=Xe(),o=null!=r&&a.id.localeCompare(r)<=0,d=u(o);m((()=>{d.current=d.current||o}),[o]);const l=c((()=>new IntersectionObserver((([e])=>{e.isIntersecting&&!d.current&&(d.current=!0,i(a.id))}))),[]);return m((()=>(l.observe(s.current),()=>l.disconnect())),[l]),e(n,{})};function nt(t){const{noReadTracking:n}=Xe();return!0===n?null:e(tt,Object.assign({},t))}const at=K("MessageText",(t=>{const{text:n}=t.message;return e("div",{className:"wxchtf-message-text",children:n})})),st=K("MessageContent",(t=>e("div",{className:"wxchtf-message-content",children:e(at,Object.assign({},t))}))),it=K("MessageInfoBox",(n=>{const{message:a}=n,{id:s,sentBy:i,sentAt:r}=a,{lastReadMessageId:c,isReading:o,noReadTracking:d}=Xe(),l=Ae.settings.me(),u=i.id===l,h=Qe(),m=!(null!=c&&s.localeCompare(c)<=0)&&o(s);return t("div",{className:"wxchtf-message-info-box",children:[!u&&t("div",{className:"wxchtf-message-author-name",children:[i.name,","]}),e("div",{className:"wxchtf-message-sent-at",children:h.timestamp(r)}),!u&&!d&&e("div",{className:"wxchtf-message-read-box",children:m?h.message.reading():h.message.read()})]})})),rt=K("MessageRow",(n=>{const{message:a,containerRef:s}=n,{sentBy:i}=a,r=Ae.settings.me(),c=i.id===r;return t("div",{ref:s,className:"wxchtf-message"+(c?" --my":""),children:[e(et,Object.assign({},n)),t("div",{children:[e(it,Object.assign({},n)),e(st,Object.assign({},n))]})]})})),ct=K("MessageBox",(a=>{const s=u(null);return t(n,{children:[e(nt,Object.assign({messageRef:s},a)),e(rt,Object.assign({containerRef:s},a))]})})),ot=K("MessageSkeleton",(a=>{const{count:s=1}=a;return e(n,{children:Array.from(Array(s)).map(((n,a)=>t("div",{className:"wxchtf-message-skeleton",children:[e(w.Avatar,{className:"wxchtf-avatar",active:!0}),e(w.Button,{active:!0,className:"wxchtf-content"})]},a)))})}));function dt(t){const{onLoad:n,loading:a}=t,[s,i]=r(!1),o=u(null),d=u(),l=c((()=>new IntersectionObserver((([e])=>{e.isIntersecting?d.current=setTimeout((()=>i(!0)),200):clearTimeout(d.current)}))),[]);return m((()=>(l.observe(o.current),()=>l.disconnect())),[l]),m((()=>{s&&n()}),[s]),a||s?e(ot,{count:4}):e("div",{className:"wxchtf-next",ref:o})}const lt=K("SendingMessageText",(t=>{const{text:n}=t;return e("div",{className:"wxchtf-sending-message-text",children:n})})),ut=K("SendingMessageInfoBox",(t=>{const n=Qe();return e("div",{className:"wxchtf-sending-message-info-box",children:e("div",{className:"wxchtf-sending-message-sending-box",children:n.message.sending()})})})),ht=K("SendingMessageContent",(n=>t("div",{className:"wxchtf-sending-message-content",children:[e(lt,Object.assign({},n)),e(ut,Object.assign({},n))]}))),mt=K("SendingMessageBox",(t=>e("div",{className:"wxchtf-sending-message",children:e(ht,Object.assign({},t))})));function ft(e,t){const[n,a]=t.split("::",2),s=a?JSON.parse(a):null;return e.system[n](n,s)}const gt=K("SystemMessageRow",(n=>{const{message:a,containerRef:s}=n,{text:i,sentAt:r}=a,c=Qe();return t("div",{ref:s,className:"wxchtf-system-message",children:[e("div",{className:"wxchtf-text",children:ft(c,i)}),e("div",{className:"wxchtf-timestamp",children:c.timestamp(r)})]})})),vt=K("SystemMessageBox",(a=>{const s=u(null);return t(n,{children:[e(nt,Object.assign({messageRef:s},a)),e(gt,Object.assign({containerRef:s},a))]})})),bt=K("ConversationActions",(()=>null)),pt=K("ConversationBody",(()=>{const{id:n,messages:a=[],hasMore:s,onNext:i,nextLoading:r}=Xe();return t("div",{className:"wxchtf-conversation-body",children:[!a&&e(ot,{count:5}),null==a?void 0:a.map((t=>t.sentBy.id===te?e(vt,{message:t},t.id):e(ct,{message:t},t.id))),s&&e(dt,{onLoad:i,loading:r},a.length+n)]})})),yt=K("ConversationName",(()=>{const{name:t}=Xe();return e("span",{className:"wxchtf-conversation-name",children:t})})),wt=K("ConversationHeader",(()=>{const n=z(bt);return e("div",{className:"wxchtf-conversation-header",children:t(C,{justify:"space-between",align:"middle",children:[e(x,{children:e(yt,{})}),n&&e(x,{className:"wxchtf-conversation-actions",children:e(n,{})})]})})})),Ct=K("Conversation",(n=>{const{value:a,hasMore:s,messages:i,nextLoading:r,onNext:o,onRead:d,onSend:l,isReading:u,noReadTracking:h}=n,{id:m,active:f,name:g,lastReadMessageId:v}=a,b=c((()=>({id:m,name:g,active:f,lastReadMessageId:v,hasMore:s,messages:i,nextLoading:r,onNext:o,onRead:d,onSend:l,isReading:u,noReadTracking:h})),[m,g,f,o,d,l,s,i,r,v,u,h]);return e(Je.Provider,{value:b,children:e("div",{className:"wxchtf-conversation",children:t("div",{className:"wxchtf-conversation-main",children:[e(wt,{}),e(pt,{}),f&&e(Ze,{})]})})})})),xt=D("escape"),Ot=D("enter");const Nt=K("ChatEditableHeaderName",(()=>{const{id:t,name:n,active:a}=Xe(),[s,i]=r(""),[c,o]=r(!1),d=function(e,t){const[n]=Ae.useUpdateChatNameMutation();return()=>n({id:e,name:t})}(t,s);return m((()=>{c&&i(null!=n?n:"")}),[c,n]),a?e(b,c?{defaultOpen:!0,title:"Press Enter to save new chat name or Escape to cancel editing",children:e(y,{value:s,onChange:e=>i(e.target.value),onBlur:()=>o(!1),onKeyDown:e=>{xt(e)?o(!1):Ot(e)&&(o(!1),s!==n&&""!==s.trim()&&d())},autoFocus:!0})}:{title:"Click to edit name...",children:e("span",{className:"wxchtf-conversation-name --editable",onClick:()=>o(!0),children:n})}):e("span",{className:"wxchtf-conversation-name",children:n})})),Mt=K("ChatHeaderActions",(()=>{const{active:n}=Xe();return n?t("div",{className:"wxchtf-chat-members",children:[e(Ve,{}),e(ee,{})]}):null})),It={ConversationName:()=>e(Nt,{}),ConversationActions:()=>e(Mt,{})};function Rt(n){const a=function(e){const{value:t}=e,{id:n,name:a,active:s,lastReadMessageId:i}=t,{data:r}=Ae.useGetChatMessageListQuery({chatId:n}),{messages:o,hasMore:l}=null!=r?r:{},[u,{isLoading:h}]=Ae.useFetchNextChatMessageListMutation(),m=d((()=>u({chatId:n})),[u,n]),[f]=Ae.useReadChatMessageMutation(),g=d((e=>f({id:e})),[f]),[v]=Ae.useSendChatMessageMutation(),b=d((e=>v(Object.assign(Object.assign({},e),{chatId:n})).unwrap()),[n,v]),{data:p}=Ae.useGetChatMessageReadQueueQuery();return c((()=>{if(!n)return null;const e={value:{id:n,name:a,active:s,lastReadMessageId:i},messages:o,hasMore:l,onNext:m,nextLoading:h,onRead:g,onSend:b,isReading:e=>p.some((t=>ne(t.value)===ne(e)&&e<=t.value))};return e}),[m,g,b,h,n,a,s,o,l,i,p])}(n),{showMembers:s}=X();return a?t("div",{className:"wxchtf-chat",children:[e(Ct,Object.assign({},a)),s&&e(Fe,{})]}):null}const St=K("ChatView",(t=>{const{value:n}=t,a=Q(),s=c((()=>Object.assign(Object.assign({},null!=a?a:{}),It)),[a]);return e(H.Provider,{value:s,children:e(Z,{id:n.id,children:e(Rt,{value:n})})})}));function _t(t){const{id:n,className:a="",customize:s,localizer:i=qe,style:r}=t,{data:c}=Ae.useGetChatQuery({id:n});return e("div",{className:`wxchtf-chatify wxchtf-chat-panel ${a}`,style:r,children:e(He.Provider,{value:i,children:e(H.Provider,{value:s,children:c&&e(St,{value:c},n)})})})}const kt=K("CreateChatNameInput",(t=>{const{name:n}=t,a=Qe();return e(O.Item,{name:n,label:a.addChat.name.label(),rules:[{required:!0,message:a.addChat.name.required()},{max:250,message:a.addChat.name.max250()}],children:e(y,{})})}));function jt(t){const{value:n,onChange:a}=t,{data:s,isFetching:i}=Ae.useGetAccountListQuery(),r=Ae.settings.me(),o=c((()=>{var e;return null!==(e=null==s?void 0:s.filter((e=>e.id!==r)))&&void 0!==e?e:[]}),[s,r]);return e(v,{rowKey:"id",className:"wxchtf-create-chat-member-input-list",loading:i,dataSource:o,renderItem:t=>{const s=n.includes(t.id);return e(v.Item,{className:s?"--selected":"",children:e(N,{checked:s,onChange:()=>a(n.includes(t.id)?n.filter((e=>e!==t.id)):[...n,t.id]),children:e(v.Item.Meta,{avatar:e(Ue,{account:t}),title:t.name})})})}})}const Tt=K("CreateChatMemberInput",(t=>{const{name:n}=t,a=Qe();return e(O.Item,{label:a.addChat.members.label(),rules:[{required:!0,message:a.addChat.members.required()}],name:n,children:e(jt,{})})})),Et={name:"",members:[]},Lt=K("CreateChatForm",(n=>{const{value:a=Et,onSubmit:s,busy:i=!1}=n,r=Qe();return t(O,{onFinish:s,layout:"vertical",disabled:i,initialValues:a,children:[e(kt,{name:"name"}),e(Tt,{name:"members"}),e(f,{loading:i,type:"primary",block:!0,htmlType:"submit",children:r.addChat.submitBtn()})]})})),At=s.createContext(null);function Bt(){return i(At)}function Ut(t){const{children:n}=t,[a,s]=r({chatId:null,view:null,showMembers:!1}),i=c((()=>Object.assign(Object.assign({},a),{openChat:e=>s((t=>Object.assign(Object.assign({},t),{view:"chat",chatId:e}))),none:()=>s((e=>Object.assign(Object.assign({},e),{view:null,chatId:null}))),toggleMembers:()=>s((e=>Object.assign(Object.assign({},e),{showMembers:!e.showMembers}))),toggleNewChat:()=>s((e=>"new-chat"!==e.view||e.chatId?"new-chat"===e.view&&e.chatId?Object.assign(Object.assign({},e),{view:"chat"}):Object.assign(Object.assign({},e),{view:"new-chat"}):Object.assign(Object.assign({},e),{view:null})))})),[a]);return e(At.Provider,{value:i,children:n})}const Pt=K("CreateChatPanel",(()=>{const n=Qe(),[a,s]=function(){const[e,{isLoading:t}]=Ae.useAddChatMutation(),{openChat:n}=Bt();return[d((t=>e({name:t.name,members:t.members}).unwrap().then((e=>n(e)))),[e,n]),t]}(),{toggleNewChat:i}=Bt();return t("div",{className:"wxchtf-create-chat-panel",children:[e(f,{onClick:()=>i(),className:"wxchtf-create-chat-panel-close",type:"link",icon:e(Y,{type:"close"})}),e("h3",{children:n.addChat.title()}),e(Lt,{busy:null!=s&&s,onSubmit:a})]})})),Gt=K("CreateChatButton",(()=>{const{toggleNewChat:t}=Bt();return e("span",{className:"wxchtf-add-btn-wrapper",children:e(f,{className:"wxchtf-add-btn",onClick:t,icon:"+",children:"Add chat"})})})),Dt=K("ChatListItemName",(t=>{const{chat:n}=t;return e("div",{className:"wxchtf-chat-name",children:n.name})})),Ft=K("ChatListItemUnreadCount",(t=>{const{totalUnreadCount:n}=t.chat;return n<=0?null:e("div",{className:"wxchtf-unread-count",children:n})})),Vt=K("ChatListItemLastMessageContent",(t=>{const{message:n}=t.chat,a=Qe();return e("div",{className:"wxchtf-chat-last-message",children:"chatify::system"===n.sentBy.id?ft(a,n.text):n.text})})),$t=K("ChatListItemLastMessageAuthor",(t=>{const{message:n}=t.chat;return"chatify::system"===n.sentBy.id?null:e("div",{className:"wxchtf-chat-last-author",children:n.sentBy.name})})),Ht=K("ChatListItemLastMessageSentAt",(t=>{const{chat:{message:{sentAt:n}}}=t,a=Qe();return e("div",{className:"wxchtf-chat-last-sent-at",children:a.isToday(n)?a.timestamp(n):a.dateTime(n)})})),Qt=K("ChatListItemLastMessage",(n=>t("div",{className:"wxchtf-chat-last",children:[e($t,Object.assign({},n)),e(Vt,Object.assign({},n)),e(Ht,Object.assign({},n))]}))),qt=K("ChatListItemAvatar",(t=>{const{id:n}=t.chat;return e("div",{className:"wxchtf-chat-avatar",style:{"--background-color":$(n,{lightness:90}),"--color":$(n,{saturation:60,lightness:65})},children:e(Y,{type:"chat"})})})),zt=K("ChatListItemBox",(n=>{const{message:a,lastReadMessageId:s}=n.chat,i=null!=s&&s.localeCompare(a.id)>=0;return t("div",{className:"wxchtf-chat"+(i?"":" --unread"),children:[e(qt,Object.assign({},n)),t("span",{className:"wxchtf-chat-info",children:[e(Dt,Object.assign({},n)),e(Ft,Object.assign({},n)),e(Qt,Object.assign({},n))]})]})}));const Kt=K("ChatList",(()=>{const{chatId:t}=Bt(),a=c((()=>t?[t]:[]),[t]),s=function(){const{openChat:e}=Bt();return d((t=>e(t.key)),[e])}(),i=function(){const{data:t}=Ae.useGetChatListQuery();return c((()=>null==t?void 0:t.slice().sort(((e,t)=>-e.message.id.substring(47).localeCompare(t.message.id.substring(47)))).map((t=>({key:t.id,label:e(zt,{chat:t})})))),[t])}();return e(n,{children:i&&e(M,{className:"wxchtf-chat-list",selectedKeys:a,onSelect:s,items:i})})})),Wt=K("ChatGroupAside",(()=>t("div",{className:"wxchtf-aside",children:[e(Gt,{}),e(Kt,{})]}))),Yt=K("ChatGroupHeader",(()=>e("div",{className:"wxchtf-header"}))),Jt=K("ChatGroupFooter",(()=>e("div",{className:"wxchtf-footer"}))),Xt=K("ChatGroupMain",(()=>{const{chatId:n,view:a}=Bt(),s=Ae.useChatListItem(n);return t("div",{className:"wxchtf-main",children:["chat"===a&&s&&e(St,{value:s},n),"new-chat"===a&&e(Pt,{})]})})),Zt=K("ChatGroupBody",(()=>t("div",{className:"wxchtf-body",children:[e(Wt,{}),e(Xt,{})]})));function en(n){const{className:a="",style:s}=n,{data:i}=Ae.useGetChatListQuery(),{openChat:r,none:c,chatId:o}=Bt(),d=u(!1);return m((()=>{i&&!i.some((e=>e.id===o))&&(i.length?r(i[0].id):c())}),[i,o]),m((()=>{i&&!d.current&&(d.current=!0,i.length&&r(i[0].id))}),[i]),t("div",{className:a+" wxchtf-chatify wxchtf-chat-group",style:s,children:[e(Yt,{}),e(Zt,{}),e(Jt,{})]})}const tn={ChatGroupHeader:null,ChatGroupFooter:null},nn=t=>{const{localizer:n=qe,customize:a=tn}=t,s=c((()=>Object.assign({},tn,a)),[a]);return e(He.Provider,{value:n,children:e(H.Provider,{value:s,children:e(Ut,{children:e(en,Object.assign({},t))})})})},an=s.createContext(null);function sn(){return s.useContext(an)}const rn=K("ThreadActions",(()=>{const{watch:t,onWatch:n}=sn();return e(b,t?{title:"Unwatch thread",children:e(f,{type:"link",icon:e(Y,{type:"unwatch"}),onClick:()=>n(!1)})}:{title:"Watch thread",children:e(f,{type:"link",icon:e(Y,{type:"watch"}),onClick:()=>n(!0)})})}));const cn={ConversationActions:()=>e(rn,{})};function on(t){const{threadId:n,customize:a,localizer:s=qe,className:i=""}=t,[r,o]=function(e){const{threadId:t}=e,{data:n}=Ae.useGetThreadQuery({id:t}),{data:a}=Ae.useGetThreadMessageListQuery({threadId:t}),{id:s,name:i,archive:r,lastReadMessageId:o,watch:l}=null!=n?n:{},{messages:u,hasMore:h}=null!=a?a:{},[m]=Ae.useReadThreadMessageMutation(),f=d((e=>m({id:e})),[m]),[g,{isLoading:v}]=Ae.useFetchNextThreadMessageListMutation(),b=d((()=>g({threadId:t})),[g,t]),[p]=Ae.useSendThreadMessageMutation(),y=d((e=>p({body:e,threadId:t}).unwrap()),[t,p]),{data:w}=Ae.useGetThreadMessageReadQueueQuery(),C=c((()=>{if(!s)return null;const e={value:{id:s,name:i,active:!r,lastReadMessageId:null!=o?o:null},messages:u,hasMore:h,onNext:b,nextLoading:v,onRead:f,onSend:y,noReadTracking:!l,isReading:e=>w.some((t=>ae(t.value)[0]===ae(e)[0]&&e<=t.value))};return e}),[b,f,y,v,s,i,r,u,h,o,w,l]),[x]=Ae.useWatchThreadMutation();return[C,c((()=>n?{id:n.id,watch:n.watch,onWatch:e=>x({id:n.id,watch:e}).unwrap()}:null),[n,x])]}(t),l=c((()=>Object.assign(Object.assign({},cn),a)),[a]);return m((()=>(Ae.settings.client.connectToThread(n),()=>{Ae.settings.client.disconnectFromThread(n)})),[n]),r&&o?e(He.Provider,{value:s,children:e(an.Provider,{value:o,children:e(H.Provider,{value:l,children:e("div",{className:`wxchtf-chatify wxchtf-thread ${i}`,children:r&&e(Ct,Object.assign({},r))})})})}):null}const dn={Thread:on,ChatGroup:nn,Chat:_t};export{Ue as Avatar,le as CHATIFY_SIGNALR_METHODS,Z as ChatContext,Nt as ChatEditableHeaderName,Wt as ChatGroupAside,Zt as ChatGroupBody,Ut as ChatGroupContext,Jt as ChatGroupFooter,Yt as ChatGroupHeader,Xt as ChatGroupMain,nn as ChatGroupPanel,Mt as ChatHeaderActions,Kt as ChatList,qt as ChatListItemAvatar,zt as ChatListItemBox,Qt as ChatListItemLastMessage,$t as ChatListItemLastMessageAuthor,Vt as ChatListItemLastMessageContent,Ht as ChatListItemLastMessageSentAt,Dt as ChatListItemName,Ft as ChatListItemUnreadCount,ee as ChatMembersButton,Fe as ChatMembersPanel,Ve as ChatMembersPreview,_t as ChatPanel,St as ChatView,dn as Chatify,ue as ChatifyClient,Ct as Conversation,bt as ConversationActions,pt as ConversationBody,Je as ConversationContext,wt as ConversationHeader,yt as ConversationName,Gt as CreateChatButton,Lt as CreateChatForm,Tt as CreateChatMemberInput,kt as CreateChatNameInput,Pt as CreateChatPanel,H as CustomizeContext,It as DEFAULT_CHAT_VIEW_CUSTOMIZE_VALUE,W as ICONS,Y as Icon,Ze as InputBox,$e as InputFilesBox,Ye as InputSubmitButtonBox,We as InputTextBox,He as LocalizerContext,et as MessageAuthor,ct as MessageBox,st as MessageContent,it as MessageInfoBox,nt as MessageReadObserver,rt as MessageRow,ot as MessageSkeleton,at as MessageText,dt as NextMessagesObserver,te as SYSTEM_ID,mt as SendingMessageBox,ht as SendingMessageContent,ut as SendingMessageInfoBox,lt as SendingMessageText,vt as SystemMessageBox,gt as SystemMessageRow,rn as ThreadActions,an as ThreadContext,on as ThreadPanel,ie as calcThreadListUnreadCount,se as calcThreadUnreadCount,ne as chatId,Ae as chatifyApi,$ as color,K as customize,qe as defaultLocalizer,ft as formatSystemMessage,ae as parseThreadMessageId,he as unsubscribe,X as useChatContext,Bt as useChatGroupContext,Xe as useConversation,z as useCustomize,Q as useCustomizeContext,Qe as useLocalizer,sn as useThreadContext};
|
|
11
|
-
//# sourceMappingURL=index.js.map
|