@tencentcloud/chat-uikit-react 2.3.1 → 3.0.1
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/.eslintrc.cjs +49 -0
- package/.stylelintrc.cjs +19 -0
- package/CHANGELOG.md +20 -1
- package/README.md +11 -8
- package/ci/install-nvm-node18.sh +117 -0
- package/dist/ChatSetting-79tDbXT3.js +28512 -0
- package/dist/assets/fonts/iconfont.ttf +0 -0
- package/dist/assets/fonts/iconfont.woff +0 -0
- package/dist/assets/fonts/iconfont.woff2 +0 -0
- package/dist/components/Chat/Chat.d.ts +11 -0
- package/dist/components/Chat/Chat.js +30 -0
- package/dist/components/Chat/index.d.ts +1 -0
- package/dist/components/Chat/index.js +4 -0
- package/dist/components/ChatHeader/ChatHeader.d.ts +22 -0
- package/dist/components/ChatHeader/ChatHeader.js +51 -0
- package/dist/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.d.ts +11 -0
- package/dist/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.js +79 -0
- package/dist/components/ChatHeader/ChatHeaderActions/index.d.ts +1 -0
- package/dist/components/ChatHeader/ChatHeaderActions/index.js +4 -0
- package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.d.ts +34 -0
- package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.js +87 -0
- package/dist/components/ChatHeader/ChatHeaderUI/index.d.ts +2 -0
- package/dist/components/ChatHeader/ChatHeaderUI/index.js +4 -0
- package/dist/components/ChatHeader/index.d.ts +2 -0
- package/dist/components/ChatHeader/index.js +6 -0
- package/dist/components/Checkbox/index.d.ts +14 -0
- package/dist/components/Checkbox/index.js +34 -0
- package/dist/components/DivWithEdit/DivWithEdit.d.ts +14 -0
- package/dist/components/DivWithEdit/DivWithEdit.js +69 -0
- package/dist/components/DivWithEdit/WithSelect.d.ts +7 -0
- package/dist/components/DivWithEdit/WithSelect.js +21 -0
- package/dist/components/DivWithEdit/WithText.d.ts +9 -0
- package/dist/components/DivWithEdit/WithText.js +28 -0
- package/dist/components/DivWithEdit/index.d.ts +1 -0
- package/dist/components/DivWithEdit/index.js +4 -0
- package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +8 -0
- package/dist/components/EmptyStateIndicator/EmptyStateIndicator.js +12 -0
- package/dist/components/EmptyStateIndicator/index.d.ts +1 -0
- package/dist/components/EmptyStateIndicator/index.js +4 -0
- package/dist/components/Icon/Icon.d.ts +11 -0
- package/dist/components/Icon/Icon.js +39 -0
- package/dist/components/Icon/config.d.ts +9 -0
- package/dist/components/Icon/config.js +198 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.js +7 -0
- package/dist/components/Icon/type.d.ts +50 -0
- package/dist/components/Icon/type.js +4 -0
- package/dist/components/IconFont/Icon.d.ts +21 -0
- package/dist/components/IconFont/Icon.js +47 -0
- package/dist/components/IconFont/index.d.ts +2 -0
- package/dist/components/IconFont/index.js +4 -0
- package/dist/components/Input/Input.d.ts +23 -0
- package/dist/components/Input/Input.js +86 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.js +4 -0
- package/dist/components/Modal/Modal.d.ts +7 -0
- package/dist/components/Modal/Modal.js +89 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Modal/index.js +4 -0
- package/dist/components/Model/index.d.ts +7 -0
- package/dist/components/Model/index.js +12 -0
- package/dist/components/Plugins/hooks/index.d.ts +1 -0
- package/dist/components/Plugins/hooks/index.js +4 -0
- package/dist/components/Plugins/hooks/usePluginsElement.d.ts +10 -0
- package/dist/components/Plugins/hooks/usePluginsElement.js +11 -0
- package/dist/components/Plugins/index.d.ts +19 -0
- package/dist/components/Plugins/index.js +73 -0
- package/dist/components/Popup/index.d.ts +11 -0
- package/dist/components/Popup/index.js +56 -0
- package/dist/components/PopupNew/Popup.d.ts +13 -0
- package/dist/components/PopupNew/Popup.js +30 -0
- package/dist/components/PopupNew/index.d.ts +2 -0
- package/dist/components/PopupNew/index.js +4 -0
- package/dist/components/Profile/DatePicker/DatePicker.d.ts +11 -0
- package/dist/components/Profile/DatePicker/DatePicker.js +104 -0
- package/dist/components/Profile/DatePicker/index.d.ts +1 -0
- package/dist/components/Profile/DatePicker/index.js +4 -0
- package/dist/components/Profile/Profile.d.ts +8 -0
- package/dist/components/Profile/Profile.js +36 -0
- package/dist/components/Profile/ProfileDefault.d.ts +9 -0
- package/dist/components/Profile/ProfileDefault.js +246 -0
- package/dist/components/Profile/hooks/index.d.ts +1 -0
- package/dist/components/Profile/hooks/index.js +4 -0
- package/dist/components/Profile/hooks/useMyProfile.d.ts +21 -0
- package/dist/components/Profile/hooks/useMyProfile.js +22 -0
- package/dist/components/Profile/index.d.ts +2 -0
- package/dist/components/Profile/index.js +6 -0
- package/dist/components/Profile/myProfile/MyProfile.d.ts +7 -0
- package/dist/components/Profile/myProfile/MyProfile.js +21 -0
- package/dist/components/Profile/myProfile/index.d.ts +1 -0
- package/dist/components/Profile/myProfile/index.js +4 -0
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Switch/Switch.js +35 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Switch/index.js +4 -0
- package/dist/components/Switch/utils/newId.d.ts +2 -0
- package/dist/components/Switch/utils/newId.js +5 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/index.js +31 -0
- package/dist/constant/avatar.d.ts +5 -0
- package/dist/constant/avatar.js +8 -0
- package/dist/constant/emoji.d.ts +12 -0
- package/dist/constant/emoji.js +137 -0
- package/dist/constant/index.d.ts +2 -0
- package/dist/constant/index.js +13 -0
- package/dist/context/ChatContext.d.ts +11 -0
- package/dist/context/ChatContext.js +27 -0
- package/dist/context/ContactContext.d.ts +15 -0
- package/dist/context/ContactContext.js +15 -0
- package/dist/context/index.d.ts +2 -0
- package/dist/context/index.js +9 -0
- package/dist/external_modules/classnames-HRMVOjAa.js +45 -0
- package/dist/external_modules/mui-CbGEJVT2.js +2473 -0
- package/dist/external_modules/react-vendors-3raCpd-g.js +1238 -0
- package/dist/external_modules/zustand-Dvydplxp.js +24 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +4 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4120 -0
- package/dist/locales/en-US/ChatSetting.d.ts +95 -0
- package/dist/locales/en-US/ChatSetting.js +107 -0
- package/dist/locales/en-US/DateRangePicker.d.ts +30 -0
- package/dist/locales/en-US/DateRangePicker.js +32 -0
- package/dist/locales/en-US/GroupTip.d.ts +19 -0
- package/dist/locales/en-US/GroupTip.js +21 -0
- package/dist/locales/en-US/Search.d.ts +48 -0
- package/dist/locales/en-US/Search.js +50 -0
- package/dist/locales/en-US/TUIChat.d.ts +56 -0
- package/dist/locales/en-US/TUIChat.js +58 -0
- package/dist/locales/en-US/TUIContact.d.ts +71 -0
- package/dist/locales/en-US/TUIContact.js +74 -0
- package/dist/locales/en-US/TUIConversation.d.ts +44 -0
- package/dist/locales/en-US/TUIConversation.js +46 -0
- package/dist/locales/en-US/TUIProfile.d.ts +14 -0
- package/dist/locales/en-US/TUIProfile.js +16 -0
- package/dist/locales/en-US/emoji.d.ts +65 -0
- package/dist/locales/en-US/emoji.js +67 -0
- package/dist/locales/en-US/index.d.ts +435 -0
- package/dist/locales/en-US/index.js +23 -0
- package/dist/locales/index.d.ts +1 -0
- package/dist/locales/index.js +26 -0
- package/dist/locales/ja-JP/ChatSetting.d.ts +96 -0
- package/dist/locales/ja-JP/ChatSetting.js +108 -0
- package/dist/locales/ja-JP/DateRangePicker.d.ts +30 -0
- package/dist/locales/ja-JP/DateRangePicker.js +32 -0
- package/dist/locales/ja-JP/GroupTip.d.ts +19 -0
- package/dist/locales/ja-JP/GroupTip.js +21 -0
- package/dist/locales/ja-JP/Search.d.ts +48 -0
- package/dist/locales/ja-JP/Search.js +50 -0
- package/dist/locales/ja-JP/TUIChat.d.ts +55 -0
- package/dist/locales/ja-JP/TUIChat.js +57 -0
- package/dist/locales/ja-JP/TUIContact.d.ts +72 -0
- package/dist/locales/ja-JP/TUIContact.js +75 -0
- package/dist/locales/ja-JP/TUIConversation.d.ts +43 -0
- package/dist/locales/ja-JP/TUIConversation.js +45 -0
- package/dist/locales/ja-JP/TUIProfile.d.ts +14 -0
- package/dist/locales/ja-JP/TUIProfile.js +16 -0
- package/dist/locales/ja-JP/emoji.d.ts +65 -0
- package/dist/locales/ja-JP/emoji.js +67 -0
- package/dist/locales/ja-JP/index.d.ts +435 -0
- package/dist/locales/ja-JP/index.js +23 -0
- package/dist/locales/ko-KR/ChatSetting.d.ts +96 -0
- package/dist/locales/ko-KR/ChatSetting.js +108 -0
- package/dist/locales/ko-KR/DateRangePicker.d.ts +30 -0
- package/dist/locales/ko-KR/DateRangePicker.js +32 -0
- package/dist/locales/ko-KR/GroupTip.d.ts +19 -0
- package/dist/locales/ko-KR/GroupTip.js +21 -0
- package/dist/locales/ko-KR/Search.d.ts +48 -0
- package/dist/locales/ko-KR/Search.js +50 -0
- package/dist/locales/ko-KR/TUIChat.d.ts +55 -0
- package/dist/locales/ko-KR/TUIChat.js +57 -0
- package/dist/locales/ko-KR/TUIContact.d.ts +72 -0
- package/dist/locales/ko-KR/TUIContact.js +75 -0
- package/dist/locales/ko-KR/TUIConversation.d.ts +43 -0
- package/dist/locales/ko-KR/TUIConversation.js +45 -0
- package/dist/locales/ko-KR/TUIProfile.d.ts +14 -0
- package/dist/locales/ko-KR/TUIProfile.js +16 -0
- package/dist/locales/ko-KR/emoji.d.ts +65 -0
- package/dist/locales/ko-KR/emoji.js +67 -0
- package/dist/locales/ko-KR/index.d.ts +435 -0
- package/dist/locales/ko-KR/index.js +23 -0
- package/dist/locales/zh-CN/ChatSetting.d.ts +95 -0
- package/dist/locales/zh-CN/ChatSetting.js +107 -0
- package/dist/locales/zh-CN/DateRangePicker.d.ts +30 -0
- package/dist/locales/zh-CN/DateRangePicker.js +32 -0
- package/dist/locales/zh-CN/GroupTip.d.ts +19 -0
- package/dist/locales/zh-CN/GroupTip.js +21 -0
- package/dist/locales/zh-CN/Search.d.ts +48 -0
- package/dist/locales/zh-CN/Search.js +50 -0
- package/dist/locales/zh-CN/TUIChat.d.ts +55 -0
- package/dist/locales/zh-CN/TUIChat.js +57 -0
- package/dist/locales/zh-CN/TUIContact.d.ts +72 -0
- package/dist/locales/zh-CN/TUIContact.js +75 -0
- package/dist/locales/zh-CN/TUIConversation.d.ts +43 -0
- package/dist/locales/zh-CN/TUIConversation.js +45 -0
- package/dist/locales/zh-CN/TUIProfile.d.ts +14 -0
- package/dist/locales/zh-CN/TUIProfile.js +16 -0
- package/dist/locales/zh-CN/emoji.d.ts +65 -0
- package/dist/locales/zh-CN/emoji.js +67 -0
- package/dist/locales/zh-CN/index.d.ts +434 -0
- package/dist/locales/zh-CN/index.js +23 -0
- package/dist/locales/zh-TW/ChatSetting.d.ts +96 -0
- package/dist/locales/zh-TW/ChatSetting.js +108 -0
- package/dist/locales/zh-TW/DateRangePicker.d.ts +30 -0
- package/dist/locales/zh-TW/DateRangePicker.js +32 -0
- package/dist/locales/zh-TW/GroupTip.d.ts +19 -0
- package/dist/locales/zh-TW/GroupTip.js +21 -0
- package/dist/locales/zh-TW/Search.d.ts +48 -0
- package/dist/locales/zh-TW/Search.js +50 -0
- package/dist/locales/zh-TW/TUIChat.d.ts +55 -0
- package/dist/locales/zh-TW/TUIChat.js +57 -0
- package/dist/locales/zh-TW/TUIContact.d.ts +72 -0
- package/dist/locales/zh-TW/TUIContact.js +75 -0
- package/dist/locales/zh-TW/TUIConversation.d.ts +43 -0
- package/dist/locales/zh-TW/TUIConversation.js +45 -0
- package/dist/locales/zh-TW/TUIProfile.d.ts +14 -0
- package/dist/locales/zh-TW/TUIProfile.js +16 -0
- package/dist/locales/zh-TW/emoji.d.ts +64 -0
- package/dist/locales/zh-TW/emoji.js +66 -0
- package/dist/locales/zh-TW/index.d.ts +434 -0
- package/dist/locales/zh-TW/index.js +23 -0
- package/dist/server/mainServer.d.ts +8 -0
- package/dist/server/mainServer.js +40 -0
- package/dist/states/ChatHeaderState.d.ts +18 -0
- package/dist/states/ChatHeaderState.js +48 -0
- package/dist/states/UIManagerState.d.ts +89 -0
- package/dist/states/UIManagerState.js +76 -0
- package/dist/states/index.d.ts +2 -0
- package/dist/states/index.js +6 -0
- package/dist/styles/Chat.css +1 -0
- package/dist/styles/ChatHeaderActions.css +1 -0
- package/dist/styles/ChatHeaderUI.css +1 -0
- package/dist/styles/ChatSetting.css +1 -0
- package/dist/styles/DatePicker.css +1 -0
- package/dist/styles/Icon.css +1 -0
- package/dist/styles/Icon2.css +1 -0
- package/dist/styles/Input.css +1 -0
- package/dist/styles/Modal.css +1 -0
- package/dist/styles/MyProfile.css +1 -0
- package/dist/styles/Profile.css +1 -0
- package/dist/styles/Switch.css +1 -0
- package/dist/styles/WithSelect.css +1 -0
- package/dist/styles/index.css +1 -0
- package/dist/styles/index2.css +1 -0
- package/dist/styles/index3.css +1 -0
- package/dist/styles/index4.css +1 -0
- package/dist/styles/index5.css +1 -0
- package/dist/types/message.d.ts +39 -0
- package/dist/types/user.d.ts +18 -0
- package/dist/types/user.js +0 -0
- package/package.json +82 -59
- package/src/assets/fonts/iconfont.ttf +0 -0
- package/src/assets/fonts/iconfont.woff +0 -0
- package/src/assets/fonts/iconfont.woff2 +0 -0
- package/src/components/Chat/Chat.mdx +271 -0
- package/src/components/Chat/Chat.module.scss +11 -0
- package/src/components/Chat/Chat.stories.tsx +215 -0
- package/src/components/Chat/Chat.tsx +30 -283
- package/src/components/Chat/Chat.zh-CN.mdx +275 -0
- package/src/components/Chat/index.ts +0 -4
- package/src/components/ChatHeader/ChatHeader.stories.tsx +129 -0
- package/src/components/ChatHeader/ChatHeader.tsx +62 -36
- package/src/components/ChatHeader/ChatHeader.zh-CN.mdx +159 -0
- package/src/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.module.scss +44 -0
- package/src/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.tsx +105 -0
- package/src/components/ChatHeader/ChatHeaderActions/index.ts +1 -0
- package/src/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.module.scss +111 -0
- package/src/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.tsx +127 -0
- package/src/components/ChatHeader/ChatHeaderUI/index.ts +3 -0
- package/src/components/ChatHeader/index.ts +1 -1
- package/src/components/Checkbox/index.tsx +1 -1
- package/src/components/Checkbox/styles/color.scss +1 -1
- package/src/components/Checkbox/styles/index.scss +2 -2
- package/src/components/DivWithEdit/DivWithEdit.tsx +43 -37
- package/src/components/DivWithEdit/WithSelect.tsx +9 -4
- package/src/components/DivWithEdit/WithText.tsx +4 -1
- package/src/components/DivWithEdit/styles/index.scss +15 -7
- package/src/components/Icon/Icon.tsx +4 -4
- package/src/components/Icon/styles/index.scss +3 -3
- package/src/components/IconFont/Icon.module.scss +42 -0
- package/src/components/IconFont/Icon.tsx +68 -0
- package/src/components/IconFont/index.ts +3 -0
- package/src/components/Input/Input.tsx +34 -24
- package/src/components/Input/index.scss +64 -0
- package/src/components/Modal/Modal.module.scss +55 -0
- package/src/components/Modal/Modal.tsx +110 -0
- package/src/components/Modal/index.ts +1 -0
- package/src/components/Model/styles/index.scss +2 -2
- package/src/components/Plugins/hooks/usePluginsElement.tsx +6 -5
- package/src/components/Plugins/index.tsx +12 -10
- package/src/components/Plugins/styles/color.scss +2 -2
- package/src/components/Plugins/styles/index.scss +2 -2
- package/src/components/Plugins/styles/layout.scss +2 -1
- package/src/components/Popup/styles/index.scss +2 -2
- package/src/components/PopupNew/Popup.module.scss +0 -0
- package/src/components/PopupNew/Popup.tsx +47 -0
- package/src/components/PopupNew/index.ts +3 -0
- package/src/components/Profile/DatePicker/DatePicker.scss +175 -0
- package/src/components/Profile/DatePicker/DatePicker.tsx +184 -0
- package/src/components/Profile/DatePicker/index.ts +1 -0
- package/src/components/Profile/Profile.tsx +21 -19
- package/src/components/Profile/ProfileDefault.tsx +99 -106
- package/src/components/Profile/myProfile/MyProfile.tsx +10 -9
- package/src/components/Profile/myProfile/styles/index.scss +7 -1
- package/src/components/Profile/styles/color.scss +1 -1
- package/src/components/Profile/styles/index.scss +2 -2
- package/src/components/Profile/styles/layout.scss +11 -13
- package/src/components/Switch/Switch.tsx +8 -7
- package/src/components/index.ts +5 -19
- package/src/constant/emoji.ts +97 -0
- package/src/constant/index.ts +13 -0
- package/src/context/ChatContext.tsx +40 -0
- package/src/context/index.ts +4 -7
- package/src/hooks/index.ts +4 -5
- package/src/index.ts +14 -4
- package/src/locales/en-US/ChatSetting.ts +116 -0
- package/src/locales/en-US/DateRangePicker.ts +32 -0
- package/src/locales/en-US/GroupTip.ts +21 -0
- package/src/locales/en-US/Search.ts +50 -0
- package/src/locales/en-US/TUIChat.ts +30 -1
- package/src/locales/en-US/TUIContact.ts +45 -0
- package/src/locales/en-US/TUIConversation.ts +8 -0
- package/src/locales/en-US/TUIProfile.ts +1 -1
- package/src/locales/en-US/emoji.ts +1 -1
- package/src/locales/en-US/index.ts +10 -2
- package/src/locales/index.ts +3 -3
- package/src/locales/ja-JP/ChatSetting.ts +117 -0
- package/src/locales/ja-JP/DateRangePicker.ts +32 -0
- package/src/locales/ja-JP/GroupTip.ts +21 -0
- package/src/locales/ja-JP/Search.ts +50 -0
- package/src/locales/ja-JP/TUIChat.ts +30 -1
- package/src/locales/ja-JP/TUIContact.ts +45 -0
- package/src/locales/ja-JP/TUIConversation.ts +8 -0
- package/src/locales/ja-JP/index.ts +10 -2
- package/src/locales/ko-KR/ChatSetting.ts +117 -0
- package/src/locales/ko-KR/DateRangePicker.ts +32 -0
- package/src/locales/ko-KR/GroupTip.ts +21 -0
- package/src/locales/ko-KR/Search.ts +50 -0
- package/src/locales/ko-KR/TUIChat.ts +30 -1
- package/src/locales/ko-KR/TUIContact.ts +45 -0
- package/src/locales/ko-KR/TUIConversation.ts +8 -0
- package/src/locales/ko-KR/index.ts +10 -2
- package/src/locales/zh-CN/ChatSetting.ts +116 -0
- package/src/locales/zh-CN/DateRangePicker.ts +32 -0
- package/src/locales/zh-CN/GroupTip.ts +21 -0
- package/src/locales/zh-CN/Search.ts +50 -0
- package/src/locales/zh-CN/TUIChat.ts +30 -1
- package/src/locales/zh-CN/TUIContact.ts +45 -0
- package/src/locales/zh-CN/TUIConversation.ts +8 -0
- package/src/locales/zh-CN/index.ts +10 -2
- package/src/locales/zh-TW/ChatSetting.ts +117 -0
- package/src/locales/zh-TW/DateRangePicker.ts +32 -0
- package/src/locales/zh-TW/GroupTip.ts +21 -0
- package/src/locales/zh-TW/Search.ts +50 -0
- package/src/locales/zh-TW/TUIChat.ts +30 -1
- package/src/locales/zh-TW/TUIContact.ts +46 -0
- package/src/locales/zh-TW/TUIConversation.ts +8 -0
- package/src/locales/zh-TW/index.ts +10 -2
- package/src/server/mainServer.ts +45 -0
- package/src/states/ChatHeaderState.ts +121 -0
- package/src/states/UIManagerState.ts +201 -0
- package/src/states/index.ts +3 -0
- package/src/states/useChatHeaderStore.mdx +182 -0
- package/src/stories/GettingStarted.mdx +89 -0
- package/src/styles/fonts/icon-font.scss +3 -3
- package/src/styles/index.scss +2 -4
- package/src/styles/mixins/_scrollbar.scss +62 -0
- package/src/styles/mixins/_text.scss +25 -0
- package/src/styles/mixins/index.scss +2 -0
- package/src/styles/normalize.scss +45 -1
- package/src/types/message.ts +51 -0
- package/src/types/user.ts +20 -0
- package/src/vite-env.d.ts +1 -0
- package/tsconfig.app.json +39 -0
- package/tsconfig.json +4 -13
- package/tsconfig.node.json +24 -0
- package/vite.config.playground.ts +48 -0
- package/vite.config.ts +144 -0
- package/.eslintrc.js +0 -251
- package/dist/cjs/assets/fonts/iconfont.ttf +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff2 +0 -0
- package/dist/cjs/components/Avatar/Avatar.d.ts +0 -22
- package/dist/cjs/components/Avatar/Avatar.js +0 -1
- package/dist/cjs/components/Avatar/default.d.ts +0 -7
- package/dist/cjs/components/Avatar/default.js +0 -1
- package/dist/cjs/components/Chat/Chat.d.ts +0 -39
- package/dist/cjs/components/Chat/Chat.js +0 -1
- package/dist/cjs/components/Chat/ChatState.js +0 -1
- package/dist/cjs/components/Chat/hooks/useCreateTUIChatStateContext.js +0 -1
- package/dist/cjs/components/Chat/hooks/useHandleMessage.d.ts +0 -7
- package/dist/cjs/components/Chat/hooks/useHandleMessage.js +0 -1
- package/dist/cjs/components/Chat/hooks/useHandleMessageList.js +0 -1
- package/dist/cjs/components/Chat/index.js +0 -1
- package/dist/cjs/components/Chat/server.js +0 -1
- package/dist/cjs/components/Chat/utils.js +0 -1
- package/dist/cjs/components/ChatHeader/ChatHeader.d.ts +0 -16
- package/dist/cjs/components/ChatHeader/ChatHeader.js +0 -1
- package/dist/cjs/components/ChatHeader/ChatHeaderDefault.d.ts +0 -18
- package/dist/cjs/components/ChatHeader/ChatHeaderDefault.js +0 -1
- package/dist/cjs/components/ChatSetting/ChatSetting.d.ts +0 -6
- package/dist/cjs/components/ChatSetting/ChatSetting.js +0 -1
- package/dist/cjs/components/Checkbox/index.d.ts +0 -17
- package/dist/cjs/components/Checkbox/index.js +0 -1
- package/dist/cjs/components/Contact/Contact.d.ts +0 -6
- package/dist/cjs/components/Contact/Contact.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/ContactInfo.d.ts +0 -10
- package/dist/cjs/components/Contact/ContactInfo/ContactInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/addFriendInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/basicInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/blockInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/friendApplication.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/friendInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/groupInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/hooks/useContactInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactList/ContactList.d.ts +0 -6
- package/dist/cjs/components/Contact/ContactList/ContactList.js +0 -1
- package/dist/cjs/components/Contact/hooks/useTUIContact.js +0 -1
- package/dist/cjs/components/ContactSearch/ContactSearch.js +0 -1
- package/dist/cjs/components/ContactSearch/hooks/useContactSearch.js +0 -1
- package/dist/cjs/components/ConversationActions/ConversationActions.d.ts +0 -52
- package/dist/cjs/components/ConversationActions/ConversationActions.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreate.d.ts +0 -21
- package/dist/cjs/components/ConversationCreate/ConversationCreate.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateButton.d.ts +0 -13
- package/dist/cjs/components/ConversationCreate/ConversationCreateButton.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateGroupDetail.d.ts +0 -16
- package/dist/cjs/components/ConversationCreate/ConversationCreateGroupDetail.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateSelectView.d.ts +0 -15
- package/dist/cjs/components/ConversationCreate/ConversationCreateSelectView.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.d.ts +0 -18
- package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationGroupTypeInfo.d.ts +0 -24
- package/dist/cjs/components/ConversationCreate/ConversationGroupTypeInfo.js +0 -1
- package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.d.ts +0 -14
- package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.js +0 -1
- package/dist/cjs/components/ConversationCreate/static/word.js +0 -1
- package/dist/cjs/components/ConversationList/ConversationList.d.ts +0 -57
- package/dist/cjs/components/ConversationList/ConversationList.js +0 -1
- package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.d.ts +0 -23
- package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.js +0 -1
- package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.d.ts +0 -15
- package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.js +0 -1
- package/dist/cjs/components/ConversationPreview/ConversationPreview.d.ts +0 -45
- package/dist/cjs/components/ConversationPreview/ConversationPreview.js +0 -1
- package/dist/cjs/components/ConversationPreview/utils.js +0 -1
- package/dist/cjs/components/ConversationSearch/ConversationSearch.d.ts +0 -39
- package/dist/cjs/components/ConversationSearch/ConversationSearch.js +0 -1
- package/dist/cjs/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.d.ts +0 -7
- package/dist/cjs/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js +0 -1
- package/dist/cjs/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.d.ts +0 -29
- package/dist/cjs/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js +0 -1
- package/dist/cjs/components/DivWithEdit/DivWithEdit.d.ts +0 -17
- package/dist/cjs/components/DivWithEdit/DivWithEdit.js +0 -1
- package/dist/cjs/components/DivWithEdit/WithSelect.js +0 -1
- package/dist/cjs/components/DivWithEdit/WithText.js +0 -1
- package/dist/cjs/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +0 -11
- package/dist/cjs/components/EmptyStateIndicator/EmptyStateIndicator.js +0 -1
- package/dist/cjs/components/Icon/Icon.d.ts +0 -15
- package/dist/cjs/components/Icon/Icon.js +0 -1
- package/dist/cjs/components/Icon/config.js +0 -1
- package/dist/cjs/components/Icon/images/add-friend.svg.js +0 -1
- package/dist/cjs/components/Icon/images/add.png.js +0 -1
- package/dist/cjs/components/Icon/images/arrow-down.png.js +0 -1
- package/dist/cjs/components/Icon/images/arrow-right.png.js +0 -1
- package/dist/cjs/components/Icon/images/back.png.js +0 -1
- package/dist/cjs/components/Icon/images/camera.png.js +0 -1
- package/dist/cjs/components/Icon/images/cancel.png.js +0 -1
- package/dist/cjs/components/Icon/images/clear.png.js +0 -1
- package/dist/cjs/components/Icon/images/close.png.js +0 -1
- package/dist/cjs/components/Icon/images/confirm.png.js +0 -1
- package/dist/cjs/components/Icon/images/copy.png.js +0 -1
- package/dist/cjs/components/Icon/images/cry.png.js +0 -1
- package/dist/cjs/components/Icon/images/del.png.js +0 -1
- package/dist/cjs/components/Icon/images/edit.png.js +0 -1
- package/dist/cjs/components/Icon/images/effort.png.js +0 -1
- package/dist/cjs/components/Icon/images/ellipse.png.js +0 -1
- package/dist/cjs/components/Icon/images/emoji.png.js +0 -1
- package/dist/cjs/components/Icon/images/file.png.js +0 -1
- package/dist/cjs/components/Icon/images/files.png.js +0 -1
- package/dist/cjs/components/Icon/images/forward.png.js +0 -1
- package/dist/cjs/components/Icon/images/image.png.js +0 -1
- package/dist/cjs/components/Icon/images/like.png.js +0 -1
- package/dist/cjs/components/Icon/images/liked.png.js +0 -1
- package/dist/cjs/components/Icon/images/living.png.js +0 -1
- package/dist/cjs/components/Icon/images/member.png.js +0 -1
- package/dist/cjs/components/Icon/images/more.png.js +0 -1
- package/dist/cjs/components/Icon/images/mute.svg.js +0 -1
- package/dist/cjs/components/Icon/images/owner.png.js +0 -1
- package/dist/cjs/components/Icon/images/progress.png.js +0 -1
- package/dist/cjs/components/Icon/images/quote.png.js +0 -1
- package/dist/cjs/components/Icon/images/reply.png.js +0 -1
- package/dist/cjs/components/Icon/images/revocation.png.js +0 -1
- package/dist/cjs/components/Icon/images/right.png.js +0 -1
- package/dist/cjs/components/Icon/images/search.png.js +0 -1
- package/dist/cjs/components/Icon/images/send.png.js +0 -1
- package/dist/cjs/components/Icon/images/star.png.js +0 -1
- package/dist/cjs/components/Icon/images/union.png.js +0 -1
- package/dist/cjs/components/Icon/images/unlike.png.js +0 -1
- package/dist/cjs/components/Icon/images/unliked.png.js +0 -1
- package/dist/cjs/components/Icon/images/ununion.png.js +0 -1
- package/dist/cjs/components/Icon/images/unvector.png.js +0 -1
- package/dist/cjs/components/Icon/images/vector.png.js +0 -1
- package/dist/cjs/components/Icon/images/video-call.svg.js +0 -1
- package/dist/cjs/components/Icon/images/video.png.js +0 -1
- package/dist/cjs/components/Icon/images/voice-call.svg.js +0 -1
- package/dist/cjs/components/Icon/images/voice.png.js +0 -1
- package/dist/cjs/components/Icon/type.d.ts +0 -52
- package/dist/cjs/components/Icon/type.js +0 -1
- package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
- package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.js +0 -1
- package/dist/cjs/components/Input/Input.d.ts +0 -26
- package/dist/cjs/components/Input/Input.js +0 -1
- package/dist/cjs/components/MessageElement/Message.d.ts +0 -61
- package/dist/cjs/components/MessageElement/Message.js +0 -1
- package/dist/cjs/components/MessageElement/MessageAudio.js +0 -1
- package/dist/cjs/components/MessageElement/MessageAvatar.js +0 -1
- package/dist/cjs/components/MessageElement/MessageBubble.js +0 -1
- package/dist/cjs/components/MessageElement/MessageContext.d.ts +0 -9
- package/dist/cjs/components/MessageElement/MessageContext.js +0 -1
- package/dist/cjs/components/MessageElement/MessageCustom.js +0 -1
- package/dist/cjs/components/MessageElement/MessageDefault.js +0 -1
- package/dist/cjs/components/MessageElement/MessageFace.js +0 -1
- package/dist/cjs/components/MessageElement/MessageFile.js +0 -1
- package/dist/cjs/components/MessageElement/MessageImage.js +0 -1
- package/dist/cjs/components/MessageElement/MessageLocation.js +0 -1
- package/dist/cjs/components/MessageElement/MessageMerger.js +0 -1
- package/dist/cjs/components/MessageElement/MessageName.js +0 -1
- package/dist/cjs/components/MessageElement/MessagePlugins.d.ts +0 -24
- package/dist/cjs/components/MessageElement/MessagePlugins.js +0 -1
- package/dist/cjs/components/MessageElement/MessageProgress.js +0 -1
- package/dist/cjs/components/MessageElement/MessageRevoke.js +0 -1
- package/dist/cjs/components/MessageElement/MessageStatus.js +0 -1
- package/dist/cjs/components/MessageElement/MessageSystem.js +0 -1
- package/dist/cjs/components/MessageElement/MessageText.js +0 -1
- package/dist/cjs/components/MessageElement/MessageTip.js +0 -1
- package/dist/cjs/components/MessageElement/MessageVideo.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessageContextHandler.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessageHandler.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessagePluginElement.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessageReply.js +0 -1
- package/dist/cjs/components/MessageElement/utils/decodeText.js +0 -1
- package/dist/cjs/components/MessageElement/utils/emojiMap.js +0 -1
- package/dist/cjs/components/MessageElement/utils/index.js +0 -1
- package/dist/cjs/components/MessageInput/EmojiPicker.js +0 -1
- package/dist/cjs/components/MessageInput/Forward.js +0 -1
- package/dist/cjs/components/MessageInput/InputPluginsDefalut.d.ts +0 -5
- package/dist/cjs/components/MessageInput/InputPluginsDefalut.js +0 -1
- package/dist/cjs/components/MessageInput/InputQuoteDefalut.js +0 -1
- package/dist/cjs/components/MessageInput/MessageInput.d.ts +0 -29
- package/dist/cjs/components/MessageInput/MessageInput.js +0 -1
- package/dist/cjs/components/MessageInput/MessageInputDefault.d.ts +0 -5
- package/dist/cjs/components/MessageInput/MessageInputDefault.js +0 -1
- package/dist/cjs/components/MessageInput/Transmitter.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useCreateMessageInputContext.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useEmojiPicker.d.ts +0 -6
- package/dist/cjs/components/MessageInput/hooks/useEmojiPicker.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useHandleForwardMessage.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useHandleQuoteMessage.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useMessageInputState.d.ts +0 -6
- package/dist/cjs/components/MessageInput/hooks/useMessageInputState.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useMessageInputText.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useUploadElement.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useUploadPicker.d.ts +0 -5
- package/dist/cjs/components/MessageInput/hooks/useUploadPicker.js +0 -1
- package/dist/cjs/components/MessageList/MessageList.d.ts +0 -13
- package/dist/cjs/components/MessageList/MessageList.js +0 -1
- package/dist/cjs/components/MessageList/hooks/useMessageListElement.js +0 -1
- package/dist/cjs/components/Model/index.d.ts +0 -9
- package/dist/cjs/components/Model/index.js +0 -1
- package/dist/cjs/components/PlaceHolder/index.d.ts +0 -34
- package/dist/cjs/components/PlaceHolder/index.js +0 -1
- package/dist/cjs/components/Plugins/hooks/usePluginsElement.js +0 -1
- package/dist/cjs/components/Plugins/index.d.ts +0 -21
- package/dist/cjs/components/Plugins/index.js +0 -1
- package/dist/cjs/components/Popup/index.d.ts +0 -13
- package/dist/cjs/components/Popup/index.js +0 -1
- package/dist/cjs/components/Profile/Profile.d.ts +0 -10
- package/dist/cjs/components/Profile/Profile.js +0 -1
- package/dist/cjs/components/Profile/ProfileDefault.d.ts +0 -12
- package/dist/cjs/components/Profile/ProfileDefault.js +0 -1
- package/dist/cjs/components/Profile/hooks/useMyProfile.js +0 -1
- package/dist/cjs/components/Profile/myProfile/MyProfile.js +0 -1
- package/dist/cjs/components/Switch/Switch.d.ts +0 -12
- package/dist/cjs/components/Switch/Switch.js +0 -1
- package/dist/cjs/components/Switch/utils/newId.js +0 -1
- package/dist/cjs/components/Toast/index.d.ts +0 -11
- package/dist/cjs/components/Toast/index.js +0 -1
- package/dist/cjs/components/utils.js +0 -1
- package/dist/cjs/constants.d.ts +0 -11
- package/dist/cjs/constants.js +0 -1
- package/dist/cjs/context/ChatActionContext.d.ts +0 -26
- package/dist/cjs/context/ChatActionContext.js +0 -1
- package/dist/cjs/context/ChatStateContext.d.ts +0 -37
- package/dist/cjs/context/ChatStateContext.js +0 -1
- package/dist/cjs/context/ComponentContext.d.ts +0 -29
- package/dist/cjs/context/ComponentContext.js +0 -1
- package/dist/cjs/context/ContactContext.d.ts +0 -18
- package/dist/cjs/context/ContactContext.js +0 -1
- package/dist/cjs/context/ConversationListContext.d.ts +0 -22
- package/dist/cjs/context/ConversationListContext.js +0 -1
- package/dist/cjs/context/LanguageContext.js +0 -1
- package/dist/cjs/context/MessageContext.d.ts +0 -62
- package/dist/cjs/context/MessageContext.js +0 -1
- package/dist/cjs/context/MessageInputContext.d.ts +0 -36
- package/dist/cjs/context/MessageInputContext.js +0 -1
- package/dist/cjs/context/ThemeContext.js +0 -1
- package/dist/cjs/context/UIKitContext.d.ts +0 -25
- package/dist/cjs/context/UIKitContext.js +0 -1
- package/dist/cjs/hooks/index.js +0 -1
- package/dist/cjs/hooks/useConversation.d.ts +0 -6
- package/dist/cjs/hooks/useConversation.js +0 -1
- package/dist/cjs/hooks/useLongPress.d.ts +0 -3
- package/dist/cjs/hooks/useLongPress.js +0 -1
- package/dist/cjs/hooks/useMouseHover.js +0 -1
- package/dist/cjs/hooks/useProfile.d.ts +0 -5
- package/dist/cjs/hooks/useProfile.js +0 -1
- package/dist/cjs/index.css +0 -2
- package/dist/cjs/index.d.css +0 -2887
- package/dist/cjs/index.d.ts +0 -57
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/locales/en-US/TUIChat.js +0 -1
- package/dist/cjs/locales/en-US/TUIContact.js +0 -1
- package/dist/cjs/locales/en-US/TUIConversation.js +0 -1
- package/dist/cjs/locales/en-US/TUIProfile.js +0 -1
- package/dist/cjs/locales/en-US/emoji.js +0 -1
- package/dist/cjs/locales/en-US/index.js +0 -1
- package/dist/cjs/locales/index.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIChat.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIContact.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIConversation.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIProfile.js +0 -1
- package/dist/cjs/locales/ja-JP/emoji.js +0 -1
- package/dist/cjs/locales/ja-JP/index.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIChat.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIContact.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIConversation.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIProfile.js +0 -1
- package/dist/cjs/locales/ko-KR/emoji.js +0 -1
- package/dist/cjs/locales/ko-KR/index.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIChat.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIContact.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIConversation.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIProfile.js +0 -1
- package/dist/cjs/locales/zh-CN/emoji.js +0 -1
- package/dist/cjs/locales/zh-CN/index.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIChat.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIContact.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIConversation.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIProfile.js +0 -1
- package/dist/cjs/locales/zh-TW/emoji.js +0 -1
- package/dist/cjs/locales/zh-TW/index.js +0 -1
- package/dist/cjs/node_modules/zustand/esm/react.mjs.js +0 -1
- package/dist/cjs/node_modules/zustand/esm/vanilla.mjs.js +0 -1
- package/dist/cjs/server.js +0 -1
- package/dist/cjs/store/UIManagerStore.js +0 -1
- package/dist/cjs/utils/env.d.ts +0 -5
- package/dist/cjs/utils/env.js +0 -1
- package/dist/esm/assets/fonts/iconfont.ttf +0 -0
- package/dist/esm/assets/fonts/iconfont.woff +0 -0
- package/dist/esm/assets/fonts/iconfont.woff2 +0 -0
- package/dist/esm/components/Avatar/Avatar.d.ts +0 -22
- package/dist/esm/components/Avatar/Avatar.js +0 -1
- package/dist/esm/components/Avatar/default.d.ts +0 -7
- package/dist/esm/components/Avatar/default.js +0 -1
- package/dist/esm/components/Chat/Chat.d.ts +0 -39
- package/dist/esm/components/Chat/Chat.js +0 -1
- package/dist/esm/components/Chat/ChatState.js +0 -1
- package/dist/esm/components/Chat/hooks/useCreateTUIChatStateContext.js +0 -1
- package/dist/esm/components/Chat/hooks/useHandleMessage.d.ts +0 -7
- package/dist/esm/components/Chat/hooks/useHandleMessage.js +0 -1
- package/dist/esm/components/Chat/hooks/useHandleMessageList.js +0 -1
- package/dist/esm/components/Chat/index.js +0 -1
- package/dist/esm/components/Chat/server.js +0 -1
- package/dist/esm/components/Chat/utils.js +0 -1
- package/dist/esm/components/ChatHeader/ChatHeader.d.ts +0 -16
- package/dist/esm/components/ChatHeader/ChatHeader.js +0 -1
- package/dist/esm/components/ChatHeader/ChatHeaderDefault.d.ts +0 -18
- package/dist/esm/components/ChatHeader/ChatHeaderDefault.js +0 -1
- package/dist/esm/components/ChatSetting/ChatSetting.d.ts +0 -6
- package/dist/esm/components/ChatSetting/ChatSetting.js +0 -1
- package/dist/esm/components/Checkbox/index.d.ts +0 -17
- package/dist/esm/components/Checkbox/index.js +0 -1
- package/dist/esm/components/Contact/Contact.d.ts +0 -6
- package/dist/esm/components/Contact/Contact.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/ContactInfo.d.ts +0 -10
- package/dist/esm/components/Contact/ContactInfo/ContactInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/addFriendInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/basicInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/blockInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/friendApplication.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/friendInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/groupInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/hooks/useContactInfo.js +0 -1
- package/dist/esm/components/Contact/ContactList/ContactList.d.ts +0 -6
- package/dist/esm/components/Contact/ContactList/ContactList.js +0 -1
- package/dist/esm/components/Contact/hooks/useTUIContact.js +0 -1
- package/dist/esm/components/ContactSearch/ContactSearch.js +0 -1
- package/dist/esm/components/ContactSearch/hooks/useContactSearch.js +0 -1
- package/dist/esm/components/ConversationActions/ConversationActions.d.ts +0 -52
- package/dist/esm/components/ConversationActions/ConversationActions.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreate.d.ts +0 -21
- package/dist/esm/components/ConversationCreate/ConversationCreate.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateButton.d.ts +0 -13
- package/dist/esm/components/ConversationCreate/ConversationCreateButton.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateGroupDetail.d.ts +0 -16
- package/dist/esm/components/ConversationCreate/ConversationCreateGroupDetail.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateSelectView.d.ts +0 -15
- package/dist/esm/components/ConversationCreate/ConversationCreateSelectView.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.d.ts +0 -18
- package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationGroupTypeInfo.d.ts +0 -24
- package/dist/esm/components/ConversationCreate/ConversationGroupTypeInfo.js +0 -1
- package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.d.ts +0 -14
- package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.js +0 -1
- package/dist/esm/components/ConversationCreate/static/word.js +0 -1
- package/dist/esm/components/ConversationList/ConversationList.d.ts +0 -57
- package/dist/esm/components/ConversationList/ConversationList.js +0 -1
- package/dist/esm/components/ConversationList/ConversationListContent/ConversationListContent.d.ts +0 -23
- package/dist/esm/components/ConversationList/ConversationListContent/ConversationListContent.js +0 -1
- package/dist/esm/components/ConversationList/ConversationListHeader/ConversationListHeader.d.ts +0 -15
- package/dist/esm/components/ConversationList/ConversationListHeader/ConversationListHeader.js +0 -1
- package/dist/esm/components/ConversationPreview/ConversationPreview.d.ts +0 -45
- package/dist/esm/components/ConversationPreview/ConversationPreview.js +0 -1
- package/dist/esm/components/ConversationPreview/utils.js +0 -1
- package/dist/esm/components/ConversationSearch/ConversationSearch.d.ts +0 -39
- package/dist/esm/components/ConversationSearch/ConversationSearch.js +0 -1
- package/dist/esm/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.d.ts +0 -7
- package/dist/esm/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js +0 -1
- package/dist/esm/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.d.ts +0 -29
- package/dist/esm/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js +0 -1
- package/dist/esm/components/DivWithEdit/DivWithEdit.d.ts +0 -17
- package/dist/esm/components/DivWithEdit/DivWithEdit.js +0 -1
- package/dist/esm/components/DivWithEdit/WithSelect.js +0 -1
- package/dist/esm/components/DivWithEdit/WithText.js +0 -1
- package/dist/esm/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +0 -11
- package/dist/esm/components/EmptyStateIndicator/EmptyStateIndicator.js +0 -1
- package/dist/esm/components/Icon/Icon.d.ts +0 -15
- package/dist/esm/components/Icon/Icon.js +0 -1
- package/dist/esm/components/Icon/config.js +0 -1
- package/dist/esm/components/Icon/images/add-friend.svg.js +0 -1
- package/dist/esm/components/Icon/images/add.png.js +0 -1
- package/dist/esm/components/Icon/images/arrow-down.png.js +0 -1
- package/dist/esm/components/Icon/images/arrow-right.png.js +0 -1
- package/dist/esm/components/Icon/images/back.png.js +0 -1
- package/dist/esm/components/Icon/images/camera.png.js +0 -1
- package/dist/esm/components/Icon/images/cancel.png.js +0 -1
- package/dist/esm/components/Icon/images/clear.png.js +0 -1
- package/dist/esm/components/Icon/images/close.png.js +0 -1
- package/dist/esm/components/Icon/images/confirm.png.js +0 -1
- package/dist/esm/components/Icon/images/copy.png.js +0 -1
- package/dist/esm/components/Icon/images/cry.png.js +0 -1
- package/dist/esm/components/Icon/images/del.png.js +0 -1
- package/dist/esm/components/Icon/images/edit.png.js +0 -1
- package/dist/esm/components/Icon/images/effort.png.js +0 -1
- package/dist/esm/components/Icon/images/ellipse.png.js +0 -1
- package/dist/esm/components/Icon/images/emoji.png.js +0 -1
- package/dist/esm/components/Icon/images/file.png.js +0 -1
- package/dist/esm/components/Icon/images/files.png.js +0 -1
- package/dist/esm/components/Icon/images/forward.png.js +0 -1
- package/dist/esm/components/Icon/images/image.png.js +0 -1
- package/dist/esm/components/Icon/images/like.png.js +0 -1
- package/dist/esm/components/Icon/images/liked.png.js +0 -1
- package/dist/esm/components/Icon/images/living.png.js +0 -1
- package/dist/esm/components/Icon/images/member.png.js +0 -1
- package/dist/esm/components/Icon/images/more.png.js +0 -1
- package/dist/esm/components/Icon/images/mute.svg.js +0 -1
- package/dist/esm/components/Icon/images/owner.png.js +0 -1
- package/dist/esm/components/Icon/images/progress.png.js +0 -1
- package/dist/esm/components/Icon/images/quote.png.js +0 -1
- package/dist/esm/components/Icon/images/reply.png.js +0 -1
- package/dist/esm/components/Icon/images/revocation.png.js +0 -1
- package/dist/esm/components/Icon/images/right.png.js +0 -1
- package/dist/esm/components/Icon/images/search.png.js +0 -1
- package/dist/esm/components/Icon/images/send.png.js +0 -1
- package/dist/esm/components/Icon/images/star.png.js +0 -1
- package/dist/esm/components/Icon/images/union.png.js +0 -1
- package/dist/esm/components/Icon/images/unlike.png.js +0 -1
- package/dist/esm/components/Icon/images/unliked.png.js +0 -1
- package/dist/esm/components/Icon/images/ununion.png.js +0 -1
- package/dist/esm/components/Icon/images/unvector.png.js +0 -1
- package/dist/esm/components/Icon/images/vector.png.js +0 -1
- package/dist/esm/components/Icon/images/video-call.svg.js +0 -1
- package/dist/esm/components/Icon/images/video.png.js +0 -1
- package/dist/esm/components/Icon/images/voice-call.svg.js +0 -1
- package/dist/esm/components/Icon/images/voice.png.js +0 -1
- package/dist/esm/components/Icon/type.d.ts +0 -52
- package/dist/esm/components/Icon/type.js +0 -1
- package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
- package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.js +0 -1
- package/dist/esm/components/Input/Input.d.ts +0 -26
- package/dist/esm/components/Input/Input.js +0 -1
- package/dist/esm/components/MessageElement/Message.d.ts +0 -61
- package/dist/esm/components/MessageElement/Message.js +0 -1
- package/dist/esm/components/MessageElement/MessageAudio.js +0 -1
- package/dist/esm/components/MessageElement/MessageAvatar.js +0 -1
- package/dist/esm/components/MessageElement/MessageBubble.js +0 -1
- package/dist/esm/components/MessageElement/MessageContext.d.ts +0 -9
- package/dist/esm/components/MessageElement/MessageContext.js +0 -1
- package/dist/esm/components/MessageElement/MessageCustom.js +0 -1
- package/dist/esm/components/MessageElement/MessageDefault.js +0 -1
- package/dist/esm/components/MessageElement/MessageFace.js +0 -1
- package/dist/esm/components/MessageElement/MessageFile.js +0 -1
- package/dist/esm/components/MessageElement/MessageImage.js +0 -1
- package/dist/esm/components/MessageElement/MessageLocation.js +0 -1
- package/dist/esm/components/MessageElement/MessageMerger.js +0 -1
- package/dist/esm/components/MessageElement/MessageName.js +0 -1
- package/dist/esm/components/MessageElement/MessagePlugins.d.ts +0 -24
- package/dist/esm/components/MessageElement/MessagePlugins.js +0 -1
- package/dist/esm/components/MessageElement/MessageProgress.js +0 -1
- package/dist/esm/components/MessageElement/MessageRevoke.js +0 -1
- package/dist/esm/components/MessageElement/MessageStatus.js +0 -1
- package/dist/esm/components/MessageElement/MessageSystem.js +0 -1
- package/dist/esm/components/MessageElement/MessageText.js +0 -1
- package/dist/esm/components/MessageElement/MessageTip.js +0 -1
- package/dist/esm/components/MessageElement/MessageVideo.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessageContextHandler.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessageHandler.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessagePluginElement.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessageReply.js +0 -1
- package/dist/esm/components/MessageElement/utils/decodeText.js +0 -1
- package/dist/esm/components/MessageElement/utils/emojiMap.js +0 -1
- package/dist/esm/components/MessageElement/utils/index.js +0 -1
- package/dist/esm/components/MessageInput/EmojiPicker.js +0 -1
- package/dist/esm/components/MessageInput/Forward.js +0 -1
- package/dist/esm/components/MessageInput/InputPluginsDefalut.d.ts +0 -5
- package/dist/esm/components/MessageInput/InputPluginsDefalut.js +0 -1
- package/dist/esm/components/MessageInput/InputQuoteDefalut.js +0 -1
- package/dist/esm/components/MessageInput/MessageInput.d.ts +0 -29
- package/dist/esm/components/MessageInput/MessageInput.js +0 -1
- package/dist/esm/components/MessageInput/MessageInputDefault.d.ts +0 -5
- package/dist/esm/components/MessageInput/MessageInputDefault.js +0 -1
- package/dist/esm/components/MessageInput/Transmitter.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useCreateMessageInputContext.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useEmojiPicker.d.ts +0 -6
- package/dist/esm/components/MessageInput/hooks/useEmojiPicker.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useHandleForwardMessage.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useHandleQuoteMessage.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useMessageInputState.d.ts +0 -6
- package/dist/esm/components/MessageInput/hooks/useMessageInputState.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useMessageInputText.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useUploadElement.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useUploadPicker.d.ts +0 -5
- package/dist/esm/components/MessageInput/hooks/useUploadPicker.js +0 -1
- package/dist/esm/components/MessageList/MessageList.d.ts +0 -13
- package/dist/esm/components/MessageList/MessageList.js +0 -1
- package/dist/esm/components/MessageList/hooks/useMessageListElement.js +0 -1
- package/dist/esm/components/Model/index.d.ts +0 -9
- package/dist/esm/components/Model/index.js +0 -1
- package/dist/esm/components/PlaceHolder/index.d.ts +0 -34
- package/dist/esm/components/PlaceHolder/index.js +0 -1
- package/dist/esm/components/Plugins/hooks/usePluginsElement.js +0 -1
- package/dist/esm/components/Plugins/index.d.ts +0 -21
- package/dist/esm/components/Plugins/index.js +0 -1
- package/dist/esm/components/Popup/index.d.ts +0 -13
- package/dist/esm/components/Popup/index.js +0 -1
- package/dist/esm/components/Profile/Profile.d.ts +0 -10
- package/dist/esm/components/Profile/Profile.js +0 -1
- package/dist/esm/components/Profile/ProfileDefault.d.ts +0 -12
- package/dist/esm/components/Profile/ProfileDefault.js +0 -1
- package/dist/esm/components/Profile/hooks/useMyProfile.js +0 -1
- package/dist/esm/components/Profile/myProfile/MyProfile.js +0 -1
- package/dist/esm/components/Switch/Switch.d.ts +0 -12
- package/dist/esm/components/Switch/Switch.js +0 -1
- package/dist/esm/components/Switch/utils/newId.js +0 -1
- package/dist/esm/components/Toast/index.d.ts +0 -11
- package/dist/esm/components/Toast/index.js +0 -1
- package/dist/esm/components/utils.js +0 -1
- package/dist/esm/constants.d.ts +0 -11
- package/dist/esm/constants.js +0 -1
- package/dist/esm/context/ChatActionContext.d.ts +0 -26
- package/dist/esm/context/ChatActionContext.js +0 -1
- package/dist/esm/context/ChatStateContext.d.ts +0 -37
- package/dist/esm/context/ChatStateContext.js +0 -1
- package/dist/esm/context/ComponentContext.d.ts +0 -29
- package/dist/esm/context/ComponentContext.js +0 -1
- package/dist/esm/context/ContactContext.d.ts +0 -18
- package/dist/esm/context/ContactContext.js +0 -1
- package/dist/esm/context/ConversationListContext.d.ts +0 -22
- package/dist/esm/context/ConversationListContext.js +0 -1
- package/dist/esm/context/LanguageContext.js +0 -1
- package/dist/esm/context/MessageContext.d.ts +0 -62
- package/dist/esm/context/MessageContext.js +0 -1
- package/dist/esm/context/MessageInputContext.d.ts +0 -36
- package/dist/esm/context/MessageInputContext.js +0 -1
- package/dist/esm/context/ThemeContext.js +0 -1
- package/dist/esm/context/UIKitContext.d.ts +0 -25
- package/dist/esm/context/UIKitContext.js +0 -1
- package/dist/esm/hooks/index.js +0 -1
- package/dist/esm/hooks/useConversation.d.ts +0 -6
- package/dist/esm/hooks/useConversation.js +0 -1
- package/dist/esm/hooks/useLongPress.d.ts +0 -3
- package/dist/esm/hooks/useLongPress.js +0 -1
- package/dist/esm/hooks/useMouseHover.js +0 -1
- package/dist/esm/hooks/useProfile.d.ts +0 -5
- package/dist/esm/hooks/useProfile.js +0 -1
- package/dist/esm/index.css +0 -2
- package/dist/esm/index.d.css +0 -2887
- package/dist/esm/index.d.ts +0 -57
- package/dist/esm/index.js +0 -1
- package/dist/esm/locales/en-US/TUIChat.js +0 -1
- package/dist/esm/locales/en-US/TUIContact.js +0 -1
- package/dist/esm/locales/en-US/TUIConversation.js +0 -1
- package/dist/esm/locales/en-US/TUIProfile.js +0 -1
- package/dist/esm/locales/en-US/emoji.js +0 -1
- package/dist/esm/locales/en-US/index.js +0 -1
- package/dist/esm/locales/index.js +0 -1
- package/dist/esm/locales/ja-JP/TUIChat.js +0 -1
- package/dist/esm/locales/ja-JP/TUIContact.js +0 -1
- package/dist/esm/locales/ja-JP/TUIConversation.js +0 -1
- package/dist/esm/locales/ja-JP/TUIProfile.js +0 -1
- package/dist/esm/locales/ja-JP/emoji.js +0 -1
- package/dist/esm/locales/ja-JP/index.js +0 -1
- package/dist/esm/locales/ko-KR/TUIChat.js +0 -1
- package/dist/esm/locales/ko-KR/TUIContact.js +0 -1
- package/dist/esm/locales/ko-KR/TUIConversation.js +0 -1
- package/dist/esm/locales/ko-KR/TUIProfile.js +0 -1
- package/dist/esm/locales/ko-KR/emoji.js +0 -1
- package/dist/esm/locales/ko-KR/index.js +0 -1
- package/dist/esm/locales/zh-CN/TUIChat.js +0 -1
- package/dist/esm/locales/zh-CN/TUIContact.js +0 -1
- package/dist/esm/locales/zh-CN/TUIConversation.js +0 -1
- package/dist/esm/locales/zh-CN/TUIProfile.js +0 -1
- package/dist/esm/locales/zh-CN/emoji.js +0 -1
- package/dist/esm/locales/zh-CN/index.js +0 -1
- package/dist/esm/locales/zh-TW/TUIChat.js +0 -1
- package/dist/esm/locales/zh-TW/TUIContact.js +0 -1
- package/dist/esm/locales/zh-TW/TUIConversation.js +0 -1
- package/dist/esm/locales/zh-TW/TUIProfile.js +0 -1
- package/dist/esm/locales/zh-TW/emoji.js +0 -1
- package/dist/esm/locales/zh-TW/index.js +0 -1
- package/dist/esm/node_modules/zustand/esm/react.mjs.js +0 -1
- package/dist/esm/node_modules/zustand/esm/vanilla.mjs.js +0 -1
- package/dist/esm/server.js +0 -1
- package/dist/esm/store/UIManagerStore.js +0 -1
- package/dist/esm/utils/env.d.ts +0 -5
- package/dist/esm/utils/env.js +0 -1
- package/index.ts +0 -1
- package/src/@types/images.d.ts +0 -7
- package/src/components/Avatar/Avatar.tsx +0 -157
- package/src/components/Avatar/index.ts +0 -2
- package/src/components/Avatar/styles/index.scss +0 -63
- package/src/components/Chat/ChatState.tsx +0 -129
- package/src/components/Chat/hooks/useCreateTUIChatStateContext.tsx +0 -46
- package/src/components/Chat/hooks/useHandleMessage.tsx +0 -65
- package/src/components/Chat/hooks/useHandleMessageList.tsx +0 -47
- package/src/components/Chat/hooks/useIsMounted.ts +0 -14
- package/src/components/Chat/server.ts +0 -44
- package/src/components/Chat/styles/index.scss +0 -1
- package/src/components/Chat/styles/layout.scss +0 -15
- package/src/components/Chat/utils.ts +0 -72
- package/src/components/ChatHeader/ChatHeaderDefault.tsx +0 -167
- package/src/components/ChatHeader/styles/index.scss +0 -2
- package/src/components/ChatHeader/styles/layout.scss +0 -46
- package/src/components/ChatSetting/ChatSetting.tsx +0 -117
- package/src/components/ChatSetting/index.ts +0 -1
- package/src/components/ChatSetting/styles/index.scss +0 -104
- package/src/components/Contact/Contact.tsx +0 -97
- package/src/components/Contact/ContactInfo/ContactInfo.tsx +0 -35
- package/src/components/Contact/ContactInfo/addFriendInfo.tsx +0 -88
- package/src/components/Contact/ContactInfo/basicInfo.tsx +0 -52
- package/src/components/Contact/ContactInfo/blockInfo.tsx +0 -45
- package/src/components/Contact/ContactInfo/friendApplication.tsx +0 -66
- package/src/components/Contact/ContactInfo/friendInfo.tsx +0 -106
- package/src/components/Contact/ContactInfo/groupInfo.tsx +0 -65
- package/src/components/Contact/ContactInfo/hooks/useContactInfo.tsx +0 -102
- package/src/components/Contact/ContactInfo/index.scss +0 -136
- package/src/components/Contact/ContactList/ContactList.tsx +0 -176
- package/src/components/Contact/ContactList/index.scss +0 -115
- package/src/components/Contact/hooks/useTUIContact.tsx +0 -89
- package/src/components/Contact/index.scss +0 -91
- package/src/components/Contact/index.ts +0 -3
- package/src/components/ContactSearch/ContactSearch.tsx +0 -101
- package/src/components/ContactSearch/hooks/useContactSearch.tsx +0 -31
- package/src/components/ContactSearch/index.scss +0 -33
- package/src/components/ConversationActions/ConversationActions.scss +0 -45
- package/src/components/ConversationActions/ConversationActions.tsx +0 -172
- package/src/components/ConversationActions/index.ts +0 -1
- package/src/components/ConversationCreate/ConversationCreate.tsx +0 -136
- package/src/components/ConversationCreate/ConversationCreateButton.tsx +0 -46
- package/src/components/ConversationCreate/ConversationCreateGroupDetail.tsx +0 -179
- package/src/components/ConversationCreate/ConversationCreateSelectView.tsx +0 -46
- package/src/components/ConversationCreate/ConversationCreateUserSelectList.tsx +0 -168
- package/src/components/ConversationCreate/ConversationGroupTypeInfo.tsx +0 -54
- package/src/components/ConversationCreate/hooks/useConversationCreate.tsx +0 -118
- package/src/components/ConversationCreate/index.ts +0 -7
- package/src/components/ConversationCreate/static/word.ts +0 -300
- package/src/components/ConversationCreate/styles/ConversationCreateGroupDetail.scss +0 -68
- package/src/components/ConversationCreate/styles/conversationCreateButton.scss +0 -5
- package/src/components/ConversationCreate/styles/conversationCreateSelectView.scss +0 -38
- package/src/components/ConversationCreate/styles/conversationGroupTypeInfo.scss +0 -64
- package/src/components/ConversationCreate/styles/index.scss +0 -149
- package/src/components/ConversationList/ConversationList.scss +0 -29
- package/src/components/ConversationList/ConversationList.tsx +0 -155
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.scss +0 -16
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.tsx +0 -63
- package/src/components/ConversationList/ConversationListContent/index.ts +0 -1
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.scss +0 -28
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.tsx +0 -43
- package/src/components/ConversationList/ConversationListHeader/index.ts +0 -1
- package/src/components/ConversationList/index.ts +0 -3
- package/src/components/ConversationPreview/ConversationPreview.scss +0 -137
- package/src/components/ConversationPreview/ConversationPreview.tsx +0 -260
- package/src/components/ConversationPreview/index.ts +0 -1
- package/src/components/ConversationPreview/utils.tsx +0 -145
- package/src/components/ConversationSearch/ConversationSearch.scss +0 -22
- package/src/components/ConversationSearch/ConversationSearch.tsx +0 -125
- package/src/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.scss +0 -13
- package/src/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.tsx +0 -42
- package/src/components/ConversationSearch/ConversationSearchInput/index.ts +0 -1
- package/src/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.scss +0 -15
- package/src/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.tsx +0 -72
- package/src/components/ConversationSearch/ConversationSearchResult/index.ts +0 -1
- package/src/components/ConversationSearch/index.ts +0 -3
- package/src/components/InfiniteScrollPaginator/InfiniteScroll.tsx +0 -115
- package/src/components/InfiniteScrollPaginator/index.ts +0 -1
- package/src/components/Input/styles/index.scss +0 -62
- package/src/components/MessageElement/Message.tsx +0 -150
- package/src/components/MessageElement/MessageAudio.tsx +0 -89
- package/src/components/MessageElement/MessageAvatar.tsx +0 -38
- package/src/components/MessageElement/MessageBubble.tsx +0 -137
- package/src/components/MessageElement/MessageContext.tsx +0 -84
- package/src/components/MessageElement/MessageCustom.tsx +0 -85
- package/src/components/MessageElement/MessageDefault.tsx +0 -104
- package/src/components/MessageElement/MessageFace.tsx +0 -28
- package/src/components/MessageElement/MessageFile.tsx +0 -41
- package/src/components/MessageElement/MessageImage.tsx +0 -46
- package/src/components/MessageElement/MessageLocation.tsx +0 -29
- package/src/components/MessageElement/MessageMerger.tsx +0 -38
- package/src/components/MessageElement/MessageName.tsx +0 -41
- package/src/components/MessageElement/MessagePlugins.tsx +0 -230
- package/src/components/MessageElement/MessageProgress.tsx +0 -89
- package/src/components/MessageElement/MessageRevoke.tsx +0 -48
- package/src/components/MessageElement/MessageStatus.tsx +0 -40
- package/src/components/MessageElement/MessageSystem.tsx +0 -30
- package/src/components/MessageElement/MessageText.tsx +0 -66
- package/src/components/MessageElement/MessageTip.tsx +0 -28
- package/src/components/MessageElement/MessageVideo.tsx +0 -45
- package/src/components/MessageElement/hooks/index.ts +0 -3
- package/src/components/MessageElement/hooks/useMessageContextHandler.ts +0 -70
- package/src/components/MessageElement/hooks/useMessageHandler.ts +0 -127
- package/src/components/MessageElement/hooks/useMessagePluginElement.tsx +0 -31
- package/src/components/MessageElement/hooks/useMessageReply.ts +0 -69
- package/src/components/MessageElement/index.ts +0 -3
- package/src/components/MessageElement/styles/color.scss +0 -45
- package/src/components/MessageElement/styles/index.scss +0 -2
- package/src/components/MessageElement/styles/layout.scss +0 -609
- package/src/components/MessageElement/utils/decodeText.ts +0 -110
- package/src/components/MessageElement/utils/emojiMap.ts +0 -95
- package/src/components/MessageElement/utils/index.ts +0 -472
- package/src/components/MessageInput/EmojiPicker.tsx +0 -80
- package/src/components/MessageInput/Forward.tsx +0 -187
- package/src/components/MessageInput/InputPluginsDefalut.tsx +0 -114
- package/src/components/MessageInput/InputQuoteDefalut.tsx +0 -44
- package/src/components/MessageInput/MessageInput.tsx +0 -116
- package/src/components/MessageInput/MessageInputDefault.tsx +0 -86
- package/src/components/MessageInput/Transmitter.tsx +0 -15
- package/src/components/MessageInput/hooks/index.ts +0 -6
- package/src/components/MessageInput/hooks/useCreateMessageInputContext.ts +0 -45
- package/src/components/MessageInput/hooks/useEmojiPicker.tsx +0 -40
- package/src/components/MessageInput/hooks/useHandleForwardMessage.tsx +0 -42
- package/src/components/MessageInput/hooks/useHandleQuoteMessage.tsx +0 -64
- package/src/components/MessageInput/hooks/useMessageInputState.tsx +0 -102
- package/src/components/MessageInput/hooks/useMessageInputText.tsx +0 -193
- package/src/components/MessageInput/hooks/usePluginsElement.tsx +0 -24
- package/src/components/MessageInput/hooks/useUploadElement.tsx +0 -35
- package/src/components/MessageInput/hooks/useUploadPicker.tsx +0 -38
- package/src/components/MessageInput/index.ts +0 -3
- package/src/components/MessageInput/styles/color.scss +0 -40
- package/src/components/MessageInput/styles/index.scss +0 -2
- package/src/components/MessageInput/styles/layout.scss +0 -360
- package/src/components/MessageList/MessageList.tsx +0 -133
- package/src/components/MessageList/hooks/useMessageListElement.tsx +0 -50
- package/src/components/MessageList/index.ts +0 -1
- package/src/components/MessageList/styles/index.scss +0 -2
- package/src/components/MessageList/styles/layout.scss +0 -61
- package/src/components/PlaceHolder/index.tsx +0 -79
- package/src/components/PlaceHolder/styles/index.scss +0 -36
- package/src/components/Toast/index.tsx +0 -44
- package/src/components/Toast/styles/color.scss +0 -11
- package/src/components/Toast/styles/index.scss +0 -2
- package/src/components/Toast/styles/layout.scss +0 -11
- package/src/components/utils.ts +0 -96
- package/src/constants.ts +0 -95
- package/src/context/ChatActionContext.tsx +0 -51
- package/src/context/ChatStateContext.tsx +0 -49
- package/src/context/ComponentContext.tsx +0 -48
- package/src/context/ConversationListContext.tsx +0 -113
- package/src/context/LanguageContext.tsx +0 -61
- package/src/context/MessageContext.tsx +0 -55
- package/src/context/MessageInputContext.tsx +0 -54
- package/src/context/ThemeContext.tsx +0 -68
- package/src/context/UIKitContext.tsx +0 -70
- package/src/context/UIManagerContext.tsx +0 -163
- package/src/hooks/useConversation.tsx +0 -30
- package/src/hooks/useLongPress.tsx +0 -117
- package/src/hooks/useMouseHover.tsx +0 -21
- package/src/hooks/useProfile.tsx +0 -8
- package/src/server.ts +0 -43
- package/src/store/UIManagerStore.ts +0 -108
- package/src/store/index.ts +0 -5
- package/src/styles/colors/_color-dark.scss +0 -45
- package/src/styles/colors/_color-light.scss +0 -45
- package/src/styles/colors/_color-theme.scss +0 -65
- package/src/utils/env.ts +0 -10
- /package/{src/components/ChatHeader/styles/color.scss → dist/external_modules/lodash-vwDjcXxQ.js} +0 -0
- /package/{src/components/MessageList/styles/color.scss → dist/types/message.js} +0 -0
- /package/src/{components/Avatar/default.ts → constant/avatar.ts} +0 -0
|
@@ -0,0 +1,1238 @@
|
|
|
1
|
+
import { g as Ye } from "./classnames-HRMVOjAa.js";
|
|
2
|
+
import V from "react";
|
|
3
|
+
import Q from "react-dom";
|
|
4
|
+
var he = { exports: {} }, ee = { exports: {} }, S = {};
|
|
5
|
+
/** @license React v16.13.1
|
|
6
|
+
* react-is.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var Te;
|
|
14
|
+
function We() {
|
|
15
|
+
if (Te) return S;
|
|
16
|
+
Te = 1;
|
|
17
|
+
var r = typeof Symbol == "function" && Symbol.for, u = r ? Symbol.for("react.element") : 60103, l = r ? Symbol.for("react.portal") : 60106, e = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, t = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, n = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, p = r ? Symbol.for("react.concurrent_mode") : 60111, v = r ? Symbol.for("react.forward_ref") : 60112, E = r ? Symbol.for("react.suspense") : 60113, P = r ? Symbol.for("react.suspense_list") : 60120, A = r ? Symbol.for("react.memo") : 60115, M = r ? Symbol.for("react.lazy") : 60116, w = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, B = r ? Symbol.for("react.scope") : 60119;
|
|
18
|
+
function $(c) {
|
|
19
|
+
if (typeof c == "object" && c !== null) {
|
|
20
|
+
var Y = c.$$typeof;
|
|
21
|
+
switch (Y) {
|
|
22
|
+
case u:
|
|
23
|
+
switch (c = c.type, c) {
|
|
24
|
+
case f:
|
|
25
|
+
case p:
|
|
26
|
+
case e:
|
|
27
|
+
case t:
|
|
28
|
+
case i:
|
|
29
|
+
case E:
|
|
30
|
+
return c;
|
|
31
|
+
default:
|
|
32
|
+
switch (c = c && c.$$typeof, c) {
|
|
33
|
+
case n:
|
|
34
|
+
case v:
|
|
35
|
+
case M:
|
|
36
|
+
case A:
|
|
37
|
+
case a:
|
|
38
|
+
return c;
|
|
39
|
+
default:
|
|
40
|
+
return Y;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
case l:
|
|
44
|
+
return Y;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function N(c) {
|
|
49
|
+
return $(c) === p;
|
|
50
|
+
}
|
|
51
|
+
return S.AsyncMode = f, S.ConcurrentMode = p, S.ContextConsumer = n, S.ContextProvider = a, S.Element = u, S.ForwardRef = v, S.Fragment = e, S.Lazy = M, S.Memo = A, S.Portal = l, S.Profiler = t, S.StrictMode = i, S.Suspense = E, S.isAsyncMode = function(c) {
|
|
52
|
+
return N(c) || $(c) === f;
|
|
53
|
+
}, S.isConcurrentMode = N, S.isContextConsumer = function(c) {
|
|
54
|
+
return $(c) === n;
|
|
55
|
+
}, S.isContextProvider = function(c) {
|
|
56
|
+
return $(c) === a;
|
|
57
|
+
}, S.isElement = function(c) {
|
|
58
|
+
return typeof c == "object" && c !== null && c.$$typeof === u;
|
|
59
|
+
}, S.isForwardRef = function(c) {
|
|
60
|
+
return $(c) === v;
|
|
61
|
+
}, S.isFragment = function(c) {
|
|
62
|
+
return $(c) === e;
|
|
63
|
+
}, S.isLazy = function(c) {
|
|
64
|
+
return $(c) === M;
|
|
65
|
+
}, S.isMemo = function(c) {
|
|
66
|
+
return $(c) === A;
|
|
67
|
+
}, S.isPortal = function(c) {
|
|
68
|
+
return $(c) === l;
|
|
69
|
+
}, S.isProfiler = function(c) {
|
|
70
|
+
return $(c) === t;
|
|
71
|
+
}, S.isStrictMode = function(c) {
|
|
72
|
+
return $(c) === i;
|
|
73
|
+
}, S.isSuspense = function(c) {
|
|
74
|
+
return $(c) === E;
|
|
75
|
+
}, S.isValidElementType = function(c) {
|
|
76
|
+
return typeof c == "string" || typeof c == "function" || c === e || c === p || c === t || c === i || c === E || c === P || typeof c == "object" && c !== null && (c.$$typeof === M || c.$$typeof === A || c.$$typeof === a || c.$$typeof === n || c.$$typeof === v || c.$$typeof === I || c.$$typeof === D || c.$$typeof === B || c.$$typeof === w);
|
|
77
|
+
}, S.typeOf = $, S;
|
|
78
|
+
}
|
|
79
|
+
var _ = {};
|
|
80
|
+
/** @license React v16.13.1
|
|
81
|
+
* react-is.development.js
|
|
82
|
+
*
|
|
83
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
84
|
+
*
|
|
85
|
+
* This source code is licensed under the MIT license found in the
|
|
86
|
+
* LICENSE file in the root directory of this source tree.
|
|
87
|
+
*/
|
|
88
|
+
var Ce;
|
|
89
|
+
function Ue() {
|
|
90
|
+
return Ce || (Ce = 1, process.env.NODE_ENV !== "production" && function() {
|
|
91
|
+
var r = typeof Symbol == "function" && Symbol.for, u = r ? Symbol.for("react.element") : 60103, l = r ? Symbol.for("react.portal") : 60106, e = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, t = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, n = r ? Symbol.for("react.context") : 60110, f = r ? Symbol.for("react.async_mode") : 60111, p = r ? Symbol.for("react.concurrent_mode") : 60111, v = r ? Symbol.for("react.forward_ref") : 60112, E = r ? Symbol.for("react.suspense") : 60113, P = r ? Symbol.for("react.suspense_list") : 60120, A = r ? Symbol.for("react.memo") : 60115, M = r ? Symbol.for("react.lazy") : 60116, w = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, D = r ? Symbol.for("react.responder") : 60118, B = r ? Symbol.for("react.scope") : 60119;
|
|
92
|
+
function $(s) {
|
|
93
|
+
return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
94
|
+
s === e || s === p || s === t || s === i || s === E || s === P || typeof s == "object" && s !== null && (s.$$typeof === M || s.$$typeof === A || s.$$typeof === a || s.$$typeof === n || s.$$typeof === v || s.$$typeof === I || s.$$typeof === D || s.$$typeof === B || s.$$typeof === w);
|
|
95
|
+
}
|
|
96
|
+
function N(s) {
|
|
97
|
+
if (typeof s == "object" && s !== null) {
|
|
98
|
+
var L = s.$$typeof;
|
|
99
|
+
switch (L) {
|
|
100
|
+
case u:
|
|
101
|
+
var Z = s.type;
|
|
102
|
+
switch (Z) {
|
|
103
|
+
case f:
|
|
104
|
+
case p:
|
|
105
|
+
case e:
|
|
106
|
+
case t:
|
|
107
|
+
case i:
|
|
108
|
+
case E:
|
|
109
|
+
return Z;
|
|
110
|
+
default:
|
|
111
|
+
var xe = Z && Z.$$typeof;
|
|
112
|
+
switch (xe) {
|
|
113
|
+
case n:
|
|
114
|
+
case v:
|
|
115
|
+
case M:
|
|
116
|
+
case A:
|
|
117
|
+
case a:
|
|
118
|
+
return xe;
|
|
119
|
+
default:
|
|
120
|
+
return L;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
case l:
|
|
124
|
+
return L;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
var c = f, Y = p, re = n, ne = a, oe = u, ie = v, J = e, ae = M, se = A, z = l, ue = t, k = i, W = E, K = !1;
|
|
129
|
+
function ce(s) {
|
|
130
|
+
return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), o(s) || N(s) === f;
|
|
131
|
+
}
|
|
132
|
+
function o(s) {
|
|
133
|
+
return N(s) === p;
|
|
134
|
+
}
|
|
135
|
+
function d(s) {
|
|
136
|
+
return N(s) === n;
|
|
137
|
+
}
|
|
138
|
+
function x(s) {
|
|
139
|
+
return N(s) === a;
|
|
140
|
+
}
|
|
141
|
+
function g(s) {
|
|
142
|
+
return typeof s == "object" && s !== null && s.$$typeof === u;
|
|
143
|
+
}
|
|
144
|
+
function h(s) {
|
|
145
|
+
return N(s) === v;
|
|
146
|
+
}
|
|
147
|
+
function T(s) {
|
|
148
|
+
return N(s) === e;
|
|
149
|
+
}
|
|
150
|
+
function m(s) {
|
|
151
|
+
return N(s) === M;
|
|
152
|
+
}
|
|
153
|
+
function b(s) {
|
|
154
|
+
return N(s) === A;
|
|
155
|
+
}
|
|
156
|
+
function C(s) {
|
|
157
|
+
return N(s) === l;
|
|
158
|
+
}
|
|
159
|
+
function R(s) {
|
|
160
|
+
return N(s) === t;
|
|
161
|
+
}
|
|
162
|
+
function O(s) {
|
|
163
|
+
return N(s) === i;
|
|
164
|
+
}
|
|
165
|
+
function j(s) {
|
|
166
|
+
return N(s) === E;
|
|
167
|
+
}
|
|
168
|
+
_.AsyncMode = c, _.ConcurrentMode = Y, _.ContextConsumer = re, _.ContextProvider = ne, _.Element = oe, _.ForwardRef = ie, _.Fragment = J, _.Lazy = ae, _.Memo = se, _.Portal = z, _.Profiler = ue, _.StrictMode = k, _.Suspense = W, _.isAsyncMode = ce, _.isConcurrentMode = o, _.isContextConsumer = d, _.isContextProvider = x, _.isElement = g, _.isForwardRef = h, _.isFragment = T, _.isLazy = m, _.isMemo = b, _.isPortal = C, _.isProfiler = R, _.isStrictMode = O, _.isSuspense = j, _.isValidElementType = $, _.typeOf = N;
|
|
169
|
+
}()), _;
|
|
170
|
+
}
|
|
171
|
+
var Oe;
|
|
172
|
+
function Ie() {
|
|
173
|
+
return Oe || (Oe = 1, process.env.NODE_ENV === "production" ? ee.exports = We() : ee.exports = Ue()), ee.exports;
|
|
174
|
+
}
|
|
175
|
+
/*
|
|
176
|
+
object-assign
|
|
177
|
+
(c) Sindre Sorhus
|
|
178
|
+
@license MIT
|
|
179
|
+
*/
|
|
180
|
+
var fe, Se;
|
|
181
|
+
function Fe() {
|
|
182
|
+
if (Se) return fe;
|
|
183
|
+
Se = 1;
|
|
184
|
+
var r = Object.getOwnPropertySymbols, u = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
185
|
+
function e(t) {
|
|
186
|
+
if (t == null)
|
|
187
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
188
|
+
return Object(t);
|
|
189
|
+
}
|
|
190
|
+
function i() {
|
|
191
|
+
try {
|
|
192
|
+
if (!Object.assign)
|
|
193
|
+
return !1;
|
|
194
|
+
var t = new String("abc");
|
|
195
|
+
if (t[5] = "de", Object.getOwnPropertyNames(t)[0] === "5")
|
|
196
|
+
return !1;
|
|
197
|
+
for (var a = {}, n = 0; n < 10; n++)
|
|
198
|
+
a["_" + String.fromCharCode(n)] = n;
|
|
199
|
+
var f = Object.getOwnPropertyNames(a).map(function(v) {
|
|
200
|
+
return a[v];
|
|
201
|
+
});
|
|
202
|
+
if (f.join("") !== "0123456789")
|
|
203
|
+
return !1;
|
|
204
|
+
var p = {};
|
|
205
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(v) {
|
|
206
|
+
p[v] = v;
|
|
207
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
208
|
+
} catch {
|
|
209
|
+
return !1;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
return fe = i() ? Object.assign : function(t, a) {
|
|
213
|
+
for (var n, f = e(t), p, v = 1; v < arguments.length; v++) {
|
|
214
|
+
n = Object(arguments[v]);
|
|
215
|
+
for (var E in n)
|
|
216
|
+
u.call(n, E) && (f[E] = n[E]);
|
|
217
|
+
if (r) {
|
|
218
|
+
p = r(n);
|
|
219
|
+
for (var P = 0; P < p.length; P++)
|
|
220
|
+
l.call(n, p[P]) && (f[p[P]] = n[p[P]]);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
return f;
|
|
224
|
+
}, fe;
|
|
225
|
+
}
|
|
226
|
+
var le, _e;
|
|
227
|
+
function be() {
|
|
228
|
+
if (_e) return le;
|
|
229
|
+
_e = 1;
|
|
230
|
+
var r = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
231
|
+
return le = r, le;
|
|
232
|
+
}
|
|
233
|
+
var pe, Re;
|
|
234
|
+
function je() {
|
|
235
|
+
return Re || (Re = 1, pe = Function.call.bind(Object.prototype.hasOwnProperty)), pe;
|
|
236
|
+
}
|
|
237
|
+
var de, Pe;
|
|
238
|
+
function Ve() {
|
|
239
|
+
if (Pe) return de;
|
|
240
|
+
Pe = 1;
|
|
241
|
+
var r = function() {
|
|
242
|
+
};
|
|
243
|
+
if (process.env.NODE_ENV !== "production") {
|
|
244
|
+
var u = be(), l = {}, e = je();
|
|
245
|
+
r = function(t) {
|
|
246
|
+
var a = "Warning: " + t;
|
|
247
|
+
typeof console < "u" && console.error(a);
|
|
248
|
+
try {
|
|
249
|
+
throw new Error(a);
|
|
250
|
+
} catch {
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
function i(t, a, n, f, p) {
|
|
255
|
+
if (process.env.NODE_ENV !== "production") {
|
|
256
|
+
for (var v in t)
|
|
257
|
+
if (e(t, v)) {
|
|
258
|
+
var E;
|
|
259
|
+
try {
|
|
260
|
+
if (typeof t[v] != "function") {
|
|
261
|
+
var P = Error(
|
|
262
|
+
(f || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
263
|
+
);
|
|
264
|
+
throw P.name = "Invariant Violation", P;
|
|
265
|
+
}
|
|
266
|
+
E = t[v](a, v, f, n, null, u);
|
|
267
|
+
} catch (M) {
|
|
268
|
+
E = M;
|
|
269
|
+
}
|
|
270
|
+
if (E && !(E instanceof Error) && r(
|
|
271
|
+
(f || "React class") + ": type specification of " + n + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
272
|
+
), E instanceof Error && !(E.message in l)) {
|
|
273
|
+
l[E.message] = !0;
|
|
274
|
+
var A = p ? p() : "";
|
|
275
|
+
r(
|
|
276
|
+
"Failed " + n + " type: " + E.message + (A ?? "")
|
|
277
|
+
);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
return i.resetWarningCache = function() {
|
|
283
|
+
process.env.NODE_ENV !== "production" && (l = {});
|
|
284
|
+
}, de = i, de;
|
|
285
|
+
}
|
|
286
|
+
var ve, we;
|
|
287
|
+
function ze() {
|
|
288
|
+
if (we) return ve;
|
|
289
|
+
we = 1;
|
|
290
|
+
var r = Ie(), u = Fe(), l = be(), e = je(), i = Ve(), t = function() {
|
|
291
|
+
};
|
|
292
|
+
process.env.NODE_ENV !== "production" && (t = function(n) {
|
|
293
|
+
var f = "Warning: " + n;
|
|
294
|
+
typeof console < "u" && console.error(f);
|
|
295
|
+
try {
|
|
296
|
+
throw new Error(f);
|
|
297
|
+
} catch {
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
function a() {
|
|
301
|
+
return null;
|
|
302
|
+
}
|
|
303
|
+
return ve = function(n, f) {
|
|
304
|
+
var p = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
|
|
305
|
+
function E(o) {
|
|
306
|
+
var d = o && (p && o[p] || o[v]);
|
|
307
|
+
if (typeof d == "function")
|
|
308
|
+
return d;
|
|
309
|
+
}
|
|
310
|
+
var P = "<<anonymous>>", A = {
|
|
311
|
+
array: D("array"),
|
|
312
|
+
bigint: D("bigint"),
|
|
313
|
+
bool: D("boolean"),
|
|
314
|
+
func: D("function"),
|
|
315
|
+
number: D("number"),
|
|
316
|
+
object: D("object"),
|
|
317
|
+
string: D("string"),
|
|
318
|
+
symbol: D("symbol"),
|
|
319
|
+
any: B(),
|
|
320
|
+
arrayOf: $,
|
|
321
|
+
element: N(),
|
|
322
|
+
elementType: c(),
|
|
323
|
+
instanceOf: Y,
|
|
324
|
+
node: ie(),
|
|
325
|
+
objectOf: ne,
|
|
326
|
+
oneOf: re,
|
|
327
|
+
oneOfType: oe,
|
|
328
|
+
shape: ae,
|
|
329
|
+
exact: se
|
|
330
|
+
};
|
|
331
|
+
function M(o, d) {
|
|
332
|
+
return o === d ? o !== 0 || 1 / o === 1 / d : o !== o && d !== d;
|
|
333
|
+
}
|
|
334
|
+
function w(o, d) {
|
|
335
|
+
this.message = o, this.data = d && typeof d == "object" ? d : {}, this.stack = "";
|
|
336
|
+
}
|
|
337
|
+
w.prototype = Error.prototype;
|
|
338
|
+
function I(o) {
|
|
339
|
+
if (process.env.NODE_ENV !== "production")
|
|
340
|
+
var d = {}, x = 0;
|
|
341
|
+
function g(T, m, b, C, R, O, j) {
|
|
342
|
+
if (C = C || P, O = O || b, j !== l) {
|
|
343
|
+
if (f) {
|
|
344
|
+
var s = new Error(
|
|
345
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
346
|
+
);
|
|
347
|
+
throw s.name = "Invariant Violation", s;
|
|
348
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
349
|
+
var L = C + ":" + b;
|
|
350
|
+
!d[L] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
351
|
+
x < 3 && (t(
|
|
352
|
+
"You are manually calling a React.PropTypes validation function for the `" + O + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
353
|
+
), d[L] = !0, x++);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return m[b] == null ? T ? m[b] === null ? new w("The " + R + " `" + O + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new w("The " + R + " `" + O + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : o(m, b, C, R, O);
|
|
357
|
+
}
|
|
358
|
+
var h = g.bind(null, !1);
|
|
359
|
+
return h.isRequired = g.bind(null, !0), h;
|
|
360
|
+
}
|
|
361
|
+
function D(o) {
|
|
362
|
+
function d(x, g, h, T, m, b) {
|
|
363
|
+
var C = x[g], R = k(C);
|
|
364
|
+
if (R !== o) {
|
|
365
|
+
var O = W(C);
|
|
366
|
+
return new w(
|
|
367
|
+
"Invalid " + T + " `" + m + "` of type " + ("`" + O + "` supplied to `" + h + "`, expected ") + ("`" + o + "`."),
|
|
368
|
+
{ expectedType: o }
|
|
369
|
+
);
|
|
370
|
+
}
|
|
371
|
+
return null;
|
|
372
|
+
}
|
|
373
|
+
return I(d);
|
|
374
|
+
}
|
|
375
|
+
function B() {
|
|
376
|
+
return I(a);
|
|
377
|
+
}
|
|
378
|
+
function $(o) {
|
|
379
|
+
function d(x, g, h, T, m) {
|
|
380
|
+
if (typeof o != "function")
|
|
381
|
+
return new w("Property `" + m + "` of component `" + h + "` has invalid PropType notation inside arrayOf.");
|
|
382
|
+
var b = x[g];
|
|
383
|
+
if (!Array.isArray(b)) {
|
|
384
|
+
var C = k(b);
|
|
385
|
+
return new w("Invalid " + T + " `" + m + "` of type " + ("`" + C + "` supplied to `" + h + "`, expected an array."));
|
|
386
|
+
}
|
|
387
|
+
for (var R = 0; R < b.length; R++) {
|
|
388
|
+
var O = o(b, R, h, T, m + "[" + R + "]", l);
|
|
389
|
+
if (O instanceof Error)
|
|
390
|
+
return O;
|
|
391
|
+
}
|
|
392
|
+
return null;
|
|
393
|
+
}
|
|
394
|
+
return I(d);
|
|
395
|
+
}
|
|
396
|
+
function N() {
|
|
397
|
+
function o(d, x, g, h, T) {
|
|
398
|
+
var m = d[x];
|
|
399
|
+
if (!n(m)) {
|
|
400
|
+
var b = k(m);
|
|
401
|
+
return new w("Invalid " + h + " `" + T + "` of type " + ("`" + b + "` supplied to `" + g + "`, expected a single ReactElement."));
|
|
402
|
+
}
|
|
403
|
+
return null;
|
|
404
|
+
}
|
|
405
|
+
return I(o);
|
|
406
|
+
}
|
|
407
|
+
function c() {
|
|
408
|
+
function o(d, x, g, h, T) {
|
|
409
|
+
var m = d[x];
|
|
410
|
+
if (!r.isValidElementType(m)) {
|
|
411
|
+
var b = k(m);
|
|
412
|
+
return new w("Invalid " + h + " `" + T + "` of type " + ("`" + b + "` supplied to `" + g + "`, expected a single ReactElement type."));
|
|
413
|
+
}
|
|
414
|
+
return null;
|
|
415
|
+
}
|
|
416
|
+
return I(o);
|
|
417
|
+
}
|
|
418
|
+
function Y(o) {
|
|
419
|
+
function d(x, g, h, T, m) {
|
|
420
|
+
if (!(x[g] instanceof o)) {
|
|
421
|
+
var b = o.name || P, C = ce(x[g]);
|
|
422
|
+
return new w("Invalid " + T + " `" + m + "` of type " + ("`" + C + "` supplied to `" + h + "`, expected ") + ("instance of `" + b + "`."));
|
|
423
|
+
}
|
|
424
|
+
return null;
|
|
425
|
+
}
|
|
426
|
+
return I(d);
|
|
427
|
+
}
|
|
428
|
+
function re(o) {
|
|
429
|
+
if (!Array.isArray(o))
|
|
430
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? t(
|
|
431
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
432
|
+
) : t("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
433
|
+
function d(x, g, h, T, m) {
|
|
434
|
+
for (var b = x[g], C = 0; C < o.length; C++)
|
|
435
|
+
if (M(b, o[C]))
|
|
436
|
+
return null;
|
|
437
|
+
var R = JSON.stringify(o, function(j, s) {
|
|
438
|
+
var L = W(s);
|
|
439
|
+
return L === "symbol" ? String(s) : s;
|
|
440
|
+
});
|
|
441
|
+
return new w("Invalid " + T + " `" + m + "` of value `" + String(b) + "` " + ("supplied to `" + h + "`, expected one of " + R + "."));
|
|
442
|
+
}
|
|
443
|
+
return I(d);
|
|
444
|
+
}
|
|
445
|
+
function ne(o) {
|
|
446
|
+
function d(x, g, h, T, m) {
|
|
447
|
+
if (typeof o != "function")
|
|
448
|
+
return new w("Property `" + m + "` of component `" + h + "` has invalid PropType notation inside objectOf.");
|
|
449
|
+
var b = x[g], C = k(b);
|
|
450
|
+
if (C !== "object")
|
|
451
|
+
return new w("Invalid " + T + " `" + m + "` of type " + ("`" + C + "` supplied to `" + h + "`, expected an object."));
|
|
452
|
+
for (var R in b)
|
|
453
|
+
if (e(b, R)) {
|
|
454
|
+
var O = o(b, R, h, T, m + "." + R, l);
|
|
455
|
+
if (O instanceof Error)
|
|
456
|
+
return O;
|
|
457
|
+
}
|
|
458
|
+
return null;
|
|
459
|
+
}
|
|
460
|
+
return I(d);
|
|
461
|
+
}
|
|
462
|
+
function oe(o) {
|
|
463
|
+
if (!Array.isArray(o))
|
|
464
|
+
return process.env.NODE_ENV !== "production" && t("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
465
|
+
for (var d = 0; d < o.length; d++) {
|
|
466
|
+
var x = o[d];
|
|
467
|
+
if (typeof x != "function")
|
|
468
|
+
return t(
|
|
469
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(x) + " at index " + d + "."
|
|
470
|
+
), a;
|
|
471
|
+
}
|
|
472
|
+
function g(h, T, m, b, C) {
|
|
473
|
+
for (var R = [], O = 0; O < o.length; O++) {
|
|
474
|
+
var j = o[O], s = j(h, T, m, b, C, l);
|
|
475
|
+
if (s == null)
|
|
476
|
+
return null;
|
|
477
|
+
s.data && e(s.data, "expectedType") && R.push(s.data.expectedType);
|
|
478
|
+
}
|
|
479
|
+
var L = R.length > 0 ? ", expected one of type [" + R.join(", ") + "]" : "";
|
|
480
|
+
return new w("Invalid " + b + " `" + C + "` supplied to " + ("`" + m + "`" + L + "."));
|
|
481
|
+
}
|
|
482
|
+
return I(g);
|
|
483
|
+
}
|
|
484
|
+
function ie() {
|
|
485
|
+
function o(d, x, g, h, T) {
|
|
486
|
+
return z(d[x]) ? null : new w("Invalid " + h + " `" + T + "` supplied to " + ("`" + g + "`, expected a ReactNode."));
|
|
487
|
+
}
|
|
488
|
+
return I(o);
|
|
489
|
+
}
|
|
490
|
+
function J(o, d, x, g, h) {
|
|
491
|
+
return new w(
|
|
492
|
+
(o || "React class") + ": " + d + " type `" + x + "." + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
|
|
493
|
+
);
|
|
494
|
+
}
|
|
495
|
+
function ae(o) {
|
|
496
|
+
function d(x, g, h, T, m) {
|
|
497
|
+
var b = x[g], C = k(b);
|
|
498
|
+
if (C !== "object")
|
|
499
|
+
return new w("Invalid " + T + " `" + m + "` of type `" + C + "` " + ("supplied to `" + h + "`, expected `object`."));
|
|
500
|
+
for (var R in o) {
|
|
501
|
+
var O = o[R];
|
|
502
|
+
if (typeof O != "function")
|
|
503
|
+
return J(h, T, m, R, W(O));
|
|
504
|
+
var j = O(b, R, h, T, m + "." + R, l);
|
|
505
|
+
if (j)
|
|
506
|
+
return j;
|
|
507
|
+
}
|
|
508
|
+
return null;
|
|
509
|
+
}
|
|
510
|
+
return I(d);
|
|
511
|
+
}
|
|
512
|
+
function se(o) {
|
|
513
|
+
function d(x, g, h, T, m) {
|
|
514
|
+
var b = x[g], C = k(b);
|
|
515
|
+
if (C !== "object")
|
|
516
|
+
return new w("Invalid " + T + " `" + m + "` of type `" + C + "` " + ("supplied to `" + h + "`, expected `object`."));
|
|
517
|
+
var R = u({}, x[g], o);
|
|
518
|
+
for (var O in R) {
|
|
519
|
+
var j = o[O];
|
|
520
|
+
if (e(o, O) && typeof j != "function")
|
|
521
|
+
return J(h, T, m, O, W(j));
|
|
522
|
+
if (!j)
|
|
523
|
+
return new w(
|
|
524
|
+
"Invalid " + T + " `" + m + "` key `" + O + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(x[g], null, " ") + `
|
|
525
|
+
Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
|
|
526
|
+
);
|
|
527
|
+
var s = j(b, O, h, T, m + "." + O, l);
|
|
528
|
+
if (s)
|
|
529
|
+
return s;
|
|
530
|
+
}
|
|
531
|
+
return null;
|
|
532
|
+
}
|
|
533
|
+
return I(d);
|
|
534
|
+
}
|
|
535
|
+
function z(o) {
|
|
536
|
+
switch (typeof o) {
|
|
537
|
+
case "number":
|
|
538
|
+
case "string":
|
|
539
|
+
case "undefined":
|
|
540
|
+
return !0;
|
|
541
|
+
case "boolean":
|
|
542
|
+
return !o;
|
|
543
|
+
case "object":
|
|
544
|
+
if (Array.isArray(o))
|
|
545
|
+
return o.every(z);
|
|
546
|
+
if (o === null || n(o))
|
|
547
|
+
return !0;
|
|
548
|
+
var d = E(o);
|
|
549
|
+
if (d) {
|
|
550
|
+
var x = d.call(o), g;
|
|
551
|
+
if (d !== o.entries) {
|
|
552
|
+
for (; !(g = x.next()).done; )
|
|
553
|
+
if (!z(g.value))
|
|
554
|
+
return !1;
|
|
555
|
+
} else
|
|
556
|
+
for (; !(g = x.next()).done; ) {
|
|
557
|
+
var h = g.value;
|
|
558
|
+
if (h && !z(h[1]))
|
|
559
|
+
return !1;
|
|
560
|
+
}
|
|
561
|
+
} else
|
|
562
|
+
return !1;
|
|
563
|
+
return !0;
|
|
564
|
+
default:
|
|
565
|
+
return !1;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
function ue(o, d) {
|
|
569
|
+
return o === "symbol" ? !0 : d ? d["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && d instanceof Symbol : !1;
|
|
570
|
+
}
|
|
571
|
+
function k(o) {
|
|
572
|
+
var d = typeof o;
|
|
573
|
+
return Array.isArray(o) ? "array" : o instanceof RegExp ? "object" : ue(d, o) ? "symbol" : d;
|
|
574
|
+
}
|
|
575
|
+
function W(o) {
|
|
576
|
+
if (typeof o > "u" || o === null)
|
|
577
|
+
return "" + o;
|
|
578
|
+
var d = k(o);
|
|
579
|
+
if (d === "object") {
|
|
580
|
+
if (o instanceof Date)
|
|
581
|
+
return "date";
|
|
582
|
+
if (o instanceof RegExp)
|
|
583
|
+
return "regexp";
|
|
584
|
+
}
|
|
585
|
+
return d;
|
|
586
|
+
}
|
|
587
|
+
function K(o) {
|
|
588
|
+
var d = W(o);
|
|
589
|
+
switch (d) {
|
|
590
|
+
case "array":
|
|
591
|
+
case "object":
|
|
592
|
+
return "an " + d;
|
|
593
|
+
case "boolean":
|
|
594
|
+
case "date":
|
|
595
|
+
case "regexp":
|
|
596
|
+
return "a " + d;
|
|
597
|
+
default:
|
|
598
|
+
return d;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
function ce(o) {
|
|
602
|
+
return !o.constructor || !o.constructor.name ? P : o.constructor.name;
|
|
603
|
+
}
|
|
604
|
+
return A.checkPropTypes = i, A.resetWarningCache = i.resetWarningCache, A.PropTypes = A, A;
|
|
605
|
+
}, ve;
|
|
606
|
+
}
|
|
607
|
+
var ye, Ae;
|
|
608
|
+
function Ge() {
|
|
609
|
+
if (Ae) return ye;
|
|
610
|
+
Ae = 1;
|
|
611
|
+
var r = be();
|
|
612
|
+
function u() {
|
|
613
|
+
}
|
|
614
|
+
function l() {
|
|
615
|
+
}
|
|
616
|
+
return l.resetWarningCache = u, ye = function() {
|
|
617
|
+
function e(a, n, f, p, v, E) {
|
|
618
|
+
if (E !== r) {
|
|
619
|
+
var P = new Error(
|
|
620
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
621
|
+
);
|
|
622
|
+
throw P.name = "Invariant Violation", P;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
e.isRequired = e;
|
|
626
|
+
function i() {
|
|
627
|
+
return e;
|
|
628
|
+
}
|
|
629
|
+
var t = {
|
|
630
|
+
array: e,
|
|
631
|
+
bigint: e,
|
|
632
|
+
bool: e,
|
|
633
|
+
func: e,
|
|
634
|
+
number: e,
|
|
635
|
+
object: e,
|
|
636
|
+
string: e,
|
|
637
|
+
symbol: e,
|
|
638
|
+
any: e,
|
|
639
|
+
arrayOf: i,
|
|
640
|
+
element: e,
|
|
641
|
+
elementType: e,
|
|
642
|
+
instanceOf: i,
|
|
643
|
+
node: e,
|
|
644
|
+
objectOf: i,
|
|
645
|
+
oneOf: i,
|
|
646
|
+
oneOfType: i,
|
|
647
|
+
shape: i,
|
|
648
|
+
exact: i,
|
|
649
|
+
checkPropTypes: l,
|
|
650
|
+
resetWarningCache: u
|
|
651
|
+
};
|
|
652
|
+
return t.PropTypes = t, t;
|
|
653
|
+
}, ye;
|
|
654
|
+
}
|
|
655
|
+
if (process.env.NODE_ENV !== "production") {
|
|
656
|
+
var Xe = Ie(), Be = !0;
|
|
657
|
+
he.exports = ze()(Xe.isElement, Be);
|
|
658
|
+
} else
|
|
659
|
+
he.exports = Ge()();
|
|
660
|
+
var He = he.exports;
|
|
661
|
+
const y = /* @__PURE__ */ Ye(He);
|
|
662
|
+
function te() {
|
|
663
|
+
return te = Object.assign ? Object.assign.bind() : function(r) {
|
|
664
|
+
for (var u = 1; u < arguments.length; u++) {
|
|
665
|
+
var l = arguments[u];
|
|
666
|
+
for (var e in l) ({}).hasOwnProperty.call(l, e) && (r[e] = l[e]);
|
|
667
|
+
}
|
|
668
|
+
return r;
|
|
669
|
+
}, te.apply(null, arguments);
|
|
670
|
+
}
|
|
671
|
+
function Me(r, u) {
|
|
672
|
+
if (r == null) return {};
|
|
673
|
+
var l = {};
|
|
674
|
+
for (var e in r) if ({}.hasOwnProperty.call(r, e)) {
|
|
675
|
+
if (u.indexOf(e) !== -1) continue;
|
|
676
|
+
l[e] = r[e];
|
|
677
|
+
}
|
|
678
|
+
return l;
|
|
679
|
+
}
|
|
680
|
+
function me(r, u) {
|
|
681
|
+
return me = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(l, e) {
|
|
682
|
+
return l.__proto__ = e, l;
|
|
683
|
+
}, me(r, u);
|
|
684
|
+
}
|
|
685
|
+
function De(r, u) {
|
|
686
|
+
r.prototype = Object.create(u.prototype), r.prototype.constructor = r, me(r, u);
|
|
687
|
+
}
|
|
688
|
+
function Je(r, u) {
|
|
689
|
+
return r.classList ? !!u && r.classList.contains(u) : (" " + (r.className.baseVal || r.className) + " ").indexOf(" " + u + " ") !== -1;
|
|
690
|
+
}
|
|
691
|
+
function Ke(r, u) {
|
|
692
|
+
r.classList ? r.classList.add(u) : Je(r, u) || (typeof r.className == "string" ? r.className = r.className + " " + u : r.setAttribute("class", (r.className && r.className.baseVal || "") + " " + u));
|
|
693
|
+
}
|
|
694
|
+
function Ne(r, u) {
|
|
695
|
+
return r.replace(new RegExp("(^|\\s)" + u + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
696
|
+
}
|
|
697
|
+
function Ze(r, u) {
|
|
698
|
+
r.classList ? r.classList.remove(u) : typeof r.className == "string" ? r.className = Ne(r.className, u) : r.setAttribute("class", Ne(r.className && r.className.baseVal || "", u));
|
|
699
|
+
}
|
|
700
|
+
const $e = {
|
|
701
|
+
disabled: !1
|
|
702
|
+
};
|
|
703
|
+
var Qe = process.env.NODE_ENV !== "production" ? y.oneOfType([y.number, y.shape({
|
|
704
|
+
enter: y.number,
|
|
705
|
+
exit: y.number,
|
|
706
|
+
appear: y.number
|
|
707
|
+
}).isRequired]) : null, et = process.env.NODE_ENV !== "production" ? y.oneOfType([y.string, y.shape({
|
|
708
|
+
enter: y.string,
|
|
709
|
+
exit: y.string,
|
|
710
|
+
active: y.string
|
|
711
|
+
}), y.shape({
|
|
712
|
+
enter: y.string,
|
|
713
|
+
enterDone: y.string,
|
|
714
|
+
enterActive: y.string,
|
|
715
|
+
exit: y.string,
|
|
716
|
+
exitDone: y.string,
|
|
717
|
+
exitActive: y.string
|
|
718
|
+
})]) : null;
|
|
719
|
+
const ke = V.createContext(null);
|
|
720
|
+
var Le = function(u) {
|
|
721
|
+
return u.scrollTop;
|
|
722
|
+
}, H = "unmounted", U = "exited", F = "entering", X = "entered", ge = "exiting", q = /* @__PURE__ */ function(r) {
|
|
723
|
+
De(u, r);
|
|
724
|
+
function u(e, i) {
|
|
725
|
+
var t;
|
|
726
|
+
t = r.call(this, e, i) || this;
|
|
727
|
+
var a = i, n = a && !a.isMounting ? e.enter : e.appear, f;
|
|
728
|
+
return t.appearStatus = null, e.in ? n ? (f = U, t.appearStatus = F) : f = X : e.unmountOnExit || e.mountOnEnter ? f = H : f = U, t.state = {
|
|
729
|
+
status: f
|
|
730
|
+
}, t.nextCallback = null, t;
|
|
731
|
+
}
|
|
732
|
+
u.getDerivedStateFromProps = function(i, t) {
|
|
733
|
+
var a = i.in;
|
|
734
|
+
return a && t.status === H ? {
|
|
735
|
+
status: U
|
|
736
|
+
} : null;
|
|
737
|
+
};
|
|
738
|
+
var l = u.prototype;
|
|
739
|
+
return l.componentDidMount = function() {
|
|
740
|
+
this.updateStatus(!0, this.appearStatus);
|
|
741
|
+
}, l.componentDidUpdate = function(i) {
|
|
742
|
+
var t = null;
|
|
743
|
+
if (i !== this.props) {
|
|
744
|
+
var a = this.state.status;
|
|
745
|
+
this.props.in ? a !== F && a !== X && (t = F) : (a === F || a === X) && (t = ge);
|
|
746
|
+
}
|
|
747
|
+
this.updateStatus(!1, t);
|
|
748
|
+
}, l.componentWillUnmount = function() {
|
|
749
|
+
this.cancelNextCallback();
|
|
750
|
+
}, l.getTimeouts = function() {
|
|
751
|
+
var i = this.props.timeout, t, a, n;
|
|
752
|
+
return t = a = n = i, i != null && typeof i != "number" && (t = i.exit, a = i.enter, n = i.appear !== void 0 ? i.appear : a), {
|
|
753
|
+
exit: t,
|
|
754
|
+
enter: a,
|
|
755
|
+
appear: n
|
|
756
|
+
};
|
|
757
|
+
}, l.updateStatus = function(i, t) {
|
|
758
|
+
if (i === void 0 && (i = !1), t !== null)
|
|
759
|
+
if (this.cancelNextCallback(), t === F) {
|
|
760
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
761
|
+
var a = this.props.nodeRef ? this.props.nodeRef.current : Q.findDOMNode(this);
|
|
762
|
+
a && Le(a);
|
|
763
|
+
}
|
|
764
|
+
this.performEnter(i);
|
|
765
|
+
} else
|
|
766
|
+
this.performExit();
|
|
767
|
+
else this.props.unmountOnExit && this.state.status === U && this.setState({
|
|
768
|
+
status: H
|
|
769
|
+
});
|
|
770
|
+
}, l.performEnter = function(i) {
|
|
771
|
+
var t = this, a = this.props.enter, n = this.context ? this.context.isMounting : i, f = this.props.nodeRef ? [n] : [Q.findDOMNode(this), n], p = f[0], v = f[1], E = this.getTimeouts(), P = n ? E.appear : E.enter;
|
|
772
|
+
if (!i && !a || $e.disabled) {
|
|
773
|
+
this.safeSetState({
|
|
774
|
+
status: X
|
|
775
|
+
}, function() {
|
|
776
|
+
t.props.onEntered(p);
|
|
777
|
+
});
|
|
778
|
+
return;
|
|
779
|
+
}
|
|
780
|
+
this.props.onEnter(p, v), this.safeSetState({
|
|
781
|
+
status: F
|
|
782
|
+
}, function() {
|
|
783
|
+
t.props.onEntering(p, v), t.onTransitionEnd(P, function() {
|
|
784
|
+
t.safeSetState({
|
|
785
|
+
status: X
|
|
786
|
+
}, function() {
|
|
787
|
+
t.props.onEntered(p, v);
|
|
788
|
+
});
|
|
789
|
+
});
|
|
790
|
+
});
|
|
791
|
+
}, l.performExit = function() {
|
|
792
|
+
var i = this, t = this.props.exit, a = this.getTimeouts(), n = this.props.nodeRef ? void 0 : Q.findDOMNode(this);
|
|
793
|
+
if (!t || $e.disabled) {
|
|
794
|
+
this.safeSetState({
|
|
795
|
+
status: U
|
|
796
|
+
}, function() {
|
|
797
|
+
i.props.onExited(n);
|
|
798
|
+
});
|
|
799
|
+
return;
|
|
800
|
+
}
|
|
801
|
+
this.props.onExit(n), this.safeSetState({
|
|
802
|
+
status: ge
|
|
803
|
+
}, function() {
|
|
804
|
+
i.props.onExiting(n), i.onTransitionEnd(a.exit, function() {
|
|
805
|
+
i.safeSetState({
|
|
806
|
+
status: U
|
|
807
|
+
}, function() {
|
|
808
|
+
i.props.onExited(n);
|
|
809
|
+
});
|
|
810
|
+
});
|
|
811
|
+
});
|
|
812
|
+
}, l.cancelNextCallback = function() {
|
|
813
|
+
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
814
|
+
}, l.safeSetState = function(i, t) {
|
|
815
|
+
t = this.setNextCallback(t), this.setState(i, t);
|
|
816
|
+
}, l.setNextCallback = function(i) {
|
|
817
|
+
var t = this, a = !0;
|
|
818
|
+
return this.nextCallback = function(n) {
|
|
819
|
+
a && (a = !1, t.nextCallback = null, i(n));
|
|
820
|
+
}, this.nextCallback.cancel = function() {
|
|
821
|
+
a = !1;
|
|
822
|
+
}, this.nextCallback;
|
|
823
|
+
}, l.onTransitionEnd = function(i, t) {
|
|
824
|
+
this.setNextCallback(t);
|
|
825
|
+
var a = this.props.nodeRef ? this.props.nodeRef.current : Q.findDOMNode(this), n = i == null && !this.props.addEndListener;
|
|
826
|
+
if (!a || n) {
|
|
827
|
+
setTimeout(this.nextCallback, 0);
|
|
828
|
+
return;
|
|
829
|
+
}
|
|
830
|
+
if (this.props.addEndListener) {
|
|
831
|
+
var f = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], p = f[0], v = f[1];
|
|
832
|
+
this.props.addEndListener(p, v);
|
|
833
|
+
}
|
|
834
|
+
i != null && setTimeout(this.nextCallback, i);
|
|
835
|
+
}, l.render = function() {
|
|
836
|
+
var i = this.state.status;
|
|
837
|
+
if (i === H)
|
|
838
|
+
return null;
|
|
839
|
+
var t = this.props, a = t.children;
|
|
840
|
+
t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
|
|
841
|
+
var n = Me(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
842
|
+
return (
|
|
843
|
+
// allows for nested Transitions
|
|
844
|
+
/* @__PURE__ */ V.createElement(ke.Provider, {
|
|
845
|
+
value: null
|
|
846
|
+
}, typeof a == "function" ? a(i, n) : V.cloneElement(V.Children.only(a), n))
|
|
847
|
+
);
|
|
848
|
+
}, u;
|
|
849
|
+
}(V.Component);
|
|
850
|
+
q.contextType = ke;
|
|
851
|
+
q.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
852
|
+
/**
|
|
853
|
+
* A React reference to DOM element that need to transition:
|
|
854
|
+
* https://stackoverflow.com/a/51127130/4671932
|
|
855
|
+
*
|
|
856
|
+
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
857
|
+
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
858
|
+
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
859
|
+
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
860
|
+
* (see
|
|
861
|
+
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
862
|
+
*/
|
|
863
|
+
nodeRef: y.shape({
|
|
864
|
+
current: typeof Element > "u" ? y.any : function(r, u, l, e, i, t) {
|
|
865
|
+
var a = r[u];
|
|
866
|
+
return y.instanceOf(a && "ownerDocument" in a ? a.ownerDocument.defaultView.Element : Element)(r, u, l, e, i, t);
|
|
867
|
+
}
|
|
868
|
+
}),
|
|
869
|
+
/**
|
|
870
|
+
* A `function` child can be used instead of a React element. This function is
|
|
871
|
+
* called with the current transition status (`'entering'`, `'entered'`,
|
|
872
|
+
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
873
|
+
* specific props to a component.
|
|
874
|
+
*
|
|
875
|
+
* ```jsx
|
|
876
|
+
* <Transition in={this.state.in} timeout={150}>
|
|
877
|
+
* {state => (
|
|
878
|
+
* <MyComponent className={`fade fade-${state}`} />
|
|
879
|
+
* )}
|
|
880
|
+
* </Transition>
|
|
881
|
+
* ```
|
|
882
|
+
*/
|
|
883
|
+
children: y.oneOfType([y.func.isRequired, y.element.isRequired]).isRequired,
|
|
884
|
+
/**
|
|
885
|
+
* Show the component; triggers the enter or exit states
|
|
886
|
+
*/
|
|
887
|
+
in: y.bool,
|
|
888
|
+
/**
|
|
889
|
+
* By default the child component is mounted immediately along with
|
|
890
|
+
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
891
|
+
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
892
|
+
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
893
|
+
*/
|
|
894
|
+
mountOnEnter: y.bool,
|
|
895
|
+
/**
|
|
896
|
+
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
897
|
+
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
898
|
+
*/
|
|
899
|
+
unmountOnExit: y.bool,
|
|
900
|
+
/**
|
|
901
|
+
* By default the child component does not perform the enter transition when
|
|
902
|
+
* it first mounts, regardless of the value of `in`. If you want this
|
|
903
|
+
* behavior, set both `appear` and `in` to `true`.
|
|
904
|
+
*
|
|
905
|
+
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
906
|
+
* > only adds an additional enter transition. However, in the
|
|
907
|
+
* > `<CSSTransition>` component that first enter transition does result in
|
|
908
|
+
* > additional `.appear-*` classes, that way you can choose to style it
|
|
909
|
+
* > differently.
|
|
910
|
+
*/
|
|
911
|
+
appear: y.bool,
|
|
912
|
+
/**
|
|
913
|
+
* Enable or disable enter transitions.
|
|
914
|
+
*/
|
|
915
|
+
enter: y.bool,
|
|
916
|
+
/**
|
|
917
|
+
* Enable or disable exit transitions.
|
|
918
|
+
*/
|
|
919
|
+
exit: y.bool,
|
|
920
|
+
/**
|
|
921
|
+
* The duration of the transition, in milliseconds.
|
|
922
|
+
* Required unless `addEndListener` is provided.
|
|
923
|
+
*
|
|
924
|
+
* You may specify a single timeout for all transitions:
|
|
925
|
+
*
|
|
926
|
+
* ```jsx
|
|
927
|
+
* timeout={500}
|
|
928
|
+
* ```
|
|
929
|
+
*
|
|
930
|
+
* or individually:
|
|
931
|
+
*
|
|
932
|
+
* ```jsx
|
|
933
|
+
* timeout={{
|
|
934
|
+
* appear: 500,
|
|
935
|
+
* enter: 300,
|
|
936
|
+
* exit: 500,
|
|
937
|
+
* }}
|
|
938
|
+
* ```
|
|
939
|
+
*
|
|
940
|
+
* - `appear` defaults to the value of `enter`
|
|
941
|
+
* - `enter` defaults to `0`
|
|
942
|
+
* - `exit` defaults to `0`
|
|
943
|
+
*
|
|
944
|
+
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
945
|
+
*/
|
|
946
|
+
timeout: function(u) {
|
|
947
|
+
var l = Qe;
|
|
948
|
+
u.addEndListener || (l = l.isRequired);
|
|
949
|
+
for (var e = arguments.length, i = new Array(e > 1 ? e - 1 : 0), t = 1; t < e; t++)
|
|
950
|
+
i[t - 1] = arguments[t];
|
|
951
|
+
return l.apply(void 0, [u].concat(i));
|
|
952
|
+
},
|
|
953
|
+
/**
|
|
954
|
+
* Add a custom transition end trigger. Called with the transitioning
|
|
955
|
+
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
956
|
+
* logic. Timeouts are still used as a fallback if provided.
|
|
957
|
+
*
|
|
958
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
959
|
+
*
|
|
960
|
+
* ```jsx
|
|
961
|
+
* addEndListener={(node, done) => {
|
|
962
|
+
* // use the css transitionend event to mark the finish of a transition
|
|
963
|
+
* node.addEventListener('transitionend', done, false);
|
|
964
|
+
* }}
|
|
965
|
+
* ```
|
|
966
|
+
*/
|
|
967
|
+
addEndListener: y.func,
|
|
968
|
+
/**
|
|
969
|
+
* Callback fired before the "entering" status is applied. An extra parameter
|
|
970
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
971
|
+
*
|
|
972
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
973
|
+
*
|
|
974
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
975
|
+
*/
|
|
976
|
+
onEnter: y.func,
|
|
977
|
+
/**
|
|
978
|
+
* Callback fired after the "entering" status is applied. An extra parameter
|
|
979
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
980
|
+
*
|
|
981
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
982
|
+
*
|
|
983
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
984
|
+
*/
|
|
985
|
+
onEntering: y.func,
|
|
986
|
+
/**
|
|
987
|
+
* Callback fired after the "entered" status is applied. An extra parameter
|
|
988
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
989
|
+
*
|
|
990
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
991
|
+
*
|
|
992
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
993
|
+
*/
|
|
994
|
+
onEntered: y.func,
|
|
995
|
+
/**
|
|
996
|
+
* Callback fired before the "exiting" status is applied.
|
|
997
|
+
*
|
|
998
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
999
|
+
*
|
|
1000
|
+
* @type Function(node: HtmlElement) -> void
|
|
1001
|
+
*/
|
|
1002
|
+
onExit: y.func,
|
|
1003
|
+
/**
|
|
1004
|
+
* Callback fired after the "exiting" status is applied.
|
|
1005
|
+
*
|
|
1006
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
1007
|
+
*
|
|
1008
|
+
* @type Function(node: HtmlElement) -> void
|
|
1009
|
+
*/
|
|
1010
|
+
onExiting: y.func,
|
|
1011
|
+
/**
|
|
1012
|
+
* Callback fired after the "exited" status is applied.
|
|
1013
|
+
*
|
|
1014
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
1015
|
+
*
|
|
1016
|
+
* @type Function(node: HtmlElement) -> void
|
|
1017
|
+
*/
|
|
1018
|
+
onExited: y.func
|
|
1019
|
+
} : {};
|
|
1020
|
+
function G() {
|
|
1021
|
+
}
|
|
1022
|
+
q.defaultProps = {
|
|
1023
|
+
in: !1,
|
|
1024
|
+
mountOnEnter: !1,
|
|
1025
|
+
unmountOnExit: !1,
|
|
1026
|
+
appear: !1,
|
|
1027
|
+
enter: !0,
|
|
1028
|
+
exit: !0,
|
|
1029
|
+
onEnter: G,
|
|
1030
|
+
onEntering: G,
|
|
1031
|
+
onEntered: G,
|
|
1032
|
+
onExit: G,
|
|
1033
|
+
onExiting: G,
|
|
1034
|
+
onExited: G
|
|
1035
|
+
};
|
|
1036
|
+
q.UNMOUNTED = H;
|
|
1037
|
+
q.EXITED = U;
|
|
1038
|
+
q.ENTERING = F;
|
|
1039
|
+
q.ENTERED = X;
|
|
1040
|
+
q.EXITING = ge;
|
|
1041
|
+
var tt = function(u, l) {
|
|
1042
|
+
return u && l && l.split(" ").forEach(function(e) {
|
|
1043
|
+
return Ke(u, e);
|
|
1044
|
+
});
|
|
1045
|
+
}, Ee = function(u, l) {
|
|
1046
|
+
return u && l && l.split(" ").forEach(function(e) {
|
|
1047
|
+
return Ze(u, e);
|
|
1048
|
+
});
|
|
1049
|
+
}, qe = /* @__PURE__ */ function(r) {
|
|
1050
|
+
De(u, r);
|
|
1051
|
+
function u() {
|
|
1052
|
+
for (var e, i = arguments.length, t = new Array(i), a = 0; a < i; a++)
|
|
1053
|
+
t[a] = arguments[a];
|
|
1054
|
+
return e = r.call.apply(r, [this].concat(t)) || this, e.appliedClasses = {
|
|
1055
|
+
appear: {},
|
|
1056
|
+
enter: {},
|
|
1057
|
+
exit: {}
|
|
1058
|
+
}, e.onEnter = function(n, f) {
|
|
1059
|
+
var p = e.resolveArguments(n, f), v = p[0], E = p[1];
|
|
1060
|
+
e.removeClasses(v, "exit"), e.addClass(v, E ? "appear" : "enter", "base"), e.props.onEnter && e.props.onEnter(n, f);
|
|
1061
|
+
}, e.onEntering = function(n, f) {
|
|
1062
|
+
var p = e.resolveArguments(n, f), v = p[0], E = p[1], P = E ? "appear" : "enter";
|
|
1063
|
+
e.addClass(v, P, "active"), e.props.onEntering && e.props.onEntering(n, f);
|
|
1064
|
+
}, e.onEntered = function(n, f) {
|
|
1065
|
+
var p = e.resolveArguments(n, f), v = p[0], E = p[1], P = E ? "appear" : "enter";
|
|
1066
|
+
e.removeClasses(v, P), e.addClass(v, P, "done"), e.props.onEntered && e.props.onEntered(n, f);
|
|
1067
|
+
}, e.onExit = function(n) {
|
|
1068
|
+
var f = e.resolveArguments(n), p = f[0];
|
|
1069
|
+
e.removeClasses(p, "appear"), e.removeClasses(p, "enter"), e.addClass(p, "exit", "base"), e.props.onExit && e.props.onExit(n);
|
|
1070
|
+
}, e.onExiting = function(n) {
|
|
1071
|
+
var f = e.resolveArguments(n), p = f[0];
|
|
1072
|
+
e.addClass(p, "exit", "active"), e.props.onExiting && e.props.onExiting(n);
|
|
1073
|
+
}, e.onExited = function(n) {
|
|
1074
|
+
var f = e.resolveArguments(n), p = f[0];
|
|
1075
|
+
e.removeClasses(p, "exit"), e.addClass(p, "exit", "done"), e.props.onExited && e.props.onExited(n);
|
|
1076
|
+
}, e.resolveArguments = function(n, f) {
|
|
1077
|
+
return e.props.nodeRef ? [e.props.nodeRef.current, n] : [n, f];
|
|
1078
|
+
}, e.getClassNames = function(n) {
|
|
1079
|
+
var f = e.props.classNames, p = typeof f == "string", v = p && f ? f + "-" : "", E = p ? "" + v + n : f[n], P = p ? E + "-active" : f[n + "Active"], A = p ? E + "-done" : f[n + "Done"];
|
|
1080
|
+
return {
|
|
1081
|
+
baseClassName: E,
|
|
1082
|
+
activeClassName: P,
|
|
1083
|
+
doneClassName: A
|
|
1084
|
+
};
|
|
1085
|
+
}, e;
|
|
1086
|
+
}
|
|
1087
|
+
var l = u.prototype;
|
|
1088
|
+
return l.addClass = function(i, t, a) {
|
|
1089
|
+
var n = this.getClassNames(t)[a + "ClassName"], f = this.getClassNames("enter"), p = f.doneClassName;
|
|
1090
|
+
t === "appear" && a === "done" && p && (n += " " + p), a === "active" && i && Le(i), n && (this.appliedClasses[t][a] = n, tt(i, n));
|
|
1091
|
+
}, l.removeClasses = function(i, t) {
|
|
1092
|
+
var a = this.appliedClasses[t], n = a.base, f = a.active, p = a.done;
|
|
1093
|
+
this.appliedClasses[t] = {}, n && Ee(i, n), f && Ee(i, f), p && Ee(i, p);
|
|
1094
|
+
}, l.render = function() {
|
|
1095
|
+
var i = this.props;
|
|
1096
|
+
i.classNames;
|
|
1097
|
+
var t = Me(i, ["classNames"]);
|
|
1098
|
+
return /* @__PURE__ */ V.createElement(q, te({}, t, {
|
|
1099
|
+
onEnter: this.onEnter,
|
|
1100
|
+
onEntered: this.onEntered,
|
|
1101
|
+
onEntering: this.onEntering,
|
|
1102
|
+
onExit: this.onExit,
|
|
1103
|
+
onExiting: this.onExiting,
|
|
1104
|
+
onExited: this.onExited
|
|
1105
|
+
}));
|
|
1106
|
+
}, u;
|
|
1107
|
+
}(V.Component);
|
|
1108
|
+
qe.defaultProps = {
|
|
1109
|
+
classNames: ""
|
|
1110
|
+
};
|
|
1111
|
+
qe.propTypes = process.env.NODE_ENV !== "production" ? te({}, q.propTypes, {
|
|
1112
|
+
/**
|
|
1113
|
+
* The animation classNames applied to the component as it appears, enters,
|
|
1114
|
+
* exits or has finished the transition. A single name can be provided, which
|
|
1115
|
+
* will be suffixed for each stage, e.g. `classNames="fade"` applies:
|
|
1116
|
+
*
|
|
1117
|
+
* - `fade-appear`, `fade-appear-active`, `fade-appear-done`
|
|
1118
|
+
* - `fade-enter`, `fade-enter-active`, `fade-enter-done`
|
|
1119
|
+
* - `fade-exit`, `fade-exit-active`, `fade-exit-done`
|
|
1120
|
+
*
|
|
1121
|
+
* A few details to note about how these classes are applied:
|
|
1122
|
+
*
|
|
1123
|
+
* 1. They are _joined_ with the ones that are already defined on the child
|
|
1124
|
+
* component, so if you want to add some base styles, you can use
|
|
1125
|
+
* `className` without worrying that it will be overridden.
|
|
1126
|
+
*
|
|
1127
|
+
* 2. If the transition component mounts with `in={false}`, no classes are
|
|
1128
|
+
* applied yet. You might be expecting `*-exit-done`, but if you think
|
|
1129
|
+
* about it, a component cannot finish exiting if it hasn't entered yet.
|
|
1130
|
+
*
|
|
1131
|
+
* 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This
|
|
1132
|
+
* allows you to define different behavior for when appearing is done and
|
|
1133
|
+
* when regular entering is done, using selectors like
|
|
1134
|
+
* `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply
|
|
1135
|
+
* an epic entrance animation when element first appears in the DOM using
|
|
1136
|
+
* [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can
|
|
1137
|
+
* simply use `fade-enter-done` for defining both cases.
|
|
1138
|
+
*
|
|
1139
|
+
* Each individual classNames can also be specified independently like:
|
|
1140
|
+
*
|
|
1141
|
+
* ```js
|
|
1142
|
+
* classNames={{
|
|
1143
|
+
* appear: 'my-appear',
|
|
1144
|
+
* appearActive: 'my-active-appear',
|
|
1145
|
+
* appearDone: 'my-done-appear',
|
|
1146
|
+
* enter: 'my-enter',
|
|
1147
|
+
* enterActive: 'my-active-enter',
|
|
1148
|
+
* enterDone: 'my-done-enter',
|
|
1149
|
+
* exit: 'my-exit',
|
|
1150
|
+
* exitActive: 'my-active-exit',
|
|
1151
|
+
* exitDone: 'my-done-exit',
|
|
1152
|
+
* }}
|
|
1153
|
+
* ```
|
|
1154
|
+
*
|
|
1155
|
+
* If you want to set these classes using CSS Modules:
|
|
1156
|
+
*
|
|
1157
|
+
* ```js
|
|
1158
|
+
* import styles from './styles.css';
|
|
1159
|
+
* ```
|
|
1160
|
+
*
|
|
1161
|
+
* you might want to use camelCase in your CSS file, that way could simply
|
|
1162
|
+
* spread them instead of listing them one by one:
|
|
1163
|
+
*
|
|
1164
|
+
* ```js
|
|
1165
|
+
* classNames={{ ...styles }}
|
|
1166
|
+
* ```
|
|
1167
|
+
*
|
|
1168
|
+
* @type {string | {
|
|
1169
|
+
* appear?: string,
|
|
1170
|
+
* appearActive?: string,
|
|
1171
|
+
* appearDone?: string,
|
|
1172
|
+
* enter?: string,
|
|
1173
|
+
* enterActive?: string,
|
|
1174
|
+
* enterDone?: string,
|
|
1175
|
+
* exit?: string,
|
|
1176
|
+
* exitActive?: string,
|
|
1177
|
+
* exitDone?: string,
|
|
1178
|
+
* }}
|
|
1179
|
+
*/
|
|
1180
|
+
classNames: et,
|
|
1181
|
+
/**
|
|
1182
|
+
* A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
|
|
1183
|
+
* applied.
|
|
1184
|
+
*
|
|
1185
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
1186
|
+
*
|
|
1187
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
1188
|
+
*/
|
|
1189
|
+
onEnter: y.func,
|
|
1190
|
+
/**
|
|
1191
|
+
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
|
1192
|
+
* 'appear-active' class is applied.
|
|
1193
|
+
*
|
|
1194
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
1195
|
+
*
|
|
1196
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
1197
|
+
*/
|
|
1198
|
+
onEntering: y.func,
|
|
1199
|
+
/**
|
|
1200
|
+
* A `<Transition>` callback fired immediately after the 'enter' or
|
|
1201
|
+
* 'appear' classes are **removed** and the `done` class is added to the DOM node.
|
|
1202
|
+
*
|
|
1203
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
1204
|
+
*
|
|
1205
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
1206
|
+
*/
|
|
1207
|
+
onEntered: y.func,
|
|
1208
|
+
/**
|
|
1209
|
+
* A `<Transition>` callback fired immediately after the 'exit' class is
|
|
1210
|
+
* applied.
|
|
1211
|
+
*
|
|
1212
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
1213
|
+
*
|
|
1214
|
+
* @type Function(node: HtmlElement)
|
|
1215
|
+
*/
|
|
1216
|
+
onExit: y.func,
|
|
1217
|
+
/**
|
|
1218
|
+
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
|
1219
|
+
*
|
|
1220
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
1221
|
+
*
|
|
1222
|
+
* @type Function(node: HtmlElement)
|
|
1223
|
+
*/
|
|
1224
|
+
onExiting: y.func,
|
|
1225
|
+
/**
|
|
1226
|
+
* A `<Transition>` callback fired immediately after the 'exit' classes
|
|
1227
|
+
* are **removed** and the `exit-done` class is added to the DOM node.
|
|
1228
|
+
*
|
|
1229
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
1230
|
+
*
|
|
1231
|
+
* @type Function(node: HtmlElement)
|
|
1232
|
+
*/
|
|
1233
|
+
onExited: y.func
|
|
1234
|
+
}) : {};
|
|
1235
|
+
export {
|
|
1236
|
+
qe as C,
|
|
1237
|
+
y as P
|
|
1238
|
+
};
|