@cometchat/chat-uikit-react-native 4.3.25 → 4.3.26
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/android/.gradle/7.4/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4/gc.properties +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/lib/AI/AIAssistBot/AIAssistBotDecorator.d.ts +23 -0
- package/lib/AI/AIAssistBot/AIAssistBotDecorator.js +132 -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 +13 -0
- package/lib/AI/AIAssistBot/AIAssistBotView.js +189 -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 +4 -0
- package/lib/AI/AIAssistBot/resources/index.js.map +1 -0
- package/lib/AI/AIBaseConfiguration.d.ts +12 -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.d.ts +31 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js +188 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js.map +1 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.d.ts +10 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js +14 -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 +30 -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 +150 -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 +12 -0
- package/lib/AI/AIConversationSummary/AIConversationSummaryView.js +126 -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 +4 -0
- package/lib/AI/AIConversationSummary/resources/index.js.map +1 -0
- package/lib/AI/AIExtensionDataSource.d.ts +6 -0
- package/lib/AI/AIExtensionDataSource.js +12 -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.d.ts +38 -0
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js +240 -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 +9 -0
- package/lib/AI/AISmartReplies/configuration.js +11 -0
- package/lib/AI/AISmartReplies/configuration.js.map +1 -0
- package/lib/AI/CardView.d.ts +16 -0
- package/lib/AI/CardView.js +37 -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 +8 -0
- package/lib/AI/resources/index.js.map +1 -0
- package/lib/AI/resources/spineer.png +0 -0
- package/lib/AI/style.d.ts +130 -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.d.ts +43 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js +42 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +10 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.js +74 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -0
- package/lib/CometChatAddMembers/index.d.ts +4 -0
- package/lib/CometChatAddMembers/index.js +4 -0
- package/lib/CometChatAddMembers/index.js.map +1 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +46 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +44 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +21 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js +85 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -0
- package/lib/CometChatBannedMembers/index.d.ts +4 -0
- package/lib/CometChatBannedMembers/index.js +4 -0
- package/lib/CometChatBannedMembers/index.js.map +1 -0
- package/lib/CometChatBannedMembers/resources/clear.png +0 -0
- package/lib/CometChatBannedMembers/resources/index.d.ts +3 -0
- package/lib/CometChatBannedMembers/resources/index.js +4 -0
- package/lib/CometChatBannedMembers/resources/index.js.map +1 -0
- package/lib/CometChatContacts/CometChatContacts.d.ts +75 -0
- package/lib/CometChatContacts/CometChatContacts.js +87 -0
- package/lib/CometChatContacts/CometChatContacts.js.map +1 -0
- package/lib/CometChatContacts/ContactsConfiguration.d.ts +73 -0
- package/lib/CometChatContacts/ContactsConfiguration.js +2 -0
- package/lib/CometChatContacts/ContactsConfiguration.js.map +1 -0
- package/lib/CometChatContacts/ContactsStyle.d.ts +59 -0
- package/lib/CometChatContacts/ContactsStyle.js +2 -0
- package/lib/CometChatContacts/ContactsStyle.js.map +1 -0
- package/lib/CometChatContacts/Header.d.ts +31 -0
- package/lib/CometChatContacts/Header.js +72 -0
- package/lib/CometChatContacts/Header.js.map +1 -0
- package/lib/CometChatContacts/index.d.ts +5 -0
- package/lib/CometChatContacts/index.js +3 -0
- package/lib/CometChatContacts/index.js.map +1 -0
- package/lib/CometChatContacts/styles.d.ts +101 -0
- package/lib/CometChatContacts/styles.js +104 -0
- package/lib/CometChatContacts/styles.js.map +1 -0
- package/lib/CometChatConversations/CometChatConversations.d.ts +208 -0
- package/lib/CometChatConversations/CometChatConversations.js +947 -0
- package/lib/CometChatConversations/CometChatConversations.js.map +1 -0
- package/lib/CometChatConversations/ConversationsConfiguration.d.ts +126 -0
- package/lib/CometChatConversations/ConversationsConfiguration.js +115 -0
- package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -0
- package/lib/CometChatConversations/ConversationsStyle.d.ts +38 -0
- package/lib/CometChatConversations/ConversationsStyle.js +46 -0
- package/lib/CometChatConversations/ConversationsStyle.js.map +1 -0
- package/lib/CometChatConversations/index.d.ts +5 -0
- package/lib/CometChatConversations/index.js +5 -0
- package/lib/CometChatConversations/index.js.map +1 -0
- 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/index.d.ts +14 -0
- package/lib/CometChatConversations/resources/index.js +30 -0
- package/lib/CometChatConversations/resources/index.js.map +1 -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 +65 -0
- package/lib/CometChatConversations/style.js +67 -0
- package/lib/CometChatConversations/style.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +14 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +168 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/index.d.ts +3 -0
- package/lib/CometChatConversationsWithMessages/index.js +3 -0
- package/lib/CometChatConversationsWithMessages/index.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/resources/index.d.ts +2 -0
- package/lib/CometChatConversationsWithMessages/resources/index.js +4 -0
- package/lib/CometChatConversationsWithMessages/resources/index.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/resources/start.png +0 -0
- package/lib/CometChatConversationsWithMessages/styles.d.ts +12 -0
- package/lib/CometChatConversationsWithMessages/styles.js +14 -0
- package/lib/CometChatConversationsWithMessages/styles.js.map +1 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +91 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js +191 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +14 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +16 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -0
- package/lib/CometChatCreateGroup/Header.d.ts +3 -0
- package/lib/CometChatCreateGroup/Header.js +41 -0
- package/lib/CometChatCreateGroup/Header.js.map +1 -0
- package/lib/CometChatCreateGroup/index.d.ts +4 -0
- package/lib/CometChatCreateGroup/index.js +4 -0
- package/lib/CometChatCreateGroup/index.js.map +1 -0
- package/lib/CometChatCreateGroup/resources/close.png +0 -0
- package/lib/CometChatCreateGroup/resources/index.d.ts +5 -0
- package/lib/CometChatCreateGroup/resources/index.js +12 -0
- package/lib/CometChatCreateGroup/resources/index.js.map +1 -0
- package/lib/CometChatCreateGroup/resources/rightTick.png +0 -0
- package/lib/CometChatCreateGroup/resources/warning.png +0 -0
- package/lib/CometChatCreateGroup/style.d.ts +46 -0
- package/lib/CometChatCreateGroup/style.js +43 -0
- package/lib/CometChatCreateGroup/style.js.map +1 -0
- package/lib/CometChatDetails/CometChatDetails.d.ts +281 -0
- package/lib/CometChatDetails/CometChatDetails.js +436 -0
- package/lib/CometChatDetails/CometChatDetails.js.map +1 -0
- package/lib/CometChatDetails/DetailsConfiguration.d.ts +36 -0
- package/lib/CometChatDetails/DetailsConfiguration.js +27 -0
- package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -0
- package/lib/CometChatDetails/Header.d.ts +3 -0
- package/lib/CometChatDetails/Header.js +26 -0
- package/lib/CometChatDetails/Header.js.map +1 -0
- package/lib/CometChatDetails/index.d.ts +4 -0
- package/lib/CometChatDetails/index.js +4 -0
- package/lib/CometChatDetails/index.js.map +1 -0
- package/lib/CometChatDetails/listners.d.ts +10 -0
- package/lib/CometChatDetails/listners.js +79 -0
- package/lib/CometChatDetails/listners.js.map +1 -0
- package/lib/CometChatDetails/resources/Back.png +0 -0
- package/lib/CometChatDetails/resources/close.png +0 -0
- package/lib/CometChatDetails/resources/index.d.ts +7 -0
- package/lib/CometChatDetails/resources/index.js +18 -0
- package/lib/CometChatDetails/resources/index.js.map +1 -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 +28 -0
- package/lib/CometChatDetails/styles.js +23 -0
- package/lib/CometChatDetails/styles.js.map +1 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +96 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js +414 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +87 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +71 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +42 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.js +48 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +28 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.js +35 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +1 -0
- package/lib/CometChatGroupMembers/index.d.ts +8 -0
- package/lib/CometChatGroupMembers/index.js +5 -0
- package/lib/CometChatGroupMembers/index.js.map +1 -0
- 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 +6 -0
- package/lib/CometChatGroupMembers/resources/index.js +12 -0
- package/lib/CometChatGroupMembers/resources/index.js.map +1 -0
- package/lib/CometChatGroupMembers/resources/kickIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/rightTick.png +0 -0
- package/lib/CometChatGroupMembers/style.d.ts +31 -0
- package/lib/CometChatGroupMembers/style.js +30 -0
- package/lib/CometChatGroupMembers/style.js.map +1 -0
- package/lib/CometChatGroups/CometChatGroups.d.ts +141 -0
- package/lib/CometChatGroups/CometChatGroups.js +318 -0
- package/lib/CometChatGroups/CometChatGroups.js.map +1 -0
- package/lib/CometChatGroups/GroupsConfiguration.d.ts +74 -0
- package/lib/CometChatGroups/GroupsConfiguration.js +41 -0
- package/lib/CometChatGroups/GroupsConfiguration.js.map +1 -0
- package/lib/CometChatGroups/GroupsStyle.d.ts +51 -0
- package/lib/CometChatGroups/GroupsStyle.js +61 -0
- package/lib/CometChatGroups/GroupsStyle.js.map +1 -0
- package/lib/CometChatGroups/index.d.ts +5 -0
- package/lib/CometChatGroups/index.js +5 -0
- package/lib/CometChatGroups/index.js.map +1 -0
- 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 +10 -0
- package/lib/CometChatGroups/resources/index.js +20 -0
- package/lib/CometChatGroups/resources/index.js.map +1 -0
- 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/spineer.png +0 -0
- package/lib/CometChatGroups/style.d.ts +16 -0
- package/lib/CometChatGroups/style.js +19 -0
- package/lib/CometChatGroups/style.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +13 -0
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +173 -0
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/index.d.ts +3 -0
- package/lib/CometChatGroupsWithMessages/index.js +3 -0
- package/lib/CometChatGroupsWithMessages/index.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/resources/index.d.ts +2 -0
- package/lib/CometChatGroupsWithMessages/resources/index.js +4 -0
- package/lib/CometChatGroupsWithMessages/resources/index.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/resources/write.png +0 -0
- package/lib/CometChatGroupsWithMessages/styles.d.ts +12 -0
- package/lib/CometChatGroupsWithMessages/styles.js +14 -0
- package/lib/CometChatGroupsWithMessages/styles.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +105 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +94 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/Header.d.ts +3 -0
- package/lib/CometChatJoinProtectedGroup/Header.js +33 -0
- package/lib/CometChatJoinProtectedGroup/Header.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +15 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +17 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/index.d.ts +4 -0
- package/lib/CometChatJoinProtectedGroup/index.js +4 -0
- package/lib/CometChatJoinProtectedGroup/index.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/resources/close.png +0 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +4 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.js +9 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/resources/rightTick.png +0 -0
- package/lib/CometChatJoinProtectedGroup/style.d.ts +11 -0
- package/lib/CometChatJoinProtectedGroup/style.js +10 -0
- package/lib/CometChatJoinProtectedGroup/style.js.map +1 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +295 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +1126 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +61 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +47 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -0
- package/lib/CometChatMessageComposer/index.d.ts +4 -0
- package/lib/CometChatMessageComposer/index.js +4 -0
- package/lib/CometChatMessageComposer/index.js.map +1 -0
- 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 +12 -0
- package/lib/CometChatMessageComposer/resources/index.js +33 -0
- package/lib/CometChatMessageComposer/resources/index.js.map +1 -0
- 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 +26 -0
- package/lib/CometChatMessageComposer/styles.js +28 -0
- package/lib/CometChatMessageComposer/styles.js.map +1 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +143 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +279 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +37 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +28 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -0
- package/lib/CometChatMessageHeader/index.d.ts +4 -0
- package/lib/CometChatMessageHeader/index.js +4 -0
- package/lib/CometChatMessageHeader/index.js.map +1 -0
- package/lib/CometChatMessageHeader/listners.d.ts +12 -0
- package/lib/CometChatMessageHeader/listners.js +49 -0
- package/lib/CometChatMessageHeader/listners.js.map +1 -0
- package/lib/CometChatMessageHeader/resources/Back.png +0 -0
- package/lib/CometChatMessageHeader/resources/index.d.ts +5 -0
- package/lib/CometChatMessageHeader/resources/index.js +12 -0
- package/lib/CometChatMessageHeader/resources/index.js.map +1 -0
- package/lib/CometChatMessageHeader/resources/password.png +0 -0
- package/lib/CometChatMessageHeader/resources/private.png +0 -0
- package/lib/CometChatMessageHeader/styles.d.ts +16 -0
- package/lib/CometChatMessageHeader/styles.js +16 -0
- package/lib/CometChatMessageHeader/styles.js.map +1 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +39 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js +230 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -0
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.d.ts +8 -0
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.js +12 -0
- package/lib/CometChatMessageInformation/MessageInformationConfiguration.js.map +1 -0
- package/lib/CometChatMessageInformation/MessageInformationStyle.d.ts +11 -0
- package/lib/CometChatMessageInformation/MessageInformationStyle.js +2 -0
- package/lib/CometChatMessageInformation/MessageInformationStyle.js.map +1 -0
- package/lib/CometChatMessageInformation/index.d.ts +5 -0
- package/lib/CometChatMessageInformation/index.js +4 -0
- package/lib/CometChatMessageInformation/index.js.map +1 -0
- package/lib/CometChatMessageInformation/resources/Spineer.png +0 -0
- package/lib/CometChatMessageInformation/resources/index.d.ts +2 -0
- package/lib/CometChatMessageInformation/resources/index.js +4 -0
- package/lib/CometChatMessageInformation/resources/index.js.map +1 -0
- package/lib/CometChatMessageInformation/styles.d.ts +23 -0
- package/lib/CometChatMessageInformation/styles.js +26 -0
- package/lib/CometChatMessageInformation/styles.js.map +1 -0
- package/lib/CometChatMessageList/CometChatMessageList.d.ts +128 -0
- package/lib/CometChatMessageList/CometChatMessageList.js +1620 -0
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -0
- package/lib/CometChatMessageList/MessageListConfiguration.d.ts +221 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js +96 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -0
- package/lib/CometChatMessageList/MessageListStyle.d.ts +32 -0
- package/lib/CometChatMessageList/MessageListStyle.js +39 -0
- package/lib/CometChatMessageList/MessageListStyle.js.map +1 -0
- package/lib/CometChatMessageList/index.d.ts +5 -0
- package/lib/CometChatMessageList/index.js +5 -0
- package/lib/CometChatMessageList/index.js.map +1 -0
- 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 +8 -0
- package/lib/CometChatMessageList/resources/index.js +16 -0
- package/lib/CometChatMessageList/resources/index.js.map +1 -0
- 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 +52 -0
- package/lib/CometChatMessageList/style.js +54 -0
- package/lib/CometChatMessageList/style.js.map +1 -0
- package/lib/CometChatMessages/CometChatMessages.d.ts +42 -0
- package/lib/CometChatMessages/CometChatMessages.js +232 -0
- package/lib/CometChatMessages/CometChatMessages.js.map +1 -0
- package/lib/CometChatMessages/MessageStyle.d.ts +15 -0
- package/lib/CometChatMessages/MessageStyle.js +19 -0
- package/lib/CometChatMessages/MessageStyle.js.map +1 -0
- package/lib/CometChatMessages/MessagesConfiguration.d.ts +69 -0
- package/lib/CometChatMessages/MessagesConfiguration.js +26 -0
- package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -0
- package/lib/CometChatMessages/index.d.ts +5 -0
- package/lib/CometChatMessages/index.js +5 -0
- package/lib/CometChatMessages/index.js.map +1 -0
- package/lib/CometChatMessages/resources/index.d.ts +2 -0
- package/lib/CometChatMessages/resources/index.js +4 -0
- package/lib/CometChatMessages/resources/index.js.map +1 -0
- package/lib/CometChatMessages/resources/info.png +0 -0
- package/lib/CometChatMessages/style.d.ts +20 -0
- package/lib/CometChatMessages/style.js +22 -0
- package/lib/CometChatMessages/style.js.map +1 -0
- package/lib/CometChatTabs/CometChatTabs.d.ts +11 -0
- package/lib/CometChatTabs/CometChatTabs.js +114 -0
- package/lib/CometChatTabs/CometChatTabs.js.map +1 -0
- package/lib/CometChatTabs/CometChatTabsStyle.d.ts +18 -0
- package/lib/CometChatTabs/CometChatTabsStyle.js +23 -0
- package/lib/CometChatTabs/CometChatTabsStyle.js.map +1 -0
- package/lib/CometChatTabs/TabItemStyle.d.ts +22 -0
- package/lib/CometChatTabs/TabItemStyle.js +29 -0
- package/lib/CometChatTabs/TabItemStyle.js.map +1 -0
- package/lib/CometChatTabs/TabItems.d.ts +11 -0
- package/lib/CometChatTabs/TabItems.js +2 -0
- package/lib/CometChatTabs/TabItems.js.map +1 -0
- package/lib/CometChatTabs/index.d.ts +5 -0
- package/lib/CometChatTabs/index.js +4 -0
- package/lib/CometChatTabs/index.js.map +1 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +106 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +171 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -0
- package/lib/CometChatThreadedMessages/Header.d.ts +12 -0
- package/lib/CometChatThreadedMessages/Header.js +23 -0
- package/lib/CometChatThreadedMessages/Header.js.map +1 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +41 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +32 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -0
- package/lib/CometChatThreadedMessages/index.d.ts +4 -0
- package/lib/CometChatThreadedMessages/index.js +4 -0
- package/lib/CometChatThreadedMessages/index.js.map +1 -0
- package/lib/CometChatThreadedMessages/resources/Back.png +0 -0
- package/lib/CometChatThreadedMessages/resources/close.png +0 -0
- package/lib/CometChatThreadedMessages/resources/index.d.ts +8 -0
- package/lib/CometChatThreadedMessages/resources/index.js +21 -0
- package/lib/CometChatThreadedMessages/resources/index.js.map +1 -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 +25 -0
- package/lib/CometChatThreadedMessages/style.js +28 -0
- package/lib/CometChatThreadedMessages/style.js.map +1 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +35 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +55 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +41 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +38 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -0
- package/lib/CometChatTransferOwnership/index.d.ts +4 -0
- package/lib/CometChatTransferOwnership/index.js +4 -0
- package/lib/CometChatTransferOwnership/index.js.map +1 -0
- package/lib/CometChatUsers/CometChatUsers.d.ts +69 -0
- package/lib/CometChatUsers/CometChatUsers.js +110 -0
- package/lib/CometChatUsers/CometChatUsers.js.map +1 -0
- package/lib/CometChatUsers/UsersConfiguration.d.ts +44 -0
- package/lib/CometChatUsers/UsersConfiguration.js +42 -0
- package/lib/CometChatUsers/UsersConfiguration.js.map +1 -0
- package/lib/CometChatUsers/UsersStyle.d.ts +46 -0
- package/lib/CometChatUsers/UsersStyle.js +54 -0
- package/lib/CometChatUsers/UsersStyle.js.map +1 -0
- package/lib/CometChatUsers/index.d.ts +5 -0
- package/lib/CometChatUsers/index.js +5 -0
- package/lib/CometChatUsers/index.js.map +1 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +11 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +90 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -0
- package/lib/CometChatUsersWithMessages/index.d.ts +3 -0
- package/lib/CometChatUsersWithMessages/index.js +3 -0
- package/lib/CometChatUsersWithMessages/index.js.map +1 -0
- package/lib/CometChatUsersWithMessages/styles.d.ts +12 -0
- package/lib/CometChatUsersWithMessages/styles.js +14 -0
- package/lib/CometChatUsersWithMessages/styles.js.map +1 -0
- package/lib/calls/CallEvents.d.ts +10 -0
- package/lib/calls/CallEvents.js +11 -0
- package/lib/calls/CallEvents.js.map +1 -0
- package/lib/calls/CallUtils.d.ts +8 -0
- package/lib/calls/CallUtils.js +116 -0
- package/lib/calls/CallUtils.js.map +1 -0
- package/lib/calls/CallingConfiguration.d.ts +3 -0
- package/lib/calls/CallingConfiguration.js +5 -0
- package/lib/calls/CallingConfiguration.js.map +1 -0
- package/lib/calls/CallingDetailsUtils.d.ts +7 -0
- package/lib/calls/CallingDetailsUtils.js +99 -0
- package/lib/calls/CallingDetailsUtils.js.map +1 -0
- package/lib/calls/CallingExtension.d.ts +11 -0
- package/lib/calls/CallingExtension.js +36 -0
- package/lib/calls/CallingExtension.js.map +1 -0
- package/lib/calls/CallingExtentionDecorator.d.ts +33 -0
- package/lib/calls/CallingExtentionDecorator.js +170 -0
- package/lib/calls/CallingExtentionDecorator.js.map +1 -0
- package/lib/calls/CallingPackage.d.ts +4 -0
- package/lib/calls/CallingPackage.js +18 -0
- package/lib/calls/CallingPackage.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +13 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +11 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +18 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +25 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +11 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +21 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -0
- package/lib/calls/CometChatCallBubble/index.d.ts +5 -0
- package/lib/calls/CometChatCallBubble/index.js +5 -0
- package/lib/calls/CometChatCallBubble/index.js.map +1 -0
- 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/resources/index.d.ts +4 -0
- package/lib/calls/CometChatCallBubble/resources/index.js +8 -0
- package/lib/calls/CometChatCallBubble/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallBubble/styles.d.ts +21 -0
- package/lib/calls/CometChatCallBubble/styles.js +23 -0
- package/lib/calls/CometChatCallBubble/styles.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +12 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js +19 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +34 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +19 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +61 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +211 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -0
- package/lib/calls/CometChatCallButtons/index.d.ts +5 -0
- package/lib/calls/CometChatCallButtons/index.js +4 -0
- package/lib/calls/CometChatCallButtons/index.js.map +1 -0
- package/lib/calls/CometChatCallButtons/resources/Call.png +0 -0
- package/lib/calls/CometChatCallButtons/resources/Video.png +0 -0
- package/lib/calls/CometChatCallButtons/resources/index.d.ts +3 -0
- package/lib/calls/CometChatCallButtons/resources/index.js +6 -0
- package/lib/calls/CometChatCallButtons/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallButtons/style.d.ts +12 -0
- package/lib/calls/CometChatCallButtons/style.js +14 -0
- package/lib/calls/CometChatCallButtons/style.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.d.ts +120 -0
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js +59 -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.d.ts +72 -0
- package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js +181 -0
- package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/index.d.ts +5 -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 +4 -0
- package/lib/calls/CometChatCallLogDetails/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogDetails/style.d.ts +13 -0
- package/lib/calls/CometChatCallLogDetails/style.js +15 -0
- package/lib/calls/CometChatCallLogDetails/style.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.d.ts +73 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js +34 -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.d.ts +48 -0
- package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js +184 -0
- package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js.map +1 -0
- package/lib/calls/CometChatCallLogHistory/index.d.ts +5 -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 +28 -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 +22 -0
- package/lib/calls/CometChatCallLogHistory/style.js +24 -0
- package/lib/calls/CometChatCallLogHistory/style.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.d.ts +66 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js +33 -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.d.ts +39 -0
- package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js +97 -0
- package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/index.d.ts +5 -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 +4 -0
- package/lib/calls/CometChatCallLogParticipants/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogParticipants/style.d.ts +22 -0
- package/lib/calls/CometChatCallLogParticipants/style.js +24 -0
- package/lib/calls/CometChatCallLogParticipants/style.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.d.ts +72 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js +34 -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.d.ts +41 -0
- package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js +134 -0
- package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/index.d.ts +5 -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 +6 -0
- package/lib/calls/CometChatCallLogRecordings/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallLogRecordings/style.d.ts +22 -0
- package/lib/calls/CometChatCallLogRecordings/style.js +24 -0
- package/lib/calls/CometChatCallLogRecordings/style.js.map +1 -0
- package/lib/calls/CometChatCallLogs/CallLogsConfiguration.d.ts +100 -0
- package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js +45 -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.d.ts +59 -0
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +289 -0
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -0
- package/lib/calls/CometChatCallLogs/index.d.ts +5 -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 +24 -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 +22 -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 +12 -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 +4 -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 +8 -0
- package/lib/calls/CometChatCallLogsWithDetails/style.js +10 -0
- package/lib/calls/CometChatCallLogsWithDetails/style.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +21 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +174 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +32 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +39 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/index.d.ts +4 -0
- package/lib/calls/CometChatIncomingCall/index.js +4 -0
- package/lib/calls/CometChatIncomingCall/index.js.map +1 -0
- 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/resources/index.d.ts +5 -0
- package/lib/calls/CometChatIncomingCall/resources/index.js +10 -0
- package/lib/calls/CometChatIncomingCall/resources/index.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/styles.d.ts +8 -0
- package/lib/calls/CometChatIncomingCall/styles.js +10 -0
- package/lib/calls/CometChatIncomingCall/styles.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +12 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +42 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +13 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +13 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/index.d.ts +4 -0
- package/lib/calls/CometChatOngoingCall/index.js +3 -0
- package/lib/calls/CometChatOngoingCall/index.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +46 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +164 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +18 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +15 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +14 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +21 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/index.d.ts +4 -0
- package/lib/calls/CometChatOutgoingCall/index.js +4 -0
- package/lib/calls/CometChatOutgoingCall/index.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/resources/Close.png +0 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +2 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.js +4 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.js.map +1 -0
- package/lib/calls/index.d.ts +19 -0
- package/lib/calls/index.js +19 -0
- package/lib/calls/index.js.map +1 -0
- package/lib/calls/resources/Call.png +0 -0
- package/lib/calls/resources/Video.png +0 -0
- package/lib/calls/resources/index.d.ts +4 -0
- package/lib/calls/resources/index.js +8 -0
- package/lib/calls/resources/index.js.map +1 -0
- package/lib/calls/resources/nextarrow.png +0 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +55 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +30 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +32 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +53 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/resources/index.d.ts +3 -0
- package/lib/extensions/CollaborativeBubble/resources/index.js +4 -0
- package/lib/extensions/CollaborativeBubble/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/resources/whiteboard.png +0 -0
- package/lib/extensions/CollaborativeBubble/styles.d.ts +35 -0
- package/lib/extensions/CollaborativeBubble/styles.js +74 -0
- package/lib/extensions/CollaborativeBubble/styles.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +14 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +7 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +12 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +25 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +22 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +133 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/index.d.ts +6 -0
- package/lib/extensions/CollaborativeDocument/index.js +6 -0
- package/lib/extensions/CollaborativeDocument/index.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/resources/collaborative_document.png +0 -0
- package/lib/extensions/CollaborativeDocument/resources/collaborative_document_2x.png +0 -0
- package/lib/extensions/CollaborativeDocument/resources/index.d.ts +2 -0
- package/lib/extensions/CollaborativeDocument/resources/index.js +7 -0
- package/lib/extensions/CollaborativeDocument/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +14 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +7 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +12 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +27 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +23 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +139 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/index.d.ts +6 -0
- package/lib/extensions/CollaborativeWhiteboard/index.js +6 -0
- package/lib/extensions/CollaborativeWhiteboard/index.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +2 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js +7 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/whiteboard.png +0 -0
- package/lib/extensions/ExtensionConstants.d.ts +50 -0
- package/lib/extensions/ExtensionConstants.js +51 -0
- package/lib/extensions/ExtensionConstants.js.map +1 -0
- package/lib/extensions/ExtensionModerator.d.ts +16 -0
- package/lib/extensions/ExtensionModerator.js +51 -0
- package/lib/extensions/ExtensionModerator.js.map +1 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +13 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js +45 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +1 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.d.ts +14 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.js +28 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +17 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.js +92 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -0
- package/lib/extensions/ImageModeration/index.d.ts +5 -0
- package/lib/extensions/ImageModeration/index.js +5 -0
- package/lib/extensions/ImageModeration/index.js.map +1 -0
- package/lib/extensions/ImageModeration/resources/index.d.ts +3 -0
- package/lib/extensions/ImageModeration/resources/index.js +4 -0
- package/lib/extensions/ImageModeration/resources/index.js.map +1 -0
- package/lib/extensions/ImageModeration/resources/unsafe.png +0 -0
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.d.ts +18 -0
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +17 -0
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +12 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js +75 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +14 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +13 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +8 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js +21 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +13 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +37 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -0
- package/lib/extensions/LinkPreview/index.d.ts +7 -0
- package/lib/extensions/LinkPreview/index.js +6 -0
- package/lib/extensions/LinkPreview/index.js.map +1 -0
- package/lib/extensions/LinkPreview/resources/defaultImage.png +0 -0
- package/lib/extensions/LinkPreview/resources/index.d.ts +2 -0
- package/lib/extensions/LinkPreview/resources/index.js +4 -0
- package/lib/extensions/LinkPreview/resources/index.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +24 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +90 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +22 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +213 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +14 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +28 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -0
- package/lib/extensions/MessageTranslation/index.d.ts +5 -0
- package/lib/extensions/MessageTranslation/index.js +5 -0
- package/lib/extensions/MessageTranslation/index.js.map +1 -0
- package/lib/extensions/MessageTranslation/resources/index.d.ts +3 -0
- package/lib/extensions/MessageTranslation/resources/index.js +6 -0
- package/lib/extensions/MessageTranslation/resources/index.js.map +1 -0
- package/lib/extensions/MessageTranslation/resources/translate.png +0 -0
- package/lib/extensions/Polls/Header.d.ts +14 -0
- package/lib/extensions/Polls/Header.js +41 -0
- package/lib/extensions/Polls/Header.js.map +1 -0
- package/lib/extensions/Polls/Polls.d.ts +123 -0
- package/lib/extensions/Polls/Polls.js +243 -0
- package/lib/extensions/Polls/Polls.js.map +1 -0
- package/lib/extensions/Polls/PollsBubble.d.ts +76 -0
- package/lib/extensions/Polls/PollsBubble.js +226 -0
- package/lib/extensions/Polls/PollsBubble.js.map +1 -0
- package/lib/extensions/Polls/PollsConfigurations.d.ts +15 -0
- package/lib/extensions/Polls/PollsConfigurations.js +2 -0
- package/lib/extensions/Polls/PollsConfigurations.js.map +1 -0
- package/lib/extensions/Polls/PollsDecorator.d.ts +20 -0
- package/lib/extensions/Polls/PollsDecorator.js +100 -0
- package/lib/extensions/Polls/PollsDecorator.js.map +1 -0
- package/lib/extensions/Polls/PollsExtension.d.ts +12 -0
- package/lib/extensions/Polls/PollsExtension.js +27 -0
- package/lib/extensions/Polls/PollsExtension.js.map +1 -0
- package/lib/extensions/Polls/index.d.ts +5 -0
- package/lib/extensions/Polls/index.js +4 -0
- package/lib/extensions/Polls/index.js.map +1 -0
- package/lib/extensions/Polls/resources/close.png +0 -0
- package/lib/extensions/Polls/resources/document.png +0 -0
- package/lib/extensions/Polls/resources/index.d.ts +7 -0
- package/lib/extensions/Polls/resources/index.js +18 -0
- package/lib/extensions/Polls/resources/index.js.map +1 -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 +45 -0
- package/lib/extensions/Polls/style.js +39 -0
- package/lib/extensions/Polls/style.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +13 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +105 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +14 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js +28 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +19 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.js +146 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -0
- package/lib/extensions/SmartReplies/index.d.ts +4 -0
- package/lib/extensions/SmartReplies/index.js +4 -0
- package/lib/extensions/SmartReplies/index.js.map +1 -0
- package/lib/extensions/SmartReplies/resources/close.png +0 -0
- package/lib/extensions/SmartReplies/resources/index.d.ts +3 -0
- package/lib/extensions/SmartReplies/resources/index.js +6 -0
- package/lib/extensions/SmartReplies/resources/index.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +22 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +81 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +14 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +17 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +20 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +27 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +2 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +62 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +4 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +5 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +55 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +55 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +1 -0
- package/lib/extensions/Stickers/StickerConfiguration.d.ts +8 -0
- package/lib/extensions/Stickers/StickerConfiguration.js +12 -0
- package/lib/extensions/Stickers/StickerConfiguration.js.map +1 -0
- package/lib/extensions/Stickers/StickerStyle.d.ts +6 -0
- package/lib/extensions/Stickers/StickerStyle.js +10 -0
- package/lib/extensions/Stickers/StickerStyle.js.map +1 -0
- package/lib/extensions/Stickers/StickersBubble.d.ts +17 -0
- package/lib/extensions/Stickers/StickersBubble.js +21 -0
- package/lib/extensions/Stickers/StickersBubble.js.map +1 -0
- package/lib/extensions/Stickers/StickersExtension.d.ts +8 -0
- package/lib/extensions/Stickers/StickersExtension.js +28 -0
- package/lib/extensions/Stickers/StickersExtension.js.map +1 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +22 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +126 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -0
- package/lib/extensions/Stickers/index.d.ts +6 -0
- package/lib/extensions/Stickers/index.js +5 -0
- package/lib/extensions/Stickers/index.js.map +1 -0
- package/lib/extensions/Stickers/resources/Stickers.png +0 -0
- package/lib/extensions/Stickers/resources/index.d.ts +2 -0
- package/lib/extensions/Stickers/resources/index.js +4 -0
- package/lib/extensions/Stickers/resources/index.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +14 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.js +7 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationExtension.d.ts +13 -0
- package/lib/extensions/TextModeration/TextModerationExtension.js +38 -0
- package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +13 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +55 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -0
- package/lib/extensions/TextModeration/index.d.ts +5 -0
- package/lib/extensions/TextModeration/index.js +4 -0
- package/lib/extensions/TextModeration/index.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +16 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +66 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +15 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +28 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/index.d.ts +3 -0
- package/lib/extensions/ThumbnailGeneration/index.js +3 -0
- package/lib/extensions/ThumbnailGeneration/index.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/resources/default_image.png +0 -0
- 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 +4 -0
- package/lib/extensions/ThumbnailGeneration/resources/index.js.map +1 -0
- package/lib/extensions/index.d.ts +13 -0
- package/lib/extensions/index.js +13 -0
- package/lib/extensions/index.js.map +1 -0
- package/lib/index.d.ts +47 -0
- package/lib/index.js +86 -0
- package/lib/index.js.map +1 -0
- package/lib/shared/CometChatContext.d.ts +4 -0
- package/lib/shared/CometChatContext.js +33 -0
- package/lib/shared/CometChatContext.js.map +1 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +65 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +451 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +20 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +66 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +1 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +18 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.js +18 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -0
- package/lib/shared/CometChatUiKit/index.d.ts +4 -0
- package/lib/shared/CometChatUiKit/index.js +5 -0
- package/lib/shared/CometChatUiKit/index.js.map +1 -0
- package/lib/shared/assets/images/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 +16 -0
- package/lib/shared/assets/images/index.js +45 -0
- package/lib/shared/assets/images/index.js.map +1 -0
- package/lib/shared/assets/images/search.png +0 -0
- package/lib/shared/assets/images/sending.png +0 -0
- package/lib/shared/base/BaseStyle.d.ts +26 -0
- package/lib/shared/base/BaseStyle.js +26 -0
- package/lib/shared/base/BaseStyle.js.map +1 -0
- package/lib/shared/base/BorderStyle.d.ts +19 -0
- package/lib/shared/base/BorderStyle.js +19 -0
- package/lib/shared/base/BorderStyle.js.map +1 -0
- package/lib/shared/base/FontStyle.d.ts +18 -0
- package/lib/shared/base/FontStyle.js +18 -0
- package/lib/shared/base/FontStyle.js.map +1 -0
- package/lib/shared/base/ShadowStyle.d.ts +33 -0
- package/lib/shared/base/ShadowStyle.js +27 -0
- package/lib/shared/base/ShadowStyle.js.map +1 -0
- package/lib/shared/base/Types.d.ts +23 -0
- package/lib/shared/base/Types.js +2 -0
- package/lib/shared/base/Types.js.map +1 -0
- package/lib/shared/base/index.d.ts +7 -0
- package/lib/shared/base/index.js +6 -0
- package/lib/shared/base/index.js.map +1 -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 +338 -0
- package/lib/shared/constants/UIKitConstants.js +366 -0
- package/lib/shared/constants/UIKitConstants.js.map +1 -0
- package/lib/shared/events/CometChatMessageEvents/index.d.ts +44 -0
- package/lib/shared/events/CometChatMessageEvents/index.js +93 -0
- package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +30 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +379 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +214 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +338 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -0
- package/lib/shared/events/CometChatUIEvents.d.ts +19 -0
- package/lib/shared/events/CometChatUIEvents.js +22 -0
- package/lib/shared/events/CometChatUIEvents.js.map +1 -0
- package/lib/shared/events/ListenerInitializer.d.ts +6 -0
- package/lib/shared/events/ListenerInitializer.js +80 -0
- package/lib/shared/events/ListenerInitializer.js.map +1 -0
- package/lib/shared/events/conversations.d.ts +3 -0
- package/lib/shared/events/conversations.js +5 -0
- package/lib/shared/events/conversations.js.map +1 -0
- package/lib/shared/events/groups.d.ts +10 -0
- package/lib/shared/events/groups.js +12 -0
- package/lib/shared/events/groups.js.map +1 -0
- package/lib/shared/events/index.d.ts +6 -0
- package/lib/shared/events/index.js +7 -0
- package/lib/shared/events/index.js.map +1 -0
- package/lib/shared/events/messages.d.ts +30 -0
- package/lib/shared/events/messages.js +32 -0
- package/lib/shared/events/messages.js.map +1 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +159 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +361 -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.d.ts +171 -0
- package/lib/shared/formatters/CometChatTextFormatter.js +218 -0
- package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -0
- package/lib/shared/formatters/CometChatUrlsFormatter/index.d.ts +37 -0
- package/lib/shared/formatters/CometChatUrlsFormatter/index.js +125 -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.d.ts +8 -0
- package/lib/shared/framework/ChatConfigurator.js +23 -0
- package/lib/shared/framework/ChatConfigurator.js.map +1 -0
- package/lib/shared/framework/DataSource.d.ts +72 -0
- package/lib/shared/framework/DataSource.js +2 -0
- package/lib/shared/framework/DataSource.js.map +1 -0
- package/lib/shared/framework/DataSourceDecorator.d.ts +70 -0
- package/lib/shared/framework/DataSourceDecorator.js +172 -0
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -0
- package/lib/shared/framework/ExtensionsDataSource.d.ts +6 -0
- package/lib/shared/framework/ExtensionsDataSource.js +15 -0
- package/lib/shared/framework/ExtensionsDataSource.js.map +1 -0
- package/lib/shared/framework/MessageDataSource.d.ts +95 -0
- package/lib/shared/framework/MessageDataSource.js +808 -0
- package/lib/shared/framework/MessageDataSource.js.map +1 -0
- package/lib/shared/framework/index.d.ts +7 -0
- package/lib/shared/framework/index.js +6 -0
- package/lib/shared/framework/index.js.map +1 -0
- 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/index.d.ts +22 -0
- package/lib/shared/framework/resources/index.js +65 -0
- package/lib/shared/framework/resources/index.js.map +1 -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 +162 -0
- package/lib/shared/helper/SwipeRow.js +808 -0
- package/lib/shared/helper/SwipeRow.js.map +1 -0
- package/lib/shared/helper/Toast.d.ts +4 -0
- package/lib/shared/helper/Toast.js +23 -0
- package/lib/shared/helper/Toast.js.map +1 -0
- package/lib/shared/helper/functions.d.ts +3 -0
- package/lib/shared/helper/functions.js +32 -0
- package/lib/shared/helper/functions.js.map +1 -0
- package/lib/shared/helper/helperFunctions.d.ts +3 -0
- package/lib/shared/helper/helperFunctions.js +17 -0
- package/lib/shared/helper/helperFunctions.js.map +1 -0
- package/lib/shared/helper/types/index.d.ts +19 -0
- package/lib/shared/helper/types/index.js +2 -0
- package/lib/shared/helper/types/index.js.map +1 -0
- package/lib/shared/helper/useKeyboard.d.ts +2 -0
- package/lib/shared/helper/useKeyboard.js +40 -0
- package/lib/shared/helper/useKeyboard.js.map +1 -0
- package/lib/shared/index.d.ts +16 -0
- package/lib/shared/index.js +29 -0
- package/lib/shared/index.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.d.ts +23 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js +111 -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 +45 -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 +59 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Calendars/Providers.d.ts +10 -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 +8 -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/Day.d.ts +15 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.js +47 -0
- package/lib/shared/libs/CometChatCalendar/Components/Day.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/Month.d.ts +11 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.js +24 -0
- package/lib/shared/libs/CometChatCalendar/Components/Month.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.d.ts +15 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.js +30 -0
- package/lib/shared/libs/CometChatCalendar/Components/Months.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.d.ts +12 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.js +22 -0
- package/lib/shared/libs/CometChatCalendar/Components/Title.js.map +1 -0
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.d.ts +6 -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/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 +3 -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 +4 -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.d.ts +12 -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 +37 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js +57 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.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 +5 -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/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/dateRange.d.ts +3 -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/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/getSurroundingTimeUnits.d.ts +11 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js +18 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.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 +750 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js.map +1 -0
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.d.ts +88 -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 +49 -0
- package/lib/shared/libs/VideoPlayer/Video.js +436 -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 +11 -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 +3 -0
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js +314 -0
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js.map +1 -0
- package/lib/shared/libs/VideoPlayerControls/components/Back/Back.d.ts +11 -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 +6 -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 +19 -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 +9 -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 +6 -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 +14 -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 +2 -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 +5 -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 +21 -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 +19 -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 +35 -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 +10 -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 +6 -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 +21 -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 +12 -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 +29 -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 +28 -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 +17 -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 +2 -0
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js +59 -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 +174 -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 +34 -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 +632 -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 +81 -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 +38 -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.d.ts +15 -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/CometChatDetailsOption.d.ts +18 -0
- package/lib/shared/modals/CometChatDetailsOption.js +2 -0
- package/lib/shared/modals/CometChatDetailsOption.js.map +1 -0
- package/lib/shared/modals/CometChatDetailsTemplate.d.ts +15 -0
- package/lib/shared/modals/CometChatDetailsTemplate.js +2 -0
- package/lib/shared/modals/CometChatDetailsTemplate.js.map +1 -0
- package/lib/shared/modals/CometChatMessageOption.d.ts +13 -0
- package/lib/shared/modals/CometChatMessageOption.js +2 -0
- package/lib/shared/modals/CometChatMessageOption.js.map +1 -0
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +132 -0
- package/lib/shared/modals/CometChatMessageTemplate.js +79 -0
- package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -0
- package/lib/shared/modals/CometChatOptions.d.ts +14 -0
- package/lib/shared/modals/CometChatOptions.js +2 -0
- package/lib/shared/modals/CometChatOptions.js.map +1 -0
- package/lib/shared/modals/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 +11 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/index.js +12 -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 +60 -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 +119 -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 +30 -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 +126 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js.map +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.d.ts +62 -0
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js +105 -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 +10 -0
- package/lib/shared/modals/index.js +4 -0
- package/lib/shared/modals/index.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +75 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +165 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/index.d.ts +2 -0
- package/lib/shared/resources/CometChatLocalize/index.js +3 -0
- package/lib/shared/resources/CometChatLocalize/index.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +317 -0
- package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +317 -0
- package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +317 -0
- package/lib/shared/resources/CometChatLocalize/resources/hu/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +318 -0
- package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +318 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +13 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +82 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/index.d.ts +2 -0
- package/lib/shared/resources/CometChatSoundManager/index.js +4 -0
- package/lib/shared/resources/CometChatSoundManager/index.js.map +1 -0
- 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/index.d.ts +1 -0
- package/lib/shared/resources/CometChatSoundManager/resources/index.js +6 -0
- package/lib/shared/resources/CometChatSoundManager/resources/index.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/resources/outgoingcall.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/outgoingmessage.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/sound.d.ts +56 -0
- package/lib/shared/resources/CometChatSoundManager/sound.js +303 -0
- package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +22 -0
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js +23 -0
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/Palette.d.ts +146 -0
- package/lib/shared/resources/CometChatTheme/Palette.js +459 -0
- package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/Typography.d.ts +78 -0
- package/lib/shared/resources/CometChatTheme/Typography.js +312 -0
- package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/index.d.ts +2 -0
- package/lib/shared/resources/CometChatTheme/index.js +3 -0
- package/lib/shared/resources/CometChatTheme/index.js.map +1 -0
- package/lib/shared/resources/index.d.ts +4 -0
- package/lib/shared/resources/index.js +5 -0
- package/lib/shared/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +15 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +90 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +20 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +27 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/index.d.ts +1 -0
- package/lib/shared/utils/CometChatLiveReactions/index.js +2 -0
- package/lib/shared/utils/CometChatLiveReactions/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/heart.png +0 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +2 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js +4 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/style.d.ts +5 -0
- package/lib/shared/utils/CometChatLiveReactions/style.js +7 -0
- package/lib/shared/utils/CometChatLiveReactions/style.js.map +1 -0
- package/lib/shared/utils/CometChatMessageHelper/index.d.ts +13 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js +45 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +18 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +94 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +24 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +23 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +31 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +29 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/index.d.ts +4 -0
- package/lib/shared/utils/CometChatMessagePreview/index.js +8 -0
- package/lib/shared/utils/CometChatMessagePreview/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +2 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js +4 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/style.d.ts +2 -0
- package/lib/shared/utils/CometChatMessagePreview/style.js +71 -0
- package/lib/shared/utils/CometChatMessagePreview/style.js.map +1 -0
- package/lib/shared/utils/CommonUtils.d.ts +25 -0
- package/lib/shared/utils/CommonUtils.js +177 -0
- package/lib/shared/utils/CommonUtils.js.map +1 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +8 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js +347 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -0
- 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/index.d.ts +9 -0
- package/lib/shared/utils/DetailsUtils/resources/index.js +24 -0
- package/lib/shared/utils/DetailsUtils/resources/index.js.map +1 -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 +16 -0
- package/lib/shared/utils/MessageUtils.js +115 -0
- package/lib/shared/utils/MessageUtils.js.map +1 -0
- 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 +18 -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 +11 -0
- package/lib/shared/utils/SchedulerUtils.js +143 -0
- package/lib/shared/utils/SchedulerUtils.js.map +1 -0
- package/lib/shared/utils/TypeUtils.d.ts +3 -0
- package/lib/shared/utils/TypeUtils.js +2 -0
- package/lib/shared/utils/TypeUtils.js.map +1 -0
- package/lib/shared/utils/conversationUtils.d.ts +7 -0
- package/lib/shared/utils/conversationUtils.js +88 -0
- package/lib/shared/utils/conversationUtils.js.map +1 -0
- 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/utils/index.d.ts +7 -0
- package/lib/shared/utils/index.js +7 -0
- package/lib/shared/utils/index.js.map +1 -0
- package/lib/shared/views/CometChatAICard/CometChatAICard.d.ts +18 -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 +6 -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/ActionItem.d.ts +49 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.js +38 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +47 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +45 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +14 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +167 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/hooks.d.ts +1 -0
- package/lib/shared/views/CometChatActionSheet/hooks.js +7 -0
- package/lib/shared/views/CometChatActionSheet/hooks.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/index.d.ts +5 -0
- package/lib/shared/views/CometChatActionSheet/index.js +4 -0
- package/lib/shared/views/CometChatActionSheet/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/resources/grid.png +0 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +4 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.js +9 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/resources/list.png +0 -0
- package/lib/shared/views/CometChatActionSheet/style.d.ts +44 -0
- package/lib/shared/views/CometChatActionSheet/style.js +46 -0
- package/lib/shared/views/CometChatActionSheet/style.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.d.ts +16 -0
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +23 -0
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +35 -0
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +124 -0
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/index.d.ts +4 -0
- package/lib/shared/views/CometChatAudioBubble/index.js +4 -0
- package/lib/shared/views/CometChatAudioBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.js +6 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +1 -0
- 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 +28 -0
- package/lib/shared/views/CometChatAudioBubble/style.js +30 -0
- package/lib/shared/views/CometChatAudioBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +19 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +19 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +28 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js +38 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +18 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +79 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/index.d.ts +5 -0
- package/lib/shared/views/CometChatAvatar/index.js +5 -0
- package/lib/shared/views/CometChatAvatar/index.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/resources/default.jpg +0 -0
- package/lib/shared/views/CometChatAvatar/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatAvatar/resources/index.js +5 -0
- package/lib/shared/views/CometChatAvatar/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/styles.d.ts +21 -0
- package/lib/shared/views/CometChatAvatar/styles.js +24 -0
- package/lib/shared/views/CometChatAvatar/styles.js.map +1 -0
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.d.ts +34 -0
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +37 -0
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatBadge/BadgeStyle.d.ts +11 -0
- package/lib/shared/views/CometChatBadge/BadgeStyle.js +25 -0
- package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +1 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +17 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.js +39 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -0
- package/lib/shared/views/CometChatBadge/index.d.ts +5 -0
- package/lib/shared/views/CometChatBadge/index.js +5 -0
- package/lib/shared/views/CometChatBadge/index.js.map +1 -0
- package/lib/shared/views/CometChatBadge/styles.d.ts +14 -0
- package/lib/shared/views/CometChatBadge/styles.js +17 -0
- package/lib/shared/views/CometChatBadge/styles.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +22 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +97 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/index.d.ts +3 -0
- package/lib/shared/views/CometChatBottomSheet/index.js +3 -0
- package/lib/shared/views/CometChatBottomSheet/index.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/style.d.ts +48 -0
- package/lib/shared/views/CometChatBottomSheet/style.js +50 -0
- package/lib/shared/views/CometChatBottomSheet/style.js.map +1 -0
- package/lib/shared/views/CometChatButton/CometChatButton.d.ts +11 -0
- package/lib/shared/views/CometChatButton/CometChatButton.js +38 -0
- package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +18 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +25 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +1 -0
- package/lib/shared/views/CometChatButton/index.d.ts +4 -0
- package/lib/shared/views/CometChatButton/index.js +4 -0
- package/lib/shared/views/CometChatButton/index.js.map +1 -0
- package/lib/shared/views/CometChatButton/style.d.ts +6 -0
- package/lib/shared/views/CometChatButton/style.js +8 -0
- package/lib/shared/views/CometChatButton/style.js.map +1 -0
- package/lib/shared/views/CometChatCard/CometChatCard.d.ts +15 -0
- package/lib/shared/views/CometChatCard/CometChatCard.js +35 -0
- package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +10 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js +17 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +1 -0
- package/lib/shared/views/CometChatCard/index.d.ts +4 -0
- package/lib/shared/views/CometChatCard/index.js +4 -0
- package/lib/shared/views/CometChatCard/index.js.map +1 -0
- package/lib/shared/views/CometChatCard/style.d.ts +11 -0
- package/lib/shared/views/CometChatCard/style.js +13 -0
- package/lib/shared/views/CometChatCard/style.js.map +1 -0
- package/lib/shared/views/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 +9 -0
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js +121 -0
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js.map +1 -0
- package/lib/shared/views/CometChatCardBubble/index.d.ts +2 -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 +12 -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 +13 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +80 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +24 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +20 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/index.d.ts +4 -0
- package/lib/shared/views/CometChatConfirmDialog/index.js +3 -0
- package/lib/shared/views/CometChatConfirmDialog/index.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/style.d.ts +61 -0
- package/lib/shared/views/CometChatConfirmDialog/style.js +63 -0
- package/lib/shared/views/CometChatConfirmDialog/style.js.map +1 -0
- package/lib/shared/views/CometChatDate/CometChatDate.d.ts +37 -0
- package/lib/shared/views/CometChatDate/CometChatDate.js +134 -0
- package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +23 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.js +21 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatDate/DateStyle.d.ts +11 -0
- package/lib/shared/views/CometChatDate/DateStyle.js +16 -0
- package/lib/shared/views/CometChatDate/DateStyle.js.map +1 -0
- package/lib/shared/views/CometChatDate/index.d.ts +5 -0
- package/lib/shared/views/CometChatDate/index.js +5 -0
- package/lib/shared/views/CometChatDate/index.js.map +1 -0
- package/lib/shared/views/CometChatDate/style.d.ts +5 -0
- package/lib/shared/views/CometChatDate/style.js +8 -0
- package/lib/shared/views/CometChatDate/style.js.map +1 -0
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +10 -0
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js +129 -0
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +1 -0
- package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.d.ts +17 -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 +3 -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 +14 -0
- package/lib/shared/views/CometChatDropDown/CometChatDropDown.js +86 -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 +2 -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 +22 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +144 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +13 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +17 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +16 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +22 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +19 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +21 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +17 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +33 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +8226 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +4 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.js +5 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/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/index.d.ts +9 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js +18 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js.map +1 -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 +44 -0
- package/lib/shared/views/CometChatEmojiKeyboard/style.js +57 -0
- package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +35 -0
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +130 -0
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +31 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +23 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/index.d.ts +4 -0
- package/lib/shared/views/CometChatFileBubble/index.js +4 -0
- package/lib/shared/views/CometChatFileBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/resources/download.png +0 -0
- package/lib/shared/views/CometChatFileBubble/resources/file_upload.png +0 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.js +6 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/style.d.ts +46 -0
- package/lib/shared/views/CometChatFileBubble/style.js +49 -0
- package/lib/shared/views/CometChatFileBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.d.ts +9 -0
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +369 -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 +2 -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 +34 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +167 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +19 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +15 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/assets/default_image.png +0 -0
- package/lib/shared/views/CometChatImageBubble/assets/index.d.ts +4 -0
- package/lib/shared/views/CometChatImageBubble/assets/index.js +9 -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/CometChatImageBubble/index.d.ts +4 -0
- package/lib/shared/views/CometChatImageBubble/index.js +4 -0
- package/lib/shared/views/CometChatImageBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.d.ts +2 -0
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js +74 -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 +6 -0
- package/lib/shared/views/CometChatImageViewerModal/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatLabel/CometChatLabel.d.ts +8 -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.d.ts +91 -0
- package/lib/shared/views/CometChatList/CometChatList.js +505 -0
- package/lib/shared/views/CometChatList/CometChatList.js.map +1 -0
- package/lib/shared/views/CometChatList/Header.d.ts +2 -0
- package/lib/shared/views/CometChatList/Header.js +71 -0
- package/lib/shared/views/CometChatList/Header.js.map +1 -0
- package/lib/shared/views/CometChatList/index.d.ts +3 -0
- package/lib/shared/views/CometChatList/index.js +3 -0
- package/lib/shared/views/CometChatList/index.js.map +1 -0
- package/lib/shared/views/CometChatList/resources/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/resources/index.d.ts +7 -0
- package/lib/shared/views/CometChatList/resources/index.js +18 -0
- package/lib/shared/views/CometChatList/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatList/styles.d.ts +99 -0
- package/lib/shared/views/CometChatList/styles.js +102 -0
- package/lib/shared/views/CometChatList/styles.js.map +1 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +35 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.js +189 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +6 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +10 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +27 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.js +34 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +1 -0
- package/lib/shared/views/CometChatListItem/index.d.ts +5 -0
- package/lib/shared/views/CometChatListItem/index.js +5 -0
- package/lib/shared/views/CometChatListItem/index.js.map +1 -0
- package/lib/shared/views/CometChatListItem/style.d.ts +61 -0
- package/lib/shared/views/CometChatListItem/style.js +61 -0
- package/lib/shared/views/CometChatListItem/style.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +20 -0
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +209 -0
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.d.ts +26 -0
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +33 -0
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/index.d.ts +4 -0
- package/lib/shared/views/CometChatMediaRecorder/index.js +4 -0
- package/lib/shared/views/CometChatMediaRecorder/index.js.map +1 -0
- package/lib/shared/views/CometChatMediaRecorder/style.d.ts +27 -0
- package/lib/shared/views/CometChatMediaRecorder/style.js +28 -0
- package/lib/shared/views/CometChatMediaRecorder/style.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +61 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +45 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +8 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +15 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatMessageBubble/index.js +3 -0
- package/lib/shared/views/CometChatMessageBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/style.d.ts +0 -0
- package/lib/shared/views/CometChatMessageBubble/style.js +1 -0
- package/lib/shared/views/CometChatMessageBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +90 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +49 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/index.d.ts +3 -0
- package/lib/shared/views/CometChatMessageInput/index.js +3 -0
- package/lib/shared/views/CometChatMessageInput/index.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/styles.d.ts +7 -0
- package/lib/shared/views/CometChatMessageInput/styles.js +9 -0
- package/lib/shared/views/CometChatMessageInput/styles.js.map +1 -0
- package/lib/shared/views/CometChatPanel/CometChatPanel.d.ts +10 -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 +4 -0
- package/lib/shared/views/CometChatPanel/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.d.ts +11 -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 +10 -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 +5 -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 +4 -0
- package/lib/shared/views/CometChatQuickReactions/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatQuickView/CometChatQuickView.d.ts +11 -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 +12 -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.d.ts +23 -0
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.js +241 -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 +10 -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 +5 -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 +4 -0
- package/lib/shared/views/CometChatReactionList/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +13 -0
- package/lib/shared/views/CometChatReactions/CometChatReactions.js +141 -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 +10 -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 +5 -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 +38 -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 +30 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +54 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +40 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +41 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +21 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +22 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/index.d.ts +5 -0
- package/lib/shared/views/CometChatReceipt/index.js +5 -0
- package/lib/shared/views/CometChatReceipt/index.js.map +1 -0
- 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/index.d.ts +7 -0
- package/lib/shared/views/CometChatReceipt/resources/index.js +18 -0
- package/lib/shared/views/CometChatReceipt/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/resources/sending.png +0 -0
- package/lib/shared/views/CometChatReceipt/style.d.ts +8 -0
- package/lib/shared/views/CometChatReceipt/style.js +10 -0
- package/lib/shared/views/CometChatReceipt/style.js.map +1 -0
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +9 -0
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +1138 -0
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +1 -0
- package/lib/shared/views/CometChatSchedulerBubble/index.d.ts +3 -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 +114 -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 +12 -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 +18 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +36 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +17 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +16 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +20 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +22 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/index.d.ts +5 -0
- package/lib/shared/views/CometChatStatusIndicator/index.js +5 -0
- package/lib/shared/views/CometChatStatusIndicator/index.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +12 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.js +15 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.js.map +1 -0
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.d.ts +19 -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 +5 -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 +20 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +70 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +16 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +17 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/index.d.ts +4 -0
- package/lib/shared/views/CometChatTextBubble/index.js +4 -0
- package/lib/shared/views/CometChatTextBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatTextInput/CometChatTextInput.d.ts +12 -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 +12 -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 +3 -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 +35 -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 +48 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +103 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +56 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +42 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/index.d.ts +4 -0
- package/lib/shared/views/CometChatVideoBubble/index.js +4 -0
- package/lib/shared/views/CometChatVideoBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/resources/default_image.png +0 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.js +6 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/resources/play.png +0 -0
- package/lib/shared/views/CometChatVideoBubble/style.d.ts +7 -0
- package/lib/shared/views/CometChatVideoBubble/style.js +9 -0
- package/lib/shared/views/CometChatVideoBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.d.ts +19 -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.d.ts +8 -0
- package/lib/shared/views/SwipeRow/SwipeRow.js +70 -0
- package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -0
- package/lib/shared/views/SwipeRow/index.d.ts +2 -0
- package/lib/shared/views/SwipeRow/index.js +3 -0
- package/lib/shared/views/SwipeRow/index.js.map +1 -0
- package/lib/shared/views/SwipeRow/style.d.ts +28 -0
- package/lib/shared/views/SwipeRow/style.js +28 -0
- package/lib/shared/views/SwipeRow/style.js.map +1 -0
- package/lib/shared/views/index.d.ts +28 -0
- package/lib/shared/views/index.js +30 -0
- package/lib/shared/views/index.js.map +1 -0
- package/package.json +8 -10
- package/src/AI/AIAssistBot/AIAssistBotView.tsx +2 -2
- package/src/AI/AIBaseConfiguration.ts +1 -0
- package/src/AI/AIConversationStarter/AIConversationStarterDecorator.tsx +1 -1
- package/src/AI/AIConversationSummary/AIConversationSummaryView.tsx +1 -1
- package/src/AI/AISmartReplies/AISmartRepliesDecorator.tsx +1 -1
- package/src/AI/CardView.tsx +1 -1
- package/src/CometChatAddMembers/AddMembersConfiguration.tsx +1 -0
- package/src/CometChatBannedMembers/BannedMembersConfiguration.tsx +1 -0
- package/src/CometChatBannedMembers/CometChatBannedMembers.tsx +13 -2
- package/src/CometChatContacts/Header.tsx +3 -3
- package/src/CometChatConversations/CometChatConversations.tsx +14 -8
- package/src/CometChatConversations/ConversationsConfiguration.ts +1 -0
- package/src/CometChatDetails/CometChatDetails.tsx +21 -19
- package/src/CometChatDetails/DetailsConfiguration.tsx +1 -0
- package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +2 -2
- package/src/CometChatGroupMembers/GroupMemberConfiguration.ts +1 -0
- package/src/CometChatGroups/CometChatGroups.tsx +1 -1
- package/src/CometChatGroups/GroupsConfiguration.ts +1 -1
- package/src/CometChatGroupsWithMessages/CometChatGroupsWithMessages.tsx +1 -1
- package/src/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.tsx +4 -2
- package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +11 -11
- package/src/CometChatMessageComposer/MessageComposerConfiguration.tsx +2 -2
- package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +6 -5
- package/src/CometChatMessageHeader/MessageHeaderConfiguration.tsx +1 -0
- package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +1 -1
- package/src/CometChatMessageList/CometChatMessageList.tsx +52 -134
- package/src/CometChatMessageList/MessageListConfiguration.ts +1 -0
- package/src/CometChatMessages/CometChatMessages.tsx +122 -91
- package/src/CometChatMessages/MessagesConfiguration.ts +1 -0
- package/src/CometChatTabs/CometChatTabs.tsx +1 -1
- package/src/CometChatTabs/TabItems.ts +1 -0
- package/src/CometChatThreadedMessages/CometChatThreadedMessages.tsx +1 -1
- package/src/CometChatThreadedMessages/ThreadedMessagesConfiguration.ts +1 -0
- package/src/CometChatTransferOwnership/TransferOwnershipConfiguration.ts +1 -0
- package/src/CometChatUsers/CometChatUsers.tsx +14 -3
- package/src/CometChatUsers/UsersConfiguration.tsx +1 -0
- package/src/calls/CallingDetailsUtils.tsx +8 -8
- package/src/calls/CometChatCallButtons/CometChatCallButtons.tsx +1 -1
- package/src/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.ts +1 -0
- package/src/calls/CometChatCallLogDetails/CometChatCallLogDetails.tsx +7 -7
- package/src/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.ts +1 -0
- package/src/calls/CometChatCallLogHistory/CometChatCallLogHistory.tsx +6 -6
- package/src/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.ts +1 -0
- package/src/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.tsx +4 -4
- package/src/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.ts +1 -0
- package/src/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.tsx +3 -3
- package/src/calls/CometChatCallLogs/CallLogsConfiguration.ts +1 -0
- package/src/calls/CometChatCallLogs/CometChatCallLogs.tsx +5 -5
- package/src/calls/CometChatIncomingCall/CometChatIncomingCall.tsx +1 -1
- package/src/extensions/ImageModeration/ImageModerationDecorator.tsx +1 -1
- package/src/extensions/ImageModeration/ImageModerationFilter.tsx +1 -1
- package/src/extensions/LinkPreview/LinkPreviewBubble.tsx +1 -1
- package/src/extensions/LinkPreview/LinkPreviewExtentionDecorator.tsx +1 -1
- package/src/extensions/MessageTranslation/MessageTranslationBubble.tsx +4 -4
- package/src/extensions/MessageTranslation/MessageTranslationDecorator.tsx +1 -1
- package/src/extensions/Stickers/StickersExtensionDecorator.tsx +1 -1
- package/src/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.tsx +1 -1
- package/src/imageresolver.d.ts +4 -0
- package/src/index.ts +1 -0
- package/src/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.tsx +1 -1
- package/src/shared/formatters/CometChatTextFormatter.ts +1 -0
- package/src/shared/formatters/CometChatUrlsFormatter/index.tsx +1 -1
- package/src/shared/framework/DataSource.ts +1 -0
- package/src/shared/framework/MessageDataSource.tsx +1 -1
- package/src/shared/helper/types/index.ts +1 -0
- package/src/shared/libs/CometChatCalendar/Entities/Components.ts +1 -0
- package/src/shared/libs/ImageZoom/ReactNativeZoomableView.tsx +1 -1
- package/src/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.tsx +1 -1
- package/src/shared/modals/CometChatCallLogDetailsOptions.ts +1 -0
- package/src/shared/modals/CometChatDetailsOption.ts +1 -1
- package/src/shared/modals/CometChatMessageOption.ts +1 -0
- package/src/shared/modals/CometChatMessageTemplate.ts +1 -0
- package/src/shared/utils/MessageUtils.tsx +1 -1
- package/src/shared/views/CometChatAICard/CometChatAICard.tsx +3 -3
- package/src/shared/views/CometChatActionSheet/CometChatActionSheet.tsx +4 -4
- package/src/shared/views/CometChatAudioBubble/CometChatAudioBubble.tsx +1 -1
- package/src/shared/views/CometChatBottomSheet/CometChatBottomSheet.tsx +3 -0
- package/src/shared/views/CometChatCard/CometChatCard.tsx +3 -3
- package/src/shared/views/CometChatCardBubble/CometChatCardBubble.tsx +1 -1
- package/src/shared/views/CometChatCheckBox/CometChatCheckBox.tsx +2 -2
- package/src/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.tsx +14 -14
- package/src/shared/views/CometChatDropDown/CometChatDropDown.tsx +3 -3
- package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +1 -1
- package/src/shared/views/CometChatLabel/CometChatLabel.tsx +1 -1
- package/src/shared/views/CometChatList/CometChatList.tsx +10 -9
- package/src/shared/views/CometChatListItem/CometChatListItem.tsx +1 -1
- package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +1 -1
- package/src/shared/views/CometChatPanel/CometChatPanel.tsx +2 -2
- package/src/shared/views/CometChatQuickReactions/CometChatQuickReactions.tsx +1 -1
- package/src/shared/views/CometChatRadioButton/CometChatRadioButton.tsx +2 -2
- package/src/shared/views/CometChatReactionList/CometChatReactionList.tsx +24 -24
- package/src/shared/views/CometChatReactions/CometChatReactions.tsx +1 -1
- package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +17 -17
- package/src/shared/views/CometChatSingleSelect/CometChatSingleSelect.tsx +2 -2
- package/src/shared/views/CometChatTextInput/CometChatTextInput.tsx +1 -1
- package/src/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.tsx +3 -3
|
@@ -0,0 +1,1126 @@
|
|
|
1
|
+
import React, { useContext, useEffect, useLayoutEffect, useRef } from 'react';
|
|
2
|
+
import { View, Image, TouchableOpacity, NativeModules, Platform, KeyboardAvoidingView, Modal, Dimensions, Text, } from 'react-native';
|
|
3
|
+
import { Style } from './styles';
|
|
4
|
+
import { localize, CometChatLiveReactions, CometChatBottomSheet, CometChatMessagePreview, MessagePreviewStyle, CometChatActionSheet, CometChatContext, CometChatMentionsFormatter, MentionTextStyle, CometChatSuggestionList, CometChatUIKit, } from '../shared';
|
|
5
|
+
//@ts-ignore
|
|
6
|
+
import { CheckPropertyExists } from '../shared/helper/functions';
|
|
7
|
+
//@ts-ignore
|
|
8
|
+
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
9
|
+
import { getUnixTimestampInMilliseconds, messageStatus, } from '../shared/utils/CometChatMessageHelper';
|
|
10
|
+
import { CometChatSoundManager, ChatConfigurator } from '../shared';
|
|
11
|
+
import { ConversationOptionConstants, MentionsVisibility, MessageTypeConstants, MetadataConstants, ReceiverTypeConstants, ViewAlignment, } from '../shared/constants/UIKitConstants';
|
|
12
|
+
import { ICONS } from './resources';
|
|
13
|
+
import { CometChatMessageInput } from '../shared';
|
|
14
|
+
import { MessageEvents } from '../shared/events';
|
|
15
|
+
import { CometChatUIEventHandler } from '../shared/events/CometChatUIEventHandler/CometChatUIEventHandler';
|
|
16
|
+
import { CometChatMediaRecorder, } from '../shared/views/CometChatMediaRecorder';
|
|
17
|
+
import { AIOptionsStyle } from '../AI/AIOptionsStyle';
|
|
18
|
+
import { CommonUtils } from '../shared/utils/CommonUtils';
|
|
19
|
+
import { permissionUtil } from '../shared/utils/PermissionUtil';
|
|
20
|
+
import { commonVars } from '../shared/base/vars';
|
|
21
|
+
const { FileManager, CommonUtil } = NativeModules;
|
|
22
|
+
const uiEventListenerShow = 'uiEvent_show_' + new Date().getTime();
|
|
23
|
+
const uiEventListenerHide = 'uiEvent_hide_' + new Date().getTime();
|
|
24
|
+
const MessagePreviewTray = (props) => {
|
|
25
|
+
const { shouldShow = false, text = '', onClose = () => { } } = props;
|
|
26
|
+
return shouldShow ? (<CometChatMessagePreview style={new MessagePreviewStyle({ width: '95%', backgroundColor: 'white' })} messagePreviewTitle={localize('EDIT_MESSAGE')} messagePreviewSubtitle={text} closeIconURL={ICONS.CLOSE} onCloseClick={onClose}/>) : null;
|
|
27
|
+
};
|
|
28
|
+
const ImageButton = (props) => {
|
|
29
|
+
const { image, onClick, buttonStyle, imageStyle, disable } = props;
|
|
30
|
+
return (<TouchableOpacity activeOpacity={disable ? 1 : undefined} onPress={disable ? () => { } : onClick} style={buttonStyle}>
|
|
31
|
+
<Image source={image} style={[{ height: 24, width: 24 }, imageStyle]}/>
|
|
32
|
+
</TouchableOpacity>);
|
|
33
|
+
};
|
|
34
|
+
const AttachIconButton = (props) => {
|
|
35
|
+
const { icon, show = false, onClick = () => { }, style, theme } = props;
|
|
36
|
+
if (show) {
|
|
37
|
+
return (<ImageButton image={icon} imageStyle={[Style.imageStyle, style]} onClick={onClick}/>);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return <View style={[Style.imageStyle, style]}/>;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const EmojiBoard = (props) => {
|
|
44
|
+
const { shouldShow = false, onClose = () => { }, emojiSelection = (emoji) => { }, ...otherProps } = props;
|
|
45
|
+
return shouldShow ? (<CometChatBottomSheet onClose={onClose}>
|
|
46
|
+
{/* <CometChatEmojiKeyboard onClick={emojiSelection} {...otherProps} /> */}
|
|
47
|
+
</CometChatBottomSheet>) : null;
|
|
48
|
+
};
|
|
49
|
+
const ActionSheetBoard = (props) => {
|
|
50
|
+
const { shouldShow = false, onClose = () => { }, options = [], cometChatBottomSheetStyle = {}, sheetRef, ...otherProps } = props;
|
|
51
|
+
return shouldShow ? (<CometChatBottomSheet ref={sheetRef} onClose={onClose} style={cometChatBottomSheetStyle}>
|
|
52
|
+
<CometChatActionSheet actions={options} {...otherProps} onPress={props.onClick}/>
|
|
53
|
+
</CometChatBottomSheet>) : null;
|
|
54
|
+
};
|
|
55
|
+
const RecordAudio = (props) => {
|
|
56
|
+
const { shouldShow = false, onClose = () => { }, options = [], cometChatBottomSheetStyle = {}, sheetRef, onPause = () => { }, onPlay = () => { }, onSend = (recordedFile) => { }, onStop = (recordedFile) => { }, onStart = () => { }, mediaRecorderStyle, pauseIconUrl, playIconUrl, recordIconUrl, deleteIconUrl, stopIconUrl, submitIconUrl, ...otherProps } = props;
|
|
57
|
+
return shouldShow ? (<CometChatBottomSheet ref={sheetRef} onClose={onClose} style={cometChatBottomSheetStyle}>
|
|
58
|
+
<CometChatMediaRecorder onClose={onClose} onPause={onPause} onPlay={onPlay} onSend={onSend} onStop={onStop} onStart={onStart} mediaRecorderStyle={mediaRecorderStyle} pauseIconUrl={pauseIconUrl} playIconUrl={playIconUrl} recordIconUrl={recordIconUrl} deleteIconUrl={deleteIconUrl} stopIconUrl={stopIconUrl} submitIconUrl={submitIconUrl}/>
|
|
59
|
+
</CometChatBottomSheet>) : null;
|
|
60
|
+
};
|
|
61
|
+
const AIOptions = (props) => {
|
|
62
|
+
const { aiStyle, shouldShow = false, onClose = () => { }, cometChatBottomSheetStyle = {
|
|
63
|
+
backgroundColor: aiStyle.backgroundColor,
|
|
64
|
+
paddingHorizontal: 0,
|
|
65
|
+
}, sheetRef, aiOptions, ...otherProps } = props;
|
|
66
|
+
return shouldShow ? (<CometChatBottomSheet ref={sheetRef} onClose={onClose} style={cometChatBottomSheetStyle}>
|
|
67
|
+
<CometChatActionSheet actions={aiOptions} style={{ ...aiStyle, paddingHorizontal: 0 }} {...otherProps} onPress={props.onClick} hideHeader={true}/>
|
|
68
|
+
</CometChatBottomSheet>) : null;
|
|
69
|
+
};
|
|
70
|
+
const LiveReaction = (props) => {
|
|
71
|
+
const { show = false, reaction } = props;
|
|
72
|
+
if (show) {
|
|
73
|
+
return <CometChatLiveReactions reaction={reaction}/>;
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
};
|
|
77
|
+
let recordedTime = 0, timerIntervalId = null;
|
|
78
|
+
export const CometChatMessageComposer = React.forwardRef((props, ref) => {
|
|
79
|
+
const editMessageListenerID = 'editMessageListener_' + new Date().getTime();
|
|
80
|
+
const UiEventListenerID = 'UiEventListener_' + new Date().getTime();
|
|
81
|
+
const { theme } = useContext(CometChatContext);
|
|
82
|
+
const { id, user, group, customSoundForMessage, disableTypingEvents, text, placeHolderText, HeaderView, FooterView, onChangeText, maxHeight, attachmentOptions, SecondaryButtonView, AuxiliaryButtonView, auxiliaryButtonsAlignment, SendButtonView, parentMessageId, onSendButtonPress, onError, hideVoiceRecording, voiceRecordingIconURL, mediaRecorderStyle, pauseIconUrl, playIconUrl, recordIconUrl, deleteIconUrl, stopIconUrl, submitIconUrl, AIIconURL, aiOptionsStyle, keyboardAvoidingViewProps, textFormatters, disableMentions, imageQuality = 20, attachmentIcon = ICONS.ADD, liveReactionIcon = ICONS.HEART, hideLiveReaction = true, disableSoundForMessages = true, messageComposerStyle = {}, } = props;
|
|
83
|
+
const messageComposerId = id ?? `${user ? user.getUid() : ''}${group ? group.getGuid() : ''}${parentMessageId ?? ''}`;
|
|
84
|
+
const composerIdMap = new Map().set('parentMessageId', parentMessageId);
|
|
85
|
+
const defaultAuxiliaryButtonOptions = ChatConfigurator.getDataSource().getAuxiliaryOptions(user, group, composerIdMap, theme);
|
|
86
|
+
const loggedInUser = React.useRef({});
|
|
87
|
+
const chatWith = React.useRef(null);
|
|
88
|
+
const chatWithId = React.useRef(null);
|
|
89
|
+
const messageInputRef = React.useRef(null);
|
|
90
|
+
const chatRef = React.useRef(chatWith);
|
|
91
|
+
const inputValueRef = React.useRef(null);
|
|
92
|
+
const plainTextInput = React.useRef(text ?? '');
|
|
93
|
+
let mentionMap = React.useRef(new Map());
|
|
94
|
+
let trackingCharacters = React.useRef([]);
|
|
95
|
+
let allFormatters = React.useRef(new Map());
|
|
96
|
+
let activeCharacter = React.useRef('');
|
|
97
|
+
let searchStringRef = React.useRef('');
|
|
98
|
+
const [selectionPosition, setSelectionPosition] = React.useState({});
|
|
99
|
+
const [inputMessage, setInputMessage] = React.useState(text || '');
|
|
100
|
+
const [showReaction, setShowReaction] = React.useState(false);
|
|
101
|
+
const [showEmojiboard, setShowEmojiboard] = React.useState(false);
|
|
102
|
+
const [showActionSheet, setShowActionSheet] = React.useState(false);
|
|
103
|
+
const [showRecordAudio, setShowRecordAudio] = React.useState(false);
|
|
104
|
+
const [showAIOptions, setShowAIOptions] = React.useState(false);
|
|
105
|
+
const [AIOptionItems, setAIOptionItems] = React.useState([]);
|
|
106
|
+
const [rootAIOptionItems, setRootAIOptionItems] = React.useState([]);
|
|
107
|
+
const [actionSheetItems, setActionSheetItems] = React.useState([]);
|
|
108
|
+
const [messagePreview, setMessagePreview] = React.useState(null);
|
|
109
|
+
const [CustomView, setCustomView] = React.useState(null);
|
|
110
|
+
const [CustomViewHeader, setCustomViewHeader] = React.useState(null);
|
|
111
|
+
const [CustomViewFooter, setCustomViewFooter] = React.useState(null);
|
|
112
|
+
const [isVisible, setIsVisible] = React.useState(false);
|
|
113
|
+
const [kbOffset, setKbOffset] = React.useState(59);
|
|
114
|
+
const [showMentionList, setShowMentionList] = React.useState(false);
|
|
115
|
+
const [mentionsSearchData, setMentionsSearchData] = React.useState([]);
|
|
116
|
+
const [suggestionListLoader, setSuggestionListLoader] = React.useState(false);
|
|
117
|
+
const bottomSheetRef = React.useRef(null);
|
|
118
|
+
useLayoutEffect(() => {
|
|
119
|
+
if (Platform.OS === 'ios') {
|
|
120
|
+
if (Number.isInteger(commonVars.safeAreaInsets.top)) {
|
|
121
|
+
setKbOffset(commonVars.safeAreaInsets.top);
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
CommonUtil.getSafeAreaInsets().then((res) => {
|
|
125
|
+
if (Number.isInteger(res.top)) {
|
|
126
|
+
commonVars.safeAreaInsets.top = res.top;
|
|
127
|
+
commonVars.safeAreaInsets.bottom = res.bottom;
|
|
128
|
+
setKbOffset(res.top);
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}, []);
|
|
133
|
+
const AIStyles = new AIOptionsStyle({
|
|
134
|
+
//NEED TO ADD DEFAULT STYLE HERE
|
|
135
|
+
backgroundColor: theme.palette.getBackgroundColor(),
|
|
136
|
+
listItemBackground: theme.palette.getBackgroundColor(),
|
|
137
|
+
listItemTitleFont: theme.typography.subtitle1,
|
|
138
|
+
listItemTitleColor: theme.palette.getAccent(),
|
|
139
|
+
listItemBorderRadius: 0,
|
|
140
|
+
optionsSeparatorTint: theme.palette.getAccent200(),
|
|
141
|
+
borderRadius: 0,
|
|
142
|
+
...aiOptionsStyle,
|
|
143
|
+
});
|
|
144
|
+
let isTyping = useRef(null);
|
|
145
|
+
/**
|
|
146
|
+
* Event callback
|
|
147
|
+
*/
|
|
148
|
+
React.useImperativeHandle(ref, () => ({
|
|
149
|
+
previewMessageForEdit: previewMessage,
|
|
150
|
+
}));
|
|
151
|
+
const previewMessage = ({ message, status }) => {
|
|
152
|
+
if (status === messageStatus.inprogress) {
|
|
153
|
+
let textComponents = message?.text;
|
|
154
|
+
let rawText = message?.text;
|
|
155
|
+
let users = {};
|
|
156
|
+
let regexes = [];
|
|
157
|
+
allFormatters.current.forEach((formatter, key) => {
|
|
158
|
+
formatter.handleComposerPreview(message);
|
|
159
|
+
if (!regexes.includes(formatter.getRegexPattern())) {
|
|
160
|
+
regexes.push(formatter.getRegexPattern());
|
|
161
|
+
}
|
|
162
|
+
let suggestionUsers = formatter.getSuggestionItems();
|
|
163
|
+
suggestionUsers.forEach((item) => (users[item.underlyingText] = item));
|
|
164
|
+
let resp = formatter.getFormattedText(textComponents);
|
|
165
|
+
textComponents = resp;
|
|
166
|
+
});
|
|
167
|
+
let edits = [];
|
|
168
|
+
regexes.forEach((regex) => {
|
|
169
|
+
let match;
|
|
170
|
+
while ((match = regex.exec(rawText)) !== null) {
|
|
171
|
+
const user = users[match[0]];
|
|
172
|
+
if (user) {
|
|
173
|
+
edits.push({
|
|
174
|
+
startIndex: match.index,
|
|
175
|
+
endIndex: regex.lastIndex,
|
|
176
|
+
replacement: user.promptText,
|
|
177
|
+
user,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
// Sort edits by startIndex to apply them in order
|
|
183
|
+
edits.sort((a, b) => a.startIndex - b.startIndex);
|
|
184
|
+
plainTextInput.current = getPlainString(message?.text, edits);
|
|
185
|
+
const hashMap = new Map();
|
|
186
|
+
let offset = 0; // Tracks shift in position due to replacements
|
|
187
|
+
edits.forEach((edit) => {
|
|
188
|
+
const adjustedStartIndex = edit.startIndex + offset;
|
|
189
|
+
rawText =
|
|
190
|
+
rawText.substring(0, adjustedStartIndex) +
|
|
191
|
+
edit.replacement +
|
|
192
|
+
rawText.substring(edit.endIndex);
|
|
193
|
+
offset += edit.replacement.length - (edit.endIndex - edit.startIndex);
|
|
194
|
+
const rangeKey = `${adjustedStartIndex}_${adjustedStartIndex + edit.replacement.length}`;
|
|
195
|
+
hashMap.set(rangeKey, edit.user);
|
|
196
|
+
});
|
|
197
|
+
mentionMap.current = hashMap;
|
|
198
|
+
setMessagePreview({
|
|
199
|
+
message: { ...message, text: textComponents },
|
|
200
|
+
mode: ConversationOptionConstants.edit,
|
|
201
|
+
});
|
|
202
|
+
inputValueRef.current = textComponents ?? '';
|
|
203
|
+
setInputMessage(textComponents ?? '');
|
|
204
|
+
messageInputRef.current && messageInputRef.current.focus();
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
const cameraCallback = async (cameraImage) => {
|
|
208
|
+
if (CheckPropertyExists(cameraImage, 'error')) {
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
const { name, uri, type } = cameraImage;
|
|
212
|
+
let file = {
|
|
213
|
+
name,
|
|
214
|
+
type,
|
|
215
|
+
uri,
|
|
216
|
+
};
|
|
217
|
+
sendMediaMessage(chatWithId.current, file, MessageTypeConstants.image, chatWith.current);
|
|
218
|
+
};
|
|
219
|
+
const fileInputHandler = async (fileType) => {
|
|
220
|
+
if (fileType === MessageTypeConstants.takePhoto) {
|
|
221
|
+
if (!(await permissionUtil.startResourceBasedTask(['camera']))) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
let quality = imageQuality;
|
|
225
|
+
if (isNaN(imageQuality) || imageQuality < 1 || imageQuality > 100) {
|
|
226
|
+
quality = 20;
|
|
227
|
+
}
|
|
228
|
+
if (Platform.OS === 'android') {
|
|
229
|
+
FileManager.openCamera(fileType, Math.round(quality), cameraCallback);
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
FileManager.openCamera(fileType, cameraCallback);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
else if (Platform.OS === 'ios' &&
|
|
236
|
+
fileType === MessageTypeConstants.video) {
|
|
237
|
+
NativeModules.VideoPickerModule.pickVideo((file) => {
|
|
238
|
+
if (file.uri)
|
|
239
|
+
sendMediaMessage(chatWithId.current, file, MessageTypeConstants.video, chatWith.current);
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
else
|
|
243
|
+
FileManager.openFileChooser(fileType, async (fileInfo) => {
|
|
244
|
+
if (CheckPropertyExists(fileInfo, 'error')) {
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
let { name, uri, type } = fileInfo;
|
|
248
|
+
let file = {
|
|
249
|
+
name,
|
|
250
|
+
type,
|
|
251
|
+
uri,
|
|
252
|
+
};
|
|
253
|
+
sendMediaMessage(chatWithId.current, file, fileType, chatWith.current);
|
|
254
|
+
});
|
|
255
|
+
};
|
|
256
|
+
const playAudio = () => {
|
|
257
|
+
if (customSoundForMessage) {
|
|
258
|
+
CometChatSoundManager.play('outgoingMessage', customSoundForMessage);
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
CometChatSoundManager.play('outgoingMessage');
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
const liveReactionHandler = () => {
|
|
265
|
+
if (hideLiveReaction)
|
|
266
|
+
return;
|
|
267
|
+
if (!showReaction) {
|
|
268
|
+
setShowReaction(true);
|
|
269
|
+
//send reaction event
|
|
270
|
+
const data = {
|
|
271
|
+
type: MetadataConstants.liveReaction,
|
|
272
|
+
reaction: liveReactionIcon,
|
|
273
|
+
};
|
|
274
|
+
/*** send transient message */
|
|
275
|
+
let transientMessage = new CometChat.TransientMessage(chatWithId.current, chatWith.current, data);
|
|
276
|
+
CometChat.sendTransientMessage(transientMessage);
|
|
277
|
+
setTimeout(() => {
|
|
278
|
+
setShowReaction(false);
|
|
279
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageLiveReaction, { liveReactionIcon });
|
|
280
|
+
}, 1500);
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
const clearInputBox = () => {
|
|
284
|
+
inputValueRef.current = '';
|
|
285
|
+
setInputMessage('');
|
|
286
|
+
setTimeout(() => {
|
|
287
|
+
messageInputRef.current && messageInputRef.current.clear();
|
|
288
|
+
setInputMessage('');
|
|
289
|
+
}, 100);
|
|
290
|
+
};
|
|
291
|
+
const sendTextMessage = () => {
|
|
292
|
+
//ignore sending new message
|
|
293
|
+
if (messagePreview != null) {
|
|
294
|
+
editMessage(messagePreview.message);
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
let finalTextInput = getRegexString(plainTextInput.current);
|
|
298
|
+
let textMessage = new CometChat.TextMessage(chatWithId.current, finalTextInput, chatWith.current);
|
|
299
|
+
textMessage.setSender(loggedInUser.current);
|
|
300
|
+
textMessage.setReceiver(chatWith.current);
|
|
301
|
+
textMessage.setText(finalTextInput);
|
|
302
|
+
textMessage.setMuid(String(getUnixTimestampInMilliseconds()));
|
|
303
|
+
parentMessageId &&
|
|
304
|
+
textMessage.setParentMessageId(parentMessageId);
|
|
305
|
+
allFormatters.current.forEach((item) => {
|
|
306
|
+
textMessage = item.handlePreMessageSend(textMessage);
|
|
307
|
+
});
|
|
308
|
+
setMentionsSearchData([]);
|
|
309
|
+
plainTextInput.current = '';
|
|
310
|
+
if (finalTextInput.trim().length == 0) {
|
|
311
|
+
return;
|
|
312
|
+
}
|
|
313
|
+
clearInputBox();
|
|
314
|
+
if (onSendButtonPress) {
|
|
315
|
+
onSendButtonPress(textMessage);
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageSent, {
|
|
319
|
+
message: textMessage,
|
|
320
|
+
status: messageStatus.inprogress,
|
|
321
|
+
});
|
|
322
|
+
if (!disableSoundForMessages)
|
|
323
|
+
playAudio();
|
|
324
|
+
CometChat.sendMessage(textMessage)
|
|
325
|
+
.then((message) => {
|
|
326
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageSent, {
|
|
327
|
+
message: message,
|
|
328
|
+
status: messageStatus.success,
|
|
329
|
+
});
|
|
330
|
+
})
|
|
331
|
+
.catch((error) => {
|
|
332
|
+
onError && onError(error);
|
|
333
|
+
textMessage.data.metaData = { error: true };
|
|
334
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageSent, {
|
|
335
|
+
message: textMessage,
|
|
336
|
+
status: messageStatus.error,
|
|
337
|
+
});
|
|
338
|
+
clearInputBox();
|
|
339
|
+
});
|
|
340
|
+
};
|
|
341
|
+
/** edit message */
|
|
342
|
+
const editMessage = (message) => {
|
|
343
|
+
endTyping(null, null);
|
|
344
|
+
let finalTextInput = getRegexString(plainTextInput.current);
|
|
345
|
+
let messageText = finalTextInput.trim();
|
|
346
|
+
let textMessage = new CometChat.TextMessage(chatWithId.current, messageText, chatWith.current);
|
|
347
|
+
textMessage.setId(message.id);
|
|
348
|
+
parentMessageId &&
|
|
349
|
+
textMessage.setParentMessageId(parentMessageId);
|
|
350
|
+
inputValueRef.current = '';
|
|
351
|
+
setInputMessage('');
|
|
352
|
+
messageInputRef.current && messageInputRef.current.clear();
|
|
353
|
+
setMessagePreview(null);
|
|
354
|
+
if (onSendButtonPress) {
|
|
355
|
+
onSendButtonPress(textMessage);
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
if (!disableSoundForMessages)
|
|
359
|
+
playAudio();
|
|
360
|
+
CometChat.editMessage(textMessage)
|
|
361
|
+
.then((editedMessage) => {
|
|
362
|
+
inputValueRef.current = '';
|
|
363
|
+
setInputMessage('');
|
|
364
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageEdited, {
|
|
365
|
+
message: editedMessage,
|
|
366
|
+
status: messageStatus.success,
|
|
367
|
+
});
|
|
368
|
+
})
|
|
369
|
+
.catch((error) => {
|
|
370
|
+
onError && onError(error);
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
/** send media message */
|
|
374
|
+
const sendMediaMessage = (receiverId, messageInput, messageType, receiverType) => {
|
|
375
|
+
setShowActionSheet(false);
|
|
376
|
+
let mediaMessage = new CometChat.MediaMessage(receiverId, messageInput, messageType, receiverType);
|
|
377
|
+
mediaMessage.setSender(loggedInUser.current);
|
|
378
|
+
mediaMessage.setReceiver(receiverType);
|
|
379
|
+
mediaMessage.setType(messageType);
|
|
380
|
+
mediaMessage.setMuid(String(getUnixTimestampInMilliseconds()));
|
|
381
|
+
mediaMessage.setData({
|
|
382
|
+
type: messageType,
|
|
383
|
+
category: CometChat.CATEGORY_MESSAGE,
|
|
384
|
+
name: messageInput['name'],
|
|
385
|
+
file: messageInput,
|
|
386
|
+
url: messageInput['uri'],
|
|
387
|
+
sender: loggedInUser.current,
|
|
388
|
+
});
|
|
389
|
+
parentMessageId &&
|
|
390
|
+
mediaMessage.setParentMessageId(parentMessageId);
|
|
391
|
+
let localMessage = new CometChat.MediaMessage(receiverId, messageInput, messageType, receiverType);
|
|
392
|
+
localMessage.setSender(loggedInUser.current);
|
|
393
|
+
localMessage.setReceiver(user ?? group);
|
|
394
|
+
localMessage.setType(messageType);
|
|
395
|
+
localMessage.setMuid(String(getUnixTimestampInMilliseconds()));
|
|
396
|
+
localMessage.setData({
|
|
397
|
+
type: messageType,
|
|
398
|
+
category: CometChat.CATEGORY_MESSAGE,
|
|
399
|
+
name: messageInput['name'],
|
|
400
|
+
file: messageInput,
|
|
401
|
+
url: messageInput['uri'],
|
|
402
|
+
sender: loggedInUser.current,
|
|
403
|
+
});
|
|
404
|
+
parentMessageId &&
|
|
405
|
+
localMessage.setParentMessageId(parentMessageId);
|
|
406
|
+
localMessage.setData({
|
|
407
|
+
type: messageType,
|
|
408
|
+
category: CometChat.CATEGORY_MESSAGE,
|
|
409
|
+
name: messageInput['name'],
|
|
410
|
+
file: messageInput,
|
|
411
|
+
url: messageInput['uri'],
|
|
412
|
+
sender: loggedInUser.current,
|
|
413
|
+
attachments: [messageInput],
|
|
414
|
+
});
|
|
415
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageSent, {
|
|
416
|
+
message: localMessage,
|
|
417
|
+
status: messageStatus.inprogress,
|
|
418
|
+
});
|
|
419
|
+
if (!disableSoundForMessages)
|
|
420
|
+
playAudio();
|
|
421
|
+
CometChat.sendMediaMessage(mediaMessage)
|
|
422
|
+
.then((message) => {
|
|
423
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageSent, {
|
|
424
|
+
message: message,
|
|
425
|
+
status: messageStatus.success,
|
|
426
|
+
});
|
|
427
|
+
setShowRecordAudio(false);
|
|
428
|
+
})
|
|
429
|
+
.catch((error) => {
|
|
430
|
+
setShowRecordAudio(false);
|
|
431
|
+
onError && onError(error);
|
|
432
|
+
localMessage.data.metaData = { error: true };
|
|
433
|
+
CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageSent, {
|
|
434
|
+
message: localMessage,
|
|
435
|
+
status: messageStatus.error,
|
|
436
|
+
});
|
|
437
|
+
console.log('media message sent error', error);
|
|
438
|
+
});
|
|
439
|
+
};
|
|
440
|
+
const startTyping = (endTypingTimeout, typingMetadata) => {
|
|
441
|
+
//if typing is disabled
|
|
442
|
+
if (disableTypingEvents) {
|
|
443
|
+
return false;
|
|
444
|
+
}
|
|
445
|
+
//if typing is in progress, clear the previous timeout and set new timeout
|
|
446
|
+
if (isTyping.current) {
|
|
447
|
+
clearTimeout(isTyping.current);
|
|
448
|
+
isTyping.current = null;
|
|
449
|
+
}
|
|
450
|
+
else {
|
|
451
|
+
let metadata = typingMetadata || undefined;
|
|
452
|
+
let typingNotification = new CometChat.TypingIndicator(chatWithId.current, chatWith.current, metadata);
|
|
453
|
+
CometChat.startTyping(typingNotification);
|
|
454
|
+
}
|
|
455
|
+
let typingInterval = endTypingTimeout || 500;
|
|
456
|
+
isTyping.current = setTimeout(() => {
|
|
457
|
+
endTyping(null, typingMetadata);
|
|
458
|
+
}, typingInterval);
|
|
459
|
+
return false;
|
|
460
|
+
};
|
|
461
|
+
const endTyping = (event, typingMetadata) => {
|
|
462
|
+
if (event) {
|
|
463
|
+
event.persist();
|
|
464
|
+
}
|
|
465
|
+
if (disableTypingEvents) {
|
|
466
|
+
return false;
|
|
467
|
+
}
|
|
468
|
+
let metadata = typingMetadata || undefined;
|
|
469
|
+
let typingNotification = new CometChat.TypingIndicator(chatWithId.current, chatWith.current, metadata);
|
|
470
|
+
CometChat.endTyping(typingNotification);
|
|
471
|
+
clearTimeout(isTyping.current);
|
|
472
|
+
isTyping.current = null;
|
|
473
|
+
return false;
|
|
474
|
+
};
|
|
475
|
+
const GetEmojiIconView = () => {
|
|
476
|
+
return (<ImageButton image={ICONS.EMOJI} imageStyle={Style.imageStyle} onClick={() => setShowEmojiboard(true)}/>);
|
|
477
|
+
};
|
|
478
|
+
const shouldShowAIOptions = () => {
|
|
479
|
+
return !parentMessageId && AIOptionItems.length > 0;
|
|
480
|
+
};
|
|
481
|
+
const AuxiliaryButtonViewElem = () => {
|
|
482
|
+
if (AuxiliaryButtonView && messageComposerId)
|
|
483
|
+
return (<AuxiliaryButtonView user={user} group={group} composerId={messageComposerId}/>);
|
|
484
|
+
else if (defaultAuxiliaryButtonOptions)
|
|
485
|
+
return (<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
486
|
+
{defaultAuxiliaryButtonOptions}
|
|
487
|
+
{shouldShowAIOptions() && <AIOptionsButtonView />}
|
|
488
|
+
{!hideVoiceRecording && <RecordAudioButtonView />}
|
|
489
|
+
</View>);
|
|
490
|
+
return hideVoiceRecording ? null : <RecordAudioButtonView />;
|
|
491
|
+
};
|
|
492
|
+
const SendButtonViewElem = () => {
|
|
493
|
+
if (SendButtonView && messageComposerId)
|
|
494
|
+
return <SendButtonView user={user} group={group} composerId={messageComposerId}/>;
|
|
495
|
+
return (<ImageButton image={ICONS.SEND} imageStyle={[
|
|
496
|
+
Style.imageStyle,
|
|
497
|
+
{
|
|
498
|
+
tintColor: inputMessage.length === 0
|
|
499
|
+
? theme.palette.getAccent400()
|
|
500
|
+
: messageComposerStyle?.sendIconTint ||
|
|
501
|
+
theme.palette.getPrimary(),
|
|
502
|
+
},
|
|
503
|
+
]} disable={inputMessage.length === 0} onClick={sendTextMessage}/>);
|
|
504
|
+
};
|
|
505
|
+
const SecondaryButtonViewElem = () => {
|
|
506
|
+
if (SecondaryButtonView && messageComposerId)
|
|
507
|
+
return (<SecondaryButtonView user={user} group={group} composerId={messageComposerId}/>);
|
|
508
|
+
return (<AttachIconButton icon={attachmentIcon} show={true} onClick={() => setShowActionSheet(true)} style={{
|
|
509
|
+
height: 23,
|
|
510
|
+
width: 23,
|
|
511
|
+
resizeMode: 'contain',
|
|
512
|
+
tintColor: messageComposerStyle?.attachIconTint
|
|
513
|
+
? messageComposerStyle.attachIconTint
|
|
514
|
+
: theme.palette.getAccent(),
|
|
515
|
+
}}/>);
|
|
516
|
+
};
|
|
517
|
+
const PrimaryButtonView = () => {
|
|
518
|
+
return inputMessage.length !== 0 || hideLiveReaction ? (<SendButtonViewElem />) : (<View>
|
|
519
|
+
<View style={Style.liveReactionStyle}>
|
|
520
|
+
<LiveReaction show={showReaction} reaction={liveReactionIcon}/>
|
|
521
|
+
</View>
|
|
522
|
+
<ImageButton image={liveReactionIcon} imageStyle={[Style.imageStyle, Style.liveReactionBtnStyle]} onClick={liveReactionHandler}/>
|
|
523
|
+
</View>);
|
|
524
|
+
};
|
|
525
|
+
const RecordAudioButtonView = () => {
|
|
526
|
+
return (<ImageButton image={voiceRecordingIconURL || ICONS.MICROPHONE} imageStyle={[
|
|
527
|
+
Style.imageStyle,
|
|
528
|
+
messageComposerStyle?.voiceRecordingIconTint
|
|
529
|
+
? { tintColor: messageComposerStyle?.voiceRecordingIconTint }
|
|
530
|
+
: {},
|
|
531
|
+
]} onClick={() => setShowRecordAudio(true)}/>);
|
|
532
|
+
};
|
|
533
|
+
const AIOptionsButtonView = () => {
|
|
534
|
+
return (<ImageButton image={AIIconURL || ICONS.AI} imageStyle={Style.imageStyle} onClick={() => {
|
|
535
|
+
setShowAIOptions(true);
|
|
536
|
+
setAIOptionItems(rootAIOptionItems);
|
|
537
|
+
}}/>);
|
|
538
|
+
};
|
|
539
|
+
//fetch logged in user
|
|
540
|
+
useEffect(() => {
|
|
541
|
+
CometChat.getLoggedinUser().then((user) => (loggedInUser.current = user));
|
|
542
|
+
let _formatter = [...(textFormatters ?? [])];
|
|
543
|
+
if (!disableMentions) {
|
|
544
|
+
let mentionsFormatter = ChatConfigurator.getDataSource().getMentionsFormatter();
|
|
545
|
+
CometChatUIKit.loggedInUser &&
|
|
546
|
+
mentionsFormatter.setLoggedInUser(CometChatUIKit.loggedInUser);
|
|
547
|
+
mentionsFormatter.setMentionsStyle(new MentionTextStyle({
|
|
548
|
+
loggedInUserTextStyle: {
|
|
549
|
+
color: theme.palette.getPrimary(),
|
|
550
|
+
...theme.typography.title2,
|
|
551
|
+
fontSize: 17,
|
|
552
|
+
},
|
|
553
|
+
textStyle: {
|
|
554
|
+
color: theme.palette.getPrimary(),
|
|
555
|
+
...theme.typography.subtitle1,
|
|
556
|
+
fontSize: 17,
|
|
557
|
+
},
|
|
558
|
+
}));
|
|
559
|
+
user && mentionsFormatter.setUser(user);
|
|
560
|
+
group && mentionsFormatter.setGroup(group);
|
|
561
|
+
_formatter.unshift(mentionsFormatter);
|
|
562
|
+
}
|
|
563
|
+
_formatter.forEach((formatter) => {
|
|
564
|
+
messageComposerId && formatter.setComposerId(messageComposerId);
|
|
565
|
+
user && formatter.setUser(user);
|
|
566
|
+
group && formatter.setGroup(group);
|
|
567
|
+
let trackingCharacter = formatter.getTrackingCharacter();
|
|
568
|
+
trackingCharacters.current.push(trackingCharacter);
|
|
569
|
+
let newFormatter = CommonUtils.clone(formatter);
|
|
570
|
+
allFormatters.current.set(trackingCharacter, newFormatter);
|
|
571
|
+
});
|
|
572
|
+
}, []);
|
|
573
|
+
useEffect(() => {
|
|
574
|
+
//update receiver user
|
|
575
|
+
if (user && user.getUid()) {
|
|
576
|
+
chatRef.current = {
|
|
577
|
+
chatWith: ReceiverTypeConstants.user,
|
|
578
|
+
chatWithId: user.getUid(),
|
|
579
|
+
};
|
|
580
|
+
chatWith.current = ReceiverTypeConstants.user;
|
|
581
|
+
chatWithId.current = user.getUid();
|
|
582
|
+
}
|
|
583
|
+
else if (group && group.getGuid()) {
|
|
584
|
+
chatRef.current = {
|
|
585
|
+
chatWith: ReceiverTypeConstants.group,
|
|
586
|
+
chatWithId: group.getGuid(),
|
|
587
|
+
};
|
|
588
|
+
chatWith.current = ReceiverTypeConstants.group;
|
|
589
|
+
chatWithId.current = group.getGuid();
|
|
590
|
+
}
|
|
591
|
+
}, [user, group, chatRef]);
|
|
592
|
+
const handleOnClick = (CustomView) => {
|
|
593
|
+
let view = CustomView(user, group, {
|
|
594
|
+
uid: user?.getUid(),
|
|
595
|
+
guid: group?.getGuid(),
|
|
596
|
+
parentMessageId: parentMessageId,
|
|
597
|
+
}, {
|
|
598
|
+
onClose: () => setIsVisible(false),
|
|
599
|
+
});
|
|
600
|
+
bottomSheetRef.current?.togglePanel();
|
|
601
|
+
setShowActionSheet(false);
|
|
602
|
+
setTimeout(() => {
|
|
603
|
+
setCustomView(() => view);
|
|
604
|
+
setIsVisible(true);
|
|
605
|
+
}, 200);
|
|
606
|
+
};
|
|
607
|
+
useEffect(() => {
|
|
608
|
+
const defaultAttachmentOptions = ChatConfigurator.dataSource.getAttachmentOptions(user, group, composerIdMap);
|
|
609
|
+
setActionSheetItems(() => attachmentOptions && typeof attachmentOptions === 'function'
|
|
610
|
+
? attachmentOptions({ user, group, composerId: composerIdMap })?.map((item) => {
|
|
611
|
+
if (typeof item.CustomView === 'function')
|
|
612
|
+
return {
|
|
613
|
+
...item,
|
|
614
|
+
onPress: () => handleOnClick(item.CustomView),
|
|
615
|
+
};
|
|
616
|
+
if (typeof item.onPress == 'function')
|
|
617
|
+
return {
|
|
618
|
+
...item,
|
|
619
|
+
onPress: () => {
|
|
620
|
+
setShowActionSheet(false);
|
|
621
|
+
item.onPress?.(user, group);
|
|
622
|
+
},
|
|
623
|
+
};
|
|
624
|
+
return {
|
|
625
|
+
...item,
|
|
626
|
+
onPress: () => fileInputHandler(item.id),
|
|
627
|
+
};
|
|
628
|
+
})
|
|
629
|
+
: defaultAttachmentOptions.map((item) => {
|
|
630
|
+
if (typeof item.CustomView === 'function')
|
|
631
|
+
return {
|
|
632
|
+
...item,
|
|
633
|
+
onPress: () => handleOnClick(item.CustomView),
|
|
634
|
+
};
|
|
635
|
+
if (typeof item.onPress === 'function')
|
|
636
|
+
return {
|
|
637
|
+
...item,
|
|
638
|
+
onPress: () => item.onPress(user, group),
|
|
639
|
+
};
|
|
640
|
+
return {
|
|
641
|
+
...item,
|
|
642
|
+
onPress: () => fileInputHandler(item.id),
|
|
643
|
+
};
|
|
644
|
+
}));
|
|
645
|
+
const aiOptions = ChatConfigurator.dataSource.getAIOptions(user, group, theme, composerIdMap, AIStyles);
|
|
646
|
+
let newAiOptions = _getAIOptions(aiOptions);
|
|
647
|
+
setAIOptionItems(newAiOptions);
|
|
648
|
+
setRootAIOptionItems(newAiOptions);
|
|
649
|
+
}, [user, group, messageComposerId, parentMessageId]);
|
|
650
|
+
const _getAIOptions = (options) => {
|
|
651
|
+
let newOptions = [...options];
|
|
652
|
+
let newAiOptions = newOptions.map((item) => {
|
|
653
|
+
if (typeof item.onPress === 'function')
|
|
654
|
+
return {
|
|
655
|
+
...item,
|
|
656
|
+
onPress: () => {
|
|
657
|
+
setShowAIOptions(false);
|
|
658
|
+
item?.onPress?.(user);
|
|
659
|
+
},
|
|
660
|
+
};
|
|
661
|
+
return {
|
|
662
|
+
...item,
|
|
663
|
+
onPress: () => { },
|
|
664
|
+
};
|
|
665
|
+
});
|
|
666
|
+
return newAiOptions;
|
|
667
|
+
};
|
|
668
|
+
useEffect(() => {
|
|
669
|
+
CometChatUIEventHandler.addMessageListener(editMessageListenerID, {
|
|
670
|
+
ccMessageEdited: (item) => previewMessage(item),
|
|
671
|
+
});
|
|
672
|
+
CometChatUIEventHandler.addUIListener(UiEventListenerID, {
|
|
673
|
+
ccToggleBottomSheet: (item) => {
|
|
674
|
+
if (item?.bots) {
|
|
675
|
+
let newAiOptions = _getAIOptions(item.bots);
|
|
676
|
+
setAIOptionItems(newAiOptions);
|
|
677
|
+
setShowAIOptions(true);
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
680
|
+
else if (item?.botView) {
|
|
681
|
+
setCustomView(() => item.child);
|
|
682
|
+
return;
|
|
683
|
+
}
|
|
684
|
+
setIsVisible(false);
|
|
685
|
+
bottomSheetRef.current?.togglePanel();
|
|
686
|
+
},
|
|
687
|
+
ccComposeMessage: (text) => {
|
|
688
|
+
setIsVisible(false);
|
|
689
|
+
bottomSheetRef.current?.togglePanel();
|
|
690
|
+
inputValueRef.current = text?.text;
|
|
691
|
+
plainTextInput.current = text?.text;
|
|
692
|
+
setInputMessage(text?.text);
|
|
693
|
+
},
|
|
694
|
+
ccSuggestionData(item) {
|
|
695
|
+
if (activeCharacter.current && messageComposerId === item?.id) {
|
|
696
|
+
setMentionsSearchData(item?.data);
|
|
697
|
+
setSuggestionListLoader(false);
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
});
|
|
701
|
+
return () => {
|
|
702
|
+
CometChatUIEventHandler.removeMessageListener(editMessageListenerID);
|
|
703
|
+
CometChatUIEventHandler.removeUIListener(UiEventListenerID);
|
|
704
|
+
};
|
|
705
|
+
}, []);
|
|
706
|
+
const handlePanel = (item) => {
|
|
707
|
+
if (item.child) {
|
|
708
|
+
if (item.alignment === ViewAlignment.composerTop)
|
|
709
|
+
setCustomViewHeader(() => item.child);
|
|
710
|
+
else if (item.alignment === ViewAlignment.composerBottom)
|
|
711
|
+
setCustomViewFooter(() => item.child);
|
|
712
|
+
}
|
|
713
|
+
else {
|
|
714
|
+
if (item.alignment === ViewAlignment.composerTop)
|
|
715
|
+
setCustomViewHeader(null);
|
|
716
|
+
else if (item.alignment === ViewAlignment.composerBottom)
|
|
717
|
+
setCustomViewFooter(null);
|
|
718
|
+
}
|
|
719
|
+
};
|
|
720
|
+
useEffect(() => {
|
|
721
|
+
CometChatUIEventHandler.addUIListener(uiEventListenerShow, {
|
|
722
|
+
showPanel: (item) => handlePanel(item),
|
|
723
|
+
});
|
|
724
|
+
CometChatUIEventHandler.addUIListener(uiEventListenerHide, {
|
|
725
|
+
hidePanel: (item) => handlePanel(item),
|
|
726
|
+
});
|
|
727
|
+
return () => {
|
|
728
|
+
CometChatUIEventHandler.removeUIListener(uiEventListenerShow);
|
|
729
|
+
CometChatUIEventHandler.removeUIListener(uiEventListenerHide);
|
|
730
|
+
};
|
|
731
|
+
}, []);
|
|
732
|
+
const _sendRecordedAudio = (recordedFile) => {
|
|
733
|
+
let fileObj = {
|
|
734
|
+
name: 'audio-recording' + recordedFile.split('/audio-recording')[1],
|
|
735
|
+
type: 'audio/mp4',
|
|
736
|
+
uri: recordedFile,
|
|
737
|
+
};
|
|
738
|
+
console.log('fileObj', fileObj);
|
|
739
|
+
sendMediaMessage(chatWithId.current, fileObj, MessageTypeConstants.audio, chatWith.current);
|
|
740
|
+
console.log('Send Audio');
|
|
741
|
+
};
|
|
742
|
+
function isCursorWithinMentionRange(mentionRanges, cursorPosition) {
|
|
743
|
+
for (let [range, mention] of mentionRanges) {
|
|
744
|
+
const [start, end] = range.split('_').map(Number);
|
|
745
|
+
if (cursorPosition >= start && cursorPosition <= end) {
|
|
746
|
+
return true; // Cursor is within the range of a mention
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
return false; // No mention found at the cursor position
|
|
750
|
+
}
|
|
751
|
+
function shouldOpenList(selection, searchString, tracker) {
|
|
752
|
+
return (selection.start === selection.end &&
|
|
753
|
+
!isCursorWithinMentionRange(mentionMap.current, selection.start - searchString.length) &&
|
|
754
|
+
trackingCharacters.current.includes(tracker) &&
|
|
755
|
+
(searchString === ''
|
|
756
|
+
? (plainTextInput.current[selection.start - 2]?.length === 1 &&
|
|
757
|
+
plainTextInput.current[selection.start - 2]?.trim()?.length ===
|
|
758
|
+
0) ||
|
|
759
|
+
plainTextInput.current[selection.start - 2] === undefined
|
|
760
|
+
: true) &&
|
|
761
|
+
(plainTextInput.current[selection.start - 1]?.length === 1 &&
|
|
762
|
+
plainTextInput.current[selection.start - 1]?.trim()?.length === 0
|
|
763
|
+
? searchString.length > 0
|
|
764
|
+
: true));
|
|
765
|
+
}
|
|
766
|
+
let timeoutId;
|
|
767
|
+
const openList = (selection) => {
|
|
768
|
+
clearTimeout(timeoutId);
|
|
769
|
+
timeoutId = setTimeout(() => {
|
|
770
|
+
let searchString = extractTextFromCursor(plainTextInput.current, selection.start);
|
|
771
|
+
let tracker = searchString
|
|
772
|
+
? plainTextInput.current[selection.start - (searchString.length + 1)]
|
|
773
|
+
: plainTextInput.current[selection.start - 1];
|
|
774
|
+
if (shouldOpenList(selection, searchString, tracker)) {
|
|
775
|
+
activeCharacter.current = tracker;
|
|
776
|
+
searchStringRef.current = searchString;
|
|
777
|
+
setShowMentionList(true);
|
|
778
|
+
let formatter = allFormatters.current.get(tracker);
|
|
779
|
+
if (formatter instanceof CometChatMentionsFormatter) {
|
|
780
|
+
let shouldShowMentionList = formatter.getVisibleIn() === MentionsVisibility.both ||
|
|
781
|
+
(formatter.getVisibleIn() ===
|
|
782
|
+
MentionsVisibility.usersConversationOnly &&
|
|
783
|
+
user) ||
|
|
784
|
+
(formatter.getVisibleIn() ===
|
|
785
|
+
MentionsVisibility.groupsConversationOnly &&
|
|
786
|
+
group);
|
|
787
|
+
if (shouldShowMentionList) {
|
|
788
|
+
formatter.search(searchString);
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
else {
|
|
792
|
+
formatter?.search(searchString);
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
else {
|
|
796
|
+
activeCharacter.current = '';
|
|
797
|
+
searchStringRef.current = '';
|
|
798
|
+
setShowMentionList(false);
|
|
799
|
+
setMentionsSearchData([]);
|
|
800
|
+
}
|
|
801
|
+
}, 100);
|
|
802
|
+
};
|
|
803
|
+
const getRegexString = (str) => {
|
|
804
|
+
// Get an array of the entries in the map using the spread operator
|
|
805
|
+
const entries = [...mentionMap.current.entries()].reverse();
|
|
806
|
+
let uidInput = str;
|
|
807
|
+
// Iterate over the array in reverse order
|
|
808
|
+
entries.forEach(([key, value]) => {
|
|
809
|
+
let [start, end] = key.split('_').map(Number);
|
|
810
|
+
let pre = uidInput.substring(0, start);
|
|
811
|
+
let post = uidInput.substring(end);
|
|
812
|
+
uidInput = pre + value.underlyingText + post;
|
|
813
|
+
});
|
|
814
|
+
return uidInput;
|
|
815
|
+
};
|
|
816
|
+
const getPlainString = (str, edits) => {
|
|
817
|
+
// Get an array of the entries in the map using the spread operator
|
|
818
|
+
const entries = [...edits].reverse();
|
|
819
|
+
let _plainString = str;
|
|
820
|
+
// Iterate over the array in reverse order
|
|
821
|
+
entries.forEach(({ endIndex, replacement, startIndex, user }) => {
|
|
822
|
+
let pre = _plainString.substring(0, startIndex);
|
|
823
|
+
let post = _plainString.substring(endIndex);
|
|
824
|
+
_plainString = pre + replacement + post;
|
|
825
|
+
});
|
|
826
|
+
return _plainString;
|
|
827
|
+
};
|
|
828
|
+
const textChangeHandler = (txt) => {
|
|
829
|
+
let removing = plainTextInput.current.length > txt.length;
|
|
830
|
+
let adding = plainTextInput.current.length < txt.length;
|
|
831
|
+
let textDiff = txt.length - plainTextInput.current.length;
|
|
832
|
+
let notAtLast = selectionPosition.start + textDiff < txt.length;
|
|
833
|
+
plainTextInput.current = txt;
|
|
834
|
+
onChangeText && onChangeText(txt);
|
|
835
|
+
startTyping();
|
|
836
|
+
let decr = 0;
|
|
837
|
+
let newMentionMap = new Map(mentionMap.current);
|
|
838
|
+
mentionMap.current.forEach((value, key) => {
|
|
839
|
+
let position = {
|
|
840
|
+
start: parseInt(key.split('_')[0]),
|
|
841
|
+
end: parseInt(key.split('_')[1]),
|
|
842
|
+
};
|
|
843
|
+
//Runs when cursor before the mention and before the last position
|
|
844
|
+
if (notAtLast &&
|
|
845
|
+
(selectionPosition.start - 1 <= position.start ||
|
|
846
|
+
selectionPosition.start - textDiff <= position.start)) {
|
|
847
|
+
if (removing) {
|
|
848
|
+
decr = selectionPosition.end - selectionPosition.start - textDiff;
|
|
849
|
+
position = {
|
|
850
|
+
start: position.start - decr,
|
|
851
|
+
end: position.end - decr,
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
else if (adding) {
|
|
855
|
+
decr = selectionPosition.end - selectionPosition.start + textDiff;
|
|
856
|
+
position = {
|
|
857
|
+
start: position.start + decr,
|
|
858
|
+
end: position.end + decr,
|
|
859
|
+
};
|
|
860
|
+
}
|
|
861
|
+
if (removing || adding) {
|
|
862
|
+
let newKey = `${position.start}_${position.end}`;
|
|
863
|
+
position.start >= 0 && newMentionMap.set(newKey, value);
|
|
864
|
+
newMentionMap.delete(key);
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
// Code to delete mention from hashmap 👇
|
|
868
|
+
let expctedMentionPos = plainTextInput.current.substring(position.start, position.end);
|
|
869
|
+
if (expctedMentionPos !== `${value.promptText}`) {
|
|
870
|
+
let newKey = `${position.start}_${position.end}`;
|
|
871
|
+
newMentionMap.delete(newKey);
|
|
872
|
+
if (!ifIdExists(value.id, newMentionMap)) {
|
|
873
|
+
let targetedFormatter = allFormatters.current.get(value.trackingCharacter);
|
|
874
|
+
let existingCCUsers = [...targetedFormatter.getSuggestionItems()];
|
|
875
|
+
let userPosition = existingCCUsers.findIndex((item) => item.id === value.id);
|
|
876
|
+
if (userPosition !== -1) {
|
|
877
|
+
existingCCUsers.splice(userPosition, 1);
|
|
878
|
+
targetedFormatter.setSuggestionItems(existingCCUsers);
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
});
|
|
883
|
+
mentionMap.current = newMentionMap;
|
|
884
|
+
setFormattedInputMessage();
|
|
885
|
+
};
|
|
886
|
+
const onMentionPress = (item) => {
|
|
887
|
+
setShowMentionList(false);
|
|
888
|
+
setMentionsSearchData([]);
|
|
889
|
+
let notAtLast = selectionPosition.start < plainTextInput.current.length;
|
|
890
|
+
let textDiff = plainTextInput.current.length +
|
|
891
|
+
item.promptText.length -
|
|
892
|
+
searchStringRef.current.length -
|
|
893
|
+
plainTextInput.current.length;
|
|
894
|
+
let incr = 0;
|
|
895
|
+
let mentionPos = 0;
|
|
896
|
+
let newMentionMap = new Map(mentionMap.current);
|
|
897
|
+
let targetedFormatter = allFormatters.current.get(activeCharacter.current);
|
|
898
|
+
let existingCCUsers = [...targetedFormatter.getSuggestionItems()];
|
|
899
|
+
let userAlreadyExists = existingCCUsers.find((existingUser) => existingUser.id === item.id);
|
|
900
|
+
if (!userAlreadyExists) {
|
|
901
|
+
let cometchatUIUserArray = [...existingCCUsers];
|
|
902
|
+
cometchatUIUserArray.push(item);
|
|
903
|
+
targetedFormatter.setSuggestionItems(cometchatUIUserArray);
|
|
904
|
+
}
|
|
905
|
+
mentionMap.current.forEach((value, key) => {
|
|
906
|
+
let position = {
|
|
907
|
+
start: parseInt(key.split('_')[0]),
|
|
908
|
+
end: parseInt(key.split('_')[1]),
|
|
909
|
+
};
|
|
910
|
+
if (!(selectionPosition.start <= position.start)) {
|
|
911
|
+
mentionPos += 1;
|
|
912
|
+
}
|
|
913
|
+
// Code to delete mention from hashmap 👇
|
|
914
|
+
if (position.end === selectionPosition.end ||
|
|
915
|
+
(selectionPosition.start > position.start &&
|
|
916
|
+
selectionPosition.end <= position.end)) {
|
|
917
|
+
let newKey = `${position.start}_${position.end}`;
|
|
918
|
+
newMentionMap.delete(newKey);
|
|
919
|
+
mentionPos -= 1;
|
|
920
|
+
}
|
|
921
|
+
if (notAtLast && selectionPosition.start - 1 <= position.start) {
|
|
922
|
+
incr = selectionPosition.end - selectionPosition.start + textDiff;
|
|
923
|
+
let newKey = `${position.start + incr}_${position.end + incr}`;
|
|
924
|
+
newMentionMap.set(newKey, value);
|
|
925
|
+
newMentionMap.delete(key);
|
|
926
|
+
}
|
|
927
|
+
});
|
|
928
|
+
mentionMap.current = newMentionMap;
|
|
929
|
+
// When updating the input text, just get the latest plain text input and replace the selected text with the new mention
|
|
930
|
+
const updatedPlainTextInput = `${plainTextInput.current.substring(0, selectionPosition.start - (1 + searchStringRef.current.length))}${item.promptText + ' '}${plainTextInput.current.substring(selectionPosition.end, plainTextInput.current.length)}`;
|
|
931
|
+
plainTextInput.current = updatedPlainTextInput;
|
|
932
|
+
let key = selectionPosition.start -
|
|
933
|
+
(1 + searchStringRef.current.length) +
|
|
934
|
+
'_' +
|
|
935
|
+
(selectionPosition.start -
|
|
936
|
+
(searchStringRef.current.length + 1) +
|
|
937
|
+
item.promptText.length);
|
|
938
|
+
let updatedMap = insertMentionAt(mentionMap.current, mentionPos, key, {
|
|
939
|
+
...item,
|
|
940
|
+
trackingCharacter: activeCharacter.current,
|
|
941
|
+
});
|
|
942
|
+
mentionMap.current = updatedMap;
|
|
943
|
+
setFormattedInputMessage();
|
|
944
|
+
};
|
|
945
|
+
const setFormattedInputMessage = () => {
|
|
946
|
+
let textComponents = getRegexString(plainTextInput.current);
|
|
947
|
+
allFormatters.current.forEach((formatter, key) => {
|
|
948
|
+
let resp = formatter.getFormattedText(textComponents);
|
|
949
|
+
textComponents = resp;
|
|
950
|
+
});
|
|
951
|
+
inputValueRef.current = textComponents;
|
|
952
|
+
setInputMessage(textComponents);
|
|
953
|
+
};
|
|
954
|
+
function escapeRegExp(string) {
|
|
955
|
+
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
956
|
+
}
|
|
957
|
+
function extractTextFromCursor(inputText, cursorPosition) {
|
|
958
|
+
const leftText = inputText.substring(0, cursorPosition);
|
|
959
|
+
// Escape the mentionPrefixes to safely use them in a regex pattern
|
|
960
|
+
const escapedPrefixes = trackingCharacters.current
|
|
961
|
+
.map(escapeRegExp)
|
|
962
|
+
.join('|');
|
|
963
|
+
// Build a dynamic regex pattern that matches any of the mention prefixes.
|
|
964
|
+
// This pattern will match a prefix followed by any combination of word characters
|
|
965
|
+
// and spaces, including a trailing space.
|
|
966
|
+
const mentionRegex = new RegExp(`(?:^|\\s)(${escapedPrefixes})([^${escapedPrefixes}\\s][^${escapedPrefixes}]*)$`);
|
|
967
|
+
const match = leftText.match(mentionRegex);
|
|
968
|
+
// If a match is found, return the first capturing group, which is the username
|
|
969
|
+
return (match && substringUpToNthSpace(match[2], 4)) || '';
|
|
970
|
+
}
|
|
971
|
+
function substringUpToNthSpace(str, n) {
|
|
972
|
+
// Split the string by spaces, slice to the (n-1) elements, and then rejoin with spaces
|
|
973
|
+
return str.split(' ', n).join(' ');
|
|
974
|
+
}
|
|
975
|
+
const insertMentionAt = (mentionMap, insertAt, key, value) => {
|
|
976
|
+
// Convert the hashmap to an array of [key, value] pairs
|
|
977
|
+
let mentionsArray = Array.from(mentionMap);
|
|
978
|
+
// Insert the new mention into the array at the calculated index
|
|
979
|
+
mentionsArray.splice(insertAt, 0, [key, value]);
|
|
980
|
+
return new Map(mentionsArray);
|
|
981
|
+
};
|
|
982
|
+
/**
|
|
983
|
+
* Function to check if the id exists in the mentionMap
|
|
984
|
+
*/
|
|
985
|
+
const ifIdExists = (id, hashmap) => {
|
|
986
|
+
let exists = false;
|
|
987
|
+
hashmap.forEach((value, key) => {
|
|
988
|
+
if (value.id === id) {
|
|
989
|
+
exists = true;
|
|
990
|
+
}
|
|
991
|
+
});
|
|
992
|
+
return exists;
|
|
993
|
+
};
|
|
994
|
+
const onSuggestionListEndReached = () => {
|
|
995
|
+
let targetedFormatter = allFormatters.current.get(activeCharacter.current);
|
|
996
|
+
if (!targetedFormatter)
|
|
997
|
+
return;
|
|
998
|
+
let fetchingNext = targetedFormatter.fetchNext();
|
|
999
|
+
fetchingNext !== null && setSuggestionListLoader(true);
|
|
1000
|
+
};
|
|
1001
|
+
const getMentionLimitView = () => {
|
|
1002
|
+
let targetedFormatter = allFormatters.current.get(activeCharacter.current);
|
|
1003
|
+
let shouldWarn;
|
|
1004
|
+
let limit;
|
|
1005
|
+
if (targetedFormatter?.getLimit && targetedFormatter?.getLimit()) {
|
|
1006
|
+
limit = targetedFormatter?.getLimit();
|
|
1007
|
+
if (targetedFormatter.getUniqueUsersList &&
|
|
1008
|
+
targetedFormatter.getUniqueUsersList()?.size >= limit) {
|
|
1009
|
+
shouldWarn = true;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
if (!shouldWarn)
|
|
1013
|
+
return null;
|
|
1014
|
+
let errorString = targetedFormatter?.getErrorString
|
|
1015
|
+
? targetedFormatter?.getErrorString()
|
|
1016
|
+
: `${localize('MENTION_UPTO')} ${limit} ${limit === 1 ? localize('TIME') : localize('TIMES')} ${localize('AT_A_TIME')}.`;
|
|
1017
|
+
return (<View style={{
|
|
1018
|
+
flexDirection: 'row',
|
|
1019
|
+
alignItems: 'center',
|
|
1020
|
+
paddingTop: 5,
|
|
1021
|
+
paddingLeft: 5,
|
|
1022
|
+
borderTopWidth: 1,
|
|
1023
|
+
borderTopColor: theme.palette.getAccent300(),
|
|
1024
|
+
}}>
|
|
1025
|
+
<Image style={{
|
|
1026
|
+
tintColor: theme.palette.getAccent500(),
|
|
1027
|
+
height: 20,
|
|
1028
|
+
width: 20,
|
|
1029
|
+
}} source={ICONS.INFO}/>
|
|
1030
|
+
<Text style={{
|
|
1031
|
+
marginLeft: 5,
|
|
1032
|
+
color: theme.palette.getAccent500(),
|
|
1033
|
+
...theme.typography.text1,
|
|
1034
|
+
}}>
|
|
1035
|
+
{errorString}
|
|
1036
|
+
</Text>
|
|
1037
|
+
</View>);
|
|
1038
|
+
};
|
|
1039
|
+
return (<>
|
|
1040
|
+
{!isVisible && typeof CustomView === 'function' && <CustomView />}
|
|
1041
|
+
<Modal animationType="slide" visible={isVisible} onRequestClose={() => {
|
|
1042
|
+
setIsVisible(false);
|
|
1043
|
+
}} presentationStyle={'pageSheet'}>
|
|
1044
|
+
{CustomView && CustomView}
|
|
1045
|
+
</Modal>
|
|
1046
|
+
<KeyboardAvoidingView key={messageComposerId} behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={Platform.select({ ios: kbOffset })} {...keyboardAvoidingViewProps}>
|
|
1047
|
+
<View style={[
|
|
1048
|
+
Style.container,
|
|
1049
|
+
{
|
|
1050
|
+
paddingTop: CustomViewHeader ? 0 : 8,
|
|
1051
|
+
},
|
|
1052
|
+
messageComposerStyle,
|
|
1053
|
+
]}>
|
|
1054
|
+
<EmojiBoard hideSearch={true} shouldShow={showEmojiboard} onClose={() => setShowEmojiboard(false)} emojiSelection={(emoji) => {
|
|
1055
|
+
let pre = plainTextInput.current.substring(0, selectionPosition.start);
|
|
1056
|
+
let post = plainTextInput.current.substring(selectionPosition.end, plainTextInput.current.length);
|
|
1057
|
+
inputValueRef.current =
|
|
1058
|
+
selectionPosition.start && selectionPosition.end
|
|
1059
|
+
? `${pre}${emoji}${post}`
|
|
1060
|
+
: `${inputValueRef.current}${emoji}`;
|
|
1061
|
+
setInputMessage((prev) => selectionPosition.start && selectionPosition.end
|
|
1062
|
+
? `${pre}${emoji}${post}`
|
|
1063
|
+
: `${prev}${emoji}`);
|
|
1064
|
+
setShowEmojiboard(false);
|
|
1065
|
+
}}/>
|
|
1066
|
+
<ActionSheetBoard sheetRef={bottomSheetRef} options={actionSheetItems} shouldShow={showActionSheet} onClose={() => setShowActionSheet(false)} style={{
|
|
1067
|
+
// ...getActionSheetStyle(),
|
|
1068
|
+
...(messageComposerStyle?.actionSheetSeparatorTint
|
|
1069
|
+
? {
|
|
1070
|
+
actionSheetSeparatorTint: messageComposerStyle.actionSheetSeparatorTint,
|
|
1071
|
+
}
|
|
1072
|
+
: {}),
|
|
1073
|
+
layoutModeIconTint: messageComposerStyle?.actionSheetLayoutModeIconTint,
|
|
1074
|
+
titleColor: messageComposerStyle?.actionSheetTitleColor,
|
|
1075
|
+
listItemIconTint: messageComposerStyle?.attachIconTint,
|
|
1076
|
+
listItemTitleFont: messageComposerStyle?.actionSheetTitleFont,
|
|
1077
|
+
}} cometChatBottomSheetStyle={messageComposerStyle?.actionSheetCancelButtonIconTint
|
|
1078
|
+
? {
|
|
1079
|
+
lineColor: messageComposerStyle.actionSheetCancelButtonIconTint,
|
|
1080
|
+
}
|
|
1081
|
+
: {}}/>
|
|
1082
|
+
<RecordAudio sheetRef={bottomSheetRef} options={actionSheetItems} shouldShow={showRecordAudio} onClose={() => {
|
|
1083
|
+
setShowRecordAudio(false);
|
|
1084
|
+
}} onSend={_sendRecordedAudio} cometChatBottomSheetStyle={messageComposerStyle?.actionSheetCancelButtonIconTint
|
|
1085
|
+
? {
|
|
1086
|
+
lineColor: messageComposerStyle.actionSheetCancelButtonIconTint,
|
|
1087
|
+
}
|
|
1088
|
+
: {}} mediaRecorderStyle={mediaRecorderStyle} pauseIconUrl={pauseIconUrl} playIconUrl={playIconUrl} recordIconUrl={recordIconUrl} deleteIconUrl={deleteIconUrl} stopIconUrl={stopIconUrl} submitIconUrl={submitIconUrl}/>
|
|
1089
|
+
<AIOptions sheetRef={bottomSheetRef} shouldShow={showAIOptions} onClose={() => {
|
|
1090
|
+
setShowAIOptions(false);
|
|
1091
|
+
}} aiOptions={AIOptionItems} aiStyle={AIStyles}/>
|
|
1092
|
+
|
|
1093
|
+
{mentionsSearchData.length > 0 &&
|
|
1094
|
+
plainTextInput.current.length > 0 && (<View style={{
|
|
1095
|
+
borderTopWidth: 1,
|
|
1096
|
+
borderColor: theme.palette.getAccent300(),
|
|
1097
|
+
paddingVertical: 5,
|
|
1098
|
+
paddingHorizontal: 0,
|
|
1099
|
+
maxHeight: Dimensions.get('window').height * 0.22,
|
|
1100
|
+
justifyContent: 'flex-end',
|
|
1101
|
+
paddingBottom: messagePreview !== null ? 60 : undefined,
|
|
1102
|
+
zIndex: 1,
|
|
1103
|
+
}}>
|
|
1104
|
+
<CometChatSuggestionList data={mentionsSearchData} avatarStyle={{
|
|
1105
|
+
height: 33,
|
|
1106
|
+
width: 33,
|
|
1107
|
+
}} listItemStyle={{
|
|
1108
|
+
height: 50,
|
|
1109
|
+
}} separatorColor={theme.palette.getAccent100()} onPress={onMentionPress} onEndReached={onSuggestionListEndReached} loading={suggestionListLoader} theme={theme}/>
|
|
1110
|
+
{getMentionLimitView()}
|
|
1111
|
+
</View>)}
|
|
1112
|
+
|
|
1113
|
+
{HeaderView ? (<HeaderView />) : (CustomViewHeader && <CustomViewHeader />)}
|
|
1114
|
+
<View>
|
|
1115
|
+
<MessagePreviewTray onClose={() => setMessagePreview(null)} text={messagePreview?.message?.text} shouldShow={messagePreview != null}/>
|
|
1116
|
+
</View>
|
|
1117
|
+
<CometChatMessageInput messageInputRef={messageInputRef} text={inputMessage} placeHolderText={placeHolderText} style={messageComposerStyle} onSelectionChange={({ nativeEvent: { selection } }) => {
|
|
1118
|
+
setSelectionPosition(selection);
|
|
1119
|
+
openList(selection);
|
|
1120
|
+
}} maxHeight={maxHeight ?? undefined} onChangeText={textChangeHandler} SecondaryButtonView={SecondaryButtonViewElem} AuxiliaryButtonView={AuxiliaryButtonViewElem} PrimaryButtonView={PrimaryButtonView} auxiliaryButtonAlignment={auxiliaryButtonsAlignment ? auxiliaryButtonsAlignment : 'right'}/>
|
|
1121
|
+
{FooterView ? (<FooterView />) : (CustomViewFooter && <CustomViewFooter />)}
|
|
1122
|
+
</View>
|
|
1123
|
+
</KeyboardAvoidingView>
|
|
1124
|
+
</>);
|
|
1125
|
+
});
|
|
1126
|
+
//# sourceMappingURL=CometChatMessageComposer.js.map
|