@cometchat/chat-uikit-react-native 4.3.4 → 4.3.6
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 +11 -21
- package/android/.gradle/7.4/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.idea/gradle.xml +13 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/src/main/java/com/reactnativecometchatuikit/FileManager.java +6 -6
- package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +43 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js +41 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +10 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.js +60 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -0
- package/lib/CometChatAddMembers/index.d.ts +3 -0
- package/lib/CometChatAddMembers/index.js +4 -0
- package/lib/CometChatAddMembers/index.js.map +1 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +46 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +43 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +18 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js +72 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -0
- package/lib/CometChatBannedMembers/index.d.ts +3 -0
- package/lib/CometChatBannedMembers/index.js +4 -0
- package/lib/CometChatBannedMembers/index.js.map +1 -0
- package/lib/CometChatBannedMembers/resources/index.d.ts +3 -0
- package/lib/CometChatBannedMembers/resources/index.js +3 -0
- package/lib/CometChatBannedMembers/resources/index.js.map +1 -0
- package/lib/CometChatContacts/CometChatContacts.d.ts +75 -0
- package/lib/CometChatContacts/CometChatContacts.js +84 -0
- package/lib/CometChatContacts/CometChatContacts.js.map +1 -0
- package/lib/CometChatContacts/ContactsConfiguration.d.ts +73 -0
- package/lib/CometChatContacts/ContactsConfiguration.js +2 -0
- package/lib/CometChatContacts/ContactsConfiguration.js.map +1 -0
- package/lib/CometChatContacts/ContactsStyle.d.ts +59 -0
- package/lib/CometChatContacts/ContactsStyle.js +2 -0
- package/lib/CometChatContacts/ContactsStyle.js.map +1 -0
- package/lib/CometChatContacts/Header.d.ts +31 -0
- package/lib/CometChatContacts/Header.js +72 -0
- package/lib/CometChatContacts/Header.js.map +1 -0
- package/lib/CometChatContacts/index.d.ts +4 -0
- package/lib/CometChatContacts/index.js +3 -0
- package/lib/CometChatContacts/index.js.map +1 -0
- package/lib/CometChatContacts/styles.d.ts +101 -0
- package/lib/CometChatContacts/styles.js +104 -0
- package/lib/CometChatContacts/styles.js.map +1 -0
- package/lib/CometChatConversations/CometChatConversations.d.ts +199 -0
- package/lib/CometChatConversations/CometChatConversations.js +643 -0
- package/lib/CometChatConversations/CometChatConversations.js.map +1 -0
- package/lib/CometChatConversations/ConversationsConfiguration.d.ts +96 -0
- package/lib/CometChatConversations/ConversationsConfiguration.js +87 -0
- package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -0
- package/lib/CometChatConversations/ConversationsStyle.d.ts +38 -0
- package/lib/CometChatConversations/ConversationsStyle.js +46 -0
- package/lib/CometChatConversations/ConversationsStyle.js.map +1 -0
- package/lib/CometChatConversations/index.d.ts +4 -0
- package/lib/CometChatConversations/index.js +5 -0
- package/lib/CometChatConversations/index.js.map +1 -0
- package/lib/CometChatConversations/resources/index.d.ts +14 -0
- package/lib/CometChatConversations/resources/index.js +15 -0
- package/lib/CometChatConversations/resources/index.js.map +1 -0
- package/lib/CometChatConversations/style.d.ts +61 -0
- package/lib/CometChatConversations/style.js +63 -0
- package/lib/CometChatConversations/style.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +14 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +168 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/index.d.ts +2 -0
- package/lib/CometChatConversationsWithMessages/index.js +3 -0
- package/lib/CometChatConversationsWithMessages/index.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/resources/index.d.ts +2 -0
- package/lib/CometChatConversationsWithMessages/resources/index.js +3 -0
- package/lib/CometChatConversationsWithMessages/resources/index.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/styles.d.ts +12 -0
- package/lib/CometChatConversationsWithMessages/styles.js +14 -0
- package/lib/CometChatConversationsWithMessages/styles.js.map +1 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +98 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js +196 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +14 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +15 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -0
- package/lib/CometChatCreateGroup/Header.d.ts +3 -0
- package/lib/CometChatCreateGroup/Header.js +41 -0
- package/lib/CometChatCreateGroup/Header.js.map +1 -0
- package/lib/CometChatCreateGroup/index.d.ts +3 -0
- package/lib/CometChatCreateGroup/index.js +4 -0
- package/lib/CometChatCreateGroup/index.js.map +1 -0
- package/lib/CometChatCreateGroup/resources/index.d.ts +5 -0
- package/lib/CometChatCreateGroup/resources/index.js +9 -0
- package/lib/CometChatCreateGroup/resources/index.js.map +1 -0
- package/lib/CometChatCreateGroup/style.d.ts +46 -0
- package/lib/CometChatCreateGroup/style.js +43 -0
- package/lib/CometChatCreateGroup/style.js.map +1 -0
- package/lib/CometChatDetails/CometChatDetails.d.ts +281 -0
- package/lib/CometChatDetails/CometChatDetails.js +405 -0
- package/lib/CometChatDetails/CometChatDetails.js.map +1 -0
- package/lib/CometChatDetails/DetailsConfiguration.d.ts +36 -0
- package/lib/CometChatDetails/DetailsConfiguration.js +26 -0
- package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -0
- package/lib/CometChatDetails/Header.d.ts +3 -0
- package/lib/CometChatDetails/Header.js +26 -0
- package/lib/CometChatDetails/Header.js.map +1 -0
- package/lib/CometChatDetails/index.d.ts +3 -0
- package/lib/CometChatDetails/index.js +4 -0
- package/lib/CometChatDetails/index.js.map +1 -0
- package/lib/CometChatDetails/listners.d.ts +20 -0
- package/lib/CometChatDetails/listners.js +57 -0
- package/lib/CometChatDetails/listners.js.map +1 -0
- package/lib/CometChatDetails/resources/index.d.ts +7 -0
- package/lib/CometChatDetails/resources/index.js +13 -0
- package/lib/CometChatDetails/resources/index.js.map +1 -0
- package/lib/CometChatDetails/styles.d.ts +28 -0
- package/lib/CometChatDetails/styles.js +23 -0
- package/lib/CometChatDetails/styles.js.map +1 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +96 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js +360 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +63 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +59 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +42 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.js +48 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +28 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.js +35 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +1 -0
- package/lib/CometChatGroupMembers/index.d.ts +4 -0
- package/lib/CometChatGroupMembers/index.js +5 -0
- package/lib/CometChatGroupMembers/index.js.map +1 -0
- package/lib/CometChatGroupMembers/resources/index.d.ts +5 -0
- package/lib/CometChatGroupMembers/resources/index.js +6 -0
- package/lib/CometChatGroupMembers/resources/index.js.map +1 -0
- package/lib/CometChatGroupMembers/style.d.ts +31 -0
- package/lib/CometChatGroupMembers/style.js +30 -0
- package/lib/CometChatGroupMembers/style.js.map +1 -0
- package/lib/CometChatGroups/CometChatGroups.d.ts +141 -0
- package/lib/CometChatGroups/CometChatGroups.js +322 -0
- package/lib/CometChatGroups/CometChatGroups.js.map +1 -0
- package/lib/CometChatGroups/GroupsConfiguration.d.ts +74 -0
- package/lib/CometChatGroups/GroupsConfiguration.js +72 -0
- package/lib/CometChatGroups/GroupsConfiguration.js.map +1 -0
- package/lib/CometChatGroups/GroupsStyle.d.ts +51 -0
- package/lib/CometChatGroups/GroupsStyle.js +61 -0
- package/lib/CometChatGroups/GroupsStyle.js.map +1 -0
- package/lib/CometChatGroups/index.d.ts +4 -0
- package/lib/CometChatGroups/index.js +5 -0
- package/lib/CometChatGroups/index.js.map +1 -0
- package/lib/CometChatGroups/resources/index.d.ts +10 -0
- package/lib/CometChatGroups/resources/index.js +11 -0
- package/lib/CometChatGroups/resources/index.js.map +1 -0
- package/lib/CometChatGroups/style.d.ts +16 -0
- package/lib/CometChatGroups/style.js +19 -0
- package/lib/CometChatGroups/style.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +13 -0
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +172 -0
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/index.d.ts +2 -0
- package/lib/CometChatGroupsWithMessages/index.js +3 -0
- package/lib/CometChatGroupsWithMessages/index.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/resources/index.d.ts +2 -0
- package/lib/CometChatGroupsWithMessages/resources/index.js +3 -0
- package/lib/CometChatGroupsWithMessages/resources/index.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/styles.d.ts +12 -0
- package/lib/CometChatGroupsWithMessages/styles.js +14 -0
- package/lib/CometChatGroupsWithMessages/styles.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +111 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +96 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/Header.d.ts +3 -0
- package/lib/CometChatJoinProtectedGroup/Header.js +33 -0
- package/lib/CometChatJoinProtectedGroup/Header.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +15 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +16 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/index.d.ts +3 -0
- package/lib/CometChatJoinProtectedGroup/index.js +4 -0
- package/lib/CometChatJoinProtectedGroup/index.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +4 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.js +7 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/style.d.ts +11 -0
- package/lib/CometChatJoinProtectedGroup/style.js +10 -0
- package/lib/CometChatJoinProtectedGroup/style.js.map +1 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +269 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +571 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +47 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +34 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -0
- package/lib/CometChatMessageComposer/index.d.ts +3 -0
- package/lib/CometChatMessageComposer/index.js +4 -0
- package/lib/CometChatMessageComposer/index.js.map +1 -0
- package/lib/CometChatMessageComposer/resources/index.d.ts +10 -0
- package/lib/CometChatMessageComposer/resources/index.js +19 -0
- package/lib/CometChatMessageComposer/resources/index.js.map +1 -0
- package/lib/CometChatMessageComposer/styles.d.ts +28 -0
- package/lib/CometChatMessageComposer/styles.js +30 -0
- package/lib/CometChatMessageComposer/styles.js.map +1 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +150 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +220 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +37 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +27 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -0
- package/lib/CometChatMessageHeader/index.d.ts +3 -0
- package/lib/CometChatMessageHeader/index.js +4 -0
- package/lib/CometChatMessageHeader/index.js.map +1 -0
- package/lib/CometChatMessageHeader/listners.d.ts +27 -0
- package/lib/CometChatMessageHeader/listners.js +50 -0
- package/lib/CometChatMessageHeader/listners.js.map +1 -0
- package/lib/CometChatMessageHeader/resources/index.d.ts +5 -0
- package/lib/CometChatMessageHeader/resources/index.js +9 -0
- package/lib/CometChatMessageHeader/resources/index.js.map +1 -0
- package/lib/CometChatMessageHeader/styles.d.ts +16 -0
- package/lib/CometChatMessageHeader/styles.js +16 -0
- package/lib/CometChatMessageHeader/styles.js.map +1 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +36 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js +173 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -0
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.d.ts +3 -0
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.js +2 -0
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.js.map +1 -0
- package/lib/CometChatMessageInformation/MessageInformationStyle.d.ts +11 -0
- package/lib/CometChatMessageInformation/MessageInformationStyle.js +2 -0
- package/lib/CometChatMessageInformation/MessageInformationStyle.js.map +1 -0
- package/lib/CometChatMessageInformation/index.d.ts +4 -0
- package/lib/CometChatMessageInformation/index.js +3 -0
- package/lib/CometChatMessageInformation/index.js.map +1 -0
- package/lib/CometChatMessageInformation/resources/index.d.ts +2 -0
- package/lib/CometChatMessageInformation/resources/index.js +3 -0
- package/lib/CometChatMessageInformation/resources/index.js.map +1 -0
- package/lib/CometChatMessageInformation/styles.d.ts +23 -0
- package/lib/CometChatMessageInformation/styles.js +26 -0
- package/lib/CometChatMessageInformation/styles.js.map +1 -0
- package/lib/CometChatMessageList/CometChatMessageList.d.ts +75 -0
- package/lib/CometChatMessageList/CometChatMessageList.js +1047 -0
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -0
- package/lib/CometChatMessageList/MessageListConfiguration.d.ts +101 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js +37 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -0
- package/lib/CometChatMessageList/MessageListStyle.d.ts +32 -0
- package/lib/CometChatMessageList/MessageListStyle.js +39 -0
- package/lib/CometChatMessageList/MessageListStyle.js.map +1 -0
- package/lib/CometChatMessageList/index.d.ts +4 -0
- package/lib/CometChatMessageList/index.js +5 -0
- package/lib/CometChatMessageList/index.js.map +1 -0
- package/lib/CometChatMessageList/resources/index.d.ts +6 -0
- package/lib/CometChatMessageList/resources/index.js +7 -0
- package/lib/CometChatMessageList/resources/index.js.map +1 -0
- package/lib/CometChatMessageList/style.d.ts +52 -0
- package/lib/CometChatMessageList/style.js +54 -0
- package/lib/CometChatMessageList/style.js.map +1 -0
- package/lib/CometChatMessages/CometChatMessages.d.ts +42 -0
- package/lib/CometChatMessages/CometChatMessages.js +200 -0
- package/lib/CometChatMessages/CometChatMessages.js.map +1 -0
- package/lib/CometChatMessages/MessageStyle.d.ts +15 -0
- package/lib/CometChatMessages/MessageStyle.js +19 -0
- package/lib/CometChatMessages/MessageStyle.js.map +1 -0
- package/lib/CometChatMessages/MessagesConfiguration.d.ts +69 -0
- package/lib/CometChatMessages/MessagesConfiguration.js +25 -0
- package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -0
- package/lib/CometChatMessages/index.d.ts +4 -0
- package/lib/CometChatMessages/index.js +5 -0
- package/lib/CometChatMessages/index.js.map +1 -0
- package/lib/CometChatMessages/resources/index.d.ts +2 -0
- package/lib/CometChatMessages/resources/index.js +3 -0
- package/lib/CometChatMessages/resources/index.js.map +1 -0
- package/lib/CometChatMessages/style.d.ts +21 -0
- package/lib/CometChatMessages/style.js +23 -0
- package/lib/CometChatMessages/style.js.map +1 -0
- package/lib/CometChatTabs/CometChatTabs.d.ts +11 -0
- package/lib/CometChatTabs/CometChatTabs.js +113 -0
- package/lib/CometChatTabs/CometChatTabs.js.map +1 -0
- package/lib/CometChatTabs/CometChatTabsStyle.d.ts +16 -0
- package/lib/CometChatTabs/CometChatTabsStyle.js +23 -0
- package/lib/CometChatTabs/CometChatTabsStyle.js.map +1 -0
- package/lib/CometChatTabs/TabItemStyle.d.ts +22 -0
- package/lib/CometChatTabs/TabItemStyle.js +29 -0
- package/lib/CometChatTabs/TabItemStyle.js.map +1 -0
- package/lib/CometChatTabs/TabItems.d.ts +11 -0
- package/lib/CometChatTabs/TabItems.js +2 -0
- package/lib/CometChatTabs/TabItems.js.map +1 -0
- package/lib/CometChatTabs/index.d.ts +4 -0
- package/lib/CometChatTabs/index.js +4 -0
- package/lib/CometChatTabs/index.js.map +1 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +90 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +139 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -0
- package/lib/CometChatThreadedMessages/Header.d.ts +12 -0
- package/lib/CometChatThreadedMessages/Header.js +23 -0
- package/lib/CometChatThreadedMessages/Header.js.map +1 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +18 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +16 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -0
- package/lib/CometChatThreadedMessages/index.d.ts +3 -0
- package/lib/CometChatThreadedMessages/index.js +4 -0
- package/lib/CometChatThreadedMessages/index.js.map +1 -0
- package/lib/CometChatThreadedMessages/resources/index.d.ts +8 -0
- package/lib/CometChatThreadedMessages/resources/index.js +15 -0
- package/lib/CometChatThreadedMessages/resources/index.js.map +1 -0
- package/lib/CometChatThreadedMessages/style.d.ts +28 -0
- package/lib/CometChatThreadedMessages/style.js +26 -0
- package/lib/CometChatThreadedMessages/style.js.map +1 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +41 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +58 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +41 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +37 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -0
- package/lib/CometChatTransferOwnership/index.d.ts +3 -0
- package/lib/CometChatTransferOwnership/index.js +4 -0
- package/lib/CometChatTransferOwnership/index.js.map +1 -0
- package/lib/CometChatUsers/CometChatUsers.d.ts +69 -0
- package/lib/CometChatUsers/CometChatUsers.js +64 -0
- package/lib/CometChatUsers/CometChatUsers.js.map +1 -0
- package/lib/CometChatUsers/UsersConfiguration.d.ts +43 -0
- package/lib/CometChatUsers/UsersConfiguration.js +41 -0
- package/lib/CometChatUsers/UsersConfiguration.js.map +1 -0
- package/lib/CometChatUsers/index.d.ts +3 -0
- package/lib/CometChatUsers/index.js +4 -0
- package/lib/CometChatUsers/index.js.map +1 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +11 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +89 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -0
- package/lib/CometChatUsersWithMessages/index.d.ts +2 -0
- package/lib/CometChatUsersWithMessages/index.js +3 -0
- package/lib/CometChatUsersWithMessages/index.js.map +1 -0
- package/lib/CometChatUsersWithMessages/styles.d.ts +12 -0
- package/lib/CometChatUsersWithMessages/styles.js +14 -0
- package/lib/CometChatUsersWithMessages/styles.js.map +1 -0
- package/lib/calls/CallEvents.d.ts +9 -0
- package/lib/calls/CallEvents.js +10 -0
- package/lib/calls/CallEvents.js.map +1 -0
- package/lib/calls/CallUtils.d.ts +5 -0
- package/lib/calls/CallUtils.js +60 -0
- package/lib/calls/CallUtils.js.map +1 -0
- package/lib/calls/CallingConfiguration.d.ts +3 -0
- package/lib/calls/CallingConfiguration.js +5 -0
- package/lib/calls/CallingConfiguration.js.map +1 -0
- package/lib/calls/CallingDetailsUtils.d.ts +7 -0
- package/lib/calls/CallingDetailsUtils.js +31 -0
- package/lib/calls/CallingDetailsUtils.js.map +1 -0
- package/lib/calls/CallingExtension.d.ts +11 -0
- package/lib/calls/CallingExtension.js +36 -0
- package/lib/calls/CallingExtension.js.map +1 -0
- package/lib/calls/CallingExtentionDecorator.d.ts +33 -0
- package/lib/calls/CallingExtentionDecorator.js +157 -0
- package/lib/calls/CallingExtentionDecorator.js.map +1 -0
- package/lib/calls/CallingPackage.d.ts +4 -0
- package/lib/calls/CallingPackage.js +7 -0
- package/lib/calls/CallingPackage.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +13 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +11 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +18 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +25 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +11 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +21 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -0
- package/lib/calls/CometChatCallBubble/index.d.ts +4 -0
- package/lib/calls/CometChatCallBubble/index.js +5 -0
- package/lib/calls/CometChatCallBubble/index.js.map +1 -0
- package/lib/calls/CometChatCallBubble/resources/index.d.ts +4 -0
- package/lib/calls/CometChatCallBubble/resources/index.js +5 -0
- package/lib/calls/CometChatCallBubble/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallBubble/styles.d.ts +20 -0
- package/lib/calls/CometChatCallBubble/styles.js +22 -0
- package/lib/calls/CometChatCallBubble/styles.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +12 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js +19 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +34 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +19 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +61 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +198 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -0
- package/lib/calls/CometChatCallButtons/index.d.ts +4 -0
- package/lib/calls/CometChatCallButtons/index.js +4 -0
- package/lib/calls/CometChatCallButtons/index.js.map +1 -0
- package/lib/calls/CometChatCallButtons/resources/index.d.ts +3 -0
- package/lib/calls/CometChatCallButtons/resources/index.js +4 -0
- package/lib/calls/CometChatCallButtons/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallButtons/style.d.ts +12 -0
- package/lib/calls/CometChatCallButtons/style.js +14 -0
- package/lib/calls/CometChatCallButtons/style.js.map +1 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +54 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js +31 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.d.ts +20 -0
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js +27 -0
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js.map +1 -0
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.d.ts +1 -0
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js +137 -0
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js.map +1 -0
- package/lib/calls/CometChatCallDetails/index.d.ts +3 -0
- package/lib/calls/CometChatCallDetails/index.js +4 -0
- package/lib/calls/CometChatCallDetails/index.js.map +1 -0
- package/lib/calls/CometChatCallDetails/resources/index.d.ts +2 -0
- package/lib/calls/CometChatCallDetails/resources/index.js +3 -0
- package/lib/calls/CometChatCallDetails/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallDetails/style.d.ts +12 -0
- package/lib/calls/CometChatCallDetails/style.js +14 -0
- package/lib/calls/CometChatCallDetails/style.js.map +1 -0
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +86 -0
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js +39 -0
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.d.ts +13 -0
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js +20 -0
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js.map +1 -0
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.d.ts +1 -0
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js +250 -0
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js.map +1 -0
- package/lib/calls/CometChatCallHistory/index.d.ts +3 -0
- package/lib/calls/CometChatCallHistory/index.js +4 -0
- package/lib/calls/CometChatCallHistory/index.js.map +1 -0
- package/lib/calls/CometChatCallHistory/resources/index.d.ts +8 -0
- package/lib/calls/CometChatCallHistory/resources/index.js +9 -0
- package/lib/calls/CometChatCallHistory/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallHistory/style.d.ts +21 -0
- package/lib/calls/CometChatCallHistory/style.js +23 -0
- package/lib/calls/CometChatCallHistory/style.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.d.ts +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js +30 -0
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.d.ts +6 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.d.ts +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/index.d.ts +3 -0
- package/lib/calls/CometChatCallHistoryWithDetails/index.js +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/index.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/style.d.ts +8 -0
- package/lib/calls/CometChatCallHistoryWithDetails/style.js +10 -0
- package/lib/calls/CometChatCallHistoryWithDetails/style.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +21 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +160 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +32 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +39 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/index.d.ts +3 -0
- package/lib/calls/CometChatIncomingCall/index.js +4 -0
- package/lib/calls/CometChatIncomingCall/index.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/resources/index.d.ts +5 -0
- package/lib/calls/CometChatIncomingCall/resources/index.js +6 -0
- package/lib/calls/CometChatIncomingCall/resources/index.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/styles.d.ts +9 -0
- package/lib/calls/CometChatIncomingCall/styles.js +11 -0
- package/lib/calls/CometChatIncomingCall/styles.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +12 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +41 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +13 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +13 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/index.d.ts +3 -0
- package/lib/calls/CometChatOngoingCall/index.js +3 -0
- package/lib/calls/CometChatOngoingCall/index.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +46 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +149 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +18 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +15 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +14 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +21 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/index.d.ts +3 -0
- package/lib/calls/CometChatOutgoingCall/index.js +4 -0
- package/lib/calls/CometChatOutgoingCall/index.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +2 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.js +3 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.js.map +1 -0
- package/lib/calls/index.d.ts +12 -0
- package/lib/calls/index.js +13 -0
- package/lib/calls/index.js.map +1 -0
- package/lib/calls/resources/index.d.ts +3 -0
- package/lib/calls/resources/index.js +4 -0
- package/lib/calls/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +55 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +30 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +44 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +61 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/resources/index.d.ts +3 -0
- package/lib/extensions/CollaborativeBubble/resources/index.js +3 -0
- package/lib/extensions/CollaborativeBubble/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/styles.d.ts +33 -0
- package/lib/extensions/CollaborativeBubble/styles.js +72 -0
- package/lib/extensions/CollaborativeBubble/styles.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +14 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +7 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +12 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +25 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +22 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +129 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/index.d.ts +5 -0
- package/lib/extensions/CollaborativeDocument/index.js +6 -0
- package/lib/extensions/CollaborativeDocument/index.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/resources/index.d.ts +2 -0
- package/lib/extensions/CollaborativeDocument/resources/index.js +5 -0
- package/lib/extensions/CollaborativeDocument/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +14 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +7 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +12 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +27 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +23 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +135 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/index.d.ts +5 -0
- package/lib/extensions/CollaborativeWhiteboard/index.js +6 -0
- package/lib/extensions/CollaborativeWhiteboard/index.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +2 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js +5 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +1 -0
- package/lib/extensions/ExtensionConstants.d.ts +50 -0
- package/lib/extensions/ExtensionConstants.js +51 -0
- package/lib/extensions/ExtensionConstants.js.map +1 -0
- package/lib/extensions/ExtensionModerator.d.ts +16 -0
- package/lib/extensions/ExtensionModerator.js +51 -0
- package/lib/extensions/ExtensionModerator.js.map +1 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +13 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js +45 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +1 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.d.ts +14 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.js +28 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +17 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.js +93 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -0
- package/lib/extensions/ImageModeration/index.d.ts +4 -0
- package/lib/extensions/ImageModeration/index.js +5 -0
- package/lib/extensions/ImageModeration/index.js.map +1 -0
- package/lib/extensions/ImageModeration/resources/index.d.ts +3 -0
- package/lib/extensions/ImageModeration/resources/index.js +3 -0
- package/lib/extensions/ImageModeration/resources/index.js.map +1 -0
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.d.ts +18 -0
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +17 -0
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +12 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js +34 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +14 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +13 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +8 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js +21 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +13 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +37 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -0
- package/lib/extensions/LinkPreview/index.d.ts +6 -0
- package/lib/extensions/LinkPreview/index.js +6 -0
- package/lib/extensions/LinkPreview/index.js.map +1 -0
- package/lib/extensions/LinkPreview/resources/index.d.ts +2 -0
- package/lib/extensions/LinkPreview/resources/index.js +3 -0
- package/lib/extensions/LinkPreview/resources/index.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +22 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +69 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +21 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +152 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +14 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +28 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -0
- package/lib/extensions/MessageTranslation/index.d.ts +4 -0
- package/lib/extensions/MessageTranslation/index.js +5 -0
- package/lib/extensions/MessageTranslation/index.js.map +1 -0
- package/lib/extensions/MessageTranslation/resources/index.d.ts +3 -0
- package/lib/extensions/MessageTranslation/resources/index.js +5 -0
- package/lib/extensions/MessageTranslation/resources/index.js.map +1 -0
- package/lib/extensions/Polls/Header.d.ts +14 -0
- package/lib/extensions/Polls/Header.js +41 -0
- package/lib/extensions/Polls/Header.js.map +1 -0
- package/lib/extensions/Polls/Polls.d.ts +132 -0
- package/lib/extensions/Polls/Polls.js +218 -0
- package/lib/extensions/Polls/Polls.js.map +1 -0
- package/lib/extensions/Polls/PollsBubble.d.ts +83 -0
- package/lib/extensions/Polls/PollsBubble.js +202 -0
- package/lib/extensions/Polls/PollsBubble.js.map +1 -0
- package/lib/extensions/Polls/PollsConfigurations.d.ts +15 -0
- package/lib/extensions/Polls/PollsConfigurations.js +2 -0
- package/lib/extensions/Polls/PollsConfigurations.js.map +1 -0
- package/lib/extensions/Polls/PollsDecorator.d.ts +21 -0
- package/lib/extensions/Polls/PollsDecorator.js +103 -0
- package/lib/extensions/Polls/PollsDecorator.js.map +1 -0
- package/lib/extensions/Polls/PollsExtension.d.ts +12 -0
- package/lib/extensions/Polls/PollsExtension.js +27 -0
- package/lib/extensions/Polls/PollsExtension.js.map +1 -0
- package/lib/extensions/Polls/index.d.ts +4 -0
- package/lib/extensions/Polls/index.js +4 -0
- package/lib/extensions/Polls/index.js.map +1 -0
- package/lib/extensions/Polls/resources/index.d.ts +7 -0
- package/lib/extensions/Polls/resources/index.js +13 -0
- package/lib/extensions/Polls/resources/index.js.map +1 -0
- package/lib/extensions/Polls/style.d.ts +45 -0
- package/lib/extensions/Polls/style.js +39 -0
- package/lib/extensions/Polls/style.js.map +1 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.d.ts +22 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js +203 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js.map +1 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/index.d.ts +2 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js +3 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js.map +1 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/style.d.ts +40 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js +42 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js.map +1 -0
- package/lib/extensions/Reactions/ReactionsDecorator.d.ts +23 -0
- package/lib/extensions/Reactions/ReactionsDecorator.js +113 -0
- package/lib/extensions/Reactions/ReactionsDecorator.js.map +1 -0
- package/lib/extensions/Reactions/ReactionsExtension.d.ts +14 -0
- package/lib/extensions/Reactions/ReactionsExtension.js +28 -0
- package/lib/extensions/Reactions/ReactionsExtension.js.map +1 -0
- package/lib/extensions/Reactions/index.d.ts +3 -0
- package/lib/extensions/Reactions/index.js +4 -0
- package/lib/extensions/Reactions/index.js.map +1 -0
- package/lib/extensions/Reactions/resources/index.d.ts +3 -0
- package/lib/extensions/Reactions/resources/index.js +3 -0
- package/lib/extensions/Reactions/resources/index.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +14 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +95 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +14 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js +28 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +27 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.js +152 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -0
- package/lib/extensions/SmartReplies/index.d.ts +3 -0
- package/lib/extensions/SmartReplies/index.js +4 -0
- package/lib/extensions/SmartReplies/index.js.map +1 -0
- package/lib/extensions/SmartReplies/resources/index.d.ts +3 -0
- package/lib/extensions/SmartReplies/resources/index.js +5 -0
- package/lib/extensions/SmartReplies/resources/index.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +33 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +90 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +17 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +17 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +20 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +27 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +61 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +4 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +5 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +55 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +55 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +1 -0
- package/lib/extensions/Stickers/StickerConfiguration.d.ts +8 -0
- package/lib/extensions/Stickers/StickerConfiguration.js +12 -0
- package/lib/extensions/Stickers/StickerConfiguration.js.map +1 -0
- package/lib/extensions/Stickers/StickerStyle.d.ts +6 -0
- package/lib/extensions/Stickers/StickerStyle.js +10 -0
- package/lib/extensions/Stickers/StickerStyle.js.map +1 -0
- package/lib/extensions/Stickers/StickersBubble.d.ts +17 -0
- package/lib/extensions/Stickers/StickersBubble.js +21 -0
- package/lib/extensions/Stickers/StickersBubble.js.map +1 -0
- package/lib/extensions/Stickers/StickersExtension.d.ts +8 -0
- package/lib/extensions/Stickers/StickersExtension.js +28 -0
- package/lib/extensions/Stickers/StickersExtension.js.map +1 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +22 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +108 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -0
- package/lib/extensions/Stickers/index.d.ts +5 -0
- package/lib/extensions/Stickers/index.js +5 -0
- package/lib/extensions/Stickers/index.js.map +1 -0
- package/lib/extensions/Stickers/resources/index.d.ts +2 -0
- package/lib/extensions/Stickers/resources/index.js +3 -0
- package/lib/extensions/Stickers/resources/index.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +14 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.js +7 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationExtension.d.ts +13 -0
- package/lib/extensions/TextModeration/TextModerationExtension.js +37 -0
- package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +14 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +55 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -0
- package/lib/extensions/TextModeration/index.d.ts +4 -0
- package/lib/extensions/TextModeration/index.js +4 -0
- package/lib/extensions/TextModeration/index.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +16 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +64 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +15 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +28 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/index.d.ts +2 -0
- package/lib/extensions/ThumbnailGeneration/index.js +3 -0
- package/lib/extensions/ThumbnailGeneration/index.js.map +1 -0
- package/lib/extensions/index.d.ts +13 -0
- package/lib/extensions/index.js +14 -0
- package/lib/extensions/index.js.map +1 -0
- package/lib/index.d.ts +26 -0
- package/lib/index.js +53 -0
- package/lib/index.js.map +1 -0
- package/lib/shared/CometChatContext.d.ts +4 -0
- package/lib/shared/CometChatContext.js +30 -0
- package/lib/shared/CometChatContext.js.map +1 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +26 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +195 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +20 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +66 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +1 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +13 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.js +15 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -0
- package/lib/shared/CometChatUiKit/index.d.ts +4 -0
- package/lib/shared/CometChatUiKit/index.js +5 -0
- package/lib/shared/CometChatUiKit/index.js.map +1 -0
- package/lib/shared/assets/images/index.d.ts +9 -0
- package/lib/shared/assets/images/index.js +17 -0
- package/lib/shared/assets/images/index.js.map +1 -0
- package/lib/shared/base/BaseStyle.d.ts +26 -0
- package/lib/shared/base/BaseStyle.js +26 -0
- package/lib/shared/base/BaseStyle.js.map +1 -0
- package/lib/shared/base/BorderStyle.d.ts +19 -0
- package/lib/shared/base/BorderStyle.js +19 -0
- package/lib/shared/base/BorderStyle.js.map +1 -0
- package/lib/shared/base/FontStyle.d.ts +18 -0
- package/lib/shared/base/FontStyle.js +18 -0
- package/lib/shared/base/FontStyle.js.map +1 -0
- package/lib/shared/base/ShadowStyle.d.ts +33 -0
- package/lib/shared/base/ShadowStyle.js +27 -0
- package/lib/shared/base/ShadowStyle.js.map +1 -0
- package/lib/shared/base/Types.d.ts +14 -0
- package/lib/shared/base/Types.js +2 -0
- package/lib/shared/base/Types.js.map +1 -0
- package/lib/shared/base/index.d.ts +6 -0
- package/lib/shared/base/index.js +6 -0
- package/lib/shared/base/index.js.map +1 -0
- package/lib/shared/constants/UIKitConstants.d.ts +285 -0
- package/lib/shared/constants/UIKitConstants.js +304 -0
- package/lib/shared/constants/UIKitConstants.js.map +1 -0
- package/lib/shared/events/CometChatMessageEvents/index.d.ts +43 -0
- package/lib/shared/events/CometChatMessageEvents/index.js +93 -0
- package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +30 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +310 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +184 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +270 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -0
- package/lib/shared/events/CometChatUIEvents.d.ts +17 -0
- package/lib/shared/events/CometChatUIEvents.js +19 -0
- package/lib/shared/events/CometChatUIEvents.js.map +1 -0
- package/lib/shared/events/conversations.d.ts +3 -0
- package/lib/shared/events/conversations.js +5 -0
- package/lib/shared/events/conversations.js.map +1 -0
- package/lib/shared/events/groups.d.ts +10 -0
- package/lib/shared/events/groups.js +12 -0
- package/lib/shared/events/groups.js.map +1 -0
- package/lib/shared/events/index.d.ts +6 -0
- package/lib/shared/events/index.js +7 -0
- package/lib/shared/events/index.js.map +1 -0
- package/lib/shared/events/messages.d.ts +11 -0
- package/lib/shared/events/messages.js +13 -0
- package/lib/shared/events/messages.js.map +1 -0
- package/lib/shared/framework/ChatConfigurator.d.ts +8 -0
- package/lib/shared/framework/ChatConfigurator.js +23 -0
- package/lib/shared/framework/ChatConfigurator.js.map +1 -0
- package/lib/shared/framework/DataSource.d.ts +49 -0
- package/lib/shared/framework/DataSource.js +2 -0
- package/lib/shared/framework/DataSource.js.map +1 -0
- package/lib/shared/framework/DataSourceDecorator.d.ts +49 -0
- package/lib/shared/framework/DataSourceDecorator.js +121 -0
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -0
- package/lib/shared/framework/ExtensionsDataSource.d.ts +6 -0
- package/lib/shared/framework/ExtensionsDataSource.js +14 -0
- package/lib/shared/framework/ExtensionsDataSource.js.map +1 -0
- package/lib/shared/framework/MessageDataSource.d.ts +72 -0
- package/lib/shared/framework/MessageDataSource.js +548 -0
- package/lib/shared/framework/MessageDataSource.js.map +1 -0
- package/lib/shared/framework/index.d.ts +6 -0
- package/lib/shared/framework/index.js +6 -0
- package/lib/shared/framework/index.js.map +1 -0
- package/lib/shared/framework/resources/index.d.ts +22 -0
- package/lib/shared/framework/resources/index.js +45 -0
- package/lib/shared/framework/resources/index.js.map +1 -0
- package/lib/shared/helper/SwipeRow.d.ts +162 -0
- package/lib/shared/helper/SwipeRow.js +808 -0
- package/lib/shared/helper/SwipeRow.js.map +1 -0
- package/lib/shared/helper/Toast.d.ts +4 -0
- package/lib/shared/helper/Toast.js +23 -0
- package/lib/shared/helper/Toast.js.map +1 -0
- package/lib/shared/helper/functions.d.ts +3 -0
- package/lib/shared/helper/functions.js +32 -0
- package/lib/shared/helper/functions.js.map +1 -0
- package/lib/shared/helper/helperFunctions.d.ts +2 -0
- package/lib/shared/helper/helperFunctions.js +17 -0
- package/lib/shared/helper/helperFunctions.js.map +1 -0
- package/lib/shared/helper/types/index.d.ts +19 -0
- package/lib/shared/helper/types/index.js +2 -0
- package/lib/shared/helper/types/index.js.map +1 -0
- package/lib/shared/helper/useKeyboard.d.ts +1 -0
- package/lib/shared/helper/useKeyboard.js +25 -0
- package/lib/shared/helper/useKeyboard.js.map +1 -0
- package/lib/shared/index.d.ts +14 -0
- package/lib/shared/index.js +28 -0
- package/lib/shared/index.js.map +1 -0
- package/lib/shared/modals/CometChatDetailsOption.d.ts +18 -0
- package/lib/shared/modals/CometChatDetailsOption.js +2 -0
- package/lib/shared/modals/CometChatDetailsOption.js.map +1 -0
- package/lib/shared/modals/CometChatDetailsTemplate.d.ts +15 -0
- package/lib/shared/modals/CometChatDetailsTemplate.js +2 -0
- package/lib/shared/modals/CometChatDetailsTemplate.js.map +1 -0
- package/lib/shared/modals/CometChatMessageOption.d.ts +13 -0
- package/lib/shared/modals/CometChatMessageOption.js +2 -0
- package/lib/shared/modals/CometChatMessageOption.js.map +1 -0
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +24 -0
- package/lib/shared/modals/CometChatMessageTemplate.js +20 -0
- package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -0
- package/lib/shared/modals/CometChatOptions.d.ts +14 -0
- package/lib/shared/modals/CometChatOptions.js +2 -0
- package/lib/shared/modals/CometChatOptions.js.map +1 -0
- package/lib/shared/modals/index.d.ts +6 -0
- package/lib/shared/modals/index.js +3 -0
- package/lib/shared/modals/index.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +3681 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +164 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/index.d.ts +2 -0
- package/lib/shared/resources/CometChatLocalize/index.js +3 -0
- package/lib/shared/resources/CometChatLocalize/index.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +270 -0
- package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +270 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +13 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +82 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/index.d.ts +2 -0
- package/lib/shared/resources/CometChatSoundManager/index.js +3 -0
- package/lib/shared/resources/CometChatSoundManager/index.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/resources/index.d.ts +1 -0
- package/lib/shared/resources/CometChatSoundManager/resources/index.js +6 -0
- package/lib/shared/resources/CometChatSoundManager/resources/index.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/sound.d.ts +56 -0
- package/lib/shared/resources/CometChatSoundManager/sound.js +303 -0
- package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +22 -0
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js +23 -0
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/Palette.d.ts +118 -0
- package/lib/shared/resources/CometChatTheme/Palette.js +389 -0
- package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/Typography.d.ts +80 -0
- package/lib/shared/resources/CometChatTheme/Typography.js +212 -0
- package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/index.d.ts +2 -0
- package/lib/shared/resources/CometChatTheme/index.js +3 -0
- package/lib/shared/resources/CometChatTheme/index.js.map +1 -0
- package/lib/shared/resources/index.d.ts +4 -0
- package/lib/shared/resources/index.js +5 -0
- package/lib/shared/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +15 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +87 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +20 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +27 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/index.d.ts +1 -0
- package/lib/shared/utils/CometChatLiveReactions/index.js +2 -0
- package/lib/shared/utils/CometChatLiveReactions/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +2 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js +3 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/style.d.ts +5 -0
- package/lib/shared/utils/CometChatLiveReactions/style.js +7 -0
- package/lib/shared/utils/CometChatLiveReactions/style.js.map +1 -0
- package/lib/shared/utils/CometChatMessageHelper/index.d.ts +12 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js +42 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +49 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +107 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +24 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +23 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +31 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +29 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/index.d.ts +4 -0
- package/lib/shared/utils/CometChatMessagePreview/index.js +5 -0
- package/lib/shared/utils/CometChatMessagePreview/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +2 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js +3 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/style.d.ts +9 -0
- package/lib/shared/utils/CometChatMessagePreview/style.js +71 -0
- package/lib/shared/utils/CometChatMessagePreview/style.js.map +1 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +13 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js +295 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -0
- package/lib/shared/utils/DetailsUtils/resources/index.d.ts +9 -0
- package/lib/shared/utils/DetailsUtils/resources/index.js +17 -0
- package/lib/shared/utils/DetailsUtils/resources/index.js.map +1 -0
- package/lib/shared/utils/MessageUtils.d.ts +15 -0
- package/lib/shared/utils/MessageUtils.js +31 -0
- package/lib/shared/utils/MessageUtils.js.map +1 -0
- package/lib/shared/utils/conversationUtils.d.ts +7 -0
- package/lib/shared/utils/conversationUtils.js +73 -0
- package/lib/shared/utils/conversationUtils.js.map +1 -0
- package/lib/shared/utils/index.d.ts +6 -0
- package/lib/shared/utils/index.js +7 -0
- package/lib/shared/utils/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +49 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.js +38 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +43 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +49 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +23 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +170 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/hooks.d.ts +1 -0
- package/lib/shared/views/CometChatActionSheet/hooks.js +7 -0
- package/lib/shared/views/CometChatActionSheet/hooks.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/index.d.ts +3 -0
- package/lib/shared/views/CometChatActionSheet/index.js +4 -0
- package/lib/shared/views/CometChatActionSheet/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +4 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.js +7 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/style.d.ts +44 -0
- package/lib/shared/views/CometChatActionSheet/style.js +46 -0
- package/lib/shared/views/CometChatActionSheet/style.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.d.ts +16 -0
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +23 -0
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +35 -0
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +92 -0
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatAudioBubble/index.js +4 -0
- package/lib/shared/views/CometChatAudioBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.js +4 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/style.d.ts +26 -0
- package/lib/shared/views/CometChatAudioBubble/style.js +28 -0
- package/lib/shared/views/CometChatAudioBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +19 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +19 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +28 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js +38 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +25 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +88 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/index.d.ts +4 -0
- package/lib/shared/views/CometChatAvatar/index.js +5 -0
- package/lib/shared/views/CometChatAvatar/index.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatAvatar/resources/index.js +5 -0
- package/lib/shared/views/CometChatAvatar/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/styles.d.ts +21 -0
- package/lib/shared/views/CometChatAvatar/styles.js +24 -0
- package/lib/shared/views/CometChatAvatar/styles.js.map +1 -0
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.d.ts +34 -0
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +37 -0
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatBadge/BadgeStyle.d.ts +11 -0
- package/lib/shared/views/CometChatBadge/BadgeStyle.js +25 -0
- package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +1 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +23 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.js +48 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -0
- package/lib/shared/views/CometChatBadge/index.d.ts +4 -0
- package/lib/shared/views/CometChatBadge/index.js +5 -0
- package/lib/shared/views/CometChatBadge/index.js.map +1 -0
- package/lib/shared/views/CometChatBadge/styles.d.ts +14 -0
- package/lib/shared/views/CometChatBadge/styles.js +17 -0
- package/lib/shared/views/CometChatBadge/styles.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +18 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +99 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/index.d.ts +2 -0
- package/lib/shared/views/CometChatBottomSheet/index.js +3 -0
- package/lib/shared/views/CometChatBottomSheet/index.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/style.d.ts +50 -0
- package/lib/shared/views/CometChatBottomSheet/style.js +52 -0
- package/lib/shared/views/CometChatBottomSheet/style.js.map +1 -0
- package/lib/shared/views/CometChatButton/CometChatButton.d.ts +10 -0
- package/lib/shared/views/CometChatButton/CometChatButton.js +30 -0
- package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +18 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +25 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +1 -0
- package/lib/shared/views/CometChatButton/index.d.ts +3 -0
- package/lib/shared/views/CometChatButton/index.js +4 -0
- package/lib/shared/views/CometChatButton/index.js.map +1 -0
- package/lib/shared/views/CometChatButton/style.d.ts +6 -0
- package/lib/shared/views/CometChatButton/style.js +8 -0
- package/lib/shared/views/CometChatButton/style.js.map +1 -0
- package/lib/shared/views/CometChatCard/CometChatCard.d.ts +15 -0
- package/lib/shared/views/CometChatCard/CometChatCard.js +35 -0
- package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +10 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js +17 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +1 -0
- package/lib/shared/views/CometChatCard/index.d.ts +3 -0
- package/lib/shared/views/CometChatCard/index.js +4 -0
- package/lib/shared/views/CometChatCard/index.js.map +1 -0
- package/lib/shared/views/CometChatCard/style.d.ts +11 -0
- package/lib/shared/views/CometChatCard/style.js +13 -0
- package/lib/shared/views/CometChatCard/style.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +25 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +90 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +24 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +19 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/index.d.ts +3 -0
- package/lib/shared/views/CometChatConfirmDialog/index.js +3 -0
- package/lib/shared/views/CometChatConfirmDialog/index.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/style.d.ts +61 -0
- package/lib/shared/views/CometChatConfirmDialog/style.js +63 -0
- package/lib/shared/views/CometChatConfirmDialog/style.js.map +1 -0
- package/lib/shared/views/CometChatDate/CometChatDate.d.ts +41 -0
- package/lib/shared/views/CometChatDate/CometChatDate.js +140 -0
- package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +21 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.js +19 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatDate/DateStyle.d.ts +11 -0
- package/lib/shared/views/CometChatDate/DateStyle.js +16 -0
- package/lib/shared/views/CometChatDate/DateStyle.js.map +1 -0
- package/lib/shared/views/CometChatDate/index.d.ts +4 -0
- package/lib/shared/views/CometChatDate/index.js +5 -0
- package/lib/shared/views/CometChatDate/index.js.map +1 -0
- package/lib/shared/views/CometChatDate/style.d.ts +5 -0
- package/lib/shared/views/CometChatDate/style.js +8 -0
- package/lib/shared/views/CometChatDate/style.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +38 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +153 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +16 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +17 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +21 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +22 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +19 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +20 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +27 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +33 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +8218 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +4 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.js +5 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.d.ts +9 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js +10 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +44 -0
- package/lib/shared/views/CometChatEmojiKeyboard/style.js +57 -0
- package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +35 -0
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +66 -0
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +31 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +23 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatFileBubble/index.js +4 -0
- package/lib/shared/views/CometChatFileBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.js +4 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/style.d.ts +42 -0
- package/lib/shared/views/CometChatFileBubble/style.js +45 -0
- package/lib/shared/views/CometChatFileBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +29 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +52 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +10 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +13 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatImageBubble/index.js +4 -0
- package/lib/shared/views/CometChatImageBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatList/CometChatList.d.ts +86 -0
- package/lib/shared/views/CometChatList/CometChatList.js +443 -0
- package/lib/shared/views/CometChatList/CometChatList.js.map +1 -0
- package/lib/shared/views/CometChatList/Header.d.ts +2 -0
- package/lib/shared/views/CometChatList/Header.js +71 -0
- package/lib/shared/views/CometChatList/Header.js.map +1 -0
- package/lib/shared/views/CometChatList/index.d.ts +2 -0
- package/lib/shared/views/CometChatList/index.js +3 -0
- package/lib/shared/views/CometChatList/index.js.map +1 -0
- package/lib/shared/views/CometChatList/resources/index.d.ts +7 -0
- package/lib/shared/views/CometChatList/resources/index.js +13 -0
- package/lib/shared/views/CometChatList/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatList/styles.d.ts +99 -0
- package/lib/shared/views/CometChatList/styles.js +102 -0
- package/lib/shared/views/CometChatList/styles.js.map +1 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +37 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.js +173 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +6 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +9 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +27 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.js +34 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +1 -0
- package/lib/shared/views/CometChatListItem/index.d.ts +4 -0
- package/lib/shared/views/CometChatListItem/index.js +5 -0
- package/lib/shared/views/CometChatListItem/index.js.map +1 -0
- package/lib/shared/views/CometChatListItem/style.d.ts +61 -0
- package/lib/shared/views/CometChatListItem/style.js +61 -0
- package/lib/shared/views/CometChatListItem/style.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +25 -0
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +151 -0
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.d.ts +26 -0
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +33 -0
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/index.d.ts +3 -0
- package/lib/shared/views/CometChatMediaRecorder/index.js +4 -0
- package/lib/shared/views/CometChatMediaRecorder/index.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/style.d.ts +27 -0
- package/lib/shared/views/CometChatMediaRecorder/style.js +28 -0
- package/lib/shared/views/CometChatMediaRecorder/style.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +21 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +41 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +6 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +13 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/index.d.ts +2 -0
- package/lib/shared/views/CometChatMessageBubble/index.js +3 -0
- package/lib/shared/views/CometChatMessageBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/style.d.ts +0 -0
- package/lib/shared/views/CometChatMessageBubble/style.js +1 -0
- package/lib/shared/views/CometChatMessageBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +98 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +50 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/index.d.ts +2 -0
- package/lib/shared/views/CometChatMessageInput/index.js +3 -0
- package/lib/shared/views/CometChatMessageInput/index.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/styles.d.ts +7 -0
- package/lib/shared/views/CometChatMessageInput/styles.js +9 -0
- package/lib/shared/views/CometChatMessageInput/styles.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +30 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +48 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +30 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +39 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +3 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +4 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/index.d.ts +3 -0
- package/lib/shared/views/CometChatReceipt/index.js +4 -0
- package/lib/shared/views/CometChatReceipt/index.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/resources/index.d.ts +7 -0
- package/lib/shared/views/CometChatReceipt/resources/index.js +18 -0
- package/lib/shared/views/CometChatReceipt/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/style.d.ts +8 -0
- package/lib/shared/views/CometChatReceipt/style.js +10 -0
- package/lib/shared/views/CometChatReceipt/style.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +25 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +40 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +17 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +16 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +20 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +22 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/index.d.ts +4 -0
- package/lib/shared/views/CometChatStatusIndicator/index.js +5 -0
- package/lib/shared/views/CometChatStatusIndicator/index.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +12 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.js +15 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +27 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +84 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +26 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +21 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatTextBubble/index.js +4 -0
- package/lib/shared/views/CometChatTextBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +31 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +54 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +16 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +17 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatVideoBubble/index.js +4 -0
- package/lib/shared/views/CometChatVideoBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +2 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.js +3 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/style.d.ts +7 -0
- package/lib/shared/views/CometChatVideoBubble/style.js +9 -0
- package/lib/shared/views/CometChatVideoBubble/style.js.map +1 -0
- package/lib/shared/views/SwipeRow/SwipeRow.d.ts +8 -0
- package/lib/shared/views/SwipeRow/SwipeRow.js +79 -0
- package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -0
- package/lib/shared/views/SwipeRow/index.d.ts +2 -0
- package/lib/shared/views/SwipeRow/index.js +3 -0
- package/lib/shared/views/SwipeRow/index.js.map +1 -0
- package/lib/shared/views/SwipeRow/style.d.ts +28 -0
- package/lib/shared/views/SwipeRow/style.js +28 -0
- package/lib/shared/views/SwipeRow/style.js.map +1 -0
- package/lib/shared/views/index.d.ts +18 -0
- package/lib/shared/views/index.js +21 -0
- package/lib/shared/views/index.js.map +1 -0
- package/package.json +10 -5
- package/src/CometChatConversations/CometChatConversations.tsx +22 -13
- package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +11 -1
- package/src/CometChatGroups/CometChatGroups.tsx +10 -0
- package/src/CometChatMessageList/CometChatMessageList.tsx +1 -36
- package/src/CometChatMessages/CometChatMessages.tsx +22 -3
- package/src/calls/CallingExtentionDecorator.tsx +6 -4
- package/src/calls/CometChatCallLogHistory/CometChatCallLogHistory.tsx +10 -0
- package/src/calls/CometChatCallLogs/CometChatCallLogs.tsx +10 -0
- package/src/extensions/MessageTranslation/MessageTranslationDecorator.tsx +1 -1
- package/src/extensions/Polls/Polls.tsx +19 -1
- package/src/extensions/Polls/PollsBubble.tsx +69 -51
- package/src/shared/utils/NetworkUtils.tsx +7 -4
- package/src/shared/views/CometChatCardBubble/CometChatCardBubble.tsx +1 -1
- package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +1 -1
- package/src/shared/views/CometChatList/CometChatList.tsx +12 -0
- package/src/shared/views/CometChatListItem/CometChatListItem.tsx +11 -2
- package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +1 -1
- package/src/shared/views/CometChatVideoBubble/CometChatVideoBubble.tsx +2 -2
- package/src/shared/views/CometChatVideoBubble/resources/default_image.png +0 -0
- package/src/shared/views/CometChatVideoBubble/resources/index.ts +3 -1
|
@@ -0,0 +1,808 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { Dimensions, Animated, PanResponder, StyleSheet, TouchableOpacity, View, } from 'react-native';
|
|
5
|
+
const DEFAULT_PREVIEW_OPEN_DELAY = 700;
|
|
6
|
+
const PREVIEW_CLOSE_DELAY = 300;
|
|
7
|
+
const MAX_VELOCITY_CONTRIBUTION = 5;
|
|
8
|
+
const SCROLL_LOCK_MILLISECONDS = 300;
|
|
9
|
+
/**
|
|
10
|
+
* Row that is generally used in a SwipeListView.
|
|
11
|
+
* If you are rendering a SwipeRow explicitly you must pass the SwipeRow exactly two children.
|
|
12
|
+
* The first will be rendered behind the second.
|
|
13
|
+
* e.g.
|
|
14
|
+
<SwipeRow>
|
|
15
|
+
<View style={hiddenRowStyle} />
|
|
16
|
+
<View style={visibleRowStyle} />
|
|
17
|
+
</SwipeRow>
|
|
18
|
+
*/
|
|
19
|
+
class SwipeRow extends Component {
|
|
20
|
+
constructor(props) {
|
|
21
|
+
super(props);
|
|
22
|
+
this.isOpen = false;
|
|
23
|
+
this.leftActionActivated = false;
|
|
24
|
+
this.rightActionActivated = false;
|
|
25
|
+
this.previousTrackedTranslateX = 0;
|
|
26
|
+
this.currentTranslateX = 0;
|
|
27
|
+
this.previousTrackedDirection = null;
|
|
28
|
+
this.horizontalSwipeGestureBegan = false;
|
|
29
|
+
this.swipeInitialX = null;
|
|
30
|
+
this.parentScrollEnabled = true;
|
|
31
|
+
this.ranPreview = false;
|
|
32
|
+
this._ensureScrollEnabledTimer = null;
|
|
33
|
+
this.isForceClosing = false;
|
|
34
|
+
this.state = {
|
|
35
|
+
leftActionActivated: false,
|
|
36
|
+
rightActionActivated: false,
|
|
37
|
+
leftActionState: this.props.initialLeftActionState || false,
|
|
38
|
+
rightActionState: this.props.initialRightActionState || false,
|
|
39
|
+
previewRepeatInterval: null,
|
|
40
|
+
timeBetweenPreviewRepeats: null,
|
|
41
|
+
dimensionsSet: false,
|
|
42
|
+
hiddenHeight: this.props.disableHiddenLayoutCalculation
|
|
43
|
+
? '100%'
|
|
44
|
+
: 0,
|
|
45
|
+
hiddenWidth: this.props.disableHiddenLayoutCalculation ? '100%' : 0,
|
|
46
|
+
};
|
|
47
|
+
this._translateX = new Animated.Value(0);
|
|
48
|
+
this._panResponder = PanResponder.create({
|
|
49
|
+
onMoveShouldSetPanResponder: (e, gs) => this.handleOnMoveShouldSetPanResponder(e, gs),
|
|
50
|
+
onPanResponderMove: (e, gs) => this.handlePanResponderMove(e, gs),
|
|
51
|
+
onPanResponderRelease: (e, gs) => this.handlePanResponderRelease(e, gs),
|
|
52
|
+
onPanResponderTerminate: (e, gs) => this.handlePanResponderEnd(e, gs),
|
|
53
|
+
onShouldBlockNativeResponder: () => false,
|
|
54
|
+
});
|
|
55
|
+
this._translateX.addListener(({ value }) => {
|
|
56
|
+
this.currentTranslateX = value;
|
|
57
|
+
if (this.props.onSwipeValueChange) {
|
|
58
|
+
let direction = this.previousTrackedDirection;
|
|
59
|
+
if (value !== this.previousTrackedTranslateX &&
|
|
60
|
+
Math.abs(value - this.previousTrackedTranslateX) > 0.5) {
|
|
61
|
+
direction =
|
|
62
|
+
value > this.previousTrackedTranslateX
|
|
63
|
+
? 'right'
|
|
64
|
+
: 'left';
|
|
65
|
+
}
|
|
66
|
+
this.props.onSwipeValueChange &&
|
|
67
|
+
this.props.onSwipeValueChange({
|
|
68
|
+
isOpen: this.isOpen,
|
|
69
|
+
direction,
|
|
70
|
+
value,
|
|
71
|
+
key: this.props.swipeKey,
|
|
72
|
+
});
|
|
73
|
+
this.previousTrackedTranslateX = value;
|
|
74
|
+
this.previousTrackedDirection = direction;
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
if (this.props.forceCloseToRightThreshold &&
|
|
78
|
+
this.props.forceCloseToRightThreshold > 0) {
|
|
79
|
+
this._translateX.addListener(({ value }) => {
|
|
80
|
+
if (!this.isForceClosing &&
|
|
81
|
+
Dimensions.get('window').width + value <
|
|
82
|
+
this.props.forceCloseToRightThreshold) {
|
|
83
|
+
this.isForceClosing = true;
|
|
84
|
+
this.forceCloseRow('right');
|
|
85
|
+
if (this.props.onForceCloseToRight) {
|
|
86
|
+
this.props.onForceCloseToRight();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
if (this.props.forceCloseToLeftThreshold &&
|
|
92
|
+
this.props.forceCloseToRightThreshold > 0) {
|
|
93
|
+
this._translateX.addListener(({ value }) => {
|
|
94
|
+
if (!this.isForceClosing &&
|
|
95
|
+
Dimensions.get('window').width - value <
|
|
96
|
+
this.props.forceCloseToLeftThreshold) {
|
|
97
|
+
this.isForceClosing = true;
|
|
98
|
+
this.forceCloseRow('left');
|
|
99
|
+
if (this.props.onForceCloseToLeft) {
|
|
100
|
+
this.props.onForceCloseToLeft();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
if (this.props.onLeftActionStatusChange &&
|
|
106
|
+
this.props.leftActivationValue &&
|
|
107
|
+
this.props.leftActivationValue > 0) {
|
|
108
|
+
this._translateX.addListener(({ value }) => {
|
|
109
|
+
const absValue = Math.abs(value);
|
|
110
|
+
const isActivated = absValue > this.props.leftActivationValue;
|
|
111
|
+
if (this.leftActionActivated !== isActivated && value > 0) {
|
|
112
|
+
this.props.onLeftActionStatusChange({
|
|
113
|
+
isActivated,
|
|
114
|
+
value,
|
|
115
|
+
key: this.props.swipeKey,
|
|
116
|
+
});
|
|
117
|
+
this.leftActionActivated = isActivated;
|
|
118
|
+
this.setState({
|
|
119
|
+
leftActionActivated: isActivated,
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
if (this.props.onRightActionStatusChange &&
|
|
125
|
+
this.props.rightActivationValue &&
|
|
126
|
+
this.props.rightActivationValue < 0) {
|
|
127
|
+
this._translateX.addListener(({ value }) => {
|
|
128
|
+
const absValue = Math.abs(value);
|
|
129
|
+
const isActivated = absValue > Math.abs(this.props.rightActivationValue);
|
|
130
|
+
if (this.rightActionActivated !== isActivated && value < 0) {
|
|
131
|
+
this.props.onRightActionStatusChange({
|
|
132
|
+
isActivated,
|
|
133
|
+
value,
|
|
134
|
+
key: this.props.swipeKey,
|
|
135
|
+
});
|
|
136
|
+
this.rightActionActivated = isActivated;
|
|
137
|
+
this.setState({
|
|
138
|
+
rightActionActivated: isActivated,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
componentWillUnmount() {
|
|
145
|
+
clearTimeout(this._ensureScrollEnabledTimer);
|
|
146
|
+
this._translateX.removeAllListeners();
|
|
147
|
+
}
|
|
148
|
+
shouldComponentUpdate(nextProps, nextState) {
|
|
149
|
+
if (this.state.hiddenHeight !== nextState.hiddenHeight ||
|
|
150
|
+
this.state.hiddenWidth !== nextState.hiddenWidth ||
|
|
151
|
+
this.state.leftActionActivated !== nextState.leftActionActivated ||
|
|
152
|
+
this.state.rightActionActivated !==
|
|
153
|
+
nextState.rightActionActivated ||
|
|
154
|
+
this.state.leftActionState !== nextState.leftActionState ||
|
|
155
|
+
this.state.rightActionState !== nextState.rightActionState ||
|
|
156
|
+
!this.props.shouldItemUpdate ||
|
|
157
|
+
(this.props.shouldItemUpdate &&
|
|
158
|
+
this.props.shouldItemUpdate(this.props.item, nextProps.item))) {
|
|
159
|
+
return true;
|
|
160
|
+
}
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
163
|
+
static getDerivedStateFromProps(nextProps, prevState) {
|
|
164
|
+
if (!nextProps.previewRepeat) {
|
|
165
|
+
clearInterval(prevState.previewRepeatInterval);
|
|
166
|
+
prevState.previewRepeatInterval = null;
|
|
167
|
+
}
|
|
168
|
+
prevState.timeBetweenPreviewRepeats =
|
|
169
|
+
nextProps.previewDuration * 2 +
|
|
170
|
+
nextProps.previewOpenDelay +
|
|
171
|
+
PREVIEW_CLOSE_DELAY +
|
|
172
|
+
nextProps.previewRepeatDelay;
|
|
173
|
+
return prevState;
|
|
174
|
+
}
|
|
175
|
+
getPreviewAnimation(toValue, delay) {
|
|
176
|
+
return Animated.timing(this._translateX, {
|
|
177
|
+
duration: this.props.previewDuration,
|
|
178
|
+
toValue,
|
|
179
|
+
delay,
|
|
180
|
+
useNativeDriver: this.props.useNativeDriver,
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
onContentLayout(e) {
|
|
184
|
+
this.setState({
|
|
185
|
+
dimensionsSet: !this.props.recalculateHiddenLayout,
|
|
186
|
+
...(!this.props.disableHiddenLayoutCalculation
|
|
187
|
+
? {
|
|
188
|
+
hiddenHeight: e.nativeEvent.layout.height,
|
|
189
|
+
hiddenWidth: e.nativeEvent.layout.width,
|
|
190
|
+
}
|
|
191
|
+
: {}),
|
|
192
|
+
});
|
|
193
|
+
if (this.props.preview && !this.ranPreview) {
|
|
194
|
+
this.ranPreview = true;
|
|
195
|
+
this.doFullAnimation();
|
|
196
|
+
if (this.props.previewRepeat) {
|
|
197
|
+
this.setState({
|
|
198
|
+
previewRepeatInterval: setInterval(() => {
|
|
199
|
+
this.doFullAnimation();
|
|
200
|
+
}, this.state.timeBetweenPreviewRepeats),
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
doFullAnimation() {
|
|
206
|
+
const previewOpenValue = this.props.previewOpenValue || this.props.rightOpenValue * 0.5;
|
|
207
|
+
return this.getPreviewAnimation(previewOpenValue, this.props.previewOpenDelay).start(() => {
|
|
208
|
+
this.getPreviewAnimation(0, PREVIEW_CLOSE_DELAY).start(() => {
|
|
209
|
+
this.props.onPreviewEnd && this.props.onPreviewEnd();
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
onRowPress() {
|
|
214
|
+
if (this.props.onRowPress) {
|
|
215
|
+
this.props.onRowPress();
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
if (this.props.closeOnRowPress) {
|
|
219
|
+
this.closeRow();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
handleOnMoveShouldSetPanResponder(e, gs) {
|
|
224
|
+
const { dx } = gs;
|
|
225
|
+
return Math.abs(dx) > this.props.directionalDistanceChangeThreshold;
|
|
226
|
+
}
|
|
227
|
+
handlePanResponderMove(e, gestureState) {
|
|
228
|
+
/* If the view is force closing, then ignore Moves. Return */
|
|
229
|
+
if (this.isForceClosing) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
/* Else, do normal job */
|
|
233
|
+
const { dx, dy } = gestureState;
|
|
234
|
+
const absDx = Math.abs(dx);
|
|
235
|
+
const absDy = Math.abs(dy);
|
|
236
|
+
// this check may not be necessary because we don't capture the move until we pass the threshold
|
|
237
|
+
// just being extra safe here
|
|
238
|
+
if (absDx > this.props.directionalDistanceChangeThreshold ||
|
|
239
|
+
absDy > this.props.directionalDistanceChangeThreshold) {
|
|
240
|
+
// we have enough to determine direction
|
|
241
|
+
if (absDy > absDx && !this.horizontalSwipeGestureBegan) {
|
|
242
|
+
// user is moving vertically, do nothing, listView will handle
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
// user is moving horizontally
|
|
246
|
+
if (this.parentScrollEnabled) {
|
|
247
|
+
// disable scrolling on the listView parent
|
|
248
|
+
this.parentScrollEnabled = false;
|
|
249
|
+
this.props.setScrollEnabled &&
|
|
250
|
+
this.props.setScrollEnabled(false);
|
|
251
|
+
}
|
|
252
|
+
if (this.swipeInitialX === null) {
|
|
253
|
+
// set tranlateX value when user started swiping
|
|
254
|
+
this.swipeInitialX = this.currentTranslateX;
|
|
255
|
+
}
|
|
256
|
+
if (!this.horizontalSwipeGestureBegan) {
|
|
257
|
+
this.horizontalSwipeGestureBegan = true;
|
|
258
|
+
this.props.swipeGestureBegan && this.props.swipeGestureBegan();
|
|
259
|
+
}
|
|
260
|
+
let newDX = this.swipeInitialX + dx;
|
|
261
|
+
if (this.props.disableLeftSwipe && newDX < 0) {
|
|
262
|
+
newDX = 0;
|
|
263
|
+
}
|
|
264
|
+
if (this.props.disableRightSwipe && newDX > 0) {
|
|
265
|
+
newDX = 0;
|
|
266
|
+
}
|
|
267
|
+
if (this.props.stopLeftSwipe && newDX > this.props.stopLeftSwipe) {
|
|
268
|
+
newDX = this.props.stopLeftSwipe;
|
|
269
|
+
}
|
|
270
|
+
if (this.props.stopRightSwipe &&
|
|
271
|
+
newDX < this.props.stopRightSwipe) {
|
|
272
|
+
newDX = this.props.stopRightSwipe;
|
|
273
|
+
}
|
|
274
|
+
this._translateX.setValue(newDX);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
ensureScrollEnabled = () => {
|
|
278
|
+
if (!this.parentScrollEnabled) {
|
|
279
|
+
this.parentScrollEnabled = true;
|
|
280
|
+
this.props.setScrollEnabled && this.props.setScrollEnabled(true);
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
handlePanResponderRelease(e, gestureState) {
|
|
284
|
+
this.props.swipeGestureEnded &&
|
|
285
|
+
this.props.swipeGestureEnded(this.props.swipeKey, {
|
|
286
|
+
translateX: this.currentTranslateX,
|
|
287
|
+
direction: this.previousTrackedDirection,
|
|
288
|
+
event: e,
|
|
289
|
+
gestureState,
|
|
290
|
+
});
|
|
291
|
+
// If preventDefault() called on the event, do not handle responder end.
|
|
292
|
+
if (!e.defaultPrevented) {
|
|
293
|
+
this.handlePanResponderEnd(e, gestureState);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
handlePanResponderEnd(e, gestureState) {
|
|
297
|
+
/* PanEnd will reset the force-closing state when it's true. */
|
|
298
|
+
if (this.isForceClosing) {
|
|
299
|
+
setTimeout(() => {
|
|
300
|
+
this.isForceClosing = false;
|
|
301
|
+
}, 500); // 500 is the default Animated.spring's duration used in manuallySwipeRow
|
|
302
|
+
}
|
|
303
|
+
// decide how much the velocity will affect the final position that the list item settles in.
|
|
304
|
+
const swipeToOpenVelocityContribution = this.props
|
|
305
|
+
.swipeToOpenVelocityContribution;
|
|
306
|
+
const possibleExtraPixels = this.props.rightOpenValue * swipeToOpenVelocityContribution;
|
|
307
|
+
const clampedVelocity = Math.min(gestureState.vx, MAX_VELOCITY_CONTRIBUTION);
|
|
308
|
+
const projectedExtraPixels = possibleExtraPixels * (clampedVelocity / MAX_VELOCITY_CONTRIBUTION);
|
|
309
|
+
// re-enable scrolling on listView parent
|
|
310
|
+
this._ensureScrollEnabledTimer = setTimeout(this.ensureScrollEnabled, SCROLL_LOCK_MILLISECONDS);
|
|
311
|
+
// finish up the animation
|
|
312
|
+
if (this.currentTranslateX >= 0) {
|
|
313
|
+
// trying to swipe right
|
|
314
|
+
// if (this.props.disableRightSwipe) {
|
|
315
|
+
// return;
|
|
316
|
+
// }
|
|
317
|
+
this.handleRightSwipe(projectedExtraPixels);
|
|
318
|
+
}
|
|
319
|
+
else {
|
|
320
|
+
// trying to swipe left
|
|
321
|
+
if (this.props.disableLeftSwipe) {
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
this.handleLeftSwipe(projectedExtraPixels);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
handleRightSwipe(projectedExtraPixels) {
|
|
328
|
+
let toValue = 0;
|
|
329
|
+
let actionSide;
|
|
330
|
+
const leftActionValue = this.props.leftActionValue || 0;
|
|
331
|
+
if (this.swipeInitialX < this.currentTranslateX) {
|
|
332
|
+
if (this.currentTranslateX - projectedExtraPixels >
|
|
333
|
+
this.props.leftOpenValue * (this.props.swipeToOpenPercent / 100)) {
|
|
334
|
+
// we're more than halfway
|
|
335
|
+
toValue = this.isForceClosing ? 0 : this.props.leftOpenValue;
|
|
336
|
+
}
|
|
337
|
+
if (this.currentTranslateX - projectedExtraPixels >
|
|
338
|
+
this.props.leftActivationValue) {
|
|
339
|
+
// we've passed the threshold to trigger the leftActionValue
|
|
340
|
+
toValue = this.isForceClosing ? 0 : leftActionValue;
|
|
341
|
+
actionSide = 'left';
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
else {
|
|
345
|
+
if (this.currentTranslateX - projectedExtraPixels >
|
|
346
|
+
this.props.leftOpenValue *
|
|
347
|
+
(1 - this.props.swipeToClosePercent / 100)) {
|
|
348
|
+
toValue = this.isForceClosing ? 0 : this.props.leftOpenValue;
|
|
349
|
+
}
|
|
350
|
+
if (this.currentTranslateX - projectedExtraPixels >
|
|
351
|
+
this.props.leftActivationValue) {
|
|
352
|
+
toValue = this.isForceClosing ? 0 : leftActionValue;
|
|
353
|
+
actionSide = 'left';
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
const action = this.determineAction(actionSide);
|
|
357
|
+
this.manuallySwipeRow(toValue, action);
|
|
358
|
+
}
|
|
359
|
+
handleLeftSwipe(projectedExtraPixels) {
|
|
360
|
+
let toValue = 0;
|
|
361
|
+
let actionSide;
|
|
362
|
+
const rightActionValue = this.props.rightActionValue || 0;
|
|
363
|
+
if (this.swipeInitialX > this.currentTranslateX) {
|
|
364
|
+
if (this.currentTranslateX - projectedExtraPixels <
|
|
365
|
+
this.props.rightOpenValue *
|
|
366
|
+
(this.props.swipeToOpenPercent / 100)) {
|
|
367
|
+
// we're more than halfway
|
|
368
|
+
toValue = this.isForceClosing ? 0 : this.props.rightOpenValue;
|
|
369
|
+
}
|
|
370
|
+
if (this.currentTranslateX - projectedExtraPixels <
|
|
371
|
+
this.props.rightActivationValue) {
|
|
372
|
+
// we've passed the threshold to trigger the rightActionValue
|
|
373
|
+
toValue = this.isForceClosing ? 0 : rightActionValue;
|
|
374
|
+
actionSide = 'right';
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
else {
|
|
378
|
+
if (this.currentTranslateX - projectedExtraPixels <
|
|
379
|
+
this.props.rightOpenValue) {
|
|
380
|
+
toValue = this.isForceClosing ? 0 : this.props.rightOpenValue;
|
|
381
|
+
}
|
|
382
|
+
if (this.currentTranslateX - projectedExtraPixels <
|
|
383
|
+
this.props.rightActivationValue *
|
|
384
|
+
(1 - this.props.swipeToClosePercent / 100)) {
|
|
385
|
+
toValue = this.isForceClosing ? 0 : rightActionValue;
|
|
386
|
+
actionSide = 'right';
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
const action = this.determineAction(actionSide);
|
|
390
|
+
this.manuallySwipeRow(toValue, action);
|
|
391
|
+
}
|
|
392
|
+
determineAction(actionSide) {
|
|
393
|
+
if (actionSide === 'right') {
|
|
394
|
+
return () => {
|
|
395
|
+
this.props.onRightAction && this.props.onRightAction();
|
|
396
|
+
this.setState({
|
|
397
|
+
rightActionState: !this.state.rightActionState,
|
|
398
|
+
});
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
if (actionSide === 'left') {
|
|
402
|
+
return () => {
|
|
403
|
+
this.props.onLeftAction && this.props.onLeftAction();
|
|
404
|
+
this.setState({
|
|
405
|
+
leftActionState: !this.state.leftActionState,
|
|
406
|
+
});
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
/*
|
|
411
|
+
* This method is called by SwipeListView
|
|
412
|
+
*/
|
|
413
|
+
closeRow() {
|
|
414
|
+
this.manuallySwipeRow(0);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Force close the row toward the end of the given direction.
|
|
418
|
+
* @param {String} direction The direction to force close.
|
|
419
|
+
*/
|
|
420
|
+
forceCloseRow(direction) {
|
|
421
|
+
this.manuallySwipeRow(0, () => {
|
|
422
|
+
if (direction === 'right' && this.props.onForceCloseToRightEnd) {
|
|
423
|
+
this.props.onForceCloseToRightEnd();
|
|
424
|
+
}
|
|
425
|
+
else if (direction === 'left' &&
|
|
426
|
+
this.props.onForceCloseToLeftEnd) {
|
|
427
|
+
this.props.onForceCloseToLeftEnd();
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
closeRowWithoutAnimation() {
|
|
432
|
+
this._translateX.setValue(0);
|
|
433
|
+
this.ensureScrollEnabled();
|
|
434
|
+
this.isOpen = false;
|
|
435
|
+
this.props.onRowDidClose && this.props.onRowDidClose();
|
|
436
|
+
this.props.onRowClose && this.props.onRowClose();
|
|
437
|
+
this.swipeInitialX = null;
|
|
438
|
+
this.horizontalSwipeGestureBegan = false;
|
|
439
|
+
}
|
|
440
|
+
manuallySwipeRow(toValue, onAnimationEnd) {
|
|
441
|
+
Animated.spring(this._translateX, {
|
|
442
|
+
toValue,
|
|
443
|
+
friction: this.props.friction,
|
|
444
|
+
tension: this.props.tension,
|
|
445
|
+
restSpeedThreshold: this.props.restSpeedThreshold,
|
|
446
|
+
restDisplacementThreshold: this.props.restDisplacementThreshold,
|
|
447
|
+
useNativeDriver: this.props.useNativeDriver,
|
|
448
|
+
}).start(() => {
|
|
449
|
+
this.ensureScrollEnabled();
|
|
450
|
+
if (toValue === 0) {
|
|
451
|
+
this.isOpen = false;
|
|
452
|
+
this.props.onRowDidClose && this.props.onRowDidClose();
|
|
453
|
+
}
|
|
454
|
+
else {
|
|
455
|
+
this.isOpen = true;
|
|
456
|
+
this.props.onRowDidOpen && this.props.onRowDidOpen(toValue);
|
|
457
|
+
}
|
|
458
|
+
if (onAnimationEnd) {
|
|
459
|
+
onAnimationEnd();
|
|
460
|
+
}
|
|
461
|
+
});
|
|
462
|
+
if (toValue === 0) {
|
|
463
|
+
this.props.onRowClose && this.props.onRowClose();
|
|
464
|
+
}
|
|
465
|
+
else {
|
|
466
|
+
this.props.onRowOpen && this.props.onRowOpen(toValue);
|
|
467
|
+
}
|
|
468
|
+
// reset everything
|
|
469
|
+
this.swipeInitialX = null;
|
|
470
|
+
this.horizontalSwipeGestureBegan = false;
|
|
471
|
+
}
|
|
472
|
+
combinedOnPress = (...args) => {
|
|
473
|
+
const onPress = this.props.children[1].props.onPress;
|
|
474
|
+
this.onRowPress();
|
|
475
|
+
onPress && onPress(...args);
|
|
476
|
+
};
|
|
477
|
+
renderVisibleContent() {
|
|
478
|
+
if (!this.props.closeOnRowPress) {
|
|
479
|
+
return React.cloneElement(this.props.children[1], {
|
|
480
|
+
...this.props.children[1].props,
|
|
481
|
+
leftActionActivated: this.state.leftActionActivated,
|
|
482
|
+
rightActionActivated: this.state.rightActionActivated,
|
|
483
|
+
leftActionState: this.state.leftActionState,
|
|
484
|
+
rightActionState: this.state.rightActionState,
|
|
485
|
+
swipeAnimatedValue: this._translateX,
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
// handle touchables
|
|
489
|
+
const onPress = this.props.children[1].props.onPress;
|
|
490
|
+
if (onPress) {
|
|
491
|
+
return React.cloneElement(this.props.children[1], {
|
|
492
|
+
...this.props.children[1].props,
|
|
493
|
+
onPress: this.combinedOnPress,
|
|
494
|
+
leftActionActivated: this.state.leftActionActivated,
|
|
495
|
+
rightActionActivated: this.state.rightActionActivated,
|
|
496
|
+
leftActionState: this.state.leftActionState,
|
|
497
|
+
rightActionState: this.state.rightActionState,
|
|
498
|
+
swipeAnimatedValue: this._translateX,
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
return (<TouchableOpacity activeOpacity={1} onPress={this.combinedOnPress} accessible={false}>
|
|
502
|
+
{React.cloneElement(this.props.children[1], {
|
|
503
|
+
...this.props.children[1].props,
|
|
504
|
+
leftActionActivated: this.state.leftActionActivated,
|
|
505
|
+
rightActionActivated: this.state.rightActionActivated,
|
|
506
|
+
leftActionState: this.state.leftActionState,
|
|
507
|
+
rightActionState: this.state.rightActionState,
|
|
508
|
+
swipeAnimatedValue: this._translateX,
|
|
509
|
+
})}
|
|
510
|
+
</TouchableOpacity>);
|
|
511
|
+
}
|
|
512
|
+
renderRowContent() {
|
|
513
|
+
// We do this annoying if statement for performance.
|
|
514
|
+
// We don't want the onLayout func to run after it runs once.
|
|
515
|
+
if (this.state.dimensionsSet) {
|
|
516
|
+
return (<Animated.View manipulationModes={['translateX']} {...this._panResponder.panHandlers} style={{
|
|
517
|
+
zIndex: 2,
|
|
518
|
+
transform: [{ translateX: this._translateX }],
|
|
519
|
+
}}>
|
|
520
|
+
{this.renderVisibleContent()}
|
|
521
|
+
</Animated.View>);
|
|
522
|
+
}
|
|
523
|
+
else {
|
|
524
|
+
return (<Animated.View manipulationModes={['translateX']} {...this._panResponder.panHandlers} onLayout={e => this.onContentLayout(e)} style={{
|
|
525
|
+
zIndex: 2,
|
|
526
|
+
transform: [{ translateX: this._translateX }],
|
|
527
|
+
}}>
|
|
528
|
+
{this.renderVisibleContent()}
|
|
529
|
+
</Animated.View>);
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
render() {
|
|
533
|
+
return (<View style={this.props.style ? this.props.style : styles.container}>
|
|
534
|
+
<View style={[
|
|
535
|
+
styles.hidden,
|
|
536
|
+
{
|
|
537
|
+
height: this.state.hiddenHeight,
|
|
538
|
+
width: this.state.hiddenWidth,
|
|
539
|
+
},
|
|
540
|
+
]}>
|
|
541
|
+
{React.cloneElement(this.props.children[0], {
|
|
542
|
+
...this.props.children[0].props,
|
|
543
|
+
leftActionActivated: this.state.leftActionActivated,
|
|
544
|
+
rightActionActivated: this.state.rightActionActivated,
|
|
545
|
+
leftActionState: this.state.leftActionState,
|
|
546
|
+
rightActionState: this.state.rightActionState,
|
|
547
|
+
swipeAnimatedValue: this._translateX,
|
|
548
|
+
})}
|
|
549
|
+
</View>
|
|
550
|
+
{this.renderRowContent()}
|
|
551
|
+
</View>);
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
const styles = StyleSheet.create({
|
|
555
|
+
container: {
|
|
556
|
+
// As of RN 0.29 flex: 1 is causing all rows to be the same height
|
|
557
|
+
// flex: 1
|
|
558
|
+
},
|
|
559
|
+
hidden: {
|
|
560
|
+
zIndex: 1,
|
|
561
|
+
bottom: 0,
|
|
562
|
+
left: 0,
|
|
563
|
+
overflow: 'hidden',
|
|
564
|
+
position: 'absolute',
|
|
565
|
+
right: 0,
|
|
566
|
+
top: 0,
|
|
567
|
+
},
|
|
568
|
+
});
|
|
569
|
+
SwipeRow.propTypes = {
|
|
570
|
+
/**
|
|
571
|
+
* Used by the SwipeListView to close rows on scroll events.
|
|
572
|
+
* You shouldn't need to use this prop explicitly.
|
|
573
|
+
*/
|
|
574
|
+
setScrollEnabled: PropTypes.func,
|
|
575
|
+
/**
|
|
576
|
+
* Called when it has been detected that a row should be swiped open.
|
|
577
|
+
*/
|
|
578
|
+
swipeGestureBegan: PropTypes.func,
|
|
579
|
+
/**
|
|
580
|
+
* Called when user has ended their swipe gesture
|
|
581
|
+
*/
|
|
582
|
+
swipeGestureEnded: PropTypes.func,
|
|
583
|
+
/**
|
|
584
|
+
* Called when a swipe row is animating open. Used by the SwipeListView
|
|
585
|
+
* to keep references to open rows.
|
|
586
|
+
*/
|
|
587
|
+
onRowOpen: PropTypes.func,
|
|
588
|
+
/**
|
|
589
|
+
* Called when a swipe row has animated open.
|
|
590
|
+
*/
|
|
591
|
+
onRowDidOpen: PropTypes.func,
|
|
592
|
+
/**
|
|
593
|
+
* TranslateX value for opening the row to the left (positive number)
|
|
594
|
+
*/
|
|
595
|
+
leftOpenValue: PropTypes.number,
|
|
596
|
+
/**
|
|
597
|
+
* TranslateX value for opening the row to the right (negative number)
|
|
598
|
+
*/
|
|
599
|
+
rightOpenValue: PropTypes.number,
|
|
600
|
+
/**
|
|
601
|
+
* TranslateX value for firing onLeftActionStatusChange (positive number)
|
|
602
|
+
*/
|
|
603
|
+
leftActivationValue: PropTypes.number,
|
|
604
|
+
/**
|
|
605
|
+
* TranslateX value for firing onRightActionStatusChange (negative number)
|
|
606
|
+
*/
|
|
607
|
+
rightActivationValue: PropTypes.number,
|
|
608
|
+
/**
|
|
609
|
+
* TranslateX value for left action to which the row will be shifted after gesture release
|
|
610
|
+
*/
|
|
611
|
+
leftActionValue: PropTypes.number,
|
|
612
|
+
/**
|
|
613
|
+
* TranslateX value for right action to which the row will be shifted after gesture release
|
|
614
|
+
*/
|
|
615
|
+
rightActionValue: PropTypes.number,
|
|
616
|
+
/**
|
|
617
|
+
* Initial value for left action state (default is false)
|
|
618
|
+
*/
|
|
619
|
+
initialLeftActionState: PropTypes.bool,
|
|
620
|
+
/**
|
|
621
|
+
* Initial value for right action state (default is false)
|
|
622
|
+
*/
|
|
623
|
+
initialRightActionState: PropTypes.bool,
|
|
624
|
+
/**
|
|
625
|
+
* TranslateX value for stop the row to the left (positive number)
|
|
626
|
+
*/
|
|
627
|
+
stopLeftSwipe: PropTypes.number,
|
|
628
|
+
/**
|
|
629
|
+
* TranslateX value for stop the row to the right (negative number)
|
|
630
|
+
*/
|
|
631
|
+
stopRightSwipe: PropTypes.number,
|
|
632
|
+
/**
|
|
633
|
+
* Friction for the open / close animation
|
|
634
|
+
*/
|
|
635
|
+
friction: PropTypes.number,
|
|
636
|
+
/**
|
|
637
|
+
* Tension for the open / close animation
|
|
638
|
+
*/
|
|
639
|
+
tension: PropTypes.number,
|
|
640
|
+
/**
|
|
641
|
+
* RestSpeedThreshold for the open / close animation
|
|
642
|
+
*/
|
|
643
|
+
restSpeedThreshold: PropTypes.number,
|
|
644
|
+
/**
|
|
645
|
+
* RestDisplacementThreshold for the open / close animation
|
|
646
|
+
*/
|
|
647
|
+
restDisplacementThreshold: PropTypes.number,
|
|
648
|
+
/**
|
|
649
|
+
* Should the row be closed when it is tapped
|
|
650
|
+
*/
|
|
651
|
+
closeOnRowPress: PropTypes.bool,
|
|
652
|
+
/**
|
|
653
|
+
* Disable ability to swipe the row left
|
|
654
|
+
*/
|
|
655
|
+
disableLeftSwipe: PropTypes.bool,
|
|
656
|
+
/**
|
|
657
|
+
* Disable ability to swipe the row right
|
|
658
|
+
*/
|
|
659
|
+
disableRightSwipe: PropTypes.bool,
|
|
660
|
+
/**
|
|
661
|
+
* Enable hidden row onLayout calculations to run always
|
|
662
|
+
*/
|
|
663
|
+
recalculateHiddenLayout: PropTypes.bool,
|
|
664
|
+
/**
|
|
665
|
+
* Disable hidden row onLayout calculations
|
|
666
|
+
*/
|
|
667
|
+
disableHiddenLayoutCalculation: PropTypes.bool,
|
|
668
|
+
/**
|
|
669
|
+
* Called when a swipe row is animating closed
|
|
670
|
+
*/
|
|
671
|
+
onRowClose: PropTypes.func,
|
|
672
|
+
/**
|
|
673
|
+
* Called when a swipe row has animated closed
|
|
674
|
+
*/
|
|
675
|
+
onRowDidClose: PropTypes.func,
|
|
676
|
+
/**
|
|
677
|
+
* Called when row shifted to leftActivationValue
|
|
678
|
+
*/
|
|
679
|
+
onLeftAction: PropTypes.func,
|
|
680
|
+
/**
|
|
681
|
+
* Called when row shifted to rightActivationValue
|
|
682
|
+
*/
|
|
683
|
+
onRightAction: PropTypes.func,
|
|
684
|
+
/**
|
|
685
|
+
* Called once when swipe value crosses the leftActivationValue
|
|
686
|
+
*/
|
|
687
|
+
onLeftActionStatusChange: PropTypes.func,
|
|
688
|
+
/**
|
|
689
|
+
* Called once when swipe value crosses the rightActivationValue
|
|
690
|
+
*/
|
|
691
|
+
onRightActionStatusChange: PropTypes.func,
|
|
692
|
+
/**
|
|
693
|
+
* Styles for the parent wrapper View of the SwipeRow
|
|
694
|
+
*/
|
|
695
|
+
style: PropTypes.object,
|
|
696
|
+
/**
|
|
697
|
+
* Should the row do a slide out preview to show that it is swipeable
|
|
698
|
+
*/
|
|
699
|
+
preview: PropTypes.bool,
|
|
700
|
+
/**
|
|
701
|
+
* Duration of the slide out preview animation
|
|
702
|
+
*/
|
|
703
|
+
previewDuration: PropTypes.number,
|
|
704
|
+
/**
|
|
705
|
+
* Should the animation repeat until false is provided
|
|
706
|
+
*/
|
|
707
|
+
previewRepeat: PropTypes.bool,
|
|
708
|
+
/**
|
|
709
|
+
* Time between each full completed animation in milliseconds
|
|
710
|
+
* Default: 1000 (1 second)
|
|
711
|
+
*/
|
|
712
|
+
previewRepeatDelay: PropTypes.number,
|
|
713
|
+
/**
|
|
714
|
+
* TranslateX value for the slide out preview animation
|
|
715
|
+
* Default: 0.5 * props.rightOpenValue
|
|
716
|
+
*/
|
|
717
|
+
previewOpenValue: PropTypes.number,
|
|
718
|
+
/**
|
|
719
|
+
* The dx value used to detect when a user has begun a swipe gesture
|
|
720
|
+
*/
|
|
721
|
+
directionalDistanceChangeThreshold: PropTypes.number,
|
|
722
|
+
/**
|
|
723
|
+
* What % of the left/right openValue does the user need to swipe
|
|
724
|
+
* past to trigger the row opening.
|
|
725
|
+
*/
|
|
726
|
+
swipeToOpenPercent: PropTypes.number,
|
|
727
|
+
/**
|
|
728
|
+
* Describes how much the ending velocity of the gesture contributes to whether the swipe will result in the item being closed or open.
|
|
729
|
+
* A velocity factor of 0 means that the velocity will have no bearing on whether the swipe settles on a closed or open position
|
|
730
|
+
* and it'll just take into consideration the swipeToOpenPercent.
|
|
731
|
+
*/
|
|
732
|
+
swipeToOpenVelocityContribution: PropTypes.number,
|
|
733
|
+
/**
|
|
734
|
+
* What % of the left/right openValue does the user need to swipe
|
|
735
|
+
* past to trigger the row closing.
|
|
736
|
+
*/
|
|
737
|
+
swipeToClosePercent: PropTypes.number,
|
|
738
|
+
/**
|
|
739
|
+
* callback to determine whether component should update (currentItem, newItem)
|
|
740
|
+
*/
|
|
741
|
+
shouldItemUpdate: PropTypes.func,
|
|
742
|
+
/**
|
|
743
|
+
* Callback invoked any time the swipe value of the row is changed
|
|
744
|
+
*/
|
|
745
|
+
onSwipeValueChange: PropTypes.func,
|
|
746
|
+
/**
|
|
747
|
+
* TranslateX amount(not value!) threshold that triggers force-closing the row to the Left End (positive number)
|
|
748
|
+
*/
|
|
749
|
+
forceCloseToLeftThreshold: PropTypes.number,
|
|
750
|
+
/**
|
|
751
|
+
* TranslateX amount(not value!) threshold that triggers force-closing the row to the Right End (positive number)
|
|
752
|
+
*/
|
|
753
|
+
forceCloseToRightThreshold: PropTypes.number,
|
|
754
|
+
/**
|
|
755
|
+
* Callback invoked when row is force closing to the Left End
|
|
756
|
+
*/
|
|
757
|
+
onForceCloseToLeft: PropTypes.func,
|
|
758
|
+
/**
|
|
759
|
+
* Callback invoked when row is force closing to the Right End
|
|
760
|
+
*/
|
|
761
|
+
onForceCloseToRight: PropTypes.func,
|
|
762
|
+
/**
|
|
763
|
+
* Callback invoked when row has finished force closing to the Left End
|
|
764
|
+
*/
|
|
765
|
+
onForceCloseToLeftEnd: PropTypes.func,
|
|
766
|
+
/**
|
|
767
|
+
* Callback invoked when row has finished force closing to the Right End
|
|
768
|
+
*/
|
|
769
|
+
onForceCloseToRightEnd: PropTypes.func,
|
|
770
|
+
/**
|
|
771
|
+
* useNativeDriver: true for all animations where possible
|
|
772
|
+
*/
|
|
773
|
+
useNativeDriver: PropTypes.bool,
|
|
774
|
+
/**
|
|
775
|
+
* Children
|
|
776
|
+
*/
|
|
777
|
+
children: PropTypes.node.isRequired,
|
|
778
|
+
/**
|
|
779
|
+
* Key used to identify rows on swipe value changes
|
|
780
|
+
*/
|
|
781
|
+
swipeKey: PropTypes.string,
|
|
782
|
+
/**
|
|
783
|
+
* Callback that runs after row swipe preview is finished
|
|
784
|
+
*/
|
|
785
|
+
onPreviewEnd: PropTypes.func,
|
|
786
|
+
};
|
|
787
|
+
SwipeRow.defaultProps = {
|
|
788
|
+
leftOpenValue: 0,
|
|
789
|
+
rightOpenValue: 0,
|
|
790
|
+
closeOnRowPress: true,
|
|
791
|
+
disableLeftSwipe: false,
|
|
792
|
+
disableRightSwipe: false,
|
|
793
|
+
recalculateHiddenLayout: false,
|
|
794
|
+
disableHiddenLayoutCalculation: false,
|
|
795
|
+
preview: false,
|
|
796
|
+
previewDuration: 300,
|
|
797
|
+
previewOpenDelay: DEFAULT_PREVIEW_OPEN_DELAY,
|
|
798
|
+
directionalDistanceChangeThreshold: 2,
|
|
799
|
+
swipeToOpenPercent: 50,
|
|
800
|
+
swipeToOpenVelocityContribution: 0,
|
|
801
|
+
swipeToClosePercent: 50,
|
|
802
|
+
item: {},
|
|
803
|
+
useNativeDriver: true,
|
|
804
|
+
previewRepeat: false,
|
|
805
|
+
previewRepeatDelay: 1000,
|
|
806
|
+
};
|
|
807
|
+
export default SwipeRow;
|
|
808
|
+
//# sourceMappingURL=SwipeRow.js.map
|