@cometchat/chat-uikit-react-native 4.3.7 → 4.3.9
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/CometChatAddMembers/CometChatAddMembers.tsx +2 -1
- package/src/CometChatDetails/CometChatDetails.tsx +12 -12
- package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +12 -4
- package/src/CometChatGroupsWithMessages/CometChatGroupsWithMessages.tsx +4 -2
- package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +6 -2
- package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +1 -1
- package/src/CometChatMessageList/CometChatMessageList.tsx +47 -27
- package/src/CometChatMessageList/MessageListConfiguration.ts +3 -7
- package/src/CometChatMessages/CometChatMessages.tsx +1 -1
- package/src/CometChatThreadedMessages/CometChatThreadedMessages.tsx +1 -1
- package/src/CometChatTransferOwnership/CometChatTransferOwnership.tsx +1 -0
- package/src/CometChatUsersWithMessages/CometChatUsersWithMessages.tsx +5 -3
- package/src/calls/CallingExtentionDecorator.tsx +4 -2
- package/src/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.tsx +5 -1
- package/src/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.tsx +5 -1
- package/src/extensions/LinkPreview/LinkPreviewExtentionDecorator.tsx +1 -1
- package/src/extensions/MessageTranslation/MessageTranslationDecorator.tsx +1 -2
- package/src/extensions/Polls/PollsDecorator.tsx +24 -28
- package/src/extensions/Stickers/StickersExtensionDecorator.tsx +5 -1
- package/src/extensions/TextModeration/TextModerationExtensionDecorator.tsx +1 -1
- package/src/index.ts +20 -1
- package/src/shared/CometChatUiKit/CometChatUIKit.ts +1 -2
- package/src/shared/base/Types.ts +13 -1
- package/src/shared/base/index.ts +11 -1
- package/src/shared/constants/UIKitConstants.ts +2 -12
- package/src/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.tsx +4 -1
- package/src/shared/formatters/CometChatTextFormatter.ts +1 -1
- package/src/shared/framework/DataSource.ts +12 -13
- package/src/shared/framework/DataSourceDecorator.tsx +2 -3
- package/src/shared/framework/MessageDataSource.tsx +57 -34
- package/src/shared/index.ts +21 -3
- package/src/shared/libs/VideoPlayer/Video.js +4 -5
- package/src/shared/modals/CometChatMessageTemplate.ts +22 -7
- package/src/shared/modals/InteractiveData/InteractiveElements/index.ts +1 -0
- package/src/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.ts +1 -2
- package/src/shared/modals/InteractiveData/index.ts +1 -0
- package/src/shared/modals/index.ts +3 -2
- package/src/shared/resources/CometChatTheme/Palette.ts +0 -15
- package/src/shared/utils/MessageUtils.tsx +3 -1
- package/src/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.tsx +1 -1
- package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +3 -5
- package/src/shared/views/CometChatList/CometChatList.tsx +43 -16
- package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +1 -1
- package/src/shared/views/CometChatReactions/CometChatReactions.tsx +1 -1
- package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +3 -5
- package/src/shared/views/index.ts +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CometChatMentionsFormatter.js","sourceRoot":"","sources":["../../../../src/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE;;;;GAIG;AACH,MAAM,OAAO,0BAA2B,SAAQ,sBAAsB;IAEpE;;OAEG;IACO,eAAe,GAA0B,EAAE,CAAC;IAEtD;;OAEG;IACO,UAAU,GAA0B,EAAE,CAAC;IAEjD;;OAEG;IACK,aAAa,GAAqB,EAAE,CAAC;IAE7C;;OAEG;IACO,aAAa,GAA0B,SAAS,CAAC;IAE3D;;MAEE;IACM,aAAa,CAAyD;IAE9E;;MAEE;IACM,aAAa,CAAuE;IAE5F;;MAEE;IACQ,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AO,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE;oBACnC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE;wBAC7D,OAAO,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;oBACrC,CAAC,CAAC;iBACH,CAAC,CAAC;YACL,CAAC;iBAAM,CAAC;gBACN,+DAA+D;gBAC/D,OAAO,SAAS,CAAC;YACnB,CAAC;QACH,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,SAAS,EAAE,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAED,cAAc;QACZ,OAAO,CAAC,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC5I,CAAC;CAEF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TextStyle } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* MentionTextStyle
|
|
4
|
+
* Stores the styles for user mention.
|
|
5
|
+
* @param textStyle: TextStyle
|
|
6
|
+
* @param loggedInUserTextStyle: TextStyle
|
|
7
|
+
*/
|
|
8
|
+
export declare class MentionTextStyle {
|
|
9
|
+
textStyle?: TextStyle;
|
|
10
|
+
loggedInUserTextStyle?: TextStyle;
|
|
11
|
+
constructor(props: MentionTextStyle);
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MentionTextStyle
|
|
3
|
+
* Stores the styles for user mention.
|
|
4
|
+
* @param textStyle: TextStyle
|
|
5
|
+
* @param loggedInUserTextStyle: TextStyle
|
|
6
|
+
*/
|
|
7
|
+
export class MentionTextStyle {
|
|
8
|
+
textStyle;
|
|
9
|
+
loggedInUserTextStyle;
|
|
10
|
+
constructor(props) {
|
|
11
|
+
Object.assign(this, props);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=MentionTextStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionTextStyle.js","sourceRoot":"","sources":["../../../../src/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,MAAM,OAAO,gBAAgB;IAC3B,SAAS,CAAa;IACtB,qBAAqB,CAAa;IAClC,YAAY,KAAuB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC7B,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/formatters/CometChatMentionsFormatter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EACH,0BAA0B,EAC1B,gBAAgB,EACnB,CAAA"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { CometChatUIEventHandler, CometChatUIEvents } from "../events";
|
|
2
|
+
/**
|
|
3
|
+
* CometChatTextFormatter
|
|
4
|
+
* Abstract class for text formatter.
|
|
5
|
+
*/
|
|
6
|
+
export class CometChatTextFormatter {
|
|
7
|
+
/**
|
|
8
|
+
* The regex patterns to find specific text pattern in the user input text.
|
|
9
|
+
*/
|
|
10
|
+
regexPattern = /(@w+)/g;
|
|
11
|
+
/**
|
|
12
|
+
* List of users for suggestion item.
|
|
13
|
+
*/
|
|
14
|
+
SuggestionItems = [];
|
|
15
|
+
/**
|
|
16
|
+
* The message object in context.
|
|
17
|
+
*/
|
|
18
|
+
messageObject;
|
|
19
|
+
/**
|
|
20
|
+
* List of searched data.
|
|
21
|
+
*/
|
|
22
|
+
searchData = [];
|
|
23
|
+
/**
|
|
24
|
+
* The user in context.
|
|
25
|
+
*/
|
|
26
|
+
user;
|
|
27
|
+
/**
|
|
28
|
+
* The group in context.
|
|
29
|
+
*/
|
|
30
|
+
group;
|
|
31
|
+
/**
|
|
32
|
+
* The composer ID.
|
|
33
|
+
*/
|
|
34
|
+
composerId;
|
|
35
|
+
/**
|
|
36
|
+
* The formatter id.
|
|
37
|
+
*/
|
|
38
|
+
id;
|
|
39
|
+
/**
|
|
40
|
+
* The character to track once typed in the text input field.
|
|
41
|
+
*/
|
|
42
|
+
trackCharacter = '#';
|
|
43
|
+
/**
|
|
44
|
+
* The user who is currently logged in.
|
|
45
|
+
*/
|
|
46
|
+
loggedInUser;
|
|
47
|
+
/**
|
|
48
|
+
* Sets the regex patterns to match.
|
|
49
|
+
* @param regexPattern - The regex patterns.
|
|
50
|
+
*/
|
|
51
|
+
setRegexPatterns(regexPattern) {
|
|
52
|
+
this.regexPattern = regexPattern;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Gets the regex pattern for matching text.
|
|
56
|
+
* @returns The regex pattern.
|
|
57
|
+
*/
|
|
58
|
+
getRegexPattern = () => {
|
|
59
|
+
return this.regexPattern;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Gets the composer ID.
|
|
63
|
+
* @returns The composer ID.
|
|
64
|
+
*/
|
|
65
|
+
getComposerId = () => {
|
|
66
|
+
return this.composerId;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Gets the formatter ID.
|
|
70
|
+
* @returns The formatter ID.
|
|
71
|
+
*/
|
|
72
|
+
getId = () => {
|
|
73
|
+
return this.id;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Sets the tracking character.
|
|
77
|
+
* @param trackCharacter - The character to track.
|
|
78
|
+
*/
|
|
79
|
+
setTrackingCharacter(trackCharacter) {
|
|
80
|
+
this.trackCharacter = trackCharacter;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Sets the composer ID.
|
|
84
|
+
* @param composerId - The composer ID.
|
|
85
|
+
*/
|
|
86
|
+
setComposerId(composerId) {
|
|
87
|
+
this.composerId = composerId;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Sets the formatter ID.
|
|
91
|
+
* @param id - The formatter ID.
|
|
92
|
+
*/
|
|
93
|
+
setId(id) {
|
|
94
|
+
this.id = id;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Search function used to call an API with searched text.
|
|
98
|
+
* @param searchKey - The search key.
|
|
99
|
+
*/
|
|
100
|
+
search(searchKey) { }
|
|
101
|
+
/**
|
|
102
|
+
* Sets the search data.
|
|
103
|
+
* @param data - The search data.
|
|
104
|
+
*/
|
|
105
|
+
setSearchData(data) {
|
|
106
|
+
this.searchData = [...data];
|
|
107
|
+
CometChatUIEventHandler.emitUIEvent(CometChatUIEvents.ccSuggestionData, { id: this.composerId, data: [...this.searchData] });
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Sets the message object.
|
|
111
|
+
* @param messageObject - The message object to be set.
|
|
112
|
+
*/
|
|
113
|
+
setMessage(messageObject) {
|
|
114
|
+
this.messageObject = messageObject;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Retrieves the message object.
|
|
118
|
+
* @returns The current message object.
|
|
119
|
+
*/
|
|
120
|
+
getMessage() {
|
|
121
|
+
return this.messageObject;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Fetches the next set of data.
|
|
125
|
+
*/
|
|
126
|
+
fetchNext() { }
|
|
127
|
+
/**
|
|
128
|
+
* Sets the user.
|
|
129
|
+
* @param user - The user to set.
|
|
130
|
+
*/
|
|
131
|
+
setUser(user) {
|
|
132
|
+
this.user = user;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Retrieves the user.
|
|
136
|
+
* @returns The current user.
|
|
137
|
+
*/
|
|
138
|
+
getUser() {
|
|
139
|
+
return this.user;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Sets the group.
|
|
143
|
+
* @param group - The group to set.
|
|
144
|
+
*/
|
|
145
|
+
setGroup(group) {
|
|
146
|
+
this.group = group;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Retrieves the group.
|
|
150
|
+
* @returns The current group.
|
|
151
|
+
*/
|
|
152
|
+
getGroup() {
|
|
153
|
+
return this.group;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Retrieves the currently logged in user.
|
|
157
|
+
* @returns The currently logged in user.
|
|
158
|
+
*/
|
|
159
|
+
getLoggedInUser() {
|
|
160
|
+
return this.loggedInUser;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Sets the currently logged in user.
|
|
164
|
+
* @param loggedInUser - The user to set as currently logged in.
|
|
165
|
+
*/
|
|
166
|
+
setLoggedInUser(loggedInUser) {
|
|
167
|
+
this.loggedInUser = loggedInUser;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* If the input text is provided, it returns the formatted text. Otherwise, it edits the text using the current cursor position.
|
|
171
|
+
* @param inputText - The text to format.
|
|
172
|
+
* @returns The formatted text.
|
|
173
|
+
*/
|
|
174
|
+
getFormattedText(inputText) {
|
|
175
|
+
if (!inputText) {
|
|
176
|
+
return "";
|
|
177
|
+
}
|
|
178
|
+
return inputText;
|
|
179
|
+
}
|
|
180
|
+
;
|
|
181
|
+
/**
|
|
182
|
+
* Handles the message before sending it.
|
|
183
|
+
* @param message - The message to handle.
|
|
184
|
+
* @returns The message after handling.
|
|
185
|
+
*/
|
|
186
|
+
handlePreMessageSend(message) {
|
|
187
|
+
return message;
|
|
188
|
+
}
|
|
189
|
+
;
|
|
190
|
+
/**
|
|
191
|
+
* Handles the message before editing it.
|
|
192
|
+
* @param message - The message to handle.
|
|
193
|
+
* @returns The message after handling.
|
|
194
|
+
*/
|
|
195
|
+
handleComposerPreview(message) { }
|
|
196
|
+
/**
|
|
197
|
+
* Gets the tracking character.
|
|
198
|
+
* @returns The tracking character.
|
|
199
|
+
*/
|
|
200
|
+
getTrackingCharacter() {
|
|
201
|
+
return this.trackCharacter;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Retrieves the suggestion items.
|
|
205
|
+
* @returns The current suggestion items.
|
|
206
|
+
*/
|
|
207
|
+
getSuggestionItems() {
|
|
208
|
+
return this.SuggestionItems;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Sets the suggestion items.
|
|
212
|
+
* @param SuggestionItems - The suggestion items to be set.
|
|
213
|
+
*/
|
|
214
|
+
setSuggestionItems(SuggestionItems) {
|
|
215
|
+
this.SuggestionItems = SuggestionItems;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
//# sourceMappingURL=CometChatTextFormatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CometChatTextFormatter.js","sourceRoot":"","sources":["../../../src/shared/formatters/CometChatTextFormatter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAGvE;;;GAGG;AACH,MAAM,OAAgB,sBAAsB;IAC1C;;OAEG;IACO,YAAY,GAAG,QAAQ,CAAC;IAElC;;OAEG;IACO,eAAe,GAA0B,EAAE,CAAC;IAEtD;;OAEG;IACO,aAAa,CAAwB;IAE/C;;OAEG;IACO,UAAU,GAAG,EAAE,CAAC;IAE1B;;OAEG;IACO,IAAI,CAAiB;IAE/B;;OAEG;IACO,KAAK,CAAkB;IAEjC;;OAEG;IACO,UAAU,CAAkB;IAEtC;;MAEE;IACQ,EAAE,CAAkB;IAE9B;;OAEG;IACO,cAAc,GAAW,GAAG,CAAC;IAEvC;;OAEG;IACO,YAAY,CAAkB;IAExC;;;OAGG;IACH,gBAAg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IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,KAAsB;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;;OAGG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;OAGG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACH,eAAe,CAAC,YAA4B;QAC1C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED;;;;OAIG;IACH,gBAAgB,CAAC,SAAsC;QACrD,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAAA,CAAC;IAEF;;;;OAIG;IACH,oBAAoB,CAAC,OAA8B;QACjD,OAAO,OAAO,CAAC;IACjB,CAAC;IAAA,CAAC;IAEF;;;;OAIG;IACH,qBAAqB,CAAC,OAA8B,IAAI,CAAC;IAEzD;;;OAGG;IACH,oBAAoB;QAClB,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAED;;;OAGG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IAED;;;OAGG;IACH,kBAAkB,CAAC,eAAsC;QACvD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACzC,CAAC;CAEF"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Linking, Text } from "react-native";
|
|
3
|
+
import { CometChatTextFormatter } from "../CometChatTextFormatter";
|
|
4
|
+
import { emailPattern, phoneNumPattern, urlPattern } from "../../constants/UIKitConstants";
|
|
5
|
+
import { FontStyle } from '../../base';
|
|
6
|
+
export class CometChatUrlsFormatter extends CometChatTextFormatter {
|
|
7
|
+
/**
|
|
8
|
+
* The message object in context.
|
|
9
|
+
*/
|
|
10
|
+
messageObject;
|
|
11
|
+
style = {
|
|
12
|
+
linkTextColor: "blue",
|
|
13
|
+
linkTextFont: new FontStyle({ fontSize: 17, fontWeight: "400" }),
|
|
14
|
+
};
|
|
15
|
+
constructor(loggedInUser) {
|
|
16
|
+
super();
|
|
17
|
+
this.loggedInUser = loggedInUser;
|
|
18
|
+
}
|
|
19
|
+
Link = ({ text, url, style }) => {
|
|
20
|
+
return <Text style={{
|
|
21
|
+
color: style?.linkTextColor,
|
|
22
|
+
...style?.linkTextFont,
|
|
23
|
+
textDecorationLine: "underline"
|
|
24
|
+
}} onPress={() => {
|
|
25
|
+
let finalUrl = url.startsWith("http") ? url : `http://${url}`;
|
|
26
|
+
Linking.canOpenURL(finalUrl)
|
|
27
|
+
.then(res => {
|
|
28
|
+
if (res) {
|
|
29
|
+
Linking.openURL(finalUrl);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
console.log("Can not open link", finalUrl);
|
|
33
|
+
})
|
|
34
|
+
.catch(err => {
|
|
35
|
+
console.log("Error:", err);
|
|
36
|
+
});
|
|
37
|
+
}}>{text}</Text>;
|
|
38
|
+
};
|
|
39
|
+
setStyle = (style) => {
|
|
40
|
+
this.style = style;
|
|
41
|
+
};
|
|
42
|
+
getPatternGroup = (str) => {
|
|
43
|
+
let result = {};
|
|
44
|
+
if (str.match(phoneNumPattern))
|
|
45
|
+
result['phone'] = str;
|
|
46
|
+
if (str.match(emailPattern))
|
|
47
|
+
result['email'] = str;
|
|
48
|
+
if (str.match(urlPattern))
|
|
49
|
+
result['url'] = str;
|
|
50
|
+
return result;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Formats the input text if provided, otherwise edits the text at the cursor position.
|
|
54
|
+
*
|
|
55
|
+
* @param {string|null} inputText - The input text to be formatted.
|
|
56
|
+
* @returns {string|void} - The formatted input text, or void if inputText is not provided.
|
|
57
|
+
*/
|
|
58
|
+
getFormattedText(inputText) {
|
|
59
|
+
if (!inputText) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
let formattedText = this.getFormatTextForLinks({ str: inputText, style: this.style });
|
|
63
|
+
return formattedText;
|
|
64
|
+
}
|
|
65
|
+
getFormatTextForLinks = ({ str, style }) => {
|
|
66
|
+
if (typeof str === "string") {
|
|
67
|
+
let res = str.matchAll(phoneNumPattern + "|" + emailPattern + "|" + urlPattern);
|
|
68
|
+
for (let resPart of res) {
|
|
69
|
+
let { email, phone } = this.getPatternGroup(resPart[0]);
|
|
70
|
+
let pre, post;
|
|
71
|
+
pre = str.substring(0, resPart.index);
|
|
72
|
+
post = str.substring(resPart.index + resPart[0].length);
|
|
73
|
+
let urlLink = "";
|
|
74
|
+
if (email)
|
|
75
|
+
urlLink = "mailto:";
|
|
76
|
+
if (phone)
|
|
77
|
+
urlLink = "tel:";
|
|
78
|
+
return (<Text>
|
|
79
|
+
<Text>{pre} </Text>
|
|
80
|
+
{this.Link({
|
|
81
|
+
text: resPart[0].trim(), url: urlLink.trim() + resPart[0].trim(),
|
|
82
|
+
style: { ...this.style }
|
|
83
|
+
})}
|
|
84
|
+
{this.getFormatTextForLinks({
|
|
85
|
+
str: post,
|
|
86
|
+
style: style
|
|
87
|
+
})}
|
|
88
|
+
</Text>);
|
|
89
|
+
}
|
|
90
|
+
return <Text>{str}</Text>;
|
|
91
|
+
}
|
|
92
|
+
else if (React.isValidElement(str)) {
|
|
93
|
+
// str is a React element
|
|
94
|
+
if (str.props.children) {
|
|
95
|
+
// If the React element have children, we map over these children
|
|
96
|
+
// and call addMentionsSpan recursively for each child.
|
|
97
|
+
return React.cloneElement(str, {
|
|
98
|
+
children: React.Children.map(str.props.children, child => {
|
|
99
|
+
return this.getFormatTextForLinks({ str: child, style: style });
|
|
100
|
+
}),
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
// If the React element does not have children, return it as is
|
|
105
|
+
return str;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
throw new Error(`Unsupported str type: ${typeof str}`);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Retrieves the message object.
|
|
114
|
+
*
|
|
115
|
+
* @returns {CometChat.BaseMessage} - The current message object.
|
|
116
|
+
*/
|
|
117
|
+
getMessage() {
|
|
118
|
+
return this.messageObject;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Sets the message object.
|
|
122
|
+
*
|
|
123
|
+
* @param {CometChat.BaseMessage} messageObject - The message object to be set.
|
|
124
|
+
*/
|
|
125
|
+
setMessage(messageObject) {
|
|
126
|
+
this.messageObject = messageObject;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/formatters/CometChatUrlsFormatter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE3F,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,OAAO,sBAAuB,SAAQ,sBAAsB;IAE9D;;OAEG;IACO,aAAa,CAAyB;IAEtC,KAAK,GAGX;QACI,aAAa,EAAE,MAAM;QACrB,YAAY,EAAE,IAAI,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;KACnE,CAAA;IAGL,YAAY,YAA6B;QACrC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,Y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EAAE,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC,CAAA;IAGD;;;;MAIE;IACF,UAAU;QACN,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAED;;;;MAIE;IACF,UAAU,CAAC,aAAoC;QAC3C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;CACJ"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CometChatUrlsFormatter } from "./CometChatUrlsFormatter";
|
|
2
|
+
import { CometChatTextFormatter } from "./CometChatTextFormatter";
|
|
3
|
+
import { CometChatMentionsFormatter } from "./CometChatMentionsFormatter";
|
|
4
|
+
import { MentionTextStyle } from "./CometChatMentionsFormatter";
|
|
5
|
+
export { CometChatUrlsFormatter, CometChatTextFormatter, CometChatMentionsFormatter, MentionTextStyle };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CometChatUrlsFormatter } from "./CometChatUrlsFormatter";
|
|
2
|
+
import { CometChatTextFormatter } from "./CometChatTextFormatter";
|
|
3
|
+
import { CometChatMentionsFormatter } from "./CometChatMentionsFormatter";
|
|
4
|
+
import { MentionTextStyle } from "./CometChatMentionsFormatter";
|
|
5
|
+
export { CometChatUrlsFormatter, CometChatTextFormatter, CometChatMentionsFormatter, MentionTextStyle };
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/shared/formatters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,EACH,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,gBAAgB,EACnB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatConfigurator.js","sourceRoot":"","sources":["../../../src/shared/framework/ChatConfigurator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,OAAO,gBAAgB;IAC3B,MAAM,CAAC,UAAU,GAAe,IAAI,iBAAiB,EAAE,CAAC;IAExD,MAAM,CAAC,KAAK,GAAa,CAAC,eAAe,CAAC,CAAC;IAE3C,MAAM,CAAC,IAAI,CAAC,aAA0B;QACpC,IAAI,CAAC,UAAU,GAAG,aAAa,IAAI,IAAI,iBAAiB,EAAE,CAAC;QAC3D,IAAI,CAAC,KAAK,GAAG,CAAC,eAAe,CAAC,CAAA;QAC9B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,GAAuC;QACnD,IAAI,SAAS,GAAe,IAAI,CAAC,UAAU,CAAC;QAC5C,IAAI,SAAS,GAAe,GAAG,CAAC,SAAS,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,SAAS,CAAC,KAAK,EAAE,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"ChatConfigurator.js","sourceRoot":"","sources":["../../../src/shared/framework/ChatConfigurator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,OAAO,gBAAgB;IAC3B,MAAM,CAAC,UAAU,GAAe,IAAI,iBAAiB,EAAE,CAAC;IAExD,MAAM,CAAC,KAAK,GAAa,CAAC,eAAe,CAAC,CAAC;IAE3C,MAAM,CAAC,IAAI,CAAC,aAA0B;QACpC,IAAI,CAAC,UAAU,GAAG,aAAa,IAAI,IAAI,iBAAiB,EAAE,CAAC;QAC3D,IAAI,CAAC,KAAK,GAAG,CAAC,eAAe,CAAC,CAAA;QAC9B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,GAAuC;QACnD,IAAI,SAAS,GAAe,IAAI,CAAC,UAAU,CAAC;QAC5C,IAAI,SAAS,GAAe,GAAG,CAAC,SAAS,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,SAAS,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;YACpD,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,KAAK,EAAE,CAAE,CAAC;YACzC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;YAC5B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAED,MAAM,CAAC,aAAa;QAClB,OAAO,gBAAgB,CAAC,UAAU,CAAC;IACrC,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
import { MessageBubbleAlignmentType } from "../constants/UIKitConstants";
|
|
1
|
+
import { AIOptionsStyle } from "../../AI/AIOptionsStyle";
|
|
2
|
+
import { AdditionalBubbleStylingParams, MessageBubbleAlignmentType } from "../constants/UIKitConstants";
|
|
3
|
+
import { CometChatMentionsFormatter, CometChatTextFormatter, CometChatUrlsFormatter } from "../formatters";
|
|
3
4
|
import { CometChatMessageComposerActionInterface } from "../helper/types";
|
|
4
5
|
import { CometChatMessageOption, CometChatMessageTemplate } from "../modals";
|
|
6
|
+
import { CardMessage, FormMessage } from "../modals/InteractiveData";
|
|
7
|
+
import { SchedulerMessage } from "../modals/InteractiveData/InteractiveMessage";
|
|
5
8
|
import { CometChatTheme } from "../resources/CometChatTheme";
|
|
6
9
|
import { VideoBubbleStyleInterface, ImageBubbleStyleInterface, AudioBubbleStyleInterface, FileBubbleStyleInterface } from "../views";
|
|
10
|
+
import { CardBubbleStyle } from "../views/CometChatCardBubble/CardBubbleStyle";
|
|
11
|
+
import { FormBubbleStyle } from "../views/CometChatFormBubble/FormBubbleStyle";
|
|
12
|
+
import { SchedulerBubbleStyles } from "../views/CometChatSchedulerBubble";
|
|
7
13
|
import { DataSource } from "./DataSource";
|
|
8
14
|
import { CometChat } from "@cometchat/chat-sdk-react-native";
|
|
9
15
|
export declare class DataSourceDecorator implements DataSource {
|
|
@@ -11,6 +17,9 @@ export declare class DataSourceDecorator implements DataSource {
|
|
|
11
17
|
constructor(dataSource: DataSource);
|
|
12
18
|
getId(): string;
|
|
13
19
|
getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group: CometChat.Group): CometChatMessageOption[];
|
|
20
|
+
getFormMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group: CometChat.Group): CometChatMessageOption[];
|
|
21
|
+
getSchedulerMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group: CometChat.Group): CometChatMessageOption[];
|
|
22
|
+
getCardMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group: CometChat.Group): CometChatMessageOption[];
|
|
14
23
|
getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group: CometChat.Group): CometChatMessageOption[];
|
|
15
24
|
getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group: CometChat.Group): CometChatMessageOption[];
|
|
16
25
|
getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group: CometChat.Group): CometChatMessageOption[];
|
|
@@ -20,30 +29,43 @@ export declare class DataSourceDecorator implements DataSource {
|
|
|
20
29
|
getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType): JSX.Element;
|
|
21
30
|
getDeleteMessageBubble(message: CometChat.BaseMessage, theme: CometChatTheme): JSX.Element;
|
|
22
31
|
getVideoMessageBubble(videoUrl: string, thumbnailUrl: string, message: CometChat.MediaMessage, theme: CometChatTheme, videoBubbleStyle: VideoBubbleStyleInterface): any;
|
|
23
|
-
getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
32
|
+
getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme, additionalParams?: AdditionalBubbleStylingParams): JSX.Element;
|
|
33
|
+
getFormMessageBubble(message: FormMessage, theme: CometChatTheme, style?: FormBubbleStyle, onSubmitClick?: (data: any) => void): JSX.Element;
|
|
34
|
+
getSchedulerMessageBubble(message: SchedulerMessage, theme: CometChatTheme, style?: SchedulerBubbleStyles, onScheduleClick?: (data: any) => void): JSX.Element;
|
|
35
|
+
getCardMessageBubble(message: CardMessage, theme: CometChatTheme, style?: CardBubbleStyle, onSubmitClick?: (data: any) => void): JSX.Element;
|
|
24
36
|
getImageMessageBubble(imageUrl: string, caption: string, style: ImageBubbleStyleInterface, message: CometChat.MediaMessage, theme: CometChatTheme): JSX.Element;
|
|
25
37
|
getAudioMessageBubble(audioUrl: string, title: string, style: AudioBubbleStyleInterface, message: CometChat.MediaMessage, theme: CometChatTheme): JSX.Element;
|
|
26
38
|
getFileMessageBubble(fileUrl: string, title: string, style: FileBubbleStyleInterface, message: CometChat.MediaMessage, theme: CometChatTheme): JSX.Element;
|
|
27
39
|
getGroupActionBubble(message: CometChat.BaseMessage, theme: CometChatTheme): JSX.Element;
|
|
28
|
-
getTextMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
40
|
+
getTextMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme, additionalParams?: AdditionalBubbleStylingParams): JSX.Element;
|
|
41
|
+
getFormMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
42
|
+
getSchedulerMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
43
|
+
getCardMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
29
44
|
getAudioMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
30
45
|
getVideoMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
31
46
|
getImageMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
32
47
|
getFileMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
|
|
33
|
-
getTextMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
48
|
+
getTextMessageTemplate(theme: CometChatTheme, additionalParams?: AdditionalBubbleStylingParams): CometChatMessageTemplate;
|
|
49
|
+
getFormMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
50
|
+
getSchedulerMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
51
|
+
getCardMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
34
52
|
getAudioMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
35
53
|
getVideoMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
36
54
|
getImageMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
37
55
|
getFileMessageTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
38
|
-
getAllMessageTemplates(theme: CometChatTheme): CometChatMessageTemplate[];
|
|
56
|
+
getAllMessageTemplates(theme: CometChatTheme, additionalParams?: AdditionalBubbleStylingParams): CometChatMessageTemplate[];
|
|
39
57
|
getMessageTemplate(messageType: string, MessageCategory: string, theme: CometChatTheme): CometChatMessageTemplate;
|
|
40
58
|
getGroupActionTemplate(theme: CometChatTheme): CometChatMessageTemplate;
|
|
41
59
|
getAllMessageTypes(): string[];
|
|
42
60
|
getAllMessageCategories(): string[];
|
|
43
|
-
getAuxiliaryOptions(user: CometChat.User, group: CometChat.Group, id: Map<string, any
|
|
61
|
+
getAuxiliaryOptions(user: CometChat.User, group: CometChat.Group, id: Map<string, any>, theme?: CometChatTheme): JSX.Element[];
|
|
44
62
|
getMessageTypeToSubtitle(messageType: string): string;
|
|
45
63
|
getAttachmentOptions(user?: any, group?: any, composerId?: any): CometChatMessageComposerActionInterface[];
|
|
46
64
|
getAuxiliaryButtonOptions(): any;
|
|
47
65
|
getLastConversationMessage(conversation: CometChat.Conversation): string;
|
|
48
66
|
getAuxiliaryHeaderAppbarOptions(user?: CometChat.User, group?: CometChat.Group, theme?: CometChatTheme): JSX.Element;
|
|
67
|
+
getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, theme: CometChatTheme, id?: Map<String, any>, AIOptionsStyle?: AIOptionsStyle): (CometChatMessageComposerActionInterface | CometChatMessageOption)[];
|
|
68
|
+
getAllTextFormatters(loggedInUser?: CometChat.User): CometChatTextFormatter[];
|
|
69
|
+
getMentionsFormatter(loggedInUser?: CometChat.User): CometChatMentionsFormatter;
|
|
70
|
+
getUrlsFormatter(loggedInUser?: CometChat.User): CometChatUrlsFormatter;
|
|
49
71
|
}
|
|
@@ -9,6 +9,15 @@ export class DataSourceDecorator {
|
|
|
9
9
|
getTextMessageOptions(loggedInUser, messageObject, group) {
|
|
10
10
|
return this.dataSource.getTextMessageOptions(loggedInUser, messageObject, group);
|
|
11
11
|
}
|
|
12
|
+
getFormMessageOptions(loggedInUser, messageObject, group) {
|
|
13
|
+
return this.dataSource.getFormMessageOptions(loggedInUser, messageObject, group);
|
|
14
|
+
}
|
|
15
|
+
getSchedulerMessageOptions(loggedInUser, messageObject, group) {
|
|
16
|
+
return this.dataSource.getSchedulerMessageOptions(loggedInUser, messageObject, group);
|
|
17
|
+
}
|
|
18
|
+
getCardMessageOptions(loggedInUser, messageObject, group) {
|
|
19
|
+
return this.dataSource.getCardMessageOptions(loggedInUser, messageObject, group);
|
|
20
|
+
}
|
|
12
21
|
getAudioMessageOptions(loggedInUser, messageObject, group) {
|
|
13
22
|
return this.dataSource.getAudioMessageOptions(loggedInUser, messageObject, group);
|
|
14
23
|
}
|
|
@@ -36,8 +45,17 @@ export class DataSourceDecorator {
|
|
|
36
45
|
getVideoMessageBubble(videoUrl, thumbnailUrl, message, theme, videoBubbleStyle) {
|
|
37
46
|
return this.dataSource.getVideoMessageBubble(videoUrl, thumbnailUrl, message, theme, videoBubbleStyle);
|
|
38
47
|
}
|
|
39
|
-
getTextMessageBubble(messageText, message, alignment, theme) {
|
|
40
|
-
return this.dataSource.getTextMessageBubble(messageText, message, alignment, theme);
|
|
48
|
+
getTextMessageBubble(messageText, message, alignment, theme, additionalParams) {
|
|
49
|
+
return this.dataSource.getTextMessageBubble(messageText, message, alignment, theme, additionalParams);
|
|
50
|
+
}
|
|
51
|
+
getFormMessageBubble(message, theme, style, onSubmitClick) {
|
|
52
|
+
return this.dataSource.getFormMessageBubble(message, theme, style, onSubmitClick);
|
|
53
|
+
}
|
|
54
|
+
getSchedulerMessageBubble(message, theme, style, onScheduleClick) {
|
|
55
|
+
return this.dataSource.getSchedulerMessageBubble(message, theme, style, onScheduleClick);
|
|
56
|
+
}
|
|
57
|
+
getCardMessageBubble(message, theme, style, onSubmitClick) {
|
|
58
|
+
return this.dataSource.getCardMessageBubble(message, theme, style, onSubmitClick);
|
|
41
59
|
}
|
|
42
60
|
getImageMessageBubble(imageUrl, caption, style, message, theme) {
|
|
43
61
|
return this.dataSource.getImageMessageBubble(imageUrl, caption, style, message, theme);
|
|
@@ -51,8 +69,17 @@ export class DataSourceDecorator {
|
|
|
51
69
|
getGroupActionBubble(message, theme) {
|
|
52
70
|
return this.dataSource.getGroupActionBubble(message, theme);
|
|
53
71
|
}
|
|
54
|
-
getTextMessageContentView(message, alignment, theme) {
|
|
55
|
-
return this.dataSource.getTextMessageContentView(message, alignment, theme);
|
|
72
|
+
getTextMessageContentView(message, alignment, theme, additionalParams) {
|
|
73
|
+
return this.dataSource.getTextMessageContentView(message, alignment, theme, additionalParams);
|
|
74
|
+
}
|
|
75
|
+
getFormMessageContentView(message, alignment, theme) {
|
|
76
|
+
return this.dataSource.getFormMessageContentView(message, alignment, theme);
|
|
77
|
+
}
|
|
78
|
+
getSchedulerMessageContentView(message, alignment, theme) {
|
|
79
|
+
return this.dataSource.getSchedulerMessageContentView(message, alignment, theme);
|
|
80
|
+
}
|
|
81
|
+
getCardMessageContentView(message, alignment, theme) {
|
|
82
|
+
return this.dataSource.getCardMessageContentView(message, alignment, theme);
|
|
56
83
|
}
|
|
57
84
|
getAudioMessageContentView(message, alignment, theme) {
|
|
58
85
|
return this.dataSource.getAudioMessageContentView(message, alignment, theme);
|
|
@@ -66,8 +93,17 @@ export class DataSourceDecorator {
|
|
|
66
93
|
getFileMessageContentView(message, alignment, theme) {
|
|
67
94
|
return this.dataSource.getFileMessageContentView(message, alignment, theme);
|
|
68
95
|
}
|
|
69
|
-
getTextMessageTemplate(theme) {
|
|
70
|
-
return this.dataSource.getTextMessageTemplate(theme);
|
|
96
|
+
getTextMessageTemplate(theme, additionalParams) {
|
|
97
|
+
return this.dataSource.getTextMessageTemplate(theme, additionalParams);
|
|
98
|
+
}
|
|
99
|
+
getFormMessageTemplate(theme) {
|
|
100
|
+
return this.dataSource.getFormMessageTemplate(theme);
|
|
101
|
+
}
|
|
102
|
+
getSchedulerMessageTemplate(theme) {
|
|
103
|
+
return this.dataSource.getSchedulerMessageTemplate(theme);
|
|
104
|
+
}
|
|
105
|
+
getCardMessageTemplate(theme) {
|
|
106
|
+
return this.dataSource.getCardMessageTemplate(theme);
|
|
71
107
|
}
|
|
72
108
|
getAudioMessageTemplate(theme) {
|
|
73
109
|
return this.dataSource.getAudioMessageTemplate(theme);
|
|
@@ -81,8 +117,8 @@ export class DataSourceDecorator {
|
|
|
81
117
|
getFileMessageTemplate(theme) {
|
|
82
118
|
return this.dataSource.getFileMessageTemplate(theme);
|
|
83
119
|
}
|
|
84
|
-
getAllMessageTemplates(theme) {
|
|
85
|
-
return this.dataSource.getAllMessageTemplates(theme);
|
|
120
|
+
getAllMessageTemplates(theme, additionalParams) {
|
|
121
|
+
return this.dataSource.getAllMessageTemplates(theme, additionalParams);
|
|
86
122
|
}
|
|
87
123
|
getMessageTemplate(messageType, MessageCategory, theme) {
|
|
88
124
|
return this.dataSource.getMessageTemplate(messageType, MessageCategory, theme);
|
|
@@ -96,8 +132,8 @@ export class DataSourceDecorator {
|
|
|
96
132
|
getAllMessageCategories() {
|
|
97
133
|
return this.dataSource.getAllMessageCategories();
|
|
98
134
|
}
|
|
99
|
-
getAuxiliaryOptions(user, group, id) {
|
|
100
|
-
return this.dataSource.getAuxiliaryOptions(user, group, id);
|
|
135
|
+
getAuxiliaryOptions(user, group, id, theme) {
|
|
136
|
+
return this.dataSource.getAuxiliaryOptions(user, group, id, theme);
|
|
101
137
|
}
|
|
102
138
|
getMessageTypeToSubtitle(messageType) {
|
|
103
139
|
return this.dataSource.getMessageTypeToSubtitle(messageType);
|
|
@@ -117,5 +153,20 @@ export class DataSourceDecorator {
|
|
|
117
153
|
getAuxiliaryHeaderAppbarOptions(user, group, theme) {
|
|
118
154
|
return this.dataSource.getAuxiliaryHeaderAppbarOptions(user, group, theme);
|
|
119
155
|
}
|
|
156
|
+
getAIOptions(user, group, theme, id, AIOptionsStyle) {
|
|
157
|
+
return this.dataSource.getAIOptions(user, group, theme, id, AIOptionsStyle);
|
|
158
|
+
}
|
|
159
|
+
getAllTextFormatters(loggedInUser) {
|
|
160
|
+
return [
|
|
161
|
+
this.dataSource.getMentionsFormatter(loggedInUser),
|
|
162
|
+
this.dataSource.getUrlsFormatter(loggedInUser)
|
|
163
|
+
];
|
|
164
|
+
}
|
|
165
|
+
getMentionsFormatter(loggedInUser) {
|
|
166
|
+
return this.dataSource.getMentionsFormatter(loggedInUser);
|
|
167
|
+
}
|
|
168
|
+
getUrlsFormatter(loggedInUser) {
|
|
169
|
+
return this.dataSource.getUrlsFormatter(loggedInUser);
|
|
170
|
+
}
|
|
120
171
|
}
|
|
121
172
|
//# sourceMappingURL=DataSourceDecorator.js.map
|