@cometchat/chat-uikit-react-native 4.2.2 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- 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/misc.xml +1 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/reactnativecometchatuikit/CometchatUiKitPackage.java +2 -1
- package/android/src/main/java/com/reactnativecometchatuikit/ReactVideoView.java +796 -0
- package/android/src/main/java/com/reactnativecometchatuikit/ReactVideoViewManager.java +172 -0
- package/android/src/main/java/com/scalablevideoview/BuildConfig.java +10 -0
- package/android/src/main/java/com/scalablevideoview/PivotPoint.java +13 -0
- package/android/src/main/java/com/scalablevideoview/ScalableType.java +34 -0
- package/android/src/main/java/com/scalablevideoview/ScalableVideoView.java +255 -0
- package/android/src/main/java/com/scalablevideoview/ScaleManager.java +188 -0
- package/android/src/main/java/com/scalablevideoview/Size.java +20 -0
- package/android/src/main/java/com/zipfile/APEZProvider.java +287 -0
- package/android/src/main/java/com/zipfile/APKExpansionSupport.java +81 -0
- package/android/src/main/java/com/zipfile/ZipResourceFile.java +428 -0
- package/android/src/main/res/values/attrs.xml +37 -0
- package/ios/Video/CCRCTVideo.h +67 -0
- package/ios/Video/CCRCTVideo.m +2031 -0
- package/ios/Video/CCRCTVideoManager.h +6 -0
- package/ios/Video/CCRCTVideoManager.m +133 -0
- package/ios/Video/CCRCTVideoPlayerViewController.h +20 -0
- package/ios/Video/CCRCTVideoPlayerViewController.m +43 -0
- package/ios/Video/CCRCTVideoPlayerViewControllerDelegate.h +7 -0
- package/ios/Video/UIView+FindUIViewController.h +15 -0
- package/ios/Video/UIView+FindUIViewController.m +21 -0
- package/ios/VideoCaching/RCTVideoCache.h +38 -0
- package/ios/VideoCaching/RCTVideoCache.m +174 -0
- package/ios/VideoPickerModule.h +7 -0
- package/ios/VideoPickerModule.mm +95 -0
- 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/{src/extensions/Reactions/CometChatMessageReactions/index.ts → lib/extensions/Reactions/CometChatMessageReactions/index.d.ts} +0 -1
- 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/{src/extensions/Reactions/index.ts → lib/extensions/Reactions/index.d.ts} +0 -1
- 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.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 +2 -2
- package/react-native-cometchat-ui-kit.podspec +24 -10
- package/src/CometChatConversations/CometChatConversations.tsx +0 -1
- package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +36 -15
- package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +9 -2
- package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +1 -1
- package/src/CometChatMessageList/CometChatMessageList.tsx +563 -173
- package/src/CometChatMessageList/MessageListConfiguration.ts +55 -4
- package/src/CometChatMessageList/resources/index.ts +5 -1
- package/src/CometChatMessageList/resources/leftarrowcurve.png +0 -0
- package/src/CometChatMessageList/resources/rightarrowcurve.png +0 -0
- package/src/CometChatMessages/CometChatMessages.tsx +1 -0
- package/src/CometChatThreadedMessages/CometChatThreadedMessages.tsx +4 -12
- package/src/CometChatThreadedMessages/style.ts +3 -1
- package/src/calls/CometChatCallBubble/styles.ts +2 -1
- package/src/calls/CometChatIncomingCall/CometChatIncomingCall.tsx +9 -9
- package/src/calls/CometChatOutgoingCall/CometChatOutgoingCall.tsx +80 -73
- package/src/extensions/CollaborativeBubble/styles.ts +2 -0
- package/src/extensions/index.ts +0 -4
- package/src/index.ts +53 -8
- package/src/shared/CometChatUiKit/CometChatUIKit.ts +0 -2
- package/src/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.ts +6 -0
- package/src/shared/events/CometChatUIEventHandler/Listener.ts +8 -0
- package/src/shared/events/ListenerInitializer.ts +6 -0
- package/src/shared/events/messages.ts +2 -0
- package/src/shared/framework/MessageDataSource.tsx +28 -24
- package/src/shared/index.ts +49 -1
- package/src/shared/libs/VideoPlayer/DRMType.js +6 -0
- package/src/shared/libs/VideoPlayer/FilterType.js +18 -0
- package/src/shared/libs/VideoPlayer/TextTrackType.js +5 -0
- package/src/shared/libs/VideoPlayer/Video.js +519 -0
- package/src/shared/libs/VideoPlayer/VideoResizeMode.js +5 -0
- package/src/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.tsx +43 -0
- package/src/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.tsx +16 -0
- package/src/shared/libs/VideoPlayerControls/OSSupport/index.tsx +1 -0
- package/src/shared/libs/VideoPlayerControls/VideoPlayer.tsx +511 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/back.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/back@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/back@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/bottom-vignette.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/error-icon.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/error-icon@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/error-icon@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/expand.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/expand@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/expand@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/forward.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/forward@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/forward@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/loader-icon.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/loader-icon@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/loader-icon@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/pause.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/pause@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/pause@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/play.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/play@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/play@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/rewind.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/rewind@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/rewind@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/shrink.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/shrink@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/shrink@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/top-vignette.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/top-vignette@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/top-vignette@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/volume.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/volume@2x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/assets/img/volume@3x.png +0 -0
- package/src/shared/libs/VideoPlayerControls/components/Back/Back.tsx +28 -0
- package/src/shared/libs/VideoPlayerControls/components/Back/index.ts +1 -0
- package/src/shared/libs/VideoPlayerControls/components/BottomControls.tsx +142 -0
- package/src/shared/libs/VideoPlayerControls/components/Control.tsx +45 -0
- package/src/shared/libs/VideoPlayerControls/components/Error/Error.tsx +22 -0
- package/src/shared/libs/VideoPlayerControls/components/Error/index.ts +1 -0
- package/src/shared/libs/VideoPlayerControls/components/Error/styles.ts +21 -0
- package/src/shared/libs/VideoPlayerControls/components/Fullscreen.tsx +36 -0
- package/src/shared/libs/VideoPlayerControls/components/Loader/Loader.tsx +15 -0
- package/src/shared/libs/VideoPlayerControls/components/Loader/index.ts +1 -0
- package/src/shared/libs/VideoPlayerControls/components/Loader/styles.ts +16 -0
- package/src/shared/libs/VideoPlayerControls/components/NullControl.tsx +7 -0
- package/src/shared/libs/VideoPlayerControls/components/Overlay.tsx +23 -0
- package/src/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.tsx +109 -0
- package/src/shared/libs/VideoPlayerControls/components/PlayPause/index.ts +1 -0
- package/src/shared/libs/VideoPlayerControls/components/PlayPause/styles.ts +21 -0
- package/src/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.tsx +47 -0
- package/src/shared/libs/VideoPlayerControls/components/Seekbar/index.ts +1 -0
- package/src/shared/libs/VideoPlayerControls/components/Seekbar/styles.ts +37 -0
- package/src/shared/libs/VideoPlayerControls/components/Timer/Timer.tsx +28 -0
- package/src/shared/libs/VideoPlayerControls/components/Timer/index.ts +1 -0
- package/src/shared/libs/VideoPlayerControls/components/Timer/styles.ts +12 -0
- package/src/shared/libs/VideoPlayerControls/components/Title.tsx +35 -0
- package/src/shared/libs/VideoPlayerControls/components/TopControls.tsx +110 -0
- package/src/shared/libs/VideoPlayerControls/components/Volume/Volume.tsx +37 -0
- package/src/shared/libs/VideoPlayerControls/components/Volume/index.ts +1 -0
- package/src/shared/libs/VideoPlayerControls/components/Volume/styles.ts +31 -0
- package/src/shared/libs/VideoPlayerControls/components/index.ts +14 -0
- package/src/shared/libs/VideoPlayerControls/components/styles.ts +30 -0
- package/src/shared/libs/VideoPlayerControls/hooks/index.ts +3 -0
- package/src/shared/libs/VideoPlayerControls/hooks/useAnimations.ts +68 -0
- package/src/shared/libs/VideoPlayerControls/hooks/useControlTimeout.tsx +67 -0
- package/src/shared/libs/VideoPlayerControls/hooks/usePanResponders.tsx +96 -0
- package/src/shared/libs/VideoPlayerControls/index.ts +4 -0
- package/src/shared/libs/VideoPlayerControls/styles.ts +19 -0
- package/src/shared/libs/VideoPlayerControls/types.ts +290 -0
- package/src/shared/libs/VideoPlayerControls/utils.ts +76 -0
- package/src/shared/modals/CometChatMessageTemplate.ts +113 -9
- package/src/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.ts +23 -21
- package/src/shared/resources/CometChatLocalize/resources/ar/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/de/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/en/translation.json +5 -3
- package/src/shared/resources/CometChatLocalize/resources/es/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/fr/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/hi/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/lt/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/ms/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/pt/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/ru/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/sv/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/zh/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +3 -1
- package/src/shared/resources/CometChatTheme/Palette.ts +79 -40
- package/src/shared/resources/CometChatTheme/Typography.ts +18 -0
- package/src/shared/utils/CommonUtils.ts +45 -0
- package/src/shared/views/CometChatActionSheet/ActionSheetStyle.ts +3 -1
- package/src/shared/views/CometChatActionSheet/CometChatActionSheet.tsx +6 -6
- package/src/shared/views/CometChatAudioBubble/CometChatAudioBubble.tsx +28 -5
- package/src/shared/views/CometChatAudioBubble/style.ts +4 -2
- package/src/shared/views/CometChatAvatar/AvatarStyle.ts +1 -1
- package/src/shared/views/CometChatBottomSheet/CometChatBottomSheet.tsx +4 -3
- package/src/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.tsx +47 -31
- package/src/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.ts +5 -5
- package/src/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.ts +12 -13
- package/src/shared/views/CometChatFileBubble/CometChatFileBubble.tsx +52 -5
- package/src/shared/views/CometChatFileBubble/style.ts +4 -2
- package/src/shared/views/CometChatImageBubble/CometChatImageBubble.tsx +25 -2
- package/src/shared/views/CometChatList/CometChatList.tsx +2 -1
- package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +51 -2
- package/src/shared/views/CometChatQuickReactions/CometChatQuickReactions.tsx +76 -0
- package/src/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.tsx +12 -0
- package/src/shared/views/CometChatQuickReactions/QuickReactionsStyle.tsx +35 -0
- package/src/shared/views/CometChatQuickReactions/index.ts +12 -0
- package/src/shared/views/CometChatReactions/CometChatReactions.tsx +166 -0
- package/src/shared/views/CometChatReactions/ReactionsConfiguration.tsx +12 -0
- package/src/shared/views/CometChatReactions/ReactionsStyle.tsx +43 -0
- package/src/shared/views/CometChatReactions/index.ts +12 -0
- package/src/{extensions/Reactions/CometChatMessageReactions → shared/views/CometChatReactions}/style.ts +7 -7
- package/src/shared/views/CometChatReactionsList/CometChatReactionsList.tsx +335 -0
- package/src/shared/views/CometChatReactionsList/ReactionsListConfiguration.tsx +14 -0
- package/src/shared/views/CometChatReactionsList/ReactionsListStyle.tsx +67 -0
- package/src/shared/views/CometChatReactionsList/index.ts +12 -0
- package/src/shared/views/CometChatReactionsList/resources/Spineer.png +0 -0
- package/src/shared/views/CometChatReactionsList/resources/index.ts +5 -0
- package/src/shared/views/CometChatReceipt/CometChatReceipt.tsx +21 -4
- package/src/shared/views/CometChatReceipt/MessageConfiguration.ts +12 -0
- package/src/shared/views/CometChatTextBubble/CometChatTextBubble.tsx +1 -1
- package/src/shared/views/CometChatVideoBubble/CometChatVideoBubble.tsx +78 -12
- package/src/shared/views/CometChatVideoBubble/VideoBubbleStyle.ts +52 -2
- package/src/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.tsx +134 -0
- package/src/shared/views/CometChatVideoPlayer/index.tsx +1 -0
- package/src/shared/views/index.ts +30 -0
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.idea/modules/android.iml +0 -18
- package/android/.idea/modules.xml +0 -8
- package/android/local.properties +0 -8
- package/src/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.tsx +0 -249
- package/src/extensions/Reactions/ReactionsDecorator.tsx +0 -164
- package/src/extensions/Reactions/ReactionsExtension.tsx +0 -48
- /package/{android/.gradle/7.4.2/gc.properties → lib/shared/views/CometChatMessageBubble/style.d.ts} +0 -0
- /package/src/{extensions/Reactions → shared/views/CometChatQuickReactions}/resources/AddReactions.png +0 -0
- /package/src/{extensions/Reactions → shared/views/CometChatQuickReactions}/resources/index.ts +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
#import "CCRCTVideoManager.h"
|
|
2
|
+
#import "CCRCTVideo.h"
|
|
3
|
+
#import <React/RCTBridge.h>
|
|
4
|
+
#import <React/RCTUIManager.h>
|
|
5
|
+
#import <AVFoundation/AVFoundation.h>
|
|
6
|
+
|
|
7
|
+
@implementation CCRCTVideoManager
|
|
8
|
+
|
|
9
|
+
RCT_EXPORT_MODULE();
|
|
10
|
+
|
|
11
|
+
- (UIView *)view
|
|
12
|
+
{
|
|
13
|
+
return [[CCRCTVideo alloc] initWithEventDispatcher:self.bridge.eventDispatcher];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
- (dispatch_queue_t)methodQueue
|
|
17
|
+
{
|
|
18
|
+
return self.bridge.uiManager.methodQueue;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
RCT_EXPORT_VIEW_PROPERTY(src, NSDictionary);
|
|
22
|
+
RCT_EXPORT_VIEW_PROPERTY(drm, NSDictionary);
|
|
23
|
+
RCT_EXPORT_VIEW_PROPERTY(maxBitRate, float);
|
|
24
|
+
RCT_EXPORT_VIEW_PROPERTY(resizeMode, NSString);
|
|
25
|
+
RCT_EXPORT_VIEW_PROPERTY(repeat, BOOL);
|
|
26
|
+
RCT_EXPORT_VIEW_PROPERTY(automaticallyWaitsToMinimizeStalling, BOOL);
|
|
27
|
+
RCT_EXPORT_VIEW_PROPERTY(allowsExternalPlayback, BOOL);
|
|
28
|
+
RCT_EXPORT_VIEW_PROPERTY(textTracks, NSArray);
|
|
29
|
+
RCT_EXPORT_VIEW_PROPERTY(selectedTextTrack, NSDictionary);
|
|
30
|
+
RCT_EXPORT_VIEW_PROPERTY(selectedAudioTrack, NSDictionary);
|
|
31
|
+
RCT_EXPORT_VIEW_PROPERTY(paused, BOOL);
|
|
32
|
+
RCT_EXPORT_VIEW_PROPERTY(muted, BOOL);
|
|
33
|
+
RCT_EXPORT_VIEW_PROPERTY(controls, BOOL);
|
|
34
|
+
RCT_EXPORT_VIEW_PROPERTY(volume, float);
|
|
35
|
+
RCT_EXPORT_VIEW_PROPERTY(playInBackground, BOOL);
|
|
36
|
+
RCT_EXPORT_VIEW_PROPERTY(preventsDisplaySleepDuringVideoPlayback, BOOL);
|
|
37
|
+
RCT_EXPORT_VIEW_PROPERTY(preferredForwardBufferDuration, float);
|
|
38
|
+
RCT_EXPORT_VIEW_PROPERTY(playWhenInactive, BOOL);
|
|
39
|
+
RCT_EXPORT_VIEW_PROPERTY(pictureInPicture, BOOL);
|
|
40
|
+
RCT_EXPORT_VIEW_PROPERTY(ignoreSilentSwitch, NSString);
|
|
41
|
+
RCT_EXPORT_VIEW_PROPERTY(mixWithOthers, NSString);
|
|
42
|
+
RCT_EXPORT_VIEW_PROPERTY(rate, float);
|
|
43
|
+
RCT_EXPORT_VIEW_PROPERTY(seek, NSDictionary);
|
|
44
|
+
RCT_EXPORT_VIEW_PROPERTY(currentTime, float);
|
|
45
|
+
RCT_EXPORT_VIEW_PROPERTY(fullscreen, BOOL);
|
|
46
|
+
RCT_EXPORT_VIEW_PROPERTY(fullscreenAutorotate, BOOL);
|
|
47
|
+
RCT_EXPORT_VIEW_PROPERTY(fullscreenOrientation, NSString);
|
|
48
|
+
RCT_EXPORT_VIEW_PROPERTY(filter, NSString);
|
|
49
|
+
RCT_EXPORT_VIEW_PROPERTY(filterEnabled, BOOL);
|
|
50
|
+
RCT_EXPORT_VIEW_PROPERTY(progressUpdateInterval, float);
|
|
51
|
+
RCT_EXPORT_VIEW_PROPERTY(restoreUserInterfaceForPIPStopCompletionHandler, BOOL);
|
|
52
|
+
/* Should support: onLoadStart, onLoad, and onError to stay consistent with Image */
|
|
53
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoLoadStart, RCTDirectEventBlock);
|
|
54
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoLoad, RCTDirectEventBlock);
|
|
55
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoBuffer, RCTDirectEventBlock);
|
|
56
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoError, RCTDirectEventBlock);
|
|
57
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoProgress, RCTDirectEventBlock);
|
|
58
|
+
RCT_EXPORT_VIEW_PROPERTY(onBandwidthUpdate, RCTDirectEventBlock);
|
|
59
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoSeek, RCTDirectEventBlock);
|
|
60
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoEnd, RCTDirectEventBlock);
|
|
61
|
+
RCT_EXPORT_VIEW_PROPERTY(onTimedMetadata, RCTDirectEventBlock);
|
|
62
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoAudioBecomingNoisy, RCTDirectEventBlock);
|
|
63
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoFullscreenPlayerWillPresent, RCTDirectEventBlock);
|
|
64
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoFullscreenPlayerDidPresent, RCTDirectEventBlock);
|
|
65
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoFullscreenPlayerWillDismiss, RCTDirectEventBlock);
|
|
66
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoFullscreenPlayerDidDismiss, RCTDirectEventBlock);
|
|
67
|
+
RCT_EXPORT_VIEW_PROPERTY(onReadyForDisplay, RCTDirectEventBlock);
|
|
68
|
+
RCT_EXPORT_VIEW_PROPERTY(onPlaybackStalled, RCTDirectEventBlock);
|
|
69
|
+
RCT_EXPORT_VIEW_PROPERTY(onPlaybackResume, RCTDirectEventBlock);
|
|
70
|
+
RCT_EXPORT_VIEW_PROPERTY(onPlaybackRateChange, RCTDirectEventBlock);
|
|
71
|
+
RCT_EXPORT_VIEW_PROPERTY(onVideoExternalPlaybackChange, RCTDirectEventBlock);
|
|
72
|
+
RCT_EXPORT_VIEW_PROPERTY(onGetLicense, RCTDirectEventBlock);
|
|
73
|
+
RCT_REMAP_METHOD(save,
|
|
74
|
+
options:(NSDictionary *)options
|
|
75
|
+
reactTag:(nonnull NSNumber *)reactTag
|
|
76
|
+
resolver:(RCTPromiseResolveBlock)resolve
|
|
77
|
+
rejecter:(RCTPromiseRejectBlock)reject)
|
|
78
|
+
{
|
|
79
|
+
[self.bridge.uiManager prependUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, CCRCTVideo *> *viewRegistry) {
|
|
80
|
+
CCRCTVideo *view = viewRegistry[reactTag];
|
|
81
|
+
if (![view isKindOfClass:[CCRCTVideo class]]) {
|
|
82
|
+
RCTLogError(@"Invalid view returned from registry, expecting RCTVideo, got: %@", view);
|
|
83
|
+
} else {
|
|
84
|
+
[view save:options resolve:resolve reject:reject];
|
|
85
|
+
}
|
|
86
|
+
}];
|
|
87
|
+
};
|
|
88
|
+
RCT_REMAP_METHOD(setLicenseResult,
|
|
89
|
+
license:(NSString *)license
|
|
90
|
+
reactTag:(nonnull NSNumber *)reactTag)
|
|
91
|
+
{
|
|
92
|
+
[self.bridge.uiManager prependUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, CCRCTVideo *> *viewRegistry) {
|
|
93
|
+
CCRCTVideo *view = viewRegistry[reactTag];
|
|
94
|
+
if (![view isKindOfClass:[CCRCTVideo class]]) {
|
|
95
|
+
RCTLogError(@"Invalid view returned from registry, expecting RCTVideo, got: %@", view);
|
|
96
|
+
} else {
|
|
97
|
+
[view setLicenseResult:license];
|
|
98
|
+
}
|
|
99
|
+
}];
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
RCT_REMAP_METHOD(setLicenseResultError,
|
|
103
|
+
error:(NSString *)error
|
|
104
|
+
reactTag:(nonnull NSNumber *)reactTag)
|
|
105
|
+
{
|
|
106
|
+
[self.bridge.uiManager prependUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, CCRCTVideo *> *viewRegistry) {
|
|
107
|
+
CCRCTVideo *view = viewRegistry[reactTag];
|
|
108
|
+
if (![view isKindOfClass:[CCRCTVideo class]]) {
|
|
109
|
+
RCTLogError(@"Invalid view returned from registry, expecting RCTVideo, got: %@", view);
|
|
110
|
+
} else {
|
|
111
|
+
[view setLicenseResultError:error];
|
|
112
|
+
}
|
|
113
|
+
}];
|
|
114
|
+
};
|
|
115
|
+
RCT_EXPORT_VIEW_PROPERTY(onPictureInPictureStatusChanged, RCTDirectEventBlock);
|
|
116
|
+
RCT_EXPORT_VIEW_PROPERTY(onRestoreUserInterfaceForPictureInPictureStop, RCTDirectEventBlock);
|
|
117
|
+
|
|
118
|
+
- (NSDictionary *)constantsToExport
|
|
119
|
+
{
|
|
120
|
+
return @{
|
|
121
|
+
@"ScaleNone": AVLayerVideoGravityResizeAspect,
|
|
122
|
+
@"ScaleToFill": AVLayerVideoGravityResize,
|
|
123
|
+
@"ScaleAspectFit": AVLayerVideoGravityResizeAspect,
|
|
124
|
+
@"ScaleAspectFill": AVLayerVideoGravityResizeAspectFill
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
+ (BOOL)requiresMainQueueSetup
|
|
129
|
+
{
|
|
130
|
+
return YES;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//
|
|
2
|
+
// RCTVideoPlayerViewController.h
|
|
3
|
+
// RCTVideo
|
|
4
|
+
//
|
|
5
|
+
// Created by Stanisław Chmiela on 31.03.2016.
|
|
6
|
+
// Copyright © 2016 Facebook. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import <AVKit/AVKit.h>
|
|
10
|
+
#import "CCRCTVideo.h"
|
|
11
|
+
#import "CCRCTVideoPlayerViewControllerDelegate.h"
|
|
12
|
+
|
|
13
|
+
@interface CCRCTVideoPlayerViewController : AVPlayerViewController
|
|
14
|
+
@property (nonatomic, weak) id<CCRCTVideoPlayerViewControllerDelegate> rctDelegate;
|
|
15
|
+
|
|
16
|
+
// Optional paramters
|
|
17
|
+
@property (nonatomic, weak) NSString* preferredOrientation;
|
|
18
|
+
@property (nonatomic) BOOL autorotate;
|
|
19
|
+
|
|
20
|
+
@end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
#import "CCRCTVideoPlayerViewController.h"
|
|
2
|
+
|
|
3
|
+
@interface CCRCTVideoPlayerViewController ()
|
|
4
|
+
|
|
5
|
+
@end
|
|
6
|
+
|
|
7
|
+
@implementation CCRCTVideoPlayerViewController
|
|
8
|
+
|
|
9
|
+
- (BOOL)shouldAutorotate {
|
|
10
|
+
|
|
11
|
+
if (self.autorotate || self.preferredOrientation.lowercaseString == nil || [self.preferredOrientation.lowercaseString isEqualToString:@"all"])
|
|
12
|
+
return YES;
|
|
13
|
+
|
|
14
|
+
return NO;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
- (void)viewDidDisappear:(BOOL)animated
|
|
18
|
+
{
|
|
19
|
+
[super viewDidDisappear:animated];
|
|
20
|
+
[_rctDelegate videoPlayerViewControllerWillDismiss:self];
|
|
21
|
+
[_rctDelegate videoPlayerViewControllerDidDismiss:self];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#if !TARGET_OS_TV
|
|
25
|
+
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
|
26
|
+
return UIInterfaceOrientationMaskAll;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
|
|
30
|
+
if ([self.preferredOrientation.lowercaseString isEqualToString:@"landscape"]) {
|
|
31
|
+
return UIInterfaceOrientationLandscapeRight;
|
|
32
|
+
}
|
|
33
|
+
else if ([self.preferredOrientation.lowercaseString isEqualToString:@"portrait"]) {
|
|
34
|
+
return UIInterfaceOrientationPortrait;
|
|
35
|
+
}
|
|
36
|
+
else { // default case
|
|
37
|
+
UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
|
|
38
|
+
return orientation;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
#endif
|
|
42
|
+
|
|
43
|
+
@end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
#import <Foundation/Foundation.h>
|
|
2
|
+
#import "AVKit/AVKit.h"
|
|
3
|
+
|
|
4
|
+
@protocol CCRCTVideoPlayerViewControllerDelegate <NSObject>
|
|
5
|
+
- (void)videoPlayerViewControllerWillDismiss:(AVPlayerViewController *)playerViewController;
|
|
6
|
+
- (void)videoPlayerViewControllerDidDismiss:(AVPlayerViewController *)playerViewController;
|
|
7
|
+
@end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//
|
|
2
|
+
// UIView+FindUIViewController.h
|
|
3
|
+
// RCTVideo
|
|
4
|
+
//
|
|
5
|
+
// Created by Stanisław Chmiela on 31.03.2016.
|
|
6
|
+
// Copyright © 2016 Facebook. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
// Source: http://stackoverflow.com/a/3732812/1123156
|
|
9
|
+
|
|
10
|
+
#import <UIKit/UIKit.h>
|
|
11
|
+
|
|
12
|
+
@interface UIView (FindUIViewController)
|
|
13
|
+
- (UIViewController *) firstAvailableUIViewController;
|
|
14
|
+
- (id) traverseResponderChainForUIViewController;
|
|
15
|
+
@end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Source: http://stackoverflow.com/a/3732812/1123156
|
|
2
|
+
|
|
3
|
+
#import "UIView+FindUIViewController.h"
|
|
4
|
+
|
|
5
|
+
@implementation UIView (FindUIViewController)
|
|
6
|
+
- (UIViewController *) firstAvailableUIViewController {
|
|
7
|
+
// convenience function for casting and to "mask" the recursive function
|
|
8
|
+
return (UIViewController *)[self traverseResponderChainForUIViewController];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
- (id) traverseResponderChainForUIViewController {
|
|
12
|
+
id nextResponder = [self nextResponder];
|
|
13
|
+
if ([nextResponder isKindOfClass:[UIViewController class]]) {
|
|
14
|
+
return nextResponder;
|
|
15
|
+
} else if ([nextResponder isKindOfClass:[UIView class]]) {
|
|
16
|
+
return [nextResponder traverseResponderChainForUIViewController];
|
|
17
|
+
} else {
|
|
18
|
+
return nil;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
@end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#import <Foundation/Foundation.h>
|
|
2
|
+
#import <AVFoundation/AVFoundation.h>
|
|
3
|
+
#import <SPTPersistentCache/SPTPersistentCache.h>
|
|
4
|
+
#import <SPTPersistentCache/SPTPersistentCacheOptions.h>
|
|
5
|
+
#import <CommonCrypto/CommonDigest.h>
|
|
6
|
+
|
|
7
|
+
typedef NS_ENUM(NSUInteger, RCTVideoCacheStatus) {
|
|
8
|
+
RCTVideoCacheStatusMissingFileExtension,
|
|
9
|
+
RCTVideoCacheStatusUnsupportedFileExtension,
|
|
10
|
+
RCTVideoCacheStatusNotAvailable,
|
|
11
|
+
RCTVideoCacheStatusAvailable
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
@class SPTPersistentCache;
|
|
15
|
+
@class SPTPersistentCacheOptions;
|
|
16
|
+
|
|
17
|
+
@interface RCTVideoCache : NSObject
|
|
18
|
+
{
|
|
19
|
+
SPTPersistentCache *videoCache;
|
|
20
|
+
NSString * _Nullable cachePath;
|
|
21
|
+
NSString * temporaryCachePath;
|
|
22
|
+
NSString * _Nullable cacheIdentifier;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@property(nonatomic, strong) SPTPersistentCache * _Nullable videoCache;
|
|
26
|
+
@property(nonatomic, strong) NSString * cachePath;
|
|
27
|
+
@property(nonatomic, strong) NSString * cacheIdentifier;
|
|
28
|
+
@property(nonatomic, strong) NSString * temporaryCachePath;
|
|
29
|
+
|
|
30
|
+
+ (RCTVideoCache *)sharedInstance;
|
|
31
|
+
- (void)storeItem:(NSData *)data forUri:(NSString *)uri withCallback:(void(^)(BOOL))handler;
|
|
32
|
+
- (void)getItemForUri:(NSString *)url withCallback:(void(^)(RCTVideoCacheStatus, AVAsset * _Nullable)) handler;
|
|
33
|
+
- (NSURL *)createUniqueTemporaryFileUrl:(NSString * _Nonnull)url withExtension:(NSString * _Nonnull) extension;
|
|
34
|
+
- (AVURLAsset *)getItemFromTemporaryStorage:(NSString *)key;
|
|
35
|
+
- (BOOL)saveDataToTemporaryStorage:(NSData *)data key:(NSString *)key;
|
|
36
|
+
- (void) createTemporaryPath;
|
|
37
|
+
|
|
38
|
+
@end
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
#import "RCTVideoCache.h"
|
|
2
|
+
|
|
3
|
+
@implementation RCTVideoCache
|
|
4
|
+
|
|
5
|
+
@synthesize videoCache;
|
|
6
|
+
@synthesize cachePath;
|
|
7
|
+
@synthesize cacheIdentifier;
|
|
8
|
+
@synthesize temporaryCachePath;
|
|
9
|
+
|
|
10
|
+
+ (RCTVideoCache *)sharedInstance {
|
|
11
|
+
static RCTVideoCache *sharedInstance = nil;
|
|
12
|
+
static dispatch_once_t onceToken;
|
|
13
|
+
dispatch_once(&onceToken, ^{
|
|
14
|
+
sharedInstance = [[self alloc] init];
|
|
15
|
+
});
|
|
16
|
+
return sharedInstance;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
- (id)init {
|
|
20
|
+
if (self = [super init]) {
|
|
21
|
+
self.cacheIdentifier = @"rct.video.cache";
|
|
22
|
+
self.temporaryCachePath = [NSTemporaryDirectory() stringByAppendingPathComponent:self.cacheIdentifier];
|
|
23
|
+
self.cachePath = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject stringByAppendingPathComponent:self.cacheIdentifier];
|
|
24
|
+
SPTPersistentCacheOptions *options = [SPTPersistentCacheOptions new];
|
|
25
|
+
options.cachePath = self.cachePath;
|
|
26
|
+
options.cacheIdentifier = self.cacheIdentifier;
|
|
27
|
+
options.defaultExpirationPeriod = 60 * 60 * 24 * 30;
|
|
28
|
+
options.garbageCollectionInterval = (NSUInteger)(1.5 * SPTPersistentCacheDefaultGCIntervalSec);
|
|
29
|
+
options.sizeConstraintBytes = 1024 * 1024 * 100;
|
|
30
|
+
options.useDirectorySeparation = NO;
|
|
31
|
+
#ifdef DEBUG
|
|
32
|
+
options.debugOutput = ^(NSString *string) {
|
|
33
|
+
NSLog(@"Video Cache: %@", string);
|
|
34
|
+
};
|
|
35
|
+
#endif
|
|
36
|
+
[self createTemporaryPath];
|
|
37
|
+
self.videoCache = [[SPTPersistentCache alloc] initWithOptions:options];
|
|
38
|
+
[self.videoCache scheduleGarbageCollector];
|
|
39
|
+
}
|
|
40
|
+
return self;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
- (void) createTemporaryPath {
|
|
44
|
+
NSError *error = nil;
|
|
45
|
+
BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath:self.temporaryCachePath
|
|
46
|
+
withIntermediateDirectories:YES
|
|
47
|
+
attributes:nil
|
|
48
|
+
error:&error];
|
|
49
|
+
#ifdef DEBUG
|
|
50
|
+
if (!success || error) {
|
|
51
|
+
NSLog(@"Error while! %@", error);
|
|
52
|
+
}
|
|
53
|
+
#endif
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
- (void)storeItem:(NSData *)data forUri:(NSString *)uri withCallback:(void(^)(BOOL))handler;
|
|
57
|
+
{
|
|
58
|
+
NSString *key = [self generateCacheKeyForUri:uri];
|
|
59
|
+
if (key == nil) {
|
|
60
|
+
handler(NO);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
[self saveDataToTemporaryStorage:data key:key];
|
|
64
|
+
[self.videoCache storeData:data forKey:key locked:NO withCallback:^(SPTPersistentCacheResponse * _Nonnull response) {
|
|
65
|
+
if (response.error) {
|
|
66
|
+
#ifdef DEBUG
|
|
67
|
+
NSLog(@"An error occured while saving the video into the cache: %@", [response.error localizedDescription]);
|
|
68
|
+
#endif
|
|
69
|
+
handler(NO);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
handler(YES);
|
|
73
|
+
} onQueue:dispatch_get_main_queue()];
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
- (AVURLAsset *)getItemFromTemporaryStorage:(NSString *)key {
|
|
78
|
+
NSString * temporaryFilePath = [self.temporaryCachePath stringByAppendingPathComponent:key];
|
|
79
|
+
|
|
80
|
+
BOOL fileExists = [[NSFileManager defaultManager] fileExistsAtPath:temporaryFilePath];
|
|
81
|
+
if (!fileExists) {
|
|
82
|
+
return nil;
|
|
83
|
+
}
|
|
84
|
+
NSURL *assetUrl = [[NSURL alloc] initFileURLWithPath:temporaryFilePath];
|
|
85
|
+
AVURLAsset *asset = [AVURLAsset URLAssetWithURL:assetUrl options:nil];
|
|
86
|
+
return asset;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
- (BOOL)saveDataToTemporaryStorage:(NSData *)data key:(NSString *)key {
|
|
90
|
+
NSString *temporaryFilePath = [self.temporaryCachePath stringByAppendingPathComponent:key];
|
|
91
|
+
[data writeToFile:temporaryFilePath atomically:YES];
|
|
92
|
+
return YES;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
- (NSString *)generateCacheKeyForUri:(NSString *)uri {
|
|
96
|
+
NSString *uriWithoutQueryParams = uri;
|
|
97
|
+
|
|
98
|
+
// parse file extension
|
|
99
|
+
if ([uri rangeOfString:@"?"].location != NSNotFound) {
|
|
100
|
+
NSArray<NSString*> * components = [uri componentsSeparatedByString:@"?"];
|
|
101
|
+
uriWithoutQueryParams = [components objectAtIndex:0];
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
NSString * pathExtension = [uriWithoutQueryParams pathExtension];
|
|
105
|
+
NSArray * supportedExtensions = @[@"m4v", @"mp4", @"mov"];
|
|
106
|
+
if ([pathExtension isEqualToString:@""]) {
|
|
107
|
+
NSDictionary *userInfo = @{
|
|
108
|
+
NSLocalizedDescriptionKey: NSLocalizedString(@"Missing file extension.", nil),
|
|
109
|
+
NSLocalizedFailureReasonErrorKey: NSLocalizedString(@"Missing file extension.", nil),
|
|
110
|
+
NSLocalizedRecoverySuggestionErrorKey: NSLocalizedString(@"Missing file extension.", nil)
|
|
111
|
+
};
|
|
112
|
+
NSError *error = [NSError errorWithDomain:@"RCTVideoCache"
|
|
113
|
+
code:RCTVideoCacheStatusMissingFileExtension userInfo:userInfo];
|
|
114
|
+
@throw error;
|
|
115
|
+
} else if (![supportedExtensions containsObject:pathExtension]) {
|
|
116
|
+
// Notably, we don't currently support m3u8 (HLS playlists)
|
|
117
|
+
NSDictionary *userInfo = @{
|
|
118
|
+
NSLocalizedDescriptionKey: NSLocalizedString(@"Unsupported file extension.", nil),
|
|
119
|
+
NSLocalizedFailureReasonErrorKey: NSLocalizedString(@"Unsupported file extension.", nil),
|
|
120
|
+
NSLocalizedRecoverySuggestionErrorKey: NSLocalizedString(@"Unsupported file extension.", nil)
|
|
121
|
+
};
|
|
122
|
+
NSError *error = [NSError errorWithDomain:@"RCTVideoCache"
|
|
123
|
+
code:RCTVideoCacheStatusUnsupportedFileExtension userInfo:userInfo];
|
|
124
|
+
@throw error;
|
|
125
|
+
}
|
|
126
|
+
return [[self generateHashForUrl:uri] stringByAppendingPathExtension:pathExtension];
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
- (void)getItemForUri:(NSString *)uri withCallback:(void(^)(RCTVideoCacheStatus, AVAsset * _Nullable)) handler {
|
|
130
|
+
@try {
|
|
131
|
+
NSString *key = [self generateCacheKeyForUri:uri];
|
|
132
|
+
AVURLAsset * temporaryAsset = [self getItemFromTemporaryStorage:key];
|
|
133
|
+
if (temporaryAsset != nil) {
|
|
134
|
+
handler(RCTVideoCacheStatusAvailable, temporaryAsset);
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[self.videoCache loadDataForKey:key withCallback:^(SPTPersistentCacheResponse * _Nonnull response) {
|
|
139
|
+
if (response.record == nil || response.record.data == nil) {
|
|
140
|
+
handler(RCTVideoCacheStatusNotAvailable, nil);
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
[self saveDataToTemporaryStorage:response.record.data key:key];
|
|
144
|
+
handler(RCTVideoCacheStatusAvailable, [self getItemFromTemporaryStorage:key]);
|
|
145
|
+
} onQueue:dispatch_get_main_queue()];
|
|
146
|
+
} @catch (NSError * err) {
|
|
147
|
+
switch (err.code) {
|
|
148
|
+
case RCTVideoCacheStatusMissingFileExtension:
|
|
149
|
+
handler(RCTVideoCacheStatusMissingFileExtension, nil);
|
|
150
|
+
return;
|
|
151
|
+
case RCTVideoCacheStatusUnsupportedFileExtension:
|
|
152
|
+
handler(RCTVideoCacheStatusUnsupportedFileExtension, nil);
|
|
153
|
+
return;
|
|
154
|
+
default:
|
|
155
|
+
@throw err;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
- (NSString *)generateHashForUrl:(NSString *)string {
|
|
161
|
+
const char *cStr = [string UTF8String];
|
|
162
|
+
unsigned char result[CC_MD5_DIGEST_LENGTH];
|
|
163
|
+
CC_MD5( cStr, (CC_LONG)strlen(cStr), result );
|
|
164
|
+
|
|
165
|
+
return [NSString stringWithFormat:
|
|
166
|
+
@"%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X",
|
|
167
|
+
result[0], result[1], result[2], result[3],
|
|
168
|
+
result[4], result[5], result[6], result[7],
|
|
169
|
+
result[8], result[9], result[10], result[11],
|
|
170
|
+
result[12], result[13], result[14], result[15]
|
|
171
|
+
];
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@end
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// VideoPickerModule.m
|
|
2
|
+
|
|
3
|
+
#import "VideoPickerModule.h"
|
|
4
|
+
#import <React/RCTLog.h>
|
|
5
|
+
#import <MobileCoreServices/MobileCoreServices.h>
|
|
6
|
+
@interface VideoPickerModule () <UINavigationControllerDelegate, UIImagePickerControllerDelegate>
|
|
7
|
+
|
|
8
|
+
@property (nonatomic, copy) RCTResponseSenderBlock callback;
|
|
9
|
+
|
|
10
|
+
@end
|
|
11
|
+
@implementation VideoPickerModule
|
|
12
|
+
|
|
13
|
+
RCT_EXPORT_MODULE(VideoPickerModule);
|
|
14
|
+
|
|
15
|
+
RCT_EXPORT_METHOD(pickVideo:(RCTResponseSenderBlock)callback)
|
|
16
|
+
{
|
|
17
|
+
RCTLogInfo(@"Picking video");
|
|
18
|
+
|
|
19
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
20
|
+
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
|
|
21
|
+
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
|
|
22
|
+
picker.mediaTypes = @[(NSString*)kUTTypeMovie];
|
|
23
|
+
picker.delegate = self;
|
|
24
|
+
|
|
25
|
+
// Get the application's root view controller
|
|
26
|
+
UIViewController *rootViewController = [UIApplication sharedApplication].delegate.window.rootViewController;
|
|
27
|
+
|
|
28
|
+
// Check if the root view controller is presenting another view controller
|
|
29
|
+
while (rootViewController.presentedViewController) {
|
|
30
|
+
// If so, use it as the rootViewController to present the picker
|
|
31
|
+
rootViewController = rootViewController.presentedViewController;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Now present the picker
|
|
35
|
+
[rootViewController presentViewController:picker animated:YES completion:nil];
|
|
36
|
+
|
|
37
|
+
// Store the callback for later use
|
|
38
|
+
self.callback = callback;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
#pragma mark - UIImagePickerControllerDelegate
|
|
43
|
+
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary<NSString *,id> *)info {
|
|
44
|
+
NSURL *videoURL = [info objectForKey:UIImagePickerControllerMediaURL];
|
|
45
|
+
|
|
46
|
+
// Remove the 'trim.' prefix and any trailing period '.' from the file name
|
|
47
|
+
NSString *fileName = [[videoURL lastPathComponent] stringByDeletingPathExtension];
|
|
48
|
+
if ([fileName hasPrefix:@"trim."]) {
|
|
49
|
+
fileName = [fileName substringFromIndex:5]; // Remove the 'trim.' prefix
|
|
50
|
+
}
|
|
51
|
+
NSString *fileType = [videoURL pathExtension];
|
|
52
|
+
NSString *tempPath = [videoURL path];
|
|
53
|
+
|
|
54
|
+
// Copy the file to the application's document directory
|
|
55
|
+
NSString *documentsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
|
|
56
|
+
NSString *destinationFileName = [NSString stringWithFormat:@"%@.%@", fileName, fileType];
|
|
57
|
+
NSString *destinationPath = [documentsDirectory stringByAppendingPathComponent:destinationFileName];
|
|
58
|
+
NSURL *destinationURL = [NSURL fileURLWithPath:destinationPath];
|
|
59
|
+
|
|
60
|
+
NSError *error;
|
|
61
|
+
NSFileManager *fileManager = [NSFileManager defaultManager];
|
|
62
|
+
|
|
63
|
+
// Check if file exists at destination, remove it if it does
|
|
64
|
+
if ([fileManager fileExistsAtPath:destinationPath]) {
|
|
65
|
+
[fileManager removeItemAtPath:destinationPath error:&error];
|
|
66
|
+
if (error) {
|
|
67
|
+
RCTLogError(@"Error removing existing file at destination: %@", error.localizedDescription);
|
|
68
|
+
self.callback(@[@"Could not remove existing file at destination", [NSNull null]]);
|
|
69
|
+
[picker dismissViewControllerAnimated:YES completion:nil];
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Copy file from temporary location to documents directory
|
|
75
|
+
if ([fileManager copyItemAtPath:tempPath toPath:destinationPath error:&error]) {
|
|
76
|
+
// Constructing file URI with "file://" prefix
|
|
77
|
+
NSString *fileURI = destinationURL.absoluteString;
|
|
78
|
+
|
|
79
|
+
// Pass the video info to the callback
|
|
80
|
+
self.callback(@[@{@"name": destinationFileName, @"type": fileType, @"uri": fileURI}]);
|
|
81
|
+
} else {
|
|
82
|
+
RCTLogError(@"Error copying temporary file to destination: %@", error.localizedDescription);
|
|
83
|
+
self.callback(@[error.localizedDescription, [NSNull null]]);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[picker dismissViewControllerAnimated:YES completion:nil];
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
|
|
91
|
+
{
|
|
92
|
+
[picker dismissViewControllerAnimated:YES completion:nil];
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListRenderItem, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import { AvatarStyleInterface, CometChatListStylesInterface, CometChatOptions, ImageType, ListItemStyleInterface } from '../shared';
|
|
4
|
+
import { CometChatAddMembersInterface } from './CometChatAddMembers';
|
|
5
|
+
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
6
|
+
import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
|
|
7
|
+
export interface AddMembersConfigurationInterface extends Omit<CometChatAddMembersInterface, 'backButtonIcon' | 'emptyStateText' | 'errorStateText' | 'group'> {
|
|
8
|
+
}
|
|
9
|
+
export declare class AddMembersConfiguration {
|
|
10
|
+
AppBarOptions?: React.FC;
|
|
11
|
+
avatarStyle?: AvatarStyleInterface;
|
|
12
|
+
bodyViewContainerStyle?: StyleProp<ViewStyle>;
|
|
13
|
+
disableUsersPresence?: boolean;
|
|
14
|
+
EmptyStateView?: React.FC;
|
|
15
|
+
ErrorStateView?: React.FC;
|
|
16
|
+
headViewContainerStyle?: StyleProp<ViewStyle>;
|
|
17
|
+
hideError?: boolean;
|
|
18
|
+
hideSearch?: boolean;
|
|
19
|
+
hideSeparator?: boolean;
|
|
20
|
+
listItemStyle?: ListItemStyleInterface;
|
|
21
|
+
ListItemView?: ListRenderItem<any>;
|
|
22
|
+
LoadingStateView?: React.FC;
|
|
23
|
+
onBack?: () => void;
|
|
24
|
+
onError?: (error: CometChat.CometChatException) => void;
|
|
25
|
+
onItemLongPress?: Function;
|
|
26
|
+
onItemPress?: Function;
|
|
27
|
+
onSelection?: Function;
|
|
28
|
+
options?: CometChatOptions[];
|
|
29
|
+
searchBoxIcon?: ImageType;
|
|
30
|
+
searchPlaceholderText?: string;
|
|
31
|
+
searchRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
32
|
+
selectionIcon?: ImageType;
|
|
33
|
+
selectionMode?: 'none' | 'single' | 'multiple';
|
|
34
|
+
showBackButton?: boolean;
|
|
35
|
+
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
36
|
+
SubtitleView?: (item: CometChat.User) => JSX.Element;
|
|
37
|
+
TailView?: (item: CometChat.User) => JSX.Element;
|
|
38
|
+
tailViewContainerStyle?: StyleProp<ViewStyle>;
|
|
39
|
+
title?: string;
|
|
40
|
+
usersRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
41
|
+
usersStyle?: CometChatListStylesInterface;
|
|
42
|
+
constructor(props: AddMembersConfigurationInterface);
|
|
43
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export class AddMembersConfiguration {
|
|
2
|
+
AppBarOptions;
|
|
3
|
+
avatarStyle;
|
|
4
|
+
bodyViewContainerStyle;
|
|
5
|
+
disableUsersPresence;
|
|
6
|
+
EmptyStateView;
|
|
7
|
+
ErrorStateView;
|
|
8
|
+
headViewContainerStyle;
|
|
9
|
+
hideError;
|
|
10
|
+
hideSearch;
|
|
11
|
+
hideSeparator;
|
|
12
|
+
listItemStyle;
|
|
13
|
+
ListItemView;
|
|
14
|
+
LoadingStateView;
|
|
15
|
+
onBack;
|
|
16
|
+
onError;
|
|
17
|
+
onItemLongPress;
|
|
18
|
+
onItemPress;
|
|
19
|
+
onSelection;
|
|
20
|
+
options;
|
|
21
|
+
searchBoxIcon;
|
|
22
|
+
searchPlaceholderText;
|
|
23
|
+
searchRequestBuilder;
|
|
24
|
+
selectionIcon;
|
|
25
|
+
selectionMode;
|
|
26
|
+
showBackButton;
|
|
27
|
+
statusIndicatorStyle;
|
|
28
|
+
SubtitleView;
|
|
29
|
+
TailView;
|
|
30
|
+
tailViewContainerStyle;
|
|
31
|
+
title;
|
|
32
|
+
usersRequestBuilder;
|
|
33
|
+
usersStyle;
|
|
34
|
+
constructor(props) {
|
|
35
|
+
if (props)
|
|
36
|
+
for (const [key, value] of Object.entries(props)) {
|
|
37
|
+
this[key] = value;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=AddMembersConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddMembersConfiguration.js","sourceRoot":"","sources":["../../src/CometChatAddMembers/AddMembersConfiguration.tsx"],"names":[],"mappings":"AAiBA,MAAM,OAAO,uBAAuB;IAClC,aAAa,CAAY;IACzB,WAAW,CAAwB;IACnC,sBAAsB,CAAwB;IAC9C,oBAAoB,CAAW;IAC/B,cAAc,CAAY;IAC1B,cAAc,CAAY;IAC1B,sBAAsB,CAAwB;IAC9C,SAAS,CAAW;IACpB,UAAU,CAAW;IACrB,aAAa,CAAW;IACxB,aAAa,CAA0B;IACvC,YAAY,CAAuB;IACnC,gBAAgB,CAAY;IAC5B,MAAM,CAAc;IACpB,OAAO,CAAiD;IACxD,eAAe,CAAY;IAC3B,WAAW,CAAY;IACvB,WAAW,CAAY;IACvB,OAAO,CAAsB;IAC7B,aAAa,CAAa;IAC1B,qBAAqB,CAAU;IAC/B,oBAAoB,CAAiC;IACrD,aAAa,CAAa;IAC1B,aAAa,CAAkC;IAC/C,cAAc,CAAW;IACzB,oBAAoB,CAAiC;IACrD,YAAY,CAAyC;IACrD,QAAQ,CAAyC;IACjD,sBAAsB,CAAwB;IAC9C,KAAK,CAAU;IACf,mBAAmB,CAAiC;IACpD,UAAU,CAAgC;IAC1C,YAAY,KAAuC;QACjD,IAAI,KAAK;YACP,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBAChD,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;aACnB;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
3
|
+
import { CometChatUsersInterface } from '../CometChatUsers';
|
|
4
|
+
import { CometChatListStylesInterface } from '../shared';
|
|
5
|
+
export interface CometChatAddMembersInterface extends Omit<CometChatUsersInterface, 'title' | 'listItemKey' | 'listStyle'> {
|
|
6
|
+
group: CometChat.Group;
|
|
7
|
+
title?: string;
|
|
8
|
+
addMembersStyle?: CometChatListStylesInterface;
|
|
9
|
+
}
|
|
10
|
+
export declare const CometChatAddMembers: (props: CometChatAddMembersInterface) => React.JSX.Element;
|