@cometchat/chat-uikit-react-native 4.0.0-beta.1
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/LICENSE +21 -0
- package/README.md +67 -0
- package/android/build.gradle +139 -0
- package/android/gradle.properties +5 -0
- package/android/settings.gradle +3 -0
- package/android/src/main/AndroidManifest.xml +14 -0
- package/android/src/main/java/com/reactnativecometchatuikit/CometChatImageViewer.java +78 -0
- package/android/src/main/java/com/reactnativecometchatuikit/CometChatVideoPlayer.java +40 -0
- package/android/src/main/java/com/reactnativecometchatuikit/CometchatUiKitModule.java +33 -0
- package/android/src/main/java/com/reactnativecometchatuikit/CometchatUiKitPackage.java +33 -0
- package/android/src/main/java/com/reactnativecometchatuikit/FileManager.java +370 -0
- package/android/src/main/java/com/reactnativecometchatuikit/ImageManager.java +40 -0
- package/android/src/main/java/com/reactnativecometchatuikit/RNSoundModule.java +605 -0
- package/android/src/main/java/com/reactnativecometchatuikit/SoundPlayer.java +132 -0
- package/android/src/main/java/com/reactnativecometchatuikit/VideoManager.java +40 -0
- package/ios/CometchatUiKit.h +5 -0
- package/ios/CometchatUiKit.mm +31 -0
- package/ios/CometchatUiKit.xcodeproj/project.pbxproj +310 -0
- package/ios/CometchatUiKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/CometchatUiKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/CometchatUiKit.xcodeproj/project.xcworkspace/xcuserdata/ashishjajoo.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/CometchatUiKit.xcodeproj/xcuserdata/ashishjajoo.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- package/ios/CometchatUiKit.xcodeproj/xcuserdata/ritikkaushik.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/FileManager.h +7 -0
- package/ios/FileManager.m +257 -0
- package/ios/RNSound.h +17 -0
- package/ios/RNSound.m +391 -0
- package/ios/SoundPlayer.h +7 -0
- package/ios/SoundPlayer.m +86 -0
- package/ios/VideoManager.h +6 -0
- package/ios/VideoManager.m +51 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +43 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js +41 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +10 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.js +60 -0
- package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -0
- package/lib/CometChatAddMembers/index.d.ts +3 -0
- package/lib/CometChatAddMembers/index.js +4 -0
- package/lib/CometChatAddMembers/index.js.map +1 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +46 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +43 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +18 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js +72 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -0
- package/lib/CometChatBannedMembers/index.d.ts +3 -0
- package/lib/CometChatBannedMembers/index.js +4 -0
- package/lib/CometChatBannedMembers/index.js.map +1 -0
- package/lib/CometChatBannedMembers/resources/clear.png +0 -0
- package/lib/CometChatBannedMembers/resources/index.d.ts +3 -0
- package/lib/CometChatBannedMembers/resources/index.js +3 -0
- package/lib/CometChatBannedMembers/resources/index.js.map +1 -0
- package/lib/CometChatConversations/CometChatConversations.d.ts +195 -0
- package/lib/CometChatConversations/CometChatConversations.js +628 -0
- package/lib/CometChatConversations/CometChatConversations.js.map +1 -0
- package/lib/CometChatConversations/ConversationsConfiguration.d.ts +96 -0
- package/lib/CometChatConversations/ConversationsConfiguration.js +87 -0
- package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -0
- package/lib/CometChatConversations/ConversationsStyle.d.ts +38 -0
- package/lib/CometChatConversations/ConversationsStyle.js +46 -0
- package/lib/CometChatConversations/ConversationsStyle.js.map +1 -0
- package/lib/CometChatConversations/index.d.ts +4 -0
- package/lib/CometChatConversations/index.js +5 -0
- package/lib/CometChatConversations/index.js.map +1 -0
- package/lib/CometChatConversations/resources/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 +15 -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 +61 -0
- package/lib/CometChatConversations/style.js +63 -0
- package/lib/CometChatConversations/style.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +12 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +89 -0
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/index.d.ts +2 -0
- package/lib/CometChatConversationsWithMessages/index.js +3 -0
- package/lib/CometChatConversationsWithMessages/index.js.map +1 -0
- package/lib/CometChatConversationsWithMessages/styles.d.ts +12 -0
- package/lib/CometChatConversationsWithMessages/styles.js +14 -0
- package/lib/CometChatConversationsWithMessages/styles.js.map +1 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +98 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js +196 -0
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +14 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +15 -0
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -0
- package/lib/CometChatCreateGroup/Header.d.ts +3 -0
- package/lib/CometChatCreateGroup/Header.js +41 -0
- package/lib/CometChatCreateGroup/Header.js.map +1 -0
- package/lib/CometChatCreateGroup/index.d.ts +3 -0
- package/lib/CometChatCreateGroup/index.js +4 -0
- package/lib/CometChatCreateGroup/index.js.map +1 -0
- package/lib/CometChatCreateGroup/resources/close.png +0 -0
- package/lib/CometChatCreateGroup/resources/index.d.ts +5 -0
- package/lib/CometChatCreateGroup/resources/index.js +9 -0
- package/lib/CometChatCreateGroup/resources/index.js.map +1 -0
- package/lib/CometChatCreateGroup/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 +404 -0
- package/lib/CometChatDetails/CometChatDetails.js.map +1 -0
- package/lib/CometChatDetails/DetailsConfiguration.d.ts +36 -0
- package/lib/CometChatDetails/DetailsConfiguration.js +26 -0
- package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -0
- package/lib/CometChatDetails/Header.d.ts +3 -0
- package/lib/CometChatDetails/Header.js +26 -0
- package/lib/CometChatDetails/Header.js.map +1 -0
- package/lib/CometChatDetails/index.d.ts +3 -0
- package/lib/CometChatDetails/index.js +4 -0
- package/lib/CometChatDetails/index.js.map +1 -0
- package/lib/CometChatDetails/listners.d.ts +20 -0
- package/lib/CometChatDetails/listners.js +57 -0
- package/lib/CometChatDetails/listners.js.map +1 -0
- package/lib/CometChatDetails/resources/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 +13 -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 +348 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +63 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +59 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +42 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.js +48 -0
- package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +1 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +28 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.js +35 -0
- package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +1 -0
- package/lib/CometChatGroupMembers/index.d.ts +4 -0
- package/lib/CometChatGroupMembers/index.js +5 -0
- package/lib/CometChatGroupMembers/index.js.map +1 -0
- package/lib/CometChatGroupMembers/resources/banIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/downArrowIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/index.d.ts +5 -0
- package/lib/CometChatGroupMembers/resources/index.js +6 -0
- package/lib/CometChatGroupMembers/resources/index.js.map +1 -0
- package/lib/CometChatGroupMembers/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 +137 -0
- package/lib/CometChatGroups/CometChatGroups.js +309 -0
- package/lib/CometChatGroups/CometChatGroups.js.map +1 -0
- package/lib/CometChatGroups/GroupsConfiguration.d.ts +74 -0
- package/lib/CometChatGroups/GroupsConfiguration.js +72 -0
- package/lib/CometChatGroups/GroupsConfiguration.js.map +1 -0
- package/lib/CometChatGroups/GroupsStyle.d.ts +51 -0
- package/lib/CometChatGroups/GroupsStyle.js +61 -0
- package/lib/CometChatGroups/GroupsStyle.js.map +1 -0
- package/lib/CometChatGroups/index.d.ts +4 -0
- package/lib/CometChatGroups/index.js +5 -0
- package/lib/CometChatGroups/index.js.map +1 -0
- package/lib/CometChatGroups/resources/back.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 +11 -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/search.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 +109 -0
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/index.d.ts +2 -0
- package/lib/CometChatGroupsWithMessages/index.js +3 -0
- package/lib/CometChatGroupsWithMessages/index.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/resources/index.d.ts +2 -0
- package/lib/CometChatGroupsWithMessages/resources/index.js +3 -0
- package/lib/CometChatGroupsWithMessages/resources/index.js.map +1 -0
- package/lib/CometChatGroupsWithMessages/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 +111 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +96 -0
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/Header.d.ts +3 -0
- package/lib/CometChatJoinProtectedGroup/Header.js +33 -0
- package/lib/CometChatJoinProtectedGroup/Header.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +15 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +16 -0
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/index.d.ts +3 -0
- package/lib/CometChatJoinProtectedGroup/index.js +4 -0
- package/lib/CometChatJoinProtectedGroup/index.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/resources/close.png +0 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +4 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.js +7 -0
- package/lib/CometChatJoinProtectedGroup/resources/index.js.map +1 -0
- package/lib/CometChatJoinProtectedGroup/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 +205 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +537 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +37 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +25 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -0
- package/lib/CometChatMessageComposer/index.d.ts +3 -0
- package/lib/CometChatMessageComposer/index.js +4 -0
- package/lib/CometChatMessageComposer/index.js.map +1 -0
- package/lib/CometChatMessageComposer/resources/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 +9 -0
- package/lib/CometChatMessageComposer/resources/index.js +17 -0
- package/lib/CometChatMessageComposer/resources/index.js.map +1 -0
- package/lib/CometChatMessageComposer/resources/send_message.png +0 -0
- package/lib/CometChatMessageComposer/resources/stickers.png +0 -0
- package/lib/CometChatMessageComposer/styles.d.ts +27 -0
- package/lib/CometChatMessageComposer/styles.js +29 -0
- package/lib/CometChatMessageComposer/styles.js.map +1 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +150 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +214 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +37 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +27 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -0
- package/lib/CometChatMessageHeader/index.d.ts +3 -0
- package/lib/CometChatMessageHeader/index.js +4 -0
- package/lib/CometChatMessageHeader/index.js.map +1 -0
- package/lib/CometChatMessageHeader/listners.d.ts +27 -0
- package/lib/CometChatMessageHeader/listners.js +50 -0
- package/lib/CometChatMessageHeader/listners.js.map +1 -0
- package/lib/CometChatMessageHeader/resources/Back.png +0 -0
- package/lib/CometChatMessageHeader/resources/index.d.ts +5 -0
- package/lib/CometChatMessageHeader/resources/index.js +9 -0
- package/lib/CometChatMessageHeader/resources/index.js.map +1 -0
- package/lib/CometChatMessageHeader/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/CometChatMessageList/CometChatMessageList.d.ts +73 -0
- package/lib/CometChatMessageList/CometChatMessageList.js +804 -0
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -0
- package/lib/CometChatMessageList/MessageListConfiguration.d.ts +101 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js +37 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -0
- package/lib/CometChatMessageList/MessageListStyle.d.ts +32 -0
- package/lib/CometChatMessageList/MessageListStyle.js +39 -0
- package/lib/CometChatMessageList/MessageListStyle.js.map +1 -0
- package/lib/CometChatMessageList/index.d.ts +4 -0
- package/lib/CometChatMessageList/index.js +5 -0
- package/lib/CometChatMessageList/index.js.map +1 -0
- package/lib/CometChatMessageList/resources/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 +6 -0
- package/lib/CometChatMessageList/resources/index.js +7 -0
- package/lib/CometChatMessageList/resources/index.js.map +1 -0
- package/lib/CometChatMessageList/resources/rightArrowIcon.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 +167 -0
- package/lib/CometChatMessages/CometChatMessages.js.map +1 -0
- package/lib/CometChatMessages/MessageStyle.d.ts +15 -0
- package/lib/CometChatMessages/MessageStyle.js +19 -0
- package/lib/CometChatMessages/MessageStyle.js.map +1 -0
- package/lib/CometChatMessages/MessagesConfiguration.d.ts +69 -0
- package/lib/CometChatMessages/MessagesConfiguration.js +25 -0
- package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -0
- package/lib/CometChatMessages/index.d.ts +4 -0
- package/lib/CometChatMessages/index.js +5 -0
- package/lib/CometChatMessages/index.js.map +1 -0
- package/lib/CometChatMessages/resources/index.d.ts +2 -0
- package/lib/CometChatMessages/resources/index.js +3 -0
- package/lib/CometChatMessages/resources/index.js.map +1 -0
- package/lib/CometChatMessages/resources/info.png +0 -0
- package/lib/CometChatMessages/style.d.ts +21 -0
- package/lib/CometChatMessages/style.js +23 -0
- package/lib/CometChatMessages/style.js.map +1 -0
- package/lib/CometChatTabs/CometChatTabs.d.ts +10 -0
- package/lib/CometChatTabs/CometChatTabs.js +74 -0
- package/lib/CometChatTabs/CometChatTabs.js.map +1 -0
- package/lib/CometChatTabs/CometChatTabsStyle.d.ts +6 -0
- package/lib/CometChatTabs/CometChatTabsStyle.js +13 -0
- package/lib/CometChatTabs/CometChatTabsStyle.js.map +1 -0
- package/lib/CometChatTabs/TabItemStyle.d.ts +20 -0
- package/lib/CometChatTabs/TabItemStyle.js +27 -0
- package/lib/CometChatTabs/TabItemStyle.js.map +1 -0
- package/lib/CometChatTabs/TabItems.d.ts +11 -0
- package/lib/CometChatTabs/TabItems.js +2 -0
- package/lib/CometChatTabs/TabItems.js.map +1 -0
- package/lib/CometChatTabs/index.d.ts +4 -0
- package/lib/CometChatTabs/index.js +4 -0
- package/lib/CometChatTabs/index.js.map +1 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +90 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +137 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -0
- package/lib/CometChatThreadedMessages/Header.d.ts +12 -0
- package/lib/CometChatThreadedMessages/Header.js +23 -0
- package/lib/CometChatThreadedMessages/Header.js.map +1 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +18 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +16 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -0
- package/lib/CometChatThreadedMessages/index.d.ts +3 -0
- package/lib/CometChatThreadedMessages/index.js +4 -0
- package/lib/CometChatThreadedMessages/index.js.map +1 -0
- package/lib/CometChatThreadedMessages/resources/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 +15 -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 +27 -0
- package/lib/CometChatThreadedMessages/style.js +24 -0
- package/lib/CometChatThreadedMessages/style.js.map +1 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +41 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +58 -0
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +41 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +37 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -0
- package/lib/CometChatTransferOwnership/index.d.ts +3 -0
- package/lib/CometChatTransferOwnership/index.js +4 -0
- package/lib/CometChatTransferOwnership/index.js.map +1 -0
- package/lib/CometChatUsers/CometChatUsers.d.ts +69 -0
- package/lib/CometChatUsers/CometChatUsers.js +64 -0
- package/lib/CometChatUsers/CometChatUsers.js.map +1 -0
- package/lib/CometChatUsers/UsersConfiguration.d.ts +43 -0
- package/lib/CometChatUsers/UsersConfiguration.js +41 -0
- package/lib/CometChatUsers/UsersConfiguration.js.map +1 -0
- package/lib/CometChatUsers/index.d.ts +3 -0
- package/lib/CometChatUsers/index.js +4 -0
- package/lib/CometChatUsers/index.js.map +1 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +11 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +63 -0
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -0
- package/lib/CometChatUsersWithMessages/index.d.ts +2 -0
- package/lib/CometChatUsersWithMessages/index.js +3 -0
- package/lib/CometChatUsersWithMessages/index.js.map +1 -0
- package/lib/CometChatUsersWithMessages/styles.d.ts +12 -0
- package/lib/CometChatUsersWithMessages/styles.js +14 -0
- package/lib/CometChatUsersWithMessages/styles.js.map +1 -0
- package/lib/calls/CallEvents.d.ts +9 -0
- package/lib/calls/CallEvents.js +10 -0
- package/lib/calls/CallEvents.js.map +1 -0
- package/lib/calls/CallUtils.d.ts +5 -0
- package/lib/calls/CallUtils.js +60 -0
- package/lib/calls/CallUtils.js.map +1 -0
- package/lib/calls/CallingConfiguration.d.ts +3 -0
- package/lib/calls/CallingConfiguration.js +5 -0
- package/lib/calls/CallingConfiguration.js.map +1 -0
- package/lib/calls/CallingDetailsUtils.d.ts +7 -0
- package/lib/calls/CallingDetailsUtils.js +31 -0
- package/lib/calls/CallingDetailsUtils.js.map +1 -0
- package/lib/calls/CallingExtension.d.ts +9 -0
- package/lib/calls/CallingExtension.js +30 -0
- package/lib/calls/CallingExtension.js.map +1 -0
- package/lib/calls/CallingExtentionDecorator.d.ts +33 -0
- package/lib/calls/CallingExtentionDecorator.js +154 -0
- package/lib/calls/CallingExtentionDecorator.js.map +1 -0
- package/lib/calls/CallingPacakge.d.ts +4 -0
- package/lib/calls/CallingPacakge.js +7 -0
- package/lib/calls/CallingPacakge.js.map +1 -0
- package/lib/calls/CallingPackage.d.ts +4 -0
- package/lib/calls/CallingPackage.js +7 -0
- package/lib/calls/CallingPackage.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +13 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +11 -0
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +18 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +25 -0
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +1 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +11 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +21 -0
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -0
- package/lib/calls/CometChatCallBubble/index.d.ts +4 -0
- package/lib/calls/CometChatCallBubble/index.js +5 -0
- package/lib/calls/CometChatCallBubble/index.js.map +1 -0
- package/lib/calls/CometChatCallBubble/resources/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 +5 -0
- package/lib/calls/CometChatCallBubble/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallBubble/styles.d.ts +20 -0
- package/lib/calls/CometChatCallBubble/styles.js +22 -0
- package/lib/calls/CometChatCallBubble/styles.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +12 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js +19 -0
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +34 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +19 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +61 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +198 -0
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -0
- package/lib/calls/CometChatCallButtons/index.d.ts +4 -0
- package/lib/calls/CometChatCallButtons/index.js +4 -0
- package/lib/calls/CometChatCallButtons/index.js.map +1 -0
- package/lib/calls/CometChatCallButtons/resources/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 +4 -0
- package/lib/calls/CometChatCallButtons/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallButtons/style.d.ts +12 -0
- package/lib/calls/CometChatCallButtons/style.js +14 -0
- package/lib/calls/CometChatCallButtons/style.js.map +1 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +54 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js +31 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.d.ts +20 -0
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js +27 -0
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js.map +1 -0
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.d.ts +1 -0
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js +137 -0
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js.map +1 -0
- package/lib/calls/CometChatCallDetails/index.d.ts +3 -0
- package/lib/calls/CometChatCallDetails/index.js +4 -0
- package/lib/calls/CometChatCallDetails/index.js.map +1 -0
- package/lib/calls/CometChatCallDetails/resources/CloseIcon.png +0 -0
- package/lib/calls/CometChatCallDetails/resources/index.d.ts +2 -0
- package/lib/calls/CometChatCallDetails/resources/index.js +3 -0
- package/lib/calls/CometChatCallDetails/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallDetails/style.d.ts +12 -0
- package/lib/calls/CometChatCallDetails/style.js +14 -0
- package/lib/calls/CometChatCallDetails/style.js.map +1 -0
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +86 -0
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js +39 -0
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.d.ts +13 -0
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js +20 -0
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js.map +1 -0
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.d.ts +1 -0
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js +250 -0
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js.map +1 -0
- package/lib/calls/CometChatCallHistory/index.d.ts +3 -0
- package/lib/calls/CometChatCallHistory/index.js +4 -0
- package/lib/calls/CometChatCallHistory/index.js.map +1 -0
- package/lib/calls/CometChatCallHistory/resources/Back.png +0 -0
- package/lib/calls/CometChatCallHistory/resources/Call.png +0 -0
- package/lib/calls/CometChatCallHistory/resources/Info.png +0 -0
- package/lib/calls/CometChatCallHistory/resources/Selection.png +0 -0
- package/lib/calls/CometChatCallHistory/resources/Spineer.png +0 -0
- package/lib/calls/CometChatCallHistory/resources/Video.png +0 -0
- package/lib/calls/CometChatCallHistory/resources/check.png +0 -0
- package/lib/calls/CometChatCallHistory/resources/index.d.ts +8 -0
- package/lib/calls/CometChatCallHistory/resources/index.js +9 -0
- package/lib/calls/CometChatCallHistory/resources/index.js.map +1 -0
- package/lib/calls/CometChatCallHistory/style.d.ts +21 -0
- package/lib/calls/CometChatCallHistory/style.js +23 -0
- package/lib/calls/CometChatCallHistory/style.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.d.ts +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js +30 -0
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.d.ts +6 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.d.ts +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/index.d.ts +3 -0
- package/lib/calls/CometChatCallHistoryWithDetails/index.js +2 -0
- package/lib/calls/CometChatCallHistoryWithDetails/index.js.map +1 -0
- package/lib/calls/CometChatCallHistoryWithDetails/style.d.ts +8 -0
- package/lib/calls/CometChatCallHistoryWithDetails/style.js +10 -0
- package/lib/calls/CometChatCallHistoryWithDetails/style.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +21 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +160 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +32 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +39 -0
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/index.d.ts +3 -0
- package/lib/calls/CometChatIncomingCall/index.js +4 -0
- package/lib/calls/CometChatIncomingCall/index.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/resources/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 +6 -0
- package/lib/calls/CometChatIncomingCall/resources/index.js.map +1 -0
- package/lib/calls/CometChatIncomingCall/styles.d.ts +9 -0
- package/lib/calls/CometChatIncomingCall/styles.js +11 -0
- package/lib/calls/CometChatIncomingCall/styles.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +12 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +41 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +13 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +13 -0
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +1 -0
- package/lib/calls/CometChatOngoingCall/index.d.ts +3 -0
- package/lib/calls/CometChatOngoingCall/index.js +3 -0
- package/lib/calls/CometChatOngoingCall/index.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +46 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +141 -0
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +18 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +15 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +14 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +21 -0
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/index.d.ts +3 -0
- package/lib/calls/CometChatOutgoingCall/index.js +4 -0
- package/lib/calls/CometChatOutgoingCall/index.js.map +1 -0
- package/lib/calls/CometChatOutgoingCall/resources/Close.png +0 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +2 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.js +3 -0
- package/lib/calls/CometChatOutgoingCall/resources/index.js.map +1 -0
- package/lib/calls/index.d.ts +12 -0
- package/lib/calls/index.js +13 -0
- package/lib/calls/index.js.map +1 -0
- package/lib/calls/resources/Call.png +0 -0
- package/lib/calls/resources/Video.png +0 -0
- package/lib/calls/resources/index.d.ts +3 -0
- package/lib/calls/resources/index.js +4 -0
- package/lib/calls/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +55 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +30 -0
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +44 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +60 -0
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/resources/index.d.ts +3 -0
- package/lib/extensions/CollaborativeBubble/resources/index.js +3 -0
- package/lib/extensions/CollaborativeBubble/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeBubble/resources/whiteboard.png +0 -0
- package/lib/extensions/CollaborativeBubble/styles.d.ts +33 -0
- package/lib/extensions/CollaborativeBubble/styles.js +72 -0
- package/lib/extensions/CollaborativeBubble/styles.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +14 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +7 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +11 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +20 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +22 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +129 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/index.d.ts +5 -0
- package/lib/extensions/CollaborativeDocument/index.js +6 -0
- package/lib/extensions/CollaborativeDocument/index.js.map +1 -0
- package/lib/extensions/CollaborativeDocument/resources/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 +5 -0
- package/lib/extensions/CollaborativeDocument/resources/index.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +14 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +7 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +11 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +20 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +23 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +135 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/index.d.ts +5 -0
- package/lib/extensions/CollaborativeWhiteboard/index.js +6 -0
- package/lib/extensions/CollaborativeWhiteboard/index.js.map +1 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +2 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js +5 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +1 -0
- package/lib/extensions/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 +13 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.js +21 -0
- package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +17 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.js +93 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -0
- package/lib/extensions/ImageModeration/index.d.ts +4 -0
- package/lib/extensions/ImageModeration/index.js +5 -0
- package/lib/extensions/ImageModeration/index.js.map +1 -0
- package/lib/extensions/ImageModeration/resources/index.d.ts +3 -0
- package/lib/extensions/ImageModeration/resources/index.js +3 -0
- package/lib/extensions/ImageModeration/resources/index.js.map +1 -0
- package/lib/extensions/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 +34 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +14 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +13 -0
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +7 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js +14 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +1 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +13 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +37 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -0
- package/lib/extensions/LinkPreview/index.d.ts +6 -0
- package/lib/extensions/LinkPreview/index.js +6 -0
- package/lib/extensions/LinkPreview/index.js.map +1 -0
- package/lib/extensions/LinkPreview/resources/defaultImage.png +0 -0
- package/lib/extensions/LinkPreview/resources/index.d.ts +2 -0
- package/lib/extensions/LinkPreview/resources/index.js +3 -0
- package/lib/extensions/LinkPreview/resources/index.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +22 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +69 -0
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +21 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +152 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +13 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +21 -0
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -0
- package/lib/extensions/MessageTranslation/index.d.ts +4 -0
- package/lib/extensions/MessageTranslation/index.js +5 -0
- package/lib/extensions/MessageTranslation/index.js.map +1 -0
- package/lib/extensions/MessageTranslation/resources/index.d.ts +3 -0
- package/lib/extensions/MessageTranslation/resources/index.js +5 -0
- package/lib/extensions/MessageTranslation/resources/index.js.map +1 -0
- package/lib/extensions/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 +132 -0
- package/lib/extensions/Polls/Polls.js +218 -0
- package/lib/extensions/Polls/Polls.js.map +1 -0
- package/lib/extensions/Polls/PollsBubble.d.ts +83 -0
- package/lib/extensions/Polls/PollsBubble.js +202 -0
- package/lib/extensions/Polls/PollsBubble.js.map +1 -0
- package/lib/extensions/Polls/PollsConfigurations.d.ts +15 -0
- package/lib/extensions/Polls/PollsConfigurations.js +2 -0
- package/lib/extensions/Polls/PollsConfigurations.js.map +1 -0
- package/lib/extensions/Polls/PollsDecorator.d.ts +21 -0
- package/lib/extensions/Polls/PollsDecorator.js +103 -0
- package/lib/extensions/Polls/PollsDecorator.js.map +1 -0
- package/lib/extensions/Polls/PollsExtension.d.ts +11 -0
- package/lib/extensions/Polls/PollsExtension.js +20 -0
- package/lib/extensions/Polls/PollsExtension.js.map +1 -0
- package/lib/extensions/Polls/index.d.ts +4 -0
- package/lib/extensions/Polls/index.js +4 -0
- package/lib/extensions/Polls/index.js.map +1 -0
- package/lib/extensions/Polls/resources/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 +13 -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/Reactions/CometChatMessageReactions/CometChatMessageReactions.d.ts +22 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js +205 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js.map +1 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/index.d.ts +2 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js +3 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js.map +1 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/style.d.ts +40 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js +42 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js.map +1 -0
- package/lib/extensions/Reactions/ReactionsDecorator.d.ts +23 -0
- package/lib/extensions/Reactions/ReactionsDecorator.js +113 -0
- package/lib/extensions/Reactions/ReactionsDecorator.js.map +1 -0
- package/lib/extensions/Reactions/ReactionsExtension.d.ts +13 -0
- package/lib/extensions/Reactions/ReactionsExtension.js +21 -0
- package/lib/extensions/Reactions/ReactionsExtension.js.map +1 -0
- package/lib/extensions/Reactions/index.d.ts +3 -0
- package/lib/extensions/Reactions/index.js +4 -0
- package/lib/extensions/Reactions/index.js.map +1 -0
- package/lib/extensions/Reactions/resources/AddReactions.png +0 -0
- package/lib/extensions/Reactions/resources/index.d.ts +3 -0
- package/lib/extensions/Reactions/resources/index.js +3 -0
- package/lib/extensions/Reactions/resources/index.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +14 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +95 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +13 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js +21 -0
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +27 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.js +152 -0
- package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -0
- package/lib/extensions/SmartReplies/index.d.ts +3 -0
- package/lib/extensions/SmartReplies/index.js +4 -0
- package/lib/extensions/SmartReplies/index.js.map +1 -0
- package/lib/extensions/SmartReplies/resources/close.png +0 -0
- package/lib/extensions/SmartReplies/resources/index.d.ts +3 -0
- package/lib/extensions/SmartReplies/resources/index.js +5 -0
- package/lib/extensions/SmartReplies/resources/index.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +33 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +90 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +17 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +17 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +20 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +27 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +61 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +4 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +5 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +1 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +55 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +55 -0
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +1 -0
- package/lib/extensions/Stickers/StickerConfiguration.d.ts +8 -0
- package/lib/extensions/Stickers/StickerConfiguration.js +12 -0
- package/lib/extensions/Stickers/StickerConfiguration.js.map +1 -0
- package/lib/extensions/Stickers/StickerStyle.d.ts +6 -0
- package/lib/extensions/Stickers/StickerStyle.js +10 -0
- package/lib/extensions/Stickers/StickerStyle.js.map +1 -0
- package/lib/extensions/Stickers/StickersBubble.d.ts +17 -0
- package/lib/extensions/Stickers/StickersBubble.js +21 -0
- package/lib/extensions/Stickers/StickersBubble.js.map +1 -0
- package/lib/extensions/Stickers/StickersExtension.d.ts +7 -0
- package/lib/extensions/Stickers/StickersExtension.js +22 -0
- package/lib/extensions/Stickers/StickersExtension.js.map +1 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +22 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +108 -0
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -0
- package/lib/extensions/Stickers/index.d.ts +5 -0
- package/lib/extensions/Stickers/index.js +5 -0
- package/lib/extensions/Stickers/index.js.map +1 -0
- package/lib/extensions/Stickers/resources/Stickers.png +0 -0
- package/lib/extensions/Stickers/resources/index.d.ts +2 -0
- package/lib/extensions/Stickers/resources/index.js +3 -0
- package/lib/extensions/Stickers/resources/index.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +14 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.js +7 -0
- package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationExtension.d.ts +11 -0
- package/lib/extensions/TextModeration/TextModerationExtension.js +20 -0
- package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +14 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +55 -0
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -0
- package/lib/extensions/TextModeration/index.d.ts +4 -0
- package/lib/extensions/TextModeration/index.js +4 -0
- package/lib/extensions/TextModeration/index.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +16 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +64 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +14 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +21 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -0
- package/lib/extensions/ThumbnailGeneration/index.d.ts +2 -0
- package/lib/extensions/ThumbnailGeneration/index.js +3 -0
- package/lib/extensions/ThumbnailGeneration/index.js.map +1 -0
- package/lib/extensions/index.d.ts +13 -0
- package/lib/extensions/index.js +14 -0
- package/lib/extensions/index.js.map +1 -0
- package/lib/index.d.ts +24 -0
- package/lib/index.js +51 -0
- package/lib/index.js.map +1 -0
- package/lib/shared/CometChatContext.d.ts +4 -0
- package/lib/shared/CometChatContext.js +30 -0
- package/lib/shared/CometChatContext.js.map +1 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +19 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +159 -0
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +20 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +66 -0
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +1 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +13 -0
- package/lib/shared/CometChatUiKit/UIKitSettings.js +23 -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/base/BaseStyle.d.ts +26 -0
- package/lib/shared/base/BaseStyle.js +26 -0
- package/lib/shared/base/BaseStyle.js.map +1 -0
- package/lib/shared/base/BorderStyle.d.ts +19 -0
- package/lib/shared/base/BorderStyle.js +19 -0
- package/lib/shared/base/BorderStyle.js.map +1 -0
- package/lib/shared/base/FontStyle.d.ts +18 -0
- package/lib/shared/base/FontStyle.js +18 -0
- package/lib/shared/base/FontStyle.js.map +1 -0
- package/lib/shared/base/ShadowStyle.d.ts +33 -0
- package/lib/shared/base/ShadowStyle.js +27 -0
- package/lib/shared/base/ShadowStyle.js.map +1 -0
- package/lib/shared/base/Types.d.ts +14 -0
- package/lib/shared/base/Types.js +2 -0
- package/lib/shared/base/Types.js.map +1 -0
- package/lib/shared/base/index.d.ts +6 -0
- package/lib/shared/base/index.js +6 -0
- package/lib/shared/base/index.js.map +1 -0
- package/lib/shared/constants/UIKitConstants.d.ts +286 -0
- package/lib/shared/constants/UIKitConstants.js +304 -0
- package/lib/shared/constants/UIKitConstants.js.map +1 -0
- package/lib/shared/events/CometChatMessageEvents/index.d.ts +43 -0
- package/lib/shared/events/CometChatMessageEvents/index.js +93 -0
- package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +30 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +304 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +182 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +263 -0
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -0
- package/lib/shared/events/CometChatUIEvents.d.ts +16 -0
- package/lib/shared/events/CometChatUIEvents.js +18 -0
- package/lib/shared/events/CometChatUIEvents.js.map +1 -0
- package/lib/shared/events/conversations.d.ts +3 -0
- package/lib/shared/events/conversations.js +5 -0
- package/lib/shared/events/conversations.js.map +1 -0
- package/lib/shared/events/groups.d.ts +10 -0
- package/lib/shared/events/groups.js +12 -0
- package/lib/shared/events/groups.js.map +1 -0
- package/lib/shared/events/index.d.ts +6 -0
- package/lib/shared/events/index.js +7 -0
- package/lib/shared/events/index.js.map +1 -0
- package/lib/shared/events/messages.d.ts +11 -0
- package/lib/shared/events/messages.js +13 -0
- package/lib/shared/events/messages.js.map +1 -0
- package/lib/shared/framework/ChatConfigurator.d.ts +8 -0
- package/lib/shared/framework/ChatConfigurator.js +23 -0
- package/lib/shared/framework/ChatConfigurator.js.map +1 -0
- package/lib/shared/framework/DataSource.d.ts +49 -0
- package/lib/shared/framework/DataSource.js +2 -0
- package/lib/shared/framework/DataSource.js.map +1 -0
- package/lib/shared/framework/DataSourceDecorator.d.ts +49 -0
- package/lib/shared/framework/DataSourceDecorator.js +121 -0
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -0
- package/lib/shared/framework/ExtensionsDataSource.d.ts +3 -0
- package/lib/shared/framework/ExtensionsDataSource.js +2 -0
- package/lib/shared/framework/ExtensionsDataSource.js.map +1 -0
- package/lib/shared/framework/MessageDataSource.d.ts +72 -0
- package/lib/shared/framework/MessageDataSource.js +526 -0
- package/lib/shared/framework/MessageDataSource.js.map +1 -0
- package/lib/shared/framework/index.d.ts +6 -0
- package/lib/shared/framework/index.js +5 -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 +18 -0
- package/lib/shared/framework/resources/index.js +35 -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/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/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/functions.d.ts +3 -0
- package/lib/shared/helper/functions.js +32 -0
- package/lib/shared/helper/functions.js.map +1 -0
- package/lib/shared/helper/helperFunctions.d.ts +2 -0
- package/lib/shared/helper/helperFunctions.js +17 -0
- package/lib/shared/helper/helperFunctions.js.map +1 -0
- package/lib/shared/helper/types/index.d.ts +20 -0
- package/lib/shared/helper/types/index.js +2 -0
- package/lib/shared/helper/types/index.js.map +1 -0
- package/lib/shared/helper/useKeyboard.d.ts +1 -0
- package/lib/shared/helper/useKeyboard.js +25 -0
- package/lib/shared/helper/useKeyboard.js.map +1 -0
- package/lib/shared/index.d.ts +14 -0
- package/lib/shared/index.js +28 -0
- package/lib/shared/index.js.map +1 -0
- package/lib/shared/modals/CometChatDetailsOption.d.ts +18 -0
- package/lib/shared/modals/CometChatDetailsOption.js +2 -0
- package/lib/shared/modals/CometChatDetailsOption.js.map +1 -0
- package/lib/shared/modals/CometChatDetailsTemplate.d.ts +15 -0
- package/lib/shared/modals/CometChatDetailsTemplate.js +2 -0
- package/lib/shared/modals/CometChatDetailsTemplate.js.map +1 -0
- package/lib/shared/modals/CometChatMessageOption.d.ts +13 -0
- package/lib/shared/modals/CometChatMessageOption.js +2 -0
- package/lib/shared/modals/CometChatMessageOption.js.map +1 -0
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +24 -0
- package/lib/shared/modals/CometChatMessageTemplate.js +20 -0
- package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -0
- package/lib/shared/modals/CometChatOptions.d.ts +14 -0
- package/lib/shared/modals/CometChatOptions.js +2 -0
- package/lib/shared/modals/CometChatOptions.js.map +1 -0
- package/lib/shared/modals/index.d.ts +6 -0
- package/lib/shared/modals/index.js +3 -0
- package/lib/shared/modals/index.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +3603 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +164 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/index.d.ts +2 -0
- package/lib/shared/resources/CometChatLocalize/index.js +3 -0
- package/lib/shared/resources/CometChatLocalize/index.js.map +1 -0
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +264 -0
- package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +264 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +13 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +82 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/index.d.ts +2 -0
- package/lib/shared/resources/CometChatSoundManager/index.js +3 -0
- package/lib/shared/resources/CometChatSoundManager/index.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/resources/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 +118 -0
- package/lib/shared/resources/CometChatTheme/Palette.js +389 -0
- package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/Typography.d.ts +80 -0
- package/lib/shared/resources/CometChatTheme/Typography.js +212 -0
- package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -0
- package/lib/shared/resources/CometChatTheme/index.d.ts +2 -0
- package/lib/shared/resources/CometChatTheme/index.js +3 -0
- package/lib/shared/resources/CometChatTheme/index.js.map +1 -0
- package/lib/shared/resources/index.d.ts +4 -0
- package/lib/shared/resources/index.js +5 -0
- package/lib/shared/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +15 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +87 -0
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +20 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +27 -0
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/index.d.ts +1 -0
- package/lib/shared/utils/CometChatLiveReactions/index.js +2 -0
- package/lib/shared/utils/CometChatLiveReactions/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/heart.png +0 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +2 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js +3 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatLiveReactions/style.d.ts +5 -0
- package/lib/shared/utils/CometChatLiveReactions/style.js +7 -0
- package/lib/shared/utils/CometChatLiveReactions/style.js.map +1 -0
- package/lib/shared/utils/CometChatMessageHelper/index.d.ts +12 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js +42 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +49 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +106 -0
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +24 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +23 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +31 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +29 -0
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/index.d.ts +4 -0
- package/lib/shared/utils/CometChatMessagePreview/index.js +5 -0
- package/lib/shared/utils/CometChatMessagePreview/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +2 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js +3 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +1 -0
- package/lib/shared/utils/CometChatMessagePreview/style.d.ts +8 -0
- package/lib/shared/utils/CometChatMessagePreview/style.js +57 -0
- package/lib/shared/utils/CometChatMessagePreview/style.js.map +1 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +13 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js +295 -0
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -0
- package/lib/shared/utils/DetailsUtils/resources/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 +17 -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/conversationUtils.d.ts +7 -0
- package/lib/shared/utils/conversationUtils.js +73 -0
- package/lib/shared/utils/conversationUtils.js.map +1 -0
- package/lib/shared/utils/index.d.ts +6 -0
- package/lib/shared/utils/index.js +7 -0
- package/lib/shared/utils/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +49 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.js +38 -0
- package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +43 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +49 -0
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +23 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +170 -0
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/hooks.d.ts +1 -0
- package/lib/shared/views/CometChatActionSheet/hooks.js +7 -0
- package/lib/shared/views/CometChatActionSheet/hooks.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/index.d.ts +3 -0
- package/lib/shared/views/CometChatActionSheet/index.js +4 -0
- package/lib/shared/views/CometChatActionSheet/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/resources/grid.png +0 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +4 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.js +7 -0
- package/lib/shared/views/CometChatActionSheet/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatActionSheet/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 +92 -0
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatAudioBubble/index.js +4 -0
- package/lib/shared/views/CometChatAudioBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +3 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.js +4 -0
- package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatAudioBubble/resources/pause.png +0 -0
- package/lib/shared/views/CometChatAudioBubble/resources/play.png +0 -0
- package/lib/shared/views/CometChatAudioBubble/style.d.ts +26 -0
- package/lib/shared/views/CometChatAudioBubble/style.js +28 -0
- package/lib/shared/views/CometChatAudioBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +19 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +19 -0
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +28 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js +38 -0
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +25 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +88 -0
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/index.d.ts +4 -0
- package/lib/shared/views/CometChatAvatar/index.js +5 -0
- package/lib/shared/views/CometChatAvatar/index.js.map +1 -0
- package/lib/shared/views/CometChatAvatar/resources/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 +23 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.js +48 -0
- package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -0
- package/lib/shared/views/CometChatBadge/index.d.ts +4 -0
- package/lib/shared/views/CometChatBadge/index.js +5 -0
- package/lib/shared/views/CometChatBadge/index.js.map +1 -0
- package/lib/shared/views/CometChatBadge/styles.d.ts +14 -0
- package/lib/shared/views/CometChatBadge/styles.js +17 -0
- package/lib/shared/views/CometChatBadge/styles.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +18 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +99 -0
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/index.d.ts +2 -0
- package/lib/shared/views/CometChatBottomSheet/index.js +3 -0
- package/lib/shared/views/CometChatBottomSheet/index.js.map +1 -0
- package/lib/shared/views/CometChatBottomSheet/style.d.ts +50 -0
- package/lib/shared/views/CometChatBottomSheet/style.js +52 -0
- package/lib/shared/views/CometChatBottomSheet/style.js.map +1 -0
- package/lib/shared/views/CometChatButton/CometChatButton.d.ts +10 -0
- package/lib/shared/views/CometChatButton/CometChatButton.js +30 -0
- package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +18 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +25 -0
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +1 -0
- package/lib/shared/views/CometChatButton/index.d.ts +3 -0
- package/lib/shared/views/CometChatButton/index.js +4 -0
- package/lib/shared/views/CometChatButton/index.js.map +1 -0
- package/lib/shared/views/CometChatButton/style.d.ts +6 -0
- package/lib/shared/views/CometChatButton/style.js +8 -0
- package/lib/shared/views/CometChatButton/style.js.map +1 -0
- package/lib/shared/views/CometChatCard/CometChatCard.d.ts +15 -0
- package/lib/shared/views/CometChatCard/CometChatCard.js +35 -0
- package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +10 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js +17 -0
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +1 -0
- package/lib/shared/views/CometChatCard/index.d.ts +3 -0
- package/lib/shared/views/CometChatCard/index.js +4 -0
- package/lib/shared/views/CometChatCard/index.js.map +1 -0
- package/lib/shared/views/CometChatCard/style.d.ts +11 -0
- package/lib/shared/views/CometChatCard/style.js +13 -0
- package/lib/shared/views/CometChatCard/style.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +25 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +90 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +24 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +19 -0
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/index.d.ts +3 -0
- package/lib/shared/views/CometChatConfirmDialog/index.js +3 -0
- package/lib/shared/views/CometChatConfirmDialog/index.js.map +1 -0
- package/lib/shared/views/CometChatConfirmDialog/style.d.ts +61 -0
- package/lib/shared/views/CometChatConfirmDialog/style.js +63 -0
- package/lib/shared/views/CometChatConfirmDialog/style.js.map +1 -0
- package/lib/shared/views/CometChatDate/CometChatDate.d.ts +41 -0
- package/lib/shared/views/CometChatDate/CometChatDate.js +140 -0
- package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +21 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.js +19 -0
- package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatDate/DateStyle.d.ts +11 -0
- package/lib/shared/views/CometChatDate/DateStyle.js +16 -0
- package/lib/shared/views/CometChatDate/DateStyle.js.map +1 -0
- package/lib/shared/views/CometChatDate/index.d.ts +4 -0
- package/lib/shared/views/CometChatDate/index.js +5 -0
- package/lib/shared/views/CometChatDate/index.js.map +1 -0
- package/lib/shared/views/CometChatDate/style.d.ts +5 -0
- package/lib/shared/views/CometChatDate/style.js +8 -0
- package/lib/shared/views/CometChatDate/style.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +38 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +136 -0
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +16 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +17 -0
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +21 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +22 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +19 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +20 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +27 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +33 -0
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +8218 -0
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +4 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.js +5 -0
- package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +1 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/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 +10 -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 +63 -0
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +31 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +23 -0
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatFileBubble/index.js +4 -0
- package/lib/shared/views/CometChatFileBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/resources/download.png +0 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +2 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.js +3 -0
- package/lib/shared/views/CometChatFileBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatFileBubble/style.d.ts +42 -0
- package/lib/shared/views/CometChatFileBubble/style.js +45 -0
- package/lib/shared/views/CometChatFileBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +29 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +34 -0
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +10 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +13 -0
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatImageBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatImageBubble/index.js +4 -0
- package/lib/shared/views/CometChatImageBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatList/CometChatList.d.ts +84 -0
- package/lib/shared/views/CometChatList/CometChatList.js +396 -0
- package/lib/shared/views/CometChatList/CometChatList.js.map +1 -0
- package/lib/shared/views/CometChatList/Header.d.ts +2 -0
- package/lib/shared/views/CometChatList/Header.js +71 -0
- package/lib/shared/views/CometChatList/Header.js.map +1 -0
- package/lib/shared/views/CometChatList/index.d.ts +2 -0
- package/lib/shared/views/CometChatList/index.js +3 -0
- package/lib/shared/views/CometChatList/index.js.map +1 -0
- package/lib/shared/views/CometChatList/resources/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 +13 -0
- package/lib/shared/views/CometChatList/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatList/styles.d.ts +99 -0
- package/lib/shared/views/CometChatList/styles.js +102 -0
- package/lib/shared/views/CometChatList/styles.js.map +1 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +37 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.js +173 -0
- package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +6 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +9 -0
- package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +27 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.js +34 -0
- package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +1 -0
- package/lib/shared/views/CometChatListItem/index.d.ts +4 -0
- package/lib/shared/views/CometChatListItem/index.js +5 -0
- package/lib/shared/views/CometChatListItem/index.js.map +1 -0
- package/lib/shared/views/CometChatListItem/style.d.ts +61 -0
- package/lib/shared/views/CometChatListItem/style.js +61 -0
- package/lib/shared/views/CometChatListItem/style.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +21 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +41 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +6 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +13 -0
- package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/index.d.ts +2 -0
- package/lib/shared/views/CometChatMessageBubble/index.js +3 -0
- package/lib/shared/views/CometChatMessageBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatMessageBubble/style.d.ts +0 -0
- package/lib/shared/views/CometChatMessageBubble/style.js +1 -0
- package/lib/shared/views/CometChatMessageBubble/style.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +98 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +50 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/index.d.ts +2 -0
- package/lib/shared/views/CometChatMessageInput/index.js +3 -0
- package/lib/shared/views/CometChatMessageInput/index.js.map +1 -0
- package/lib/shared/views/CometChatMessageInput/styles.d.ts +6 -0
- package/lib/shared/views/CometChatMessageInput/styles.js +8 -0
- package/lib/shared/views/CometChatMessageInput/styles.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +30 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +48 -0
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +30 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +39 -0
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +3 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +4 -0
- package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/index.d.ts +3 -0
- package/lib/shared/views/CometChatReceipt/index.js +4 -0
- package/lib/shared/views/CometChatReceipt/index.js.map +1 -0
- package/lib/shared/views/CometChatReceipt/resources/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/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +25 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +40 -0
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +17 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +16 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +20 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +22 -0
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/index.d.ts +4 -0
- package/lib/shared/views/CometChatStatusIndicator/index.js +5 -0
- package/lib/shared/views/CometChatStatusIndicator/index.js.map +1 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +12 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.js +15 -0
- package/lib/shared/views/CometChatStatusIndicator/styles.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +27 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +84 -0
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +26 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +21 -0
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatTextBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatTextBubble/index.js +4 -0
- package/lib/shared/views/CometChatTextBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +31 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +35 -0
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +16 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +17 -0
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/index.d.ts +3 -0
- package/lib/shared/views/CometChatVideoBubble/index.js +4 -0
- package/lib/shared/views/CometChatVideoBubble/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +2 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.js +3 -0
- package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +1 -0
- package/lib/shared/views/CometChatVideoBubble/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/SwipeRow/SwipeRow.d.ts +8 -0
- package/lib/shared/views/SwipeRow/SwipeRow.js +79 -0
- package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -0
- package/lib/shared/views/SwipeRow/index.d.ts +2 -0
- package/lib/shared/views/SwipeRow/index.js +3 -0
- package/lib/shared/views/SwipeRow/index.js.map +1 -0
- package/lib/shared/views/SwipeRow/style.d.ts +28 -0
- package/lib/shared/views/SwipeRow/style.js +28 -0
- package/lib/shared/views/SwipeRow/style.js.map +1 -0
- package/lib/shared/views/index.d.ts +17 -0
- package/lib/shared/views/index.js +20 -0
- package/lib/shared/views/index.js.map +1 -0
- package/package.json +153 -0
- package/react-native-cometchat-ui-kit.podspec +36 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
//@ts-ignore
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
const styles = StyleSheet.create({
|
|
4
|
+
containerStyle: {
|
|
5
|
+
flex: 1,
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
justifyContent: 'center',
|
|
8
|
+
position: 'relative',
|
|
9
|
+
paddingStart: 16,
|
|
10
|
+
paddingEnd: 16,
|
|
11
|
+
alignSelf: 'center',
|
|
12
|
+
},
|
|
13
|
+
container: {
|
|
14
|
+
flex: 1,
|
|
15
|
+
width: '100%',
|
|
16
|
+
},
|
|
17
|
+
listBaseHeaderStyle: {
|
|
18
|
+
alignItems: 'flex-start',
|
|
19
|
+
justifyContent: 'center',
|
|
20
|
+
width: '100%',
|
|
21
|
+
borderRadius: 0,
|
|
22
|
+
},
|
|
23
|
+
upperContainer: {
|
|
24
|
+
flexDirection: 'row',
|
|
25
|
+
justifyContent: 'space-between',
|
|
26
|
+
alignItems: 'center',
|
|
27
|
+
width: '100%',
|
|
28
|
+
},
|
|
29
|
+
headerLeftContainer: {
|
|
30
|
+
flexDirection: 'row',
|
|
31
|
+
alignItems: 'center',
|
|
32
|
+
justifyContent: 'center',
|
|
33
|
+
height: 55,
|
|
34
|
+
},
|
|
35
|
+
searchBox: {
|
|
36
|
+
height: 36,
|
|
37
|
+
flexDirection: 'row',
|
|
38
|
+
justifyContent: 'center',
|
|
39
|
+
alignItems: 'flex-start',
|
|
40
|
+
marginHorizontal: 2,
|
|
41
|
+
marginBottom: 16,
|
|
42
|
+
overflow: 'hidden',
|
|
43
|
+
},
|
|
44
|
+
titleStyle: {
|
|
45
|
+
fontSize: 20,
|
|
46
|
+
fontWeight: '600',
|
|
47
|
+
color: '#000',
|
|
48
|
+
},
|
|
49
|
+
backButtonStyle: {
|
|
50
|
+
width: 20,
|
|
51
|
+
height: 20,
|
|
52
|
+
marginRight: 10,
|
|
53
|
+
},
|
|
54
|
+
searchTextStyle: {
|
|
55
|
+
flex: 1,
|
|
56
|
+
padding: 5,
|
|
57
|
+
fontSize: 17,
|
|
58
|
+
fontWeight: '400',
|
|
59
|
+
marginLeft: 8,
|
|
60
|
+
alignSelf: "center"
|
|
61
|
+
},
|
|
62
|
+
searchButtonStyle: {
|
|
63
|
+
width: 16,
|
|
64
|
+
height: 16,
|
|
65
|
+
marginLeft: 11,
|
|
66
|
+
marginTop: 10,
|
|
67
|
+
marginBottom: 10,
|
|
68
|
+
},
|
|
69
|
+
msgContainerStyle: {
|
|
70
|
+
flex: 1,
|
|
71
|
+
overflow: 'hidden',
|
|
72
|
+
width: '100%',
|
|
73
|
+
justifyContent: 'center',
|
|
74
|
+
alignItems: 'center',
|
|
75
|
+
},
|
|
76
|
+
msgTxtStyle: {
|
|
77
|
+
justifyContent: 'center',
|
|
78
|
+
alignItems: 'center',
|
|
79
|
+
alignSelf: 'center',
|
|
80
|
+
textAlign: 'center',
|
|
81
|
+
width: '100%',
|
|
82
|
+
},
|
|
83
|
+
headerLetterStyle: {
|
|
84
|
+
height: 24,
|
|
85
|
+
fontWeight: '500',
|
|
86
|
+
fontFamily: undefined,
|
|
87
|
+
fontSize: 13,
|
|
88
|
+
marginTop: 8,
|
|
89
|
+
},
|
|
90
|
+
dividerStyle: {
|
|
91
|
+
height: 1,
|
|
92
|
+
width: '100%',
|
|
93
|
+
marginLeft: 16,
|
|
94
|
+
marginRight: 16,
|
|
95
|
+
},
|
|
96
|
+
listContainerStyle: {
|
|
97
|
+
width: '100%',
|
|
98
|
+
height: '100%',
|
|
99
|
+
},
|
|
100
|
+
});
|
|
101
|
+
export default styles;
|
|
102
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatList/styles.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,cAAc,EAAE;QACd,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,UAAU;QACpB,YAAY,EAAE,EAAE;QAChB,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,QAAQ;KACpB;IACD,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,MAAM;KACd;IACD,mBAAmB,EAAE;QACnB,UAAU,EAAE,YAAY;QACxB,cAAc,EAAE,QAAQ;QACxB,KAAK,EAAE,MAAM;QACb,YAAY,EAAE,CAAC;KAChB;IACD,cAAc,EAAE;QACd,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,eAAe;QAC/B,UAAU,EAAE,QAAQ;QACpB,KAAK,EAAE,MAAM;KACd;IACD,mBAAmB,EAAE;QACnB,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,MAAM,EAAE,EAAE;KACX;IACD,SAAS,EAAE;QACT,MAAM,EAAE,EAAE;QACV,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,YAAY;QACxB,gBAAgB,EAAE,CAAC;QACnB,YAAY,EAAE,EAAE;QAChB,QAAQ,EAAE,QAAQ;K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, ViewStyle } from 'react-native';
|
|
3
|
+
import { ListItemStyle } from './ListItemStyle';
|
|
4
|
+
import { ImageType } from '../../base';
|
|
5
|
+
import { AvatarStyleInterface } from '../CometChatAvatar/AvatarStyle';
|
|
6
|
+
import { CometChatOptions } from '../../modals';
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* This component used to display list Item.
|
|
10
|
+
*/
|
|
11
|
+
export interface CometChatListItemInterface {
|
|
12
|
+
id: string | number;
|
|
13
|
+
avatarURL?: ImageType;
|
|
14
|
+
avatarName?: string;
|
|
15
|
+
avatarStyle?: AvatarStyleInterface;
|
|
16
|
+
statusIndicatorColor?: string;
|
|
17
|
+
statusIndicatorIcon?: ImageType;
|
|
18
|
+
statusIndicatorStyle?: StyleProp<ViewStyle>;
|
|
19
|
+
title?: string;
|
|
20
|
+
SubtitleView?: React.FC;
|
|
21
|
+
options?: () => CometChatOptions[];
|
|
22
|
+
TailView?: React.FC;
|
|
23
|
+
hideSeparator?: boolean;
|
|
24
|
+
listItemStyle?: ListItemStyle;
|
|
25
|
+
onPress?: Function;
|
|
26
|
+
onLongPress?: Function;
|
|
27
|
+
headViewContainerStyle?: StyleProp<ViewStyle>;
|
|
28
|
+
tailViewContainerStyle?: StyleProp<ViewStyle>;
|
|
29
|
+
bodyViewContainerStyle?: StyleProp<ViewStyle>;
|
|
30
|
+
}
|
|
31
|
+
export declare const CometChatListItem: {
|
|
32
|
+
(props: CometChatListItemInterface): React.JSX.Element;
|
|
33
|
+
defaultProps: {
|
|
34
|
+
listItemStyle: ListItemStyle;
|
|
35
|
+
hideSeparator: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import React, { useContext, useEffect, useState } from 'react';
|
|
2
|
+
import { View, Text, TouchableOpacity, Image, FlatList,
|
|
3
|
+
//@ts-ignore
|
|
4
|
+
} from 'react-native';
|
|
5
|
+
import { CometChatAvatar } from "../../views/CometChatAvatar";
|
|
6
|
+
import { CometChatStatusIndicator } from '../../views/CometChatStatusIndicator';
|
|
7
|
+
import { CometChatContext } from "../../CometChatContext";
|
|
8
|
+
import SwipeRow from '../../helper/SwipeRow';
|
|
9
|
+
import { ListItemStyle } from './ListItemStyle';
|
|
10
|
+
import { Style } from './style';
|
|
11
|
+
export const CometChatListItem = (props) => {
|
|
12
|
+
//state for translateX
|
|
13
|
+
const [translate, setTranslate] = useState(0);
|
|
14
|
+
const { theme } = useContext(CometChatContext);
|
|
15
|
+
const { id, avatarURL, avatarName, avatarStyle, statusIndicatorColor, statusIndicatorIcon, statusIndicatorStyle, title, SubtitleView, options, TailView, hideSeparator, headViewContainerStyle, tailViewContainerStyle, bodyViewContainerStyle, onPress, onLongPress, } = props;
|
|
16
|
+
const defaultlistItemStyleProps = new ListItemStyle({
|
|
17
|
+
backgroundColor: theme.palette.getBackgroundColor(),
|
|
18
|
+
titleColor: theme.palette.getAccent(),
|
|
19
|
+
titleFont: theme.typography.name,
|
|
20
|
+
});
|
|
21
|
+
const listItemStyle = {
|
|
22
|
+
...defaultlistItemStyleProps,
|
|
23
|
+
...props.listItemStyle,
|
|
24
|
+
border: {
|
|
25
|
+
...defaultlistItemStyleProps.border,
|
|
26
|
+
...props.listItemStyle?.border,
|
|
27
|
+
},
|
|
28
|
+
titleFont: {
|
|
29
|
+
...defaultlistItemStyleProps.titleFont,
|
|
30
|
+
...props.listItemStyle?.titleFont,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
const [swipeRowOptions, setSwipeRowOptions] = useState([]);
|
|
34
|
+
let cancelClick = false;
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
if (options) {
|
|
37
|
+
let rowOptions = options();
|
|
38
|
+
if (rowOptions)
|
|
39
|
+
setSwipeRowOptions(rowOptions);
|
|
40
|
+
}
|
|
41
|
+
}, []);
|
|
42
|
+
/**
|
|
43
|
+
* Component to be display the user status
|
|
44
|
+
*/
|
|
45
|
+
const PresenceView = () => {
|
|
46
|
+
return (<CometChatStatusIndicator backgroundImage={statusIndicatorIcon} style={{
|
|
47
|
+
...Style.defaultStatusStyle,
|
|
48
|
+
...(statusIndicatorStyle ? statusIndicatorStyle : {}),
|
|
49
|
+
}} backgroundColor={statusIndicatorColor ? statusIndicatorColor : ''}/>);
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Component to be display the avatar
|
|
53
|
+
*/
|
|
54
|
+
const AvatarView = () => {
|
|
55
|
+
return (<View style={[Style.avatarViewStyle, headViewContainerStyle ?? {}]}>
|
|
56
|
+
<CometChatAvatar style={avatarStyle} image={avatarURL} name={avatarName}/>
|
|
57
|
+
{(statusIndicatorIcon || statusIndicatorColor?.length !== 0) && (<PresenceView />)}
|
|
58
|
+
</View>);
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Component to be display the Title
|
|
62
|
+
*/
|
|
63
|
+
const TitleView = () => {
|
|
64
|
+
return (<View>
|
|
65
|
+
<Text numberOfLines={1} ellipsizeMode="tail" style={[
|
|
66
|
+
Style.titleTextStyle,
|
|
67
|
+
{
|
|
68
|
+
color: listItemStyle.titleColor,
|
|
69
|
+
},
|
|
70
|
+
listItemStyle.titleFont,
|
|
71
|
+
]}>
|
|
72
|
+
{title}
|
|
73
|
+
</Text>
|
|
74
|
+
</View>);
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* CallBack Function when user click on the option
|
|
78
|
+
*/
|
|
79
|
+
const clickHandler = () => {
|
|
80
|
+
!cancelClick && onPress && typeof onPress == 'function' && onPress(id);
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* CallBack Function when user longPress on the option
|
|
84
|
+
*/
|
|
85
|
+
const longPressHandler = () => {
|
|
86
|
+
!cancelClick &&
|
|
87
|
+
onLongPress &&
|
|
88
|
+
typeof onLongPress == 'function' &&
|
|
89
|
+
onLongPress(id);
|
|
90
|
+
};
|
|
91
|
+
const onLayout = (event) => {
|
|
92
|
+
const { width } = event.nativeEvent.layout;
|
|
93
|
+
setTranslate(width);
|
|
94
|
+
};
|
|
95
|
+
const rowOpened = () => {
|
|
96
|
+
cancelClick = true;
|
|
97
|
+
};
|
|
98
|
+
const rowClosed = () => {
|
|
99
|
+
cancelClick = false;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Component to be display the Tail section
|
|
103
|
+
*/
|
|
104
|
+
const TailViewFc = () => {
|
|
105
|
+
return (<View style={[Style.tailViewStyle, tailViewContainerStyle ?? {}]}>
|
|
106
|
+
<TailView />
|
|
107
|
+
</View>);
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Component to be display the Options in list after swipe
|
|
111
|
+
*/
|
|
112
|
+
const OptionsListItem = ({ item }) => {
|
|
113
|
+
return (<TouchableOpacity onPress={() => item.onPress(id)} style={[
|
|
114
|
+
Style.rightActionButtonStyle,
|
|
115
|
+
{
|
|
116
|
+
backgroundColor: item?.backgroundColor ?? theme.palette.getError(),
|
|
117
|
+
},
|
|
118
|
+
]}>
|
|
119
|
+
<View style={Style.optionButtonViewStyle}>
|
|
120
|
+
<Image style={[
|
|
121
|
+
Style.optionButtonImageStyle,
|
|
122
|
+
{ tintColor: item.iconTint || '' },
|
|
123
|
+
]} resizeMode="contain" source={typeof item.icon === 'string' ? { uri: item.icon } : item.icon}/>
|
|
124
|
+
{item.title && item.title.length && (<Text style={[
|
|
125
|
+
Style.optionTitleStyle,
|
|
126
|
+
item.titleStyle ?? theme.typography.text1,
|
|
127
|
+
]}>
|
|
128
|
+
{item.title}
|
|
129
|
+
</Text>)}
|
|
130
|
+
</View>
|
|
131
|
+
</TouchableOpacity>);
|
|
132
|
+
};
|
|
133
|
+
return (<SwipeRow key={id} onRowDidOpen={rowOpened} onRowDidClose={rowClosed} disableRightSwipe={true} disableLeftSwipe={!swipeRowOptions.length} rightOpenValue={0 - translate}>
|
|
134
|
+
<View style={[
|
|
135
|
+
Style.optionStyle,
|
|
136
|
+
{
|
|
137
|
+
height: listItemStyle.height ?? 50,
|
|
138
|
+
},
|
|
139
|
+
]}>
|
|
140
|
+
<View onLayout={onLayout} style={Style.optionStyleContainer}>
|
|
141
|
+
{swipeRowOptions.length !== 0 && (<FlatList horizontal data={swipeRowOptions.slice(0, 3)} renderItem={OptionsListItem} keyExtractor={(_, i) => _.id ?? i}/>)}
|
|
142
|
+
</View>
|
|
143
|
+
</View>
|
|
144
|
+
<TouchableOpacity activeOpacity={1} onPress={clickHandler} onLongPress={longPressHandler} style={[
|
|
145
|
+
Style.container,
|
|
146
|
+
{
|
|
147
|
+
backgroundColor: listItemStyle.backgroundColor,
|
|
148
|
+
borderRadius: listItemStyle?.borderRadius ?? 0,
|
|
149
|
+
borderWidth: listItemStyle?.border?.borderWidth ?? 0,
|
|
150
|
+
borderColor: listItemStyle?.border?.borderColor ?? 'black',
|
|
151
|
+
borderStyle: listItemStyle?.border?.borderStyle ?? 'solid',
|
|
152
|
+
height: listItemStyle?.height ?? 72,
|
|
153
|
+
},
|
|
154
|
+
]}>
|
|
155
|
+
{(avatarURL || avatarName) && <AvatarView />}
|
|
156
|
+
<View style={[
|
|
157
|
+
Style.rightContainerStyle,
|
|
158
|
+
{ borderBottomWidth: hideSeparator ? 0 : 1 },
|
|
159
|
+
]}>
|
|
160
|
+
<View style={[Style.middleViewStyle, bodyViewContainerStyle ?? {}]}>
|
|
161
|
+
{title && <TitleView />}
|
|
162
|
+
{SubtitleView && <SubtitleView />}
|
|
163
|
+
</View>
|
|
164
|
+
{TailView && <TailViewFc />}
|
|
165
|
+
</View>
|
|
166
|
+
</TouchableOpacity>
|
|
167
|
+
</SwipeRow>);
|
|
168
|
+
};
|
|
169
|
+
CometChatListItem.defaultProps = {
|
|
170
|
+
listItemStyle: new ListItemStyle({}),
|
|
171
|
+
hideSeparator: true,
|
|
172
|
+
};
|
|
173
|
+
//# sourceMappingURL=CometChatListItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CometChatListItem.js","sourceRoot":"","sources":["../../../../src/sh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|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CometChatListItemInterface } from './CometChatListItem';
|
|
2
|
+
export interface ListItemConfigurationInterface extends Omit<CometChatListItemInterface, 'id' | 'avatarURL' | 'avatarName' | 'statusIndicatorColor' | 'statusIndicatorIcon' | 'title'> {
|
|
3
|
+
}
|
|
4
|
+
export declare class ListItemConfiguration {
|
|
5
|
+
constructor(props: ListItemConfigurationInterface);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemConfiguration.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatListItem/ListItemConfiguration.tsx"],"names":[],"mappings":"AAYA,MAAM,OAAO,qBAAqB;IAChC,YAAY,KAAqC;QAC/C,IAAI,KAAK;YACP,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBAChD,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;aACnB;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseStyle, BaseStyleInterface, FontStyleInterface } from '../../base';
|
|
2
|
+
/**
|
|
3
|
+
* @class ListItemStyle
|
|
4
|
+
* @description ListItemStyle class is used for defining the ListItemStyle template.
|
|
5
|
+
* @param {any} width
|
|
6
|
+
* @param {any} height
|
|
7
|
+
* @param {string} backgroundColor
|
|
8
|
+
* @param {object} border
|
|
9
|
+
* @param {any} borderRadius
|
|
10
|
+
* @param {string} titleColor
|
|
11
|
+
* @param {object} titleFont
|
|
12
|
+
* @param {string} subtitleColor
|
|
13
|
+
* @param {object} subtitleFont
|
|
14
|
+
* @param {string} typingIndicatorTextColor
|
|
15
|
+
* @param {object} typingIndicatorTextFont
|
|
16
|
+
* @param {string} threadIndicatorTextColor
|
|
17
|
+
* @param {object} threadIndicatorTextFont
|
|
18
|
+
*/
|
|
19
|
+
export declare class ListItemStyle extends BaseStyle {
|
|
20
|
+
titleColor?: string;
|
|
21
|
+
titleFont?: FontStyleInterface;
|
|
22
|
+
constructor({ width, height, backgroundColor, border, borderRadius, titleColor, titleFont, }: ListItemStyleInterface);
|
|
23
|
+
}
|
|
24
|
+
export interface ListItemStyleInterface extends BaseStyleInterface {
|
|
25
|
+
titleColor?: string;
|
|
26
|
+
titleFont?: FontStyleInterface;
|
|
27
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { BaseStyle } from '../../base';
|
|
2
|
+
/**
|
|
3
|
+
* @class ListItemStyle
|
|
4
|
+
* @description ListItemStyle class is used for defining the ListItemStyle template.
|
|
5
|
+
* @param {any} width
|
|
6
|
+
* @param {any} height
|
|
7
|
+
* @param {string} backgroundColor
|
|
8
|
+
* @param {object} border
|
|
9
|
+
* @param {any} borderRadius
|
|
10
|
+
* @param {string} titleColor
|
|
11
|
+
* @param {object} titleFont
|
|
12
|
+
* @param {string} subtitleColor
|
|
13
|
+
* @param {object} subtitleFont
|
|
14
|
+
* @param {string} typingIndicatorTextColor
|
|
15
|
+
* @param {object} typingIndicatorTextFont
|
|
16
|
+
* @param {string} threadIndicatorTextColor
|
|
17
|
+
* @param {object} threadIndicatorTextFont
|
|
18
|
+
*/
|
|
19
|
+
export class ListItemStyle extends BaseStyle {
|
|
20
|
+
titleColor;
|
|
21
|
+
titleFont;
|
|
22
|
+
constructor({ width = '100%', height = 72, backgroundColor = 'white', border = { borderWidth: 0, borderStyle: 'solid', borderColor: 'black' }, borderRadius = 0, titleColor = 'rgb(20,20,20)', titleFont = { fontSize: 17, fontWeight: '500' }, }) {
|
|
23
|
+
super({
|
|
24
|
+
width,
|
|
25
|
+
height,
|
|
26
|
+
backgroundColor,
|
|
27
|
+
border,
|
|
28
|
+
borderRadius,
|
|
29
|
+
});
|
|
30
|
+
this.titleColor = titleColor;
|
|
31
|
+
this.titleFont = titleFont;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=ListItemStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemStyle.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatListItem/ListItemStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA0C,MAAM,YAAY,CAAC;AAE/E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C,UAAU,CAAU;IACpB,SAAS,CAAqB;IAE9B,YAAY,EACV,KAAK,GAAG,MAAM,EACd,MAAM,GAAG,EAAE,EACX,eAAe,GAAG,OAAO,EACzB,MAAM,GAAG,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,EACvE,YAAY,GAAG,CAAC,EAChB,UAAU,GAAG,eAAe,EAC5B,SAAS,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,GACxB;QACvB,KAAK,CAAC;YACJ,KAAK;YACL,MAAM;YACN,eAAe;YACf,MAAM;YACN,YAAY;SACb,CAAC,CAAC;QACH,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;CACF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CometChatListItem, CometChatListItemInterface } from './CometChatListItem';
|
|
2
|
+
import { ListItemStyle, ListItemStyleInterface } from './ListItemStyle';
|
|
3
|
+
import { ListItemConfiguration, ListItemConfigurationInterface } from './ListItemConfiguration';
|
|
4
|
+
export { CometChatListItem, ListItemStyle, CometChatListItemInterface, ListItemStyleInterface, ListItemConfiguration, ListItemConfigurationInterface, };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CometChatListItem, } from './CometChatListItem';
|
|
2
|
+
import { ListItemStyle } from './ListItemStyle';
|
|
3
|
+
import { ListItemConfiguration } from './ListItemConfiguration';
|
|
4
|
+
export { CometChatListItem, ListItemStyle, ListItemConfiguration, };
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatListItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAA0B,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAkC,MAAM,yBAAyB,CAAC;AAChG,OAAO,EACL,iBAAiB,EACjB,aAAa,EAGb,qBAAqB,GAEtB,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const Style: {
|
|
2
|
+
container: {
|
|
3
|
+
flexDirection: "row";
|
|
4
|
+
width: string;
|
|
5
|
+
};
|
|
6
|
+
rightContainerStyle: {
|
|
7
|
+
flexDirection: "row";
|
|
8
|
+
flex: number;
|
|
9
|
+
};
|
|
10
|
+
avatarViewStyle: {
|
|
11
|
+
margin: number;
|
|
12
|
+
justifyContent: "center";
|
|
13
|
+
};
|
|
14
|
+
defaultStatusStyle: {
|
|
15
|
+
position: "absolute";
|
|
16
|
+
end: number;
|
|
17
|
+
top: string;
|
|
18
|
+
};
|
|
19
|
+
middleViewStyle: {
|
|
20
|
+
flexDirection: "column";
|
|
21
|
+
flex: number;
|
|
22
|
+
justifyContent: "center";
|
|
23
|
+
paddingStart: number;
|
|
24
|
+
overflow: "hidden";
|
|
25
|
+
};
|
|
26
|
+
titleTextStyle: {
|
|
27
|
+
opacity: number;
|
|
28
|
+
textAlign: "left";
|
|
29
|
+
};
|
|
30
|
+
tailViewStyle: {
|
|
31
|
+
marginHorizontal: number;
|
|
32
|
+
alignItems: "flex-end";
|
|
33
|
+
justifyContent: "center";
|
|
34
|
+
};
|
|
35
|
+
optionStyle: {
|
|
36
|
+
position: "absolute";
|
|
37
|
+
end: number;
|
|
38
|
+
};
|
|
39
|
+
optionStyleContainer: {
|
|
40
|
+
height: string;
|
|
41
|
+
};
|
|
42
|
+
rightActionButtonStyle: {
|
|
43
|
+
height: string;
|
|
44
|
+
alignSelf: "center";
|
|
45
|
+
width: number;
|
|
46
|
+
justifyContent: "center";
|
|
47
|
+
};
|
|
48
|
+
optionButtonViewStyle: {
|
|
49
|
+
height: string;
|
|
50
|
+
alignItems: "center";
|
|
51
|
+
justifyContent: "center";
|
|
52
|
+
};
|
|
53
|
+
optionButtonImageStyle: {
|
|
54
|
+
height: number;
|
|
55
|
+
width: number;
|
|
56
|
+
};
|
|
57
|
+
optionTitleStyle: {
|
|
58
|
+
fontWeight: "500";
|
|
59
|
+
fontSize: number;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//@ts-ignore
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
export const Style = StyleSheet.create({
|
|
4
|
+
container: {
|
|
5
|
+
flexDirection: 'row',
|
|
6
|
+
width: '100%',
|
|
7
|
+
},
|
|
8
|
+
rightContainerStyle: {
|
|
9
|
+
flexDirection: 'row',
|
|
10
|
+
flex: 1,
|
|
11
|
+
},
|
|
12
|
+
avatarViewStyle: {
|
|
13
|
+
margin: 4,
|
|
14
|
+
justifyContent: 'center',
|
|
15
|
+
},
|
|
16
|
+
defaultStatusStyle: {
|
|
17
|
+
position: 'absolute',
|
|
18
|
+
end: 0,
|
|
19
|
+
top: '60%',
|
|
20
|
+
},
|
|
21
|
+
middleViewStyle: {
|
|
22
|
+
flexDirection: 'column',
|
|
23
|
+
flex: 1,
|
|
24
|
+
justifyContent: 'center',
|
|
25
|
+
paddingStart: 4,
|
|
26
|
+
overflow: 'hidden',
|
|
27
|
+
},
|
|
28
|
+
titleTextStyle: {
|
|
29
|
+
opacity: 1,
|
|
30
|
+
textAlign: 'left',
|
|
31
|
+
},
|
|
32
|
+
tailViewStyle: {
|
|
33
|
+
marginHorizontal: 6,
|
|
34
|
+
alignItems: 'flex-end',
|
|
35
|
+
justifyContent: 'center',
|
|
36
|
+
},
|
|
37
|
+
optionStyle: {
|
|
38
|
+
position: 'absolute',
|
|
39
|
+
end: 0,
|
|
40
|
+
},
|
|
41
|
+
optionStyleContainer: {
|
|
42
|
+
height: '100%',
|
|
43
|
+
},
|
|
44
|
+
rightActionButtonStyle: {
|
|
45
|
+
height: '95%',
|
|
46
|
+
alignSelf: 'center',
|
|
47
|
+
width: 64,
|
|
48
|
+
justifyContent: 'center',
|
|
49
|
+
},
|
|
50
|
+
optionButtonViewStyle: {
|
|
51
|
+
height: '100%',
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
justifyContent: 'center',
|
|
54
|
+
},
|
|
55
|
+
optionButtonImageStyle: {
|
|
56
|
+
height: 18,
|
|
57
|
+
width: 18,
|
|
58
|
+
},
|
|
59
|
+
optionTitleStyle: { fontWeight: '500', fontSize: 17 },
|
|
60
|
+
});
|
|
61
|
+
//# sourceMappingURL=style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatListItem/style.ts"],"names":[],"mappings":"AACA,YAAY;AACZ,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAAC,MAAM,CAAC;IACrC,SAAS,EAAE;QACT,aAAa,EAAE,KAAK;QACpB,KAAK,EAAE,MAAM;KACd;IACD,mBAAmB,EAAE;QACnB,aAAa,EAAE,KAAK;QACpB,IAAI,EAAE,CAAC;KACR;IACD,eAAe,EAAE;QACf,MAAM,EAAE,CAAC;QACT,cAAc,EAAE,QAAQ;KACzB;IACD,kBAAkB,EAAE;QAClB,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,KAAK;KACX;IACD,eAAe,EAAE;QACf,aAAa,EAAE,QAAQ;QACvB,IAAI,EAAE,CAAC;QACP,cAAc,EAAE,QAAQ;QACxB,YAAY,EAAE,CAAC;QACf,QAAQ,EAAE,QAAQ;KACnB;IAED,cAAc,EAAE;QACd,OAAO,EAAE,CAAC;QAEV,SAAS,EAAE,MAAM;KAClB;IACD,aAAa,EAAE;QACb,gBAAgB,EAAE,CAAC;QACnB,UAAU,EAAE,UAAU;QACtB,cAAc,EAAE,QAAQ;KACzB;IACD,WAAW,EAAE;QACX,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;KACP;IACD,oBAAoB,EAAE;QACpB,MAAM,EAAE,MAAM;KACf;IACD,sBAAsB,EAAE;QACtB,MAAM,EAAE,KAAK;QACb,SAAS,EAAE,QAAQ;QACnB,KAAK,EAAE,EAAE;QACT,cAAc,EAAE,QAAQ;KACzB;IACD,qBAAqB,EAAE;QACrB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;KACzB;IACD,sBAAsB,EAAE;QACtB,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,EAAE;KACV;IACD,gBAAgB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;CACtD,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseStyleInterface } from "../../base";
|
|
3
|
+
import { MessageBubbleAlignmentType } from "../../constants/UIKitConstants";
|
|
4
|
+
export interface CometChatMessageBubbleInterface {
|
|
5
|
+
id: string;
|
|
6
|
+
LeadingView?: () => JSX.Element;
|
|
7
|
+
HeaderView?: () => JSX.Element;
|
|
8
|
+
ReplyView?: () => JSX.Element;
|
|
9
|
+
BottomView?: () => JSX.Element;
|
|
10
|
+
ContentView?: () => JSX.Element;
|
|
11
|
+
ThreadView?: () => JSX.Element;
|
|
12
|
+
FooterView?: () => JSX.Element;
|
|
13
|
+
alignment?: MessageBubbleAlignmentType;
|
|
14
|
+
style?: BaseStyleInterface;
|
|
15
|
+
}
|
|
16
|
+
export declare const CometChatMessageBubble: {
|
|
17
|
+
({ HeaderView, ReplyView, ContentView, FooterView, LeadingView, BottomView, ThreadView, alignment, id, style }: CometChatMessageBubbleInterface): React.JSX.Element;
|
|
18
|
+
defaultProps: {
|
|
19
|
+
alignment: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import { CometChatContext } from "../../CometChatContext";
|
|
4
|
+
import { MessageBubbleStyle } from "./MessageBubbleStyle";
|
|
5
|
+
export const CometChatMessageBubble = ({ HeaderView, ReplyView, ContentView, FooterView, LeadingView, BottomView, ThreadView, alignment, id, style }) => {
|
|
6
|
+
const { theme } = useContext(CometChatContext);
|
|
7
|
+
const _style = new MessageBubbleStyle({
|
|
8
|
+
backgroundColor: theme?.palette.getAccent100(),
|
|
9
|
+
...style
|
|
10
|
+
});
|
|
11
|
+
const { backgroundColor, border, borderRadius, height, width } = _style;
|
|
12
|
+
return (<View key={id} style={{
|
|
13
|
+
width: "100%",
|
|
14
|
+
alignItems: alignment == "right" ?
|
|
15
|
+
"flex-end" :
|
|
16
|
+
alignment == "left" ?
|
|
17
|
+
"flex-start" :
|
|
18
|
+
alignment
|
|
19
|
+
}}>
|
|
20
|
+
<View style={{
|
|
21
|
+
height, width, flexDirection: "row",
|
|
22
|
+
}}>
|
|
23
|
+
{LeadingView && <LeadingView />}
|
|
24
|
+
<View style={{ marginStart: 4, maxWidth: "75%" }}>
|
|
25
|
+
{HeaderView && <HeaderView />}
|
|
26
|
+
{ReplyView && <ReplyView />}
|
|
27
|
+
<View style={{ ...border, borderRadius, backgroundColor }}>
|
|
28
|
+
{ContentView && <ContentView />}
|
|
29
|
+
{BottomView && <BottomView />}
|
|
30
|
+
{ThreadView && <ThreadView />}
|
|
31
|
+
</View>
|
|
32
|
+
{FooterView && <FooterView />}
|
|
33
|
+
</View>
|
|
34
|
+
</View>
|
|
35
|
+
|
|
36
|
+
</View>);
|
|
37
|
+
};
|
|
38
|
+
CometChatMessageBubble.defaultProps = {
|
|
39
|
+
alignment: "left"
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=CometChatMessageBubble.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CometChatMessageBubble.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAe1D,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACnC,UAAU,EACV,SAAS,EACT,WAAW,EACX,UAAU,EACV,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,EAAE,EACF,KAAK,EACyB,EAAE,EAAE;IAElC,MAAM,EAAC,KAAK,EAAC,GAAG,UAAU,CAAuB,gBAAgB,CAAC,CAAC;IAEnE,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC;QAClC,eAAe,EAAE,KAAK,EAAE,OAAO,CAAC,YAAY,EAAE;QAC9C,GAAG,KAAK;KACX,CAAC,CAAC;IAEH,MAAM,EACF,eAAe,EACf,MAAM,EACN,YAAY,EACZ,MAAM,EACN,KAAK,EACR,GAAG,MAAM,CAAC;IAEX,OAAO,CACH,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC;YAClB,KAAK,EAAE,MAAM;YACb,UAAU,EAAE,SAAS,IAAI,OAAO,CAAC,CAAC;gBAC9B,UAAU,CAAC,CAAC;gBACZ,SAAS,IAAI,MAAM,CAAC,CAAC;oBACjB,YAAY,CAAC,CAAC;oBACd,SAAS;SACpB,CAAC,CACE;YAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACT,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK;SACtC,CAAC,CACE;gBAAA,CACI,WAAW,IAAI,CAAC,WAAW,CAAC,AAAD,EAAG,CAElC;gBAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAC,WAAW,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAC,CAAC,CAC3C;oBAAA,CACI,UAAU,IAAI,CAAC,UAAU,CAAC,AAAD,EAAG,CAEhC;oBAAA,CACI,SAAS,IAAI,CAAC,SAAS,CAAC,AAAD,EAAG,CAE9B;oBAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,YAAY,EAAE,eAAe,EAAC,CAAC,CACrD;wBAAA,CACI,WAAW,IAAI,CAAC,WAAW,CAAC,AAAD,EAAG,CAElC;wBAAA,CACI,UAAU,IAAI,CAAC,UAAU,CAAC,AAAD,EAAG,CAEhC;wBAAA,CACI,UAAU,IAAI,CAAC,UAAU,CAAC,AAAD,EAAG,CAEpC;oBAAA,EAAE,IAAI,CACN;oBAAA,CACI,UAAU,IAAI,CAAC,UAAU,CAAC,AAAD,EAAG,CAEpC;gBAAA,EAAE,IAAI,CACV;YAAA,EAAE,IAAI,CAEV;;QAAA,EAAE,IAAI,CAAC,CACV,CAAA;AACL,CAAC,CAAA;AAED,sBAAsB,CAAC,YAAY,GAAG;IAClC,SAAS,EAAE,MAAM;CACpB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseStyle, BaseStyleInterface } from "../../base";
|
|
2
|
+
export interface MessageBubbleStyleInterface extends BaseStyleInterface {
|
|
3
|
+
}
|
|
4
|
+
export declare class MessageBubbleStyle extends BaseStyle {
|
|
5
|
+
constructor({ backgroundColor, border, borderRadius, height, width, }: MessageBubbleStyleInterface);
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseStyle, BorderStyle } from "../../base";
|
|
2
|
+
export class MessageBubbleStyle extends BaseStyle {
|
|
3
|
+
constructor({ backgroundColor = "rgba(20,20,20,0.4)", border = new BorderStyle({}), borderRadius = 8, height = "auto", width = "auto", }) {
|
|
4
|
+
super({
|
|
5
|
+
backgroundColor,
|
|
6
|
+
border,
|
|
7
|
+
borderRadius,
|
|
8
|
+
height,
|
|
9
|
+
width
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=MessageBubbleStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageBubbleStyle.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatMessageBubble/MessageBubbleStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsB,WAAW,EAAE,MAAM,YAAY,CAAC;AAKxE,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAC7C,YAAY,EACR,eAAe,GAAG,oBAAoB,EACtC,MAAM,GAAG,IAAI,WAAW,CAAC,EAAE,CAAC,EAC5B,YAAY,GAAG,CAAC,EAChB,MAAM,GAAG,MAAM,EACf,KAAK,GAAG,MAAM,GACY;QAC1B,KAAK,CAAC;YACF,eAAe;YACf,MAAM;YACN,YAAY;YACZ,MAAM;YACN,KAAK;SACR,CAAC,CAAA;IACN,CAAC;CACJ"}
|