@cometchat/chat-uikit-react-native 4.3.6 → 4.3.8
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/lib/AI/AIAssistBot/AIAssistBotDecorator.d.ts +23 -0
- package/lib/AI/AIAssistBot/AIAssistBotDecorator.js +127 -0
- package/lib/AI/AIAssistBot/AIAssistBotDecorator.js.map +1 -0
- package/lib/AI/AIAssistBot/AIAssistBotExtension.d.ts +8 -0
- package/lib/AI/AIAssistBot/AIAssistBotExtension.js +17 -0
- package/lib/AI/AIAssistBot/AIAssistBotExtension.js.map +1 -0
- package/lib/AI/AIAssistBot/AIAssistBotStyle.d.ts +27 -0
- package/lib/AI/AIAssistBot/AIAssistBotStyle.js +38 -0
- package/lib/AI/AIAssistBot/AIAssistBotStyle.js.map +1 -0
- package/lib/AI/AIAssistBot/AIAssistBotView.d.ts +12 -0
- package/lib/AI/AIAssistBot/AIAssistBotView.js +188 -0
- package/lib/AI/AIAssistBot/AIAssistBotView.js.map +1 -0
- package/lib/AI/AIAssistBot/configuration.d.ts +18 -0
- package/lib/AI/AIAssistBot/configuration.js +19 -0
- package/lib/AI/AIAssistBot/configuration.js.map +1 -0
- package/lib/AI/AIAssistBot/resources/CloseIcon.png +0 -0
- package/lib/AI/AIAssistBot/resources/index.d.ts +2 -0
- package/lib/AI/AIAssistBot/resources/index.js +3 -0
- package/lib/AI/AIAssistBot/resources/index.js.map +1 -0
- package/lib/AI/AIBaseConfiguration.js +14 -0
- package/lib/AI/AIBaseConfiguration.js.map +1 -0
- package/lib/AI/AIBaseStyle.d.ts +24 -0
- package/lib/AI/AIBaseStyle.js +31 -0
- package/lib/AI/AIBaseStyle.js.map +1 -0
- package/lib/AI/AIConversationStarter/AIConversationStarter.d.ts +8 -0
- package/lib/AI/AIConversationStarter/AIConversationStarter.js +17 -0
- package/lib/AI/AIConversationStarter/AIConversationStarter.js.map +1 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js +187 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js.map +1 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.d.ts +9 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js +13 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js.map +1 -0
- package/lib/AI/AIConversationStarter/configuration.d.ts +7 -0
- package/lib/AI/AIConversationStarter/configuration.js +10 -0
- package/lib/AI/AIConversationStarter/configuration.js.map +1 -0
- package/lib/AI/AIConversationStarter/style.d.ts +19 -0
- package/lib/AI/AIConversationStarter/style.js +62 -0
- package/lib/AI/AIConversationStarter/style.js.map +1 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +25 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js +149 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js.map +1 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +8 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js +17 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js.map +1 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.d.ts +15 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js +18 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js.map +1 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryView.d.ts +14 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryView.js +134 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryView.js.map +1 -0
- package/lib/AI/AIConversationSummary/configuration.d.ts +9 -0
- package/lib/AI/AIConversationSummary/configuration.js +13 -0
- package/lib/AI/AIConversationSummary/configuration.js.map +1 -0
- package/lib/AI/AIConversationSummary/resources/close.png +0 -0
- package/lib/AI/AIConversationSummary/resources/index.d.ts +2 -0
- package/lib/AI/AIConversationSummary/resources/index.js +3 -0
- package/lib/AI/AIConversationSummary/resources/index.js.map +1 -0
- package/lib/AI/AIExtensionDataSource.d.ts +6 -0
- package/lib/AI/AIExtensionDataSource.js +11 -0
- package/lib/AI/AIExtensionDataSource.js.map +1 -0
- package/lib/AI/AIOptionsStyle.d.ts +10 -0
- package/lib/AI/AIOptionsStyle.js +14 -0
- package/lib/AI/AIOptionsStyle.js.map +1 -0
- package/lib/AI/AISmartReplies/AISmartReplies.d.ts +8 -0
- package/lib/AI/AISmartReplies/AISmartReplies.js +17 -0
- package/lib/AI/AISmartReplies/AISmartReplies.js.map +1 -0
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js +239 -0
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js.map +1 -0
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.d.ts +12 -0
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.js +15 -0
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.js.map +1 -0
- package/lib/AI/AISmartReplies/configuration.d.ts +7 -0
- package/lib/AI/AISmartReplies/configuration.js +10 -0
- package/lib/AI/AISmartReplies/configuration.js.map +1 -0
- package/lib/AI/CardView.d.ts +18 -0
- package/lib/AI/CardView.js +45 -0
- package/lib/AI/CardView.js.map +1 -0
- package/lib/AI/CardViewStyle.d.ts +29 -0
- package/lib/AI/CardViewStyle.js +36 -0
- package/lib/AI/CardViewStyle.js.map +1 -0
- package/lib/AI/resources/ai-empty.png +0 -0
- package/lib/AI/resources/ai-error.png +0 -0
- package/lib/AI/resources/index.d.ts +4 -0
- package/lib/AI/resources/index.js +5 -0
- package/lib/AI/resources/index.js.map +1 -0
- package/lib/AI/resources/spineer.png +0 -0
- package/lib/AI/style.d.ts +51 -0
- package/lib/AI/style.js +139 -0
- package/lib/AI/style.js.map +1 -0
- package/lib/AI/utils.d.ts +38 -0
- package/lib/AI/utils.js +28 -0
- package/lib/AI/utils.js.map +1 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -1
- package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +1 -2
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -1
- package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +1 -2
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js +1 -1
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -1
- package/lib/CometChatBannedMembers/resources/clear.png +0 -0
- package/lib/CometChatContacts/CometChatContacts.d.ts +1 -2
- package/lib/CometChatContacts/CometChatContacts.js +10 -7
- package/lib/CometChatContacts/CometChatContacts.js.map +1 -1
- package/lib/CometChatContacts/Header.js.map +1 -1
- package/lib/CometChatContacts/styles.d.ts +1 -100
- package/lib/CometChatConversations/CometChatConversations.js +208 -114
- package/lib/CometChatConversations/CometChatConversations.js.map +1 -1
- package/lib/CometChatConversations/ConversationsConfiguration.js +12 -1
- package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -1
- package/lib/CometChatConversations/resources/back.png +0 -0
- package/lib/CometChatConversations/resources/blue-double-tick-icon.png +0 -0
- package/lib/CometChatConversations/resources/close.png +0 -0
- package/lib/CometChatConversations/resources/delete.png +0 -0
- package/lib/CometChatConversations/resources/error.png +0 -0
- package/lib/CometChatConversations/resources/grey-double-tick-icon.png +0 -0
- package/lib/CometChatConversations/resources/grey-tick-icon.png +0 -0
- package/lib/CometChatConversations/resources/new.png +0 -0
- package/lib/CometChatConversations/resources/password.png +0 -0
- package/lib/CometChatConversations/resources/private.png +0 -0
- package/lib/CometChatConversations/resources/rightTick.png +0 -0
- package/lib/CometChatConversations/resources/sending.png +0 -0
- package/lib/CometChatConversations/resources/spineer.png +0 -0
- package/lib/CometChatConversations/style.d.ts +1 -61
- package/lib/CometChatConversations/style.js +5 -1
- package/lib/CometChatConversations/style.js.map +1 -1
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +1 -2
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +2 -2
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -1
- package/lib/CometChatConversationsWithMessages/resources/start.png +0 -0
- package/lib/CometChatConversationsWithMessages/styles.d.ts +1 -12
- package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +1 -2
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -1
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -1
- package/lib/CometChatCreateGroup/Header.d.ts +1 -2
- package/lib/CometChatCreateGroup/resources/close.png +0 -0
- package/lib/CometChatCreateGroup/resources/rightTick.png +0 -0
- package/lib/CometChatCreateGroup/resources/warning.png +0 -0
- package/lib/CometChatCreateGroup/style.d.ts +1 -46
- package/lib/CometChatDetails/CometChatDetails.js +11 -8
- package/lib/CometChatDetails/CometChatDetails.js.map +1 -1
- package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -1
- package/lib/CometChatDetails/Header.d.ts +1 -2
- package/lib/CometChatDetails/listners.d.ts +4 -4
- package/lib/CometChatDetails/resources/Back.png +0 -0
- package/lib/CometChatDetails/resources/close.png +0 -0
- package/lib/CometChatDetails/resources/password.png +0 -0
- package/lib/CometChatDetails/resources/private.png +0 -0
- package/lib/CometChatDetails/resources/right-arrow.png +0 -0
- package/lib/CometChatDetails/styles.d.ts +1 -28
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js +18 -5
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -1
- package/lib/CometChatGroupMembers/resources/banIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/check.png +0 -0
- package/lib/CometChatGroupMembers/resources/downArrowIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/index.d.ts +2 -1
- package/lib/CometChatGroupMembers/resources/index.js +2 -1
- package/lib/CometChatGroupMembers/resources/index.js.map +1 -1
- package/lib/CometChatGroupMembers/resources/kickIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/rightTick.png +0 -0
- package/lib/CometChatGroupMembers/style.d.ts +1 -31
- package/lib/CometChatGroups/CometChatGroups.js +20 -8
- package/lib/CometChatGroups/CometChatGroups.js.map +1 -1
- package/lib/CometChatGroups/resources/back.png +0 -0
- package/lib/CometChatGroups/resources/check.png +0 -0
- package/lib/CometChatGroups/resources/close.png +0 -0
- package/lib/CometChatGroups/resources/create.png +0 -0
- package/lib/CometChatGroups/resources/index.d.ts +2 -1
- package/lib/CometChatGroups/resources/index.js +2 -1
- package/lib/CometChatGroups/resources/index.js.map +1 -1
- package/lib/CometChatGroups/resources/more.png +0 -0
- package/lib/CometChatGroups/resources/password.png +0 -0
- package/lib/CometChatGroups/resources/private.png +0 -0
- package/lib/CometChatGroups/resources/rightTick.png +0 -0
- package/lib/CometChatGroups/resources/search.png +0 -0
- package/lib/CometChatGroups/resources/spineer.png +0 -0
- package/lib/CometChatGroups/style.d.ts +1 -16
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +1 -2
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -1
- package/lib/CometChatGroupsWithMessages/resources/write.png +0 -0
- package/lib/CometChatGroupsWithMessages/styles.d.ts +1 -12
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +1 -2
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -1
- package/lib/CometChatJoinProtectedGroup/Header.d.ts +1 -2
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -1
- package/lib/CometChatJoinProtectedGroup/resources/close.png +0 -0
- package/lib/CometChatJoinProtectedGroup/resources/rightTick.png +0 -0
- package/lib/CometChatJoinProtectedGroup/style.d.ts +1 -11
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +534 -52
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -1
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +12 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -1
- package/lib/CometChatMessageComposer/resources/Info.png +0 -0
- package/lib/CometChatMessageComposer/resources/ai.png +0 -0
- package/lib/CometChatMessageComposer/resources/circle_add.png +0 -0
- package/lib/CometChatMessageComposer/resources/close.png +0 -0
- package/lib/CometChatMessageComposer/resources/emoji.png +0 -0
- package/lib/CometChatMessageComposer/resources/heart.png +0 -0
- package/lib/CometChatMessageComposer/resources/image.png +0 -0
- package/lib/CometChatMessageComposer/resources/index.d.ts +2 -0
- package/lib/CometChatMessageComposer/resources/index.js +4 -0
- package/lib/CometChatMessageComposer/resources/index.js.map +1 -1
- package/lib/CometChatMessageComposer/resources/microphone.png +0 -0
- package/lib/CometChatMessageComposer/resources/send_message.png +0 -0
- package/lib/CometChatMessageComposer/resources/stickers.png +0 -0
- package/lib/CometChatMessageComposer/styles.d.ts +1 -28
- package/lib/CometChatMessageComposer/styles.js +1 -3
- package/lib/CometChatMessageComposer/styles.js.map +1 -1
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +8 -2
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -1
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -1
- package/lib/CometChatMessageHeader/listners.d.ts +4 -4
- package/lib/CometChatMessageHeader/listners.js +4 -5
- package/lib/CometChatMessageHeader/listners.js.map +1 -1
- package/lib/CometChatMessageHeader/resources/Back.png +0 -0
- package/lib/CometChatMessageHeader/resources/password.png +0 -0
- package/lib/CometChatMessageHeader/resources/private.png +0 -0
- package/lib/CometChatMessageHeader/styles.d.ts +1 -16
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js +32 -18
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -1
- package/lib/CometChatMessageInformation/resources/Spineer.png +0 -0
- package/lib/CometChatMessageInformation/styles.d.ts +1 -23
- package/lib/CometChatMessageList/CometChatMessageList.js +782 -266
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -1
- package/lib/CometChatMessageList/MessageListConfiguration.js +30 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -1
- package/lib/CometChatMessageList/resources/back.png +0 -0
- package/lib/CometChatMessageList/resources/close.png +0 -0
- package/lib/CometChatMessageList/resources/downArrowIcon.png +0 -0
- package/lib/CometChatMessageList/resources/index.d.ts +3 -1
- package/lib/CometChatMessageList/resources/index.js +3 -1
- package/lib/CometChatMessageList/resources/index.js.map +1 -1
- package/lib/CometChatMessageList/resources/leftarrowcurve.png +0 -0
- package/lib/CometChatMessageList/resources/rightArrowIcon.png +0 -0
- package/lib/CometChatMessageList/resources/rightarrowcurve.png +0 -0
- package/lib/CometChatMessageList/resources/spineer.png +0 -0
- package/lib/CometChatMessageList/style.d.ts +1 -52
- package/lib/CometChatMessages/CometChatMessages.js +31 -19
- package/lib/CometChatMessages/CometChatMessages.js.map +1 -1
- package/lib/CometChatMessages/MessagesConfiguration.js +1 -1
- package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -1
- package/lib/CometChatMessages/resources/info.png +0 -0
- package/lib/CometChatMessages/style.d.ts +1 -21
- package/lib/CometChatTabs/CometChatTabs.d.ts +1 -2
- package/lib/CometChatTabs/CometChatTabs.js +1 -1
- package/lib/CometChatTabs/CometChatTabs.js.map +1 -1
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +54 -20
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -1
- package/lib/CometChatThreadedMessages/Header.d.ts +1 -2
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +15 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -1
- package/lib/CometChatThreadedMessages/resources/Back.png +0 -0
- package/lib/CometChatThreadedMessages/resources/close.png +0 -0
- package/lib/CometChatThreadedMessages/resources/more.png +0 -0
- package/lib/CometChatThreadedMessages/resources/password.png +0 -0
- package/lib/CometChatThreadedMessages/resources/private.png +0 -0
- package/lib/CometChatThreadedMessages/resources/right-arrow.png +0 -0
- package/lib/CometChatThreadedMessages/style.d.ts +1 -28
- package/lib/CometChatThreadedMessages/style.js +3 -1
- package/lib/CometChatThreadedMessages/style.js.map +1 -1
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +1 -2
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -1
- package/lib/CometChatUsers/CometChatUsers.js +1 -1
- package/lib/CometChatUsers/CometChatUsers.js.map +1 -1
- package/lib/CometChatUsers/UsersConfiguration.js.map +1 -1
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +1 -2
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -1
- package/lib/CometChatUsersWithMessages/styles.d.ts +1 -12
- package/lib/calls/CallEvents.d.ts +1 -0
- package/lib/calls/CallEvents.js +1 -0
- package/lib/calls/CallEvents.js.map +1 -1
- package/lib/calls/CallUtils.d.ts +3 -0
- package/lib/calls/CallUtils.js +106 -50
- package/lib/calls/CallUtils.js.map +1 -1
- package/lib/calls/CallingDetailsUtils.d.ts +4 -4
- package/lib/calls/CallingDetailsUtils.js +79 -11
- package/lib/calls/CallingDetailsUtils.js.map +1 -1
- package/lib/calls/CallingExtentionDecorator.d.ts +6 -5
- package/lib/calls/CallingExtentionDecorator.js +41 -28
- package/lib/calls/CallingExtentionDecorator.js.map +1 -1
- package/lib/calls/CallingPackage.js +13 -2
- package/lib/calls/CallingPackage.js.map +1 -1
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +1 -2
- package/lib/calls/CometChatCallBubble/resources/avatar.png +0 -0
- package/lib/calls/CometChatCallBubble/resources/incomingaudiocall.png +0 -0
- package/lib/calls/CometChatCallBubble/resources/incomingvideocall.png +0 -0
- package/lib/calls/CometChatCallBubble/styles.d.ts +1 -20
- package/lib/calls/CometChatCallBubble/styles.js +2 -1
- package/lib/calls/CometChatCallBubble/styles.js.map +1 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +1 -2
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +13 -4
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -1
- package/lib/calls/CometChatCallButtons/resources/Call.png +0 -0
- package/lib/calls/CometChatCallButtons/resources/Video.png +0 -0
- package/lib/calls/CometChatCallButtons/style.d.ts +1 -12
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js +58 -0
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.d.ts +12 -0
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js +19 -0
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js +180 -0
- package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/index.d.ts +4 -0
- package/lib/calls/CometChatCallLogDetails/index.js +5 -0
- package/lib/calls/CometChatCallLogDetails/index.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/resources/CloseIcon.png +0 -0
- package/lib/calls/CometChatCallLogDetails/resources/index.d.ts +2 -0
- package/lib/calls/CometChatCallLogDetails/resources/index.js +3 -0
- package/lib/calls/CometChatCallLogDetails/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/style.d.ts +1 -0
- package/lib/calls/CometChatCallLogDetails/style.js +15 -0
- package/lib/calls/CometChatCallLogDetails/style.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js +33 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.d.ts +40 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js +25 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js +183 -0
- package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/index.d.ts +4 -0
- package/lib/calls/CometChatCallLogHistory/index.js +5 -0
- package/lib/calls/CometChatCallLogHistory/index.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Call.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Info.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Selection.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Spineer.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Video.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/check.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/incomingcall.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/incomingvideo.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/index.d.ts +14 -0
- package/lib/calls/CometChatCallLogHistory/resources/index.js +15 -0
- package/lib/calls/CometChatCallLogHistory/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/resources/missedcall.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/missedvideo.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/outgoingcall.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/outgoingvideo.png +0 -0
- package/lib/calls/CometChatCallLogHistory/style.d.ts +1 -0
- package/lib/calls/CometChatCallLogHistory/style.js +24 -0
- package/lib/calls/CometChatCallLogHistory/style.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js +32 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.d.ts +24 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js +31 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js +96 -0
- package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/index.d.ts +4 -0
- package/lib/calls/CometChatCallLogParticipants/index.js +5 -0
- package/lib/calls/CometChatCallLogParticipants/index.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogParticipants/resources/index.d.ts +2 -0
- package/lib/calls/CometChatCallLogParticipants/resources/index.js +3 -0
- package/lib/calls/CometChatCallLogParticipants/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/style.d.ts +1 -0
- package/lib/calls/CometChatCallLogParticipants/style.js +24 -0
- package/lib/calls/CometChatCallLogParticipants/style.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js +33 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.d.ts +26 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js +33 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js +133 -0
- package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/index.d.ts +4 -0
- package/lib/calls/CometChatCallLogRecordings/index.js +5 -0
- package/lib/calls/CometChatCallLogRecordings/index.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogRecordings/resources/download.png +0 -0
- package/lib/calls/CometChatCallLogRecordings/resources/index.d.ts +3 -0
- package/lib/calls/CometChatCallLogRecordings/resources/index.js +4 -0
- package/lib/calls/CometChatCallLogRecordings/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/style.d.ts +1 -0
- package/lib/calls/CometChatCallLogRecordings/style.js +24 -0
- package/lib/calls/CometChatCallLogRecordings/style.js.map +1 -0
- package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js +44 -0
- package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallLogs/CallLogsStyle.d.ts +42 -0
- package/lib/calls/CometChatCallLogs/CallLogsStyle.js +49 -0
- package/lib/calls/CometChatCallLogs/CallLogsStyle.js.map +1 -0
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +288 -0
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -0
- package/lib/calls/CometChatCallLogs/index.d.ts +4 -0
- package/lib/calls/CometChatCallLogs/index.js +5 -0
- package/lib/calls/CometChatCallLogs/index.js.map +1 -0
- package/lib/calls/CometChatCallLogs/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/Info.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/Selection.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/Spinner.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/check.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/incomingcall.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/incomingvideo.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/index.d.ts +12 -0
- package/lib/calls/CometChatCallLogs/resources/index.js +13 -0
- package/lib/calls/CometChatCallLogs/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogs/resources/missedcall.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/missedvideo.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/outgoingcall.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/outgoingvideo.png +0 -0
- package/lib/calls/CometChatCallLogs/style.d.ts +1 -0
- package/lib/calls/CometChatCallLogs/style.js +24 -0
- package/lib/calls/CometChatCallLogs/style.js.map +1 -0
- package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.d.ts +8 -0
- package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.js +2 -0
- package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.d.ts +11 -0
- package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js +23 -0
- package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js.map +1 -0
- package/lib/calls/CometChatCallLogsWithDetails/index.d.ts +3 -0
- package/lib/calls/CometChatCallLogsWithDetails/index.js +3 -0
- package/lib/calls/CometChatCallLogsWithDetails/index.js.map +1 -0
- package/lib/calls/CometChatCallLogsWithDetails/style.d.ts +1 -0
- package/lib/calls/CometChatCallLogsWithDetails/style.js +10 -0
- package/lib/calls/CometChatCallLogsWithDetails/style.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +14 -11
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -1
- package/lib/calls/CometChatIncomingCall/resources/Call.png +0 -0
- package/lib/calls/CometChatIncomingCall/resources/close.png +0 -0
- package/lib/calls/CometChatIncomingCall/resources/incomingaudiocall.png +0 -0
- package/lib/calls/CometChatIncomingCall/resources/incomingvideocall.png +0 -0
- package/lib/calls/CometChatIncomingCall/styles.d.ts +1 -9
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +1 -2
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -1
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +1 -2
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +21 -12
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -1
- package/lib/calls/CometChatOutgoingCall/resources/Close.png +0 -0
- package/lib/calls/index.d.ts +7 -1
- package/lib/calls/index.js +7 -1
- package/lib/calls/index.js.map +1 -1
- package/lib/calls/resources/Call.png +0 -0
- package/lib/calls/resources/Video.png +0 -0
- package/lib/calls/resources/index.d.ts +2 -1
- package/lib/calls/resources/index.js +2 -1
- package/lib/calls/resources/index.js.map +1 -1
- package/lib/calls/resources/nextarrow.png +0 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +1 -2
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -1
- package/lib/extensions/CollaborativeBubble/resources/whiteboard.png +0 -0
- package/lib/extensions/CollaborativeBubble/styles.d.ts +1 -33
- package/lib/extensions/CollaborativeBubble/styles.js +2 -0
- package/lib/extensions/CollaborativeBubble/styles.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +3 -4
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +2 -2
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/resources/collaborative_document.png +0 -0
- package/lib/extensions/CollaborativeDocument/resources/collaborative_document_2x.png +0 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +3 -4
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +2 -2
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -1
- package/lib/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/whiteboard.png +0 -0
- package/lib/extensions/ExtensionConstants.js +1 -1
- package/lib/extensions/ExtensionConstants.js.map +1 -1
- package/lib/extensions/ExtensionModerator.js.map +1 -1
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +1 -1
- package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -1
- package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +1 -2
- package/lib/extensions/ImageModeration/ImageModerationFilter.js +4 -4
- package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -1
- package/lib/extensions/ImageModeration/resources/unsafe.png +0 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js +33 -6
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +3 -3
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -1
- package/lib/extensions/LinkPreview/resources/defaultImage.png +0 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +3 -2
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +27 -6
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +66 -5
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -1
- package/lib/extensions/MessageTranslation/resources/translate.png +0 -0
- package/lib/extensions/Polls/Header.d.ts +1 -2
- package/lib/extensions/Polls/Polls.d.ts +1 -2
- package/lib/extensions/Polls/Polls.js +109 -78
- package/lib/extensions/Polls/Polls.js.map +1 -1
- package/lib/extensions/Polls/PollsBubble.d.ts +1 -2
- package/lib/extensions/Polls/PollsBubble.js +43 -16
- package/lib/extensions/Polls/PollsBubble.js.map +1 -1
- package/lib/extensions/Polls/PollsDecorator.d.ts +3 -4
- package/lib/extensions/Polls/PollsDecorator.js +2 -2
- package/lib/extensions/Polls/PollsDecorator.js.map +1 -1
- package/lib/extensions/Polls/PollsExtension.js.map +1 -1
- package/lib/extensions/Polls/resources/close.png +0 -0
- package/lib/extensions/Polls/resources/document.png +0 -0
- package/lib/extensions/Polls/resources/kickIcon.png +0 -0
- package/lib/extensions/Polls/resources/rightTick.png +0 -0
- package/lib/extensions/Polls/resources/warning.png +0 -0
- package/lib/extensions/Polls/style.d.ts +1 -45
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +0 -1
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +16 -8
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -1
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -1
- package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +1 -2
- package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -1
- package/lib/extensions/SmartReplies/resources/close.png +0 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +1 -2
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +6 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +1 -55
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +3 -3
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +1 -1
- package/lib/extensions/Stickers/StickersBubble.d.ts +1 -2
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +4 -5
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +19 -8
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -1
- package/lib/extensions/Stickers/resources/Stickers.png +0 -0
- package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +2 -3
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +2 -2
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +5 -3
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/resources/empty.png +0 -0
- package/lib/extensions/ThumbnailGeneration/resources/index.d.ts +2 -0
- package/lib/extensions/ThumbnailGeneration/resources/index.js +3 -0
- package/lib/extensions/ThumbnailGeneration/resources/index.js.map +1 -0
- package/lib/extensions/index.d.ts +1 -2
- package/lib/extensions/index.js +1 -2
- package/lib/extensions/index.js.map +1 -1
- package/lib/index.d.ts +24 -4
- package/lib/index.js +37 -7
- package/lib/index.js.map +1 -1
- package/lib/shared/CometChatContext.d.ts +2 -4
- package/lib/shared/CometChatContext.js +4 -1
- package/lib/shared/CometChatContext.js.map +1 -1
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +39 -3
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +295 -57
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -1
- package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +5 -1
- package/lib/shared/CometChatUiKit/UIKitSettings.js +3 -1
- package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -1
- package/lib/shared/CometChatUiKit/index.d.ts +1 -1
- package/lib/shared/CometChatUiKit/index.js +1 -1
- package/lib/shared/CometChatUiKit/index.js.map +1 -1
- package/lib/shared/assets/images/Back.png +0 -0
- package/lib/shared/assets/images/BackArrow.png +0 -0
- package/lib/shared/assets/images/blue-double-tick-icon.png +0 -0
- package/lib/shared/assets/images/calendar.png +0 -0
- package/lib/shared/assets/images/checkmark.png +0 -0
- package/lib/shared/assets/images/clock-alert.png +0 -0
- package/lib/shared/assets/images/clock.png +0 -0
- package/lib/shared/assets/images/earth.png +0 -0
- package/lib/shared/assets/images/empty-slot.png +0 -0
- package/lib/shared/assets/images/error.png +0 -0
- package/lib/shared/assets/images/forwardArrow.png +0 -0
- package/lib/shared/assets/images/grey-double-tick-icon.png +0 -0
- package/lib/shared/assets/images/grey-tick-icon.png +0 -0
- package/lib/shared/assets/images/index.d.ts +6 -0
- package/lib/shared/assets/images/index.js +12 -0
- package/lib/shared/assets/images/index.js.map +1 -1
- package/lib/shared/assets/images/sending.png +0 -0
- package/lib/shared/base/vars.d.ts +8 -0
- package/lib/shared/base/vars.js +7 -0
- package/lib/shared/base/vars.js.map +1 -0
- package/lib/shared/constants/UIKitConstants.d.ts +82 -44
- package/lib/shared/constants/UIKitConstants.js +38 -1
- package/lib/shared/constants/UIKitConstants.js.map +1 -1
- package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +63 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +50 -3
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +69 -3
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -1
- package/lib/shared/events/CometChatUIEvents.d.ts +3 -1
- package/lib/shared/events/CometChatUIEvents.js +3 -0
- package/lib/shared/events/CometChatUIEvents.js.map +1 -1
- package/lib/shared/events/ListenerInitializer.d.ts +6 -0
- package/lib/shared/events/ListenerInitializer.js +73 -0
- package/lib/shared/events/ListenerInitializer.js.map +1 -0
- package/lib/shared/events/messages.d.ts +18 -1
- package/lib/shared/events/messages.js +17 -0
- package/lib/shared/events/messages.js.map +1 -1
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +323 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +1 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.d.ts +12 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js +14 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js.map +1 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/index.d.ts +3 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/index.js +4 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/index.js.map +1 -0
- package/lib/shared/formatters/CometChatTextFormatter.js +218 -0
- package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -0
- package/lib/shared/formatters/CometChatUrlsFormatter/index.js +129 -0
- package/lib/shared/formatters/CometChatUrlsFormatter/index.js.map +1 -0
- package/lib/shared/formatters/index.d.ts +5 -0
- package/lib/shared/formatters/index.js +6 -0
- package/lib/shared/formatters/index.js.map +1 -0
- package/lib/shared/framework/ChatConfigurator.js.map +1 -1
- package/lib/shared/framework/DataSourceDecorator.d.ts +29 -7
- package/lib/shared/framework/DataSourceDecorator.js +61 -10
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -1
- package/lib/shared/framework/MessageDataSource.js +295 -65
- package/lib/shared/framework/MessageDataSource.js.map +1 -1
- package/lib/shared/framework/resources/audio-file.png +0 -0
- package/lib/shared/framework/resources/circle_add.png +0 -0
- package/lib/shared/framework/resources/copy.png +0 -0
- package/lib/shared/framework/resources/delete.png +0 -0
- package/lib/shared/framework/resources/edit.png +0 -0
- package/lib/shared/framework/resources/emoji.png +0 -0
- package/lib/shared/framework/resources/file_upload.png +0 -0
- package/lib/shared/framework/resources/forward.png +0 -0
- package/lib/shared/framework/resources/heart.png +0 -0
- package/lib/shared/framework/resources/image.png +0 -0
- package/lib/shared/framework/resources/info.png +0 -0
- package/lib/shared/framework/resources/location.png +0 -0
- package/lib/shared/framework/resources/messageInPrivate.png +0 -0
- package/lib/shared/framework/resources/microphone.png +0 -0
- package/lib/shared/framework/resources/pause.png +0 -0
- package/lib/shared/framework/resources/play.png +0 -0
- package/lib/shared/framework/resources/reply.png +0 -0
- package/lib/shared/framework/resources/send_message.png +0 -0
- package/lib/shared/framework/resources/share.png +0 -0
- package/lib/shared/framework/resources/stop_player.png +0 -0
- package/lib/shared/framework/resources/thread.png +0 -0
- package/lib/shared/framework/resources/video_upload.png +0 -0
- package/lib/shared/helper/SwipeRow.d.ts +61 -64
- package/lib/shared/helper/SwipeRow.js.map +1 -1
- package/lib/shared/helper/Toast.d.ts +1 -2
- package/lib/shared/helper/functions.js.map +1 -1
- package/lib/shared/helper/helperFunctions.js.map +1 -1
- package/lib/shared/helper/useKeyboard.d.ts +2 -1
- package/lib/shared/helper/useKeyboard.js +19 -4
- package/lib/shared/helper/useKeyboard.js.map +1 -1
- package/lib/shared/index.d.ts +4 -3
- package/lib/shared/index.js +5 -4
- package/lib/shared/index.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.d.ts +23 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js +107 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.d.ts +9 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js +43 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.d.ts +9 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js +57 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/Providers.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js +14 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/index.d.ts +3 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/index.js +4 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.d.ts +7 -0
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.js +21 -0
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.test.js +90 -0
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.d.ts +14 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.js +45 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.test.js +339 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Days.d.ts +16 -0
- package/lib/shared/libs/CometChatCalendar/Components/Days.js +41 -0
- package/lib/shared/libs/CometChatCalendar/Components/Days.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Days.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Days.test.js +167 -0
- package/lib/shared/libs/CometChatCalendar/Components/Days.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.d.ts +10 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.js +23 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.test.js +131 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.d.ts +14 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.js +29 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.test.d.ts +52 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.test.js +204 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.d.ts +12 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.js +20 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.test.js +84 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.d.ts +5 -0
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js +13 -0
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.test.js +56 -0
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/index.d.ts +7 -0
- package/lib/shared/libs/CometChatCalendar/Components/index.js +8 -0
- package/lib/shared/libs/CometChatCalendar/Components/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Constants/View.d.ts +4 -0
- package/lib/shared/libs/CometChatCalendar/Constants/View.js +6 -0
- package/lib/shared/libs/CometChatCalendar/Constants/View.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Constants/index.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Constants/index.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Constants/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.js +5 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.js +5 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/index.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/index.js +3 -0
- package/lib/shared/libs/CometChatCalendar/Contexts/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Calendar.d.ts +19 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Calendar.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Calendar.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Components.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Components.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.d.ts +4 -0
- package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Locale.d.ts +8 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Locale.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Locale.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Theme.d.ts +37 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Theme.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Entities/Theme.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Entities/index.d.ts +6 -0
- package/lib/shared/libs/CometChatCalendar/Entities/index.js +7 -0
- package/lib/shared/libs/CometChatCalendar/Entities/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/index.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/index.js +2 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js +54 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.js +35 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Icons/BackArrow.png +0 -0
- package/lib/shared/libs/CometChatCalendar/Icons/chevron-left-16.png +0 -0
- package/lib/shared/libs/CometChatCalendar/Icons/index.d.ts +8 -0
- package/lib/shared/libs/CometChatCalendar/Icons/index.js +8 -0
- package/lib/shared/libs/CometChatCalendar/Icons/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Locales/index.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Locales/index.js +4 -0
- package/lib/shared/libs/CometChatCalendar/Locales/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Themes/Colors.d.ts +13 -0
- package/lib/shared/libs/CometChatCalendar/Themes/Colors.js +21 -0
- package/lib/shared/libs/CometChatCalendar/Themes/Colors.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.d.ts +3 -0
- package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js +75 -0
- package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.d.ts +3 -0
- package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js +157 -0
- package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Themes/index.d.ts +3 -0
- package/lib/shared/libs/CometChatCalendar/Themes/index.js +4 -0
- package/lib/shared/libs/CometChatCalendar/Themes/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.js +11 -0
- package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.test.js +48 -0
- package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.js +11 -0
- package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/clamp.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Utils/clamp.js +5 -0
- package/lib/shared/libs/CometChatCalendar/Utils/clamp.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/clamp.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/clamp.test.js +34 -0
- package/lib/shared/libs/CometChatCalendar/Utils/clamp.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.d.ts +2 -0
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js +16 -0
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.test.js +18 -0
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.d.ts +6 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js +19 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.test.js +41 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.d.ts +11 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js +17 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.d.ts +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.js +58 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.test.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/index.d.ts +6 -0
- package/lib/shared/libs/CometChatCalendar/Utils/index.js +7 -0
- package/lib/shared/libs/CometChatCalendar/Utils/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/index.d.ts +5 -0
- package/lib/shared/libs/CometChatCalendar/index.js +6 -0
- package/lib/shared/libs/CometChatCalendar/index.js.map +1 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.d.ts +227 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js +747 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js.map +1 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.d.ts +79 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js +161 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js.map +1 -0
- package/lib/shared/libs/ImageZoom/helper.d.ts +8 -0
- package/lib/shared/libs/ImageZoom/helper.js +90 -0
- package/lib/shared/libs/ImageZoom/helper.js.map +1 -0
- package/lib/shared/libs/ImageZoom/index.d.ts +4 -0
- package/lib/shared/libs/ImageZoom/index.js +4 -0
- package/lib/shared/libs/ImageZoom/index.js.map +1 -0
- package/lib/shared/libs/ImageZoom/types/index.d.ts +91 -0
- package/lib/shared/libs/ImageZoom/types/index.js +8 -0
- package/lib/shared/libs/ImageZoom/types/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayer/DRMType.d.ts +7 -0
- package/lib/shared/libs/VideoPlayer/DRMType.js +7 -0
- package/lib/shared/libs/VideoPlayer/DRMType.js.map +1 -0
- package/lib/shared/libs/VideoPlayer/FilterType.d.ts +19 -0
- package/lib/shared/libs/VideoPlayer/FilterType.js +19 -0
- package/lib/shared/libs/VideoPlayer/FilterType.js.map +1 -0
- package/lib/shared/libs/VideoPlayer/TextTrackType.d.ts +6 -0
- package/lib/shared/libs/VideoPlayer/TextTrackType.js +6 -0
- package/lib/shared/libs/VideoPlayer/TextTrackType.js.map +1 -0
- package/lib/shared/libs/VideoPlayer/Video.d.ts +48 -0
- package/lib/shared/libs/VideoPlayer/Video.js +437 -0
- package/lib/shared/libs/VideoPlayer/Video.js.map +1 -0
- package/lib/shared/libs/VideoPlayer/VideoResizeMode.d.ts +6 -0
- package/lib/shared/libs/VideoPlayer/VideoResizeMode.js +6 -0
- package/lib/shared/libs/VideoPlayer/VideoResizeMode.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.d.ts +10 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js +16 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.d.ts +6 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js +10 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.d.ts +2 -0
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js +313 -0
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/back.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/expand.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/expand@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/expand@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/forward.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/forward@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/forward@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/pause.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/pause@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/pause@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/play.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/play@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/play@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/rewind.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/rewind@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/rewind@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/shrink.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/shrink@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/shrink@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/volume.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/volume@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/volume@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/components/Back/Back.d.ts +10 -0
- package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js +9 -0
- package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Back/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Back/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/components/Back/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/BottomControls.d.ts +28 -0
- package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js +54 -0
- package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Control.d.ts +12 -0
- package/lib/shared/libs/VideoPlayerControls/components/Control.js +15 -0
- package/lib/shared/libs/VideoPlayerControls/components/Control.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/Error.d.ts +5 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js +13 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/styles.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/styles.js +21 -0
- package/lib/shared/libs/VideoPlayerControls/components/Error/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.d.ts +8 -0
- package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js +17 -0
- package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.d.ts +5 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js +9 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.js +16 -0
- package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/NullControl.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/NullControl.js +7 -0
- package/lib/shared/libs/VideoPlayerControls/components/NullControl.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Overlay.d.ts +4 -0
- package/lib/shared/libs/VideoPlayerControls/components/Overlay.js +17 -0
- package/lib/shared/libs/VideoPlayerControls/components/Overlay.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.d.ts +20 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js +43 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.js +21 -0
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.d.ts +11 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js +20 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.js +37 -0
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.d.ts +9 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js +10 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.js +12 -0
- package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Title.d.ts +5 -0
- package/lib/shared/libs/VideoPlayerControls/components/Title.js +26 -0
- package/lib/shared/libs/VideoPlayerControls/components/Title.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/TopControls.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/TopControls.js +39 -0
- package/lib/shared/libs/VideoPlayerControls/components/TopControls.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.d.ts +11 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js +13 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/index.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/index.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.js +31 -0
- package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/index.d.ts +14 -0
- package/lib/shared/libs/VideoPlayerControls/components/index.js +15 -0
- package/lib/shared/libs/VideoPlayerControls/components/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/styles.d.ts +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/styles.js +30 -0
- package/lib/shared/libs/VideoPlayerControls/components/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/index.d.ts +3 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/index.js +4 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.d.ts +2 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.js +61 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.d.ts +17 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.js +43 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.d.ts +24 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.js +55 -0
- package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/index.d.ts +3 -0
- package/lib/shared/libs/VideoPlayerControls/index.js +4 -0
- package/lib/shared/libs/VideoPlayerControls/index.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/styles.d.ts +3 -0
- package/lib/shared/libs/VideoPlayerControls/styles.js +19 -0
- package/lib/shared/libs/VideoPlayerControls/styles.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/types.d.ts +248 -0
- package/lib/shared/libs/VideoPlayerControls/types.js +2 -0
- package/lib/shared/libs/VideoPlayerControls/types.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/utils.d.ts +10 -0
- package/lib/shared/libs/VideoPlayerControls/utils.js +46 -0
- package/lib/shared/libs/VideoPlayerControls/utils.js.map +1 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.d.ts +1 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js +64 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js.map +1 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.d.ts +1 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.d.ts +82 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js +239 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js.map +1 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.js +9 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.js.map +1 -0
- package/lib/shared/libs/datePickerModal/Modal.d.ts +30 -0
- package/lib/shared/libs/datePickerModal/Modal.js +134 -0
- package/lib/shared/libs/datePickerModal/Modal.js.map +1 -0
- package/lib/shared/libs/datePickerModal/index.d.ts +3 -0
- package/lib/shared/libs/datePickerModal/index.js +4 -0
- package/lib/shared/libs/datePickerModal/index.js.map +1 -0
- package/lib/shared/libs/datePickerModal/utils.d.ts +1 -0
- package/lib/shared/libs/datePickerModal/utils.js +22 -0
- package/lib/shared/libs/datePickerModal/utils.js.map +1 -0
- package/lib/shared/libs/luxon/src/datetime.d.ts +1181 -0
- package/lib/shared/libs/luxon/src/datetime.js +2095 -0
- package/lib/shared/libs/luxon/src/datetime.js.map +1 -0
- package/lib/shared/libs/luxon/src/duration.d.ts +637 -0
- package/lib/shared/libs/luxon/src/duration.js +905 -0
- package/lib/shared/libs/luxon/src/duration.js.map +1 -0
- package/lib/shared/libs/luxon/src/errors.d.ts +46 -0
- package/lib/shared/libs/luxon/src/errors.js +57 -0
- package/lib/shared/libs/luxon/src/errors.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/conversions.d.ts +24 -0
- package/lib/shared/libs/luxon/src/impl/conversions.js +163 -0
- package/lib/shared/libs/luxon/src/impl/conversions.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/diff.d.ts +2 -0
- package/lib/shared/libs/luxon/src/impl/diff.js +80 -0
- package/lib/shared/libs/luxon/src/impl/diff.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/digits.d.ts +4 -0
- package/lib/shared/libs/luxon/src/impl/digits.js +73 -0
- package/lib/shared/libs/luxon/src/impl/digits.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/english.d.ts +22 -0
- package/lib/shared/libs/luxon/src/impl/english.js +204 -0
- package/lib/shared/libs/luxon/src/impl/english.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/formats.d.ts +154 -0
- package/lib/shared/libs/luxon/src/impl/formats.js +152 -0
- package/lib/shared/libs/luxon/src/impl/formats.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/formatter.d.ts +24 -0
- package/lib/shared/libs/luxon/src/impl/formatter.js +367 -0
- package/lib/shared/libs/luxon/src/impl/formatter.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/invalid.d.ts +6 -0
- package/lib/shared/libs/luxon/src/impl/invalid.js +15 -0
- package/lib/shared/libs/luxon/src/impl/invalid.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/locale.d.ts +86 -0
- package/lib/shared/libs/luxon/src/impl/locale.js +460 -0
- package/lib/shared/libs/luxon/src/impl/locale.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/regexParser.d.ts +6 -0
- package/lib/shared/libs/luxon/src/impl/regexParser.js +212 -0
- package/lib/shared/libs/luxon/src/impl/regexParser.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/tokenParser.d.ts +27 -0
- package/lib/shared/libs/luxon/src/impl/tokenParser.js +413 -0
- package/lib/shared/libs/luxon/src/impl/tokenParser.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/util.d.ts +38 -0
- package/lib/shared/libs/luxon/src/impl/util.js +257 -0
- package/lib/shared/libs/luxon/src/impl/util.js.map +1 -0
- package/lib/shared/libs/luxon/src/impl/zoneUtil.d.ts +1 -0
- package/lib/shared/libs/luxon/src/impl/zoneUtil.js +41 -0
- package/lib/shared/libs/luxon/src/impl/zoneUtil.js.map +1 -0
- package/lib/shared/libs/luxon/src/info.d.ts +178 -0
- package/lib/shared/libs/luxon/src/info.js +182 -0
- package/lib/shared/libs/luxon/src/info.js.map +1 -0
- package/lib/shared/libs/luxon/src/interval.d.ts +328 -0
- package/lib/shared/libs/luxon/src/interval.js +606 -0
- package/lib/shared/libs/luxon/src/interval.js.map +1 -0
- package/lib/shared/libs/luxon/src/luxon.d.ts +12 -0
- package/lib/shared/libs/luxon/src/luxon.js +13 -0
- package/lib/shared/libs/luxon/src/luxon.js.map +1 -0
- package/lib/shared/libs/luxon/src/settings.d.ts +115 -0
- package/lib/shared/libs/luxon/src/settings.js +149 -0
- package/lib/shared/libs/luxon/src/settings.js.map +1 -0
- package/lib/shared/libs/luxon/src/zone.d.ts +66 -0
- package/lib/shared/libs/luxon/src/zone.js +83 -0
- package/lib/shared/libs/luxon/src/zone.js.map +1 -0
- package/lib/shared/libs/luxon/src/zones/IANAZone.d.ts +53 -0
- package/lib/shared/libs/luxon/src/zones/IANAZone.js +167 -0
- package/lib/shared/libs/luxon/src/zones/IANAZone.js.map +1 -0
- package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.d.ts +38 -0
- package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.js +90 -0
- package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.js.map +1 -0
- package/lib/shared/libs/luxon/src/zones/invalidZone.d.ts +20 -0
- package/lib/shared/libs/luxon/src/zones/invalidZone.js +45 -0
- package/lib/shared/libs/luxon/src/zones/invalidZone.js.map +1 -0
- package/lib/shared/libs/luxon/src/zones/systemZone.d.ts +23 -0
- package/lib/shared/libs/luxon/src/zones/systemZone.js +52 -0
- package/lib/shared/libs/luxon/src/zones/systemZone.js.map +1 -0
- package/lib/shared/modals/CometChatCallLogDetailsOptions.js +2 -0
- package/lib/shared/modals/CometChatCallLogDetailsOptions.js.map +1 -0
- package/lib/shared/modals/CometChatCallLogDetailsTemplate.d.ts +15 -0
- package/lib/shared/modals/CometChatCallLogDetailsTemplate.js +2 -0
- package/lib/shared/modals/CometChatCallLogDetailsTemplate.js.map +1 -0
- package/lib/shared/modals/CometChatMessageTemplate.js +52 -1
- package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.d.ts +73 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js +104 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.d.ts +12 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.js +18 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.d.ts +21 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js +30 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/index.d.ts +3 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/index.js +4 -0
- package/lib/shared/modals/InteractiveData/InteractiveActions/index.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.d.ts +41 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js +61 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.d.ts +55 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js +80 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/index.d.ts +2 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/index.js +3 -0
- package/lib/shared/modals/InteractiveData/InteractiveData/index.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.d.ts +40 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js +89 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.d.ts +18 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js +43 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.d.ts +38 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js +55 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.d.ts +40 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js +69 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.d.ts +52 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js +88 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.d.ts +46 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js +75 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.d.ts +20 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js +29 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.d.ts +26 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js +36 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.d.ts +40 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js +69 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.d.ts +40 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js +69 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.d.ts +59 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js +91 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/index.d.ts +10 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/index.js +11 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/index.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.d.ts +22 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js +36 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.d.ts +25 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js +61 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/index.d.ts +2 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/index.js +3 -0
- package/lib/shared/modals/InteractiveData/InteractiveEntities/index.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.d.ts +70 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js +118 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.d.ts +20 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js +29 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.d.ts +68 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js +125 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.d.ts +63 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js +106 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/index.d.ts +4 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/index.js +5 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/index.js.map +1 -0
- package/lib/shared/modals/InteractiveData/index.d.ts +4 -0
- package/lib/shared/modals/InteractiveData/index.js +6 -0
- package/lib/shared/modals/InteractiveData/index.js.map +1 -0
- package/lib/shared/modals/index.d.ts +4 -1
- package/lib/shared/modals/index.js +2 -1
- package/lib/shared/modals/index.js.map +1 -1
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +1229 -335
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +2 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -1
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +163 -119
- package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +159 -114
- package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +52 -8
- package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +154 -109
- package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +152 -107
- package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +172 -128
- package/lib/shared/resources/CometChatLocalize/resources/hu/translation.json +315 -0
- package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +226 -181
- package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +138 -93
- package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +138 -93
- package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +180 -135
- package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +194 -149
- package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +173 -128
- package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +187 -142
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +2 -2
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -1
- package/lib/shared/resources/CometChatSoundManager/resources/incomingcall.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/incomingmessage.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/incomingothermessage.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/outgoingcall.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/outgoingmessage.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/sound.d.ts +1 -1
- package/lib/shared/resources/CometChatSoundManager/sound.js +35 -35
- package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -1
- package/lib/shared/resources/CometChatTheme/Palette.d.ts +43 -17
- package/lib/shared/resources/CometChatTheme/Palette.js +108 -38
- package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -1
- package/lib/shared/resources/CometChatTheme/Typography.d.ts +23 -1
- package/lib/shared/resources/CometChatTheme/Typography.js +100 -0
- package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -1
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +1 -2
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -1
- package/lib/shared/utils/CometChatLiveReactions/resources/heart.png +0 -0
- package/lib/shared/utils/CometChatLiveReactions/style.d.ts +1 -5
- package/lib/shared/utils/CometChatMessageHelper/index.d.ts +1 -1
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +6 -8
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -1
- package/lib/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
- package/lib/shared/utils/CometChatMessagePreview/style.d.ts +1 -9
- package/lib/shared/utils/CommonUtils.d.ts +6 -0
- package/lib/shared/utils/CommonUtils.js +70 -0
- package/lib/shared/utils/CommonUtils.js.map +1 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +0 -1
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js +1 -1
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -1
- package/lib/shared/utils/DetailsUtils/resources/Back.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/banIcon.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/close.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/kickIcon.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/password.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/private.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/right-arrow.png +0 -0
- package/lib/shared/utils/InteractiveMessageUtils.d.ts +8 -0
- package/lib/shared/utils/InteractiveMessageUtils.js +48 -0
- package/lib/shared/utils/InteractiveMessageUtils.js.map +1 -0
- package/lib/shared/utils/MessageUtils.d.ts +1 -2
- package/lib/shared/utils/MessageUtils.js.map +1 -1
- package/lib/shared/utils/NetworkUtils.d.ts +9 -0
- package/lib/shared/utils/NetworkUtils.js +28 -0
- package/lib/shared/utils/NetworkUtils.js.map +1 -0
- package/lib/shared/utils/PermissionUtil.d.ts +27 -0
- package/lib/shared/utils/PermissionUtil.js +122 -0
- package/lib/shared/utils/PermissionUtil.js.map +1 -0
- package/lib/shared/utils/SchedulerUtils.d.ts +17 -0
- package/lib/shared/utils/SchedulerUtils.js +142 -0
- package/lib/shared/utils/SchedulerUtils.js.map +1 -0
- package/lib/shared/utils/conversationUtils.js +14 -1
- package/lib/shared/utils/conversationUtils.js.map +1 -1
- package/lib/shared/utils/icsToJson.d.ts +2 -0
- package/lib/shared/utils/icsToJson.js +108 -0
- package/lib/shared/utils/icsToJson.js.map +1 -0
- package/lib/shared/views/CometChatAICard/CometChatAICard.d.ts +16 -0
- package/lib/shared/views/CometChatAICard/CometChatAICard.js +40 -0
- package/lib/shared/views/CometChatAICard/CometChatAICard.js.map +1 -0
- package/lib/shared/views/CometChatAICard/resources/errormessage.png +0 -0
- package/lib/shared/views/CometChatAICard/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatAICard/resources/index.js +4 -0
- package/lib/shared/views/CometChatAICard/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatAICard/resources/nomessage.png +0 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +3 -1
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +4 -1
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -1
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +2 -2
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +33 -29
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -1
- package/lib/shared/views/CometChatActionSheet/resources/grid.png +0 -0
- package/lib/shared/views/CometChatActionSheet/resources/list.png +0 -0
- package/lib/shared/views/CometChatActionSheet/style.d.ts +1 -44
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +1 -2
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +21 -3
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -1
- package/lib/shared/views/CometChatAudioBubble/resources/pause.png +0 -0
- package/lib/shared/views/CometChatAudioBubble/resources/play.png +0 -0
- package/lib/shared/views/CometChatAudioBubble/style.d.ts +1 -26
- package/lib/shared/views/CometChatAudioBubble/style.js +4 -2
- package/lib/shared/views/CometChatAudioBubble/style.js.map +1 -1
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js +1 -1
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -1
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +1 -2
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +5 -1
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -1
- package/lib/shared/views/CometChatAvatar/resources/default.jpg +0 -0
- package/lib/shared/views/CometChatAvatar/styles.d.ts +1 -21
- package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +1 -2
- package/lib/shared/views/CometChatBadge/styles.d.ts +1 -13
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +4 -2
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +21 -15
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -1
- package/lib/shared/views/CometChatBottomSheet/style.d.ts +1 -50
- package/lib/shared/views/CometChatBottomSheet/style.js +0 -2
- package/lib/shared/views/CometChatBottomSheet/style.js.map +1 -1
- package/lib/shared/views/CometChatButton/CometChatButton.d.ts +2 -2
- package/lib/shared/views/CometChatButton/CometChatButton.js +25 -17
- package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -1
- package/lib/shared/views/CometChatButton/style.d.ts +1 -6
- package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -1
- package/lib/shared/views/CometChatCard/style.d.ts +1 -11
- package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.d.ts +20 -0
- package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js +24 -0
- package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.d.ts +8 -0
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js +120 -0
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js.map +1 -0
- package/lib/shared/views/CometChatCardBubble/index.d.ts +1 -0
- package/lib/shared/views/CometChatCardBubble/index.js +2 -0
- package/lib/shared/views/CometChatCardBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.d.ts +22 -0
- package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js +22 -0
- package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js.map +1 -0
- package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.d.ts +11 -0
- package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js +47 -0
- package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +1 -2
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -1
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -1
- package/lib/shared/views/CometChatConfirmDialog/style.d.ts +1 -61
- package/lib/shared/views/CometChatDate/CometChatDate.d.ts +5 -2
- package/lib/shared/views/CometChatDate/CometChatDate.js +5 -6
- package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -1
- package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +3 -1
- package/lib/shared/views/CometChatDate/DateConfiguration.js +3 -1
- package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatDate/style.d.ts +1 -5
- package/lib/shared/views/CometChatDate/style.js +1 -1
- package/lib/shared/views/CometChatDate/style.js.map +1 -1
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +13 -0
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js +125 -0
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +1 -0
- package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.d.ts +7 -0
- package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.js +13 -0
- package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.js.map +1 -0
- package/lib/shared/views/CometChatDateTimePicker/index.d.ts +2 -0
- package/lib/shared/views/CometChatDateTimePicker/index.js +2 -0
- package/lib/shared/views/CometChatDateTimePicker/index.js.map +1 -0
- package/lib/shared/views/CometChatDropDown/CometChatDropDown.d.ts +13 -0
- package/lib/shared/views/CometChatDropDown/CometChatDropDown.js +85 -0
- package/lib/shared/views/CometChatDropDown/CometChatDropDown.js.map +1 -0
- package/lib/shared/views/CometChatDropDown/DropDownStyle.d.ts +20 -0
- package/lib/shared/views/CometChatDropDown/DropDownStyle.js +20 -0
- package/lib/shared/views/CometChatDropDown/DropDownStyle.js.map +1 -0
- package/lib/shared/views/CometChatDropDown/resources/downArrowIcon.png +0 -0
- package/lib/shared/views/CometChatDropDown/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatDropDown/resources/index.js +3 -0
- package/lib/shared/views/CometChatDropDown/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +4 -13
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +21 -22
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +3 -4
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +3 -3
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +11 -11
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/resources/activity.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/animals.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/flags.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/food.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/objects.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/smileys.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/symbols.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/travel.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +1 -44
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +1 -2
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +51 -4
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -1
- package/lib/shared/views/CometChatFileBubble/resources/download.png +0 -0
- package/lib/shared/views/CometChatFileBubble/resources/file_upload.png +0 -0
- package/lib/shared/views/CometChatFileBubble/style.d.ts +1 -42
- package/lib/shared/views/CometChatFileBubble/style.js +4 -2
- package/lib/shared/views/CometChatFileBubble/style.js.map +1 -1
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.d.ts +8 -0
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +372 -0
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js.map +1 -0
- package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.d.ts +47 -0
- package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js +45 -0
- package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatFormBubble/index.d.ts +1 -0
- package/lib/shared/views/CometChatFormBubble/index.js +2 -0
- package/lib/shared/views/CometChatFormBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +6 -2
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +66 -11
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -1
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +10 -1
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +4 -2
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatImageBubble/assets/index.d.ts +3 -0
- package/lib/shared/views/CometChatImageBubble/assets/index.js +5 -0
- package/lib/shared/views/CometChatImageBubble/assets/index.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/assets/spineer.png +0 -0
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.d.ts +5 -0
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js +72 -0
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js.map +1 -0
- package/lib/shared/views/CometChatImageViewerModal/index.d.ts +1 -0
- package/lib/shared/views/CometChatImageViewerModal/index.js +2 -0
- package/lib/shared/views/CometChatImageViewerModal/index.js.map +1 -0
- package/lib/shared/views/CometChatImageViewerModal/resources/Back.png +0 -0
- package/lib/shared/views/CometChatImageViewerModal/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatImageViewerModal/resources/index.js +5 -0
- package/lib/shared/views/CometChatImageViewerModal/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatLabel/CometChatLabel.d.ts +7 -0
- package/lib/shared/views/CometChatLabel/CometChatLabel.js +15 -0
- package/lib/shared/views/CometChatLabel/CometChatLabel.js.map +1 -0
- package/lib/shared/views/CometChatLabel/LabelStyle.d.ts +10 -0
- package/lib/shared/views/CometChatLabel/LabelStyle.js +10 -0
- package/lib/shared/views/CometChatLabel/LabelStyle.js.map +1 -0
- package/lib/shared/views/CometChatList/CometChatList.js +18 -3
- package/lib/shared/views/CometChatList/CometChatList.js.map +1 -1
- package/lib/shared/views/CometChatList/Header.d.ts +1 -2
- package/lib/shared/views/CometChatList/Header.js.map +1 -1
- package/lib/shared/views/CometChatList/resources/Back.png +0 -0
- package/lib/shared/views/CometChatList/resources/Search.png +0 -0
- package/lib/shared/views/CometChatList/resources/Spinner.png +0 -0
- package/lib/shared/views/CometChatList/resources/check.png +0 -0
- package/lib/shared/views/CometChatList/resources/checkmark.png +0 -0
- package/lib/shared/views/CometChatList/styles.d.ts +1 -98
- package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +5 -1
- package/lib/shared/views/CometChatListItem/CometChatListItem.js +32 -12
- package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -1
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatListItem/style.d.ts +1 -61
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +1 -2
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +36 -5
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/style.d.ts +1 -27
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +7 -5
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -1
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +1 -1
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +5 -4
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -1
- package/lib/shared/views/CometChatMessageInput/styles.d.ts +1 -7
- package/lib/shared/views/CometChatPanel/CometChatPanel.d.ts +9 -0
- package/lib/shared/views/CometChatPanel/CometChatPanel.js +34 -0
- package/lib/shared/views/CometChatPanel/CometChatPanel.js.map +1 -0
- package/lib/shared/views/CometChatPanel/PanelStyle.d.ts +16 -0
- package/lib/shared/views/CometChatPanel/PanelStyle.js +23 -0
- package/lib/shared/views/CometChatPanel/PanelStyle.js.map +1 -0
- package/lib/shared/views/CometChatPanel/resources/CloseIcon.png +0 -0
- package/lib/shared/views/CometChatPanel/resources/index.d.ts +2 -0
- package/lib/shared/views/CometChatPanel/resources/index.js +3 -0
- package/lib/shared/views/CometChatPanel/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.d.ts +10 -0
- package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js +48 -0
- package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js.map +1 -0
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.d.ts +6 -0
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.js +9 -0
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.d.ts +12 -0
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js +19 -0
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js.map +1 -0
- package/lib/shared/views/CometChatQuickReactions/index.d.ts +4 -0
- package/lib/shared/views/CometChatQuickReactions/index.js +5 -0
- package/lib/shared/views/CometChatQuickReactions/index.js.map +1 -0
- package/lib/shared/views/CometChatQuickReactions/resources/AddReactions.png +0 -0
- package/lib/shared/views/CometChatQuickReactions/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatQuickReactions/resources/index.js +3 -0
- package/lib/shared/views/CometChatQuickReactions/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatQuickView/CometChatQuickView.d.ts +10 -0
- package/lib/shared/views/CometChatQuickView/CometChatQuickView.js +40 -0
- package/lib/shared/views/CometChatQuickView/CometChatQuickView.js.map +1 -0
- package/lib/shared/views/CometChatQuickView/QuickViewStyle.d.ts +22 -0
- package/lib/shared/views/CometChatQuickView/QuickViewStyle.js +28 -0
- package/lib/shared/views/CometChatQuickView/QuickViewStyle.js.map +1 -0
- package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.d.ts +11 -0
- package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js +36 -0
- package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js.map +1 -0
- package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.d.ts +19 -0
- package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js +19 -0
- package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js.map +1 -0
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.js +242 -0
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.js.map +1 -0
- package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.d.ts +6 -0
- package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.js +9 -0
- package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatReactionList/ReactionListStyle.d.ts +28 -0
- package/lib/shared/views/CometChatReactionList/ReactionListStyle.js +35 -0
- package/lib/shared/views/CometChatReactionList/ReactionListStyle.js.map +1 -0
- package/lib/shared/views/CometChatReactionList/index.d.ts +4 -0
- package/lib/shared/views/CometChatReactionList/index.js +5 -0
- package/lib/shared/views/CometChatReactionList/index.js.map +1 -0
- package/lib/shared/views/CometChatReactionList/resources/Spineer.png +0 -0
- package/lib/shared/views/CometChatReactionList/resources/index.d.ts +2 -0
- package/lib/shared/views/CometChatReactionList/resources/index.js +3 -0
- package/lib/shared/views/CometChatReactionList/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +18 -0
- package/lib/shared/views/CometChatReactions/CometChatReactions.js +119 -0
- package/lib/shared/views/CometChatReactions/CometChatReactions.js.map +1 -0
- package/lib/shared/views/CometChatReactions/ReactionsConfiguration.d.ts +6 -0
- package/lib/shared/views/CometChatReactions/ReactionsConfiguration.js +9 -0
- package/lib/shared/views/CometChatReactions/ReactionsConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatReactions/ReactionsStyle.d.ts +16 -0
- package/lib/shared/views/CometChatReactions/ReactionsStyle.js +23 -0
- package/lib/shared/views/CometChatReactions/ReactionsStyle.js.map +1 -0
- package/lib/shared/views/CometChatReactions/index.d.ts +4 -0
- package/lib/shared/views/CometChatReactions/index.js +5 -0
- package/lib/shared/views/CometChatReactions/index.js.map +1 -0
- package/lib/shared/views/CometChatReactions/style.d.ts +1 -0
- package/lib/shared/views/CometChatReactions/style.js +42 -0
- package/lib/shared/views/CometChatReactions/style.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +6 -2
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +12 -3
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -1
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +11 -1
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +3 -1
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatReceipt/resources/blue-double-tick-icon.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/error.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/grey-double-tick-icon.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/grey-tick-icon.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/sending.png +0 -0
- package/lib/shared/views/CometChatReceipt/style.d.ts +1 -7
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +8 -0
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +1130 -0
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +1 -0
- package/lib/shared/views/CometChatSchedulerBubble/index.d.ts +2 -0
- package/lib/shared/views/CometChatSchedulerBubble/index.js +2 -0
- package/lib/shared/views/CometChatSchedulerBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatSchedulerBubble/styles.d.ts +24 -0
- package/lib/shared/views/CometChatSchedulerBubble/styles.js +67 -0
- package/lib/shared/views/CometChatSchedulerBubble/styles.js.map +1 -0
- package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.d.ts +11 -0
- package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js +35 -0
- package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js.map +1 -0
- package/lib/shared/views/CometChatSingleSelect/SingleStyle.d.ts +18 -0
- package/lib/shared/views/CometChatSingleSelect/SingleStyle.js +18 -0
- package/lib/shared/views/CometChatSingleSelect/SingleStyle.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +1 -2
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -1
- package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +1 -12
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.d.ts +16 -0
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js +27 -0
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js.map +1 -0
- package/lib/shared/views/CometChatSuggestionList/SuggestionItem.d.ts +43 -0
- package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js +46 -0
- package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js.map +1 -0
- package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.d.ts +19 -0
- package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js +16 -0
- package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatSuggestionList/index.d.ts +4 -0
- package/lib/shared/views/CometChatSuggestionList/index.js +5 -0
- package/lib/shared/views/CometChatSuggestionList/index.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +3 -6
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +18 -29
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -1
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +1 -11
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +1 -5
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatTextBubble/index.d.ts +2 -2
- package/lib/shared/views/CometChatTextBubble/index.js +2 -2
- package/lib/shared/views/CometChatTextBubble/index.js.map +1 -1
- package/lib/shared/views/CometChatTextInput/CometChatTextInput.d.ts +11 -0
- package/lib/shared/views/CometChatTextInput/CometChatTextInput.js +37 -0
- package/lib/shared/views/CometChatTextInput/CometChatTextInput.js.map +1 -0
- package/lib/shared/views/CometChatTextInput/TextInputStyle.d.ts +13 -0
- package/lib/shared/views/CometChatTextInput/TextInputStyle.js +13 -0
- package/lib/shared/views/CometChatTextInput/TextInputStyle.js.map +1 -0
- package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.d.ts +11 -0
- package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js +69 -0
- package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js.map +1 -0
- package/lib/shared/views/CometChatTimeSlotSelector/index.d.ts +2 -0
- package/lib/shared/views/CometChatTimeSlotSelector/index.js +2 -0
- package/lib/shared/views/CometChatTimeSlotSelector/index.js.map +1 -0
- package/lib/shared/views/CometChatTimeSlotSelector/styles.d.ts +11 -0
- package/lib/shared/views/CometChatTimeSlotSelector/styles.js +20 -0
- package/lib/shared/views/CometChatTimeSlotSelector/styles.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +18 -2
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +42 -13
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -1
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +41 -1
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +26 -1
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatVideoBubble/resources/default_image.png +0 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +2 -1
- package/lib/shared/views/CometChatVideoBubble/resources/index.js +2 -1
- package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +1 -1
- package/lib/shared/views/CometChatVideoBubble/resources/play.png +0 -0
- package/lib/shared/views/CometChatVideoBubble/style.d.ts +1 -7
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.d.ts +18 -0
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js +64 -0
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js.map +1 -0
- package/lib/shared/views/CometChatVideoPlayer/index.d.ts +1 -0
- package/lib/shared/views/CometChatVideoPlayer/index.js +2 -0
- package/lib/shared/views/CometChatVideoPlayer/index.js.map +1 -0
- package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -1
- package/lib/shared/views/SwipeRow/style.d.ts +1 -28
- package/lib/shared/views/index.d.ts +10 -2
- package/lib/shared/views/index.js +11 -3
- package/lib/shared/views/index.js.map +1 -1
- package/package.json +1 -1
- package/src/AI/AIAssistBot/AIAssistBotView.tsx +2 -1
- package/src/CometChatDetails/CometChatDetails.tsx +12 -12
- package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +11 -3
- package/src/CometChatGroups/CometChatGroups.tsx +23 -19
- package/src/CometChatGroups/resources/check.png +0 -0
- package/src/CometChatGroups/resources/index.ts +3 -1
- package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +24 -9
- package/src/CometChatMessageList/CometChatMessageList.tsx +25 -24
- package/src/CometChatMessageList/MessageListConfiguration.ts +3 -7
- package/src/CometChatMessages/CometChatMessages.tsx +1 -1
- package/src/CometChatThreadedMessages/CometChatThreadedMessages.tsx +53 -28
- package/src/CometChatThreadedMessages/ThreadedMessagesConfiguration.ts +15 -0
- package/src/calls/CallUtils.ts +4 -2
- package/src/calls/CallingExtentionDecorator.tsx +2 -1
- package/src/calls/CometChatOutgoingCall/CometChatOutgoingCall.tsx +7 -3
- package/src/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.tsx +2 -1
- package/src/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.tsx +2 -1
- package/src/extensions/LinkPreview/LinkPreviewExtentionDecorator.tsx +1 -1
- package/src/extensions/MessageTranslation/MessageTranslationDecorator.tsx +1 -2
- package/src/extensions/Polls/Polls.tsx +93 -115
- package/src/extensions/Polls/PollsDecorator.tsx +1 -2
- package/src/extensions/Stickers/StickersExtensionDecorator.tsx +2 -1
- package/src/extensions/TextModeration/TextModerationExtensionDecorator.tsx +1 -1
- package/src/index.ts +10 -0
- package/src/shared/base/Types.ts +13 -1
- package/src/shared/base/index.ts +11 -1
- package/src/shared/constants/UIKitConstants.ts +0 -10
- package/src/shared/framework/DataSource.ts +11 -11
- package/src/shared/framework/DataSourceDecorator.tsx +1 -1
- package/src/shared/framework/MessageDataSource.tsx +29 -28
- package/src/shared/index.ts +10 -0
- package/src/shared/modals/CometChatMessageTemplate.ts +7 -7
- package/src/shared/resources/CometChatTheme/Palette.ts +0 -15
- package/src/shared/utils/MessageUtils.tsx +2 -1
- package/src/shared/views/CometChatList/CometChatList.tsx +1 -1
- package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +1 -1
- package/src/shared/views/CometChatReactions/CometChatReactions.tsx +1 -1
- package/ios/VideoCaching/RCTVideoCache.h +0 -38
- package/ios/VideoCaching/RCTVideoCache.m +0 -174
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import React, { useCallback, useState, useEffect, useRef } from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import Video from '../VideoPlayer/Video';
|
|
4
|
+
import { useControlTimeout, useJSAnimations, usePanResponders } from './hooks';
|
|
5
|
+
import { Error, Loader, TopControls, BottomControls, PlayPause, Overlay, } from './components';
|
|
6
|
+
import { PlatformSupport } from './OSSupport';
|
|
7
|
+
import { _onBack } from './utils';
|
|
8
|
+
import { _styles } from './styles';
|
|
9
|
+
const volumeWidth = 150;
|
|
10
|
+
const iconOffset = 0;
|
|
11
|
+
const AnimatedVideoPlayer = (props) => {
|
|
12
|
+
const { loadingIconColor, playIcon, playIconColor, pauseIcon, pauseIconColor, backIcon, backIconColor, volumeIcon, volumeIconColor, animations, toggleResizeModeOnFullscreen, doubleTapTime = 130, resizeMode = 'contain', isFullscreen = false, showOnStart = false, showOnEnd = false, alwaysShowControls = false, paused = false, muted = false, volume = 1, title = '', rate = 1, showDuration = false, showTimeRemaining = false, showHours = false, onSeek, onError, onBack, onEnd, onEnterFullscreen = () => { }, onExitFullscreen = () => { }, onHideControls = () => { }, onShowControls = () => { }, onPause, onPlay, onLoad, onLoadStart, onProgress, controlTimeoutDelay = 15000, tapAnywhereToPause = false, videoStyle = {}, containerStyle = {}, seekColor = '', source, disableBack = false, disableVolume = false, disableFullscreen = false, disableTimer = false, disableSeekbar = false, disablePlayPause = false, disableSeekButtons = false, disableOverlay, navigator, rewindTime = 15, pan: { horizontal: horizontalPan, inverted: invertedPan } = {}, } = props;
|
|
13
|
+
const mounted = useRef(false);
|
|
14
|
+
const _videoRef = useRef(null);
|
|
15
|
+
const controlTimeout = useRef(setTimeout(() => { })).current;
|
|
16
|
+
const tapActionTimeout = useRef(null);
|
|
17
|
+
const [_resizeMode, setResizeMode] = useState(resizeMode);
|
|
18
|
+
const [_paused, setPaused] = useState(paused);
|
|
19
|
+
const [_muted, setMuted] = useState(muted);
|
|
20
|
+
const [_volume, setVolume] = useState(volume);
|
|
21
|
+
const [_isFullscreen, setIsFullscreen] = useState(isFullscreen || resizeMode === 'cover' || false);
|
|
22
|
+
const [_showTimeRemaining, setShowTimeRemaining] = useState(showTimeRemaining);
|
|
23
|
+
const [volumeTrackWidth, setVolumeTrackWidth] = useState(0);
|
|
24
|
+
const [volumeFillWidth, setVolumeFillWidth] = useState(0);
|
|
25
|
+
const [seekerFillWidth, setSeekerFillWidth] = useState(0);
|
|
26
|
+
const [showControls, setShowControls] = useState(showOnStart);
|
|
27
|
+
const [volumePosition, setVolumePositionState] = useState(0);
|
|
28
|
+
const [seekerPosition, setSeekerPositionState] = useState(0);
|
|
29
|
+
const [volumeOffset, setVolumeOffset] = useState(0);
|
|
30
|
+
const [seekerOffset, setSeekerOffset] = useState(0);
|
|
31
|
+
const [seekerWidth, setSeekerWidth] = useState(0);
|
|
32
|
+
const [seeking, setSeeking] = useState(false);
|
|
33
|
+
const [loading, setLoading] = useState(true);
|
|
34
|
+
const [currentTime, setCurrentTime] = useState(0);
|
|
35
|
+
const [error, setError] = useState(false);
|
|
36
|
+
const [duration, setDuration] = useState(0);
|
|
37
|
+
const videoRef = props.videoRef || _videoRef;
|
|
38
|
+
const toggleFullscreen = () => setIsFullscreen((prevState) => !prevState);
|
|
39
|
+
const toggleControls = () => setShowControls((prevState) => alwaysShowControls || !prevState);
|
|
40
|
+
const toggleTimer = () => setShowTimeRemaining((prevState) => !prevState);
|
|
41
|
+
const togglePlayPause = () => {
|
|
42
|
+
setPaused((prevState) => !prevState);
|
|
43
|
+
};
|
|
44
|
+
const styles = {
|
|
45
|
+
videoStyle,
|
|
46
|
+
containerStyle: containerStyle,
|
|
47
|
+
};
|
|
48
|
+
const _onSeek = (obj) => {
|
|
49
|
+
if (!seeking) {
|
|
50
|
+
setControlTimeout();
|
|
51
|
+
}
|
|
52
|
+
setCurrentTime(obj.seekTime);
|
|
53
|
+
if (typeof onSeek === 'function') {
|
|
54
|
+
onSeek(obj);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const _onEnd = () => {
|
|
58
|
+
if (currentTime < duration) {
|
|
59
|
+
setCurrentTime(duration);
|
|
60
|
+
setPaused(!props.repeat);
|
|
61
|
+
if (showOnEnd) {
|
|
62
|
+
setShowControls(!props.repeat);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (typeof onEnd === 'function') {
|
|
66
|
+
onEnd();
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
const _onError = () => {
|
|
70
|
+
setError(true);
|
|
71
|
+
setLoading(false);
|
|
72
|
+
};
|
|
73
|
+
function _onLoadStart(e) {
|
|
74
|
+
setLoading(true);
|
|
75
|
+
if (typeof onLoadStart === 'function') {
|
|
76
|
+
onLoadStart(e);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function _onLoad(data) {
|
|
80
|
+
setDuration(data.duration);
|
|
81
|
+
setLoading(false);
|
|
82
|
+
if (showControls) {
|
|
83
|
+
setControlTimeout();
|
|
84
|
+
}
|
|
85
|
+
if (typeof onLoad === 'function') {
|
|
86
|
+
onLoad(data);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function _onProgress(data) {
|
|
90
|
+
if (!seeking) {
|
|
91
|
+
setCurrentTime(data.currentTime);
|
|
92
|
+
if (typeof onProgress === 'function') {
|
|
93
|
+
onProgress(data);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
const _onScreenTouch = () => {
|
|
98
|
+
if (tapActionTimeout.current) {
|
|
99
|
+
clearTimeout(tapActionTimeout.current);
|
|
100
|
+
tapActionTimeout.current = null;
|
|
101
|
+
toggleFullscreen();
|
|
102
|
+
if (showControls) {
|
|
103
|
+
resetControlTimeout();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
tapActionTimeout.current = setTimeout(() => {
|
|
108
|
+
if (tapAnywhereToPause && showControls) {
|
|
109
|
+
togglePlayPause();
|
|
110
|
+
resetControlTimeout();
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
toggleControls();
|
|
114
|
+
}
|
|
115
|
+
tapActionTimeout.current = null;
|
|
116
|
+
}, doubleTapTime);
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
const events = {
|
|
120
|
+
onError: onError || _onError,
|
|
121
|
+
onBack: (onBack || _onBack(navigator)),
|
|
122
|
+
onEnd: _onEnd,
|
|
123
|
+
onScreenTouch: _onScreenTouch,
|
|
124
|
+
onEnterFullscreen,
|
|
125
|
+
onExitFullscreen,
|
|
126
|
+
onShowControls,
|
|
127
|
+
onHideControls,
|
|
128
|
+
onLoadStart: _onLoadStart,
|
|
129
|
+
onProgress: _onProgress,
|
|
130
|
+
onSeek: _onSeek,
|
|
131
|
+
onLoad: _onLoad,
|
|
132
|
+
onPause,
|
|
133
|
+
onPlay,
|
|
134
|
+
};
|
|
135
|
+
const constrainToSeekerMinMax = useCallback((val = 0) => {
|
|
136
|
+
if (val <= 0) {
|
|
137
|
+
return 0;
|
|
138
|
+
}
|
|
139
|
+
else if (val >= seekerWidth) {
|
|
140
|
+
return seekerWidth;
|
|
141
|
+
}
|
|
142
|
+
return val;
|
|
143
|
+
}, [seekerWidth]);
|
|
144
|
+
const constrainToVolumeMinMax = (val = 0) => {
|
|
145
|
+
if (val <= 0) {
|
|
146
|
+
return 0;
|
|
147
|
+
}
|
|
148
|
+
else if (val >= volumeWidth + 9) {
|
|
149
|
+
return volumeWidth + 9;
|
|
150
|
+
}
|
|
151
|
+
return val;
|
|
152
|
+
};
|
|
153
|
+
const setSeekerPosition = useCallback((position = 0) => {
|
|
154
|
+
const positionValue = constrainToSeekerMinMax(position);
|
|
155
|
+
setSeekerPositionState(positionValue);
|
|
156
|
+
setSeekerOffset(positionValue);
|
|
157
|
+
setSeekerFillWidth(positionValue);
|
|
158
|
+
}, [constrainToSeekerMinMax]);
|
|
159
|
+
const setVolumePosition = (position = 0) => {
|
|
160
|
+
const positionValue = constrainToVolumeMinMax(position);
|
|
161
|
+
setVolumePositionState(positionValue + iconOffset);
|
|
162
|
+
if (positionValue < 0) {
|
|
163
|
+
setVolumeFillWidth(0);
|
|
164
|
+
}
|
|
165
|
+
else {
|
|
166
|
+
setVolumeFillWidth(positionValue);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
const { clearControlTimeout, resetControlTimeout, setControlTimeout } = useControlTimeout({
|
|
170
|
+
controlTimeout,
|
|
171
|
+
controlTimeoutDelay,
|
|
172
|
+
mounted: mounted.current,
|
|
173
|
+
showControls,
|
|
174
|
+
setShowControls,
|
|
175
|
+
alwaysShowControls,
|
|
176
|
+
});
|
|
177
|
+
const { volumePanResponder, seekPanResponder } = usePanResponders({
|
|
178
|
+
duration,
|
|
179
|
+
seekerOffset,
|
|
180
|
+
volumeOffset,
|
|
181
|
+
loading,
|
|
182
|
+
seekerWidth,
|
|
183
|
+
seeking,
|
|
184
|
+
seekerPosition,
|
|
185
|
+
seek: videoRef?.current?.seek,
|
|
186
|
+
clearControlTimeout,
|
|
187
|
+
setVolumePosition,
|
|
188
|
+
setSeekerPosition,
|
|
189
|
+
setSeeking,
|
|
190
|
+
setControlTimeout,
|
|
191
|
+
onEnd: events.onEnd,
|
|
192
|
+
horizontal: horizontalPan,
|
|
193
|
+
inverted: invertedPan,
|
|
194
|
+
});
|
|
195
|
+
useEffect(() => {
|
|
196
|
+
if (currentTime >= duration) {
|
|
197
|
+
videoRef?.current?.seek(0);
|
|
198
|
+
}
|
|
199
|
+
}, [currentTime, duration, videoRef]);
|
|
200
|
+
useEffect(() => {
|
|
201
|
+
if (toggleResizeModeOnFullscreen) {
|
|
202
|
+
setResizeMode(_isFullscreen ? 'cover' : 'contain');
|
|
203
|
+
}
|
|
204
|
+
if (_isFullscreen) {
|
|
205
|
+
typeof events.onEnterFullscreen === 'function' &&
|
|
206
|
+
events.onEnterFullscreen();
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
typeof events.onExitFullscreen === 'function' &&
|
|
210
|
+
events.onExitFullscreen();
|
|
211
|
+
}
|
|
212
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
213
|
+
}, [_isFullscreen, toggleResizeModeOnFullscreen]);
|
|
214
|
+
useEffect(() => {
|
|
215
|
+
setIsFullscreen(isFullscreen);
|
|
216
|
+
}, [isFullscreen]);
|
|
217
|
+
useEffect(() => {
|
|
218
|
+
setPaused(paused);
|
|
219
|
+
mounted.current = true;
|
|
220
|
+
return () => {
|
|
221
|
+
mounted.current = false;
|
|
222
|
+
};
|
|
223
|
+
}, [paused]);
|
|
224
|
+
useEffect(() => {
|
|
225
|
+
if (_paused) {
|
|
226
|
+
typeof events.onPause === 'function' && events.onPause();
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
typeof events.onPlay === 'function' && events.onPlay();
|
|
230
|
+
}
|
|
231
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
232
|
+
}, [_paused]);
|
|
233
|
+
useEffect(() => {
|
|
234
|
+
if (!seeking && currentTime && duration) {
|
|
235
|
+
const percent = currentTime / duration;
|
|
236
|
+
const position = seekerWidth * percent;
|
|
237
|
+
setSeekerPosition(position);
|
|
238
|
+
}
|
|
239
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
240
|
+
}, [currentTime, duration, seekerWidth, setSeekerPosition]);
|
|
241
|
+
useEffect(() => {
|
|
242
|
+
if (showControls && !loading) {
|
|
243
|
+
animations.showControlAnimation();
|
|
244
|
+
setControlTimeout();
|
|
245
|
+
typeof events.onShowControls === 'function' && events.onShowControls();
|
|
246
|
+
}
|
|
247
|
+
else {
|
|
248
|
+
animations.hideControlAnimation();
|
|
249
|
+
clearControlTimeout();
|
|
250
|
+
typeof events.onHideControls === 'function' && events.onHideControls();
|
|
251
|
+
}
|
|
252
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
253
|
+
}, [showControls, loading]);
|
|
254
|
+
useEffect(() => {
|
|
255
|
+
setMuted(muted);
|
|
256
|
+
}, [muted]);
|
|
257
|
+
useEffect(() => {
|
|
258
|
+
const newVolume = volumePosition / volumeWidth;
|
|
259
|
+
if (newVolume <= 0) {
|
|
260
|
+
setMuted(true);
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
setMuted(false);
|
|
264
|
+
}
|
|
265
|
+
setVolume(newVolume);
|
|
266
|
+
setVolumeOffset(volumePosition);
|
|
267
|
+
const newVolumeTrackWidth = volumeWidth - volumeFillWidth;
|
|
268
|
+
if (newVolumeTrackWidth > 150) {
|
|
269
|
+
setVolumeTrackWidth(150);
|
|
270
|
+
}
|
|
271
|
+
else {
|
|
272
|
+
setVolumeTrackWidth(newVolumeTrackWidth);
|
|
273
|
+
}
|
|
274
|
+
}, [volumeFillWidth, volumePosition]);
|
|
275
|
+
useEffect(() => {
|
|
276
|
+
const position = volumeWidth * _volume;
|
|
277
|
+
setVolumePosition(position);
|
|
278
|
+
setVolumeOffset(position);
|
|
279
|
+
mounted.current = true;
|
|
280
|
+
return () => {
|
|
281
|
+
mounted.current = false;
|
|
282
|
+
clearControlTimeout();
|
|
283
|
+
};
|
|
284
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
285
|
+
}, []);
|
|
286
|
+
return (<PlatformSupport showControls={showControls} containerStyles={styles.containerStyle} onScreenTouch={events.onScreenTouch}>
|
|
287
|
+
<View style={[_styles.player.container, styles.containerStyle]}>
|
|
288
|
+
<Video {...props} {...events} ref={videoRef || _videoRef} resizeMode={_resizeMode} volume={_volume} paused={_paused} muted={_muted} rate={rate} style={[_styles.player.video, styles.videoStyle]} source={source}/>
|
|
289
|
+
{loading ? (<Loader loadingIconColor={loadingIconColor}/>) : (<>
|
|
290
|
+
<Error error={error}/>
|
|
291
|
+
{!disableOverlay && <Overlay animations={animations}/>}
|
|
292
|
+
<TopControls panHandlers={volumePanResponder.panHandlers} animations={animations} disableBack={disableBack} disableVolume={disableVolume} volumeFillWidth={volumeFillWidth} volumeTrackWidth={volumeTrackWidth} volumePosition={volumePosition} onBack={events.onBack} resetControlTimeout={resetControlTimeout} showControls={showControls} backIcon={backIcon} backIconColor={backIconColor} volumeIcon={volumeIcon} volumeIconColor={volumeIconColor}/>
|
|
293
|
+
<PlayPause animations={animations} disablePlayPause={disablePlayPause} disableSeekButtons={disableSeekButtons} paused={_paused} togglePlayPause={togglePlayPause} resetControlTimeout={resetControlTimeout} showControls={showControls} onPressRewind={() => videoRef?.current?.seek(currentTime - rewindTime)} onPressForward={() => videoRef?.current?.seek(currentTime + rewindTime)} playIcon={playIcon} playIconColor={playIconColor} pauseIcon={pauseIcon} pauseIconColor={pauseIconColor}/>
|
|
294
|
+
<BottomControls animations={animations} panHandlers={seekPanResponder.panHandlers} disableTimer={disableTimer} disableSeekbar={disableSeekbar} showHours={showHours} showDuration={showDuration} paused={_paused} showTimeRemaining={_showTimeRemaining} currentTime={currentTime} duration={duration} seekColor={seekColor} title={title} toggleTimer={toggleTimer} resetControlTimeout={resetControlTimeout} seekerFillWidth={seekerFillWidth} seekerPosition={seekerPosition} setSeekerWidth={setSeekerWidth} isFullscreen={isFullscreen} disableFullscreen={disableFullscreen} toggleFullscreen={toggleFullscreen} showControls={showControls}/>
|
|
295
|
+
</>)}
|
|
296
|
+
</View>
|
|
297
|
+
</PlatformSupport>);
|
|
298
|
+
};
|
|
299
|
+
const CustomAnimations = ({ useAnimations, controlAnimationTiming = 450, ...props }) => {
|
|
300
|
+
const animations = useAnimations(controlAnimationTiming);
|
|
301
|
+
return <AnimatedVideoPlayer animations={animations} {...props}/>;
|
|
302
|
+
};
|
|
303
|
+
const JSAnimations = (props) => {
|
|
304
|
+
const animations = useJSAnimations(props.controlAnimationTiming);
|
|
305
|
+
return <AnimatedVideoPlayer animations={animations} {...props}/>;
|
|
306
|
+
};
|
|
307
|
+
export const VideoPlayer = (props) => {
|
|
308
|
+
if (props?.useAnimations) {
|
|
309
|
+
return <CustomAnimations useAnimations={props?.useAnimations} {...props}/>;
|
|
310
|
+
}
|
|
311
|
+
return <JSAnimations {...props}/>;
|
|
312
|
+
};
|
|
313
|
+
//# sourceMappingURL=VideoPlayer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayer.js","sourceRoot":"","sources":["../../../../src/shared/libs/VideoPlayerControls/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AACtE,OAAO,EAAC,IAAI,EAAC,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,MAAM,sBAAsB,CAAC;AACzC,OAAO,EAAC,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,EAAC,MAAM,SAAS,CAAC;AAC7E,OAAO,EACL,KAAK,EACL,MAAM,EACN,WAAW,EACX,cAAc,EACd,SAAS,EACT,OAAO,GACR,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AAChC,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAGjC,MAAM,WAAW,GAAG,GAAG,CAAC;AACxB,MAAM,UAAU,GAAG,CAAC,CAAC;AAErB,MAAM,mBAAmB,GAAG,CAC1B,KAA2D,EAC3D,EAAE;IAEF,MAAM,EACJ,gBAAgB,EAChB,QAAQ,EACR,aAAa,EACb,SAAS,EACT,cAAc,EACd,QAAQ,EACR,aAAa,EACb,UAAU,EACV,eAAe,EACf,UAAU,EACV,4BAA4B,EAC5B,aAAa,GAAG,GAAG,EACnB,UAAU,GAAG,SAAS,EACtB,YAAY,GAAG,KAAK,EACpB,WAAW,GAAG,KAAK,EACnB,SAAS,GAAG,KAAK,EACjB,kBAAkB,GAAG,KAAK,EAC1B,MAAM,GAAG,KAAK,EACd,KAAK,GAAG,KAAK,EACb,MAAM,GAAG,CAAC,EACV,KAAK,GA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OAAO,CAAC,YAAY,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACrC,CAAC,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ImageSourcePropType } from 'react-native';
|
|
2
|
+
interface BackProps {
|
|
3
|
+
onBack: () => void;
|
|
4
|
+
resetControlTimeout?: () => void;
|
|
5
|
+
showControls: boolean;
|
|
6
|
+
backIcon?: ImageSourcePropType;
|
|
7
|
+
backIconColor?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const Back: ({ backIcon, backIconColor, onBack, showControls }: BackProps) => any;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image } from 'react-native';
|
|
3
|
+
import { Control } from '../Control';
|
|
4
|
+
export const Back = ({ backIcon, backIconColor, onBack, showControls }) => {
|
|
5
|
+
return (<Control callback={onBack} disabled={!showControls}>
|
|
6
|
+
<Image source={backIcon ? backIcon : require('../../assets/img/back.png')} resizeMode='contain' style={{ tintColor: backIconColor ? backIconColor : '#fff', height: 25, width: 25 }}/>
|
|
7
|
+
</Control>);
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Back.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Back.js","sourceRoot":"","sources":["../../../../../../src/shared/libs/VideoPlayerControls/components/Back/Back.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,KAAK,EAAsB,MAAM,cAAc,CAAC;AACxD,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AAUnC,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EACjB,QAAQ,EACR,aAAa,EACb,MAAM,EACN,YAAY,EACF,EAAE,EAAE;IAChB,OAAO,CACL,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CACjD;MAAA,CAAC,KAAK,CACJ,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CACnE,UAAU,CAAC,SAAS,CACpB,KAAK,CAAC,CAAC,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAC,EAAE,EAAE,CAAC,EAEvF;IAAA,EAAE,OAAO,CAAC,CACX,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Back';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/shared/libs/VideoPlayerControls/components/Back/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { GestureResponderHandlers } from 'react-native';
|
|
3
|
+
import type { VideoAnimations } from '../types';
|
|
4
|
+
interface BottomControlsProps {
|
|
5
|
+
showControls: boolean;
|
|
6
|
+
animations: VideoAnimations;
|
|
7
|
+
panHandlers: GestureResponderHandlers;
|
|
8
|
+
disableTimer: boolean;
|
|
9
|
+
disableSeekbar: boolean;
|
|
10
|
+
showDuration: boolean;
|
|
11
|
+
showHours: boolean;
|
|
12
|
+
paused: boolean;
|
|
13
|
+
showTimeRemaining: boolean;
|
|
14
|
+
currentTime: number;
|
|
15
|
+
duration: number;
|
|
16
|
+
seekColor: string;
|
|
17
|
+
title: string;
|
|
18
|
+
toggleTimer: () => void;
|
|
19
|
+
resetControlTimeout: () => void;
|
|
20
|
+
seekerFillWidth: number;
|
|
21
|
+
seekerPosition: number;
|
|
22
|
+
setSeekerWidth: Dispatch<SetStateAction<number>>;
|
|
23
|
+
isFullscreen: boolean;
|
|
24
|
+
disableFullscreen: boolean;
|
|
25
|
+
toggleFullscreen: () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const BottomControls: ({ showControls, animations: { AnimatedView, ...animations }, panHandlers, disableSeekbar, disableTimer, duration, seekColor, showDuration, showHours, showTimeRemaining, currentTime, title, toggleTimer, resetControlTimeout, seekerFillWidth, seekerPosition, setSeekerWidth, isFullscreen, disableFullscreen, toggleFullscreen, }: BottomControlsProps) => any;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ImageBackground, SafeAreaView, StyleSheet, } from 'react-native';
|
|
3
|
+
import { Timer } from './Timer';
|
|
4
|
+
import { Title } from './Title';
|
|
5
|
+
import { NullControl } from './NullControl';
|
|
6
|
+
import { Fullscreen } from './Fullscreen';
|
|
7
|
+
import { Seekbar } from './Seekbar';
|
|
8
|
+
import { calculateTime } from '../utils';
|
|
9
|
+
import { styles } from './styles';
|
|
10
|
+
export const BottomControls = ({ showControls, animations: { AnimatedView, ...animations }, panHandlers, disableSeekbar, disableTimer, duration, seekColor, showDuration, showHours, showTimeRemaining, currentTime, title, toggleTimer, resetControlTimeout, seekerFillWidth, seekerPosition, setSeekerWidth, isFullscreen, disableFullscreen, toggleFullscreen, }) => {
|
|
11
|
+
const timerControl = disableTimer ? (<NullControl />) : (<Timer resetControlTimeout={resetControlTimeout} toggleTimer={toggleTimer} showControls={showControls}>
|
|
12
|
+
{calculateTime({
|
|
13
|
+
showDuration,
|
|
14
|
+
showHours,
|
|
15
|
+
showTimeRemaining,
|
|
16
|
+
time: currentTime,
|
|
17
|
+
duration,
|
|
18
|
+
})}
|
|
19
|
+
</Timer>);
|
|
20
|
+
const seekbarControl = disableSeekbar ? (<NullControl />) : (<Seekbar seekerFillWidth={seekerFillWidth} seekerPosition={seekerPosition} seekColor={seekColor} seekerPanHandlers={panHandlers} setSeekerWidth={setSeekerWidth}/>);
|
|
21
|
+
const fullscreenControl = disableFullscreen ? (<NullControl />) : (<Fullscreen isFullscreen={isFullscreen} toggleFullscreen={toggleFullscreen} resetControlTimeout={resetControlTimeout} showControls={showControls}/>);
|
|
22
|
+
return (<AnimatedView style={[
|
|
23
|
+
_styles.bottom,
|
|
24
|
+
animations.controlsOpacity,
|
|
25
|
+
animations.bottomControl,
|
|
26
|
+
]}>
|
|
27
|
+
<ImageBackground source={require('../assets/img/bottom-vignette.png')} style={[styles.column]} imageStyle={[styles.vignette]}>
|
|
28
|
+
<SafeAreaView style={[styles.row, _styles.bottomControlGroup]}>
|
|
29
|
+
{timerControl}
|
|
30
|
+
<Title title={title}/>
|
|
31
|
+
{fullscreenControl}
|
|
32
|
+
</SafeAreaView>
|
|
33
|
+
<SafeAreaView style={styles.seekBarContainer}>
|
|
34
|
+
{seekbarControl}
|
|
35
|
+
</SafeAreaView>
|
|
36
|
+
</ImageBackground>
|
|
37
|
+
</AnimatedView>);
|
|
38
|
+
};
|
|
39
|
+
const _styles = StyleSheet.create({
|
|
40
|
+
bottom: {
|
|
41
|
+
alignItems: 'stretch',
|
|
42
|
+
flex: 2,
|
|
43
|
+
justifyContent: 'flex-end',
|
|
44
|
+
},
|
|
45
|
+
bottomControlGroup: {
|
|
46
|
+
alignSelf: 'stretch',
|
|
47
|
+
alignItems: 'center',
|
|
48
|
+
justifyContent: 'space-between',
|
|
49
|
+
marginLeft: 12,
|
|
50
|
+
marginRight: 12,
|
|
51
|
+
marginBottom: 0,
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=BottomControls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomControls.js","sourceRoot":"","sources":["../../../../../src/shared/libs/VideoPlayerControls/components/BottomControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AACtD,OAAO,EACL,eAAe,EACf,YAAY,EACZ,UAAU,GAEX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAEvC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AA0BhC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,YAAY,EACZ,UAAU,EAAE,EAAC,YAAY,EAAE,GAAG,UAAU,EAAC,EACzC,WAAW,EACX,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,KAAK,EACL,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,GACI,EAAE,EAAE;IACxB,MAAM,YAAY,GAAG,YAAY,CAAC,CAAC,CAAC,CAClC,CAAC,WAAW,CAAC,AAAD,EAAG,CAChB,CAAC,CAAC,CAAC,CACF,CAAC,KAAK,CACJ,mBAAmB,CAAC,CAAC,mBAAmB,CAAC,CACzC,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,YAAY,CAAC,CAAC,YAAY,CAAC,CAC3B;MAAA,CAAC,aAAa,CAAC;YACb,YAAY;YACZ,SAAS;YAC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AAK,CAAC,CAAC,KAAK,CAAC,EACpB;UAAA,CAAC,iBAAiB,CACpB;QAAA,EAAE,YAAY,CACd;QAAA,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAC3C;UAAA,CAAC,cAAc,CACjB;QAAA,EAAE,YAAY,CAChB;MAAA,EAAE,eAAe,CACnB;IAAA,EAAE,YAAY,CAAC,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC;IAChC,MAAM,EAAE;QACN,UAAU,EAAE,SAAS;QACrB,IAAI,EAAE,CAAC;QACP,cAAc,EAAE,UAAU;KAE3B;IACD,kBAAkB,EAAE;QAClB,SAAS,EAAE,SAAS;QACpB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,eAAe;QAC/B,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,EAAE;QACf,YAAY,EAAE,CAAC;KAChB;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
import { TouchableHighlight, ViewProps } from 'react-native';
|
|
3
|
+
interface ControlProps extends ViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
callback?: () => void;
|
|
6
|
+
controlRef?: RefObject<TouchableHighlight>;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
style?: any;
|
|
9
|
+
resetControlTimeout?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const Control: ({ children, callback, controlRef, disabled, style, ...props }: ControlProps) => any;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import { TouchableHighlight } from 'react-native';
|
|
3
|
+
import { styles } from './styles';
|
|
4
|
+
export const Control = ({ children, callback, controlRef, disabled, style = {}, ...props }) => {
|
|
5
|
+
const [focused, setFocused] = useState(false);
|
|
6
|
+
const setFocusedState = () => setFocused(true);
|
|
7
|
+
const cancelFocusedState = () => setFocused(false);
|
|
8
|
+
const focusedStyle = focused ? { opacity: 1 } : {};
|
|
9
|
+
return (<TouchableHighlight onFocus={setFocusedState} onBlur={cancelFocusedState} disabled={disabled} ref={controlRef} underlayColor="transparent" activeOpacity={1} onPress={() => {
|
|
10
|
+
callback && callback();
|
|
11
|
+
}} style={[styles.control, style, focused && focusedStyle]} {...props}>
|
|
12
|
+
{children}
|
|
13
|
+
</TouchableHighlight>);
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Control.js","sourceRoot":"","sources":["../../../../../src/shared/libs/VideoPlayerControls/components/Control.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAC,kBAAkB,EAAY,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAWhC,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EACtB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,KAAK,GAAG,EAAE,EACV,GAAG,KAAK,EACK,EAAE,EAAE;IACjB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAEnD,MAAM,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC,EAAC,OAAO,EAAE,CAAC,EAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEjD,OAAO,CACL,CAAC,kBAAkB,CACjB,OAAO,CAAC,CAAC,eAAe,CAAC,CACzB,MAAM,CAAC,CAAC,kBAAkB,CAAC,CAC3B,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,GAAG,CAAC,CAAC,UAAU,CAAC,CAChB,aAAa,CAAC,aAAa,CAC3B,aAAa,CAAC,CAAC,CAAC,CAAC,CACjB,OAAO,CAAC,CAAC,GAAG,EAAE;YACZ,QAAQ,IAAI,QAAQ,EAAE,CAAC;QACzB,CAAC,CAAC,CACF,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,IAAI,YAAY,CAAC,CAAC,CACxD,IAAI,KAAK,CAAC,CACV;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,kBAAkB,CAAC,CACtB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, Text, View } from 'react-native';
|
|
3
|
+
import { styles } from './styles';
|
|
4
|
+
export const Error = ({ error }) => {
|
|
5
|
+
if (error) {
|
|
6
|
+
return (<View style={styles.container}>
|
|
7
|
+
<Image source={require('../../assets/img/error-icon.png')} style={styles.icon}/>
|
|
8
|
+
<Text style={styles.text}>Video unavailable</Text>
|
|
9
|
+
</View>);
|
|
10
|
+
}
|
|
11
|
+
return null;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=Error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Error.js","sourceRoot":"","sources":["../../../../../../src/shared/libs/VideoPlayerControls/components/Error/Error.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAMhC,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,EAAC,KAAK,EAAa,EAAE,EAAE;IAC3C,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAC5B;QAAA,CAAC,KAAK,CACJ,MAAM,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC,CACnD,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAErB;QAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,IAAI,CACnD;MAAA,EAAE,IAAI,CAAC,CACR,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Error';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/shared/libs/VideoPlayerControls/components/Error/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: any;
|