@cometchat/chat-uikit-react-native 5.1.0 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/reactnativecometchatuikit/CometchatUiKitPackage.java +2 -0
- package/android/src/main/java/com/reactnativecometchatuikit/ProximityModule.java +53 -0
- package/ios/Proximity.h +5 -0
- package/ios/Proximity.m +25 -0
- package/lib/CometChatConversations/CometChatConversations.js +27 -19
- package/lib/CometChatConversations/CometChatConversations.js.map +1 -1
- package/lib/CometChatConversations/Skeleton.js +1 -1
- package/lib/CometChatConversations/Skeleton.js.map +1 -1
- package/lib/CometChatConversations/style.js.map +1 -1
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js +52 -41
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -1
- package/lib/CometChatGroups/CometChatGroups.js +8 -6
- package/lib/CometChatGroups/CometChatGroups.js.map +1 -1
- package/lib/CometChatGroups/Skeleton.js +1 -1
- package/lib/CometChatGroups/Skeleton.js.map +1 -1
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +178 -44
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -1
- package/lib/CometChatMessageComposer/styles.d.ts +1 -1
- package/lib/CometChatMessageComposer/styles.js +1 -5
- package/lib/CometChatMessageComposer/styles.js.map +1 -1
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +14 -52
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -1
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js +7 -12
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -1
- package/lib/CometChatMessageList/CometChatMessageList.js +35 -13
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -1
- package/lib/CometChatMessageList/style.js +0 -16
- package/lib/CometChatMessageList/style.js.map +1 -1
- package/lib/CometChatThreadHeader/CometChatThreadHeader.js +4 -2
- package/lib/CometChatThreadHeader/CometChatThreadHeader.js.map +1 -1
- package/lib/CometChatThreadHeader/Header.d.ts +4 -4
- package/lib/CometChatUsers/CometChatUsers.js +7 -5
- package/lib/CometChatUsers/CometChatUsers.js.map +1 -1
- package/lib/CometChatUsers/Skeleton.js +1 -1
- package/lib/CometChatUsers/Skeleton.js.map +1 -1
- package/lib/calls/CallUtils.js +24 -17
- package/lib/calls/CallUtils.js.map +1 -1
- package/lib/calls/CallingExtensionDecorator.js +14 -11
- package/lib/calls/CallingExtensionDecorator.js.map +1 -1
- package/lib/calls/CallingPackage.js.map +1 -1
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +4 -3
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -1
- package/lib/calls/CometChatCallButtons/style.d.ts +1 -1
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +9 -7
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -1
- package/lib/calls/CometChatCallLogs/Skeleton.js +1 -1
- package/lib/calls/CometChatCallLogs/Skeleton.js.map +1 -1
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +8 -6
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -1
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +10 -0
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -1
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +4 -2
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -1
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -1
- package/lib/extensions/CollaborativeBubble/style.js +2 -2
- package/lib/extensions/CollaborativeBubble/style.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +5 -4
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +5 -4
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -1
- package/lib/extensions/ExtensionConstants.js +1 -1
- package/lib/extensions/ExtensionConstants.js.map +1 -1
- package/lib/extensions/ExtensionModerator.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js +3 -2
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtensionDecorator.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +3 -2
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +17 -17
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -1
- package/lib/extensions/Polls/Polls.js +48 -19
- package/lib/extensions/Polls/Polls.js.map +1 -1
- package/lib/extensions/Polls/PollsBubble.js.map +1 -1
- package/lib/extensions/Polls/PollsDecorator.js +4 -3
- package/lib/extensions/Polls/PollsDecorator.js.map +1 -1
- package/lib/extensions/Polls/PollsExtension.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +4 -3
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/Skeleton.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +2 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +3 -2
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +2 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +5 -3
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -1
- package/lib/extensions/Stickers/style.js +3 -3
- package/lib/extensions/Stickers/style.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -1
- package/lib/index.d.ts +7 -3
- package/lib/index.js +9 -4
- package/lib/index.js.map +1 -1
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +1 -3
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +2 -5
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -1
- package/lib/shared/constants/UIKitConstants.js.map +1 -1
- package/lib/shared/events/CometChatMessageEvents/index.js +1 -2
- package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +1 -2
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -1
- package/lib/shared/events/ListenerInitializer.js +1 -2
- package/lib/shared/events/ListenerInitializer.js.map +1 -1
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +21 -7
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +92 -31
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +1 -1
- package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -1
- package/lib/shared/formatters/CometChatUrlsFormatter/index.js.map +1 -1
- package/lib/shared/framework/ChatConfigurator.js +1 -2
- package/lib/shared/framework/ChatConfigurator.js.map +1 -1
- package/lib/shared/framework/DataSource.d.ts +2 -2
- package/lib/shared/framework/DataSourceDecorator.d.ts +2 -2
- package/lib/shared/framework/DataSourceDecorator.js +4 -4
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -1
- package/lib/shared/framework/MessageDataSource.d.ts +10 -2
- package/lib/shared/framework/MessageDataSource.js +144 -44
- package/lib/shared/framework/MessageDataSource.js.map +1 -1
- package/lib/shared/helper/LocalizedDateHelper.d.ts +70 -0
- package/lib/shared/helper/LocalizedDateHelper.js +265 -0
- package/lib/shared/helper/LocalizedDateHelper.js.map +1 -0
- package/lib/shared/helper/dateHelper.js +1 -2
- package/lib/shared/helper/dateHelper.js.map +1 -1
- package/lib/shared/helper/functions.d.ts +1 -0
- package/lib/shared/helper/functions.js +48 -0
- package/lib/shared/helper/functions.js.map +1 -1
- package/lib/shared/helper/helperFunctions.d.ts +1 -1
- package/lib/shared/helper/helperFunctions.js.map +1 -1
- package/lib/shared/helper/useKeyboard.js.map +1 -1
- package/lib/shared/helper/useLocalizedDateHook.d.ts +6 -0
- package/lib/shared/helper/useLocalizedDateHook.js +15 -0
- package/lib/shared/helper/useLocalizedDateHook.js.map +1 -0
- package/lib/shared/icons/Icon.js.map +1 -1
- package/lib/shared/icons/components/ListItemCheck.d.ts +0 -1
- package/lib/shared/icons/components/StickerBase-icon.d.ts +0 -1
- package/lib/shared/icons/components/account-circle-fill.d.ts +0 -1
- package/lib/shared/icons/components/account-circle.d.ts +0 -1
- package/lib/shared/icons/components/activity.d.ts +0 -1
- package/lib/shared/icons/components/add-a-photo-fill.d.ts +0 -1
- package/lib/shared/icons/components/add-a-photo.d.ts +0 -1
- package/lib/shared/icons/components/add-box-fill.d.ts +0 -1
- package/lib/shared/icons/components/add-box.d.ts +0 -1
- package/lib/shared/icons/components/add-call-fill.d.ts +0 -1
- package/lib/shared/icons/components/add-call.d.ts +0 -1
- package/lib/shared/icons/components/add-circle-fill.d.ts +0 -1
- package/lib/shared/icons/components/add-circle.d.ts +0 -1
- package/lib/shared/icons/components/add-comment-fill.d.ts +0 -1
- package/lib/shared/icons/components/add-comment.d.ts +0 -1
- package/lib/shared/icons/components/add-fill.d.ts +0 -1
- package/lib/shared/icons/components/add-reaction-fill.d.ts +0 -1
- package/lib/shared/icons/components/add-reaction.d.ts +0 -1
- package/lib/shared/icons/components/add.d.ts +0 -1
- package/lib/shared/icons/components/ai-conversation-summary-fill.d.ts +0 -1
- package/lib/shared/icons/components/ai-conversation-summary.d.ts +0 -1
- package/lib/shared/icons/components/ai-fill.d.ts +0 -1
- package/lib/shared/icons/components/ai-suggest-reply-fill.d.ts +0 -1
- package/lib/shared/icons/components/ai-suggest-reply.d.ts +0 -1
- package/lib/shared/icons/components/ai.d.ts +0 -1
- package/lib/shared/icons/components/alternate-email-fill.d.ts +0 -1
- package/lib/shared/icons/components/alternate-email.d.ts +0 -1
- package/lib/shared/icons/components/animals-&-nature.d.ts +0 -1
- package/lib/shared/icons/components/archive-fill.d.ts +0 -1
- package/lib/shared/icons/components/archive.d.ts +0 -1
- package/lib/shared/icons/components/arrow-back-fill.d.ts +0 -1
- package/lib/shared/icons/components/arrow-back.d.ts +0 -1
- package/lib/shared/icons/components/arrow-forward-fill.d.ts +0 -1
- package/lib/shared/icons/components/arrow-forward.d.ts +0 -1
- package/lib/shared/icons/components/attach-file-fill.d.ts +0 -1
- package/lib/shared/icons/components/attach-file.d.ts +0 -1
- package/lib/shared/icons/components/audio-file-type.d.ts +0 -1
- package/lib/shared/icons/components/bar-chart-fill.d.ts +0 -1
- package/lib/shared/icons/components/bar-chart.d.ts +0 -1
- package/lib/shared/icons/components/base-icon.d.ts +0 -1
- package/lib/shared/icons/components/bedtime-fill.d.ts +0 -1
- package/lib/shared/icons/components/bedtime.d.ts +0 -1
- package/lib/shared/icons/components/block-fill.d.ts +0 -1
- package/lib/shared/icons/components/block.d.ts +0 -1
- package/lib/shared/icons/components/bookmark-add-fill.d.ts +0 -1
- package/lib/shared/icons/components/bookmark-add.d.ts +0 -1
- package/lib/shared/icons/components/bookmark-fill.d.ts +0 -1
- package/lib/shared/icons/components/bookmark.d.ts +0 -1
- package/lib/shared/icons/components/calendar-add-on-fill.d.ts +0 -1
- package/lib/shared/icons/components/calendar-add-on.d.ts +0 -1
- package/lib/shared/icons/components/calendar-today-fill.d.ts +0 -1
- package/lib/shared/icons/components/calendar-today.d.ts +0 -1
- package/lib/shared/icons/components/call-end-fill.d.ts +0 -1
- package/lib/shared/icons/components/call-end.d.ts +0 -1
- package/lib/shared/icons/components/call-fill.d.ts +0 -1
- package/lib/shared/icons/components/call-log-fill.d.ts +0 -1
- package/lib/shared/icons/components/call-log.d.ts +0 -1
- package/lib/shared/icons/components/call-made-fill.d.ts +0 -1
- package/lib/shared/icons/components/call-made.d.ts +0 -1
- package/lib/shared/icons/components/call-missed-fill.d.ts +0 -1
- package/lib/shared/icons/components/call-missed-outgoing-fill.d.ts +0 -1
- package/lib/shared/icons/components/call-missed-outgoing.d.ts +0 -1
- package/lib/shared/icons/components/call-missed.d.ts +0 -1
- package/lib/shared/icons/components/call-received-fill.d.ts +0 -1
- package/lib/shared/icons/components/call-received.d.ts +0 -1
- package/lib/shared/icons/components/call.d.ts +0 -1
- package/lib/shared/icons/components/cancel-fill.d.ts +0 -1
- package/lib/shared/icons/components/cancel.d.ts +0 -1
- package/lib/shared/icons/components/change-circle-fill.d.ts +0 -1
- package/lib/shared/icons/components/change-circle.d.ts +0 -1
- package/lib/shared/icons/components/chat-bot-fill.d.ts +0 -1
- package/lib/shared/icons/components/chat-bot.d.ts +0 -1
- package/lib/shared/icons/components/chat-fill.d.ts +0 -1
- package/lib/shared/icons/components/chat.d.ts +0 -1
- package/lib/shared/icons/components/check-circle-fill.d.ts +0 -1
- package/lib/shared/icons/components/check-circle.d.ts +0 -1
- package/lib/shared/icons/components/check-fill.d.ts +0 -1
- package/lib/shared/icons/components/check.d.ts +0 -1
- package/lib/shared/icons/components/chevron-left-fill.d.ts +0 -1
- package/lib/shared/icons/components/chevron-left.d.ts +0 -1
- package/lib/shared/icons/components/chevron-right-fill.d.ts +0 -1
- package/lib/shared/icons/components/chevron-right.d.ts +0 -1
- package/lib/shared/icons/components/close-fill.d.ts +0 -1
- package/lib/shared/icons/components/close.d.ts +0 -1
- package/lib/shared/icons/components/collaborative-document-fill.d.ts +0 -1
- package/lib/shared/icons/components/collaborative-document-icon.d.ts +0 -1
- package/lib/shared/icons/components/collaborative-document.d.ts +0 -1
- package/lib/shared/icons/components/collaborative-whiteboard-fill.d.ts +0 -1
- package/lib/shared/icons/components/collaborative-whiteboard-icon.d.ts +0 -1
- package/lib/shared/icons/components/collaborative-whiteboard.d.ts +0 -1
- package/lib/shared/icons/components/content-copy-fill.d.ts +0 -1
- package/lib/shared/icons/components/content-copy.d.ts +0 -1
- package/lib/shared/icons/components/crop-fill.d.ts +0 -1
- package/lib/shared/icons/components/crop.d.ts +0 -1
- package/lib/shared/icons/components/delete-fill.d.ts +0 -1
- package/lib/shared/icons/components/delete.d.ts +0 -1
- package/lib/shared/icons/components/description-fill.d.ts +0 -1
- package/lib/shared/icons/components/description.d.ts +0 -1
- package/lib/shared/icons/components/document-file-type.d.ts +0 -1
- package/lib/shared/icons/components/done-all-fill.d.ts +0 -1
- package/lib/shared/icons/components/done-all.d.ts +0 -1
- package/lib/shared/icons/components/download-fill.d.ts +0 -1
- package/lib/shared/icons/components/download.d.ts +0 -1
- package/lib/shared/icons/components/edit-calendar-fill.d.ts +0 -1
- package/lib/shared/icons/components/edit-calendar.d.ts +0 -1
- package/lib/shared/icons/components/edit-fill.d.ts +0 -1
- package/lib/shared/icons/components/edit-square-fill.d.ts +0 -1
- package/lib/shared/icons/components/edit-square.d.ts +0 -1
- package/lib/shared/icons/components/edit.d.ts +0 -1
- package/lib/shared/icons/components/empty-state.d.ts +0 -1
- package/lib/shared/icons/components/error-fill.d.ts +0 -1
- package/lib/shared/icons/components/error-state.d.ts +0 -1
- package/lib/shared/icons/components/error.d.ts +0 -1
- package/lib/shared/icons/components/event-available-fill.d.ts +0 -1
- package/lib/shared/icons/components/event-available.d.ts +0 -1
- package/lib/shared/icons/components/event-fill.d.ts +0 -1
- package/lib/shared/icons/components/event.d.ts +0 -1
- package/lib/shared/icons/components/favorite-fill.d.ts +0 -1
- package/lib/shared/icons/components/favorite.d.ts +0 -1
- package/lib/shared/icons/components/filter-list-fill.d.ts +0 -1
- package/lib/shared/icons/components/filter-list-off-fill.d.ts +0 -1
- package/lib/shared/icons/components/filter-list-off.d.ts +0 -1
- package/lib/shared/icons/components/filter-list.d.ts +0 -1
- package/lib/shared/icons/components/flags.d.ts +0 -1
- package/lib/shared/icons/components/flip-camera-ios-fill.d.ts +0 -1
- package/lib/shared/icons/components/flip-camera-ios.d.ts +0 -1
- package/lib/shared/icons/components/food-&-drink.d.ts +0 -1
- package/lib/shared/icons/components/forward-fill.d.ts +0 -1
- package/lib/shared/icons/components/forward.d.ts +0 -1
- package/lib/shared/icons/components/gif-fill.d.ts +0 -1
- package/lib/shared/icons/components/gif.d.ts +0 -1
- package/lib/shared/icons/components/graphic-eq-fill.d.ts +0 -1
- package/lib/shared/icons/components/graphic-eq.d.ts +0 -1
- package/lib/shared/icons/components/group-add.d.ts +0 -1
- package/lib/shared/icons/components/group-fill.d.ts +0 -1
- package/lib/shared/icons/components/group.d.ts +0 -1
- package/lib/shared/icons/components/help-fill.d.ts +0 -1
- package/lib/shared/icons/components/help.d.ts +0 -1
- package/lib/shared/icons/components/history-fill.d.ts +0 -1
- package/lib/shared/icons/components/history.d.ts +0 -1
- package/lib/shared/icons/components/image-file-type.d.ts +0 -1
- package/lib/shared/icons/components/incoming-audio-fill.d.ts +0 -1
- package/lib/shared/icons/components/incoming-audio.d.ts +0 -1
- package/lib/shared/icons/components/incoming-video-fill.d.ts +0 -1
- package/lib/shared/icons/components/incoming-video.d.ts +0 -1
- package/lib/shared/icons/components/info-fill.d.ts +0 -1
- package/lib/shared/icons/components/info.d.ts +0 -1
- package/lib/shared/icons/components/keep-fill.d.ts +0 -1
- package/lib/shared/icons/components/keep-off-fill.d.ts +0 -1
- package/lib/shared/icons/components/keep-off.d.ts +0 -1
- package/lib/shared/icons/components/keep.d.ts +0 -1
- package/lib/shared/icons/components/keyboard-arrow-down-fill.d.ts +0 -1
- package/lib/shared/icons/components/keyboard-arrow-down.d.ts +0 -1
- package/lib/shared/icons/components/keyboard-arrow-up-fill.d.ts +0 -1
- package/lib/shared/icons/components/keyboard-arrow-up.d.ts +0 -1
- package/lib/shared/icons/components/keyboard-fill.d.ts +0 -1
- package/lib/shared/icons/components/keyboard.d.ts +0 -1
- package/lib/shared/icons/components/language-fill.d.ts +0 -1
- package/lib/shared/icons/components/language.d.ts +0 -1
- package/lib/shared/icons/components/link-fill.d.ts +0 -1
- package/lib/shared/icons/components/link.d.ts +0 -1
- package/lib/shared/icons/components/loading-fill.d.ts +0 -1
- package/lib/shared/icons/components/loading.d.ts +0 -1
- package/lib/shared/icons/components/location-on-fill.d.ts +0 -1
- package/lib/shared/icons/components/location-on.d.ts +0 -1
- package/lib/shared/icons/components/lock-fill.d.ts +0 -1
- package/lib/shared/icons/components/lock-open-fill.d.ts +0 -1
- package/lib/shared/icons/components/lock-open.d.ts +0 -1
- package/lib/shared/icons/components/lock.d.ts +0 -1
- package/lib/shared/icons/components/logout-fill.d.ts +0 -1
- package/lib/shared/icons/components/logout.d.ts +0 -1
- package/lib/shared/icons/components/mail-fill.d.ts +0 -1
- package/lib/shared/icons/components/mail.d.ts +0 -1
- package/lib/shared/icons/components/mic-fill.d.ts +0 -1
- package/lib/shared/icons/components/mic-off-fill.d.ts +0 -1
- package/lib/shared/icons/components/mic-off.d.ts +0 -1
- package/lib/shared/icons/components/mic.d.ts +0 -1
- package/lib/shared/icons/components/missed-video-call-fill.d.ts +0 -1
- package/lib/shared/icons/components/missed-video-call.d.ts +0 -1
- package/lib/shared/icons/components/mood-fill.d.ts +0 -1
- package/lib/shared/icons/components/mood.d.ts +0 -1
- package/lib/shared/icons/components/more-vert-fill.d.ts +0 -1
- package/lib/shared/icons/components/more-vert.d.ts +0 -1
- package/lib/shared/icons/components/near-me-fill.d.ts +0 -1
- package/lib/shared/icons/components/near-me.d.ts +0 -1
- package/lib/shared/icons/components/no-photography-fill.d.ts +0 -1
- package/lib/shared/icons/components/no-photography.d.ts +0 -1
- package/lib/shared/icons/components/notifications-fill.d.ts +0 -1
- package/lib/shared/icons/components/notifications-off-fill.d.ts +0 -1
- package/lib/shared/icons/components/notifications-off.d.ts +0 -1
- package/lib/shared/icons/components/notifications.d.ts +0 -1
- package/lib/shared/icons/components/objects.d.ts +0 -1
- package/lib/shared/icons/components/outgoing-audio-fill.d.ts +0 -1
- package/lib/shared/icons/components/outgoing-audio.d.ts +0 -1
- package/lib/shared/icons/components/outgoing-video-fill.d.ts +0 -1
- package/lib/shared/icons/components/outgoing-video.d.ts +0 -1
- package/lib/shared/icons/components/pause-fill.d.ts +0 -1
- package/lib/shared/icons/components/pause.d.ts +0 -1
- package/lib/shared/icons/components/pdf-file-type.d.ts +0 -1
- package/lib/shared/icons/components/person-add-fill.d.ts +0 -1
- package/lib/shared/icons/components/person-add.d.ts +0 -1
- package/lib/shared/icons/components/person-fill.d.ts +0 -1
- package/lib/shared/icons/components/person-off.d.ts +0 -1
- package/lib/shared/icons/components/person.d.ts +0 -1
- package/lib/shared/icons/components/phone-in-talk-fill.d.ts +0 -1
- package/lib/shared/icons/components/phone-in-talk.d.ts +0 -1
- package/lib/shared/icons/components/phone-incoming-fill.d.ts +0 -1
- package/lib/shared/icons/components/phone-incoming.d.ts +0 -1
- package/lib/shared/icons/components/phone-missed-fill.d.ts +0 -1
- package/lib/shared/icons/components/phone-missed.d.ts +0 -1
- package/lib/shared/icons/components/phone-outgoing-fill.d.ts +0 -1
- package/lib/shared/icons/components/phone-outgoing.d.ts +0 -1
- package/lib/shared/icons/components/photo-camera-fill.d.ts +0 -1
- package/lib/shared/icons/components/photo-camera.d.ts +0 -1
- package/lib/shared/icons/components/photo-fill.d.ts +0 -1
- package/lib/shared/icons/components/photo.d.ts +0 -1
- package/lib/shared/icons/components/play-arrow-fill.d.ts +0 -1
- package/lib/shared/icons/components/play-arrow.d.ts +0 -1
- package/lib/shared/icons/components/play-circle-fill.d.ts +0 -1
- package/lib/shared/icons/components/play-circle.d.ts +0 -1
- package/lib/shared/icons/components/poll-Icon.d.ts +0 -1
- package/lib/shared/icons/components/poll-fill.d.ts +0 -1
- package/lib/shared/icons/components/poll.d.ts +0 -1
- package/lib/shared/icons/components/presentation-file-type.d.ts +0 -1
- package/lib/shared/icons/components/rearrange-fill.d.ts +0 -1
- package/lib/shared/icons/components/rearrange.d.ts +0 -1
- package/lib/shared/icons/components/refresh-fill.d.ts +0 -1
- package/lib/shared/icons/components/refresh.d.ts +0 -1
- package/lib/shared/icons/components/reply-all-fill.d.ts +0 -1
- package/lib/shared/icons/components/reply-all.d.ts +0 -1
- package/lib/shared/icons/components/reply-fill.d.ts +0 -1
- package/lib/shared/icons/components/reply.d.ts +0 -1
- package/lib/shared/icons/components/retry-fill.d.ts +0 -1
- package/lib/shared/icons/components/retry.d.ts +0 -1
- package/lib/shared/icons/components/schedule-fill.d.ts +0 -1
- package/lib/shared/icons/components/schedule.d.ts +0 -1
- package/lib/shared/icons/components/screen-share-fill.d.ts +0 -1
- package/lib/shared/icons/components/screen-share.d.ts +0 -1
- package/lib/shared/icons/components/search-fill.d.ts +0 -1
- package/lib/shared/icons/components/search.d.ts +0 -1
- package/lib/shared/icons/components/send-fill.d.ts +0 -1
- package/lib/shared/icons/components/send.d.ts +0 -1
- package/lib/shared/icons/components/settings-fill.d.ts +0 -1
- package/lib/shared/icons/components/settings.d.ts +0 -1
- package/lib/shared/icons/components/share-fill.d.ts +0 -1
- package/lib/shared/icons/components/share.d.ts +0 -1
- package/lib/shared/icons/components/shield-fill.d.ts +0 -1
- package/lib/shared/icons/components/shield.d.ts +0 -1
- package/lib/shared/icons/components/smileys-&-people.d.ts +0 -1
- package/lib/shared/icons/components/spreadsheet-file-type.d.ts +0 -1
- package/lib/shared/icons/components/star-fill.d.ts +0 -1
- package/lib/shared/icons/components/star.d.ts +0 -1
- package/lib/shared/icons/components/sticker-fill.d.ts +0 -1
- package/lib/shared/icons/components/sticker.d.ts +0 -1
- package/lib/shared/icons/components/stop-circle-fill.d.ts +0 -1
- package/lib/shared/icons/components/stop-circle.d.ts +0 -1
- package/lib/shared/icons/components/stop-fill.d.ts +0 -1
- package/lib/shared/icons/components/stop-screen-share-fill.d.ts +0 -1
- package/lib/shared/icons/components/stop-screen-share.d.ts +0 -1
- package/lib/shared/icons/components/stop.d.ts +0 -1
- package/lib/shared/icons/components/subdirectory-arrow-left-fill.d.ts +0 -1
- package/lib/shared/icons/components/subdirectory-arrow-left.d.ts +0 -1
- package/lib/shared/icons/components/subdirectory-arrow-right-fill.d.ts +0 -1
- package/lib/shared/icons/components/subdirectory-arrow-right.d.ts +0 -1
- package/lib/shared/icons/components/sunny-fill.d.ts +0 -1
- package/lib/shared/icons/components/sunny.d.ts +0 -1
- package/lib/shared/icons/components/symbols.d.ts +0 -1
- package/lib/shared/icons/components/text-file-type.d.ts +0 -1
- package/lib/shared/icons/components/thumb-down-fill.d.ts +0 -1
- package/lib/shared/icons/components/thumb-down.d.ts +0 -1
- package/lib/shared/icons/components/thumb-up-fill.d.ts +0 -1
- package/lib/shared/icons/components/thumb-up.d.ts +0 -1
- package/lib/shared/icons/components/translate-fill.d.ts +0 -1
- package/lib/shared/icons/components/translate.d.ts +0 -1
- package/lib/shared/icons/components/travel-&-places.d.ts +0 -1
- package/lib/shared/icons/components/unknown-file-type.d.ts +0 -1
- package/lib/shared/icons/components/upload-fill.d.ts +0 -1
- package/lib/shared/icons/components/upload.d.ts +0 -1
- package/lib/shared/icons/components/user-empty-icon.d.ts +0 -1
- package/lib/shared/icons/components/video-call-fill.d.ts +0 -1
- package/lib/shared/icons/components/video-call.d.ts +0 -1
- package/lib/shared/icons/components/video-file-type.d.ts +0 -1
- package/lib/shared/icons/components/videocam-fill.d.ts +0 -1
- package/lib/shared/icons/components/videocam-off-fill.d.ts +0 -1
- package/lib/shared/icons/components/videocam-off.d.ts +0 -1
- package/lib/shared/icons/components/videocam.d.ts +0 -1
- package/lib/shared/icons/components/visibility-off-fill.d.ts +0 -1
- package/lib/shared/icons/components/visibility-off.d.ts +0 -1
- package/lib/shared/icons/components/volume-down-fill.d.ts +0 -1
- package/lib/shared/icons/components/volume-down.d.ts +0 -1
- package/lib/shared/icons/components/volume-mute-fill.d.ts +0 -1
- package/lib/shared/icons/components/volume-mute.d.ts +0 -1
- package/lib/shared/icons/components/volume-off-fill.d.ts +0 -1
- package/lib/shared/icons/components/volume-off.d.ts +0 -1
- package/lib/shared/icons/components/volume-up-fill.d.ts +0 -1
- package/lib/shared/icons/components/volume-up.d.ts +0 -1
- package/lib/shared/icons/components/warning-fill.d.ts +0 -1
- package/lib/shared/icons/components/warning.d.ts +0 -1
- package/lib/shared/icons/components/wifi-fill.d.ts +0 -1
- package/lib/shared/icons/components/wifi.d.ts +0 -1
- package/lib/shared/icons/components/zip-file-type.d.ts +0 -1
- package/lib/shared/icons/components/zoom-in-map-fill.d.ts +0 -1
- package/lib/shared/icons/components/zoom-in-map.d.ts +0 -1
- package/lib/shared/icons/components/zoom-out-map-fill.d.ts +0 -1
- package/lib/shared/icons/components/zoom-out-map.d.ts +0 -1
- package/lib/shared/icons/icon-mapping.d.ts +0 -1
- package/lib/shared/index.d.ts +20 -14
- package/lib/shared/index.js +15 -29
- package/lib/shared/index.js.map +1 -1
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js.map +1 -1
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js.map +1 -1
- package/lib/shared/libs/ImageZoom/helper.js.map +1 -1
- package/lib/shared/libs/VideoPlayer/DRMType.d.ts +4 -4
- package/lib/shared/libs/VideoPlayer/FilterType.d.ts +16 -16
- package/lib/shared/libs/VideoPlayer/TextTrackType.d.ts +3 -3
- package/lib/shared/libs/VideoPlayer/VideoResizeMode.d.ts +3 -3
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +3 -1
- package/lib/shared/modals/CometChatMessageTemplate.js +3 -1
- package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -1
- package/lib/shared/resources/CometChatLocalizeNew/CometChatI18nProvider.d.ts +15 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatI18nProvider.js +75 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatI18nProvider.js.map +1 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatLocalizationHelper.d.ts +9601 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatLocalizationHelper.js +66 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatLocalizationHelper.js.map +1 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatLocalizeContext.d.ts +3 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatLocalizeContext.js +12 -0
- package/lib/shared/resources/CometChatLocalizeNew/CometChatLocalizeContext.js.map +1 -0
- package/lib/shared/resources/CometChatLocalizeNew/LocalizationManager.d.ts +5 -0
- package/lib/shared/resources/CometChatLocalizeNew/LocalizationManager.js +47 -0
- package/lib/shared/resources/CometChatLocalizeNew/LocalizationManager.js.map +1 -0
- package/lib/shared/resources/CometChatLocalizeNew/index.d.ts +6 -0
- package/lib/shared/resources/CometChatLocalizeNew/index.js +6 -0
- package/lib/shared/resources/CometChatLocalizeNew/index.js.map +1 -0
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/de/translation.json +11 -1
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/en/translation.json +10 -1
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/es/translation.json +11 -1
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/fr/translation.json +412 -401
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/hi/translation.json +10 -1
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/hu/translation.json +412 -402
- package/lib/shared/resources/CometChatLocalizeNew/resources/it/translation.json +456 -0
- package/lib/shared/resources/CometChatLocalizeNew/resources/ja/translation.json +456 -0
- package/lib/shared/resources/CometChatLocalizeNew/resources/ko/translation.json +456 -0
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/lt/translation.json +412 -402
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/ms/translation.json +412 -402
- package/lib/shared/resources/CometChatLocalizeNew/resources/nl/translation.json +456 -0
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/pt/translation.json +412 -402
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/ru/translation.json +412 -402
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/sv/translation.json +412 -402
- package/lib/shared/resources/CometChatLocalizeNew/resources/tr/translation.json +456 -0
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/zh/translation.json +412 -402
- package/lib/shared/resources/{CometChatLocalize → CometChatLocalizeNew}/resources/zh-tw/translation.json +412 -401
- package/lib/shared/resources/CometChatLocalizeNew/type.d.ts +5 -0
- package/lib/shared/resources/CometChatLocalizeNew/type.js +2 -0
- package/lib/shared/resources/CometChatLocalizeNew/type.js.map +1 -0
- package/lib/shared/resources/CometChatLocalizeNew/useCometChatTranslationHook.d.ts +5 -0
- package/lib/shared/resources/CometChatLocalizeNew/useCometChatTranslationHook.js +19 -0
- package/lib/shared/resources/CometChatLocalizeNew/useCometChatTranslationHook.js.map +1 -0
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +1 -2
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -1
- package/lib/shared/resources/CometChatSoundManager/sound.d.ts +17 -17
- package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -1
- package/lib/shared/resources/index.d.ts +1 -2
- package/lib/shared/resources/index.js +1 -2
- package/lib/shared/resources/index.js.map +1 -1
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +1 -10
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +0 -8
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -1
- package/lib/shared/utils/CometChatMessagePreview/index.d.ts +1 -2
- package/lib/shared/utils/CometChatMessagePreview/index.js +1 -3
- package/lib/shared/utils/CometChatMessagePreview/index.js.map +1 -1
- package/lib/shared/utils/CometChatMessagePreview/style.d.ts +60 -450
- package/lib/shared/utils/CommonUtils.d.ts +1 -1
- package/lib/shared/utils/CommonUtils.js.map +1 -1
- package/lib/shared/utils/MessageUtils.d.ts +2 -2
- package/lib/shared/utils/MessageUtils.js +10 -11
- package/lib/shared/utils/MessageUtils.js.map +1 -1
- package/lib/shared/utils/NetworkUtils.js.map +1 -1
- package/lib/shared/utils/PermissionUtil.js +5 -4
- package/lib/shared/utils/PermissionUtil.js.map +1 -1
- package/lib/shared/utils/conversationUtils.js +11 -11
- package/lib/shared/utils/conversationUtils.js.map +1 -1
- package/lib/shared/utils/icsToJson.js.map +1 -1
- package/lib/shared/utils/index.d.ts +2 -2
- package/lib/shared/utils/index.js +2 -2
- package/lib/shared/utils/index.js.map +1 -1
- package/lib/shared/views/CometChatAudioBubble/AnimatedAudioWaves.d.ts +1 -1
- package/lib/shared/views/CometChatAudioBubble/AnimatedAudioWaves.js.map +1 -1
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +5 -3
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -1
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +2 -1
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -1
- package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -1
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +1 -1
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -1
- package/lib/shared/views/CometChatDate/CometChatDate.d.ts +11 -11
- package/lib/shared/views/CometChatDate/CometChatDate.js +5 -2
- package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -1
- package/lib/shared/views/CometChatDateSeperator/CometChatDateSeparator.d.ts +2 -2
- package/lib/shared/views/CometChatDateSeperator/CometChatDateSeparator.js +3 -2
- package/lib/shared/views/CometChatDateSeperator/CometChatDateSeparator.js.map +1 -1
- package/lib/shared/views/CometChatDeletedBubble/CometChatDeletedBubble.js +3 -2
- package/lib/shared/views/CometChatDeletedBubble/CometChatDeletedBubble.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +10 -8
- package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +1 -1
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -1
- package/lib/shared/views/CometChatImageBubble/CometChatImageLoader.js +2 -2
- package/lib/shared/views/CometChatImageBubble/CometChatImageLoader.js.map +1 -1
- package/lib/shared/views/CometChatList/CometChatList.js +44 -9
- package/lib/shared/views/CometChatList/CometChatList.js.map +1 -1
- package/lib/shared/views/CometChatList/Header.js.map +1 -1
- package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/AnimatingMic.d.ts +2 -2
- package/lib/shared/views/CometChatMediaRecorder/CometChatAudioPlayer.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/CometChatAudioPreview/CometChatAudioPreview.js +13 -6
- package/lib/shared/views/CometChatMediaRecorder/CometChatAudioPreview/CometChatAudioPreview.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +5 -4
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/Timer.js.map +1 -1
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +1 -1
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -1
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +3 -2
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -1
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.d.ts +4 -0
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.js +13 -7
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.js.map +1 -1
- package/lib/shared/views/CometChatReactions/CometChatReactions.js.map +1 -1
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -1
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +1 -1
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -1
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js.map +1 -1
- package/lib/shared/views/CometChatSuggestionList/Skeleton.js +18 -18
- package/lib/shared/views/CometChatSuggestionList/Skeleton.js.map +1 -1
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +11 -9
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -1
- package/lib/shared/views/CometChatTooltipMenu/CometChatTooltipMenu.d.ts +1 -0
- package/lib/shared/views/CometChatTooltipMenu/CometChatTooltipMenu.js.map +1 -1
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +9 -24
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -1
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js +61 -61
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js.map +1 -1
- package/lib/theme/CometChatThemeHelper.d.ts +69 -69
- package/lib/theme/CometChatThemeHelper.js.map +1 -1
- package/lib/theme/context.d.ts +3025 -2834
- package/lib/theme/context.js +1 -1
- package/lib/theme/context.js.map +1 -1
- package/lib/theme/default/default.d.ts +6 -0
- package/lib/theme/default/default.js +147 -0
- package/lib/theme/default/default.js.map +1 -0
- package/lib/theme/default/index.d.ts +0 -6
- package/lib/theme/default/index.js +0 -178
- package/lib/theme/default/index.js.map +1 -1
- package/lib/theme/provider.js +1 -1
- package/lib/theme/provider.js.map +1 -1
- package/package.json +4 -4
- package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +15 -9
- package/src/CometChatMessageList/CometChatMessageList.tsx +120 -53
- package/src/calls/CallUtils.ts +1 -1
- package/src/calls/CallingExtensionDecorator.tsx +4 -2
- package/src/calls/CometChatIncomingCall/CometChatIncomingCall.tsx +13 -29
- package/src/calls/CometChatOngoingCall/CometChatOngoingCall.tsx +13 -0
- package/src/calls/CometChatOutgoingCall/CometChatOutgoingCall.tsx +8 -5
- package/src/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.tsx +1 -1
- package/src/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.tsx +1 -1
- package/src/extensions/MessageTranslation/MessageTranslationBubble.tsx +1 -1
- package/src/extensions/MessageTranslation/MessageTranslationDecorator.tsx +1 -1
- package/src/extensions/Polls/Polls.tsx +50 -22
- package/src/extensions/Polls/PollsDecorator.tsx +1 -1
- package/src/extensions/Stickers/StickersExtensionDecorator.tsx +1 -1
- package/src/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.tsx +1 -1
- package/src/shared/framework/MessageDataSource.tsx +1 -1
- package/src/shared/helper/LocalizedDateHelper.ts +1 -1
- package/src/shared/helper/functions.js +1 -1
- package/src/shared/modals/CometChatMessageTemplate.ts +12 -0
- package/src/shared/resources/CometChatLocalizeNew/resources/de/translation.json +1 -0
- package/src/shared/resources/CometChatLocalizeNew/resources/es/translation.json +1 -0
- package/src/shared/resources/CometChatLocalizeNew/resources/fr/translation.json +456 -454
- package/src/shared/resources/CometChatLocalizeNew/resources/hu/translation.json +416 -415
- package/src/shared/resources/CometChatLocalizeNew/resources/lt/translation.json +415 -414
- package/src/shared/resources/CometChatLocalizeNew/resources/ms/translation.json +414 -413
- package/src/shared/resources/CometChatLocalizeNew/resources/pt/translation.json +414 -413
- package/src/shared/resources/CometChatLocalizeNew/resources/ru/translation.json +414 -413
- package/src/shared/resources/CometChatLocalizeNew/resources/sv/translation.json +414 -414
- package/src/shared/resources/CometChatLocalizeNew/resources/zh/translation.json +415 -415
- package/src/shared/resources/CometChatLocalizeNew/resources/zh-tw/translation.json +415 -413
- package/src/shared/utils/PermissionUtil.ts +1 -1
- package/src/shared/utils/conversationUtils.ts +1 -1
- package/src/shared/views/CometChatAvatar/CometChatAvatar.tsx +4 -2
- package/src/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.tsx +5 -1
- package/src/shared/views/CometChatEmojiKeyboard/emojis.ts +1 -1
- package/src/shared/views/CometChatImageBubble/CometChatImageLoader.tsx +1 -0
- package/src/shared/views/CometChatImageViewerModal/ImageViewerModal.tsx +57 -45
- package/src/shared/views/CometChatList/CometChatList.tsx +44 -7
- package/src/shared/views/CometChatTextBubble/CometChatTextBubble.tsx +121 -74
- package/android/.gradle/7.4/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4/gc.properties +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +0 -79
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +0 -152
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +0 -1
- package/lib/shared/resources/CometChatLocalize/index.d.ts +0 -2
- package/lib/shared/resources/CometChatLocalize/index.js +0 -3
- package/lib/shared/resources/CometChatLocalize/index.js.map +0 -1
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +0 -447
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +0 -29
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +0 -29
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Text, View } from "react-native";
|
|
3
3
|
import { useTheme } from "../../../theme";
|
|
4
|
-
import {
|
|
4
|
+
import { useLocalizedDate } from "./../../helper/useLocalizedDateHook";
|
|
5
5
|
/**
|
|
6
6
|
* CometChatDateSeparator is a component that displays a formatted date/time separator
|
|
7
7
|
* between messages. If a custom date string is provided, it will be displayed instead.
|
|
@@ -12,11 +12,12 @@ import { dateHelperInstance } from "../../helper/dateHelper";
|
|
|
12
12
|
export const CometChatDateSeparator = (props) => {
|
|
13
13
|
const { timeStamp, pattern, customDateString, style } = props;
|
|
14
14
|
const theme = useTheme();
|
|
15
|
+
const { formatDate } = useLocalizedDate();
|
|
15
16
|
return (<View style={[theme.dateSeparatorStyles.containerStyle, style?.containerStyle]}>
|
|
16
17
|
<Text style={[theme.dateSeparatorStyles.textStyle, style?.textStyle]}>
|
|
17
18
|
{customDateString
|
|
18
19
|
? customDateString
|
|
19
|
-
:
|
|
20
|
+
: formatDate(timeStamp, pattern)}
|
|
20
21
|
</Text>
|
|
21
22
|
</View>);
|
|
22
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CometChatDateSeparator.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatDateSeperator/CometChatDateSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"CometChatDateSeparator.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatDateSeperator/CometChatDateSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AA4BvE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAsC,EAAE,EAAE;IAC/E,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAC9D,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,EAAE,UAAU,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAE1C,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,cAAc,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC,CAC7E;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CACnE;QAAA,CAAC,gBAAgB;YACf,CAAC,CAAC,gBAAgB;YAClB,CAAC,CAAC,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,CACpC;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import { View } from "react-native";
|
|
3
3
|
import { useTheme } from "../../../theme";
|
|
4
4
|
import { Icon } from "../../icons/Icon";
|
|
5
|
-
import { localize } from "../../resources";
|
|
6
5
|
import { CometChatTextBubbleText } from "../CometChatTextBubble/CometChatTextBubble";
|
|
6
|
+
import { useCometChatTranslation } from "../../resources/CometChatLocalizeNew";
|
|
7
7
|
/**
|
|
8
8
|
* CometChatDeletedBubble is a component that displays a deleted message bubble.
|
|
9
9
|
* It shows an icon along with the provided text.
|
|
@@ -13,7 +13,8 @@ import { CometChatTextBubbleText } from "../CometChatTextBubble/CometChatTextBub
|
|
|
13
13
|
*/
|
|
14
14
|
export const CometChatDeletedBubble = (props) => {
|
|
15
15
|
const theme = useTheme();
|
|
16
|
-
const {
|
|
16
|
+
const { t } = useCometChatTranslation();
|
|
17
|
+
const { text = t("DELETE_MSG_TEXT"), style = {} } = props;
|
|
17
18
|
return (<View style={{
|
|
18
19
|
flexDirection: "row",
|
|
19
20
|
gap: theme.spacing.spacing.s1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CometChatDeletedBubble.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatDeletedBubble/CometChatDeletedBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CometChatDeletedBubble.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatDeletedBubble/CometChatDeletedBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAErF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAgB/E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAsC,EAAE,EAAE;IAC/E,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,EAAC,CAAC,EAAC,GAAC,uBAAuB,EAAE,CAAA;IACnC,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,iBAAiB,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAE1D,OAAO,CACL,CAAC,IAAI,CACH,KAAK,CAAC,CAAC;YACL,aAAa,EAAE,KAAK;YACpB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YAC7B,UAAU,EAAE,QAAQ;SACrB,CAAC,CAEF;MAAA,CAAC,IAAI,CACH,IAAI,CAAC,OAAO,CACZ,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,CAClB,MAAM,C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AC,CACjE;gBAAA,CAAC,IAAI,CACH,IAAI,CAAC,CAAC,QAAQ,CAAC,CACf,IAAI,CAAC,CAAC,EAAE,CAAC,CACT,KAAK,CAAC,CACJ,QAAQ;oBACN,CAAC,CAAC,wBAAwB,IAAI,KAAK,CAAC,KAAK,CAAC,aAAa;oBACvD,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"CometChatEmojiKeyboard.js","sourceRoot":"","sources":["../../../../src/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,EACL,QAAQ,EACR,YAAY,EAEZ,IAAI,EAEJ,gBAAgB,EAChB,IAAI,GACL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,MAAM,MAAM,SAAS,CAAC;AA0B7B;;;GAGG;AACH,MAAM,mBAAmB,GAA6B;IACpD,OAAO,EAAE,cAAc;IACvB,QAAQ,EAAE,gBAAgB;IAC1B,OAAO,EAAE,sBAAsB;IAC/B,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,eAAe;IACxB,MAAM,EAAE,cAAc;CACd,CAAC;AAEX;;;GAGG;AACH,MAAM,WAAW,GAAG,CAAC,CAAC;AAYtB;;GAEG;AACH,MAAM,YAAY,GAAgC,KAAK,CAAC,IAAI,CAC1D,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,EAAE,EAAE;IACrF,MAA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;YACxB;gBACE,eAAe,EAAE,kBAAkB,IAAI,KAAK,CAAC,KAAK,CAAC,WAAW;aAC/D;SACF,CAAC,CAEF;QAAA,CAAC,YAAY,CACX,kBAAkB,CAAC,CAAC,oBAAoB,CAAC,CACzC,cAAc,CAAC,CAAC,cAAc,IAAI,EAAE,CAAC,CACrC,gBAAgB,CAAC,CAAC,gBAAgB,CAAC,CACnC,wBAAwB,CAAC,CAAC,wBAAwB,CAAC,EAEvD;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,YAAY,CAAC,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { getCometChatTranslation } from "../../resources/CometChatLocalizeNew/LocalizationManager";
|
|
2
|
+
const t = getCometChatTranslation();
|
|
1
3
|
export const Emojis = [
|
|
2
4
|
{
|
|
3
5
|
people: {
|
|
4
6
|
id: "people",
|
|
5
|
-
name: "
|
|
7
|
+
name: t("SMILEY_PEOPLE"),
|
|
6
8
|
symbol: "Smileys",
|
|
7
9
|
emojis: {
|
|
8
10
|
grinning: {
|
|
@@ -1700,7 +1702,7 @@ export const Emojis = [
|
|
|
1700
1702
|
{
|
|
1701
1703
|
animals: {
|
|
1702
1704
|
id: "animals_and_nature",
|
|
1703
|
-
name: "
|
|
1705
|
+
name: t("ANIMALES_NATURE"),
|
|
1704
1706
|
symbol: "Animals",
|
|
1705
1707
|
emojis: {
|
|
1706
1708
|
dog: {
|
|
@@ -2462,7 +2464,7 @@ export const Emojis = [
|
|
|
2462
2464
|
{
|
|
2463
2465
|
food: {
|
|
2464
2466
|
id: "food_and_drink",
|
|
2465
|
-
name: "
|
|
2467
|
+
name: t("FOOD_DRINK"),
|
|
2466
2468
|
symbol: "Food",
|
|
2467
2469
|
emojis: {
|
|
2468
2470
|
green_apple: {
|
|
@@ -2944,7 +2946,7 @@ export const Emojis = [
|
|
|
2944
2946
|
{
|
|
2945
2947
|
activity: {
|
|
2946
2948
|
id: "activity",
|
|
2947
|
-
name: "
|
|
2949
|
+
name: t("ACTIVITY"),
|
|
2948
2950
|
symbol: "Activity",
|
|
2949
2951
|
emojis: {
|
|
2950
2952
|
soccer: {
|
|
@@ -3373,7 +3375,7 @@ export const Emojis = [
|
|
|
3373
3375
|
{
|
|
3374
3376
|
travel: {
|
|
3375
3377
|
id: "travel_and_places",
|
|
3376
|
-
name: "
|
|
3378
|
+
name: t("TRAVEL_PLACES"),
|
|
3377
3379
|
symbol: "Travel",
|
|
3378
3380
|
emojis: {
|
|
3379
3381
|
red_car: {
|
|
@@ -3868,7 +3870,7 @@ export const Emojis = [
|
|
|
3868
3870
|
{
|
|
3869
3871
|
objects: {
|
|
3870
3872
|
id: "objects",
|
|
3871
|
-
name: "
|
|
3873
|
+
name: t("OBJECTS"),
|
|
3872
3874
|
symbol: "Objects",
|
|
3873
3875
|
emojis: {
|
|
3874
3876
|
watch: {
|
|
@@ -4762,7 +4764,7 @@ export const Emojis = [
|
|
|
4762
4764
|
{
|
|
4763
4765
|
symbols: {
|
|
4764
4766
|
id: "symbols",
|
|
4765
|
-
name: "
|
|
4767
|
+
name: t("SYMBOLS"),
|
|
4766
4768
|
symbol: "Symbols",
|
|
4767
4769
|
emojis: {
|
|
4768
4770
|
heart: {
|
|
@@ -5921,7 +5923,7 @@ export const Emojis = [
|
|
|
5921
5923
|
{
|
|
5922
5924
|
flags: {
|
|
5923
5925
|
id: "flags",
|
|
5924
|
-
name: "
|
|
5926
|
+
name: t("FLAGS"),
|
|
5925
5927
|
symbol: "Flags",
|
|
5926
5928
|
emojis: {
|
|
5927
5929
|
afghanistan: {
|