@amityco/react-native-social-uikit 4.2.1-f052efd.0 → 4.3.0
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/README.md +3 -1
- package/lib/commonjs/chat/components/AmityChatListItem/AmityChatListItem.js +400 -0
- package/lib/commonjs/chat/components/AmityChatListItem/AmityChatListItem.js.map +1 -0
- package/lib/commonjs/chat/components/AmityChatListItem/index.js +13 -0
- package/lib/commonjs/chat/components/AmityChatListItem/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmityChatListItem/styles.js +146 -0
- package/lib/commonjs/chat/components/AmityChatListItem/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmityConversationChatUserActionComponent/AmityConversationChatUserActionComponent.js +258 -0
- package/lib/commonjs/chat/components/AmityConversationChatUserActionComponent/AmityConversationChatUserActionComponent.js.map +1 -0
- package/lib/commonjs/chat/components/AmityConversationChatUserActionComponent/index.js +13 -0
- package/lib/commonjs/chat/components/AmityConversationChatUserActionComponent/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmityConversationChatUserActionComponent/styles.js +31 -0
- package/lib/commonjs/chat/components/AmityConversationChatUserActionComponent/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmityGroupMemberActionComponent/AmityGroupMemberActionComponent.js +252 -0
- package/lib/commonjs/chat/components/AmityGroupMemberActionComponent/AmityGroupMemberActionComponent.js.map +1 -0
- package/lib/commonjs/chat/components/AmityGroupMemberActionComponent/index.js +13 -0
- package/lib/commonjs/chat/components/AmityGroupMemberActionComponent/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmityGroupMemberActionComponent/styles.js +31 -0
- package/lib/commonjs/chat/components/AmityGroupMemberActionComponent/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMediaAttachmentPicker/AmityMediaAttachmentPicker.js +203 -0
- package/lib/commonjs/chat/components/AmityMediaAttachmentPicker/AmityMediaAttachmentPicker.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMediaAttachmentPicker/index.js +13 -0
- package/lib/commonjs/chat/components/AmityMediaAttachmentPicker/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMediaAttachmentPicker/styles.js +70 -0
- package/lib/commonjs/chat/components/AmityMediaAttachmentPicker/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageActionMenu/AmityMessageActionMenu.js +246 -0
- package/lib/commonjs/chat/components/AmityMessageActionMenu/AmityMessageActionMenu.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageActionMenu/index.js +19 -0
- package/lib/commonjs/chat/components/AmityMessageActionMenu/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageActionMenu/styles.js +68 -0
- package/lib/commonjs/chat/components/AmityMessageActionMenu/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageBubble/AmityMessageBubble.js +571 -0
- package/lib/commonjs/chat/components/AmityMessageBubble/AmityMessageBubble.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageBubble/index.js +13 -0
- package/lib/commonjs/chat/components/AmityMessageBubble/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageBubble/styles.js +361 -0
- package/lib/commonjs/chat/components/AmityMessageBubble/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageComposer/AmityMessageComposer.js +268 -0
- package/lib/commonjs/chat/components/AmityMessageComposer/AmityMessageComposer.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageComposer/index.js +13 -0
- package/lib/commonjs/chat/components/AmityMessageComposer/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmityMessageComposer/styles.js +189 -0
- package/lib/commonjs/chat/components/AmityMessageComposer/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/AmitySearchChannelResults.js +160 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/AmitySearchChannelResults.js.map +1 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/SwipeToLeft.js +82 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/SwipeToLeft.js.map +1 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/index.js +13 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/index.js.map +1 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/styles.js +58 -0
- package/lib/commonjs/chat/components/AmitySearchChannelResults/styles.js.map +1 -0
- package/lib/commonjs/chat/components/AmitySearchMessageResults/AmitySearchMessageResults.js +160 -0
- package/lib/commonjs/chat/components/AmitySearchMessageResults/AmitySearchMessageResults.js.map +1 -0
- package/lib/commonjs/chat/components/AmitySearchMessageResults/index.js +13 -0
- package/lib/commonjs/chat/components/AmitySearchMessageResults/index.js.map +1 -0
- package/lib/commonjs/chat/constants/bubble.js +122 -0
- package/lib/commonjs/chat/constants/bubble.js.map +1 -0
- package/lib/commonjs/chat/constants/errorResponse.js +27 -0
- package/lib/commonjs/chat/constants/errorResponse.js.map +1 -0
- package/lib/commonjs/chat/constants/index.js +61 -0
- package/lib/commonjs/chat/constants/index.js.map +1 -0
- package/lib/commonjs/chat/constants/list.js +13 -0
- package/lib/commonjs/chat/constants/list.js.map +1 -0
- package/lib/commonjs/chat/constants/search.js +17 -0
- package/lib/commonjs/chat/constants/search.js.map +1 -0
- package/lib/commonjs/chat/constants/sheet.js +42 -0
- package/lib/commonjs/chat/constants/sheet.js.map +1 -0
- package/lib/commonjs/chat/elements/ArchivedBadge/ArchivedBadge.js +32 -0
- package/lib/commonjs/chat/elements/ArchivedBadge/ArchivedBadge.js.map +1 -0
- package/lib/commonjs/chat/elements/ArchivedBadge/index.js +13 -0
- package/lib/commonjs/chat/elements/ArchivedBadge/index.js.map +1 -0
- package/lib/commonjs/chat/elements/ArchivedBadge/styles.js +39 -0
- package/lib/commonjs/chat/elements/ArchivedBadge/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/Avatar/Avatar.js +146 -0
- package/lib/commonjs/chat/elements/Avatar/Avatar.js.map +1 -0
- package/lib/commonjs/chat/elements/Avatar/index.js +13 -0
- package/lib/commonjs/chat/elements/Avatar/index.js.map +1 -0
- package/lib/commonjs/chat/elements/Avatar/styles.js +67 -0
- package/lib/commonjs/chat/elements/Avatar/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/AvatarPicker/AvatarPicker.js +107 -0
- package/lib/commonjs/chat/elements/AvatarPicker/AvatarPicker.js.map +1 -0
- package/lib/commonjs/chat/elements/AvatarPicker/index.js +13 -0
- package/lib/commonjs/chat/elements/AvatarPicker/index.js.map +1 -0
- package/lib/commonjs/chat/elements/AvatarPicker/styles.js +56 -0
- package/lib/commonjs/chat/elements/AvatarPicker/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/ChatKeyboardAvoidingView/ChatKeyboardAvoidingView.js +148 -0
- package/lib/commonjs/chat/elements/ChatKeyboardAvoidingView/ChatKeyboardAvoidingView.js.map +1 -0
- package/lib/commonjs/chat/elements/ChatKeyboardAvoidingView/index.js +13 -0
- package/lib/commonjs/chat/elements/ChatKeyboardAvoidingView/index.js.map +1 -0
- package/lib/commonjs/chat/elements/ChatKeyboardAvoidingView/styles.js +22 -0
- package/lib/commonjs/chat/elements/ChatKeyboardAvoidingView/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/ConversationChatAvatar/ConversationChatAvatar.js +54 -0
- package/lib/commonjs/chat/elements/ConversationChatAvatar/ConversationChatAvatar.js.map +1 -0
- package/lib/commonjs/chat/elements/ConversationChatAvatar/index.js +13 -0
- package/lib/commonjs/chat/elements/ConversationChatAvatar/index.js.map +1 -0
- package/lib/commonjs/chat/elements/GroupNameField/GroupNameField.js +61 -0
- package/lib/commonjs/chat/elements/GroupNameField/GroupNameField.js.map +1 -0
- package/lib/commonjs/chat/elements/GroupNameField/index.js +13 -0
- package/lib/commonjs/chat/elements/GroupNameField/index.js.map +1 -0
- package/lib/commonjs/chat/elements/GroupNameField/styles.js +27 -0
- package/lib/commonjs/chat/elements/GroupNameField/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/MediaUploadOverlay/MediaUploadOverlay.js +39 -0
- package/lib/commonjs/chat/elements/MediaUploadOverlay/MediaUploadOverlay.js.map +1 -0
- package/lib/commonjs/chat/elements/MediaUploadOverlay/index.js +13 -0
- package/lib/commonjs/chat/elements/MediaUploadOverlay/index.js.map +1 -0
- package/lib/commonjs/chat/elements/MediaUploadOverlay/styles.js +32 -0
- package/lib/commonjs/chat/elements/MediaUploadOverlay/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/ReactionPicker/ReactionPicker.js +290 -0
- package/lib/commonjs/chat/elements/ReactionPicker/ReactionPicker.js.map +1 -0
- package/lib/commonjs/chat/elements/ReactionPicker/index.js +13 -0
- package/lib/commonjs/chat/elements/ReactionPicker/index.js.map +1 -0
- package/lib/commonjs/chat/elements/ReactionPicker/styles.js +139 -0
- package/lib/commonjs/chat/elements/ReactionPicker/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/SettingMenu/SettingMenu.js +69 -0
- package/lib/commonjs/chat/elements/SettingMenu/SettingMenu.js.map +1 -0
- package/lib/commonjs/chat/elements/SettingMenu/index.js +13 -0
- package/lib/commonjs/chat/elements/SettingMenu/index.js.map +1 -0
- package/lib/commonjs/chat/elements/SettingMenu/styles.js +65 -0
- package/lib/commonjs/chat/elements/SettingMenu/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/TopBar/TopBar.js +60 -0
- package/lib/commonjs/chat/elements/TopBar/TopBar.js.map +1 -0
- package/lib/commonjs/chat/elements/TopBar/index.js +13 -0
- package/lib/commonjs/chat/elements/TopBar/index.js.map +1 -0
- package/lib/commonjs/chat/elements/TopBar/styles.js +58 -0
- package/lib/commonjs/chat/elements/TopBar/styles.js.map +1 -0
- package/lib/commonjs/chat/elements/WaitingForNetwork/WaitingForNetwork.js +58 -0
- package/lib/commonjs/chat/elements/WaitingForNetwork/WaitingForNetwork.js.map +1 -0
- package/lib/commonjs/chat/elements/WaitingForNetwork/index.js +13 -0
- package/lib/commonjs/chat/elements/WaitingForNetwork/index.js.map +1 -0
- package/lib/commonjs/chat/elements/WaitingForNetwork/styles.js +38 -0
- package/lib/commonjs/chat/elements/WaitingForNetwork/styles.js.map +1 -0
- package/lib/commonjs/chat/features/archive/ArchivedChat.js +37 -0
- package/lib/commonjs/chat/features/archive/ArchivedChat.js.map +1 -0
- package/lib/commonjs/chat/features/archive/components/ArchivedChannelList/ArchivedChannelList.js +134 -0
- package/lib/commonjs/chat/features/archive/components/ArchivedChannelList/ArchivedChannelList.js.map +1 -0
- package/lib/commonjs/chat/features/archive/components/ArchivedChannelList/index.js +13 -0
- package/lib/commonjs/chat/features/archive/components/ArchivedChannelList/index.js.map +1 -0
- package/lib/commonjs/chat/features/archive/components/ArchivedChannelList/styles.js +61 -0
- package/lib/commonjs/chat/features/archive/components/ArchivedChannelList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/archive/components/Header/Header.js +28 -0
- package/lib/commonjs/chat/features/archive/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/archive/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/archive/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/archive/components/index.js +20 -0
- package/lib/commonjs/chat/features/archive/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/archive/index.js +13 -0
- package/lib/commonjs/chat/features/archive/index.js.map +1 -0
- package/lib/commonjs/chat/features/archive/styles.js +29 -0
- package/lib/commonjs/chat/features/archive/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/Chat.js +156 -0
- package/lib/commonjs/chat/features/conversation/Chat.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/Header/Header.js +115 -0
- package/lib/commonjs/chat/features/conversation/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/Header/styles.js +69 -0
- package/lib/commonjs/chat/features/conversation/components/Header/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/MessageList/MessageList.js +415 -0
- package/lib/commonjs/chat/features/conversation/components/MessageList/MessageList.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/MessageList/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/components/MessageList/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/MessageList/styles.js +56 -0
- package/lib/commonjs/chat/features/conversation/components/MessageList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/MessageRow/MessageRow.js +233 -0
- package/lib/commonjs/chat/features/conversation/components/MessageRow/MessageRow.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/MessageRow/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/components/MessageRow/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/MessageRow/styles.js +100 -0
- package/lib/commonjs/chat/features/conversation/components/MessageRow/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/components/index.js +39 -0
- package/lib/commonjs/chat/features/conversation/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/CreateConversation.js +44 -0
- package/lib/commonjs/chat/features/conversation/create/CreateConversation.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/Header/Header.js +50 -0
- package/lib/commonjs/chat/features/conversation/create/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/create/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/Header/styles.js +32 -0
- package/lib/commonjs/chat/features/conversation/create/components/Header/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserItem/UserItem.js +84 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserItem/UserItem.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserItem/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserItem/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserItem/styles.js +59 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserItem/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserList/UserList.js +94 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserList/UserList.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserList/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserList/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserList/styles.js +23 -0
- package/lib/commonjs/chat/features/conversation/create/components/UserList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/components/index.js +27 -0
- package/lib/commonjs/chat/features/conversation/create/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/hooks/index.js +20 -0
- package/lib/commonjs/chat/features/conversation/create/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/hooks/useCreateConversation.js +72 -0
- package/lib/commonjs/chat/features/conversation/create/hooks/useCreateConversation.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/hooks/useSearchUsers.js +75 -0
- package/lib/commonjs/chat/features/conversation/create/hooks/useSearchUsers.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/create/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/create/styles.js +28 -0
- package/lib/commonjs/chat/features/conversation/create/styles.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/hooks/useConversation.js +72 -0
- package/lib/commonjs/chat/features/conversation/hooks/useConversation.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/index.js +13 -0
- package/lib/commonjs/chat/features/conversation/index.js.map +1 -0
- package/lib/commonjs/chat/features/conversation/styles.js +26 -0
- package/lib/commonjs/chat/features/conversation/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/AddGroupMember.js +70 -0
- package/lib/commonjs/chat/features/group/add-member/AddGroupMember.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/AddMemberButton/AddMemberButton.js +43 -0
- package/lib/commonjs/chat/features/group/add-member/components/AddMemberButton/AddMemberButton.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/AddMemberButton/index.js +13 -0
- package/lib/commonjs/chat/features/group/add-member/components/AddMemberButton/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/AddMemberButton/styles.js +30 -0
- package/lib/commonjs/chat/features/group/add-member/components/AddMemberButton/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/Header/Header.js +54 -0
- package/lib/commonjs/chat/features/group/add-member/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/add-member/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/Header/styles.js +31 -0
- package/lib/commonjs/chat/features/group/add-member/components/Header/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/SelectedUsersBar/SelectedUsersBar.js +47 -0
- package/lib/commonjs/chat/features/group/add-member/components/SelectedUsersBar/SelectedUsersBar.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/SelectedUsersBar/index.js +13 -0
- package/lib/commonjs/chat/features/group/add-member/components/SelectedUsersBar/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/SelectedUsersBar/styles.js +37 -0
- package/lib/commonjs/chat/features/group/add-member/components/SelectedUsersBar/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/UserList/UserList.js +159 -0
- package/lib/commonjs/chat/features/group/add-member/components/UserList/UserList.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/UserList/index.js +13 -0
- package/lib/commonjs/chat/features/group/add-member/components/UserList/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/UserList/styles.js +55 -0
- package/lib/commonjs/chat/features/group/add-member/components/UserList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/components/index.js +50 -0
- package/lib/commonjs/chat/features/group/add-member/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/hooks/index.js +17 -0
- package/lib/commonjs/chat/features/group/add-member/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/hooks/useAddGroupMember.js +102 -0
- package/lib/commonjs/chat/features/group/add-member/hooks/useAddGroupMember.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/index.js +13 -0
- package/lib/commonjs/chat/features/group/add-member/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/add-member/styles.js +31 -0
- package/lib/commonjs/chat/features/group/add-member/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/BannedGroupMembers.js +61 -0
- package/lib/commonjs/chat/features/group/banned-members/BannedGroupMembers.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/components/BannedMemberList/BannedMemberList.js +125 -0
- package/lib/commonjs/chat/features/group/banned-members/components/BannedMemberList/BannedMemberList.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/components/BannedMemberList/index.js +13 -0
- package/lib/commonjs/chat/features/group/banned-members/components/BannedMemberList/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/components/BannedMemberList/styles.js +31 -0
- package/lib/commonjs/chat/features/group/banned-members/components/BannedMemberList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/components/Header/Header.js +27 -0
- package/lib/commonjs/chat/features/group/banned-members/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/banned-members/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/components/index.js +20 -0
- package/lib/commonjs/chat/features/group/banned-members/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/hooks/index.js +13 -0
- package/lib/commonjs/chat/features/group/banned-members/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/hooks/useBannedGroupMembers.js +70 -0
- package/lib/commonjs/chat/features/group/banned-members/hooks/useBannedGroupMembers.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/index.js +13 -0
- package/lib/commonjs/chat/features/group/banned-members/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/banned-members/styles.js +31 -0
- package/lib/commonjs/chat/features/group/banned-members/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/GroupChat.js +144 -0
- package/lib/commonjs/chat/features/group/chat/GroupChat.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/components/BannedEmptyState/BannedEmptyState.js +39 -0
- package/lib/commonjs/chat/features/group/chat/components/BannedEmptyState/BannedEmptyState.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/components/BannedEmptyState/index.js +13 -0
- package/lib/commonjs/chat/features/group/chat/components/BannedEmptyState/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/components/BannedEmptyState/styles.js +40 -0
- package/lib/commonjs/chat/features/group/chat/components/BannedEmptyState/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/components/Header/Header.js +82 -0
- package/lib/commonjs/chat/features/group/chat/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/chat/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/components/Header/styles.js +71 -0
- package/lib/commonjs/chat/features/group/chat/components/Header/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/components/index.js +28 -0
- package/lib/commonjs/chat/features/group/chat/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/hooks/index.js +13 -0
- package/lib/commonjs/chat/features/group/chat/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/hooks/useGroupChat.js +87 -0
- package/lib/commonjs/chat/features/group/chat/hooks/useGroupChat.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/index.js +13 -0
- package/lib/commonjs/chat/features/group/chat/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/chat/styles.js +24 -0
- package/lib/commonjs/chat/features/group/chat/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/CreateGroupChat.js +104 -0
- package/lib/commonjs/chat/features/group/create/CreateGroupChat.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/Header/Header.js +48 -0
- package/lib/commonjs/chat/features/group/create/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/create/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/MemberGrid/MemberGrid.js +69 -0
- package/lib/commonjs/chat/features/group/create/components/MemberGrid/MemberGrid.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/MemberGrid/index.js +13 -0
- package/lib/commonjs/chat/features/group/create/components/MemberGrid/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/MemberGrid/styles.js +54 -0
- package/lib/commonjs/chat/features/group/create/components/MemberGrid/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/PrivacySection/PrivacySection.js +113 -0
- package/lib/commonjs/chat/features/group/create/components/PrivacySection/PrivacySection.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/PrivacySection/index.js +13 -0
- package/lib/commonjs/chat/features/group/create/components/PrivacySection/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/PrivacySection/styles.js +74 -0
- package/lib/commonjs/chat/features/group/create/components/PrivacySection/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/components/index.js +27 -0
- package/lib/commonjs/chat/features/group/create/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/hooks/index.js +13 -0
- package/lib/commonjs/chat/features/group/create/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/hooks/useCreateGroupChat.js +200 -0
- package/lib/commonjs/chat/features/group/create/hooks/useCreateGroupChat.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/index.js +13 -0
- package/lib/commonjs/chat/features/group/create/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/styles.js +34 -0
- package/lib/commonjs/chat/features/group/create/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/utils/generateDisplayName.js +36 -0
- package/lib/commonjs/chat/features/group/create/utils/generateDisplayName.js.map +1 -0
- package/lib/commonjs/chat/features/group/create/utils/index.js +13 -0
- package/lib/commonjs/chat/features/group/create/utils/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/EditGroupNotification.js +110 -0
- package/lib/commonjs/chat/features/group/edit-notification/EditGroupNotification.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationMode/NotificationMode.js +42 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationMode/NotificationMode.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationMode/index.js +13 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationMode/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationMode/styles.js +37 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationMode/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationModeRow/NotificationModeRow.js +46 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationModeRow/NotificationModeRow.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationModeRow/index.js +13 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationModeRow/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationModeRow/styles.js +37 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/NotificationModeRow/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/index.js +17 -0
- package/lib/commonjs/chat/features/group/edit-notification/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/hooks/index.js +17 -0
- package/lib/commonjs/chat/features/group/edit-notification/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/hooks/useEditGroupNotification.js +134 -0
- package/lib/commonjs/chat/features/group/edit-notification/hooks/useEditGroupNotification.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/index.js +13 -0
- package/lib/commonjs/chat/features/group/edit-notification/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-notification/styles.js +38 -0
- package/lib/commonjs/chat/features/group/edit-notification/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/EditGroupMemberPermissions.js +81 -0
- package/lib/commonjs/chat/features/group/edit-permission/EditGroupMemberPermissions.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/MemberPermission/MemberPermission.js +45 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/MemberPermission/MemberPermission.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/MemberPermission/index.js +13 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/MemberPermission/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/MemberPermission/styles.js +37 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/MemberPermission/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/index.js +17 -0
- package/lib/commonjs/chat/features/group/edit-permission/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/constants/index.js +27 -0
- package/lib/commonjs/chat/features/group/edit-permission/constants/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/hooks/index.js +17 -0
- package/lib/commonjs/chat/features/group/edit-permission/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/hooks/useEditGroupMemberPermissions.js +117 -0
- package/lib/commonjs/chat/features/group/edit-permission/hooks/useEditGroupMemberPermissions.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/index.js +13 -0
- package/lib/commonjs/chat/features/group/edit-permission/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-permission/styles.js +43 -0
- package/lib/commonjs/chat/features/group/edit-permission/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/EditGroupProfile.js +67 -0
- package/lib/commonjs/chat/features/group/edit-profile/EditGroupProfile.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/components/Header/Header.js +46 -0
- package/lib/commonjs/chat/features/group/edit-profile/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/edit-profile/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/components/index.js +17 -0
- package/lib/commonjs/chat/features/group/edit-profile/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/hooks/index.js +17 -0
- package/lib/commonjs/chat/features/group/edit-profile/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/hooks/useEditGroupProfile.js +168 -0
- package/lib/commonjs/chat/features/group/edit-profile/hooks/useEditGroupProfile.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/index.js +13 -0
- package/lib/commonjs/chat/features/group/edit-profile/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/edit-profile/styles.js +34 -0
- package/lib/commonjs/chat/features/group/edit-profile/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/GroupMembers.js +52 -0
- package/lib/commonjs/chat/features/group/members/GroupMembers.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/Header/Header.js +49 -0
- package/lib/commonjs/chat/features/group/members/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/members/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberItem/MemberItem.js +100 -0
- package/lib/commonjs/chat/features/group/members/components/MemberItem/MemberItem.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberItem/index.js +13 -0
- package/lib/commonjs/chat/features/group/members/components/MemberItem/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberItem/styles.js +63 -0
- package/lib/commonjs/chat/features/group/members/components/MemberItem/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberList/MemberList.js +136 -0
- package/lib/commonjs/chat/features/group/members/components/MemberList/MemberList.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberList/index.js +13 -0
- package/lib/commonjs/chat/features/group/members/components/MemberList/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberList/styles.js +25 -0
- package/lib/commonjs/chat/features/group/members/components/MemberList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberTabs/MemberTabs.js +83 -0
- package/lib/commonjs/chat/features/group/members/components/MemberTabs/MemberTabs.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberTabs/index.js +19 -0
- package/lib/commonjs/chat/features/group/members/components/MemberTabs/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/MemberTabs/styles.js +26 -0
- package/lib/commonjs/chat/features/group/members/components/MemberTabs/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/components/index.js +50 -0
- package/lib/commonjs/chat/features/group/members/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/hooks/index.js +17 -0
- package/lib/commonjs/chat/features/group/members/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/hooks/useGroupMembers.js +38 -0
- package/lib/commonjs/chat/features/group/members/hooks/useGroupMembers.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/index.js +13 -0
- package/lib/commonjs/chat/features/group/members/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/members/styles.js +27 -0
- package/lib/commonjs/chat/features/group/members/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/NotificationPreference.js +80 -0
- package/lib/commonjs/chat/features/group/notification-preference/NotificationPreference.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/AllowNotifications/AllowNotifications.js +63 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/AllowNotifications/AllowNotifications.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/AllowNotifications/index.js +17 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/AllowNotifications/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/AllowNotifications/styles.js +53 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/AllowNotifications/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/DisabledByModeratorBanner/DisabledByModeratorBanner.js +49 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/DisabledByModeratorBanner/DisabledByModeratorBanner.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/DisabledByModeratorBanner/index.js +17 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/DisabledByModeratorBanner/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/DisabledByModeratorBanner/styles.js +41 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/DisabledByModeratorBanner/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/index.js +28 -0
- package/lib/commonjs/chat/features/group/notification-preference/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/hooks/index.js +17 -0
- package/lib/commonjs/chat/features/group/notification-preference/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/hooks/useNotificationPreference.js +153 -0
- package/lib/commonjs/chat/features/group/notification-preference/hooks/useNotificationPreference.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/index.js +13 -0
- package/lib/commonjs/chat/features/group/notification-preference/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/notification-preference/styles.js +30 -0
- package/lib/commonjs/chat/features/group/notification-preference/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/SelectGroupMember.js +74 -0
- package/lib/commonjs/chat/features/group/select-member/SelectGroupMember.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/Header/Header.js +74 -0
- package/lib/commonjs/chat/features/group/select-member/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/select-member/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/Header/styles.js +33 -0
- package/lib/commonjs/chat/features/group/select-member/components/Header/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/SelectedUsersBar/SelectedUsersBar.js +47 -0
- package/lib/commonjs/chat/features/group/select-member/components/SelectedUsersBar/SelectedUsersBar.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/SelectedUsersBar/index.js +13 -0
- package/lib/commonjs/chat/features/group/select-member/components/SelectedUsersBar/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/SelectedUsersBar/styles.js +37 -0
- package/lib/commonjs/chat/features/group/select-member/components/SelectedUsersBar/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserItem/UserItem.js +79 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserItem/UserItem.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserItem/index.js +13 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserItem/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserItem/styles.js +50 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserItem/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserList/UserList.js +132 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserList/UserList.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserList/index.js +13 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserList/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserList/styles.js +31 -0
- package/lib/commonjs/chat/features/group/select-member/components/UserList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/components/index.js +34 -0
- package/lib/commonjs/chat/features/group/select-member/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/constants/index.js +10 -0
- package/lib/commonjs/chat/features/group/select-member/constants/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/hooks/index.js +13 -0
- package/lib/commonjs/chat/features/group/select-member/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/hooks/useSelectGroupMember.js +111 -0
- package/lib/commonjs/chat/features/group/select-member/hooks/useSelectGroupMember.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/index.js +13 -0
- package/lib/commonjs/chat/features/group/select-member/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/select-member/styles.js +28 -0
- package/lib/commonjs/chat/features/group/select-member/styles.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/GroupSetting.js +93 -0
- package/lib/commonjs/chat/features/group/setting/GroupSetting.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/components/Header/Header.js +30 -0
- package/lib/commonjs/chat/features/group/setting/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/group/setting/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/components/index.js +17 -0
- package/lib/commonjs/chat/features/group/setting/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/hooks/index.js +17 -0
- package/lib/commonjs/chat/features/group/setting/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/hooks/useGroupSetting.js +286 -0
- package/lib/commonjs/chat/features/group/setting/hooks/useGroupSetting.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/index.js +13 -0
- package/lib/commonjs/chat/features/group/setting/index.js.map +1 -0
- package/lib/commonjs/chat/features/group/setting/styles.js +58 -0
- package/lib/commonjs/chat/features/group/setting/styles.js.map +1 -0
- package/lib/commonjs/chat/features/home/ChatHome.js +80 -0
- package/lib/commonjs/chat/features/home/ChatHome.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/ChannelList/ChannelList.js +196 -0
- package/lib/commonjs/chat/features/home/components/ChannelList/ChannelList.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/ChannelList/index.js +13 -0
- package/lib/commonjs/chat/features/home/components/ChannelList/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/ChannelList/styles.js +108 -0
- package/lib/commonjs/chat/features/home/components/ChannelList/styles.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/Header/Header.js +44 -0
- package/lib/commonjs/chat/features/home/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/home/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/Header/styles.js +57 -0
- package/lib/commonjs/chat/features/home/components/Header/styles.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/NotificationsDisabledBanner/NotificationsDisabledBanner.js +45 -0
- package/lib/commonjs/chat/features/home/components/NotificationsDisabledBanner/NotificationsDisabledBanner.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/NotificationsDisabledBanner/index.js +13 -0
- package/lib/commonjs/chat/features/home/components/NotificationsDisabledBanner/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/NotificationsDisabledBanner/styles.js +43 -0
- package/lib/commonjs/chat/features/home/components/NotificationsDisabledBanner/styles.js.map +1 -0
- package/lib/commonjs/chat/features/home/components/index.js +39 -0
- package/lib/commonjs/chat/features/home/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/ChatHomeMenu/ChatHomeMenu.js +90 -0
- package/lib/commonjs/chat/features/home/elements/ChatHomeMenu/ChatHomeMenu.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/ChatHomeMenu/index.js +13 -0
- package/lib/commonjs/chat/features/home/elements/ChatHomeMenu/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/ChatHomeMenu/styles.js +32 -0
- package/lib/commonjs/chat/features/home/elements/ChatHomeMenu/styles.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/CreateChatMenu/CreateChatMenu.js +111 -0
- package/lib/commonjs/chat/features/home/elements/CreateChatMenu/CreateChatMenu.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/CreateChatMenu/index.js +13 -0
- package/lib/commonjs/chat/features/home/elements/CreateChatMenu/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/CreateChatMenu/styles.js +32 -0
- package/lib/commonjs/chat/features/home/elements/CreateChatMenu/styles.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/SearchButton/SearchButton.js +55 -0
- package/lib/commonjs/chat/features/home/elements/SearchButton/SearchButton.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/SearchButton/index.js +13 -0
- package/lib/commonjs/chat/features/home/elements/SearchButton/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/elements/SearchButton/styles.js +33 -0
- package/lib/commonjs/chat/features/home/elements/SearchButton/styles.js.map +1 -0
- package/lib/commonjs/chat/features/home/hooks/index.js +13 -0
- package/lib/commonjs/chat/features/home/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/hooks/usePushNotificationEnabled.js +37 -0
- package/lib/commonjs/chat/features/home/hooks/usePushNotificationEnabled.js.map +1 -0
- package/lib/commonjs/chat/features/home/index.js +28 -0
- package/lib/commonjs/chat/features/home/index.js.map +1 -0
- package/lib/commonjs/chat/features/home/styles.js +32 -0
- package/lib/commonjs/chat/features/home/styles.js.map +1 -0
- package/lib/commonjs/chat/features/search/SearchChannel.js +73 -0
- package/lib/commonjs/chat/features/search/SearchChannel.js.map +1 -0
- package/lib/commonjs/chat/features/search/components/Header/Header.js +60 -0
- package/lib/commonjs/chat/features/search/components/Header/Header.js.map +1 -0
- package/lib/commonjs/chat/features/search/components/Header/index.js +13 -0
- package/lib/commonjs/chat/features/search/components/Header/index.js.map +1 -0
- package/lib/commonjs/chat/features/search/components/Header/styles.js +41 -0
- package/lib/commonjs/chat/features/search/components/Header/styles.js.map +1 -0
- package/lib/commonjs/chat/features/search/components/index.js +13 -0
- package/lib/commonjs/chat/features/search/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/search/hooks/index.js +13 -0
- package/lib/commonjs/chat/features/search/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/search/hooks/useSearchChannel.js +48 -0
- package/lib/commonjs/chat/features/search/hooks/useSearchChannel.js.map +1 -0
- package/lib/commonjs/chat/features/search/index.js +13 -0
- package/lib/commonjs/chat/features/search/index.js.map +1 -0
- package/lib/commonjs/chat/features/search/styles.js +33 -0
- package/lib/commonjs/chat/features/search/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/AddTile/AddTile.js +47 -0
- package/lib/commonjs/chat/features/shared/components/AddTile/AddTile.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/AddTile/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/AddTile/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/AddTile/styles.js +36 -0
- package/lib/commonjs/chat/features/shared/components/AddTile/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ContentReportReason/ContentReportReason.js +298 -0
- package/lib/commonjs/chat/features/shared/components/ContentReportReason/ContentReportReason.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ContentReportReason/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/ContentReportReason/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ContentReportReason/styles.js +120 -0
- package/lib/commonjs/chat/features/shared/components/ContentReportReason/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/DateSeparator/DateSeparator.js +36 -0
- package/lib/commonjs/chat/features/shared/components/DateSeparator/DateSeparator.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/DateSeparator/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/DateSeparator/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/DateSeparator/styles.js +55 -0
- package/lib/commonjs/chat/features/shared/components/DateSeparator/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/DeletedMessagePill/DeletedMessagePill.js +46 -0
- package/lib/commonjs/chat/features/shared/components/DeletedMessagePill/DeletedMessagePill.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/DeletedMessagePill/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/DeletedMessagePill/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/DeletedMessagePill/styles.js +42 -0
- package/lib/commonjs/chat/features/shared/components/DeletedMessagePill/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/EmptyState/EmptyState.js +58 -0
- package/lib/commonjs/chat/features/shared/components/EmptyState/EmptyState.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/EmptyState/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/EmptyState/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/EmptyState/styles.js +38 -0
- package/lib/commonjs/chat/features/shared/components/EmptyState/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/FailedToShow/FailedToShow.js +54 -0
- package/lib/commonjs/chat/features/shared/components/FailedToShow/FailedToShow.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/FailedToShow/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/FailedToShow/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/FailedToShow/styles.js +40 -0
- package/lib/commonjs/chat/features/shared/components/FailedToShow/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ImageViewer/ImageViewer.js +115 -0
- package/lib/commonjs/chat/features/shared/components/ImageViewer/ImageViewer.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ImageViewer/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/ImageViewer/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ImageViewer/styles.js +74 -0
- package/lib/commonjs/chat/features/shared/components/ImageViewer/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MediaViewer/MediaViewer.js +103 -0
- package/lib/commonjs/chat/features/shared/components/MediaViewer/MediaViewer.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MediaViewer/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MediaViewer/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MediaViewer/styles.js +101 -0
- package/lib/commonjs/chat/features/shared/components/MediaViewer/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageFullTextScreen/MessageFullTextScreen.js +82 -0
- package/lib/commonjs/chat/features/shared/components/MessageFullTextScreen/MessageFullTextScreen.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageFullTextScreen/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MessageFullTextScreen/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageFullTextScreen/styles.js +67 -0
- package/lib/commonjs/chat/features/shared/components/MessageFullTextScreen/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/MessageLinkPreview.js +112 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/MessageLinkPreview.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/styles.js +81 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/useLinkPreview.js +76 -0
- package/lib/commonjs/chat/features/shared/components/MessageLinkPreview/useLinkPreview.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactionBadge/MessageReactionBadge.js +65 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactionBadge/MessageReactionBadge.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactionBadge/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactionBadge/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactionBadge/styles.js +67 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactionBadge/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactorListSheet/MessageReactorListSheet.js +323 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactorListSheet/MessageReactorListSheet.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactorListSheet/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactorListSheet/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactorListSheet/styles.js +182 -0
- package/lib/commonjs/chat/features/shared/components/MessageReactorListSheet/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyBand/MessageReplyBand.js +132 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyBand/MessageReplyBand.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyBand/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyBand/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyBand/styles.js +88 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyBand/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/MessageReplyQuote.js +400 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/MessageReplyQuote.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/styles.js +145 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/utils.js +82 -0
- package/lib/commonjs/chat/features/shared/components/MessageReplyQuote/utils.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MutedBanner/MutedBanner.js +41 -0
- package/lib/commonjs/chat/features/shared/components/MutedBanner/MutedBanner.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MutedBanner/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/MutedBanner/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/MutedBanner/styles.js +40 -0
- package/lib/commonjs/chat/features/shared/components/MutedBanner/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/NewMessageNotification/NewMessageNotification.js +147 -0
- package/lib/commonjs/chat/features/shared/components/NewMessageNotification/NewMessageNotification.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/NewMessageNotification/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/NewMessageNotification/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/NewMessageNotification/styles.js +95 -0
- package/lib/commonjs/chat/features/shared/components/NewMessageNotification/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ScrollToLatestButton/ScrollToLatestButton.js +39 -0
- package/lib/commonjs/chat/features/shared/components/ScrollToLatestButton/ScrollToLatestButton.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ScrollToLatestButton/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/ScrollToLatestButton/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/ScrollToLatestButton/styles.js +26 -0
- package/lib/commonjs/chat/features/shared/components/ScrollToLatestButton/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/SelectedMember/SelectedMember.js +72 -0
- package/lib/commonjs/chat/features/shared/components/SelectedMember/SelectedMember.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/SelectedMember/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/SelectedMember/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/SelectedMember/styles.js +53 -0
- package/lib/commonjs/chat/features/shared/components/SelectedMember/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/VideoPlayer.js +193 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/VideoPlayer.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoControls/VideoControls.js +99 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoControls/VideoControls.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoControls/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoControls/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoControls/styles.js +45 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoControls/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoScrubber/VideoScrubber.js +110 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoScrubber/VideoScrubber.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoScrubber/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoScrubber/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoScrubber/styles.js +69 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/VideoScrubber/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/index.js +28 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/components/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/styles.js +42 -0
- package/lib/commonjs/chat/features/shared/components/VideoPlayer/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/YouTile/YouTile.js +65 -0
- package/lib/commonjs/chat/features/shared/components/YouTile/YouTile.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/YouTile/index.js +13 -0
- package/lib/commonjs/chat/features/shared/components/YouTile/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/components/YouTile/styles.js +52 -0
- package/lib/commonjs/chat/features/shared/components/YouTile/styles.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/index.js +48 -0
- package/lib/commonjs/chat/features/shared/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useBubbleMenu.js +145 -0
- package/lib/commonjs/chat/features/shared/hooks/useBubbleMenu.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useChatMessage.js +298 -0
- package/lib/commonjs/chat/features/shared/hooks/useChatMessage.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useFailedMessageSheet.js +179 -0
- package/lib/commonjs/chat/features/shared/hooks/useFailedMessageSheet.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useMarkAsRead.js +53 -0
- package/lib/commonjs/chat/features/shared/hooks/useMarkAsRead.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useMediaViewer.js +77 -0
- package/lib/commonjs/chat/features/shared/hooks/useMediaViewer.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useMessageComposer.js +555 -0
- package/lib/commonjs/chat/features/shared/hooks/useMessageComposer.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useMessageReactions.js +86 -0
- package/lib/commonjs/chat/features/shared/hooks/useMessageReactions.js.map +1 -0
- package/lib/commonjs/chat/features/shared/hooks/useReactorsCollection.js +64 -0
- package/lib/commonjs/chat/features/shared/hooks/useReactorsCollection.js.map +1 -0
- package/lib/commonjs/chat/features/shared/utils/reactionIcons.js +306 -0
- package/lib/commonjs/chat/features/shared/utils/reactionIcons.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/index.js +94 -0
- package/lib/commonjs/chat/hooks/collections/index.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useArchivedChannelsCollection.js +74 -0
- package/lib/commonjs/chat/hooks/collections/useArchivedChannelsCollection.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useBlockedUserIds.js +61 -0
- package/lib/commonjs/chat/hooks/collections/useBlockedUserIds.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useChannelMembersCollection.js +108 -0
- package/lib/commonjs/chat/hooks/collections/useChannelMembersCollection.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useChannelsByIdsCollection.js +69 -0
- package/lib/commonjs/chat/hooks/collections/useChannelsByIdsCollection.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useChannelsCollection.js +87 -0
- package/lib/commonjs/chat/hooks/collections/useChannelsCollection.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useMessageSearchCollection.js +77 -0
- package/lib/commonjs/chat/hooks/collections/useMessageSearchCollection.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useMessagesCollection.js +94 -0
- package/lib/commonjs/chat/hooks/collections/useMessagesCollection.js.map +1 -0
- package/lib/commonjs/chat/hooks/collections/useSearchChannelsCollection.js +81 -0
- package/lib/commonjs/chat/hooks/collections/useSearchChannelsCollection.js.map +1 -0
- package/lib/commonjs/chat/hooks/index.js +149 -0
- package/lib/commonjs/chat/hooks/index.js.map +1 -0
- package/lib/commonjs/chat/hooks/objects/index.js +17 -0
- package/lib/commonjs/chat/hooks/objects/index.js.map +1 -0
- package/lib/commonjs/chat/hooks/objects/useMessageObject.js +45 -0
- package/lib/commonjs/chat/hooks/objects/useMessageObject.js.map +1 -0
- package/lib/commonjs/chat/hooks/queries/index.js +50 -0
- package/lib/commonjs/chat/hooks/queries/index.js.map +1 -0
- package/lib/commonjs/chat/hooks/queries/useChannelArchiveQuery.js +96 -0
- package/lib/commonjs/chat/hooks/queries/useChannelArchiveQuery.js.map +1 -0
- package/lib/commonjs/chat/hooks/queries/useDeleteMessageQuery.js +68 -0
- package/lib/commonjs/chat/hooks/queries/useDeleteMessageQuery.js.map +1 -0
- package/lib/commonjs/chat/hooks/queries/useFlagMessageQuery.js +148 -0
- package/lib/commonjs/chat/hooks/queries/useFlagMessageQuery.js.map +1 -0
- package/lib/commonjs/chat/hooks/queries/useSaveMediaMessageQuery.js +144 -0
- package/lib/commonjs/chat/hooks/queries/useSaveMediaMessageQuery.js.map +1 -0
- package/lib/commonjs/chat/hooks/useChannelMyMembership.js +55 -0
- package/lib/commonjs/chat/hooks/useChannelMyMembership.js.map +1 -0
- package/lib/commonjs/chat/hooks/useChatNavigation.js +28 -0
- package/lib/commonjs/chat/hooks/useChatNavigation.js.map +1 -0
- package/lib/commonjs/chat/hooks/useChatNotifications.js +70 -0
- package/lib/commonjs/chat/hooks/useChatNotifications.js.map +1 -0
- package/lib/commonjs/chat/hooks/useChatSurfaceHeight.js +84 -0
- package/lib/commonjs/chat/hooks/useChatSurfaceHeight.js.map +1 -0
- package/lib/commonjs/chat/hooks/useChatSurfaceHeight.styles.js +22 -0
- package/lib/commonjs/chat/hooks/useChatSurfaceHeight.styles.js.map +1 -0
- package/lib/commonjs/chat/hooks/useCreateMessage.js +69 -0
- package/lib/commonjs/chat/hooks/useCreateMessage.js.map +1 -0
- package/lib/commonjs/chat/hooks/useCurrentUserId.js +17 -0
- package/lib/commonjs/chat/hooks/useCurrentUserId.js.map +1 -0
- package/lib/commonjs/chat/hooks/useDeleteMessage.js +34 -0
- package/lib/commonjs/chat/hooks/useDeleteMessage.js.map +1 -0
- package/lib/commonjs/chat/hooks/useEditMessage.js +37 -0
- package/lib/commonjs/chat/hooks/useEditMessage.js.map +1 -0
- package/lib/commonjs/chat/hooks/useFollowInfo.js +52 -0
- package/lib/commonjs/chat/hooks/useFollowInfo.js.map +1 -0
- package/lib/commonjs/chat/hooks/useMention.js +135 -0
- package/lib/commonjs/chat/hooks/useMention.js.map +1 -0
- package/lib/commonjs/chat/hooks/useNetworkOnline.js +31 -0
- package/lib/commonjs/chat/hooks/useNetworkOnline.js.map +1 -0
- package/lib/commonjs/chat/hooks/useVideoFileUrl.js +35 -0
- package/lib/commonjs/chat/hooks/useVideoFileUrl.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityAddGroupMemberPage/index.js +28 -0
- package/lib/commonjs/chat/pages/AmityAddGroupMemberPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityArchivedChatPage/index.js +34 -0
- package/lib/commonjs/chat/pages/AmityArchivedChatPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityArchivedChatPage/styles.js +25 -0
- package/lib/commonjs/chat/pages/AmityArchivedChatPage/styles.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityBannedGroupMemberListPage/index.js +28 -0
- package/lib/commonjs/chat/pages/AmityBannedGroupMemberListPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityChannelCreateConversationPage/index.js +29 -0
- package/lib/commonjs/chat/pages/AmityChannelCreateConversationPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityChannelCreateConversationPage/styles.js +24 -0
- package/lib/commonjs/chat/pages/AmityChannelCreateConversationPage/styles.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityChatHomePage/index.js +42 -0
- package/lib/commonjs/chat/pages/AmityChatHomePage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityChatHomePage/styles.js +25 -0
- package/lib/commonjs/chat/pages/AmityChatHomePage/styles.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityChatPage/index.js +42 -0
- package/lib/commonjs/chat/pages/AmityChatPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityChatPage/styles.js +24 -0
- package/lib/commonjs/chat/pages/AmityChatPage/styles.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityCreateGroupChatPage/index.js +26 -0
- package/lib/commonjs/chat/pages/AmityCreateGroupChatPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityEditGroupMemberPermissionsPage/index.js +26 -0
- package/lib/commonjs/chat/pages/AmityEditGroupMemberPermissionsPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityEditGroupNotificationPage/index.js +32 -0
- package/lib/commonjs/chat/pages/AmityEditGroupNotificationPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityEditGroupProfilePage/index.js +26 -0
- package/lib/commonjs/chat/pages/AmityEditGroupProfilePage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityGroupChatPage/index.js +31 -0
- package/lib/commonjs/chat/pages/AmityGroupChatPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityGroupMemberListPage/index.js +31 -0
- package/lib/commonjs/chat/pages/AmityGroupMemberListPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityGroupNotificationPreferencePage/index.js +31 -0
- package/lib/commonjs/chat/pages/AmityGroupNotificationPreferencePage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmityGroupSettingPage/index.js +26 -0
- package/lib/commonjs/chat/pages/AmityGroupSettingPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmitySearchChannelPage/index.js +26 -0
- package/lib/commonjs/chat/pages/AmitySearchChannelPage/index.js.map +1 -0
- package/lib/commonjs/chat/pages/AmitySelectGroupMemberPage/index.js +32 -0
- package/lib/commonjs/chat/pages/AmitySelectGroupMemberPage/index.js.map +1 -0
- package/lib/commonjs/chat/utils/groupMessagesByDate.js +56 -0
- package/lib/commonjs/chat/utils/groupMessagesByDate.js.map +1 -0
- package/lib/commonjs/chat/utils/highlightMatch.js +56 -0
- package/lib/commonjs/chat/utils/highlightMatch.js.map +1 -0
- package/lib/commonjs/chat/utils/isBlockedConversation.js +20 -0
- package/lib/commonjs/chat/utils/isBlockedConversation.js.map +1 -0
- package/lib/commonjs/chat/utils/linkifyText.js +64 -0
- package/lib/commonjs/chat/utils/linkifyText.js.map +1 -0
- package/lib/commonjs/chat/utils/previewLink.js +38 -0
- package/lib/commonjs/chat/utils/previewLink.js.map +1 -0
- package/lib/commonjs/chat/utils/timestamp.js +51 -0
- package/lib/commonjs/chat/utils/timestamp.js.map +1 -0
- package/lib/commonjs/core/assets/icons/emptyCommunity2.js +46 -0
- package/lib/commonjs/core/assets/icons/emptyCommunity2.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Avatar/Avatar.js +83 -0
- package/lib/commonjs/core/design/atoms/Avatar/Avatar.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Avatar/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Avatar/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Avatar/styles.js +140 -0
- package/lib/commonjs/core/design/atoms/Avatar/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Badge/Badge.js +81 -0
- package/lib/commonjs/core/design/atoms/Badge/Badge.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Badge/index.js +19 -0
- package/lib/commonjs/core/design/atoms/Badge/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Badge/styles.js +159 -0
- package/lib/commonjs/core/design/atoms/Badge/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Button/Button.js +77 -0
- package/lib/commonjs/core/design/atoms/Button/Button.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Button/Icon/Icon.js +66 -0
- package/lib/commonjs/core/design/atoms/Button/Icon/Icon.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Button/Icon/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Button/Icon/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Button/Icon/styles.js +139 -0
- package/lib/commonjs/core/design/atoms/Button/Icon/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Button/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Button/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Button/styles.js +298 -0
- package/lib/commonjs/core/design/atoms/Button/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Divider/Divider.js +39 -0
- package/lib/commonjs/core/design/atoms/Divider/Divider.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Divider/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Divider/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Divider/styles.js +49 -0
- package/lib/commonjs/core/design/atoms/Divider/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Boxed/Boxed.js +73 -0
- package/lib/commonjs/core/design/atoms/Input/Boxed/Boxed.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Boxed/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Input/Boxed/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Boxed/styles.js +97 -0
- package/lib/commonjs/core/design/atoms/Input/Boxed/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Chip/Chip.js +87 -0
- package/lib/commonjs/core/design/atoms/Input/Chip/Chip.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Chip/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Input/Chip/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Chip/styles.js +93 -0
- package/lib/commonjs/core/design/atoms/Input/Chip/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Input.js +20 -0
- package/lib/commonjs/core/design/atoms/Input/Input.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Text/Text.js +93 -0
- package/lib/commonjs/core/design/atoms/Input/Text/Text.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Text/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Input/Text/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/Text/styles.js +124 -0
- package/lib/commonjs/core/design/atoms/Input/Text/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/User/User.js +41 -0
- package/lib/commonjs/core/design/atoms/Input/User/User.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/User/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Input/User/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/User/styles.js +69 -0
- package/lib/commonjs/core/design/atoms/Input/User/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Input/index.js +41 -0
- package/lib/commonjs/core/design/atoms/Input/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/Loader.js +16 -0
- package/lib/commonjs/core/design/atoms/Loader/Loader.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/Spinner/Spinner.js +30 -0
- package/lib/commonjs/core/design/atoms/Loader/Spinner/Spinner.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/Spinner/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Loader/Spinner/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/Spinner/styles.js +26 -0
- package/lib/commonjs/core/design/atoms/Loader/Spinner/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/Upload/Upload.js +96 -0
- package/lib/commonjs/core/design/atoms/Loader/Upload/Upload.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/Upload/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Loader/Upload/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/Upload/styles.js +60 -0
- package/lib/commonjs/core/design/atoms/Loader/Upload/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Loader/index.js +27 -0
- package/lib/commonjs/core/design/atoms/Loader/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Selection/Selection.js +87 -0
- package/lib/commonjs/core/design/atoms/Selection/Selection.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Selection/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Selection/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Selection/styles.js +110 -0
- package/lib/commonjs/core/design/atoms/Selection/styles.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Tab/Tab.js +51 -0
- package/lib/commonjs/core/design/atoms/Tab/Tab.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Tab/index.js +13 -0
- package/lib/commonjs/core/design/atoms/Tab/index.js.map +1 -0
- package/lib/commonjs/core/design/atoms/Tab/styles.js +68 -0
- package/lib/commonjs/core/design/atoms/Tab/styles.js.map +1 -0
- package/lib/commonjs/core/design/components/BottomSheet/BottomSheet.js +485 -0
- package/lib/commonjs/core/design/components/BottomSheet/BottomSheet.js.map +1 -0
- package/lib/commonjs/core/design/components/BottomSheet/index.js +13 -0
- package/lib/commonjs/core/design/components/BottomSheet/index.js.map +1 -0
- package/lib/commonjs/core/design/components/BottomSheet/styles.js +87 -0
- package/lib/commonjs/core/design/components/BottomSheet/styles.js.map +1 -0
- package/lib/commonjs/core/design/components/Menu/Menu.js +99 -0
- package/lib/commonjs/core/design/components/Menu/Menu.js.map +1 -0
- package/lib/commonjs/core/design/components/Menu/index.js +13 -0
- package/lib/commonjs/core/design/components/Menu/index.js.map +1 -0
- package/lib/commonjs/core/design/components/Menu/styles.js +96 -0
- package/lib/commonjs/core/design/components/Menu/styles.js.map +1 -0
- package/lib/commonjs/core/design/components/MenuOptionButton/MenuOptionButton.js +40 -0
- package/lib/commonjs/core/design/components/MenuOptionButton/MenuOptionButton.js.map +1 -0
- package/lib/commonjs/core/design/components/MenuOptionButton/index.js +13 -0
- package/lib/commonjs/core/design/components/MenuOptionButton/index.js.map +1 -0
- package/lib/commonjs/core/design/components/MenuOptionButton/styles.js +42 -0
- package/lib/commonjs/core/design/components/MenuOptionButton/styles.js.map +1 -0
- package/lib/commonjs/core/design/components/Popover/Popover.js +175 -0
- package/lib/commonjs/core/design/components/Popover/Popover.js.map +1 -0
- package/lib/commonjs/core/design/components/Popover/index.js +13 -0
- package/lib/commonjs/core/design/components/Popover/index.js.map +1 -0
- package/lib/commonjs/core/design/components/Popover/styles.js +63 -0
- package/lib/commonjs/core/design/components/Popover/styles.js.map +1 -0
- package/lib/commonjs/core/design/components/Skeleton/Skeleton.js +55 -0
- package/lib/commonjs/core/design/components/Skeleton/Skeleton.js.map +1 -0
- package/lib/commonjs/core/design/components/Skeleton/index.js +13 -0
- package/lib/commonjs/core/design/components/Skeleton/index.js.map +1 -0
- package/lib/commonjs/core/design/components/Skeleton/styles.js +24 -0
- package/lib/commonjs/core/design/components/Skeleton/styles.js.map +1 -0
- package/lib/commonjs/core/design/components/TextEditor/TextEditor.js +190 -0
- package/lib/commonjs/core/design/components/TextEditor/TextEditor.js.map +1 -0
- package/lib/commonjs/core/design/components/TextEditor/index.js +20 -0
- package/lib/commonjs/core/design/components/TextEditor/index.js.map +1 -0
- package/lib/commonjs/core/design/components/TextEditor/styles.js +69 -0
- package/lib/commonjs/core/design/components/TextEditor/styles.js.map +1 -0
- package/lib/commonjs/core/design/components/TextEditor/utils.js +132 -0
- package/lib/commonjs/core/design/components/TextEditor/utils.js.map +1 -0
- package/lib/commonjs/core/design/components/Typography/Typography.js +29 -0
- package/lib/commonjs/core/design/components/Typography/Typography.js.map +1 -0
- package/lib/commonjs/core/design/components/Typography/index.js +13 -0
- package/lib/commonjs/core/design/components/Typography/index.js.map +1 -0
- package/lib/commonjs/core/design/components/Typography/styles.js +78 -0
- package/lib/commonjs/core/design/components/Typography/styles.js.map +1 -0
- package/lib/commonjs/core/design/elements/BrandBadge/BrandBadge.js +29 -0
- package/lib/commonjs/core/design/elements/BrandBadge/BrandBadge.js.map +1 -0
- package/lib/commonjs/core/design/elements/BrandBadge/index.js +13 -0
- package/lib/commonjs/core/design/elements/BrandBadge/index.js.map +1 -0
- package/lib/commonjs/core/design/elements/ModeratorBadge/ModeratorBadge.js +26 -0
- package/lib/commonjs/core/design/elements/ModeratorBadge/ModeratorBadge.js.map +1 -0
- package/lib/commonjs/core/design/elements/ModeratorBadge/index.js +13 -0
- package/lib/commonjs/core/design/elements/ModeratorBadge/index.js.map +1 -0
- package/lib/commonjs/core/design/elements/PrivateBadge/PrivateBadge.js +30 -0
- package/lib/commonjs/core/design/elements/PrivateBadge/PrivateBadge.js.map +1 -0
- package/lib/commonjs/core/design/elements/PrivateBadge/index.js +13 -0
- package/lib/commonjs/core/design/elements/PrivateBadge/index.js.map +1 -0
- package/lib/commonjs/core/design/icons/AmityIcon.js +29 -0
- package/lib/commonjs/core/design/icons/AmityIcon.js.map +1 -0
- package/lib/commonjs/core/design/icons/generated/iconRegistry.js +702 -0
- package/lib/commonjs/core/design/icons/generated/iconRegistry.js.map +1 -0
- package/lib/commonjs/core/design/icons/index.js +38 -0
- package/lib/commonjs/core/design/icons/index.js.map +1 -0
- package/lib/commonjs/core/design/molecules/SearchInput/SearchInput.js +52 -0
- package/lib/commonjs/core/design/molecules/SearchInput/SearchInput.js.map +1 -0
- package/lib/commonjs/core/design/molecules/SearchInput/index.js +13 -0
- package/lib/commonjs/core/design/molecules/SearchInput/index.js.map +1 -0
- package/lib/commonjs/core/design/molecules/SearchInput/styles.js +30 -0
- package/lib/commonjs/core/design/molecules/SearchInput/styles.js.map +1 -0
- package/lib/commonjs/core/design/molecules/Tabs/Tabs.js +38 -0
- package/lib/commonjs/core/design/molecules/Tabs/Tabs.js.map +1 -0
- package/lib/commonjs/core/design/molecules/Tabs/index.js +13 -0
- package/lib/commonjs/core/design/molecules/Tabs/index.js.map +1 -0
- package/lib/commonjs/core/design/molecules/Tabs/styles.js +35 -0
- package/lib/commonjs/core/design/molecules/Tabs/styles.js.map +1 -0
- package/lib/commonjs/core/design/theme/AmityForceMode.js +28 -0
- package/lib/commonjs/core/design/theme/AmityForceMode.js.map +1 -0
- package/lib/commonjs/core/design/theme/AmityThemeProvider.js +58 -0
- package/lib/commonjs/core/design/theme/AmityThemeProvider.js.map +1 -0
- package/lib/commonjs/core/design/theme/index.js +52 -0
- package/lib/commonjs/core/design/theme/index.js.map +1 -0
- package/lib/commonjs/core/design/theme/resolveTokens.js +45 -0
- package/lib/commonjs/core/design/theme/resolveTokens.js.map +1 -0
- package/lib/commonjs/core/design/theme/useToken.js +41 -0
- package/lib/commonjs/core/design/theme/useToken.js.map +1 -0
- package/lib/commonjs/core/design/tokens/CHECKSUMS.json +9 -0
- package/lib/commonjs/core/design/tokens/amity-color-tokens.js +5076 -0
- package/lib/commonjs/core/design/tokens/amity-color-tokens.js.map +1 -0
- package/lib/commonjs/core/design/tokens/amity-uikit-config.json +1381 -0
- package/lib/commonjs/core/design/tokens/amity-uikit-design-tokens.json +2953 -0
- package/lib/commonjs/core/design/tokens/config-resolver.d.js +2 -0
- package/lib/commonjs/core/design/tokens/config-resolver.d.js.map +1 -0
- package/lib/commonjs/core/design/tokens/config-resolver.js +659 -0
- package/lib/commonjs/core/design/tokens/config-resolver.js.map +1 -0
- package/lib/commonjs/core/design/tokens/geometry.json +2673 -0
- package/lib/commonjs/core/design/tokens/spacing.js +33 -0
- package/lib/commonjs/core/design/tokens/spacing.js.map +1 -0
- package/lib/commonjs/core/hooks/collections/index.js +13 -0
- package/lib/commonjs/core/hooks/collections/index.js.map +1 -0
- package/lib/commonjs/core/hooks/collections/useLiveCollection.js +92 -0
- package/lib/commonjs/core/hooks/collections/useLiveCollection.js.map +1 -0
- package/lib/commonjs/core/hooks/objects/index.js +29 -0
- package/lib/commonjs/core/hooks/objects/index.js.map +1 -0
- package/lib/commonjs/core/hooks/objects/useLiveObject.js.map +1 -0
- package/lib/commonjs/{social/hooks/objects/user → core/hooks/objects}/useUser.js +5 -1
- package/lib/commonjs/core/hooks/objects/useUser.js.map +1 -0
- package/lib/commonjs/core/hooks/useUpload.js +8 -2
- package/lib/commonjs/core/hooks/useUpload.js.map +1 -1
- package/lib/commonjs/core/index.js +7 -0
- package/lib/commonjs/core/index.js.map +1 -1
- package/lib/commonjs/core/localization/LocaleProvider.js +136 -0
- package/lib/commonjs/core/localization/LocaleProvider.js.map +1 -0
- package/lib/commonjs/core/localization/defaultLocaleMap.js +29 -0
- package/lib/commonjs/core/localization/defaultLocaleMap.js.map +1 -0
- package/lib/commonjs/core/localization/defaults/en.js +30 -0
- package/lib/commonjs/core/localization/defaults/en.js.map +1 -0
- package/lib/commonjs/core/localization/defaults/en.json +1180 -0
- package/lib/commonjs/core/localization/defaults/th.js +29 -0
- package/lib/commonjs/core/localization/defaults/th.js.map +1 -0
- package/lib/commonjs/core/localization/defaults/th.json +1179 -0
- package/lib/commonjs/core/localization/index.js +103 -0
- package/lib/commonjs/core/localization/index.js.map +1 -0
- package/lib/commonjs/core/localization/resolveString.js +195 -0
- package/lib/commonjs/core/localization/resolveString.js.map +1 -0
- package/lib/commonjs/core/localization/useString.js +36 -0
- package/lib/commonjs/core/localization/useString.js.map +1 -0
- package/lib/commonjs/core/providers/AmityUIKitProvider.js +11 -2
- package/lib/commonjs/core/providers/AmityUIKitProvider.js.map +1 -1
- package/lib/commonjs/core/routes/AmityChatEntry.js +17 -0
- package/lib/commonjs/core/routes/AmityChatEntry.js.map +1 -0
- package/lib/commonjs/core/routes/AmityUIKitNavigator.js +68 -1
- package/lib/commonjs/core/routes/AmityUIKitNavigator.js.map +1 -1
- package/lib/commonjs/core/stores/slices/bottomSheetSlice.js +9 -3
- package/lib/commonjs/core/stores/slices/bottomSheetSlice.js.map +1 -1
- package/lib/commonjs/core/stores/slices/toastSlice.js +4 -1
- package/lib/commonjs/core/stores/slices/toastSlice.js.map +1 -1
- package/lib/commonjs/core/utils/abbreviateCount.js +21 -0
- package/lib/commonjs/core/utils/abbreviateCount.js.map +1 -0
- package/lib/commonjs/core/utils/fileUpload.js +1 -1
- package/lib/commonjs/index.js +6 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/social/components/Avatar/Avatar.js +1 -1
- package/lib/commonjs/social/components/BottomSheetComponent/BottomSheetComponent.js +26 -20
- package/lib/commonjs/social/components/BottomSheetComponent/BottomSheetComponent.js.map +1 -1
- package/lib/commonjs/social/components/LoadingVideo/index.js +2 -2
- package/lib/commonjs/social/components/PostContent/index.js +1 -1
- package/lib/commonjs/social/components/SelectedMediaComponent/SelectedMediaComponent.js +2 -2
- package/lib/commonjs/social/components/StoryKit/src/StoryListItem.js +2 -2
- package/lib/commonjs/social/components/StoryKit/src/StoryListItem.js.map +1 -1
- package/lib/commonjs/social/components/Toast/index.js +44 -8
- package/lib/commonjs/social/components/Toast/index.js.map +1 -1
- package/lib/commonjs/social/components/Toast/styles.js +16 -4
- package/lib/commonjs/social/components/Toast/styles.js.map +1 -1
- package/lib/commonjs/social/constants/index.js +1 -1
- package/lib/commonjs/social/features/livestream/Create/Create.js +1 -1
- package/lib/commonjs/social/features/poll/Composer/PollPostComposer.js +7 -4
- package/lib/commonjs/social/features/poll/Composer/PollPostComposer.js.map +1 -1
- package/lib/commonjs/social/features/post/Composer/PostComposer.js +3 -4
- package/lib/commonjs/social/features/post/Composer/PostComposer.js.map +1 -1
- package/lib/commonjs/social/features/story/View/components/AmityViewStoryItem.js +2 -2
- package/lib/commonjs/social/features/story/View/components/AmityViewStoryItem.js.map +1 -1
- package/lib/commonjs/social/hooks/collections/useLiveCollection.js +7 -86
- package/lib/commonjs/social/hooks/collections/useLiveCollection.js.map +1 -1
- package/lib/commonjs/social/hooks/objects/index.js +1 -12
- package/lib/commonjs/social/hooks/objects/index.js.map +1 -1
- package/lib/commonjs/social/hooks/objects/user/useFollowInfo.js +1 -1
- package/lib/commonjs/social/hooks/objects/user/useFollowInfo.js.map +1 -1
- package/lib/commonjs/social/providers/BehaviourProvider.js +3 -1
- package/lib/commonjs/social/providers/BehaviourProvider.js.map +1 -1
- package/lib/module/chat/components/AmityChatListItem/AmityChatListItem.js +393 -0
- package/lib/module/chat/components/AmityChatListItem/AmityChatListItem.js.map +1 -0
- package/lib/module/chat/components/AmityChatListItem/index.js +2 -0
- package/lib/module/chat/components/AmityChatListItem/index.js.map +1 -0
- package/lib/module/chat/components/AmityChatListItem/styles.js +139 -0
- package/lib/module/chat/components/AmityChatListItem/styles.js.map +1 -0
- package/lib/module/chat/components/AmityConversationChatUserActionComponent/AmityConversationChatUserActionComponent.js +251 -0
- package/lib/module/chat/components/AmityConversationChatUserActionComponent/AmityConversationChatUserActionComponent.js.map +1 -0
- package/lib/module/chat/components/AmityConversationChatUserActionComponent/index.js +2 -0
- package/lib/module/chat/components/AmityConversationChatUserActionComponent/index.js.map +1 -0
- package/lib/module/chat/components/AmityConversationChatUserActionComponent/styles.js +24 -0
- package/lib/module/chat/components/AmityConversationChatUserActionComponent/styles.js.map +1 -0
- package/lib/module/chat/components/AmityGroupMemberActionComponent/AmityGroupMemberActionComponent.js +245 -0
- package/lib/module/chat/components/AmityGroupMemberActionComponent/AmityGroupMemberActionComponent.js.map +1 -0
- package/lib/module/chat/components/AmityGroupMemberActionComponent/index.js +2 -0
- package/lib/module/chat/components/AmityGroupMemberActionComponent/index.js.map +1 -0
- package/lib/module/chat/components/AmityGroupMemberActionComponent/styles.js +24 -0
- package/lib/module/chat/components/AmityGroupMemberActionComponent/styles.js.map +1 -0
- package/lib/module/chat/components/AmityMediaAttachmentPicker/AmityMediaAttachmentPicker.js +197 -0
- package/lib/module/chat/components/AmityMediaAttachmentPicker/AmityMediaAttachmentPicker.js.map +1 -0
- package/lib/module/chat/components/AmityMediaAttachmentPicker/index.js +2 -0
- package/lib/module/chat/components/AmityMediaAttachmentPicker/index.js.map +1 -0
- package/lib/module/chat/components/AmityMediaAttachmentPicker/styles.js +63 -0
- package/lib/module/chat/components/AmityMediaAttachmentPicker/styles.js.map +1 -0
- package/lib/module/chat/components/AmityMessageActionMenu/AmityMessageActionMenu.js +238 -0
- package/lib/module/chat/components/AmityMessageActionMenu/AmityMessageActionMenu.js.map +1 -0
- package/lib/module/chat/components/AmityMessageActionMenu/index.js +2 -0
- package/lib/module/chat/components/AmityMessageActionMenu/index.js.map +1 -0
- package/lib/module/chat/components/AmityMessageActionMenu/styles.js +61 -0
- package/lib/module/chat/components/AmityMessageActionMenu/styles.js.map +1 -0
- package/lib/module/chat/components/AmityMessageBubble/AmityMessageBubble.js +564 -0
- package/lib/module/chat/components/AmityMessageBubble/AmityMessageBubble.js.map +1 -0
- package/lib/module/chat/components/AmityMessageBubble/index.js +2 -0
- package/lib/module/chat/components/AmityMessageBubble/index.js.map +1 -0
- package/lib/module/chat/components/AmityMessageBubble/styles.js +355 -0
- package/lib/module/chat/components/AmityMessageBubble/styles.js.map +1 -0
- package/lib/module/chat/components/AmityMessageComposer/AmityMessageComposer.js +262 -0
- package/lib/module/chat/components/AmityMessageComposer/AmityMessageComposer.js.map +1 -0
- package/lib/module/chat/components/AmityMessageComposer/index.js +2 -0
- package/lib/module/chat/components/AmityMessageComposer/index.js.map +1 -0
- package/lib/module/chat/components/AmityMessageComposer/styles.js +182 -0
- package/lib/module/chat/components/AmityMessageComposer/styles.js.map +1 -0
- package/lib/module/chat/components/AmitySearchChannelResults/AmitySearchChannelResults.js +155 -0
- package/lib/module/chat/components/AmitySearchChannelResults/AmitySearchChannelResults.js.map +1 -0
- package/lib/module/chat/components/AmitySearchChannelResults/SwipeToLeft.js +76 -0
- package/lib/module/chat/components/AmitySearchChannelResults/SwipeToLeft.js.map +1 -0
- package/lib/module/chat/components/AmitySearchChannelResults/index.js +2 -0
- package/lib/module/chat/components/AmitySearchChannelResults/index.js.map +1 -0
- package/lib/module/chat/components/AmitySearchChannelResults/styles.js +51 -0
- package/lib/module/chat/components/AmitySearchChannelResults/styles.js.map +1 -0
- package/lib/module/chat/components/AmitySearchMessageResults/AmitySearchMessageResults.js +155 -0
- package/lib/module/chat/components/AmitySearchMessageResults/AmitySearchMessageResults.js.map +1 -0
- package/lib/module/chat/components/AmitySearchMessageResults/index.js +2 -0
- package/lib/module/chat/components/AmitySearchMessageResults/index.js.map +1 -0
- package/lib/module/chat/constants/bubble.js +114 -0
- package/lib/module/chat/constants/bubble.js.map +1 -0
- package/lib/module/chat/constants/errorResponse.js +21 -0
- package/lib/module/chat/constants/errorResponse.js.map +1 -0
- package/lib/module/chat/constants/index.js +6 -0
- package/lib/module/chat/constants/index.js.map +1 -0
- package/lib/module/chat/constants/list.js +7 -0
- package/lib/module/chat/constants/list.js.map +1 -0
- package/lib/module/chat/constants/search.js +11 -0
- package/lib/module/chat/constants/search.js.map +1 -0
- package/lib/module/chat/constants/sheet.js +36 -0
- package/lib/module/chat/constants/sheet.js.map +1 -0
- package/lib/module/chat/elements/ArchivedBadge/ArchivedBadge.js +26 -0
- package/lib/module/chat/elements/ArchivedBadge/ArchivedBadge.js.map +1 -0
- package/lib/module/chat/elements/ArchivedBadge/index.js +2 -0
- package/lib/module/chat/elements/ArchivedBadge/index.js.map +1 -0
- package/lib/module/chat/elements/ArchivedBadge/styles.js +33 -0
- package/lib/module/chat/elements/ArchivedBadge/styles.js.map +1 -0
- package/lib/module/chat/elements/Avatar/Avatar.js +140 -0
- package/lib/module/chat/elements/Avatar/Avatar.js.map +1 -0
- package/lib/module/chat/elements/Avatar/index.js +2 -0
- package/lib/module/chat/elements/Avatar/index.js.map +1 -0
- package/lib/module/chat/elements/Avatar/styles.js +61 -0
- package/lib/module/chat/elements/Avatar/styles.js.map +1 -0
- package/lib/module/chat/elements/AvatarPicker/AvatarPicker.js +101 -0
- package/lib/module/chat/elements/AvatarPicker/AvatarPicker.js.map +1 -0
- package/lib/module/chat/elements/AvatarPicker/index.js +2 -0
- package/lib/module/chat/elements/AvatarPicker/index.js.map +1 -0
- package/lib/module/chat/elements/AvatarPicker/styles.js +50 -0
- package/lib/module/chat/elements/AvatarPicker/styles.js.map +1 -0
- package/lib/module/chat/elements/ChatKeyboardAvoidingView/ChatKeyboardAvoidingView.js +142 -0
- package/lib/module/chat/elements/ChatKeyboardAvoidingView/ChatKeyboardAvoidingView.js.map +1 -0
- package/lib/module/chat/elements/ChatKeyboardAvoidingView/index.js +2 -0
- package/lib/module/chat/elements/ChatKeyboardAvoidingView/index.js.map +1 -0
- package/lib/module/chat/elements/ChatKeyboardAvoidingView/styles.js +15 -0
- package/lib/module/chat/elements/ChatKeyboardAvoidingView/styles.js.map +1 -0
- package/lib/module/chat/elements/ConversationChatAvatar/ConversationChatAvatar.js +48 -0
- package/lib/module/chat/elements/ConversationChatAvatar/ConversationChatAvatar.js.map +1 -0
- package/lib/module/chat/elements/ConversationChatAvatar/index.js +2 -0
- package/lib/module/chat/elements/ConversationChatAvatar/index.js.map +1 -0
- package/lib/module/chat/elements/GroupNameField/GroupNameField.js +54 -0
- package/lib/module/chat/elements/GroupNameField/GroupNameField.js.map +1 -0
- package/lib/module/chat/elements/GroupNameField/index.js +2 -0
- package/lib/module/chat/elements/GroupNameField/index.js.map +1 -0
- package/lib/module/chat/elements/GroupNameField/styles.js +21 -0
- package/lib/module/chat/elements/GroupNameField/styles.js.map +1 -0
- package/lib/module/chat/elements/MediaUploadOverlay/MediaUploadOverlay.js +33 -0
- package/lib/module/chat/elements/MediaUploadOverlay/MediaUploadOverlay.js.map +1 -0
- package/lib/module/chat/elements/MediaUploadOverlay/index.js +2 -0
- package/lib/module/chat/elements/MediaUploadOverlay/index.js.map +1 -0
- package/lib/module/chat/elements/MediaUploadOverlay/styles.js +25 -0
- package/lib/module/chat/elements/MediaUploadOverlay/styles.js.map +1 -0
- package/lib/module/chat/elements/ReactionPicker/ReactionPicker.js +288 -0
- package/lib/module/chat/elements/ReactionPicker/ReactionPicker.js.map +1 -0
- package/lib/module/chat/elements/ReactionPicker/index.js +2 -0
- package/lib/module/chat/elements/ReactionPicker/index.js.map +1 -0
- package/lib/module/chat/elements/ReactionPicker/styles.js +133 -0
- package/lib/module/chat/elements/ReactionPicker/styles.js.map +1 -0
- package/lib/module/chat/elements/SettingMenu/SettingMenu.js +63 -0
- package/lib/module/chat/elements/SettingMenu/SettingMenu.js.map +1 -0
- package/lib/module/chat/elements/SettingMenu/index.js +2 -0
- package/lib/module/chat/elements/SettingMenu/index.js.map +1 -0
- package/lib/module/chat/elements/SettingMenu/styles.js +59 -0
- package/lib/module/chat/elements/SettingMenu/styles.js.map +1 -0
- package/lib/module/chat/elements/TopBar/TopBar.js +55 -0
- package/lib/module/chat/elements/TopBar/TopBar.js.map +1 -0
- package/lib/module/chat/elements/TopBar/index.js +2 -0
- package/lib/module/chat/elements/TopBar/index.js.map +1 -0
- package/lib/module/chat/elements/TopBar/styles.js +51 -0
- package/lib/module/chat/elements/TopBar/styles.js.map +1 -0
- package/lib/module/chat/elements/WaitingForNetwork/WaitingForNetwork.js +51 -0
- package/lib/module/chat/elements/WaitingForNetwork/WaitingForNetwork.js.map +1 -0
- package/lib/module/chat/elements/WaitingForNetwork/index.js +2 -0
- package/lib/module/chat/elements/WaitingForNetwork/index.js.map +1 -0
- package/lib/module/chat/elements/WaitingForNetwork/styles.js +31 -0
- package/lib/module/chat/elements/WaitingForNetwork/styles.js.map +1 -0
- package/lib/module/chat/features/archive/ArchivedChat.js +31 -0
- package/lib/module/chat/features/archive/ArchivedChat.js.map +1 -0
- package/lib/module/chat/features/archive/components/ArchivedChannelList/ArchivedChannelList.js +126 -0
- package/lib/module/chat/features/archive/components/ArchivedChannelList/ArchivedChannelList.js.map +1 -0
- package/lib/module/chat/features/archive/components/ArchivedChannelList/index.js +2 -0
- package/lib/module/chat/features/archive/components/ArchivedChannelList/index.js.map +1 -0
- package/lib/module/chat/features/archive/components/ArchivedChannelList/styles.js +54 -0
- package/lib/module/chat/features/archive/components/ArchivedChannelList/styles.js.map +1 -0
- package/lib/module/chat/features/archive/components/Header/Header.js +22 -0
- package/lib/module/chat/features/archive/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/archive/components/Header/index.js +2 -0
- package/lib/module/chat/features/archive/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/archive/components/index.js +3 -0
- package/lib/module/chat/features/archive/components/index.js.map +1 -0
- package/lib/module/chat/features/archive/index.js +2 -0
- package/lib/module/chat/features/archive/index.js.map +1 -0
- package/lib/module/chat/features/archive/styles.js +22 -0
- package/lib/module/chat/features/archive/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/Chat.js +149 -0
- package/lib/module/chat/features/conversation/Chat.js.map +1 -0
- package/lib/module/chat/features/conversation/components/Header/Header.js +109 -0
- package/lib/module/chat/features/conversation/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/conversation/components/Header/index.js +2 -0
- package/lib/module/chat/features/conversation/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/conversation/components/Header/styles.js +62 -0
- package/lib/module/chat/features/conversation/components/Header/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/components/MessageList/MessageList.js +409 -0
- package/lib/module/chat/features/conversation/components/MessageList/MessageList.js.map +1 -0
- package/lib/module/chat/features/conversation/components/MessageList/index.js +2 -0
- package/lib/module/chat/features/conversation/components/MessageList/index.js.map +1 -0
- package/lib/module/chat/features/conversation/components/MessageList/styles.js +49 -0
- package/lib/module/chat/features/conversation/components/MessageList/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/components/MessageRow/MessageRow.js +226 -0
- package/lib/module/chat/features/conversation/components/MessageRow/MessageRow.js.map +1 -0
- package/lib/module/chat/features/conversation/components/MessageRow/index.js +2 -0
- package/lib/module/chat/features/conversation/components/MessageRow/index.js.map +1 -0
- package/lib/module/chat/features/conversation/components/MessageRow/styles.js +93 -0
- package/lib/module/chat/features/conversation/components/MessageRow/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/components/index.js +4 -0
- package/lib/module/chat/features/conversation/components/index.js.map +1 -0
- package/lib/module/chat/features/conversation/create/CreateConversation.js +38 -0
- package/lib/module/chat/features/conversation/create/CreateConversation.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/Header/Header.js +44 -0
- package/lib/module/chat/features/conversation/create/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/Header/index.js +2 -0
- package/lib/module/chat/features/conversation/create/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/Header/styles.js +25 -0
- package/lib/module/chat/features/conversation/create/components/Header/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/UserItem/UserItem.js +77 -0
- package/lib/module/chat/features/conversation/create/components/UserItem/UserItem.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/UserItem/index.js +2 -0
- package/lib/module/chat/features/conversation/create/components/UserItem/index.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/UserItem/styles.js +52 -0
- package/lib/module/chat/features/conversation/create/components/UserItem/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/UserList/UserList.js +89 -0
- package/lib/module/chat/features/conversation/create/components/UserList/UserList.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/UserList/index.js +2 -0
- package/lib/module/chat/features/conversation/create/components/UserList/index.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/UserList/styles.js +16 -0
- package/lib/module/chat/features/conversation/create/components/UserList/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/create/components/index.js +4 -0
- package/lib/module/chat/features/conversation/create/components/index.js.map +1 -0
- package/lib/module/chat/features/conversation/create/hooks/index.js +3 -0
- package/lib/module/chat/features/conversation/create/hooks/index.js.map +1 -0
- package/lib/module/chat/features/conversation/create/hooks/useCreateConversation.js +65 -0
- package/lib/module/chat/features/conversation/create/hooks/useCreateConversation.js.map +1 -0
- package/lib/module/chat/features/conversation/create/hooks/useSearchUsers.js +68 -0
- package/lib/module/chat/features/conversation/create/hooks/useSearchUsers.js.map +1 -0
- package/lib/module/chat/features/conversation/create/index.js +2 -0
- package/lib/module/chat/features/conversation/create/index.js.map +1 -0
- package/lib/module/chat/features/conversation/create/styles.js +21 -0
- package/lib/module/chat/features/conversation/create/styles.js.map +1 -0
- package/lib/module/chat/features/conversation/hooks/useConversation.js +65 -0
- package/lib/module/chat/features/conversation/hooks/useConversation.js.map +1 -0
- package/lib/module/chat/features/conversation/index.js +2 -0
- package/lib/module/chat/features/conversation/index.js.map +1 -0
- package/lib/module/chat/features/conversation/styles.js +19 -0
- package/lib/module/chat/features/conversation/styles.js.map +1 -0
- package/lib/module/chat/features/group/add-member/AddGroupMember.js +64 -0
- package/lib/module/chat/features/group/add-member/AddGroupMember.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/AddMemberButton/AddMemberButton.js +37 -0
- package/lib/module/chat/features/group/add-member/components/AddMemberButton/AddMemberButton.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/AddMemberButton/index.js +2 -0
- package/lib/module/chat/features/group/add-member/components/AddMemberButton/index.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/AddMemberButton/styles.js +23 -0
- package/lib/module/chat/features/group/add-member/components/AddMemberButton/styles.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/Header/Header.js +48 -0
- package/lib/module/chat/features/group/add-member/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/add-member/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/Header/styles.js +24 -0
- package/lib/module/chat/features/group/add-member/components/Header/styles.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/SelectedUsersBar/SelectedUsersBar.js +41 -0
- package/lib/module/chat/features/group/add-member/components/SelectedUsersBar/SelectedUsersBar.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/SelectedUsersBar/index.js +2 -0
- package/lib/module/chat/features/group/add-member/components/SelectedUsersBar/index.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/SelectedUsersBar/styles.js +30 -0
- package/lib/module/chat/features/group/add-member/components/SelectedUsersBar/styles.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/UserList/UserList.js +152 -0
- package/lib/module/chat/features/group/add-member/components/UserList/UserList.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/UserList/index.js +2 -0
- package/lib/module/chat/features/group/add-member/components/UserList/index.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/UserList/styles.js +48 -0
- package/lib/module/chat/features/group/add-member/components/UserList/styles.js.map +1 -0
- package/lib/module/chat/features/group/add-member/components/index.js +5 -0
- package/lib/module/chat/features/group/add-member/components/index.js.map +1 -0
- package/lib/module/chat/features/group/add-member/hooks/index.js +2 -0
- package/lib/module/chat/features/group/add-member/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/add-member/hooks/useAddGroupMember.js +94 -0
- package/lib/module/chat/features/group/add-member/hooks/useAddGroupMember.js.map +1 -0
- package/lib/module/chat/features/group/add-member/index.js +2 -0
- package/lib/module/chat/features/group/add-member/index.js.map +1 -0
- package/lib/module/chat/features/group/add-member/styles.js +24 -0
- package/lib/module/chat/features/group/add-member/styles.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/BannedGroupMembers.js +55 -0
- package/lib/module/chat/features/group/banned-members/BannedGroupMembers.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/components/BannedMemberList/BannedMemberList.js +120 -0
- package/lib/module/chat/features/group/banned-members/components/BannedMemberList/BannedMemberList.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/components/BannedMemberList/index.js +2 -0
- package/lib/module/chat/features/group/banned-members/components/BannedMemberList/index.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/components/BannedMemberList/styles.js +24 -0
- package/lib/module/chat/features/group/banned-members/components/BannedMemberList/styles.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/components/Header/Header.js +21 -0
- package/lib/module/chat/features/group/banned-members/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/banned-members/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/components/index.js +3 -0
- package/lib/module/chat/features/group/banned-members/components/index.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/hooks/index.js +2 -0
- package/lib/module/chat/features/group/banned-members/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/hooks/useBannedGroupMembers.js +63 -0
- package/lib/module/chat/features/group/banned-members/hooks/useBannedGroupMembers.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/index.js +2 -0
- package/lib/module/chat/features/group/banned-members/index.js.map +1 -0
- package/lib/module/chat/features/group/banned-members/styles.js +24 -0
- package/lib/module/chat/features/group/banned-members/styles.js.map +1 -0
- package/lib/module/chat/features/group/chat/GroupChat.js +138 -0
- package/lib/module/chat/features/group/chat/GroupChat.js.map +1 -0
- package/lib/module/chat/features/group/chat/components/BannedEmptyState/BannedEmptyState.js +33 -0
- package/lib/module/chat/features/group/chat/components/BannedEmptyState/BannedEmptyState.js.map +1 -0
- package/lib/module/chat/features/group/chat/components/BannedEmptyState/index.js +2 -0
- package/lib/module/chat/features/group/chat/components/BannedEmptyState/index.js.map +1 -0
- package/lib/module/chat/features/group/chat/components/BannedEmptyState/styles.js +33 -0
- package/lib/module/chat/features/group/chat/components/BannedEmptyState/styles.js.map +1 -0
- package/lib/module/chat/features/group/chat/components/Header/Header.js +75 -0
- package/lib/module/chat/features/group/chat/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/chat/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/chat/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/chat/components/Header/styles.js +63 -0
- package/lib/module/chat/features/group/chat/components/Header/styles.js.map +1 -0
- package/lib/module/chat/features/group/chat/components/index.js +3 -0
- package/lib/module/chat/features/group/chat/components/index.js.map +1 -0
- package/lib/module/chat/features/group/chat/hooks/index.js +2 -0
- package/lib/module/chat/features/group/chat/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/chat/hooks/useGroupChat.js +80 -0
- package/lib/module/chat/features/group/chat/hooks/useGroupChat.js.map +1 -0
- package/lib/module/chat/features/group/chat/index.js +2 -0
- package/lib/module/chat/features/group/chat/index.js.map +1 -0
- package/lib/module/chat/features/group/chat/styles.js +17 -0
- package/lib/module/chat/features/group/chat/styles.js.map +1 -0
- package/lib/module/chat/features/group/create/CreateGroupChat.js +98 -0
- package/lib/module/chat/features/group/create/CreateGroupChat.js.map +1 -0
- package/lib/module/chat/features/group/create/components/Header/Header.js +42 -0
- package/lib/module/chat/features/group/create/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/create/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/create/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/create/components/MemberGrid/MemberGrid.js +63 -0
- package/lib/module/chat/features/group/create/components/MemberGrid/MemberGrid.js.map +1 -0
- package/lib/module/chat/features/group/create/components/MemberGrid/index.js +2 -0
- package/lib/module/chat/features/group/create/components/MemberGrid/index.js.map +1 -0
- package/lib/module/chat/features/group/create/components/MemberGrid/styles.js +47 -0
- package/lib/module/chat/features/group/create/components/MemberGrid/styles.js.map +1 -0
- package/lib/module/chat/features/group/create/components/PrivacySection/PrivacySection.js +108 -0
- package/lib/module/chat/features/group/create/components/PrivacySection/PrivacySection.js.map +1 -0
- package/lib/module/chat/features/group/create/components/PrivacySection/index.js +2 -0
- package/lib/module/chat/features/group/create/components/PrivacySection/index.js.map +1 -0
- package/lib/module/chat/features/group/create/components/PrivacySection/styles.js +67 -0
- package/lib/module/chat/features/group/create/components/PrivacySection/styles.js.map +1 -0
- package/lib/module/chat/features/group/create/components/index.js +4 -0
- package/lib/module/chat/features/group/create/components/index.js.map +1 -0
- package/lib/module/chat/features/group/create/hooks/index.js +2 -0
- package/lib/module/chat/features/group/create/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/create/hooks/useCreateGroupChat.js +193 -0
- package/lib/module/chat/features/group/create/hooks/useCreateGroupChat.js.map +1 -0
- package/lib/module/chat/features/group/create/index.js +2 -0
- package/lib/module/chat/features/group/create/index.js.map +1 -0
- package/lib/module/chat/features/group/create/styles.js +27 -0
- package/lib/module/chat/features/group/create/styles.js.map +1 -0
- package/lib/module/chat/features/group/create/utils/generateDisplayName.js +30 -0
- package/lib/module/chat/features/group/create/utils/generateDisplayName.js.map +1 -0
- package/lib/module/chat/features/group/create/utils/index.js +2 -0
- package/lib/module/chat/features/group/create/utils/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/EditGroupNotification.js +104 -0
- package/lib/module/chat/features/group/edit-notification/EditGroupNotification.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationMode/NotificationMode.js +36 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationMode/NotificationMode.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationMode/index.js +2 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationMode/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationMode/styles.js +30 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationMode/styles.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationModeRow/NotificationModeRow.js +40 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationModeRow/NotificationModeRow.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationModeRow/index.js +2 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationModeRow/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationModeRow/styles.js +30 -0
- package/lib/module/chat/features/group/edit-notification/components/NotificationModeRow/styles.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/components/index.js +2 -0
- package/lib/module/chat/features/group/edit-notification/components/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/hooks/index.js +2 -0
- package/lib/module/chat/features/group/edit-notification/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/hooks/useEditGroupNotification.js +124 -0
- package/lib/module/chat/features/group/edit-notification/hooks/useEditGroupNotification.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/index.js +2 -0
- package/lib/module/chat/features/group/edit-notification/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-notification/styles.js +31 -0
- package/lib/module/chat/features/group/edit-notification/styles.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/EditGroupMemberPermissions.js +75 -0
- package/lib/module/chat/features/group/edit-permission/EditGroupMemberPermissions.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/components/MemberPermission/MemberPermission.js +39 -0
- package/lib/module/chat/features/group/edit-permission/components/MemberPermission/MemberPermission.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/components/MemberPermission/index.js +2 -0
- package/lib/module/chat/features/group/edit-permission/components/MemberPermission/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/components/MemberPermission/styles.js +30 -0
- package/lib/module/chat/features/group/edit-permission/components/MemberPermission/styles.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/components/index.js +2 -0
- package/lib/module/chat/features/group/edit-permission/components/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/constants/index.js +22 -0
- package/lib/module/chat/features/group/edit-permission/constants/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/hooks/index.js +2 -0
- package/lib/module/chat/features/group/edit-permission/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/hooks/useEditGroupMemberPermissions.js +109 -0
- package/lib/module/chat/features/group/edit-permission/hooks/useEditGroupMemberPermissions.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/index.js +2 -0
- package/lib/module/chat/features/group/edit-permission/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-permission/styles.js +36 -0
- package/lib/module/chat/features/group/edit-permission/styles.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/EditGroupProfile.js +61 -0
- package/lib/module/chat/features/group/edit-profile/EditGroupProfile.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/components/Header/Header.js +40 -0
- package/lib/module/chat/features/group/edit-profile/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/edit-profile/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/components/index.js +2 -0
- package/lib/module/chat/features/group/edit-profile/components/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/hooks/index.js +2 -0
- package/lib/module/chat/features/group/edit-profile/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/hooks/useEditGroupProfile.js +159 -0
- package/lib/module/chat/features/group/edit-profile/hooks/useEditGroupProfile.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/index.js +2 -0
- package/lib/module/chat/features/group/edit-profile/index.js.map +1 -0
- package/lib/module/chat/features/group/edit-profile/styles.js +27 -0
- package/lib/module/chat/features/group/edit-profile/styles.js.map +1 -0
- package/lib/module/chat/features/group/members/GroupMembers.js +46 -0
- package/lib/module/chat/features/group/members/GroupMembers.js.map +1 -0
- package/lib/module/chat/features/group/members/components/Header/Header.js +43 -0
- package/lib/module/chat/features/group/members/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/members/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/members/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberItem/MemberItem.js +94 -0
- package/lib/module/chat/features/group/members/components/MemberItem/MemberItem.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberItem/index.js +2 -0
- package/lib/module/chat/features/group/members/components/MemberItem/index.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberItem/styles.js +56 -0
- package/lib/module/chat/features/group/members/components/MemberItem/styles.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberList/MemberList.js +130 -0
- package/lib/module/chat/features/group/members/components/MemberList/MemberList.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberList/index.js +2 -0
- package/lib/module/chat/features/group/members/components/MemberList/index.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberList/styles.js +18 -0
- package/lib/module/chat/features/group/members/components/MemberList/styles.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberTabs/MemberTabs.js +78 -0
- package/lib/module/chat/features/group/members/components/MemberTabs/MemberTabs.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberTabs/index.js +2 -0
- package/lib/module/chat/features/group/members/components/MemberTabs/index.js.map +1 -0
- package/lib/module/chat/features/group/members/components/MemberTabs/styles.js +19 -0
- package/lib/module/chat/features/group/members/components/MemberTabs/styles.js.map +1 -0
- package/lib/module/chat/features/group/members/components/index.js +5 -0
- package/lib/module/chat/features/group/members/components/index.js.map +1 -0
- package/lib/module/chat/features/group/members/hooks/index.js +2 -0
- package/lib/module/chat/features/group/members/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/members/hooks/useGroupMembers.js +32 -0
- package/lib/module/chat/features/group/members/hooks/useGroupMembers.js.map +1 -0
- package/lib/module/chat/features/group/members/index.js +2 -0
- package/lib/module/chat/features/group/members/index.js.map +1 -0
- package/lib/module/chat/features/group/members/styles.js +20 -0
- package/lib/module/chat/features/group/members/styles.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/NotificationPreference.js +74 -0
- package/lib/module/chat/features/group/notification-preference/NotificationPreference.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/components/AllowNotifications/AllowNotifications.js +57 -0
- package/lib/module/chat/features/group/notification-preference/components/AllowNotifications/AllowNotifications.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/components/AllowNotifications/index.js +2 -0
- package/lib/module/chat/features/group/notification-preference/components/AllowNotifications/index.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/components/AllowNotifications/styles.js +46 -0
- package/lib/module/chat/features/group/notification-preference/components/AllowNotifications/styles.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/components/DisabledByModeratorBanner/DisabledByModeratorBanner.js +43 -0
- package/lib/module/chat/features/group/notification-preference/components/DisabledByModeratorBanner/DisabledByModeratorBanner.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/components/DisabledByModeratorBanner/index.js +2 -0
- package/lib/module/chat/features/group/notification-preference/components/DisabledByModeratorBanner/index.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/components/DisabledByModeratorBanner/styles.js +34 -0
- package/lib/module/chat/features/group/notification-preference/components/DisabledByModeratorBanner/styles.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/components/index.js +3 -0
- package/lib/module/chat/features/group/notification-preference/components/index.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/hooks/index.js +2 -0
- package/lib/module/chat/features/group/notification-preference/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/hooks/useNotificationPreference.js +144 -0
- package/lib/module/chat/features/group/notification-preference/hooks/useNotificationPreference.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/index.js +2 -0
- package/lib/module/chat/features/group/notification-preference/index.js.map +1 -0
- package/lib/module/chat/features/group/notification-preference/styles.js +23 -0
- package/lib/module/chat/features/group/notification-preference/styles.js.map +1 -0
- package/lib/module/chat/features/group/select-member/SelectGroupMember.js +68 -0
- package/lib/module/chat/features/group/select-member/SelectGroupMember.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/Header/Header.js +68 -0
- package/lib/module/chat/features/group/select-member/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/select-member/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/Header/styles.js +26 -0
- package/lib/module/chat/features/group/select-member/components/Header/styles.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/SelectedUsersBar/SelectedUsersBar.js +41 -0
- package/lib/module/chat/features/group/select-member/components/SelectedUsersBar/SelectedUsersBar.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/SelectedUsersBar/index.js +2 -0
- package/lib/module/chat/features/group/select-member/components/SelectedUsersBar/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/SelectedUsersBar/styles.js +30 -0
- package/lib/module/chat/features/group/select-member/components/SelectedUsersBar/styles.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/UserItem/UserItem.js +72 -0
- package/lib/module/chat/features/group/select-member/components/UserItem/UserItem.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/UserItem/index.js +2 -0
- package/lib/module/chat/features/group/select-member/components/UserItem/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/UserItem/styles.js +43 -0
- package/lib/module/chat/features/group/select-member/components/UserItem/styles.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/UserList/UserList.js +127 -0
- package/lib/module/chat/features/group/select-member/components/UserList/UserList.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/UserList/index.js +2 -0
- package/lib/module/chat/features/group/select-member/components/UserList/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/UserList/styles.js +24 -0
- package/lib/module/chat/features/group/select-member/components/UserList/styles.js.map +1 -0
- package/lib/module/chat/features/group/select-member/components/index.js +5 -0
- package/lib/module/chat/features/group/select-member/components/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/constants/index.js +4 -0
- package/lib/module/chat/features/group/select-member/constants/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/hooks/index.js +2 -0
- package/lib/module/chat/features/group/select-member/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/hooks/useSelectGroupMember.js +105 -0
- package/lib/module/chat/features/group/select-member/hooks/useSelectGroupMember.js.map +1 -0
- package/lib/module/chat/features/group/select-member/index.js +2 -0
- package/lib/module/chat/features/group/select-member/index.js.map +1 -0
- package/lib/module/chat/features/group/select-member/styles.js +21 -0
- package/lib/module/chat/features/group/select-member/styles.js.map +1 -0
- package/lib/module/chat/features/group/setting/GroupSetting.js +91 -0
- package/lib/module/chat/features/group/setting/GroupSetting.js.map +1 -0
- package/lib/module/chat/features/group/setting/components/Header/Header.js +24 -0
- package/lib/module/chat/features/group/setting/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/group/setting/components/Header/index.js +2 -0
- package/lib/module/chat/features/group/setting/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/group/setting/components/index.js +2 -0
- package/lib/module/chat/features/group/setting/components/index.js.map +1 -0
- package/lib/module/chat/features/group/setting/hooks/index.js +2 -0
- package/lib/module/chat/features/group/setting/hooks/index.js.map +1 -0
- package/lib/module/chat/features/group/setting/hooks/useGroupSetting.js +278 -0
- package/lib/module/chat/features/group/setting/hooks/useGroupSetting.js.map +1 -0
- package/lib/module/chat/features/group/setting/index.js +2 -0
- package/lib/module/chat/features/group/setting/index.js.map +1 -0
- package/lib/module/chat/features/group/setting/styles.js +51 -0
- package/lib/module/chat/features/group/setting/styles.js.map +1 -0
- package/lib/module/chat/features/home/ChatHome.js +74 -0
- package/lib/module/chat/features/home/ChatHome.js.map +1 -0
- package/lib/module/chat/features/home/components/ChannelList/ChannelList.js +189 -0
- package/lib/module/chat/features/home/components/ChannelList/ChannelList.js.map +1 -0
- package/lib/module/chat/features/home/components/ChannelList/index.js +2 -0
- package/lib/module/chat/features/home/components/ChannelList/index.js.map +1 -0
- package/lib/module/chat/features/home/components/ChannelList/styles.js +101 -0
- package/lib/module/chat/features/home/components/ChannelList/styles.js.map +1 -0
- package/lib/module/chat/features/home/components/Header/Header.js +38 -0
- package/lib/module/chat/features/home/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/home/components/Header/index.js +2 -0
- package/lib/module/chat/features/home/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/home/components/Header/styles.js +50 -0
- package/lib/module/chat/features/home/components/Header/styles.js.map +1 -0
- package/lib/module/chat/features/home/components/NotificationsDisabledBanner/NotificationsDisabledBanner.js +39 -0
- package/lib/module/chat/features/home/components/NotificationsDisabledBanner/NotificationsDisabledBanner.js.map +1 -0
- package/lib/module/chat/features/home/components/NotificationsDisabledBanner/index.js +2 -0
- package/lib/module/chat/features/home/components/NotificationsDisabledBanner/index.js.map +1 -0
- package/lib/module/chat/features/home/components/NotificationsDisabledBanner/styles.js +36 -0
- package/lib/module/chat/features/home/components/NotificationsDisabledBanner/styles.js.map +1 -0
- package/lib/module/chat/features/home/components/index.js +4 -0
- package/lib/module/chat/features/home/components/index.js.map +1 -0
- package/lib/module/chat/features/home/elements/ChatHomeMenu/ChatHomeMenu.js +83 -0
- package/lib/module/chat/features/home/elements/ChatHomeMenu/ChatHomeMenu.js.map +1 -0
- package/lib/module/chat/features/home/elements/ChatHomeMenu/index.js +2 -0
- package/lib/module/chat/features/home/elements/ChatHomeMenu/index.js.map +1 -0
- package/lib/module/chat/features/home/elements/ChatHomeMenu/styles.js +25 -0
- package/lib/module/chat/features/home/elements/ChatHomeMenu/styles.js.map +1 -0
- package/lib/module/chat/features/home/elements/CreateChatMenu/CreateChatMenu.js +104 -0
- package/lib/module/chat/features/home/elements/CreateChatMenu/CreateChatMenu.js.map +1 -0
- package/lib/module/chat/features/home/elements/CreateChatMenu/index.js +2 -0
- package/lib/module/chat/features/home/elements/CreateChatMenu/index.js.map +1 -0
- package/lib/module/chat/features/home/elements/CreateChatMenu/styles.js +25 -0
- package/lib/module/chat/features/home/elements/CreateChatMenu/styles.js.map +1 -0
- package/lib/module/chat/features/home/elements/SearchButton/SearchButton.js +48 -0
- package/lib/module/chat/features/home/elements/SearchButton/SearchButton.js.map +1 -0
- package/lib/module/chat/features/home/elements/SearchButton/index.js +2 -0
- package/lib/module/chat/features/home/elements/SearchButton/index.js.map +1 -0
- package/lib/module/chat/features/home/elements/SearchButton/styles.js +26 -0
- package/lib/module/chat/features/home/elements/SearchButton/styles.js.map +1 -0
- package/lib/module/chat/features/home/hooks/index.js +2 -0
- package/lib/module/chat/features/home/hooks/index.js.map +1 -0
- package/lib/module/chat/features/home/hooks/usePushNotificationEnabled.js +31 -0
- package/lib/module/chat/features/home/hooks/usePushNotificationEnabled.js.map +1 -0
- package/lib/module/chat/features/home/index.js +3 -0
- package/lib/module/chat/features/home/index.js.map +1 -0
- package/lib/module/chat/features/home/styles.js +25 -0
- package/lib/module/chat/features/home/styles.js.map +1 -0
- package/lib/module/chat/features/search/SearchChannel.js +66 -0
- package/lib/module/chat/features/search/SearchChannel.js.map +1 -0
- package/lib/module/chat/features/search/components/Header/Header.js +54 -0
- package/lib/module/chat/features/search/components/Header/Header.js.map +1 -0
- package/lib/module/chat/features/search/components/Header/index.js +2 -0
- package/lib/module/chat/features/search/components/Header/index.js.map +1 -0
- package/lib/module/chat/features/search/components/Header/styles.js +34 -0
- package/lib/module/chat/features/search/components/Header/styles.js.map +1 -0
- package/lib/module/chat/features/search/components/index.js +6 -0
- package/lib/module/chat/features/search/components/index.js.map +1 -0
- package/lib/module/chat/features/search/hooks/index.js +2 -0
- package/lib/module/chat/features/search/hooks/index.js.map +1 -0
- package/lib/module/chat/features/search/hooks/useSearchChannel.js +42 -0
- package/lib/module/chat/features/search/hooks/useSearchChannel.js.map +1 -0
- package/lib/module/chat/features/search/index.js +2 -0
- package/lib/module/chat/features/search/index.js.map +1 -0
- package/lib/module/chat/features/search/styles.js +26 -0
- package/lib/module/chat/features/search/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/AddTile/AddTile.js +41 -0
- package/lib/module/chat/features/shared/components/AddTile/AddTile.js.map +1 -0
- package/lib/module/chat/features/shared/components/AddTile/index.js +2 -0
- package/lib/module/chat/features/shared/components/AddTile/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/AddTile/styles.js +29 -0
- package/lib/module/chat/features/shared/components/AddTile/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/ContentReportReason/ContentReportReason.js +292 -0
- package/lib/module/chat/features/shared/components/ContentReportReason/ContentReportReason.js.map +1 -0
- package/lib/module/chat/features/shared/components/ContentReportReason/index.js +2 -0
- package/lib/module/chat/features/shared/components/ContentReportReason/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/ContentReportReason/styles.js +113 -0
- package/lib/module/chat/features/shared/components/ContentReportReason/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/DateSeparator/DateSeparator.js +30 -0
- package/lib/module/chat/features/shared/components/DateSeparator/DateSeparator.js.map +1 -0
- package/lib/module/chat/features/shared/components/DateSeparator/index.js +2 -0
- package/lib/module/chat/features/shared/components/DateSeparator/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/DateSeparator/styles.js +48 -0
- package/lib/module/chat/features/shared/components/DateSeparator/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/DeletedMessagePill/DeletedMessagePill.js +40 -0
- package/lib/module/chat/features/shared/components/DeletedMessagePill/DeletedMessagePill.js.map +1 -0
- package/lib/module/chat/features/shared/components/DeletedMessagePill/index.js +2 -0
- package/lib/module/chat/features/shared/components/DeletedMessagePill/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/DeletedMessagePill/styles.js +35 -0
- package/lib/module/chat/features/shared/components/DeletedMessagePill/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/EmptyState/EmptyState.js +52 -0
- package/lib/module/chat/features/shared/components/EmptyState/EmptyState.js.map +1 -0
- package/lib/module/chat/features/shared/components/EmptyState/index.js +2 -0
- package/lib/module/chat/features/shared/components/EmptyState/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/EmptyState/styles.js +31 -0
- package/lib/module/chat/features/shared/components/EmptyState/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/FailedToShow/FailedToShow.js +48 -0
- package/lib/module/chat/features/shared/components/FailedToShow/FailedToShow.js.map +1 -0
- package/lib/module/chat/features/shared/components/FailedToShow/index.js +2 -0
- package/lib/module/chat/features/shared/components/FailedToShow/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/FailedToShow/styles.js +33 -0
- package/lib/module/chat/features/shared/components/FailedToShow/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/ImageViewer/ImageViewer.js +108 -0
- package/lib/module/chat/features/shared/components/ImageViewer/ImageViewer.js.map +1 -0
- package/lib/module/chat/features/shared/components/ImageViewer/index.js +2 -0
- package/lib/module/chat/features/shared/components/ImageViewer/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/ImageViewer/styles.js +67 -0
- package/lib/module/chat/features/shared/components/ImageViewer/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MediaViewer/MediaViewer.js +97 -0
- package/lib/module/chat/features/shared/components/MediaViewer/MediaViewer.js.map +1 -0
- package/lib/module/chat/features/shared/components/MediaViewer/index.js +2 -0
- package/lib/module/chat/features/shared/components/MediaViewer/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MediaViewer/styles.js +94 -0
- package/lib/module/chat/features/shared/components/MediaViewer/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageFullTextScreen/MessageFullTextScreen.js +76 -0
- package/lib/module/chat/features/shared/components/MessageFullTextScreen/MessageFullTextScreen.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageFullTextScreen/index.js +2 -0
- package/lib/module/chat/features/shared/components/MessageFullTextScreen/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageFullTextScreen/styles.js +60 -0
- package/lib/module/chat/features/shared/components/MessageFullTextScreen/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/MessageLinkPreview.js +106 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/MessageLinkPreview.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/index.js +2 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/styles.js +74 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/useLinkPreview.js +70 -0
- package/lib/module/chat/features/shared/components/MessageLinkPreview/useLinkPreview.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReactionBadge/MessageReactionBadge.js +59 -0
- package/lib/module/chat/features/shared/components/MessageReactionBadge/MessageReactionBadge.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReactionBadge/index.js +2 -0
- package/lib/module/chat/features/shared/components/MessageReactionBadge/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReactionBadge/styles.js +60 -0
- package/lib/module/chat/features/shared/components/MessageReactionBadge/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReactorListSheet/MessageReactorListSheet.js +317 -0
- package/lib/module/chat/features/shared/components/MessageReactorListSheet/MessageReactorListSheet.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReactorListSheet/index.js +2 -0
- package/lib/module/chat/features/shared/components/MessageReactorListSheet/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReactorListSheet/styles.js +175 -0
- package/lib/module/chat/features/shared/components/MessageReactorListSheet/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReplyBand/MessageReplyBand.js +125 -0
- package/lib/module/chat/features/shared/components/MessageReplyBand/MessageReplyBand.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReplyBand/index.js +2 -0
- package/lib/module/chat/features/shared/components/MessageReplyBand/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReplyBand/styles.js +81 -0
- package/lib/module/chat/features/shared/components/MessageReplyBand/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/MessageReplyQuote.js +393 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/MessageReplyQuote.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/index.js +2 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/styles.js +138 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/utils.js +75 -0
- package/lib/module/chat/features/shared/components/MessageReplyQuote/utils.js.map +1 -0
- package/lib/module/chat/features/shared/components/MutedBanner/MutedBanner.js +35 -0
- package/lib/module/chat/features/shared/components/MutedBanner/MutedBanner.js.map +1 -0
- package/lib/module/chat/features/shared/components/MutedBanner/index.js +2 -0
- package/lib/module/chat/features/shared/components/MutedBanner/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/MutedBanner/styles.js +33 -0
- package/lib/module/chat/features/shared/components/MutedBanner/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/NewMessageNotification/NewMessageNotification.js +140 -0
- package/lib/module/chat/features/shared/components/NewMessageNotification/NewMessageNotification.js.map +1 -0
- package/lib/module/chat/features/shared/components/NewMessageNotification/index.js +2 -0
- package/lib/module/chat/features/shared/components/NewMessageNotification/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/NewMessageNotification/styles.js +88 -0
- package/lib/module/chat/features/shared/components/NewMessageNotification/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/ScrollToLatestButton/ScrollToLatestButton.js +33 -0
- package/lib/module/chat/features/shared/components/ScrollToLatestButton/ScrollToLatestButton.js.map +1 -0
- package/lib/module/chat/features/shared/components/ScrollToLatestButton/index.js +2 -0
- package/lib/module/chat/features/shared/components/ScrollToLatestButton/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/ScrollToLatestButton/styles.js +19 -0
- package/lib/module/chat/features/shared/components/ScrollToLatestButton/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/SelectedMember/SelectedMember.js +65 -0
- package/lib/module/chat/features/shared/components/SelectedMember/SelectedMember.js.map +1 -0
- package/lib/module/chat/features/shared/components/SelectedMember/index.js +2 -0
- package/lib/module/chat/features/shared/components/SelectedMember/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/SelectedMember/styles.js +47 -0
- package/lib/module/chat/features/shared/components/SelectedMember/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/VideoPlayer.js +186 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/VideoPlayer.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoControls/VideoControls.js +93 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoControls/VideoControls.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoControls/index.js +2 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoControls/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoControls/styles.js +38 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoControls/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoScrubber/VideoScrubber.js +108 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoScrubber/VideoScrubber.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoScrubber/index.js +2 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoScrubber/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoScrubber/styles.js +62 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/VideoScrubber/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/index.js +3 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/components/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/index.js +2 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/styles.js +35 -0
- package/lib/module/chat/features/shared/components/VideoPlayer/styles.js.map +1 -0
- package/lib/module/chat/features/shared/components/YouTile/YouTile.js +58 -0
- package/lib/module/chat/features/shared/components/YouTile/YouTile.js.map +1 -0
- package/lib/module/chat/features/shared/components/YouTile/index.js +2 -0
- package/lib/module/chat/features/shared/components/YouTile/index.js.map +1 -0
- package/lib/module/chat/features/shared/components/YouTile/styles.js +46 -0
- package/lib/module/chat/features/shared/components/YouTile/styles.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/index.js +10 -0
- package/lib/module/chat/features/shared/hooks/index.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useBubbleMenu.js +138 -0
- package/lib/module/chat/features/shared/hooks/useBubbleMenu.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useChatMessage.js +292 -0
- package/lib/module/chat/features/shared/hooks/useChatMessage.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useFailedMessageSheet.js +174 -0
- package/lib/module/chat/features/shared/hooks/useFailedMessageSheet.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useMarkAsRead.js +46 -0
- package/lib/module/chat/features/shared/hooks/useMarkAsRead.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useMediaViewer.js +71 -0
- package/lib/module/chat/features/shared/hooks/useMediaViewer.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useMessageComposer.js +547 -0
- package/lib/module/chat/features/shared/hooks/useMessageComposer.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useMessageReactions.js +80 -0
- package/lib/module/chat/features/shared/hooks/useMessageReactions.js.map +1 -0
- package/lib/module/chat/features/shared/hooks/useReactorsCollection.js +58 -0
- package/lib/module/chat/features/shared/hooks/useReactorsCollection.js.map +1 -0
- package/lib/module/chat/features/shared/utils/reactionIcons.js +290 -0
- package/lib/module/chat/features/shared/utils/reactionIcons.js.map +1 -0
- package/lib/module/chat/hooks/collections/index.js +9 -0
- package/lib/module/chat/hooks/collections/index.js.map +1 -0
- package/lib/module/chat/hooks/collections/useArchivedChannelsCollection.js +67 -0
- package/lib/module/chat/hooks/collections/useArchivedChannelsCollection.js.map +1 -0
- package/lib/module/chat/hooks/collections/useBlockedUserIds.js +54 -0
- package/lib/module/chat/hooks/collections/useBlockedUserIds.js.map +1 -0
- package/lib/module/chat/hooks/collections/useChannelMembersCollection.js +101 -0
- package/lib/module/chat/hooks/collections/useChannelMembersCollection.js.map +1 -0
- package/lib/module/chat/hooks/collections/useChannelsByIdsCollection.js +62 -0
- package/lib/module/chat/hooks/collections/useChannelsByIdsCollection.js.map +1 -0
- package/lib/module/chat/hooks/collections/useChannelsCollection.js +80 -0
- package/lib/module/chat/hooks/collections/useChannelsCollection.js.map +1 -0
- package/lib/module/chat/hooks/collections/useMessageSearchCollection.js +70 -0
- package/lib/module/chat/hooks/collections/useMessageSearchCollection.js.map +1 -0
- package/lib/module/chat/hooks/collections/useMessagesCollection.js +87 -0
- package/lib/module/chat/hooks/collections/useMessagesCollection.js.map +1 -0
- package/lib/module/chat/hooks/collections/useSearchChannelsCollection.js +74 -0
- package/lib/module/chat/hooks/collections/useSearchChannelsCollection.js.map +1 -0
- package/lib/module/chat/hooks/index.js +14 -0
- package/lib/module/chat/hooks/index.js.map +1 -0
- package/lib/module/chat/hooks/objects/index.js +2 -0
- package/lib/module/chat/hooks/objects/index.js.map +1 -0
- package/lib/module/chat/hooks/objects/useMessageObject.js +38 -0
- package/lib/module/chat/hooks/objects/useMessageObject.js.map +1 -0
- package/lib/module/chat/hooks/queries/index.js +5 -0
- package/lib/module/chat/hooks/queries/index.js.map +1 -0
- package/lib/module/chat/hooks/queries/useChannelArchiveQuery.js +90 -0
- package/lib/module/chat/hooks/queries/useChannelArchiveQuery.js.map +1 -0
- package/lib/module/chat/hooks/queries/useDeleteMessageQuery.js +62 -0
- package/lib/module/chat/hooks/queries/useDeleteMessageQuery.js.map +1 -0
- package/lib/module/chat/hooks/queries/useFlagMessageQuery.js +142 -0
- package/lib/module/chat/hooks/queries/useFlagMessageQuery.js.map +1 -0
- package/lib/module/chat/hooks/queries/useSaveMediaMessageQuery.js +137 -0
- package/lib/module/chat/hooks/queries/useSaveMediaMessageQuery.js.map +1 -0
- package/lib/module/chat/hooks/useChannelMyMembership.js +48 -0
- package/lib/module/chat/hooks/useChannelMyMembership.js.map +1 -0
- package/lib/module/chat/hooks/useChatNavigation.js +22 -0
- package/lib/module/chat/hooks/useChatNavigation.js.map +1 -0
- package/lib/module/chat/hooks/useChatNotifications.js +64 -0
- package/lib/module/chat/hooks/useChatNotifications.js.map +1 -0
- package/lib/module/chat/hooks/useChatSurfaceHeight.js +76 -0
- package/lib/module/chat/hooks/useChatSurfaceHeight.js.map +1 -0
- package/lib/module/chat/hooks/useChatSurfaceHeight.styles.js +15 -0
- package/lib/module/chat/hooks/useChatSurfaceHeight.styles.js.map +1 -0
- package/lib/module/chat/hooks/useCreateMessage.js +62 -0
- package/lib/module/chat/hooks/useCreateMessage.js.map +1 -0
- package/lib/module/chat/hooks/useCurrentUserId.js +11 -0
- package/lib/module/chat/hooks/useCurrentUserId.js.map +1 -0
- package/lib/module/chat/hooks/useDeleteMessage.js +27 -0
- package/lib/module/chat/hooks/useDeleteMessage.js.map +1 -0
- package/lib/module/chat/hooks/useEditMessage.js +30 -0
- package/lib/module/chat/hooks/useEditMessage.js.map +1 -0
- package/lib/module/chat/hooks/useFollowInfo.js +45 -0
- package/lib/module/chat/hooks/useFollowInfo.js.map +1 -0
- package/lib/module/chat/hooks/useMention.js +128 -0
- package/lib/module/chat/hooks/useMention.js.map +1 -0
- package/lib/module/chat/hooks/useNetworkOnline.js +24 -0
- package/lib/module/chat/hooks/useNetworkOnline.js.map +1 -0
- package/lib/module/chat/hooks/useVideoFileUrl.js +29 -0
- package/lib/module/chat/hooks/useVideoFileUrl.js.map +1 -0
- package/lib/module/chat/pages/AmityAddGroupMemberPage/index.js +21 -0
- package/lib/module/chat/pages/AmityAddGroupMemberPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityArchivedChatPage/index.js +28 -0
- package/lib/module/chat/pages/AmityArchivedChatPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityArchivedChatPage/styles.js +18 -0
- package/lib/module/chat/pages/AmityArchivedChatPage/styles.js.map +1 -0
- package/lib/module/chat/pages/AmityBannedGroupMemberListPage/index.js +21 -0
- package/lib/module/chat/pages/AmityBannedGroupMemberListPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityChannelCreateConversationPage/index.js +23 -0
- package/lib/module/chat/pages/AmityChannelCreateConversationPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityChannelCreateConversationPage/styles.js +17 -0
- package/lib/module/chat/pages/AmityChannelCreateConversationPage/styles.js.map +1 -0
- package/lib/module/chat/pages/AmityChatHomePage/index.js +35 -0
- package/lib/module/chat/pages/AmityChatHomePage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityChatHomePage/styles.js +18 -0
- package/lib/module/chat/pages/AmityChatHomePage/styles.js.map +1 -0
- package/lib/module/chat/pages/AmityChatPage/index.js +35 -0
- package/lib/module/chat/pages/AmityChatPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityChatPage/styles.js +17 -0
- package/lib/module/chat/pages/AmityChatPage/styles.js.map +1 -0
- package/lib/module/chat/pages/AmityCreateGroupChatPage/index.js +19 -0
- package/lib/module/chat/pages/AmityCreateGroupChatPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityEditGroupMemberPermissionsPage/index.js +19 -0
- package/lib/module/chat/pages/AmityEditGroupMemberPermissionsPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityEditGroupNotificationPage/index.js +25 -0
- package/lib/module/chat/pages/AmityEditGroupNotificationPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityEditGroupProfilePage/index.js +19 -0
- package/lib/module/chat/pages/AmityEditGroupProfilePage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityGroupChatPage/index.js +24 -0
- package/lib/module/chat/pages/AmityGroupChatPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityGroupMemberListPage/index.js +24 -0
- package/lib/module/chat/pages/AmityGroupMemberListPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityGroupNotificationPreferencePage/index.js +24 -0
- package/lib/module/chat/pages/AmityGroupNotificationPreferencePage/index.js.map +1 -0
- package/lib/module/chat/pages/AmityGroupSettingPage/index.js +19 -0
- package/lib/module/chat/pages/AmityGroupSettingPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmitySearchChannelPage/index.js +20 -0
- package/lib/module/chat/pages/AmitySearchChannelPage/index.js.map +1 -0
- package/lib/module/chat/pages/AmitySelectGroupMemberPage/index.js +25 -0
- package/lib/module/chat/pages/AmitySelectGroupMemberPage/index.js.map +1 -0
- package/lib/module/chat/utils/groupMessagesByDate.js +50 -0
- package/lib/module/chat/utils/groupMessagesByDate.js.map +1 -0
- package/lib/module/chat/utils/highlightMatch.js +51 -0
- package/lib/module/chat/utils/highlightMatch.js.map +1 -0
- package/lib/module/chat/utils/isBlockedConversation.js +14 -0
- package/lib/module/chat/utils/isBlockedConversation.js.map +1 -0
- package/lib/module/chat/utils/linkifyText.js +58 -0
- package/lib/module/chat/utils/linkifyText.js.map +1 -0
- package/lib/module/chat/utils/previewLink.js +31 -0
- package/lib/module/chat/utils/previewLink.js.map +1 -0
- package/lib/module/chat/utils/timestamp.js +43 -0
- package/lib/module/chat/utils/timestamp.js.map +1 -0
- package/lib/module/core/assets/icons/emptyCommunity2.js +39 -0
- package/lib/module/core/assets/icons/emptyCommunity2.js.map +1 -0
- package/lib/module/core/design/atoms/Avatar/Avatar.js +78 -0
- package/lib/module/core/design/atoms/Avatar/Avatar.js.map +1 -0
- package/lib/module/core/design/atoms/Avatar/index.js +2 -0
- package/lib/module/core/design/atoms/Avatar/index.js.map +1 -0
- package/lib/module/core/design/atoms/Avatar/styles.js +133 -0
- package/lib/module/core/design/atoms/Avatar/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Badge/Badge.js +74 -0
- package/lib/module/core/design/atoms/Badge/Badge.js.map +1 -0
- package/lib/module/core/design/atoms/Badge/index.js +2 -0
- package/lib/module/core/design/atoms/Badge/index.js.map +1 -0
- package/lib/module/core/design/atoms/Badge/styles.js +151 -0
- package/lib/module/core/design/atoms/Badge/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Button/Button.js +70 -0
- package/lib/module/core/design/atoms/Button/Button.js.map +1 -0
- package/lib/module/core/design/atoms/Button/Icon/Icon.js +60 -0
- package/lib/module/core/design/atoms/Button/Icon/Icon.js.map +1 -0
- package/lib/module/core/design/atoms/Button/Icon/index.js +2 -0
- package/lib/module/core/design/atoms/Button/Icon/index.js.map +1 -0
- package/lib/module/core/design/atoms/Button/Icon/styles.js +132 -0
- package/lib/module/core/design/atoms/Button/Icon/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Button/index.js +8 -0
- package/lib/module/core/design/atoms/Button/index.js.map +1 -0
- package/lib/module/core/design/atoms/Button/styles.js +291 -0
- package/lib/module/core/design/atoms/Button/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Divider/Divider.js +33 -0
- package/lib/module/core/design/atoms/Divider/Divider.js.map +1 -0
- package/lib/module/core/design/atoms/Divider/index.js +2 -0
- package/lib/module/core/design/atoms/Divider/index.js.map +1 -0
- package/lib/module/core/design/atoms/Divider/styles.js +42 -0
- package/lib/module/core/design/atoms/Divider/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Boxed/Boxed.js +67 -0
- package/lib/module/core/design/atoms/Input/Boxed/Boxed.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Boxed/index.js +2 -0
- package/lib/module/core/design/atoms/Input/Boxed/index.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Boxed/styles.js +90 -0
- package/lib/module/core/design/atoms/Input/Boxed/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Chip/Chip.js +81 -0
- package/lib/module/core/design/atoms/Input/Chip/Chip.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Chip/index.js +2 -0
- package/lib/module/core/design/atoms/Input/Chip/index.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Chip/styles.js +87 -0
- package/lib/module/core/design/atoms/Input/Chip/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Input.js +14 -0
- package/lib/module/core/design/atoms/Input/Input.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Text/Text.js +87 -0
- package/lib/module/core/design/atoms/Input/Text/Text.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Text/index.js +2 -0
- package/lib/module/core/design/atoms/Input/Text/index.js.map +1 -0
- package/lib/module/core/design/atoms/Input/Text/styles.js +118 -0
- package/lib/module/core/design/atoms/Input/Text/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Input/User/User.js +35 -0
- package/lib/module/core/design/atoms/Input/User/User.js.map +1 -0
- package/lib/module/core/design/atoms/Input/User/index.js +2 -0
- package/lib/module/core/design/atoms/Input/User/index.js.map +1 -0
- package/lib/module/core/design/atoms/Input/User/styles.js +63 -0
- package/lib/module/core/design/atoms/Input/User/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Input/index.js +6 -0
- package/lib/module/core/design/atoms/Input/index.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/Loader.js +10 -0
- package/lib/module/core/design/atoms/Loader/Loader.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/Spinner/Spinner.js +24 -0
- package/lib/module/core/design/atoms/Loader/Spinner/Spinner.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/Spinner/index.js +2 -0
- package/lib/module/core/design/atoms/Loader/Spinner/index.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/Spinner/styles.js +19 -0
- package/lib/module/core/design/atoms/Loader/Spinner/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/Upload/Upload.js +89 -0
- package/lib/module/core/design/atoms/Loader/Upload/Upload.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/Upload/index.js +2 -0
- package/lib/module/core/design/atoms/Loader/Upload/index.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/Upload/styles.js +53 -0
- package/lib/module/core/design/atoms/Loader/Upload/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Loader/index.js +4 -0
- package/lib/module/core/design/atoms/Loader/index.js.map +1 -0
- package/lib/module/core/design/atoms/Selection/Selection.js +81 -0
- package/lib/module/core/design/atoms/Selection/Selection.js.map +1 -0
- package/lib/module/core/design/atoms/Selection/index.js +2 -0
- package/lib/module/core/design/atoms/Selection/index.js.map +1 -0
- package/lib/module/core/design/atoms/Selection/styles.js +104 -0
- package/lib/module/core/design/atoms/Selection/styles.js.map +1 -0
- package/lib/module/core/design/atoms/Tab/Tab.js +45 -0
- package/lib/module/core/design/atoms/Tab/Tab.js.map +1 -0
- package/lib/module/core/design/atoms/Tab/index.js +2 -0
- package/lib/module/core/design/atoms/Tab/index.js.map +1 -0
- package/lib/module/core/design/atoms/Tab/styles.js +61 -0
- package/lib/module/core/design/atoms/Tab/styles.js.map +1 -0
- package/lib/module/core/design/components/BottomSheet/BottomSheet.js +483 -0
- package/lib/module/core/design/components/BottomSheet/BottomSheet.js.map +1 -0
- package/lib/module/core/design/components/BottomSheet/index.js +2 -0
- package/lib/module/core/design/components/BottomSheet/index.js.map +1 -0
- package/lib/module/core/design/components/BottomSheet/styles.js +81 -0
- package/lib/module/core/design/components/BottomSheet/styles.js.map +1 -0
- package/lib/module/core/design/components/Menu/Menu.js +93 -0
- package/lib/module/core/design/components/Menu/Menu.js.map +1 -0
- package/lib/module/core/design/components/Menu/index.js +2 -0
- package/lib/module/core/design/components/Menu/index.js.map +1 -0
- package/lib/module/core/design/components/Menu/styles.js +89 -0
- package/lib/module/core/design/components/Menu/styles.js.map +1 -0
- package/lib/module/core/design/components/MenuOptionButton/MenuOptionButton.js +34 -0
- package/lib/module/core/design/components/MenuOptionButton/MenuOptionButton.js.map +1 -0
- package/lib/module/core/design/components/MenuOptionButton/index.js +2 -0
- package/lib/module/core/design/components/MenuOptionButton/index.js.map +1 -0
- package/lib/module/core/design/components/MenuOptionButton/styles.js +35 -0
- package/lib/module/core/design/components/MenuOptionButton/styles.js.map +1 -0
- package/lib/module/core/design/components/Popover/Popover.js +169 -0
- package/lib/module/core/design/components/Popover/Popover.js.map +1 -0
- package/lib/module/core/design/components/Popover/index.js +2 -0
- package/lib/module/core/design/components/Popover/index.js.map +1 -0
- package/lib/module/core/design/components/Popover/styles.js +56 -0
- package/lib/module/core/design/components/Popover/styles.js.map +1 -0
- package/lib/module/core/design/components/Skeleton/Skeleton.js +49 -0
- package/lib/module/core/design/components/Skeleton/Skeleton.js.map +1 -0
- package/lib/module/core/design/components/Skeleton/index.js +2 -0
- package/lib/module/core/design/components/Skeleton/index.js.map +1 -0
- package/lib/module/core/design/components/Skeleton/styles.js +18 -0
- package/lib/module/core/design/components/Skeleton/styles.js.map +1 -0
- package/lib/module/core/design/components/TextEditor/TextEditor.js +188 -0
- package/lib/module/core/design/components/TextEditor/TextEditor.js.map +1 -0
- package/lib/module/core/design/components/TextEditor/index.js +3 -0
- package/lib/module/core/design/components/TextEditor/index.js.map +1 -0
- package/lib/module/core/design/components/TextEditor/styles.js +62 -0
- package/lib/module/core/design/components/TextEditor/styles.js.map +1 -0
- package/lib/module/core/design/components/TextEditor/utils.js +123 -0
- package/lib/module/core/design/components/TextEditor/utils.js.map +1 -0
- package/lib/module/core/design/components/Typography/Typography.js +25 -0
- package/lib/module/core/design/components/Typography/Typography.js.map +1 -0
- package/lib/module/core/design/components/Typography/index.js +2 -0
- package/lib/module/core/design/components/Typography/index.js.map +1 -0
- package/lib/module/core/design/components/Typography/styles.js +72 -0
- package/lib/module/core/design/components/Typography/styles.js.map +1 -0
- package/lib/module/core/design/elements/BrandBadge/BrandBadge.js +25 -0
- package/lib/module/core/design/elements/BrandBadge/BrandBadge.js.map +1 -0
- package/lib/module/core/design/elements/BrandBadge/index.js +2 -0
- package/lib/module/core/design/elements/BrandBadge/index.js.map +1 -0
- package/lib/module/core/design/elements/ModeratorBadge/ModeratorBadge.js +20 -0
- package/lib/module/core/design/elements/ModeratorBadge/ModeratorBadge.js.map +1 -0
- package/lib/module/core/design/elements/ModeratorBadge/index.js +2 -0
- package/lib/module/core/design/elements/ModeratorBadge/index.js.map +1 -0
- package/lib/module/core/design/elements/PrivateBadge/PrivateBadge.js +24 -0
- package/lib/module/core/design/elements/PrivateBadge/PrivateBadge.js.map +1 -0
- package/lib/module/core/design/elements/PrivateBadge/index.js +2 -0
- package/lib/module/core/design/elements/PrivateBadge/index.js.map +1 -0
- package/lib/module/core/design/icons/AmityIcon.js +23 -0
- package/lib/module/core/design/icons/AmityIcon.js.map +1 -0
- package/lib/module/core/design/icons/generated/iconRegistry.js +694 -0
- package/lib/module/core/design/icons/generated/iconRegistry.js.map +1 -0
- package/lib/module/core/design/icons/index.js +3 -0
- package/lib/module/core/design/icons/index.js.map +1 -0
- package/lib/module/core/design/molecules/SearchInput/SearchInput.js +46 -0
- package/lib/module/core/design/molecules/SearchInput/SearchInput.js.map +1 -0
- package/lib/module/core/design/molecules/SearchInput/index.js +2 -0
- package/lib/module/core/design/molecules/SearchInput/index.js.map +1 -0
- package/lib/module/core/design/molecules/SearchInput/styles.js +24 -0
- package/lib/module/core/design/molecules/SearchInput/styles.js.map +1 -0
- package/lib/module/core/design/molecules/Tabs/Tabs.js +32 -0
- package/lib/module/core/design/molecules/Tabs/Tabs.js.map +1 -0
- package/lib/module/core/design/molecules/Tabs/index.js +2 -0
- package/lib/module/core/design/molecules/Tabs/index.js.map +1 -0
- package/lib/module/core/design/molecules/Tabs/styles.js +28 -0
- package/lib/module/core/design/molecules/Tabs/styles.js.map +1 -0
- package/lib/module/core/design/theme/AmityForceMode.js +21 -0
- package/lib/module/core/design/theme/AmityForceMode.js.map +1 -0
- package/lib/module/core/design/theme/AmityThemeProvider.js +49 -0
- package/lib/module/core/design/theme/AmityThemeProvider.js.map +1 -0
- package/lib/module/core/design/theme/index.js +5 -0
- package/lib/module/core/design/theme/index.js.map +1 -0
- package/lib/module/core/design/theme/resolveTokens.js +38 -0
- package/lib/module/core/design/theme/resolveTokens.js.map +1 -0
- package/lib/module/core/design/theme/useToken.js +34 -0
- package/lib/module/core/design/theme/useToken.js.map +1 -0
- package/lib/module/core/design/tokens/CHECKSUMS.json +9 -0
- package/lib/module/core/design/tokens/amity-color-tokens.js +5070 -0
- package/lib/module/core/design/tokens/amity-color-tokens.js.map +1 -0
- package/lib/module/core/design/tokens/amity-uikit-config.json +1381 -0
- package/lib/module/core/design/tokens/amity-uikit-design-tokens.json +2953 -0
- package/lib/module/core/design/tokens/config-resolver.d.js +2 -0
- package/lib/module/core/design/tokens/config-resolver.d.js.map +1 -0
- package/lib/module/core/design/tokens/config-resolver.js +657 -0
- package/lib/module/core/design/tokens/config-resolver.js.map +1 -0
- package/lib/module/core/design/tokens/geometry.json +2673 -0
- package/lib/module/core/design/tokens/spacing.js +26 -0
- package/lib/module/core/design/tokens/spacing.js.map +1 -0
- package/lib/module/core/hooks/collections/index.js +2 -0
- package/lib/module/core/hooks/collections/index.js.map +1 -0
- package/lib/module/core/hooks/collections/useLiveCollection.js +86 -0
- package/lib/module/core/hooks/collections/useLiveCollection.js.map +1 -0
- package/lib/module/core/hooks/objects/index.js +3 -0
- package/lib/module/core/hooks/objects/index.js.map +1 -0
- package/lib/module/core/hooks/objects/useLiveObject.js.map +1 -0
- package/lib/module/{social/hooks/objects/user → core/hooks/objects}/useUser.js +5 -1
- package/lib/module/core/hooks/objects/useUser.js.map +1 -0
- package/lib/module/core/hooks/useUpload.js +8 -2
- package/lib/module/core/hooks/useUpload.js.map +1 -1
- package/lib/module/core/index.js +1 -0
- package/lib/module/core/index.js.map +1 -1
- package/lib/module/core/localization/LocaleProvider.js +127 -0
- package/lib/module/core/localization/LocaleProvider.js.map +1 -0
- package/lib/module/core/localization/defaultLocaleMap.js +22 -0
- package/lib/module/core/localization/defaultLocaleMap.js.map +1 -0
- package/lib/module/core/localization/defaults/en.js +23 -0
- package/lib/module/core/localization/defaults/en.js.map +1 -0
- package/lib/module/core/localization/defaults/en.json +1180 -0
- package/lib/module/core/localization/defaults/th.js +22 -0
- package/lib/module/core/localization/defaults/th.js.map +1 -0
- package/lib/module/core/localization/defaults/th.json +1179 -0
- package/lib/module/core/localization/index.js +30 -0
- package/lib/module/core/localization/index.js.map +1 -0
- package/lib/module/core/localization/resolveString.js +182 -0
- package/lib/module/core/localization/resolveString.js.map +1 -0
- package/lib/module/core/localization/useString.js +31 -0
- package/lib/module/core/localization/useString.js.map +1 -0
- package/lib/module/core/providers/AmityUIKitProvider.js +11 -2
- package/lib/module/core/providers/AmityUIKitProvider.js.map +1 -1
- package/lib/module/core/routes/AmityChatEntry.js +10 -0
- package/lib/module/core/routes/AmityChatEntry.js.map +1 -0
- package/lib/module/core/routes/AmityUIKitNavigator.js +68 -1
- package/lib/module/core/routes/AmityUIKitNavigator.js.map +1 -1
- package/lib/module/core/stores/slices/bottomSheetSlice.js +9 -3
- package/lib/module/core/stores/slices/bottomSheetSlice.js.map +1 -1
- package/lib/module/core/stores/slices/toastSlice.js +4 -1
- package/lib/module/core/stores/slices/toastSlice.js.map +1 -1
- package/lib/module/core/utils/abbreviateCount.js +14 -0
- package/lib/module/core/utils/abbreviateCount.js.map +1 -0
- package/lib/module/core/utils/fileUpload.js +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/social/components/Avatar/Avatar.js +1 -1
- package/lib/module/social/components/Avatar/Avatar.js.map +1 -1
- package/lib/module/social/components/BottomSheetComponent/BottomSheetComponent.js +25 -19
- package/lib/module/social/components/BottomSheetComponent/BottomSheetComponent.js.map +1 -1
- package/lib/module/social/components/LoadingVideo/index.js +2 -2
- package/lib/module/social/components/PostContent/index.js +1 -1
- package/lib/module/social/components/SelectedMediaComponent/SelectedMediaComponent.js +2 -2
- package/lib/module/social/components/StoryKit/src/StoryListItem.js +1 -1
- package/lib/module/social/components/StoryKit/src/StoryListItem.js.map +1 -1
- package/lib/module/social/components/Toast/index.js +44 -8
- package/lib/module/social/components/Toast/index.js.map +1 -1
- package/lib/module/social/components/Toast/styles.js +16 -4
- package/lib/module/social/components/Toast/styles.js.map +1 -1
- package/lib/module/social/constants/index.js +1 -1
- package/lib/module/social/features/livestream/Create/Create.js +1 -1
- package/lib/module/social/features/poll/Composer/PollPostComposer.js +6 -3
- package/lib/module/social/features/poll/Composer/PollPostComposer.js.map +1 -1
- package/lib/module/social/features/post/Composer/PostComposer.js +3 -4
- package/lib/module/social/features/post/Composer/PostComposer.js.map +1 -1
- package/lib/module/social/features/story/View/components/AmityViewStoryItem.js +1 -1
- package/lib/module/social/features/story/View/components/AmityViewStoryItem.js.map +1 -1
- package/lib/module/social/hooks/collections/useLiveCollection.js +4 -85
- package/lib/module/social/hooks/collections/useLiveCollection.js.map +1 -1
- package/lib/module/social/hooks/objects/index.js +3 -2
- package/lib/module/social/hooks/objects/index.js.map +1 -1
- package/lib/module/social/hooks/objects/user/useFollowInfo.js +1 -1
- package/lib/module/social/hooks/objects/user/useFollowInfo.js.map +1 -1
- package/lib/module/social/providers/BehaviourProvider.js +3 -1
- package/lib/module/social/providers/BehaviourProvider.js.map +1 -1
- package/lib/typescript/chat/components/AmityChatListItem/AmityChatListItem.d.ts +44 -0
- package/lib/typescript/chat/components/AmityChatListItem/AmityChatListItem.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityChatListItem/index.d.ts +3 -0
- package/lib/typescript/chat/components/AmityChatListItem/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityChatListItem/styles.d.ts +109 -0
- package/lib/typescript/chat/components/AmityChatListItem/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityConversationChatUserActionComponent/AmityConversationChatUserActionComponent.d.ts +7 -0
- package/lib/typescript/chat/components/AmityConversationChatUserActionComponent/AmityConversationChatUserActionComponent.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityConversationChatUserActionComponent/index.d.ts +2 -0
- package/lib/typescript/chat/components/AmityConversationChatUserActionComponent/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityConversationChatUserActionComponent/styles.d.ts +10 -0
- package/lib/typescript/chat/components/AmityConversationChatUserActionComponent/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityGroupMemberActionComponent/AmityGroupMemberActionComponent.d.ts +20 -0
- package/lib/typescript/chat/components/AmityGroupMemberActionComponent/AmityGroupMemberActionComponent.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityGroupMemberActionComponent/index.d.ts +2 -0
- package/lib/typescript/chat/components/AmityGroupMemberActionComponent/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityGroupMemberActionComponent/styles.d.ts +10 -0
- package/lib/typescript/chat/components/AmityGroupMemberActionComponent/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMediaAttachmentPicker/AmityMediaAttachmentPicker.d.ts +7 -0
- package/lib/typescript/chat/components/AmityMediaAttachmentPicker/AmityMediaAttachmentPicker.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMediaAttachmentPicker/index.d.ts +2 -0
- package/lib/typescript/chat/components/AmityMediaAttachmentPicker/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMediaAttachmentPicker/styles.d.ts +45 -0
- package/lib/typescript/chat/components/AmityMediaAttachmentPicker/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageActionMenu/AmityMessageActionMenu.d.ts +42 -0
- package/lib/typescript/chat/components/AmityMessageActionMenu/AmityMessageActionMenu.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageActionMenu/index.d.ts +3 -0
- package/lib/typescript/chat/components/AmityMessageActionMenu/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageActionMenu/styles.d.ts +28 -0
- package/lib/typescript/chat/components/AmityMessageActionMenu/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageBubble/AmityMessageBubble.d.ts +42 -0
- package/lib/typescript/chat/components/AmityMessageBubble/AmityMessageBubble.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageBubble/index.d.ts +2 -0
- package/lib/typescript/chat/components/AmityMessageBubble/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageBubble/styles.d.ts +216 -0
- package/lib/typescript/chat/components/AmityMessageBubble/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageComposer/AmityMessageComposer.d.ts +8 -0
- package/lib/typescript/chat/components/AmityMessageComposer/AmityMessageComposer.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageComposer/index.d.ts +2 -0
- package/lib/typescript/chat/components/AmityMessageComposer/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmityMessageComposer/styles.d.ts +141 -0
- package/lib/typescript/chat/components/AmityMessageComposer/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/AmitySearchChannelResults.d.ts +5 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/AmitySearchChannelResults.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/SwipeToLeft.d.ts +11 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/SwipeToLeft.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/index.d.ts +3 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/index.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/styles.d.ts +34 -0
- package/lib/typescript/chat/components/AmitySearchChannelResults/styles.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmitySearchMessageResults/AmitySearchMessageResults.d.ts +5 -0
- package/lib/typescript/chat/components/AmitySearchMessageResults/AmitySearchMessageResults.d.ts.map +1 -0
- package/lib/typescript/chat/components/AmitySearchMessageResults/index.d.ts +3 -0
- package/lib/typescript/chat/components/AmitySearchMessageResults/index.d.ts.map +1 -0
- package/lib/typescript/chat/constants/bubble.d.ts +36 -0
- package/lib/typescript/chat/constants/bubble.d.ts.map +1 -0
- package/lib/typescript/chat/constants/errorResponse.d.ts +12 -0
- package/lib/typescript/chat/constants/errorResponse.d.ts.map +1 -0
- package/lib/typescript/chat/constants/index.d.ts +6 -0
- package/lib/typescript/chat/constants/index.d.ts.map +1 -0
- package/lib/typescript/chat/constants/list.d.ts +3 -0
- package/lib/typescript/chat/constants/list.d.ts.map +1 -0
- package/lib/typescript/chat/constants/search.d.ts +8 -0
- package/lib/typescript/chat/constants/search.d.ts.map +1 -0
- package/lib/typescript/chat/constants/sheet.d.ts +22 -0
- package/lib/typescript/chat/constants/sheet.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ArchivedBadge/ArchivedBadge.d.ts +2 -0
- package/lib/typescript/chat/elements/ArchivedBadge/ArchivedBadge.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ArchivedBadge/index.d.ts +2 -0
- package/lib/typescript/chat/elements/ArchivedBadge/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ArchivedBadge/styles.d.ts +22 -0
- package/lib/typescript/chat/elements/ArchivedBadge/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/Avatar/Avatar.d.ts +29 -0
- package/lib/typescript/chat/elements/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/chat/elements/Avatar/index.d.ts +3 -0
- package/lib/typescript/chat/elements/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/Avatar/styles.d.ts +39 -0
- package/lib/typescript/chat/elements/Avatar/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/AvatarPicker/AvatarPicker.d.ts +12 -0
- package/lib/typescript/chat/elements/AvatarPicker/AvatarPicker.d.ts.map +1 -0
- package/lib/typescript/chat/elements/AvatarPicker/index.d.ts +3 -0
- package/lib/typescript/chat/elements/AvatarPicker/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/AvatarPicker/styles.d.ts +39 -0
- package/lib/typescript/chat/elements/AvatarPicker/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ChatKeyboardAvoidingView/ChatKeyboardAvoidingView.d.ts +9 -0
- package/lib/typescript/chat/elements/ChatKeyboardAvoidingView/ChatKeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ChatKeyboardAvoidingView/index.d.ts +2 -0
- package/lib/typescript/chat/elements/ChatKeyboardAvoidingView/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ChatKeyboardAvoidingView/styles.d.ts +8 -0
- package/lib/typescript/chat/elements/ChatKeyboardAvoidingView/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ConversationChatAvatar/ConversationChatAvatar.d.ts +12 -0
- package/lib/typescript/chat/elements/ConversationChatAvatar/ConversationChatAvatar.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ConversationChatAvatar/index.d.ts +3 -0
- package/lib/typescript/chat/elements/ConversationChatAvatar/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/GroupNameField/GroupNameField.d.ts +9 -0
- package/lib/typescript/chat/elements/GroupNameField/GroupNameField.d.ts.map +1 -0
- package/lib/typescript/chat/elements/GroupNameField/index.d.ts +3 -0
- package/lib/typescript/chat/elements/GroupNameField/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/GroupNameField/styles.d.ts +11 -0
- package/lib/typescript/chat/elements/GroupNameField/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/MediaUploadOverlay/MediaUploadOverlay.d.ts +6 -0
- package/lib/typescript/chat/elements/MediaUploadOverlay/MediaUploadOverlay.d.ts.map +1 -0
- package/lib/typescript/chat/elements/MediaUploadOverlay/index.d.ts +3 -0
- package/lib/typescript/chat/elements/MediaUploadOverlay/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/MediaUploadOverlay/styles.d.ts +16 -0
- package/lib/typescript/chat/elements/MediaUploadOverlay/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ReactionPicker/ReactionPicker.d.ts +11 -0
- package/lib/typescript/chat/elements/ReactionPicker/ReactionPicker.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ReactionPicker/index.d.ts +3 -0
- package/lib/typescript/chat/elements/ReactionPicker/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/ReactionPicker/styles.d.ts +64 -0
- package/lib/typescript/chat/elements/ReactionPicker/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/SettingMenu/SettingMenu.d.ts +12 -0
- package/lib/typescript/chat/elements/SettingMenu/SettingMenu.d.ts.map +1 -0
- package/lib/typescript/chat/elements/SettingMenu/index.d.ts +3 -0
- package/lib/typescript/chat/elements/SettingMenu/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/SettingMenu/styles.d.ts +47 -0
- package/lib/typescript/chat/elements/SettingMenu/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/TopBar/TopBar.d.ts +10 -0
- package/lib/typescript/chat/elements/TopBar/TopBar.d.ts.map +1 -0
- package/lib/typescript/chat/elements/TopBar/index.d.ts +2 -0
- package/lib/typescript/chat/elements/TopBar/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/TopBar/styles.d.ts +40 -0
- package/lib/typescript/chat/elements/TopBar/styles.d.ts.map +1 -0
- package/lib/typescript/chat/elements/WaitingForNetwork/WaitingForNetwork.d.ts +2 -0
- package/lib/typescript/chat/elements/WaitingForNetwork/WaitingForNetwork.d.ts.map +1 -0
- package/lib/typescript/chat/elements/WaitingForNetwork/index.d.ts +2 -0
- package/lib/typescript/chat/elements/WaitingForNetwork/index.d.ts.map +1 -0
- package/lib/typescript/chat/elements/WaitingForNetwork/styles.d.ts +17 -0
- package/lib/typescript/chat/elements/WaitingForNetwork/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/ArchivedChat.d.ts +2 -0
- package/lib/typescript/chat/features/archive/ArchivedChat.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/components/ArchivedChannelList/ArchivedChannelList.d.ts +2 -0
- package/lib/typescript/chat/features/archive/components/ArchivedChannelList/ArchivedChannelList.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/components/ArchivedChannelList/index.d.ts +2 -0
- package/lib/typescript/chat/features/archive/components/ArchivedChannelList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/components/ArchivedChannelList/styles.d.ts +33 -0
- package/lib/typescript/chat/features/archive/components/ArchivedChannelList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/components/Header/Header.d.ts +6 -0
- package/lib/typescript/chat/features/archive/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/archive/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/components/index.d.ts +3 -0
- package/lib/typescript/chat/features/archive/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/index.d.ts +2 -0
- package/lib/typescript/chat/features/archive/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/archive/styles.d.ts +11 -0
- package/lib/typescript/chat/features/archive/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/Chat.d.ts +9 -0
- package/lib/typescript/chat/features/conversation/Chat.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/Header/Header.d.ts +19 -0
- package/lib/typescript/chat/features/conversation/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/Header/styles.d.ts +49 -0
- package/lib/typescript/chat/features/conversation/components/Header/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/MessageList/MessageList.d.ts +82 -0
- package/lib/typescript/chat/features/conversation/components/MessageList/MessageList.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/MessageList/index.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/components/MessageList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/MessageList/styles.d.ts +32 -0
- package/lib/typescript/chat/features/conversation/components/MessageList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/MessageRow/MessageRow.d.ts +36 -0
- package/lib/typescript/chat/features/conversation/components/MessageRow/MessageRow.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/MessageRow/index.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/components/MessageRow/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/MessageRow/styles.d.ts +60 -0
- package/lib/typescript/chat/features/conversation/components/MessageRow/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/components/index.d.ts +4 -0
- package/lib/typescript/chat/features/conversation/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/CreateConversation.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/create/CreateConversation.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/Header/Header.d.ts +8 -0
- package/lib/typescript/chat/features/conversation/create/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/create/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/Header/styles.d.ts +14 -0
- package/lib/typescript/chat/features/conversation/create/components/Header/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/UserItem/UserItem.d.ts +11 -0
- package/lib/typescript/chat/features/conversation/create/components/UserItem/UserItem.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/UserItem/index.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/create/components/UserItem/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/UserItem/styles.d.ts +40 -0
- package/lib/typescript/chat/features/conversation/create/components/UserItem/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/UserList/UserList.d.ts +7 -0
- package/lib/typescript/chat/features/conversation/create/components/UserList/UserList.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/UserList/index.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/create/components/UserList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/UserList/styles.d.ts +8 -0
- package/lib/typescript/chat/features/conversation/create/components/UserList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/components/index.d.ts +4 -0
- package/lib/typescript/chat/features/conversation/create/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/hooks/index.d.ts +4 -0
- package/lib/typescript/chat/features/conversation/create/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/hooks/useCreateConversation.d.ts +8 -0
- package/lib/typescript/chat/features/conversation/create/hooks/useCreateConversation.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/hooks/useSearchUsers.d.ts +14 -0
- package/lib/typescript/chat/features/conversation/create/hooks/useSearchUsers.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/index.d.ts +2 -0
- package/lib/typescript/chat/features/conversation/create/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/create/styles.d.ts +10 -0
- package/lib/typescript/chat/features/conversation/create/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/hooks/useConversation.d.ts +85 -0
- package/lib/typescript/chat/features/conversation/hooks/useConversation.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/index.d.ts +3 -0
- package/lib/typescript/chat/features/conversation/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/conversation/styles.d.ts +10 -0
- package/lib/typescript/chat/features/conversation/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/AddGroupMember.d.ts +6 -0
- package/lib/typescript/chat/features/group/add-member/AddGroupMember.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/AddMemberButton/AddMemberButton.d.ts +7 -0
- package/lib/typescript/chat/features/group/add-member/components/AddMemberButton/AddMemberButton.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/AddMemberButton/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/add-member/components/AddMemberButton/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/AddMemberButton/styles.d.ts +13 -0
- package/lib/typescript/chat/features/group/add-member/components/AddMemberButton/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/Header/Header.d.ts +10 -0
- package/lib/typescript/chat/features/group/add-member/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/add-member/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/Header/styles.d.ts +14 -0
- package/lib/typescript/chat/features/group/add-member/components/Header/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/SelectedUsersBar/SelectedUsersBar.d.ts +7 -0
- package/lib/typescript/chat/features/group/add-member/components/SelectedUsersBar/SelectedUsersBar.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/SelectedUsersBar/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/add-member/components/SelectedUsersBar/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/SelectedUsersBar/styles.d.ts +18 -0
- package/lib/typescript/chat/features/group/add-member/components/SelectedUsersBar/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/UserList/UserList.d.ts +8 -0
- package/lib/typescript/chat/features/group/add-member/components/UserList/UserList.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/UserList/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/add-member/components/UserList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/UserList/styles.d.ts +38 -0
- package/lib/typescript/chat/features/group/add-member/components/UserList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/components/index.d.ts +5 -0
- package/lib/typescript/chat/features/group/add-member/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/add-member/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/hooks/useAddGroupMember.d.ts +23 -0
- package/lib/typescript/chat/features/group/add-member/hooks/useAddGroupMember.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/add-member/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/add-member/styles.d.ts +14 -0
- package/lib/typescript/chat/features/group/add-member/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/BannedGroupMembers.d.ts +6 -0
- package/lib/typescript/chat/features/group/banned-members/BannedGroupMembers.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/components/BannedMemberList/BannedMemberList.d.ts +8 -0
- package/lib/typescript/chat/features/group/banned-members/components/BannedMemberList/BannedMemberList.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/components/BannedMemberList/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/banned-members/components/BannedMemberList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/components/BannedMemberList/styles.d.ts +15 -0
- package/lib/typescript/chat/features/group/banned-members/components/BannedMemberList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/components/Header/Header.d.ts +6 -0
- package/lib/typescript/chat/features/group/banned-members/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/banned-members/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/components/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/banned-members/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/banned-members/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/hooks/useBannedGroupMembers.d.ts +13 -0
- package/lib/typescript/chat/features/group/banned-members/hooks/useBannedGroupMembers.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/banned-members/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/banned-members/styles.d.ts +14 -0
- package/lib/typescript/chat/features/group/banned-members/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/GroupChat.d.ts +9 -0
- package/lib/typescript/chat/features/group/chat/GroupChat.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/components/BannedEmptyState/BannedEmptyState.d.ts +2 -0
- package/lib/typescript/chat/features/group/chat/components/BannedEmptyState/BannedEmptyState.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/components/BannedEmptyState/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/chat/components/BannedEmptyState/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/components/BannedEmptyState/styles.d.ts +26 -0
- package/lib/typescript/chat/features/group/chat/components/BannedEmptyState/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/components/Header/Header.d.ts +10 -0
- package/lib/typescript/chat/features/group/chat/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/chat/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/components/Header/styles.d.ts +53 -0
- package/lib/typescript/chat/features/group/chat/components/Header/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/components/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/chat/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/chat/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/hooks/useGroupChat.d.ts +95 -0
- package/lib/typescript/chat/features/group/chat/hooks/useGroupChat.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/chat/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/chat/styles.d.ts +10 -0
- package/lib/typescript/chat/features/group/chat/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/CreateGroupChat.d.ts +3 -0
- package/lib/typescript/chat/features/group/create/CreateGroupChat.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/Header/Header.d.ts +8 -0
- package/lib/typescript/chat/features/group/create/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/create/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/MemberGrid/MemberGrid.d.ts +9 -0
- package/lib/typescript/chat/features/group/create/components/MemberGrid/MemberGrid.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/MemberGrid/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/create/components/MemberGrid/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/MemberGrid/styles.d.ts +25 -0
- package/lib/typescript/chat/features/group/create/components/MemberGrid/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/PrivacySection/PrivacySection.d.ts +17 -0
- package/lib/typescript/chat/features/group/create/components/PrivacySection/PrivacySection.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/PrivacySection/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/create/components/PrivacySection/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/PrivacySection/styles.d.ts +54 -0
- package/lib/typescript/chat/features/group/create/components/PrivacySection/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/components/index.d.ts +4 -0
- package/lib/typescript/chat/features/group/create/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/hooks/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/create/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/hooks/useCreateGroupChat.d.ts +35 -0
- package/lib/typescript/chat/features/group/create/hooks/useCreateGroupChat.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/create/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/styles.d.ts +15 -0
- package/lib/typescript/chat/features/group/create/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/utils/generateDisplayName.d.ts +2 -0
- package/lib/typescript/chat/features/group/create/utils/generateDisplayName.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/create/utils/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/create/utils/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/EditGroupNotification.d.ts +3 -0
- package/lib/typescript/chat/features/group/edit-notification/EditGroupNotification.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationMode/NotificationMode.d.ts +7 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationMode/NotificationMode.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationMode/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationMode/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationMode/styles.d.ts +18 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationMode/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationModeRow/NotificationModeRow.d.ts +7 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationModeRow/NotificationModeRow.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationModeRow/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationModeRow/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationModeRow/styles.d.ts +18 -0
- package/lib/typescript/chat/features/group/edit-notification/components/NotificationModeRow/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/components/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-notification/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-notification/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/hooks/useEditGroupNotification.d.ts +16 -0
- package/lib/typescript/chat/features/group/edit-notification/hooks/useEditGroupNotification.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/edit-notification/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-notification/styles.d.ts +16 -0
- package/lib/typescript/chat/features/group/edit-notification/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/EditGroupMemberPermissions.d.ts +3 -0
- package/lib/typescript/chat/features/group/edit-permission/EditGroupMemberPermissions.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/components/MemberPermission/MemberPermission.d.ts +7 -0
- package/lib/typescript/chat/features/group/edit-permission/components/MemberPermission/MemberPermission.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/components/MemberPermission/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-permission/components/MemberPermission/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/components/MemberPermission/styles.d.ts +18 -0
- package/lib/typescript/chat/features/group/edit-permission/components/MemberPermission/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/components/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-permission/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/constants/index.d.ts +11 -0
- package/lib/typescript/chat/features/group/edit-permission/constants/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-permission/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/hooks/useEditGroupMemberPermissions.d.ts +12 -0
- package/lib/typescript/chat/features/group/edit-permission/hooks/useEditGroupMemberPermissions.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/edit-permission/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-permission/styles.d.ts +22 -0
- package/lib/typescript/chat/features/group/edit-permission/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/EditGroupProfile.d.ts +3 -0
- package/lib/typescript/chat/features/group/edit-profile/EditGroupProfile.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/components/Header/Header.d.ts +8 -0
- package/lib/typescript/chat/features/group/edit-profile/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-profile/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/components/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-profile/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/edit-profile/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/hooks/useEditGroupProfile.d.ts +15 -0
- package/lib/typescript/chat/features/group/edit-profile/hooks/useEditGroupProfile.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/edit-profile/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/edit-profile/styles.d.ts +15 -0
- package/lib/typescript/chat/features/group/edit-profile/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/GroupMembers.d.ts +7 -0
- package/lib/typescript/chat/features/group/members/GroupMembers.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/Header/Header.d.ts +8 -0
- package/lib/typescript/chat/features/group/members/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/members/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberItem/MemberItem.d.ts +16 -0
- package/lib/typescript/chat/features/group/members/components/MemberItem/MemberItem.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberItem/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/members/components/MemberItem/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberItem/styles.d.ts +45 -0
- package/lib/typescript/chat/features/group/members/components/MemberItem/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberList/MemberList.d.ts +8 -0
- package/lib/typescript/chat/features/group/members/components/MemberList/MemberList.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberList/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/members/components/MemberList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberList/styles.d.ts +11 -0
- package/lib/typescript/chat/features/group/members/components/MemberList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberTabs/MemberTabs.d.ts +10 -0
- package/lib/typescript/chat/features/group/members/components/MemberTabs/MemberTabs.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberTabs/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/members/components/MemberTabs/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/MemberTabs/styles.d.ts +12 -0
- package/lib/typescript/chat/features/group/members/components/MemberTabs/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/components/index.d.ts +5 -0
- package/lib/typescript/chat/features/group/members/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/members/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/hooks/useGroupMembers.d.ts +12 -0
- package/lib/typescript/chat/features/group/members/hooks/useGroupMembers.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/members/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/members/styles.d.ts +10 -0
- package/lib/typescript/chat/features/group/members/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/NotificationPreference.d.ts +3 -0
- package/lib/typescript/chat/features/group/notification-preference/NotificationPreference.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/components/AllowNotifications/AllowNotifications.d.ts +8 -0
- package/lib/typescript/chat/features/group/notification-preference/components/AllowNotifications/AllowNotifications.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/components/AllowNotifications/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/notification-preference/components/AllowNotifications/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/components/AllowNotifications/styles.d.ts +31 -0
- package/lib/typescript/chat/features/group/notification-preference/components/AllowNotifications/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/components/DisabledByModeratorBanner/DisabledByModeratorBanner.d.ts +2 -0
- package/lib/typescript/chat/features/group/notification-preference/components/DisabledByModeratorBanner/DisabledByModeratorBanner.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/components/DisabledByModeratorBanner/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/notification-preference/components/DisabledByModeratorBanner/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/components/DisabledByModeratorBanner/styles.d.ts +19 -0
- package/lib/typescript/chat/features/group/notification-preference/components/DisabledByModeratorBanner/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/components/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/notification-preference/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/notification-preference/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/hooks/useNotificationPreference.d.ts +16 -0
- package/lib/typescript/chat/features/group/notification-preference/hooks/useNotificationPreference.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/notification-preference/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/notification-preference/styles.d.ts +11 -0
- package/lib/typescript/chat/features/group/notification-preference/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/SelectGroupMember.d.ts +3 -0
- package/lib/typescript/chat/features/group/select-member/SelectGroupMember.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/Header/Header.d.ts +12 -0
- package/lib/typescript/chat/features/group/select-member/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/select-member/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/Header/styles.d.ts +14 -0
- package/lib/typescript/chat/features/group/select-member/components/Header/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/SelectedUsersBar/SelectedUsersBar.d.ts +7 -0
- package/lib/typescript/chat/features/group/select-member/components/SelectedUsersBar/SelectedUsersBar.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/SelectedUsersBar/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/select-member/components/SelectedUsersBar/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/SelectedUsersBar/styles.d.ts +18 -0
- package/lib/typescript/chat/features/group/select-member/components/SelectedUsersBar/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/UserItem/UserItem.d.ts +10 -0
- package/lib/typescript/chat/features/group/select-member/components/UserItem/UserItem.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/UserItem/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/select-member/components/UserItem/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/UserItem/styles.d.ts +30 -0
- package/lib/typescript/chat/features/group/select-member/components/UserItem/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/UserList/UserList.d.ts +8 -0
- package/lib/typescript/chat/features/group/select-member/components/UserList/UserList.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/UserList/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/select-member/components/UserList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/UserList/styles.d.ts +11 -0
- package/lib/typescript/chat/features/group/select-member/components/UserList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/components/index.d.ts +5 -0
- package/lib/typescript/chat/features/group/select-member/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/constants/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/select-member/constants/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/hooks/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/select-member/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/hooks/useSelectGroupMember.d.ts +22 -0
- package/lib/typescript/chat/features/group/select-member/hooks/useSelectGroupMember.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/select-member/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/select-member/styles.d.ts +10 -0
- package/lib/typescript/chat/features/group/select-member/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/GroupSetting.d.ts +3 -0
- package/lib/typescript/chat/features/group/setting/GroupSetting.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/components/Header/Header.d.ts +7 -0
- package/lib/typescript/chat/features/group/setting/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/setting/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/components/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/setting/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/group/setting/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/hooks/useGroupSetting.d.ts +20 -0
- package/lib/typescript/chat/features/group/setting/hooks/useGroupSetting.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/index.d.ts +3 -0
- package/lib/typescript/chat/features/group/setting/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/group/setting/styles.d.ts +36 -0
- package/lib/typescript/chat/features/group/setting/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/ChatHome.d.ts +8 -0
- package/lib/typescript/chat/features/home/ChatHome.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/ChannelList/ChannelList.d.ts +14 -0
- package/lib/typescript/chat/features/home/components/ChannelList/ChannelList.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/ChannelList/index.d.ts +3 -0
- package/lib/typescript/chat/features/home/components/ChannelList/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/ChannelList/styles.d.ts +78 -0
- package/lib/typescript/chat/features/home/components/ChannelList/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/Header/Header.d.ts +2 -0
- package/lib/typescript/chat/features/home/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/home/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/Header/styles.d.ts +33 -0
- package/lib/typescript/chat/features/home/components/Header/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/NotificationsDisabledBanner/NotificationsDisabledBanner.d.ts +2 -0
- package/lib/typescript/chat/features/home/components/NotificationsDisabledBanner/NotificationsDisabledBanner.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/NotificationsDisabledBanner/index.d.ts +2 -0
- package/lib/typescript/chat/features/home/components/NotificationsDisabledBanner/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/NotificationsDisabledBanner/styles.d.ts +20 -0
- package/lib/typescript/chat/features/home/components/NotificationsDisabledBanner/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/components/index.d.ts +4 -0
- package/lib/typescript/chat/features/home/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/ChatHomeMenu/ChatHomeMenu.d.ts +2 -0
- package/lib/typescript/chat/features/home/elements/ChatHomeMenu/ChatHomeMenu.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/ChatHomeMenu/index.d.ts +2 -0
- package/lib/typescript/chat/features/home/elements/ChatHomeMenu/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/ChatHomeMenu/styles.d.ts +14 -0
- package/lib/typescript/chat/features/home/elements/ChatHomeMenu/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/CreateChatMenu/CreateChatMenu.d.ts +9 -0
- package/lib/typescript/chat/features/home/elements/CreateChatMenu/CreateChatMenu.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/CreateChatMenu/index.d.ts +2 -0
- package/lib/typescript/chat/features/home/elements/CreateChatMenu/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/CreateChatMenu/styles.d.ts +14 -0
- package/lib/typescript/chat/features/home/elements/CreateChatMenu/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/SearchButton/SearchButton.d.ts +2 -0
- package/lib/typescript/chat/features/home/elements/SearchButton/SearchButton.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/SearchButton/index.d.ts +2 -0
- package/lib/typescript/chat/features/home/elements/SearchButton/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/elements/SearchButton/styles.d.ts +14 -0
- package/lib/typescript/chat/features/home/elements/SearchButton/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/home/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/hooks/usePushNotificationEnabled.d.ts +2 -0
- package/lib/typescript/chat/features/home/hooks/usePushNotificationEnabled.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/index.d.ts +4 -0
- package/lib/typescript/chat/features/home/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/home/styles.d.ts +15 -0
- package/lib/typescript/chat/features/home/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/SearchChannel.d.ts +2 -0
- package/lib/typescript/chat/features/search/SearchChannel.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/components/Header/Header.d.ts +9 -0
- package/lib/typescript/chat/features/search/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/components/Header/index.d.ts +2 -0
- package/lib/typescript/chat/features/search/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/components/Header/styles.d.ts +20 -0
- package/lib/typescript/chat/features/search/components/Header/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/components/index.d.ts +2 -0
- package/lib/typescript/chat/features/search/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/hooks/index.d.ts +2 -0
- package/lib/typescript/chat/features/search/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/hooks/useSearchChannel.d.ts +13 -0
- package/lib/typescript/chat/features/search/hooks/useSearchChannel.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/index.d.ts +2 -0
- package/lib/typescript/chat/features/search/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/search/styles.d.ts +14 -0
- package/lib/typescript/chat/features/search/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/AddTile/AddTile.d.ts +8 -0
- package/lib/typescript/chat/features/shared/components/AddTile/AddTile.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/AddTile/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/AddTile/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/AddTile/styles.d.ts +17 -0
- package/lib/typescript/chat/features/shared/components/AddTile/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ContentReportReason/ContentReportReason.d.ts +8 -0
- package/lib/typescript/chat/features/shared/components/ContentReportReason/ContentReportReason.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ContentReportReason/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/ContentReportReason/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ContentReportReason/styles.d.ts +86 -0
- package/lib/typescript/chat/features/shared/components/ContentReportReason/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/DateSeparator/DateSeparator.d.ts +6 -0
- package/lib/typescript/chat/features/shared/components/DateSeparator/DateSeparator.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/DateSeparator/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/DateSeparator/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/DateSeparator/styles.d.ts +28 -0
- package/lib/typescript/chat/features/shared/components/DateSeparator/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/DeletedMessagePill/DeletedMessagePill.d.ts +6 -0
- package/lib/typescript/chat/features/shared/components/DeletedMessagePill/DeletedMessagePill.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/DeletedMessagePill/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/DeletedMessagePill/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/DeletedMessagePill/styles.d.ts +20 -0
- package/lib/typescript/chat/features/shared/components/DeletedMessagePill/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/EmptyState/EmptyState.d.ts +7 -0
- package/lib/typescript/chat/features/shared/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/EmptyState/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/EmptyState/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/EmptyState/styles.d.ts +19 -0
- package/lib/typescript/chat/features/shared/components/EmptyState/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/FailedToShow/FailedToShow.d.ts +9 -0
- package/lib/typescript/chat/features/shared/components/FailedToShow/FailedToShow.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/FailedToShow/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/FailedToShow/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/FailedToShow/styles.d.ts +22 -0
- package/lib/typescript/chat/features/shared/components/FailedToShow/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ImageViewer/ImageViewer.d.ts +10 -0
- package/lib/typescript/chat/features/shared/components/ImageViewer/ImageViewer.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ImageViewer/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/ImageViewer/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ImageViewer/styles.d.ts +49 -0
- package/lib/typescript/chat/features/shared/components/ImageViewer/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MediaViewer/MediaViewer.d.ts +22 -0
- package/lib/typescript/chat/features/shared/components/MediaViewer/MediaViewer.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MediaViewer/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MediaViewer/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MediaViewer/styles.d.ts +60 -0
- package/lib/typescript/chat/features/shared/components/MediaViewer/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageFullTextScreen/MessageFullTextScreen.d.ts +9 -0
- package/lib/typescript/chat/features/shared/components/MessageFullTextScreen/MessageFullTextScreen.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageFullTextScreen/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MessageFullTextScreen/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageFullTextScreen/styles.d.ts +46 -0
- package/lib/typescript/chat/features/shared/components/MessageFullTextScreen/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/MessageLinkPreview.d.ts +9 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/MessageLinkPreview.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/styles.d.ts +54 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/useLinkPreview.d.ts +14 -0
- package/lib/typescript/chat/features/shared/components/MessageLinkPreview/useLinkPreview.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReactionBadge/MessageReactionBadge.d.ts +7 -0
- package/lib/typescript/chat/features/shared/components/MessageReactionBadge/MessageReactionBadge.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReactionBadge/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MessageReactionBadge/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReactionBadge/styles.d.ts +38 -0
- package/lib/typescript/chat/features/shared/components/MessageReactionBadge/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReactorListSheet/MessageReactorListSheet.d.ts +23 -0
- package/lib/typescript/chat/features/shared/components/MessageReactorListSheet/MessageReactorListSheet.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReactorListSheet/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MessageReactorListSheet/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReactorListSheet/styles.d.ts +119 -0
- package/lib/typescript/chat/features/shared/components/MessageReactorListSheet/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyBand/MessageReplyBand.d.ts +8 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyBand/MessageReplyBand.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyBand/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyBand/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyBand/styles.d.ts +60 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyBand/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/MessageReplyQuote.d.ts +13 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/MessageReplyQuote.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/styles.d.ts +114 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/utils.d.ts +18 -0
- package/lib/typescript/chat/features/shared/components/MessageReplyQuote/utils.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MutedBanner/MutedBanner.d.ts +6 -0
- package/lib/typescript/chat/features/shared/components/MutedBanner/MutedBanner.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MutedBanner/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/MutedBanner/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/MutedBanner/styles.d.ts +18 -0
- package/lib/typescript/chat/features/shared/components/MutedBanner/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/NewMessageNotification/NewMessageNotification.d.ts +7 -0
- package/lib/typescript/chat/features/shared/components/NewMessageNotification/NewMessageNotification.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/NewMessageNotification/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/NewMessageNotification/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/NewMessageNotification/styles.d.ts +65 -0
- package/lib/typescript/chat/features/shared/components/NewMessageNotification/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ScrollToLatestButton/ScrollToLatestButton.d.ts +6 -0
- package/lib/typescript/chat/features/shared/components/ScrollToLatestButton/ScrollToLatestButton.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ScrollToLatestButton/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/ScrollToLatestButton/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/ScrollToLatestButton/styles.d.ts +10 -0
- package/lib/typescript/chat/features/shared/components/ScrollToLatestButton/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/SelectedMember/SelectedMember.d.ts +6 -0
- package/lib/typescript/chat/features/shared/components/SelectedMember/SelectedMember.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/SelectedMember/index.d.ts +3 -0
- package/lib/typescript/chat/features/shared/components/SelectedMember/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/SelectedMember/styles.d.ts +27 -0
- package/lib/typescript/chat/features/shared/components/SelectedMember/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/VideoPlayer.d.ts +17 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoControls/VideoControls.d.ts +15 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoControls/VideoControls.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoControls/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoControls/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoControls/styles.d.ts +35 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoControls/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoScrubber/VideoScrubber.d.ts +9 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoScrubber/VideoScrubber.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoScrubber/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoScrubber/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoScrubber/styles.d.ts +47 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/VideoScrubber/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/index.d.ts +3 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/components/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/styles.d.ts +23 -0
- package/lib/typescript/chat/features/shared/components/VideoPlayer/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/YouTile/YouTile.d.ts +7 -0
- package/lib/typescript/chat/features/shared/components/YouTile/YouTile.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/YouTile/index.d.ts +2 -0
- package/lib/typescript/chat/features/shared/components/YouTile/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/components/YouTile/styles.d.ts +23 -0
- package/lib/typescript/chat/features/shared/components/YouTile/styles.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/index.d.ts +12 -0
- package/lib/typescript/chat/features/shared/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useBubbleMenu.d.ts +27 -0
- package/lib/typescript/chat/features/shared/hooks/useBubbleMenu.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useChatMessage.d.ts +94 -0
- package/lib/typescript/chat/features/shared/hooks/useChatMessage.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useFailedMessageSheet.d.ts +10 -0
- package/lib/typescript/chat/features/shared/hooks/useFailedMessageSheet.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useMarkAsRead.d.ts +8 -0
- package/lib/typescript/chat/features/shared/hooks/useMarkAsRead.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useMediaViewer.d.ts +22 -0
- package/lib/typescript/chat/features/shared/hooks/useMediaViewer.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useMessageComposer.d.ts +66 -0
- package/lib/typescript/chat/features/shared/hooks/useMessageComposer.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useMessageReactions.d.ts +12 -0
- package/lib/typescript/chat/features/shared/hooks/useMessageReactions.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/hooks/useReactorsCollection.d.ts +16 -0
- package/lib/typescript/chat/features/shared/hooks/useReactorsCollection.d.ts.map +1 -0
- package/lib/typescript/chat/features/shared/utils/reactionIcons.d.ts +22 -0
- package/lib/typescript/chat/features/shared/utils/reactionIcons.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/index.d.ts +9 -0
- package/lib/typescript/chat/hooks/collections/index.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useArchivedChannelsCollection.d.ts +11 -0
- package/lib/typescript/chat/hooks/collections/useArchivedChannelsCollection.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useBlockedUserIds.d.ts +5 -0
- package/lib/typescript/chat/hooks/collections/useBlockedUserIds.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useChannelMembersCollection.d.ts +18 -0
- package/lib/typescript/chat/hooks/collections/useChannelMembersCollection.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useChannelsByIdsCollection.d.ts +8 -0
- package/lib/typescript/chat/hooks/collections/useChannelsByIdsCollection.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useChannelsCollection.d.ts +17 -0
- package/lib/typescript/chat/hooks/collections/useChannelsCollection.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useMessageSearchCollection.d.ts +11 -0
- package/lib/typescript/chat/hooks/collections/useMessageSearchCollection.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useMessagesCollection.d.ts +17 -0
- package/lib/typescript/chat/hooks/collections/useMessagesCollection.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/collections/useSearchChannelsCollection.d.ts +13 -0
- package/lib/typescript/chat/hooks/collections/useSearchChannelsCollection.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/index.d.ts +14 -0
- package/lib/typescript/chat/hooks/index.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/objects/index.d.ts +2 -0
- package/lib/typescript/chat/hooks/objects/index.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/objects/useMessageObject.d.ts +7 -0
- package/lib/typescript/chat/hooks/objects/useMessageObject.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/queries/index.d.ts +5 -0
- package/lib/typescript/chat/hooks/queries/index.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/queries/useChannelArchiveQuery.d.ts +11 -0
- package/lib/typescript/chat/hooks/queries/useChannelArchiveQuery.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/queries/useDeleteMessageQuery.d.ts +8 -0
- package/lib/typescript/chat/hooks/queries/useDeleteMessageQuery.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/queries/useFlagMessageQuery.d.ts +30 -0
- package/lib/typescript/chat/hooks/queries/useFlagMessageQuery.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/queries/useSaveMediaMessageQuery.d.ts +5 -0
- package/lib/typescript/chat/hooks/queries/useSaveMediaMessageQuery.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useChannelMyMembership.d.ts +8 -0
- package/lib/typescript/chat/hooks/useChannelMyMembership.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useChatNavigation.d.ts +10 -0
- package/lib/typescript/chat/hooks/useChatNavigation.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useChatNotifications.d.ts +17 -0
- package/lib/typescript/chat/hooks/useChatNotifications.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useChatSurfaceHeight.d.ts +19 -0
- package/lib/typescript/chat/hooks/useChatSurfaceHeight.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useChatSurfaceHeight.styles.d.ts +8 -0
- package/lib/typescript/chat/hooks/useChatSurfaceHeight.styles.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useCreateMessage.d.ts +13 -0
- package/lib/typescript/chat/hooks/useCreateMessage.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useCurrentUserId.d.ts +2 -0
- package/lib/typescript/chat/hooks/useCurrentUserId.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useDeleteMessage.d.ts +12 -0
- package/lib/typescript/chat/hooks/useDeleteMessage.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useEditMessage.d.ts +15 -0
- package/lib/typescript/chat/hooks/useEditMessage.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useFollowInfo.d.ts +10 -0
- package/lib/typescript/chat/hooks/useFollowInfo.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useMention.d.ts +28 -0
- package/lib/typescript/chat/hooks/useMention.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useNetworkOnline.d.ts +5 -0
- package/lib/typescript/chat/hooks/useNetworkOnline.d.ts.map +1 -0
- package/lib/typescript/chat/hooks/useVideoFileUrl.d.ts +2 -0
- package/lib/typescript/chat/hooks/useVideoFileUrl.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityAddGroupMemberPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityAddGroupMemberPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityArchivedChatPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityArchivedChatPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityArchivedChatPage/styles.d.ts +9 -0
- package/lib/typescript/chat/pages/AmityArchivedChatPage/styles.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityBannedGroupMemberListPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityBannedGroupMemberListPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityChannelCreateConversationPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityChannelCreateConversationPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityChannelCreateConversationPage/styles.d.ts +10 -0
- package/lib/typescript/chat/pages/AmityChannelCreateConversationPage/styles.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityChatHomePage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityChatHomePage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityChatHomePage/styles.d.ts +9 -0
- package/lib/typescript/chat/pages/AmityChatHomePage/styles.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityChatPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityChatPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityChatPage/styles.d.ts +10 -0
- package/lib/typescript/chat/pages/AmityChatPage/styles.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityCreateGroupChatPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityCreateGroupChatPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityEditGroupMemberPermissionsPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityEditGroupMemberPermissionsPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityEditGroupNotificationPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityEditGroupNotificationPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityEditGroupProfilePage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityEditGroupProfilePage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityGroupChatPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityGroupChatPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityGroupMemberListPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityGroupMemberListPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityGroupNotificationPreferencePage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityGroupNotificationPreferencePage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmityGroupSettingPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmityGroupSettingPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmitySearchChannelPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmitySearchChannelPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/pages/AmitySelectGroupMemberPage/index.d.ts +2 -0
- package/lib/typescript/chat/pages/AmitySelectGroupMemberPage/index.d.ts.map +1 -0
- package/lib/typescript/chat/utils/groupMessagesByDate.d.ts +12 -0
- package/lib/typescript/chat/utils/groupMessagesByDate.d.ts.map +1 -0
- package/lib/typescript/chat/utils/highlightMatch.d.ts +4 -0
- package/lib/typescript/chat/utils/highlightMatch.d.ts.map +1 -0
- package/lib/typescript/chat/utils/isBlockedConversation.d.ts +2 -0
- package/lib/typescript/chat/utils/isBlockedConversation.d.ts.map +1 -0
- package/lib/typescript/chat/utils/linkifyText.d.ts +11 -0
- package/lib/typescript/chat/utils/linkifyText.d.ts.map +1 -0
- package/lib/typescript/chat/utils/previewLink.d.ts +3 -0
- package/lib/typescript/chat/utils/previewLink.d.ts.map +1 -0
- package/lib/typescript/chat/utils/timestamp.d.ts +3 -0
- package/lib/typescript/chat/utils/timestamp.d.ts.map +1 -0
- package/lib/typescript/core/assets/icons/emptyCommunity2.d.ts +2 -0
- package/lib/typescript/core/assets/icons/emptyCommunity2.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Avatar/Avatar.d.ts +29 -0
- package/lib/typescript/core/design/atoms/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Avatar/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Avatar/styles.d.ts +51 -0
- package/lib/typescript/core/design/atoms/Avatar/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Badge/Badge.d.ts +37 -0
- package/lib/typescript/core/design/atoms/Badge/Badge.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Badge/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Badge/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Badge/styles.d.ts +50 -0
- package/lib/typescript/core/design/atoms/Badge/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Button/Button.d.ts +25 -0
- package/lib/typescript/core/design/atoms/Button/Button.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Button/Icon/Icon.d.ts +25 -0
- package/lib/typescript/core/design/atoms/Button/Icon/Icon.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Button/Icon/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Button/Icon/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Button/Icon/styles.d.ts +22 -0
- package/lib/typescript/core/design/atoms/Button/Icon/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Button/index.d.ts +8 -0
- package/lib/typescript/core/design/atoms/Button/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Button/styles.d.ts +36 -0
- package/lib/typescript/core/design/atoms/Button/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Divider/Divider.d.ts +10 -0
- package/lib/typescript/core/design/atoms/Divider/Divider.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Divider/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Divider/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Divider/styles.d.ts +34 -0
- package/lib/typescript/core/design/atoms/Divider/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Boxed/Boxed.d.ts +22 -0
- package/lib/typescript/core/design/atoms/Input/Boxed/Boxed.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Boxed/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Input/Boxed/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Boxed/styles.d.ts +45 -0
- package/lib/typescript/core/design/atoms/Input/Boxed/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Chip/Chip.d.ts +22 -0
- package/lib/typescript/core/design/atoms/Input/Chip/Chip.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Chip/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Input/Chip/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Chip/styles.d.ts +56 -0
- package/lib/typescript/core/design/atoms/Input/Chip/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Input.d.ts +11 -0
- package/lib/typescript/core/design/atoms/Input/Input.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Text/Text.d.ts +29 -0
- package/lib/typescript/core/design/atoms/Input/Text/Text.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Text/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Input/Text/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/Text/styles.d.ts +67 -0
- package/lib/typescript/core/design/atoms/Input/Text/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/User/User.d.ts +14 -0
- package/lib/typescript/core/design/atoms/Input/User/User.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/User/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Input/User/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/User/styles.d.ts +38 -0
- package/lib/typescript/core/design/atoms/Input/User/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Input/index.d.ts +10 -0
- package/lib/typescript/core/design/atoms/Input/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/Loader.d.ts +7 -0
- package/lib/typescript/core/design/atoms/Loader/Loader.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/Spinner/Spinner.d.ts +9 -0
- package/lib/typescript/core/design/atoms/Loader/Spinner/Spinner.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/Spinner/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Loader/Spinner/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/Spinner/styles.d.ts +8 -0
- package/lib/typescript/core/design/atoms/Loader/Spinner/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/Upload/Upload.d.ts +9 -0
- package/lib/typescript/core/design/atoms/Loader/Upload/Upload.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/Upload/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Loader/Upload/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/Upload/styles.d.ts +42 -0
- package/lib/typescript/core/design/atoms/Loader/Upload/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Loader/index.d.ts +6 -0
- package/lib/typescript/core/design/atoms/Loader/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Selection/Selection.d.ts +23 -0
- package/lib/typescript/core/design/atoms/Selection/Selection.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Selection/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Selection/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Selection/styles.d.ts +61 -0
- package/lib/typescript/core/design/atoms/Selection/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Tab/Tab.d.ts +12 -0
- package/lib/typescript/core/design/atoms/Tab/Tab.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Tab/index.d.ts +3 -0
- package/lib/typescript/core/design/atoms/Tab/index.d.ts.map +1 -0
- package/lib/typescript/core/design/atoms/Tab/styles.d.ts +53 -0
- package/lib/typescript/core/design/atoms/Tab/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/components/BottomSheet/BottomSheet.d.ts +41 -0
- package/lib/typescript/core/design/components/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/core/design/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/core/design/components/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/core/design/components/BottomSheet/styles.d.ts +46 -0
- package/lib/typescript/core/design/components/BottomSheet/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Menu/Menu.d.ts +27 -0
- package/lib/typescript/core/design/components/Menu/Menu.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Menu/index.d.ts +3 -0
- package/lib/typescript/core/design/components/Menu/index.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Menu/styles.d.ts +55 -0
- package/lib/typescript/core/design/components/Menu/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/components/MenuOptionButton/MenuOptionButton.d.ts +9 -0
- package/lib/typescript/core/design/components/MenuOptionButton/MenuOptionButton.d.ts.map +1 -0
- package/lib/typescript/core/design/components/MenuOptionButton/index.d.ts +3 -0
- package/lib/typescript/core/design/components/MenuOptionButton/index.d.ts.map +1 -0
- package/lib/typescript/core/design/components/MenuOptionButton/styles.d.ts +35 -0
- package/lib/typescript/core/design/components/MenuOptionButton/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Popover/Popover.d.ts +34 -0
- package/lib/typescript/core/design/components/Popover/Popover.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Popover/index.d.ts +3 -0
- package/lib/typescript/core/design/components/Popover/index.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Popover/styles.d.ts +30 -0
- package/lib/typescript/core/design/components/Popover/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Skeleton/Skeleton.d.ts +10 -0
- package/lib/typescript/core/design/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Skeleton/index.d.ts +3 -0
- package/lib/typescript/core/design/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Skeleton/styles.d.ts +8 -0
- package/lib/typescript/core/design/components/Skeleton/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/components/TextEditor/TextEditor.d.ts +42 -0
- package/lib/typescript/core/design/components/TextEditor/TextEditor.d.ts.map +1 -0
- package/lib/typescript/core/design/components/TextEditor/index.d.ts +5 -0
- package/lib/typescript/core/design/components/TextEditor/index.d.ts.map +1 -0
- package/lib/typescript/core/design/components/TextEditor/styles.d.ts +30 -0
- package/lib/typescript/core/design/components/TextEditor/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/components/TextEditor/utils.d.ts +54 -0
- package/lib/typescript/core/design/components/TextEditor/utils.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Typography/Typography.d.ts +7 -0
- package/lib/typescript/core/design/components/Typography/Typography.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Typography/index.d.ts +3 -0
- package/lib/typescript/core/design/components/Typography/index.d.ts.map +1 -0
- package/lib/typescript/core/design/components/Typography/styles.d.ts +53 -0
- package/lib/typescript/core/design/components/Typography/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/elements/BrandBadge/BrandBadge.d.ts +4 -0
- package/lib/typescript/core/design/elements/BrandBadge/BrandBadge.d.ts.map +1 -0
- package/lib/typescript/core/design/elements/BrandBadge/index.d.ts +3 -0
- package/lib/typescript/core/design/elements/BrandBadge/index.d.ts.map +1 -0
- package/lib/typescript/core/design/elements/ModeratorBadge/ModeratorBadge.d.ts +6 -0
- package/lib/typescript/core/design/elements/ModeratorBadge/ModeratorBadge.d.ts.map +1 -0
- package/lib/typescript/core/design/elements/ModeratorBadge/index.d.ts +3 -0
- package/lib/typescript/core/design/elements/ModeratorBadge/index.d.ts.map +1 -0
- package/lib/typescript/core/design/elements/PrivateBadge/PrivateBadge.d.ts +7 -0
- package/lib/typescript/core/design/elements/PrivateBadge/PrivateBadge.d.ts.map +1 -0
- package/lib/typescript/core/design/elements/PrivateBadge/index.d.ts +3 -0
- package/lib/typescript/core/design/elements/PrivateBadge/index.d.ts.map +1 -0
- package/lib/typescript/core/design/icons/AmityIcon.d.ts +12 -0
- package/lib/typescript/core/design/icons/AmityIcon.d.ts.map +1 -0
- package/lib/typescript/core/design/icons/generated/iconRegistry.d.ts +222 -0
- package/lib/typescript/core/design/icons/generated/iconRegistry.d.ts.map +1 -0
- package/lib/typescript/core/design/icons/index.d.ts +5 -0
- package/lib/typescript/core/design/icons/index.d.ts.map +1 -0
- package/lib/typescript/core/design/molecules/SearchInput/SearchInput.d.ts +12 -0
- package/lib/typescript/core/design/molecules/SearchInput/SearchInput.d.ts.map +1 -0
- package/lib/typescript/core/design/molecules/SearchInput/index.d.ts +3 -0
- package/lib/typescript/core/design/molecules/SearchInput/index.d.ts.map +1 -0
- package/lib/typescript/core/design/molecules/SearchInput/styles.d.ts +19 -0
- package/lib/typescript/core/design/molecules/SearchInput/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/molecules/Tabs/Tabs.d.ts +16 -0
- package/lib/typescript/core/design/molecules/Tabs/Tabs.d.ts.map +1 -0
- package/lib/typescript/core/design/molecules/Tabs/index.d.ts +3 -0
- package/lib/typescript/core/design/molecules/Tabs/index.d.ts.map +1 -0
- package/lib/typescript/core/design/molecules/Tabs/styles.d.ts +19 -0
- package/lib/typescript/core/design/molecules/Tabs/styles.d.ts.map +1 -0
- package/lib/typescript/core/design/theme/AmityForceMode.d.ts +8 -0
- package/lib/typescript/core/design/theme/AmityForceMode.d.ts.map +1 -0
- package/lib/typescript/core/design/theme/AmityThemeProvider.d.ts +27 -0
- package/lib/typescript/core/design/theme/AmityThemeProvider.d.ts.map +1 -0
- package/lib/typescript/core/design/theme/index.d.ts +9 -0
- package/lib/typescript/core/design/theme/index.d.ts.map +1 -0
- package/lib/typescript/core/design/theme/resolveTokens.d.ts +16 -0
- package/lib/typescript/core/design/theme/resolveTokens.d.ts.map +1 -0
- package/lib/typescript/core/design/theme/useToken.d.ts +7 -0
- package/lib/typescript/core/design/theme/useToken.d.ts.map +1 -0
- package/lib/typescript/core/design/tokens/amity-color-tokens.d.ts +5065 -0
- package/lib/typescript/core/design/tokens/amity-color-tokens.d.ts.map +1 -0
- package/lib/typescript/core/design/tokens/spacing.d.ts +22 -0
- package/lib/typescript/core/design/tokens/spacing.d.ts.map +1 -0
- package/lib/typescript/core/hooks/collections/index.d.ts +2 -0
- package/lib/typescript/core/hooks/collections/index.d.ts.map +1 -0
- package/lib/typescript/core/hooks/collections/useLiveCollection.d.ts +16 -0
- package/lib/typescript/core/hooks/collections/useLiveCollection.d.ts.map +1 -0
- package/lib/typescript/core/hooks/objects/index.d.ts +3 -0
- package/lib/typescript/core/hooks/objects/index.d.ts.map +1 -0
- package/lib/typescript/core/hooks/objects/useLiveObject.d.ts.map +1 -0
- package/lib/typescript/core/hooks/objects/useUser.d.ts.map +1 -0
- package/lib/typescript/core/hooks/useUpload.d.ts.map +1 -1
- package/lib/typescript/core/index.d.ts +1 -0
- package/lib/typescript/core/index.d.ts.map +1 -1
- package/lib/typescript/core/localization/LocaleProvider.d.ts +77 -0
- package/lib/typescript/core/localization/LocaleProvider.d.ts.map +1 -0
- package/lib/typescript/core/localization/defaultLocaleMap.d.ts +19 -0
- package/lib/typescript/core/localization/defaultLocaleMap.d.ts.map +1 -0
- package/lib/typescript/core/localization/defaults/en.d.ts +16 -0
- package/lib/typescript/core/localization/defaults/en.d.ts.map +1 -0
- package/lib/typescript/core/localization/defaults/th.d.ts +18 -0
- package/lib/typescript/core/localization/defaults/th.d.ts.map +1 -0
- package/lib/typescript/core/localization/index.d.ts +28 -0
- package/lib/typescript/core/localization/index.d.ts.map +1 -0
- package/lib/typescript/core/localization/resolveString.d.ts +82 -0
- package/lib/typescript/core/localization/resolveString.d.ts.map +1 -0
- package/lib/typescript/core/localization/useString.d.ts +23 -0
- package/lib/typescript/core/localization/useString.d.ts.map +1 -0
- package/lib/typescript/core/providers/AmityUIKitProvider.d.ts.map +1 -1
- package/lib/typescript/core/routes/AmityChatEntry.d.ts +2 -0
- package/lib/typescript/core/routes/AmityChatEntry.d.ts.map +1 -0
- package/lib/typescript/core/routes/AmityUIKitNavigator.d.ts +5 -1
- package/lib/typescript/core/routes/AmityUIKitNavigator.d.ts.map +1 -1
- package/lib/typescript/core/routes/RouteParamList.d.ts +44 -0
- package/lib/typescript/core/routes/RouteParamList.d.ts.map +1 -1
- package/lib/typescript/core/stores/slices/bottomSheetSlice.d.ts +1 -0
- package/lib/typescript/core/stores/slices/bottomSheetSlice.d.ts.map +1 -1
- package/lib/typescript/core/stores/slices/toastSlice.d.ts +1 -0
- package/lib/typescript/core/stores/slices/toastSlice.d.ts.map +1 -1
- package/lib/typescript/core/types/behaviour.d.ts +26 -0
- package/lib/typescript/core/types/behaviour.d.ts.map +1 -1
- package/lib/typescript/core/utils/abbreviateCount.d.ts +2 -0
- package/lib/typescript/core/utils/abbreviateCount.d.ts.map +1 -0
- package/lib/typescript/core/utils/fileUpload.d.ts +1 -1
- package/lib/typescript/index.d.ts +2 -2
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/social/components/BottomSheetComponent/BottomSheetComponent.d.ts.map +1 -1
- package/lib/typescript/social/components/StoryKit/src/StoryListItem.d.ts.map +1 -1
- package/lib/typescript/social/components/Toast/index.d.ts.map +1 -1
- package/lib/typescript/social/components/Toast/styles.d.ts +3 -1
- package/lib/typescript/social/components/Toast/styles.d.ts.map +1 -1
- package/lib/typescript/social/features/community/CommentsNotificationSetting/hooks/useCommentsNotificationSetting.d.ts +15 -15
- package/lib/typescript/social/features/community/LivestreamsNotificationSetting/hooks/useLivestreamsNotificationSetting.d.ts +5 -5
- package/lib/typescript/social/features/community/PostsNotificationSetting/hooks/usePostsNotificationSetting.d.ts +10 -10
- package/lib/typescript/social/features/community/StoriesNotificationSetting/hooks/useStoriesNotificationSetting.d.ts +15 -15
- package/lib/typescript/social/features/poll/Composer/PollPostComposer.d.ts +1 -1
- package/lib/typescript/social/features/poll/Composer/PollPostComposer.d.ts.map +1 -1
- package/lib/typescript/social/features/post/Composer/PostComposer.d.ts.map +1 -1
- package/lib/typescript/social/features/post/components/DetailedMediaAttachment/DetailedMediaAttachment.d.ts +1 -1
- package/lib/typescript/social/features/post/components/DetailedMediaAttachment/DetailedMediaAttachment.d.ts.map +1 -1
- package/lib/typescript/social/features/post/components/MediaAttachment/MediaAttachment.d.ts +1 -1
- package/lib/typescript/social/features/post/components/MediaAttachment/MediaAttachment.d.ts.map +1 -1
- package/lib/typescript/social/features/story/View/components/AmityViewStoryItem.d.ts.map +1 -1
- package/lib/typescript/social/hooks/collections/useLiveCollection.d.ts +1 -15
- package/lib/typescript/social/hooks/collections/useLiveCollection.d.ts.map +1 -1
- package/lib/typescript/social/hooks/objects/index.d.ts +1 -2
- package/lib/typescript/social/hooks/objects/index.d.ts.map +1 -1
- package/lib/typescript/social/hooks/useGlobalBehavior.d.ts +1 -0
- package/lib/typescript/social/hooks/useGlobalBehavior.d.ts.map +1 -1
- package/lib/typescript/social/providers/BehaviourProvider.d.ts.map +1 -1
- package/package.json +19 -10
- package/src/chat/components/AmityChatListItem/AmityChatListItem.tsx +480 -0
- package/src/chat/components/AmityChatListItem/index.ts +2 -0
- package/src/chat/components/AmityChatListItem/styles.ts +136 -0
- package/src/chat/components/AmityConversationChatUserActionComponent/AmityConversationChatUserActionComponent.tsx +303 -0
- package/src/chat/components/AmityConversationChatUserActionComponent/index.ts +1 -0
- package/src/chat/components/AmityConversationChatUserActionComponent/styles.ts +23 -0
- package/src/chat/components/AmityGroupMemberActionComponent/AmityGroupMemberActionComponent.tsx +356 -0
- package/src/chat/components/AmityGroupMemberActionComponent/index.ts +1 -0
- package/src/chat/components/AmityGroupMemberActionComponent/styles.ts +23 -0
- package/src/chat/components/AmityMediaAttachmentPicker/AmityMediaAttachmentPicker.tsx +239 -0
- package/src/chat/components/AmityMediaAttachmentPicker/index.ts +1 -0
- package/src/chat/components/AmityMediaAttachmentPicker/styles.ts +66 -0
- package/src/chat/components/AmityMessageActionMenu/AmityMessageActionMenu.tsx +317 -0
- package/src/chat/components/AmityMessageActionMenu/index.ts +5 -0
- package/src/chat/components/AmityMessageActionMenu/styles.ts +57 -0
- package/src/chat/components/AmityMessageBubble/AmityMessageBubble.tsx +833 -0
- package/src/chat/components/AmityMessageBubble/index.ts +1 -0
- package/src/chat/components/AmityMessageBubble/styles.ts +383 -0
- package/src/chat/components/AmityMessageComposer/AmityMessageComposer.tsx +327 -0
- package/src/chat/components/AmityMessageComposer/index.ts +1 -0
- package/src/chat/components/AmityMessageComposer/styles.ts +188 -0
- package/src/chat/components/AmitySearchChannelResults/AmitySearchChannelResults.tsx +182 -0
- package/src/chat/components/AmitySearchChannelResults/SwipeToLeft.tsx +91 -0
- package/src/chat/components/AmitySearchChannelResults/index.ts +2 -0
- package/src/chat/components/AmitySearchChannelResults/styles.ts +53 -0
- package/src/chat/components/AmitySearchMessageResults/AmitySearchMessageResults.tsx +188 -0
- package/src/chat/components/AmitySearchMessageResults/index.ts +2 -0
- package/src/chat/constants/bubble.ts +130 -0
- package/src/chat/constants/errorResponse.ts +20 -0
- package/src/chat/constants/index.ts +5 -0
- package/src/chat/constants/list.ts +7 -0
- package/src/chat/constants/search.ts +13 -0
- package/src/chat/constants/sheet.ts +37 -0
- package/src/chat/elements/ArchivedBadge/ArchivedBadge.tsx +27 -0
- package/src/chat/elements/ArchivedBadge/index.ts +1 -0
- package/src/chat/elements/ArchivedBadge/styles.ts +34 -0
- package/src/chat/elements/Avatar/Avatar.tsx +169 -0
- package/src/chat/elements/Avatar/index.ts +2 -0
- package/src/chat/elements/Avatar/styles.ts +63 -0
- package/src/chat/elements/AvatarPicker/AvatarPicker.tsx +117 -0
- package/src/chat/elements/AvatarPicker/index.ts +2 -0
- package/src/chat/elements/AvatarPicker/styles.ts +50 -0
- package/src/chat/elements/ChatKeyboardAvoidingView/ChatKeyboardAvoidingView.tsx +155 -0
- package/src/chat/elements/ChatKeyboardAvoidingView/index.ts +1 -0
- package/src/chat/elements/ChatKeyboardAvoidingView/styles.ts +14 -0
- package/src/chat/elements/ConversationChatAvatar/ConversationChatAvatar.tsx +61 -0
- package/src/chat/elements/ConversationChatAvatar/index.ts +2 -0
- package/src/chat/elements/GroupNameField/GroupNameField.tsx +68 -0
- package/src/chat/elements/GroupNameField/index.ts +2 -0
- package/src/chat/elements/GroupNameField/styles.ts +19 -0
- package/src/chat/elements/MediaUploadOverlay/MediaUploadOverlay.tsx +36 -0
- package/src/chat/elements/MediaUploadOverlay/index.ts +2 -0
- package/src/chat/elements/MediaUploadOverlay/styles.ts +26 -0
- package/src/chat/elements/ReactionPicker/ReactionPicker.tsx +343 -0
- package/src/chat/elements/ReactionPicker/index.ts +2 -0
- package/src/chat/elements/ReactionPicker/styles.ts +136 -0
- package/src/chat/elements/SettingMenu/SettingMenu.tsx +83 -0
- package/src/chat/elements/SettingMenu/index.ts +2 -0
- package/src/chat/elements/SettingMenu/styles.ts +57 -0
- package/src/chat/elements/TopBar/TopBar.tsx +61 -0
- package/src/chat/elements/TopBar/index.ts +1 -0
- package/src/chat/elements/TopBar/styles.ts +50 -0
- package/src/chat/elements/WaitingForNetwork/WaitingForNetwork.tsx +53 -0
- package/src/chat/elements/WaitingForNetwork/index.ts +1 -0
- package/src/chat/elements/WaitingForNetwork/styles.ts +30 -0
- package/src/chat/features/archive/ArchivedChat.tsx +28 -0
- package/src/chat/features/archive/components/ArchivedChannelList/ArchivedChannelList.tsx +131 -0
- package/src/chat/features/archive/components/ArchivedChannelList/index.ts +1 -0
- package/src/chat/features/archive/components/ArchivedChannelList/styles.ts +56 -0
- package/src/chat/features/archive/components/Header/Header.tsx +18 -0
- package/src/chat/features/archive/components/Header/index.ts +1 -0
- package/src/chat/features/archive/components/index.ts +2 -0
- package/src/chat/features/archive/index.ts +1 -0
- package/src/chat/features/archive/styles.ts +21 -0
- package/src/chat/features/conversation/Chat.tsx +168 -0
- package/src/chat/features/conversation/components/Header/Header.tsx +131 -0
- package/src/chat/features/conversation/components/Header/index.ts +1 -0
- package/src/chat/features/conversation/components/Header/styles.ts +61 -0
- package/src/chat/features/conversation/components/MessageList/MessageList.tsx +536 -0
- package/src/chat/features/conversation/components/MessageList/index.ts +1 -0
- package/src/chat/features/conversation/components/MessageList/styles.ts +48 -0
- package/src/chat/features/conversation/components/MessageRow/MessageRow.tsx +298 -0
- package/src/chat/features/conversation/components/MessageRow/index.ts +1 -0
- package/src/chat/features/conversation/components/MessageRow/styles.ts +92 -0
- package/src/chat/features/conversation/components/index.ts +3 -0
- package/src/chat/features/conversation/create/CreateConversation.tsx +36 -0
- package/src/chat/features/conversation/create/components/Header/Header.tsx +42 -0
- package/src/chat/features/conversation/create/components/Header/index.ts +1 -0
- package/src/chat/features/conversation/create/components/Header/styles.ts +24 -0
- package/src/chat/features/conversation/create/components/UserItem/UserItem.tsx +69 -0
- package/src/chat/features/conversation/create/components/UserItem/index.ts +1 -0
- package/src/chat/features/conversation/create/components/UserItem/styles.ts +51 -0
- package/src/chat/features/conversation/create/components/UserList/UserList.tsx +86 -0
- package/src/chat/features/conversation/create/components/UserList/index.ts +1 -0
- package/src/chat/features/conversation/create/components/UserList/styles.ts +15 -0
- package/src/chat/features/conversation/create/components/index.ts +3 -0
- package/src/chat/features/conversation/create/hooks/index.ts +6 -0
- package/src/chat/features/conversation/create/hooks/useCreateConversation.ts +74 -0
- package/src/chat/features/conversation/create/hooks/useSearchUsers.ts +80 -0
- package/src/chat/features/conversation/create/index.ts +1 -0
- package/src/chat/features/conversation/create/styles.ts +20 -0
- package/src/chat/features/conversation/hooks/useConversation.ts +69 -0
- package/src/chat/features/conversation/index.ts +2 -0
- package/src/chat/features/conversation/styles.ts +18 -0
- package/src/chat/features/group/add-member/AddGroupMember.tsx +61 -0
- package/src/chat/features/group/add-member/components/AddMemberButton/AddMemberButton.tsx +40 -0
- package/src/chat/features/group/add-member/components/AddMemberButton/index.ts +1 -0
- package/src/chat/features/group/add-member/components/AddMemberButton/styles.ts +22 -0
- package/src/chat/features/group/add-member/components/Header/Header.tsx +50 -0
- package/src/chat/features/group/add-member/components/Header/index.ts +1 -0
- package/src/chat/features/group/add-member/components/Header/styles.ts +23 -0
- package/src/chat/features/group/add-member/components/SelectedUsersBar/SelectedUsersBar.tsx +49 -0
- package/src/chat/features/group/add-member/components/SelectedUsersBar/index.ts +1 -0
- package/src/chat/features/group/add-member/components/SelectedUsersBar/styles.ts +29 -0
- package/src/chat/features/group/add-member/components/UserList/UserList.tsx +163 -0
- package/src/chat/features/group/add-member/components/UserList/index.ts +1 -0
- package/src/chat/features/group/add-member/components/UserList/styles.ts +47 -0
- package/src/chat/features/group/add-member/components/index.ts +4 -0
- package/src/chat/features/group/add-member/hooks/index.ts +1 -0
- package/src/chat/features/group/add-member/hooks/useAddGroupMember.ts +112 -0
- package/src/chat/features/group/add-member/index.ts +1 -0
- package/src/chat/features/group/add-member/styles.ts +23 -0
- package/src/chat/features/group/banned-members/BannedGroupMembers.tsx +56 -0
- package/src/chat/features/group/banned-members/components/BannedMemberList/BannedMemberList.tsx +128 -0
- package/src/chat/features/group/banned-members/components/BannedMemberList/index.ts +1 -0
- package/src/chat/features/group/banned-members/components/BannedMemberList/styles.ts +23 -0
- package/src/chat/features/group/banned-members/components/Header/Header.tsx +17 -0
- package/src/chat/features/group/banned-members/components/Header/index.ts +1 -0
- package/src/chat/features/group/banned-members/components/index.ts +2 -0
- package/src/chat/features/group/banned-members/hooks/index.ts +1 -0
- package/src/chat/features/group/banned-members/hooks/useBannedGroupMembers.ts +75 -0
- package/src/chat/features/group/banned-members/index.ts +1 -0
- package/src/chat/features/group/banned-members/styles.ts +23 -0
- package/src/chat/features/group/chat/GroupChat.tsx +156 -0
- package/src/chat/features/group/chat/components/BannedEmptyState/BannedEmptyState.tsx +34 -0
- package/src/chat/features/group/chat/components/BannedEmptyState/index.ts +1 -0
- package/src/chat/features/group/chat/components/BannedEmptyState/styles.ts +27 -0
- package/src/chat/features/group/chat/components/Header/Header.tsx +96 -0
- package/src/chat/features/group/chat/components/Header/index.ts +1 -0
- package/src/chat/features/group/chat/components/Header/styles.ts +53 -0
- package/src/chat/features/group/chat/components/index.ts +2 -0
- package/src/chat/features/group/chat/hooks/index.ts +1 -0
- package/src/chat/features/group/chat/hooks/useGroupChat.ts +92 -0
- package/src/chat/features/group/chat/index.ts +2 -0
- package/src/chat/features/group/chat/styles.ts +14 -0
- package/src/chat/features/group/create/CreateGroupChat.tsx +94 -0
- package/src/chat/features/group/create/components/Header/Header.tsx +47 -0
- package/src/chat/features/group/create/components/Header/index.ts +1 -0
- package/src/chat/features/group/create/components/MemberGrid/MemberGrid.tsx +69 -0
- package/src/chat/features/group/create/components/MemberGrid/index.ts +1 -0
- package/src/chat/features/group/create/components/MemberGrid/styles.ts +46 -0
- package/src/chat/features/group/create/components/PrivacySection/PrivacySection.tsx +117 -0
- package/src/chat/features/group/create/components/PrivacySection/index.ts +1 -0
- package/src/chat/features/group/create/components/PrivacySection/styles.ts +66 -0
- package/src/chat/features/group/create/components/index.ts +3 -0
- package/src/chat/features/group/create/hooks/index.ts +5 -0
- package/src/chat/features/group/create/hooks/useCreateGroupChat.ts +237 -0
- package/src/chat/features/group/create/index.ts +5 -0
- package/src/chat/features/group/create/styles.ts +26 -0
- package/src/chat/features/group/create/utils/generateDisplayName.ts +36 -0
- package/src/chat/features/group/create/utils/index.ts +1 -0
- package/src/chat/features/group/edit-notification/EditGroupNotification.tsx +121 -0
- package/src/chat/features/group/edit-notification/components/NotificationMode/NotificationMode.tsx +39 -0
- package/src/chat/features/group/edit-notification/components/NotificationMode/index.ts +1 -0
- package/src/chat/features/group/edit-notification/components/NotificationMode/styles.ts +29 -0
- package/src/chat/features/group/edit-notification/components/NotificationModeRow/NotificationModeRow.tsx +43 -0
- package/src/chat/features/group/edit-notification/components/NotificationModeRow/index.ts +1 -0
- package/src/chat/features/group/edit-notification/components/NotificationModeRow/styles.ts +29 -0
- package/src/chat/features/group/edit-notification/components/index.ts +1 -0
- package/src/chat/features/group/edit-notification/hooks/index.ts +1 -0
- package/src/chat/features/group/edit-notification/hooks/useEditGroupNotification.ts +127 -0
- package/src/chat/features/group/edit-notification/index.ts +2 -0
- package/src/chat/features/group/edit-notification/styles.ts +30 -0
- package/src/chat/features/group/edit-permission/EditGroupMemberPermissions.tsx +83 -0
- package/src/chat/features/group/edit-permission/components/MemberPermission/MemberPermission.tsx +42 -0
- package/src/chat/features/group/edit-permission/components/MemberPermission/index.ts +1 -0
- package/src/chat/features/group/edit-permission/components/MemberPermission/styles.ts +29 -0
- package/src/chat/features/group/edit-permission/components/index.ts +1 -0
- package/src/chat/features/group/edit-permission/constants/index.ts +31 -0
- package/src/chat/features/group/edit-permission/hooks/index.ts +1 -0
- package/src/chat/features/group/edit-permission/hooks/useEditGroupMemberPermissions.ts +115 -0
- package/src/chat/features/group/edit-permission/index.ts +2 -0
- package/src/chat/features/group/edit-permission/styles.ts +35 -0
- package/src/chat/features/group/edit-profile/EditGroupProfile.tsx +65 -0
- package/src/chat/features/group/edit-profile/components/Header/Header.tsx +45 -0
- package/src/chat/features/group/edit-profile/components/Header/index.ts +1 -0
- package/src/chat/features/group/edit-profile/components/index.ts +1 -0
- package/src/chat/features/group/edit-profile/hooks/index.ts +1 -0
- package/src/chat/features/group/edit-profile/hooks/useEditGroupProfile.ts +158 -0
- package/src/chat/features/group/edit-profile/index.ts +2 -0
- package/src/chat/features/group/edit-profile/styles.ts +26 -0
- package/src/chat/features/group/members/GroupMembers.tsx +47 -0
- package/src/chat/features/group/members/components/Header/Header.tsx +51 -0
- package/src/chat/features/group/members/components/Header/index.ts +1 -0
- package/src/chat/features/group/members/components/MemberItem/MemberItem.tsx +99 -0
- package/src/chat/features/group/members/components/MemberItem/index.ts +1 -0
- package/src/chat/features/group/members/components/MemberItem/styles.ts +55 -0
- package/src/chat/features/group/members/components/MemberList/MemberList.tsx +144 -0
- package/src/chat/features/group/members/components/MemberList/index.ts +1 -0
- package/src/chat/features/group/members/components/MemberList/styles.ts +17 -0
- package/src/chat/features/group/members/components/MemberTabs/MemberTabs.tsx +86 -0
- package/src/chat/features/group/members/components/MemberTabs/index.ts +1 -0
- package/src/chat/features/group/members/components/MemberTabs/styles.ts +18 -0
- package/src/chat/features/group/members/components/index.ts +4 -0
- package/src/chat/features/group/members/hooks/index.ts +1 -0
- package/src/chat/features/group/members/hooks/useGroupMembers.ts +36 -0
- package/src/chat/features/group/members/index.ts +1 -0
- package/src/chat/features/group/members/styles.ts +19 -0
- package/src/chat/features/group/notification-preference/NotificationPreference.tsx +66 -0
- package/src/chat/features/group/notification-preference/components/AllowNotifications/AllowNotifications.tsx +75 -0
- package/src/chat/features/group/notification-preference/components/AllowNotifications/index.ts +1 -0
- package/src/chat/features/group/notification-preference/components/AllowNotifications/styles.ts +45 -0
- package/src/chat/features/group/notification-preference/components/DisabledByModeratorBanner/DisabledByModeratorBanner.tsx +42 -0
- package/src/chat/features/group/notification-preference/components/DisabledByModeratorBanner/index.ts +1 -0
- package/src/chat/features/group/notification-preference/components/DisabledByModeratorBanner/styles.ts +33 -0
- package/src/chat/features/group/notification-preference/components/index.ts +2 -0
- package/src/chat/features/group/notification-preference/hooks/index.ts +1 -0
- package/src/chat/features/group/notification-preference/hooks/useNotificationPreference.ts +163 -0
- package/src/chat/features/group/notification-preference/index.ts +2 -0
- package/src/chat/features/group/notification-preference/styles.ts +22 -0
- package/src/chat/features/group/select-member/SelectGroupMember.tsx +68 -0
- package/src/chat/features/group/select-member/components/Header/Header.tsx +78 -0
- package/src/chat/features/group/select-member/components/Header/index.ts +1 -0
- package/src/chat/features/group/select-member/components/Header/styles.ts +25 -0
- package/src/chat/features/group/select-member/components/SelectedUsersBar/SelectedUsersBar.tsx +49 -0
- package/src/chat/features/group/select-member/components/SelectedUsersBar/index.ts +1 -0
- package/src/chat/features/group/select-member/components/SelectedUsersBar/styles.ts +29 -0
- package/src/chat/features/group/select-member/components/UserItem/UserItem.tsx +61 -0
- package/src/chat/features/group/select-member/components/UserItem/index.ts +1 -0
- package/src/chat/features/group/select-member/components/UserItem/styles.ts +42 -0
- package/src/chat/features/group/select-member/components/UserList/UserList.tsx +131 -0
- package/src/chat/features/group/select-member/components/UserList/index.ts +1 -0
- package/src/chat/features/group/select-member/components/UserList/styles.ts +24 -0
- package/src/chat/features/group/select-member/components/index.ts +4 -0
- package/src/chat/features/group/select-member/constants/index.ts +3 -0
- package/src/chat/features/group/select-member/hooks/index.ts +2 -0
- package/src/chat/features/group/select-member/hooks/useSelectGroupMember.ts +128 -0
- package/src/chat/features/group/select-member/index.ts +2 -0
- package/src/chat/features/group/select-member/styles.ts +20 -0
- package/src/chat/features/group/setting/GroupSetting.tsx +94 -0
- package/src/chat/features/group/setting/components/Header/Header.tsx +25 -0
- package/src/chat/features/group/setting/components/Header/index.ts +1 -0
- package/src/chat/features/group/setting/components/index.ts +1 -0
- package/src/chat/features/group/setting/hooks/index.ts +1 -0
- package/src/chat/features/group/setting/hooks/useGroupSetting.ts +324 -0
- package/src/chat/features/group/setting/index.ts +2 -0
- package/src/chat/features/group/setting/styles.ts +50 -0
- package/src/chat/features/home/ChatHome.tsx +84 -0
- package/src/chat/features/home/components/ChannelList/ChannelList.tsx +209 -0
- package/src/chat/features/home/components/ChannelList/index.ts +2 -0
- package/src/chat/features/home/components/ChannelList/styles.ts +102 -0
- package/src/chat/features/home/components/Header/Header.tsx +38 -0
- package/src/chat/features/home/components/Header/index.ts +1 -0
- package/src/chat/features/home/components/Header/styles.ts +50 -0
- package/src/chat/features/home/components/NotificationsDisabledBanner/NotificationsDisabledBanner.tsx +36 -0
- package/src/chat/features/home/components/NotificationsDisabledBanner/index.ts +1 -0
- package/src/chat/features/home/components/NotificationsDisabledBanner/styles.ts +35 -0
- package/src/chat/features/home/components/index.ts +3 -0
- package/src/chat/features/home/elements/ChatHomeMenu/ChatHomeMenu.tsx +88 -0
- package/src/chat/features/home/elements/ChatHomeMenu/index.ts +1 -0
- package/src/chat/features/home/elements/ChatHomeMenu/styles.ts +26 -0
- package/src/chat/features/home/elements/CreateChatMenu/CreateChatMenu.tsx +129 -0
- package/src/chat/features/home/elements/CreateChatMenu/index.ts +1 -0
- package/src/chat/features/home/elements/CreateChatMenu/styles.ts +26 -0
- package/src/chat/features/home/elements/SearchButton/SearchButton.tsx +57 -0
- package/src/chat/features/home/elements/SearchButton/index.ts +1 -0
- package/src/chat/features/home/elements/SearchButton/styles.ts +27 -0
- package/src/chat/features/home/hooks/index.ts +1 -0
- package/src/chat/features/home/hooks/usePushNotificationEnabled.ts +35 -0
- package/src/chat/features/home/index.ts +3 -0
- package/src/chat/features/home/styles.ts +25 -0
- package/src/chat/features/search/SearchChannel.tsx +68 -0
- package/src/chat/features/search/components/Header/Header.tsx +61 -0
- package/src/chat/features/search/components/Header/index.ts +1 -0
- package/src/chat/features/search/components/Header/styles.ts +33 -0
- package/src/chat/features/search/components/index.ts +5 -0
- package/src/chat/features/search/hooks/index.ts +1 -0
- package/src/chat/features/search/hooks/useSearchChannel.ts +50 -0
- package/src/chat/features/search/index.ts +1 -0
- package/src/chat/features/search/styles.ts +25 -0
- package/src/chat/features/shared/components/AddTile/AddTile.tsx +43 -0
- package/src/chat/features/shared/components/AddTile/index.ts +1 -0
- package/src/chat/features/shared/components/AddTile/styles.ts +28 -0
- package/src/chat/features/shared/components/ContentReportReason/ContentReportReason.tsx +384 -0
- package/src/chat/features/shared/components/ContentReportReason/index.ts +1 -0
- package/src/chat/features/shared/components/ContentReportReason/styles.ts +110 -0
- package/src/chat/features/shared/components/DateSeparator/DateSeparator.tsx +29 -0
- package/src/chat/features/shared/components/DateSeparator/index.ts +1 -0
- package/src/chat/features/shared/components/DateSeparator/styles.ts +46 -0
- package/src/chat/features/shared/components/DeletedMessagePill/DeletedMessagePill.tsx +39 -0
- package/src/chat/features/shared/components/DeletedMessagePill/index.ts +1 -0
- package/src/chat/features/shared/components/DeletedMessagePill/styles.ts +43 -0
- package/src/chat/features/shared/components/EmptyState/EmptyState.tsx +63 -0
- package/src/chat/features/shared/components/EmptyState/index.ts +1 -0
- package/src/chat/features/shared/components/EmptyState/styles.ts +30 -0
- package/src/chat/features/shared/components/FailedToShow/FailedToShow.tsx +53 -0
- package/src/chat/features/shared/components/FailedToShow/index.ts +1 -0
- package/src/chat/features/shared/components/FailedToShow/styles.ts +32 -0
- package/src/chat/features/shared/components/ImageViewer/ImageViewer.tsx +147 -0
- package/src/chat/features/shared/components/ImageViewer/index.ts +1 -0
- package/src/chat/features/shared/components/ImageViewer/styles.ts +70 -0
- package/src/chat/features/shared/components/MediaViewer/MediaViewer.tsx +166 -0
- package/src/chat/features/shared/components/MediaViewer/index.ts +1 -0
- package/src/chat/features/shared/components/MediaViewer/styles.ts +99 -0
- package/src/chat/features/shared/components/MessageFullTextScreen/MessageFullTextScreen.tsx +103 -0
- package/src/chat/features/shared/components/MessageFullTextScreen/index.ts +1 -0
- package/src/chat/features/shared/components/MessageFullTextScreen/styles.ts +59 -0
- package/src/chat/features/shared/components/MessageLinkPreview/MessageLinkPreview.tsx +142 -0
- package/src/chat/features/shared/components/MessageLinkPreview/index.ts +1 -0
- package/src/chat/features/shared/components/MessageLinkPreview/styles.ts +73 -0
- package/src/chat/features/shared/components/MessageLinkPreview/useLinkPreview.ts +95 -0
- package/src/chat/features/shared/components/MessageReactionBadge/MessageReactionBadge.tsx +72 -0
- package/src/chat/features/shared/components/MessageReactionBadge/index.tsx +1 -0
- package/src/chat/features/shared/components/MessageReactionBadge/styles.ts +66 -0
- package/src/chat/features/shared/components/MessageReactorListSheet/MessageReactorListSheet.tsx +390 -0
- package/src/chat/features/shared/components/MessageReactorListSheet/index.tsx +1 -0
- package/src/chat/features/shared/components/MessageReactorListSheet/styles.ts +174 -0
- package/src/chat/features/shared/components/MessageReplyBand/MessageReplyBand.tsx +150 -0
- package/src/chat/features/shared/components/MessageReplyBand/index.ts +1 -0
- package/src/chat/features/shared/components/MessageReplyBand/styles.ts +82 -0
- package/src/chat/features/shared/components/MessageReplyQuote/MessageReplyQuote.tsx +404 -0
- package/src/chat/features/shared/components/MessageReplyQuote/index.ts +1 -0
- package/src/chat/features/shared/components/MessageReplyQuote/styles.ts +152 -0
- package/src/chat/features/shared/components/MessageReplyQuote/utils.ts +105 -0
- package/src/chat/features/shared/components/MutedBanner/MutedBanner.tsx +42 -0
- package/src/chat/features/shared/components/MutedBanner/index.ts +1 -0
- package/src/chat/features/shared/components/MutedBanner/styles.ts +32 -0
- package/src/chat/features/shared/components/NewMessageNotification/NewMessageNotification.tsx +152 -0
- package/src/chat/features/shared/components/NewMessageNotification/index.ts +1 -0
- package/src/chat/features/shared/components/NewMessageNotification/styles.ts +89 -0
- package/src/chat/features/shared/components/ScrollToLatestButton/ScrollToLatestButton.tsx +34 -0
- package/src/chat/features/shared/components/ScrollToLatestButton/index.ts +1 -0
- package/src/chat/features/shared/components/ScrollToLatestButton/styles.ts +18 -0
- package/src/chat/features/shared/components/SelectedMember/SelectedMember.tsx +69 -0
- package/src/chat/features/shared/components/SelectedMember/index.ts +2 -0
- package/src/chat/features/shared/components/SelectedMember/styles.ts +46 -0
- package/src/chat/features/shared/components/VideoPlayer/VideoPlayer.tsx +231 -0
- package/src/chat/features/shared/components/VideoPlayer/components/VideoControls/VideoControls.tsx +122 -0
- package/src/chat/features/shared/components/VideoPlayer/components/VideoControls/index.ts +1 -0
- package/src/chat/features/shared/components/VideoPlayer/components/VideoControls/styles.ts +37 -0
- package/src/chat/features/shared/components/VideoPlayer/components/VideoScrubber/VideoScrubber.tsx +131 -0
- package/src/chat/features/shared/components/VideoPlayer/components/VideoScrubber/index.ts +1 -0
- package/src/chat/features/shared/components/VideoPlayer/components/VideoScrubber/styles.ts +62 -0
- package/src/chat/features/shared/components/VideoPlayer/components/index.ts +2 -0
- package/src/chat/features/shared/components/VideoPlayer/index.ts +1 -0
- package/src/chat/features/shared/components/VideoPlayer/styles.ts +35 -0
- package/src/chat/features/shared/components/YouTile/YouTile.tsx +60 -0
- package/src/chat/features/shared/components/YouTile/index.ts +1 -0
- package/src/chat/features/shared/components/YouTile/styles.ts +45 -0
- package/src/chat/features/shared/hooks/index.ts +21 -0
- package/src/chat/features/shared/hooks/useBubbleMenu.tsx +175 -0
- package/src/chat/features/shared/hooks/useChatMessage.ts +350 -0
- package/src/chat/features/shared/hooks/useFailedMessageSheet.tsx +173 -0
- package/src/chat/features/shared/hooks/useMarkAsRead.ts +55 -0
- package/src/chat/features/shared/hooks/useMediaViewer.ts +105 -0
- package/src/chat/features/shared/hooks/useMessageComposer.ts +735 -0
- package/src/chat/features/shared/hooks/useMessageReactions.ts +97 -0
- package/src/chat/features/shared/hooks/useReactorsCollection.ts +71 -0
- package/src/chat/features/shared/utils/reactionIcons.tsx +299 -0
- package/src/chat/hooks/collections/index.ts +8 -0
- package/src/chat/hooks/collections/useArchivedChannelsCollection.ts +72 -0
- package/src/chat/hooks/collections/useBlockedUserIds.ts +54 -0
- package/src/chat/hooks/collections/useChannelMembersCollection.ts +117 -0
- package/src/chat/hooks/collections/useChannelsByIdsCollection.ts +66 -0
- package/src/chat/hooks/collections/useChannelsCollection.ts +98 -0
- package/src/chat/hooks/collections/useMessageSearchCollection.ts +79 -0
- package/src/chat/hooks/collections/useMessagesCollection.ts +123 -0
- package/src/chat/hooks/collections/useSearchChannelsCollection.ts +97 -0
- package/src/chat/hooks/index.ts +13 -0
- package/src/chat/hooks/objects/index.ts +1 -0
- package/src/chat/hooks/objects/useMessageObject.ts +47 -0
- package/src/chat/hooks/queries/index.ts +4 -0
- package/src/chat/hooks/queries/useChannelArchiveQuery.ts +99 -0
- package/src/chat/hooks/queries/useDeleteMessageQuery.ts +71 -0
- package/src/chat/hooks/queries/useFlagMessageQuery.ts +169 -0
- package/src/chat/hooks/queries/useSaveMediaMessageQuery.ts +141 -0
- package/src/chat/hooks/useChannelMyMembership.ts +56 -0
- package/src/chat/hooks/useChatNavigation.ts +34 -0
- package/src/chat/hooks/useChatNotifications.ts +87 -0
- package/src/chat/hooks/useChatSurfaceHeight.styles.ts +14 -0
- package/src/chat/hooks/useChatSurfaceHeight.tsx +87 -0
- package/src/chat/hooks/useCreateMessage.ts +80 -0
- package/src/chat/hooks/useCurrentUserId.ts +10 -0
- package/src/chat/hooks/useDeleteMessage.ts +45 -0
- package/src/chat/hooks/useEditMessage.ts +47 -0
- package/src/chat/hooks/useFollowInfo.ts +60 -0
- package/src/chat/hooks/useMention.ts +172 -0
- package/src/chat/hooks/useNetworkOnline.ts +29 -0
- package/src/chat/hooks/useVideoFileUrl.ts +31 -0
- package/src/chat/pages/AmityAddGroupMemberPage/index.tsx +30 -0
- package/src/chat/pages/AmityArchivedChatPage/index.tsx +29 -0
- package/src/chat/pages/AmityArchivedChatPage/styles.ts +18 -0
- package/src/chat/pages/AmityBannedGroupMemberListPage/index.tsx +30 -0
- package/src/chat/pages/AmityChannelCreateConversationPage/index.tsx +24 -0
- package/src/chat/pages/AmityChannelCreateConversationPage/styles.ts +16 -0
- package/src/chat/pages/AmityChatHomePage/index.tsx +42 -0
- package/src/chat/pages/AmityChatHomePage/styles.ts +18 -0
- package/src/chat/pages/AmityChatPage/index.tsx +50 -0
- package/src/chat/pages/AmityChatPage/styles.ts +16 -0
- package/src/chat/pages/AmityCreateGroupChatPage/index.tsx +20 -0
- package/src/chat/pages/AmityEditGroupMemberPermissionsPage/index.tsx +22 -0
- package/src/chat/pages/AmityEditGroupNotificationPage/index.tsx +29 -0
- package/src/chat/pages/AmityEditGroupProfilePage/index.tsx +20 -0
- package/src/chat/pages/AmityGroupChatPage/index.tsx +38 -0
- package/src/chat/pages/AmityGroupMemberListPage/index.tsx +35 -0
- package/src/chat/pages/AmityGroupNotificationPreferencePage/index.tsx +28 -0
- package/src/chat/pages/AmityGroupSettingPage/index.tsx +20 -0
- package/src/chat/pages/AmitySearchChannelPage/index.tsx +22 -0
- package/src/chat/pages/AmitySelectGroupMemberPage/index.tsx +26 -0
- package/src/chat/utils/groupMessagesByDate.ts +67 -0
- package/src/chat/utils/highlightMatch.tsx +63 -0
- package/src/chat/utils/isBlockedConversation.ts +18 -0
- package/src/chat/utils/linkifyText.ts +58 -0
- package/src/chat/utils/previewLink.ts +37 -0
- package/src/chat/utils/timestamp.ts +54 -0
- package/src/core/assets/icons/emptyCommunity2.tsx +46 -0
- package/src/core/design/atoms/Avatar/Avatar.tsx +116 -0
- package/src/core/design/atoms/Avatar/index.ts +9 -0
- package/src/core/design/atoms/Avatar/styles.ts +109 -0
- package/src/core/design/atoms/Badge/Badge.tsx +101 -0
- package/src/core/design/atoms/Badge/index.ts +10 -0
- package/src/core/design/atoms/Badge/styles.ts +158 -0
- package/src/core/design/atoms/Button/Button.tsx +112 -0
- package/src/core/design/atoms/Button/Icon/Icon.tsx +87 -0
- package/src/core/design/atoms/Button/Icon/index.ts +7 -0
- package/src/core/design/atoms/Button/Icon/styles.ts +166 -0
- package/src/core/design/atoms/Button/index.ts +18 -0
- package/src/core/design/atoms/Button/styles.ts +330 -0
- package/src/core/design/atoms/Divider/Divider.tsx +37 -0
- package/src/core/design/atoms/Divider/index.ts +6 -0
- package/src/core/design/atoms/Divider/styles.ts +44 -0
- package/src/core/design/atoms/Input/Boxed/Boxed.tsx +97 -0
- package/src/core/design/atoms/Input/Boxed/index.ts +2 -0
- package/src/core/design/atoms/Input/Boxed/styles.ts +103 -0
- package/src/core/design/atoms/Input/Chip/Chip.tsx +105 -0
- package/src/core/design/atoms/Input/Chip/index.ts +2 -0
- package/src/core/design/atoms/Input/Chip/styles.ts +95 -0
- package/src/core/design/atoms/Input/Input.tsx +14 -0
- package/src/core/design/atoms/Input/Text/Text.tsx +129 -0
- package/src/core/design/atoms/Input/Text/index.ts +2 -0
- package/src/core/design/atoms/Input/Text/styles.ts +141 -0
- package/src/core/design/atoms/Input/User/User.tsx +53 -0
- package/src/core/design/atoms/Input/User/index.ts +2 -0
- package/src/core/design/atoms/Input/User/styles.ts +62 -0
- package/src/core/design/atoms/Input/index.ts +9 -0
- package/src/core/design/atoms/Loader/Loader.tsx +10 -0
- package/src/core/design/atoms/Loader/Spinner/Spinner.tsx +33 -0
- package/src/core/design/atoms/Loader/Spinner/index.ts +2 -0
- package/src/core/design/atoms/Loader/Spinner/styles.ts +24 -0
- package/src/core/design/atoms/Loader/Upload/Upload.tsx +119 -0
- package/src/core/design/atoms/Loader/Upload/index.ts +2 -0
- package/src/core/design/atoms/Loader/Upload/styles.ts +57 -0
- package/src/core/design/atoms/Loader/index.ts +5 -0
- package/src/core/design/atoms/Selection/Selection.tsx +96 -0
- package/src/core/design/atoms/Selection/index.ts +2 -0
- package/src/core/design/atoms/Selection/styles.ts +133 -0
- package/src/core/design/atoms/Tab/Tab.tsx +65 -0
- package/src/core/design/atoms/Tab/index.ts +2 -0
- package/src/core/design/atoms/Tab/styles.ts +109 -0
- package/src/core/design/components/BottomSheet/BottomSheet.tsx +630 -0
- package/src/core/design/components/BottomSheet/index.ts +2 -0
- package/src/core/design/components/BottomSheet/styles.ts +83 -0
- package/src/core/design/components/Menu/Menu.tsx +99 -0
- package/src/core/design/components/Menu/index.ts +2 -0
- package/src/core/design/components/Menu/styles.ts +99 -0
- package/src/core/design/components/MenuOptionButton/MenuOptionButton.tsx +36 -0
- package/src/core/design/components/MenuOptionButton/index.ts +2 -0
- package/src/core/design/components/MenuOptionButton/styles.ts +35 -0
- package/src/core/design/components/Popover/Popover.tsx +227 -0
- package/src/core/design/components/Popover/index.ts +2 -0
- package/src/core/design/components/Popover/styles.ts +52 -0
- package/src/core/design/components/Skeleton/Skeleton.tsx +72 -0
- package/src/core/design/components/Skeleton/index.ts +2 -0
- package/src/core/design/components/Skeleton/styles.ts +17 -0
- package/src/core/design/components/TextEditor/TextEditor.tsx +272 -0
- package/src/core/design/components/TextEditor/index.ts +4 -0
- package/src/core/design/components/TextEditor/styles.ts +65 -0
- package/src/core/design/components/TextEditor/utils.ts +145 -0
- package/src/core/design/components/Typography/Typography.tsx +38 -0
- package/src/core/design/components/Typography/index.ts +2 -0
- package/src/core/design/components/Typography/styles.ts +31 -0
- package/src/core/design/elements/BrandBadge/BrandBadge.tsx +26 -0
- package/src/core/design/elements/BrandBadge/index.ts +2 -0
- package/src/core/design/elements/ModeratorBadge/ModeratorBadge.tsx +21 -0
- package/src/core/design/elements/ModeratorBadge/index.ts +2 -0
- package/src/core/design/elements/PrivateBadge/PrivateBadge.tsx +25 -0
- package/src/core/design/elements/PrivateBadge/index.ts +2 -0
- package/src/core/design/icons/AmityIcon.tsx +28 -0
- package/src/core/design/icons/generated/iconRegistry.ts +697 -0
- package/src/core/design/icons/index.ts +9 -0
- package/src/core/design/molecules/SearchInput/SearchInput.tsx +58 -0
- package/src/core/design/molecules/SearchInput/index.ts +2 -0
- package/src/core/design/molecules/SearchInput/styles.ts +23 -0
- package/src/core/design/molecules/Tabs/Tabs.tsx +46 -0
- package/src/core/design/molecules/Tabs/index.ts +2 -0
- package/src/core/design/molecules/Tabs/styles.ts +25 -0
- package/src/core/design/theme/AmityForceMode.tsx +24 -0
- package/src/core/design/theme/AmityThemeProvider.tsx +85 -0
- package/src/core/design/theme/index.ts +18 -0
- package/src/core/design/theme/resolveTokens.ts +53 -0
- package/src/core/design/theme/useToken.ts +41 -0
- package/src/core/design/tokens/CHECKSUMS.json +9 -0
- package/src/core/design/tokens/amity-color-tokens.ts +733 -0
- package/src/core/design/tokens/amity-uikit-config.json +1381 -0
- package/src/core/design/tokens/amity-uikit-design-tokens.json +2953 -0
- package/src/core/design/tokens/config-resolver.d.ts +55 -0
- package/src/core/design/tokens/config-resolver.js +525 -0
- package/src/core/design/tokens/geometry.json +2673 -0
- package/src/core/design/tokens/spacing.ts +28 -0
- package/src/core/hooks/collections/index.ts +1 -0
- package/src/core/hooks/collections/useLiveCollection.ts +133 -0
- package/src/core/hooks/objects/index.ts +2 -0
- package/src/{social/hooks/objects/user/useUser.tsx → core/hooks/objects/useUser.ts} +5 -1
- package/src/core/hooks/useUpload.ts +13 -3
- package/src/core/index.tsx +1 -0
- package/src/core/localization/LocaleProvider.tsx +187 -0
- package/src/core/localization/defaultLocaleMap.ts +23 -0
- package/src/core/localization/defaults/en.json +1180 -0
- package/src/core/localization/defaults/en.ts +23 -0
- package/src/core/localization/defaults/th.json +1179 -0
- package/src/core/localization/defaults/th.ts +22 -0
- package/src/core/localization/index.ts +43 -0
- package/src/core/localization/resolveString.ts +180 -0
- package/src/core/localization/useString.ts +30 -0
- package/src/core/providers/AmityUIKitProvider.tsx +40 -29
- package/src/core/routes/AmityChatEntry.tsx +8 -0
- package/src/core/routes/AmityUIKitNavigator.tsx +86 -1
- package/src/core/routes/RouteParamList.tsx +34 -0
- package/src/core/stores/slices/bottomSheetSlice.ts +9 -3
- package/src/core/stores/slices/toastSlice.ts +6 -0
- package/src/core/types/behaviour.ts +18 -0
- package/src/core/utils/abbreviateCount.ts +13 -0
- package/src/core/utils/fileUpload.ts +1 -1
- package/src/index.tsx +2 -0
- package/src/social/components/Avatar/Avatar.tsx +1 -1
- package/src/social/components/BottomSheetComponent/BottomSheetComponent.tsx +31 -17
- package/src/social/components/LoadingVideo/index.tsx +2 -2
- package/src/social/components/PostContent/index.tsx +1 -1
- package/src/social/components/SelectedMediaComponent/SelectedMediaComponent.tsx +2 -2
- package/src/social/components/StoryKit/src/StoryListItem.tsx +4 -1
- package/src/social/components/Toast/index.tsx +59 -27
- package/src/social/components/Toast/styles.ts +22 -3
- package/src/social/constants/index.ts +1 -1
- package/src/social/features/livestream/Create/Create.tsx +1 -1
- package/src/social/features/poll/Composer/PollPostComposer.tsx +7 -2
- package/src/social/features/post/Composer/PostComposer.tsx +3 -4
- package/src/social/features/post/components/DetailedMediaAttachment/DetailedMediaAttachment.tsx +1 -1
- package/src/social/features/post/components/MediaAttachment/MediaAttachment.tsx +1 -1
- package/src/social/features/story/View/components/AmityViewStoryItem.tsx +4 -1
- package/src/social/hooks/collections/useLiveCollection.ts +4 -133
- package/src/social/hooks/objects/index.ts +3 -2
- package/src/social/hooks/objects/user/useFollowInfo.ts +1 -1
- package/src/social/providers/BehaviourProvider.tsx +2 -0
- package/lib/commonjs/social/components/BottomSheetComponent/styles.js +0 -29
- package/lib/commonjs/social/components/BottomSheetComponent/styles.js.map +0 -1
- package/lib/commonjs/social/hooks/objects/useLiveObject.js.map +0 -1
- package/lib/commonjs/social/hooks/objects/user/useUser.js.map +0 -1
- package/lib/module/social/components/BottomSheetComponent/styles.js +0 -22
- package/lib/module/social/components/BottomSheetComponent/styles.js.map +0 -1
- package/lib/module/social/hooks/objects/useLiveObject.js.map +0 -1
- package/lib/module/social/hooks/objects/user/useUser.js.map +0 -1
- package/lib/typescript/social/components/BottomSheetComponent/styles.d.ts +0 -13
- package/lib/typescript/social/components/BottomSheetComponent/styles.d.ts.map +0 -1
- package/lib/typescript/social/hooks/objects/useLiveObject.d.ts.map +0 -1
- package/lib/typescript/social/hooks/objects/user/useUser.d.ts.map +0 -1
- package/src/social/components/BottomSheetComponent/styles.ts +0 -21
- /package/lib/commonjs/{social → core}/hooks/objects/useLiveObject.js +0 -0
- /package/lib/module/{social → core}/hooks/objects/useLiveObject.js +0 -0
- /package/lib/typescript/{social → core}/hooks/objects/useLiveObject.d.ts +0 -0
- /package/lib/typescript/{social/hooks/objects/user → core/hooks/objects}/useUser.d.ts +0 -0
- /package/src/{social → core}/hooks/objects/useLiveObject.ts +0 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useChatMessage = useChatMessage;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _tsSdkReactNative = require("@amityco/ts-sdk-react-native");
|
|
9
|
+
var _useMessagesCollection = require("../../../hooks/collections/useMessagesCollection");
|
|
10
|
+
var _hooks = require("../../../hooks");
|
|
11
|
+
var _localization = require("../../../../core/localization");
|
|
12
|
+
var _groupMessagesByDate = require("../../../utils/groupMessagesByDate");
|
|
13
|
+
var _useMarkAsRead = require("./useMarkAsRead");
|
|
14
|
+
var _useMessageComposer = require("./useMessageComposer");
|
|
15
|
+
var _useBubbleMenu = require("./useBubbleMenu");
|
|
16
|
+
var _useFailedMessageSheet = require("./useFailedMessageSheet");
|
|
17
|
+
var _useMediaViewer = require("./useMediaViewer");
|
|
18
|
+
// useChatMessage — ported from AmityUiKitWeb v4/chat/features/shared/hooks/useChatMessage.
|
|
19
|
+
// The conversation orchestration hook: owns the message list (grouped into date-
|
|
20
|
+
// separated items + optimistic synthetic messages), the composer, the bubble action
|
|
21
|
+
// menu, the media viewers, the failed-message sheet, see-more state, scroll state
|
|
22
|
+
// (atBottom / newMessage), edit state, and mark-as-read. Chat.tsx wires the returned
|
|
23
|
+
// values into the components with these exact props.
|
|
24
|
+
//
|
|
25
|
+
// RN adaptations vs web: web react-query useMessageCollection → RN useMessagesCollection
|
|
26
|
+
// (direct live collection); jump-to-message (aroundMessageId/hasPrev/loadPrev) is out of
|
|
27
|
+
// scope for M2 and stubbed; loading/error toasts go through the useChatNotifications stub.
|
|
28
|
+
|
|
29
|
+
function useChatMessage({
|
|
30
|
+
channelId,
|
|
31
|
+
isJustCreated,
|
|
32
|
+
enableMention = false,
|
|
33
|
+
viewerIsMutedInChannel = false,
|
|
34
|
+
jumpToMessageId
|
|
35
|
+
}) {
|
|
36
|
+
const {
|
|
37
|
+
pop
|
|
38
|
+
} = (0, _hooks.useChatNavigation)();
|
|
39
|
+
const {
|
|
40
|
+
online: isOnline
|
|
41
|
+
} = (0, _hooks.useNetworkOnline)();
|
|
42
|
+
const {
|
|
43
|
+
error: errorToast,
|
|
44
|
+
loading: showLoadingToast,
|
|
45
|
+
remove: removeToast
|
|
46
|
+
} = (0, _hooks.useChatNotifications)();
|
|
47
|
+
const currentUserId = (0, _hooks.useCurrentUserId)();
|
|
48
|
+
const loadErrorToast = (0, _localization.useString)('amity_chat_load_error');
|
|
49
|
+
const loadingLabel = (0, _localization.useString)('amity_chat_loading_label');
|
|
50
|
+
const prevLatestIdRef = (0, _react.useRef)(null);
|
|
51
|
+
// Guards show-once/remove-once for the loading toast (mirrors web's
|
|
52
|
+
// `loadingToastIdRef`); RN's toast is a singleton with no ids.
|
|
53
|
+
const loadingToastShownRef = (0, _react.useRef)(false);
|
|
54
|
+
const [atBottom, setAtBottom] = (0, _react.useState)(true);
|
|
55
|
+
const [seeMore, setSeeMore] = (0, _react.useState)(null);
|
|
56
|
+
const [newMessage, setNewMessage] = (0, _react.useState)(null);
|
|
57
|
+
const [editingMessage, setEditingMessage] = (0, _react.useState)(null);
|
|
58
|
+
const [pendingJumpToMessageId, setPendingJumpToMessageId] = (0, _react.useState)(jumpToMessageId ?? null);
|
|
59
|
+
// True between asking for a newer page and that page landing.
|
|
60
|
+
const pagingPrevRef = (0, _react.useRef)(false);
|
|
61
|
+
|
|
62
|
+
// Cleared only when the message turns out to be unreachable, so the
|
|
63
|
+
// collection falls back to the newest page instead of staying empty.
|
|
64
|
+
const clearJumpToMessageId = (0, _react.useCallback)(() => setPendingJumpToMessageId(null), []);
|
|
65
|
+
const {
|
|
66
|
+
messages,
|
|
67
|
+
loading,
|
|
68
|
+
hasNextPage,
|
|
69
|
+
loadMore,
|
|
70
|
+
hasPrevPage,
|
|
71
|
+
loadPrev,
|
|
72
|
+
error: loadError
|
|
73
|
+
} = (0, _useMessagesCollection.useMessagesCollection)({
|
|
74
|
+
subChannelId: channelId ?? '',
|
|
75
|
+
limit: 20,
|
|
76
|
+
includeDeleted: true,
|
|
77
|
+
// Held in state rather than read straight from the prop, so the anchored
|
|
78
|
+
// collection survives until the page is left.
|
|
79
|
+
aroundMessageId: pendingJumpToMessageId ?? undefined
|
|
80
|
+
}, !!channelId);
|
|
81
|
+
const isLoadingFirstPage = !!channelId && loading && messages.length === 0;
|
|
82
|
+
const closeEditMessage = (0, _react.useCallback)(() => setEditingMessage(null), []);
|
|
83
|
+
const composer = (0, _useMessageComposer.useMessageComposer)({
|
|
84
|
+
subChannelId: channelId ?? '',
|
|
85
|
+
enableMention,
|
|
86
|
+
editingMessage,
|
|
87
|
+
onEditCompleted: closeEditMessage
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
// Newest-first date-separated items (inverted list), with optimistic synthetic
|
|
91
|
+
// pending messages prepended (they sit at the bottom of the inverted view).
|
|
92
|
+
const items = (0, _react.useMemo)(() => {
|
|
93
|
+
// The live collection can momentarily hold the same messageId twice (pagination
|
|
94
|
+
// merges, optimistic→real overlap). Dedupe so the list never renders two items
|
|
95
|
+
// with the same key.
|
|
96
|
+
const seen = new Set();
|
|
97
|
+
const deduped = messages.filter(m => {
|
|
98
|
+
if (!m.messageId || seen.has(m.messageId)) return false;
|
|
99
|
+
seen.add(m.messageId);
|
|
100
|
+
return true;
|
|
101
|
+
});
|
|
102
|
+
const chronological = deduped.sort((a, b) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime());
|
|
103
|
+
const base = (0, _groupMessagesByDate.groupMessagesByDate)(chronological).reverse();
|
|
104
|
+
if (composer.syntheticMessages.length === 0) return base;
|
|
105
|
+
const synthetic = composer.syntheticMessages.slice().reverse().map(m => ({
|
|
106
|
+
kind: 'message',
|
|
107
|
+
id: `synthetic-${m.__syntheticClientId}`,
|
|
108
|
+
message: m
|
|
109
|
+
}));
|
|
110
|
+
return [...synthetic, ...base];
|
|
111
|
+
}, [messages, composer.syntheticMessages]);
|
|
112
|
+
|
|
113
|
+
// The newest message BY createdAt — NOT messages[length-1]. The SDK collection
|
|
114
|
+
// is newest-first and paginating older pages appends to the end, so [length-1]
|
|
115
|
+
// is the oldest loaded message and changes on scroll-up; using it made the
|
|
116
|
+
// new-message banner fire on plain scroll (QA #0/#11). Max-by-createdAt is
|
|
117
|
+
// order-independent, so it only changes when a genuinely newer message arrives.
|
|
118
|
+
const latestMessage = (0, _react.useMemo)(() => {
|
|
119
|
+
if (messages.length === 0) return null;
|
|
120
|
+
return messages.reduce((a, b) => new Date(b.createdAt).getTime() > new Date(a.createdAt).getTime() ? b : a);
|
|
121
|
+
}, [messages]);
|
|
122
|
+
const {
|
|
123
|
+
bubbleMenu,
|
|
124
|
+
openBubbleMenu,
|
|
125
|
+
closeBubbleMenu,
|
|
126
|
+
handleBubbleDelete,
|
|
127
|
+
handleBubbleEdit,
|
|
128
|
+
handleBubbleReply,
|
|
129
|
+
handleBubbleCopy,
|
|
130
|
+
handleBubbleSave,
|
|
131
|
+
handleBubbleReport,
|
|
132
|
+
handleOpenReactorListSheet,
|
|
133
|
+
reportMessage,
|
|
134
|
+
closeReport
|
|
135
|
+
} = (0, _useBubbleMenu.useBubbleMenu)({
|
|
136
|
+
onEditMessage: setEditingMessage,
|
|
137
|
+
onReplyMessage: composer.startReply,
|
|
138
|
+
viewerIsMutedInChannel
|
|
139
|
+
});
|
|
140
|
+
const {
|
|
141
|
+
openFailedSheet
|
|
142
|
+
} = (0, _useFailedMessageSheet.useFailedMessageSheet)({
|
|
143
|
+
onRetryUpload: composer.handleRetryUpload,
|
|
144
|
+
onDiscardUpload: composer.handleDiscardUpload
|
|
145
|
+
});
|
|
146
|
+
const {
|
|
147
|
+
openImageViewer,
|
|
148
|
+
openVideoPlayer,
|
|
149
|
+
imageViewerProps,
|
|
150
|
+
videoPlayerProps
|
|
151
|
+
} = (0, _useMediaViewer.useMediaViewer)();
|
|
152
|
+
(0, _useMarkAsRead.useMarkAsRead)({
|
|
153
|
+
latestMessage,
|
|
154
|
+
atBottom,
|
|
155
|
+
enabled: !!channelId && !!latestMessage
|
|
156
|
+
});
|
|
157
|
+
(0, _react.useEffect)(() => {
|
|
158
|
+
if (loadError) errorToast({
|
|
159
|
+
content: loadErrorToast
|
|
160
|
+
});
|
|
161
|
+
}, [loadError, errorToast, loadErrorToast]);
|
|
162
|
+
|
|
163
|
+
// Cross-device real-time messages. The `getMessages` live collection only
|
|
164
|
+
// reflects the LOCAL SDK cache (own sends, edits) — other users' messages do
|
|
165
|
+
// not arrive live unless we subscribe to the subchannel topic while the thread
|
|
166
|
+
// is open (SDK realtime docs: "Subscribe when the thread screen becomes active").
|
|
167
|
+
// Web's ts-sdk auto-subscribes inside getMessages; the RN ts-sdk-react-native
|
|
168
|
+
// does NOT (verified on-device: only the read-marker topic subscribes otherwise),
|
|
169
|
+
// so we subscribe explicitly here and unsubscribe on unmount / channel change.
|
|
170
|
+
(0, _react.useEffect)(() => {
|
|
171
|
+
if (!channelId) return undefined;
|
|
172
|
+
let unsubscribeTopic;
|
|
173
|
+
const unsubscribeObject = _tsSdkReactNative.SubChannelRepository.getSubChannel(channelId, ({
|
|
174
|
+
data: subChannel,
|
|
175
|
+
loading: subLoading
|
|
176
|
+
}) => {
|
|
177
|
+
if (subLoading || !subChannel || unsubscribeTopic) return;
|
|
178
|
+
unsubscribeTopic = (0, _tsSdkReactNative.subscribeTopic)((0, _tsSdkReactNative.getSubChannelTopic)(subChannel));
|
|
179
|
+
});
|
|
180
|
+
return () => {
|
|
181
|
+
var _unsubscribeTopic;
|
|
182
|
+
(_unsubscribeTopic = unsubscribeTopic) === null || _unsubscribeTopic === void 0 || _unsubscribeTopic();
|
|
183
|
+
unsubscribeObject();
|
|
184
|
+
};
|
|
185
|
+
}, [channelId]);
|
|
186
|
+
|
|
187
|
+
// Web useChatMessage shows a loading toast ("Loading chat...") while the first
|
|
188
|
+
// page loads and removes it once loaded (duration 60s = upper bound). RN's toast
|
|
189
|
+
// is a singleton (no ids), so the ref guards show-once/remove-once — correct
|
|
190
|
+
// regardless of the fresh notification-fn identities returned each render, which
|
|
191
|
+
// is why `showLoadingToast`/`removeToast` are intentionally out of the deps.
|
|
192
|
+
(0, _react.useEffect)(() => {
|
|
193
|
+
if (isLoadingFirstPage) {
|
|
194
|
+
if (loadingToastShownRef.current) return;
|
|
195
|
+
loadingToastShownRef.current = true;
|
|
196
|
+
// Web shows this above the composer (useChatMessage: alignment 'with-composer').
|
|
197
|
+
showLoadingToast({
|
|
198
|
+
content: loadingLabel,
|
|
199
|
+
duration: 60_000,
|
|
200
|
+
alignment: 'with-composer'
|
|
201
|
+
});
|
|
202
|
+
} else if (loadingToastShownRef.current) {
|
|
203
|
+
loadingToastShownRef.current = false;
|
|
204
|
+
removeToast();
|
|
205
|
+
}
|
|
206
|
+
}, [isLoadingFirstPage, channelId]);
|
|
207
|
+
|
|
208
|
+
// Clear a lingering loading toast if the screen unmounts mid-load (singleton toast).
|
|
209
|
+
(0, _react.useEffect)(() => {
|
|
210
|
+
return () => {
|
|
211
|
+
if (loadingToastShownRef.current) {
|
|
212
|
+
loadingToastShownRef.current = false;
|
|
213
|
+
removeToast();
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
}, []);
|
|
217
|
+
|
|
218
|
+
// Surface a "new message" pill when a message arrives while scrolled up.
|
|
219
|
+
(0, _react.useEffect)(() => {
|
|
220
|
+
const currentId = (latestMessage === null || latestMessage === void 0 ? void 0 : latestMessage.messageId) ?? null;
|
|
221
|
+
const prevId = prevLatestIdRef.current;
|
|
222
|
+
prevLatestIdRef.current = currentId;
|
|
223
|
+
if (!currentId || !prevId || currentId === prevId) return;
|
|
224
|
+
if (atBottom) return;
|
|
225
|
+
// An incomplete message is not worth announcing.
|
|
226
|
+
if ((latestMessage === null || latestMessage === void 0 ? void 0 : latestMessage.creatorId) === undefined) return;
|
|
227
|
+
// Paging NEWER messages in (only possible on a collection anchored by a
|
|
228
|
+
// jump) moves `latestMessage` without anything having arrived, and the
|
|
229
|
+
// viewer is never atBottom while reading history — which is exactly the
|
|
230
|
+
// shape this effect looks for. Skip the one change that the page caused.
|
|
231
|
+
if (pagingPrevRef.current) {
|
|
232
|
+
pagingPrevRef.current = false;
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
setNewMessage(latestMessage);
|
|
236
|
+
}, [latestMessage === null || latestMessage === void 0 ? void 0 : latestMessage.messageId, atBottom, latestMessage]);
|
|
237
|
+
(0, _react.useEffect)(() => {
|
|
238
|
+
if (atBottom) setNewMessage(null);
|
|
239
|
+
}, [atBottom]);
|
|
240
|
+
const loadPrevTrackingBanner = (0, _react.useCallback)(() => {
|
|
241
|
+
pagingPrevRef.current = true;
|
|
242
|
+
loadPrev();
|
|
243
|
+
}, [loadPrev]);
|
|
244
|
+
const clearNewMessage = (0, _react.useCallback)(() => setNewMessage(null), []);
|
|
245
|
+
const openSeeMore = (0, _react.useCallback)((text, title) => setSeeMore({
|
|
246
|
+
text,
|
|
247
|
+
title
|
|
248
|
+
}), []);
|
|
249
|
+
const closeSeeMore = (0, _react.useCallback)(() => setSeeMore(null), []);
|
|
250
|
+
return {
|
|
251
|
+
currentUserId,
|
|
252
|
+
items,
|
|
253
|
+
jumpToMessageId: pendingJumpToMessageId ?? undefined,
|
|
254
|
+
clearJumpToMessageId,
|
|
255
|
+
isLoadingFirstPage,
|
|
256
|
+
isLoading: loading,
|
|
257
|
+
hasMore: hasNextPage,
|
|
258
|
+
loadMore,
|
|
259
|
+
// Non-empty only while the collection is anchored on a jump target: the
|
|
260
|
+
// messages newer than it sit after the anchored page.
|
|
261
|
+
hasPrev: hasPrevPage,
|
|
262
|
+
loadPrev: loadPrevTrackingBanner,
|
|
263
|
+
latestMessage,
|
|
264
|
+
isOnline,
|
|
265
|
+
atBottom,
|
|
266
|
+
setAtBottom,
|
|
267
|
+
seeMore,
|
|
268
|
+
openSeeMore,
|
|
269
|
+
closeSeeMore,
|
|
270
|
+
newMessage,
|
|
271
|
+
clearNewMessage,
|
|
272
|
+
viewerIsMutedInChannel,
|
|
273
|
+
handleBack: pop,
|
|
274
|
+
composer,
|
|
275
|
+
bubbleMenu,
|
|
276
|
+
openBubbleMenu,
|
|
277
|
+
closeBubbleMenu,
|
|
278
|
+
handleBubbleDelete,
|
|
279
|
+
handleBubbleEdit,
|
|
280
|
+
handleBubbleReply,
|
|
281
|
+
handleBubbleCopy,
|
|
282
|
+
handleBubbleSave,
|
|
283
|
+
handleBubbleReport,
|
|
284
|
+
handleOpenReactorListSheet,
|
|
285
|
+
reportMessage,
|
|
286
|
+
closeReport,
|
|
287
|
+
editingMessage,
|
|
288
|
+
closeEditMessage,
|
|
289
|
+
openFailedSheet,
|
|
290
|
+
openImageViewer,
|
|
291
|
+
openVideoPlayer,
|
|
292
|
+
imageViewerProps,
|
|
293
|
+
videoPlayerProps,
|
|
294
|
+
isJustCreated,
|
|
295
|
+
isSyntheticPendingMessage: _useMessageComposer.isSyntheticPendingMessage
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
//# sourceMappingURL=useChatMessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_tsSdkReactNative","_useMessagesCollection","_hooks","_localization","_groupMessagesByDate","_useMarkAsRead","_useMessageComposer","_useBubbleMenu","_useFailedMessageSheet","_useMediaViewer","useChatMessage","channelId","isJustCreated","enableMention","viewerIsMutedInChannel","jumpToMessageId","pop","useChatNavigation","online","isOnline","useNetworkOnline","error","errorToast","loading","showLoadingToast","remove","removeToast","useChatNotifications","currentUserId","useCurrentUserId","loadErrorToast","useString","loadingLabel","prevLatestIdRef","useRef","loadingToastShownRef","atBottom","setAtBottom","useState","seeMore","setSeeMore","newMessage","setNewMessage","editingMessage","setEditingMessage","pendingJumpToMessageId","setPendingJumpToMessageId","pagingPrevRef","clearJumpToMessageId","useCallback","messages","hasNextPage","loadMore","hasPrevPage","loadPrev","loadError","useMessagesCollection","subChannelId","limit","includeDeleted","aroundMessageId","undefined","isLoadingFirstPage","length","closeEditMessage","composer","useMessageComposer","onEditCompleted","items","useMemo","seen","Set","deduped","filter","m","messageId","has","add","chronological","sort","a","b","Date","createdAt","getTime","base","groupMessagesByDate","reverse","syntheticMessages","synthetic","slice","map","kind","id","__syntheticClientId","message","latestMessage","reduce","bubbleMenu","openBubbleMenu","closeBubbleMenu","handleBubbleDelete","handleBubbleEdit","handleBubbleReply","handleBubbleCopy","handleBubbleSave","handleBubbleReport","handleOpenReactorListSheet","reportMessage","closeReport","useBubbleMenu","onEditMessage","onReplyMessage","startReply","openFailedSheet","useFailedMessageSheet","onRetryUpload","handleRetryUpload","onDiscardUpload","handleDiscardUpload","openImageViewer","openVideoPlayer","imageViewerProps","videoPlayerProps","useMediaViewer","useMarkAsRead","enabled","useEffect","content","unsubscribeTopic","unsubscribeObject","SubChannelRepository","getSubChannel","data","subChannel","subLoading","subscribeTopic","getSubChannelTopic","_unsubscribeTopic","current","duration","alignment","currentId","prevId","creatorId","loadPrevTrackingBanner","clearNewMessage","openSeeMore","text","title","closeSeeMore","isLoading","hasMore","hasPrev","handleBack","isSyntheticPendingMessage"],"sourceRoot":"../../../../../../src","sources":["chat/features/shared/hooks/useChatMessage.ts"],"mappings":";;;;;;AAWA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAMA,IAAAE,sBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAMA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,oBAAA,GAAAL,OAAA;AAIA,IAAAM,cAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAIA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,sBAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AArCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA2CO,SAASW,cAAcA,CAAC;EAC7BC,SAAS;EACTC,aAAa;EACbC,aAAa,GAAG,KAAK;EACrBC,sBAAsB,GAAG,KAAK;EAC9BC;AACoB,CAAC,EAAE;EACvB,MAAM;IAAEC;EAAI,CAAC,GAAG,IAAAC,wBAAiB,EAAC,CAAC;EACnC,MAAM;IAAEC,MAAM,EAAEC;EAAS,CAAC,GAAG,IAAAC,uBAAgB,EAAC,CAAC;EAC/C,MAAM;IACJC,KAAK,EAAEC,UAAU;IACjBC,OAAO,EAAEC,gBAAgB;IACzBC,MAAM,EAAEC;EACV,CAAC,GAAG,IAAAC,2BAAoB,EAAC,CAAC;EAC1B,MAAMC,aAAa,GAAG,IAAAC,uBAAgB,EAAC,CAAC;EACxC,MAAMC,cAAc,GAAG,IAAAC,uBAAS,EAAC,uBAAuB,CAAC;EACzD,MAAMC,YAAY,GAAG,IAAAD,uBAAS,EAAC,0BAA0B,CAAC;EAC1D,MAAME,eAAe,GAAG,IAAAC,aAAM,EAAgB,IAAI,CAAC;EACnD;EACA;EACA,MAAMC,oBAAoB,GAAG,IAAAD,aAAM,EAAC,KAAK,CAAC;EAC1C,MAAM,CAACE,QAAQ,EAAEC,WAAW,CAAC,GAAG,IAAAC,eAAQ,EAAC,IAAI,CAAC;EAC9C,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAG,IAAAF,eAAQ,EAG5B,IAAI,CAAC;EACf,MAAM,CAACG,UAAU,EAAEC,aAAa,CAAC,GAAG,IAAAJ,eAAQ,EAAuB,IAAI,CAAC;EACxE,MAAM,CAACK,cAAc,EAAEC,iBAAiB,CAAC,GAAG,IAAAN,eAAQ,EAClD,IACF,CAAC;EACD,MAAM,CAACO,sBAAsB,EAAEC,yBAAyB,CAAC,GAAG,IAAAR,eAAQ,EAElEvB,eAAe,IAAI,IAAI,CAAC;EAC1B;EACA,MAAMgC,aAAa,GAAG,IAAAb,aAAM,EAAC,KAAK,CAAC;;EAEnC;EACA;EACA,MAAMc,oBAAoB,GAAG,IAAAC,kBAAW,EACtC,MAAMH,yBAAyB,CAAC,IAAI,CAAC,EACrC,EACF,CAAC;EAED,MAAM;IACJI,QAAQ;IACR3B,OAAO;IACP4B,WAAW;IACXC,QAAQ;IACRC,WAAW;IACXC,QAAQ;IACRjC,KAAK,EAAEkC;EACT,CAAC,GAAG,IAAAC,4CAAqB,EACvB;IACEC,YAAY,EAAE9C,SAAS,IAAI,EAAE;IAC7B+C,KAAK,EAAE,EAAE;IACTC,cAAc,EAAE,IAAI;IACpB;IACA;IACAC,eAAe,EAAEf,sBAAsB,IAAIgB;EAC7C,CAAC,EACD,CAAC,CAAClD,SACJ,CAAC;EAED,MAAMmD,kBAAkB,GAAG,CAAC,CAACnD,SAAS,IAAIY,OAAO,IAAI2B,QAAQ,CAACa,MAAM,KAAK,CAAC;EAE1E,MAAMC,gBAAgB,GAAG,IAAAf,kBAAW,EAAC,MAAML,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;EAEvE,MAAMqB,QAAQ,GAAG,IAAAC,sCAAkB,EAAC;IAClCT,YAAY,EAAE9C,SAAS,IAAI,EAAE;IAC7BE,aAAa;IACb8B,cAAc;IACdwB,eAAe,EAAEH;EACnB,CAAC,CAAC;;EAEF;EACA;EACA,MAAMI,KAAiB,GAAG,IAAAC,cAAO,EAAC,MAAM;IACtC;IACA;IACA;IACA,MAAMC,IAAI,GAAG,IAAIC,GAAG,CAAS,CAAC;IAC9B,MAAMC,OAAO,GAAGtB,QAAQ,CAACuB,MAAM,CAAEC,CAAC,IAAK;MACrC,IAAI,CAACA,CAAC,CAACC,SAAS,IAAIL,IAAI,CAACM,GAAG,CAACF,CAAC,CAACC,SAAS,CAAC,EAAE,OAAO,KAAK;MACvDL,IAAI,CAACO,GAAG,CAACH,CAAC,CAACC,SAAS,CAAC;MACrB,OAAO,IAAI;IACb,CAAC,CAAC;IACF,MAAMG,aAAa,GAAGN,OAAO,CAACO,IAAI,CAChC,CAACC,CAAC,EAAEC,CAAC,KACH,IAAIC,IAAI,CAACF,CAAC,CAACG,SAAmB,CAAC,CAACC,OAAO,CAAC,CAAC,GACzC,IAAIF,IAAI,CAACD,CAAC,CAACE,SAAmB,CAAC,CAACC,OAAO,CAAC,CAC5C,CAAC;IACD,MAAMC,IAAI,GAAG,IAAAC,wCAAmB,EAACR,aAAa,CAAC,CAACS,OAAO,CAAC,CAAC;IACzD,IAAItB,QAAQ,CAACuB,iBAAiB,CAACzB,MAAM,KAAK,CAAC,EAAE,OAAOsB,IAAI;IACxD,MAAMI,SAAqB,GAAGxB,QAAQ,CAACuB,iBAAiB,CACrDE,KAAK,CAAC,CAAC,CACPH,OAAO,CAAC,CAAC,CACTI,GAAG,CAAEjB,CAAC,KAAM;MACXkB,IAAI,EAAE,SAAkB;MACxBC,EAAE,EAAE,aAAanB,CAAC,CAACoB,mBAAmB,EAAE;MACxCC,OAAO,EAAErB;IACX,CAAC,CAAC,CAAC;IACL,OAAO,CAAC,GAAGe,SAAS,EAAE,GAAGJ,IAAI,CAAC;EAChC,CAAC,EAAE,CAACnC,QAAQ,EAAEe,QAAQ,CAACuB,iBAAiB,CAAC,CAAC;;EAE1C;EACA;EACA;EACA;EACA;EACA,MAAMQ,aAAa,GAAG,IAAA3B,cAAO,EAAC,MAAM;IAClC,IAAInB,QAAQ,CAACa,MAAM,KAAK,CAAC,EAAE,OAAO,IAAI;IACtC,OAAOb,QAAQ,CAAC+C,MAAM,CAAC,CAACjB,CAAC,EAAEC,CAAC,KAC1B,IAAIC,IAAI,CAACD,CAAC,CAACE,SAAmB,CAAC,CAACC,OAAO,CAAC,CAAC,GACzC,IAAIF,IAAI,CAACF,CAAC,CAACG,SAAmB,CAAC,CAACC,OAAO,CAAC,CAAC,GACrCH,CAAC,GACDD,CACN,CAAC;EACH,CAAC,EAAE,CAAC9B,QAAQ,CAAC,CAAC;EAEd,MAAM;IACJgD,UAAU;IACVC,cAAc;IACdC,eAAe;IACfC,kBAAkB;IAClBC,gBAAgB;IAChBC,iBAAiB;IACjBC,gBAAgB;IAChBC,gBAAgB;IAChBC,kBAAkB;IAClBC,0BAA0B;IAC1BC,aAAa;IACbC;EACF,CAAC,GAAG,IAAAC,4BAAa,EAAC;IAChBC,aAAa,EAAEnE,iBAAiB;IAChCoE,cAAc,EAAE/C,QAAQ,CAACgD,UAAU;IACnCnG;EACF,CAAC,CAAC;EAEF,MAAM;IAAEoG;EAAgB,CAAC,GAAG,IAAAC,4CAAqB,EAAC;IAChDC,aAAa,EAAEnD,QAAQ,CAACoD,iBAAiB;IACzCC,eAAe,EAAErD,QAAQ,CAACsD;EAC5B,CAAC,CAAC;EAEF,MAAM;IACJC,eAAe;IACfC,eAAe;IACfC,gBAAgB;IAChBC;EACF,CAAC,GAAG,IAAAC,8BAAc,EAAC,CAAC;EAEpB,IAAAC,4BAAa,EAAC;IACZ7B,aAAa;IACb5D,QAAQ;IACR0F,OAAO,EAAE,CAAC,CAACnH,SAAS,IAAI,CAAC,CAACqF;EAC5B,CAAC,CAAC;EAEF,IAAA+B,gBAAS,EAAC,MAAM;IACd,IAAIxE,SAAS,EAAEjC,UAAU,CAAC;MAAE0G,OAAO,EAAElG;IAAe,CAAC,CAAC;EACxD,CAAC,EAAE,CAACyB,SAAS,EAAEjC,UAAU,EAAEQ,cAAc,CAAC,CAAC;;EAE3C;EACA;EACA;EACA;EACA;EACA;EACA;EACA,IAAAiG,gBAAS,EAAC,MAAM;IACd,IAAI,CAACpH,SAAS,EAAE,OAAOkD,SAAS;IAChC,IAAIoE,gBAA0C;IAC9C,MAAMC,iBAAiB,GAAGC,sCAAoB,CAACC,aAAa,CAC1DzH,SAAS,EACT,CAAC;MAAE0H,IAAI,EAAEC,UAAU;MAAE/G,OAAO,EAAEgH;IAAW,CAAC,KAAK;MAC7C,IAAIA,UAAU,IAAI,CAACD,UAAU,IAAIL,gBAAgB,EAAE;MACnDA,gBAAgB,GAAG,IAAAO,gCAAc,EAAC,IAAAC,oCAAkB,EAACH,UAAU,CAAC,CAAC;IACnE,CACF,CAAC;IACD,OAAO,MAAM;MAAA,IAAAI,iBAAA;MACX,CAAAA,iBAAA,GAAAT,gBAAgB,cAAAS,iBAAA,eAAhBA,iBAAA,CAAmB,CAAC;MACpBR,iBAAiB,CAAC,CAAC;IACrB,CAAC;EACH,CAAC,EAAE,CAACvH,SAAS,CAAC,CAAC;;EAEf;EACA;EACA;EACA;EACA;EACA,IAAAoH,gBAAS,EAAC,MAAM;IACd,IAAIjE,kBAAkB,EAAE;MACtB,IAAI3B,oBAAoB,CAACwG,OAAO,EAAE;MAClCxG,oBAAoB,CAACwG,OAAO,GAAG,IAAI;MACnC;MACAnH,gBAAgB,CAAC;QACfwG,OAAO,EAAEhG,YAAY;QACrB4G,QAAQ,EAAE,MAAM;QAChBC,SAAS,EAAE;MACb,CAAC,CAAC;IACJ,CAAC,MAAM,IAAI1G,oBAAoB,CAACwG,OAAO,EAAE;MACvCxG,oBAAoB,CAACwG,OAAO,GAAG,KAAK;MACpCjH,WAAW,CAAC,CAAC;IACf;EACF,CAAC,EAAE,CAACoC,kBAAkB,EAAEnD,SAAS,CAAC,CAAC;;EAEnC;EACA,IAAAoH,gBAAS,EAAC,MAAM;IACd,OAAO,MAAM;MACX,IAAI5F,oBAAoB,CAACwG,OAAO,EAAE;QAChCxG,oBAAoB,CAACwG,OAAO,GAAG,KAAK;QACpCjH,WAAW,CAAC,CAAC;MACf;IACF,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA,IAAAqG,gBAAS,EAAC,MAAM;IACd,MAAMe,SAAS,GAAG,CAAA9C,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAErB,SAAS,KAAI,IAAI;IAClD,MAAMoE,MAAM,GAAG9G,eAAe,CAAC0G,OAAO;IACtC1G,eAAe,CAAC0G,OAAO,GAAGG,SAAS;IACnC,IAAI,CAACA,SAAS,IAAI,CAACC,MAAM,IAAID,SAAS,KAAKC,MAAM,EAAE;IACnD,IAAI3G,QAAQ,EAAE;IACd;IACA,IAAI,CAAA4D,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEgD,SAAS,MAAKnF,SAAS,EAAE;IAC5C;IACA;IACA;IACA;IACA,IAAId,aAAa,CAAC4F,OAAO,EAAE;MACzB5F,aAAa,CAAC4F,OAAO,GAAG,KAAK;MAC7B;IACF;IACAjG,aAAa,CAACsD,aAAa,CAAC;EAC9B,CAAC,EAAE,CAACA,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAErB,SAAS,EAAEvC,QAAQ,EAAE4D,aAAa,CAAC,CAAC;EAEvD,IAAA+B,gBAAS,EAAC,MAAM;IACd,IAAI3F,QAAQ,EAAEM,aAAa,CAAC,IAAI,CAAC;EACnC,CAAC,EAAE,CAACN,QAAQ,CAAC,CAAC;EAEd,MAAM6G,sBAAsB,GAAG,IAAAhG,kBAAW,EAAC,MAAM;IAC/CF,aAAa,CAAC4F,OAAO,GAAG,IAAI;IAC5BrF,QAAQ,CAAC,CAAC;EACZ,CAAC,EAAE,CAACA,QAAQ,CAAC,CAAC;EAEd,MAAM4F,eAAe,GAAG,IAAAjG,kBAAW,EAAC,MAAMP,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;EAClE,MAAMyG,WAAW,GAAG,IAAAlG,kBAAW,EAC7B,CAACmG,IAAY,EAAEC,KAAc,KAAK7G,UAAU,CAAC;IAAE4G,IAAI;IAAEC;EAAM,CAAC,CAAC,EAC7D,EACF,CAAC;EACD,MAAMC,YAAY,GAAG,IAAArG,kBAAW,EAAC,MAAMT,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;EAE5D,OAAO;IACLZ,aAAa;IACbwC,KAAK;IACLrD,eAAe,EAAE8B,sBAAsB,IAAIgB,SAAS;IACpDb,oBAAoB;IACpBc,kBAAkB;IAClByF,SAAS,EAAEhI,OAAO;IAClBiI,OAAO,EAAErG,WAAW;IACpBC,QAAQ;IACR;IACA;IACAqG,OAAO,EAAEpG,WAAW;IACpBC,QAAQ,EAAE2F,sBAAsB;IAChCjD,aAAa;IACb7E,QAAQ;IACRiB,QAAQ;IACRC,WAAW;IACXE,OAAO;IACP4G,WAAW;IACXG,YAAY;IACZ7G,UAAU;IACVyG,eAAe;IACfpI,sBAAsB;IACtB4I,UAAU,EAAE1I,GAAG;IACfiD,QAAQ;IACRiC,UAAU;IACVC,cAAc;IACdC,eAAe;IACfC,kBAAkB;IAClBC,gBAAgB;IAChBC,iBAAiB;IACjBC,gBAAgB;IAChBC,gBAAgB;IAChBC,kBAAkB;IAClBC,0BAA0B;IAC1BC,aAAa;IACbC,WAAW;IACXlE,cAAc;IACdqB,gBAAgB;IAChBkD,eAAe;IACfM,eAAe;IACfC,eAAe;IACfC,gBAAgB;IAChBC,gBAAgB;IAChB/G,aAAa;IACb+I,yBAAyB,EAAzBA;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useFailedMessageSheet = useFailedMessageSheet;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _Menu = require("../../../../core/design/components/Menu");
|
|
9
|
+
var _localization = require("../../../../core/localization");
|
|
10
|
+
var _bottomSheetSlice = require("../../../../core/stores/slices/bottomSheetSlice");
|
|
11
|
+
var _useChatNotifications = require("../../../hooks/useChatNotifications");
|
|
12
|
+
var _useDeleteMessage = require("../../../hooks/useDeleteMessage");
|
|
13
|
+
var _useCreateMessage = require("../../../hooks/useCreateMessage");
|
|
14
|
+
var _useMessageComposer = require("./useMessageComposer");
|
|
15
|
+
// useFailedMessageSheet — ported from AmityUiKitWeb v4/chat/features/shared/hooks/useFailedMessageSheet.
|
|
16
|
+
// Presents the "message failed to send" action sheet (Resend / Delete / Cancel) and
|
|
17
|
+
// wires the retry/discard callbacks. The return shape (UseFailedMessageSheetReturn)
|
|
18
|
+
// is preserved verbatim from web so useChatMessage consumes it unchanged.
|
|
19
|
+
//
|
|
20
|
+
// RN adaptation from web:
|
|
21
|
+
// - Web opened a bottom Drawer holding a `Menu` (Resend / Delete). RN presents
|
|
22
|
+
// the same Menu in the repo's global @devvie bottom sheet (`useBottomSheet` →
|
|
23
|
+
// BottomSheetComponent) with `container="drawer"` — the identical pattern the
|
|
24
|
+
// conversation user-action menu uses. NOT an Alert dialog.
|
|
25
|
+
// - Non-synthetic delete/resend use the existing RN `useDeleteMessage` /
|
|
26
|
+
// `useCreateMessage` mutations instead of web's query hooks. Resend
|
|
27
|
+
// re-sends under the failed message's own SDK identity (see handleResend)
|
|
28
|
+
// rather than web's useResendMessageQuery recreate-then-delete-the-original.
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Fields the SDK's optimistic message carries that the public `Amity.Message`
|
|
32
|
+
* type does not declare: a media send passes `fileId` at the TOP LEVEL of the
|
|
33
|
+
* createMessage bundle (not inside `data`), and `createMessageOptimistic`
|
|
34
|
+
* spreads that bundle straight into the cached message.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
function useFailedMessageSheet({
|
|
38
|
+
onRetryUpload,
|
|
39
|
+
onDiscardUpload
|
|
40
|
+
}) {
|
|
41
|
+
const {
|
|
42
|
+
openBottomSheet,
|
|
43
|
+
closeBottomSheet,
|
|
44
|
+
bottomSheetHeight
|
|
45
|
+
} = (0, _bottomSheetSlice.useBottomSheet)();
|
|
46
|
+
const {
|
|
47
|
+
error: errorToast
|
|
48
|
+
} = (0, _useChatNotifications.useChatNotifications)();
|
|
49
|
+
const {
|
|
50
|
+
deleteMessage
|
|
51
|
+
} = (0, _useDeleteMessage.useDeleteMessage)();
|
|
52
|
+
// useCreateMessage maps the SDK error to localized copy, but only through its
|
|
53
|
+
// onError callback. Nothing passed one, so a resend that failed again was
|
|
54
|
+
// completely silent — and mutateAsync's rejection went unhandled on top.
|
|
55
|
+
const {
|
|
56
|
+
createMessage
|
|
57
|
+
} = (0, _useCreateMessage.useCreateMessage)({
|
|
58
|
+
onError: errorMsg => errorToast({
|
|
59
|
+
content: errorMsg
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
const resendLabel = (0, _localization.useString)('amity_chat_message_resend');
|
|
63
|
+
const deleteLabel = (0, _localization.useString)('amity_chat_option_delete');
|
|
64
|
+
const cancelLabel = (0, _localization.useString)('amity_chat_cancel');
|
|
65
|
+
async function handleResend(message) {
|
|
66
|
+
// Synthetic bubbles are media-only: a pending upload has no SDK
|
|
67
|
+
// row until its file lands, so the composer owns its retry. Text never gets
|
|
68
|
+
// here — the SDK's own optimistic row is the failed bubble, handled below.
|
|
69
|
+
if ((0, _useMessageComposer.isSyntheticPendingMessage)(message)) {
|
|
70
|
+
onRetryUpload(message.__syntheticClientId);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
// Resend THIS message — do not create a second one.
|
|
74
|
+
//
|
|
75
|
+
// A non-synthetic failed bubble is the SDK's own optimistic message: the
|
|
76
|
+
// create never reached the server, so it still carries the client-generated
|
|
77
|
+
// `LOCAL_…` messageId that `createMessageOptimistic` gave it, and it sits in
|
|
78
|
+
// both the message cache and the getMessages collection under
|
|
79
|
+
// `referenceId ?? messageId` (the SDK's `idResolvers.message`).
|
|
80
|
+
//
|
|
81
|
+
// `createMessage` reuses `bundle.referenceId` as the optimistic message's
|
|
82
|
+
// own messageId, so handing the failed message's id back as `referenceId`
|
|
83
|
+
// makes the SDK overwrite that exact entry instead of allocating a new one:
|
|
84
|
+
// the existing row goes error → syncing → synced in place, and the server
|
|
85
|
+
// sees the same referenceId (its idempotency key), so a create that did
|
|
86
|
+
// land server-side is reconciled rather than duplicated.
|
|
87
|
+
//
|
|
88
|
+
// Web (and RN until now) instead created the message under a fresh id and
|
|
89
|
+
// then deleted the original, which is what QA reported: a brand-new bubble
|
|
90
|
+
// appended to the thread, with both bubbles on screen until the delete of
|
|
91
|
+
// the original landed.
|
|
92
|
+
const referenceId = message.referenceId ?? message.messageId;
|
|
93
|
+
if (!referenceId) return;
|
|
94
|
+
|
|
95
|
+
// Carried over so a resend doesn't silently drop the reply target,
|
|
96
|
+
// mentions, tags or already-uploaded file of the message being resent.
|
|
97
|
+
const {
|
|
98
|
+
fileId
|
|
99
|
+
} = message;
|
|
100
|
+
try {
|
|
101
|
+
await createMessage({
|
|
102
|
+
subChannelId: message.subChannelId,
|
|
103
|
+
dataType: message.dataType,
|
|
104
|
+
data: message.data,
|
|
105
|
+
referenceId,
|
|
106
|
+
...(message.parentId ? {
|
|
107
|
+
parentId: message.parentId
|
|
108
|
+
} : {}),
|
|
109
|
+
...(message.metadata ? {
|
|
110
|
+
metadata: message.metadata
|
|
111
|
+
} : {}),
|
|
112
|
+
...(message.mentionees ? {
|
|
113
|
+
mentionees: message.mentionees
|
|
114
|
+
} : {}),
|
|
115
|
+
...(message.tags ? {
|
|
116
|
+
tags: message.tags
|
|
117
|
+
} : {}),
|
|
118
|
+
...(fileId ? {
|
|
119
|
+
fileId
|
|
120
|
+
} : {})
|
|
121
|
+
});
|
|
122
|
+
} catch {
|
|
123
|
+
// useCreateMessage's onError already raised the toast, and the SDK has put
|
|
124
|
+
// this same row back to syncState 'error', so the failed bubble stays
|
|
125
|
+
// exactly where it was. Swallow the rejection so it isn't unhandled.
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function handleDelete(message) {
|
|
129
|
+
if ((0, _useMessageComposer.isSyntheticPendingMessage)(message)) {
|
|
130
|
+
onDiscardUpload(message.__syntheticClientId);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
if (message.messageId) {
|
|
134
|
+
deleteMessage(message.messageId);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
function openFailedSheet(message) {
|
|
138
|
+
openBottomSheet({
|
|
139
|
+
// Three rows now (Resend / Delete / Cancel), so the sheet takes the 3-row height.
|
|
140
|
+
height: bottomSheetHeight[3],
|
|
141
|
+
content: /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
142
|
+
style: styles.sheetContainer
|
|
143
|
+
}, /*#__PURE__*/React.createElement(_Menu.Menu, {
|
|
144
|
+
variant: "chat",
|
|
145
|
+
container: "drawer"
|
|
146
|
+
}, /*#__PURE__*/React.createElement(_Menu.Menu.Item, {
|
|
147
|
+
label: resendLabel,
|
|
148
|
+
onPress: () => {
|
|
149
|
+
closeBottomSheet();
|
|
150
|
+
handleResend(message);
|
|
151
|
+
}
|
|
152
|
+
}), /*#__PURE__*/React.createElement(_Menu.Menu.Item, {
|
|
153
|
+
label: deleteLabel,
|
|
154
|
+
destructive: true,
|
|
155
|
+
onPress: () => {
|
|
156
|
+
closeBottomSheet();
|
|
157
|
+
handleDelete(message);
|
|
158
|
+
}
|
|
159
|
+
}), /*#__PURE__*/React.createElement(_Menu.Menu.Item, {
|
|
160
|
+
label: cancelLabel,
|
|
161
|
+
onPress: closeBottomSheet
|
|
162
|
+
})))
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
return {
|
|
166
|
+
openFailedSheet
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
const styles = _reactNative.StyleSheet.create({
|
|
170
|
+
// Web's drawer container supplies the horizontal padding (its menuItem in a
|
|
171
|
+
// drawer is `0.875rem 0`, i.e. no side padding). Match the RN chat-sheet
|
|
172
|
+
// convention (AmityConversationChatUserActionComponent) so the Resend/Delete
|
|
173
|
+
// rows aren't flush to the screen edges.
|
|
174
|
+
sheetContainer: {
|
|
175
|
+
paddingHorizontal: 16,
|
|
176
|
+
paddingBottom: 16
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
//# sourceMappingURL=useFailedMessageSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_Menu","_localization","_bottomSheetSlice","_useChatNotifications","_useDeleteMessage","_useCreateMessage","_useMessageComposer","useFailedMessageSheet","onRetryUpload","onDiscardUpload","openBottomSheet","closeBottomSheet","bottomSheetHeight","useBottomSheet","error","errorToast","useChatNotifications","deleteMessage","useDeleteMessage","createMessage","useCreateMessage","onError","errorMsg","content","resendLabel","useString","deleteLabel","cancelLabel","handleResend","message","isSyntheticPendingMessage","__syntheticClientId","referenceId","messageId","fileId","subChannelId","dataType","data","parentId","metadata","mentionees","tags","handleDelete","openFailedSheet","height","React","createElement","View","style","styles","sheetContainer","Menu","variant","container","Item","label","onPress","destructive","StyleSheet","create","paddingHorizontal","paddingBottom"],"sourceRoot":"../../../../../../src","sources":["chat/features/shared/hooks/useFailedMessageSheet.tsx"],"mappings":";;;;;;AAeA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,iBAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAqBA;AACA;AACA;AACA;AACA;AACA;;AAKO,SAASQ,qBAAqBA,CAAC;EACpCC,aAAa;EACbC;AAC2B,CAAC,EAA+B;EAC3D,MAAM;IAAEC,eAAe;IAAEC,gBAAgB;IAAEC;EAAkB,CAAC,GAC5D,IAAAC,gCAAc,EAAC,CAAC;EAClB,MAAM;IAAEC,KAAK,EAAEC;EAAW,CAAC,GAAG,IAAAC,0CAAoB,EAAC,CAAC;EACpD,MAAM;IAAEC;EAAc,CAAC,GAAG,IAAAC,kCAAgB,EAAC,CAAC;EAC5C;EACA;EACA;EACA,MAAM;IAAEC;EAAc,CAAC,GAAG,IAAAC,kCAAgB,EAAC;IACzCC,OAAO,EAAGC,QAAQ,IAAKP,UAAU,CAAC;MAAEQ,OAAO,EAAED;IAAS,CAAC;EACzD,CAAC,CAAC;EACF,MAAME,WAAW,GAAG,IAAAC,uBAAS,EAAC,2BAA2B,CAAC;EAC1D,MAAMC,WAAW,GAAG,IAAAD,uBAAS,EAAC,0BAA0B,CAAC;EACzD,MAAME,WAAW,GAAG,IAAAF,uBAAS,EAAC,mBAAmB,CAAC;EAElD,eAAeG,YAAYA,CAACC,OAAsB,EAAE;IAClD;IACA;IACA;IACA,IAAI,IAAAC,6CAAyB,EAACD,OAAO,CAAC,EAAE;MACtCrB,aAAa,CAACqB,OAAO,CAACE,mBAAmB,CAAC;MAC1C;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,MAAMC,WAAW,GAAGH,OAAO,CAACG,WAAW,IAAIH,OAAO,CAACI,SAAS;IAC5D,IAAI,CAACD,WAAW,EAAE;;IAElB;IACA;IACA,MAAM;MAAEE;IAAO,CAAC,GAAGL,OAAkD;IAErE,IAAI;MACF,MAAMV,aAAa,CAAC;QAClBgB,YAAY,EAAEN,OAAO,CAACM,YAAY;QAClCC,QAAQ,EAAEP,OAAO,CAACO,QAAQ;QAC1BC,IAAI,EAAER,OAAO,CAACQ,IAAI;QAClBL,WAAW;QACX,IAAIH,OAAO,CAACS,QAAQ,GAAG;UAAEA,QAAQ,EAAET,OAAO,CAACS;QAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3D,IAAIT,OAAO,CAACU,QAAQ,GAAG;UAAEA,QAAQ,EAAEV,OAAO,CAACU;QAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3D,IAAIV,OAAO,CAACW,UAAU,GAAG;UAAEA,UAAU,EAAEX,OAAO,CAACW;QAAW,CAAC,GAAG,CAAC,CAAC,CAAC;QACjE,IAAIX,OAAO,CAACY,IAAI,GAAG;UAAEA,IAAI,EAAEZ,OAAO,CAACY;QAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC/C,IAAIP,MAAM,GAAG;UAAEA;QAAO,CAAC,GAAG,CAAC,CAAC;MAC9B,CAAwC,CAAC;IAC3C,CAAC,CAAC,MAAM;MACN;MACA;MACA;IAAA;EAEJ;EAEA,SAASQ,YAAYA,CAACb,OAAsB,EAAE;IAC5C,IAAI,IAAAC,6CAAyB,EAACD,OAAO,CAAC,EAAE;MACtCpB,eAAe,CAACoB,OAAO,CAACE,mBAAmB,CAAC;MAC5C;IACF;IACA,IAAIF,OAAO,CAACI,SAAS,EAAE;MACrBhB,aAAa,CAACY,OAAO,CAACI,SAAS,CAAC;IAClC;EACF;EAEA,SAASU,eAAeA,CAACd,OAAsB,EAAE;IAC/CnB,eAAe,CAAC;MACd;MACAkC,MAAM,EAAEhC,iBAAiB,CAAC,CAAC,CAAmC;MAC9DW,OAAO,eACLsB,KAAA,CAAAC,aAAA,CAAChD,YAAA,CAAAiD,IAAI;QAACC,KAAK,EAAEC,MAAM,CAACC;MAAe,gBACjCL,KAAA,CAAAC,aAAA,CAAC9C,KAAA,CAAAmD,IAAI;QAACC,OAAO,EAAC,MAAM;QAACC,SAAS,EAAC;MAAQ,gBAGrCR,KAAA,CAAAC,aAAA,CAAC9C,KAAA,CAAAmD,IAAI,CAACG,IAAI;QACRC,KAAK,EAAE/B,WAAY;QACnBgC,OAAO,EAAEA,CAAA,KAAM;UACb7C,gBAAgB,CAAC,CAAC;UAClBiB,YAAY,CAACC,OAAO,CAAC;QACvB;MAAE,CACH,CAAC,eACFgB,KAAA,CAAAC,aAAA,CAAC9C,KAAA,CAAAmD,IAAI,CAACG,IAAI;QACRC,KAAK,EAAE7B,WAAY;QACnB+B,WAAW;QACXD,OAAO,EAAEA,CAAA,KAAM;UACb7C,gBAAgB,CAAC,CAAC;UAClB+B,YAAY,CAACb,OAAO,CAAC;QACvB;MAAE,CACH,CAAC,eAKFgB,KAAA,CAAAC,aAAA,CAAC9C,KAAA,CAAAmD,IAAI,CAACG,IAAI;QAACC,KAAK,EAAE5B,WAAY;QAAC6B,OAAO,EAAE7C;MAAiB,CAAE,CACvD,CACF;IAEV,CAAC,CAAC;EACJ;EAEA,OAAO;IAAEgC;EAAgB,CAAC;AAC5B;AAEA,MAAMM,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/B;EACA;EACA;EACA;EACAT,cAAc,EAAE;IACdU,iBAAiB,EAAE,EAAE;IACrBC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useMarkAsRead = useMarkAsRead;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _useAuth = _interopRequireDefault(require("../../../../core/hooks/useAuth"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
// useMarkAsRead — ported from AmityUiKitWeb v4/chat/features/shared/hooks/useMarkAsRead.
|
|
11
|
+
// Marks the latest visible message as read once the viewer is at the bottom of
|
|
12
|
+
// the list, debounced so rapid scroll/append churn only fires one markRead.
|
|
13
|
+
//
|
|
14
|
+
// RN adaptations from web:
|
|
15
|
+
// - Web debounced via `react-use`'s `useDebounce` (not a dependency here); we
|
|
16
|
+
// reproduce it with a `useEffect` + `setTimeout` keyed on the same deps, and
|
|
17
|
+
// define MARK_READ_DEBOUNCE_MS locally (web imported it from ~/v4/chat/constants).
|
|
18
|
+
// - SDK method is identical: `Amity.Message#markRead()` (an instance method on
|
|
19
|
+
// the message object, same as web). The task's SubChannelRepository /
|
|
20
|
+
// MessageRepository hint resolves to this per-message call.
|
|
21
|
+
// - Added `isConnected` gate (via useAuth) as mandated — web does not gate on
|
|
22
|
+
// connection state; this is an intentional RN deviation matching the repo's
|
|
23
|
+
// live-SDK-call convention (see hooks/collections/useChannelsCollection).
|
|
24
|
+
|
|
25
|
+
const MARK_READ_DEBOUNCE_MS = 500;
|
|
26
|
+
function useMarkAsRead({
|
|
27
|
+
latestMessage,
|
|
28
|
+
atBottom,
|
|
29
|
+
enabled
|
|
30
|
+
}) {
|
|
31
|
+
const {
|
|
32
|
+
isConnected
|
|
33
|
+
} = (0, _useAuth.default)();
|
|
34
|
+
const lastMarkedIdRef = (0, _react.useRef)(null);
|
|
35
|
+
(0, _react.useEffect)(() => {
|
|
36
|
+
const timer = setTimeout(() => {
|
|
37
|
+
if (!isConnected || !enabled || !atBottom || !latestMessage) return;
|
|
38
|
+
const id = latestMessage.messageId;
|
|
39
|
+
if (!id || lastMarkedIdRef.current === id) return;
|
|
40
|
+
try {
|
|
41
|
+
latestMessage.markRead();
|
|
42
|
+
lastMarkedIdRef.current = id;
|
|
43
|
+
} catch {
|
|
44
|
+
// markRead failures are non-fatal; SDK will retry on the next visibility tick
|
|
45
|
+
}
|
|
46
|
+
}, MARK_READ_DEBOUNCE_MS);
|
|
47
|
+
return () => clearTimeout(timer);
|
|
48
|
+
}, [latestMessage === null || latestMessage === void 0 ? void 0 : latestMessage.messageId, atBottom, enabled, isConnected]);
|
|
49
|
+
(0, _react.useEffect)(() => {
|
|
50
|
+
lastMarkedIdRef.current = null;
|
|
51
|
+
}, [latestMessage === null || latestMessage === void 0 ? void 0 : latestMessage.subChannelId]);
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=useMarkAsRead.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_useAuth","_interopRequireDefault","e","__esModule","default","MARK_READ_DEBOUNCE_MS","useMarkAsRead","latestMessage","atBottom","enabled","isConnected","useAuth","lastMarkedIdRef","useRef","useEffect","timer","setTimeout","id","messageId","current","markRead","clearTimeout","subChannelId"],"sourceRoot":"../../../../../../src","sources":["chat/features/shared/hooks/useMarkAsRead.ts"],"mappings":";;;;;;AAeA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAqD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAjBrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,MAAMG,qBAAqB,GAAG,GAAG;AAQ1B,SAASC,aAAaA,CAAC;EAC5BC,aAAa;EACbC,QAAQ;EACRC;AACmB,CAAC,EAAE;EACtB,MAAM;IAAEC;EAAY,CAAC,GAAG,IAAAC,gBAAO,EAAC,CAAC;EACjC,MAAMC,eAAe,GAAG,IAAAC,aAAM,EAAgB,IAAI,CAAC;EAEnD,IAAAC,gBAAS,EAAC,MAAM;IACd,MAAMC,KAAK,GAAGC,UAAU,CAAC,MAAM;MAC7B,IAAI,CAACN,WAAW,IAAI,CAACD,OAAO,IAAI,CAACD,QAAQ,IAAI,CAACD,aAAa,EAAE;MAC7D,MAAMU,EAAE,GAAGV,aAAa,CAACW,SAAS;MAClC,IAAI,CAACD,EAAE,IAAIL,eAAe,CAACO,OAAO,KAAKF,EAAE,EAAE;MAC3C,IAAI;QACFV,aAAa,CAACa,QAAQ,CAAC,CAAC;QACxBR,eAAe,CAACO,OAAO,GAAGF,EAAE;MAC9B,CAAC,CAAC,MAAM;QACN;MAAA;IAEJ,CAAC,EAAEZ,qBAAqB,CAAC;IAEzB,OAAO,MAAMgB,YAAY,CAACN,KAAK,CAAC;EAClC,CAAC,EAAE,CAACR,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEW,SAAS,EAAEV,QAAQ,EAAEC,OAAO,EAAEC,WAAW,CAAC,CAAC;EAE9D,IAAAI,gBAAS,EAAC,MAAM;IACdF,eAAe,CAACO,OAAO,GAAG,IAAI;EAChC,CAAC,EAAE,CAACZ,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEe,YAAY,CAAC,CAAC;AACnC","ignoreList":[]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useMediaViewer = useMediaViewer;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _useCurrentUserId = require("../../../hooks/useCurrentUserId");
|
|
9
|
+
var _queries = require("../../../hooks/queries");
|
|
10
|
+
// useMediaViewer — ported from AmityUiKitWeb v4/chat/features/shared/hooks/useMediaViewer.
|
|
11
|
+
// Holds the open/closed state for the full-screen image viewer and video player,
|
|
12
|
+
// and derives the render-prop objects the ported ImageViewer / VideoPlayer
|
|
13
|
+
// components consume (src/chat/features/shared/components/{ImageViewer,VideoPlayer}).
|
|
14
|
+
//
|
|
15
|
+
// RN adaptations from web:
|
|
16
|
+
// - `currentUserId` comes from `Client.getCurrentUser()` (via useCurrentUserId)
|
|
17
|
+
// instead of web's `useSDK().currentUserId`.
|
|
18
|
+
// - Delete goes through the RN `useDeleteMessageQuery` port, which confirms via
|
|
19
|
+
// the platform `Alert` before deleting (web used ConfirmProvider's modal).
|
|
20
|
+
// `afterDelete` closes the viewer, exactly as web does.
|
|
21
|
+
// - Save goes through `useSaveMediaMessageQuery` (RN port), which downloads the
|
|
22
|
+
// file and writes it to the device gallery via CameraRoll (web downloaded via
|
|
23
|
+
// the browser). Same URL-resolution + success/error toasts.
|
|
24
|
+
// The return shape (UseMediaViewerReturn, ImageViewerRenderProps, VideoPlayerRenderProps)
|
|
25
|
+
// is preserved verbatim from web so useChatMessage can consume it unchanged.
|
|
26
|
+
|
|
27
|
+
function useMediaViewer() {
|
|
28
|
+
const currentUserId = (0, _useCurrentUserId.useCurrentUserId)();
|
|
29
|
+
const {
|
|
30
|
+
requestSave
|
|
31
|
+
} = (0, _queries.useSaveMediaMessageQuery)();
|
|
32
|
+
const {
|
|
33
|
+
requestDelete
|
|
34
|
+
} = (0, _queries.useDeleteMessageQuery)();
|
|
35
|
+
const [imageView, setImageView] = (0, _react.useState)(null);
|
|
36
|
+
const [videoMessage, setVideoMessage] = (0, _react.useState)(null);
|
|
37
|
+
function closeImageViewer() {
|
|
38
|
+
setImageView(null);
|
|
39
|
+
}
|
|
40
|
+
function closeVideoPlayer() {
|
|
41
|
+
setVideoMessage(null);
|
|
42
|
+
}
|
|
43
|
+
function openImageViewer(url, message) {
|
|
44
|
+
setImageView({
|
|
45
|
+
url,
|
|
46
|
+
message
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function openVideoPlayer(message) {
|
|
50
|
+
setVideoMessage(message);
|
|
51
|
+
}
|
|
52
|
+
const imageViewerProps = imageView ? {
|
|
53
|
+
src: imageView.url,
|
|
54
|
+
onClose: closeImageViewer,
|
|
55
|
+
isOwn: imageView.message.creatorId === currentUserId,
|
|
56
|
+
onDelete: () => requestDelete(imageView.message, {
|
|
57
|
+
afterDelete: closeImageViewer
|
|
58
|
+
}),
|
|
59
|
+
onSave: () => requestSave(imageView.message)
|
|
60
|
+
} : null;
|
|
61
|
+
const videoPlayerProps = videoMessage ? {
|
|
62
|
+
message: videoMessage,
|
|
63
|
+
onClose: closeVideoPlayer,
|
|
64
|
+
isOwn: videoMessage.creatorId === currentUserId,
|
|
65
|
+
onDelete: () => requestDelete(videoMessage, {
|
|
66
|
+
afterDelete: closeVideoPlayer
|
|
67
|
+
}),
|
|
68
|
+
onSave: () => requestSave(videoMessage)
|
|
69
|
+
} : null;
|
|
70
|
+
return {
|
|
71
|
+
openImageViewer,
|
|
72
|
+
openVideoPlayer,
|
|
73
|
+
imageViewerProps,
|
|
74
|
+
videoPlayerProps
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=useMediaViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_useCurrentUserId","_queries","useMediaViewer","currentUserId","useCurrentUserId","requestSave","useSaveMediaMessageQuery","requestDelete","useDeleteMessageQuery","imageView","setImageView","useState","videoMessage","setVideoMessage","closeImageViewer","closeVideoPlayer","openImageViewer","url","message","openVideoPlayer","imageViewerProps","src","onClose","isOwn","creatorId","onDelete","afterDelete","onSave","videoPlayerProps"],"sourceRoot":"../../../../../../src","sources":["chat/features/shared/hooks/useMediaViewer.ts"],"mappings":";;;;;;AAiBA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AApBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAsCO,SAASG,cAAcA,CAAA,EAAyB;EACrD,MAAMC,aAAa,GAAG,IAAAC,kCAAgB,EAAC,CAAC;EACxC,MAAM;IAAEC;EAAY,CAAC,GAAG,IAAAC,iCAAwB,EAAC,CAAC;EAClD,MAAM;IAAEC;EAAc,CAAC,GAAG,IAAAC,8BAAqB,EAAC,CAAC;EACjD,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAG,IAAAC,eAAQ,EAAmB,IAAI,CAAC;EAClE,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAG,IAAAF,eAAQ,EAAuB,IAAI,CAAC;EAE5E,SAASG,gBAAgBA,CAAA,EAAG;IAC1BJ,YAAY,CAAC,IAAI,CAAC;EACpB;EAEA,SAASK,gBAAgBA,CAAA,EAAG;IAC1BF,eAAe,CAAC,IAAI,CAAC;EACvB;EAEA,SAASG,eAAeA,CAACC,GAAW,EAAEC,OAAsB,EAAE;IAC5DR,YAAY,CAAC;MAAEO,GAAG;MAAEC;IAAQ,CAAC,CAAC;EAChC;EAEA,SAASC,eAAeA,CAACD,OAAsB,EAAE;IAC/CL,eAAe,CAACK,OAAO,CAAC;EAC1B;EAEA,MAAME,gBAA+C,GAAGX,SAAS,GAC7D;IACEY,GAAG,EAAEZ,SAAS,CAACQ,GAAG;IAClBK,OAAO,EAAER,gBAAgB;IACzBS,KAAK,EAAEd,SAAS,CAACS,OAAO,CAACM,SAAS,KAAKrB,aAAa;IACpDsB,QAAQ,EAAEA,CAAA,KACRlB,aAAa,CAACE,SAAS,CAACS,OAAO,EAAE;MAAEQ,WAAW,EAAEZ;IAAiB,CAAC,CAAC;IACrEa,MAAM,EAAEA,CAAA,KAAMtB,WAAW,CAACI,SAAS,CAACS,OAAO;EAC7C,CAAC,GACD,IAAI;EAER,MAAMU,gBAA+C,GAAGhB,YAAY,GAChE;IACEM,OAAO,EAAEN,YAAY;IACrBU,OAAO,EAAEP,gBAAgB;IACzBQ,KAAK,EAAEX,YAAY,CAACY,SAAS,KAAKrB,aAAa;IAC/CsB,QAAQ,EAAEA,CAAA,KACRlB,aAAa,CAACK,YAAY,EAAE;MAAEc,WAAW,EAAEX;IAAiB,CAAC,CAAC;IAChEY,MAAM,EAAEA,CAAA,KAAMtB,WAAW,CAACO,YAAY;EACxC,CAAC,GACD,IAAI;EAER,OAAO;IACLI,eAAe;IACfG,eAAe;IACfC,gBAAgB;IAChBQ;EACF,CAAC;AACH","ignoreList":[]}
|