@cometchat/chat-uikit-react-native 4.0.1 → 4.1.0
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/README.md +1 -1
- package/android/.gradle/7.4/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4/dependencies-accessors/dependencies-accessors.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/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/gradle.xml +13 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/src/main/java/com/reactnativecometchatuikit/{RNSoundModule.java → CometChatSoundModule.java} +22 -22
- package/android/src/main/java/com/reactnativecometchatuikit/CometchatUiKitPackage.java +1 -1
- package/ios/{RNSound.h → CometChatSoundModule.h} +1 -1
- package/ios/{RNSound.m → CometChatSoundModule.m} +2 -2
- package/lib/CometChatConversations/ConversationsConfiguration.d.ts +1 -0
- package/lib/CometChatDetails/DetailsConfiguration.d.ts +1 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +1 -0
- package/lib/CometChatGroups/GroupsConfiguration.d.ts +1 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +1 -7
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -1
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +1 -0
- package/lib/CometChatMessageList/CometChatMessageList.js +18 -49
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -1
- package/lib/CometChatMessageList/MessageListConfiguration.d.ts +1 -0
- package/lib/CometChatMessages/MessagesConfiguration.d.ts +1 -0
- package/lib/CometChatTabs/TabItems.d.ts +1 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +1 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +1 -0
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +1 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +3 -3
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -1
- package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +1 -0
- package/lib/extensions/ImageModeration/ImageModerationFilter.js +4 -4
- package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +1 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +1 -0
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +1 -1
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +1 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +2 -4
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +1 -0
- package/lib/index.d.ts +0 -13
- package/lib/index.js +0 -14
- package/lib/index.js.map +1 -1
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +0 -2
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +2 -13
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -1
- package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +1 -5
- package/lib/shared/CometChatUiKit/UIKitSettings.js +1 -3
- package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +0 -2
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +1 -3
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +1 -4
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -1
- package/lib/shared/events/CometChatUIEvents.d.ts +1 -2
- package/lib/shared/events/CometChatUIEvents.js +0 -1
- package/lib/shared/events/CometChatUIEvents.js.map +1 -1
- package/lib/shared/framework/DataSource.d.ts +2 -1
- package/lib/shared/framework/DataSourceDecorator.d.ts +2 -1
- package/lib/shared/framework/DataSourceDecorator.js +2 -2
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -1
- package/lib/shared/framework/MessageDataSource.d.ts +1 -1
- package/lib/shared/framework/MessageDataSource.js +2 -2
- package/lib/shared/framework/MessageDataSource.js.map +1 -1
- package/lib/shared/helper/types/index.d.ts +1 -0
- package/lib/shared/modals/CometChatDetailsOption.d.ts +1 -0
- package/lib/shared/modals/CometChatMessageOption.d.ts +1 -0
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +1 -0
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +153 -230
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +0 -4
- package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +0 -4
- package/package.json +3 -3
- package/src/AI/AIAssistBot/AIAssistBotDecorator.tsx +164 -0
- package/src/AI/AIAssistBot/AIAssistBotExtension.tsx +22 -0
- package/src/AI/AIAssistBot/AIAssistBotStyle.ts +43 -0
- package/src/AI/AIAssistBot/AIAssistBotView.tsx +294 -0
- package/src/AI/AIAssistBot/configuration.ts +22 -0
- package/src/AI/AIAssistBot/resources/index.ts +5 -0
- package/src/AI/{configuration.ts → AIBaseConfiguration.ts} +3 -6
- package/src/AI/AIBaseStyle.ts +58 -0
- package/src/AI/AIConversationStarter/AIConversationStarter.ts +5 -19
- package/src/AI/AIConversationStarter/AIConversationStarterDecorator.tsx +145 -132
- package/src/AI/AIConversationStarter/AIConversationStarterStyle.ts +11 -6
- package/src/AI/AIConversationStarter/configuration.ts +10 -17
- package/src/AI/AIConversationSummary/AIConversationSummaryDecorator.tsx +175 -0
- package/src/AI/AIConversationSummary/AIConversationSummaryExtension.ts +21 -0
- package/src/AI/AIConversationSummary/AIConversationSummaryStyle.tsx +20 -0
- package/src/AI/AIConversationSummary/AIConversationSummaryView.tsx +190 -0
- package/src/AI/AIConversationSummary/configuration.ts +14 -0
- package/src/AI/AIConversationSummary/resources/close.png +0 -0
- package/src/AI/AIConversationSummary/resources/index.ts +5 -0
- package/src/AI/AIExtensionDataSource.ts +17 -12
- package/src/AI/AIOptionsStyle.ts +14 -0
- package/src/AI/AISmartReplies/AISmartReplies.ts +6 -15
- package/src/AI/AISmartReplies/AISmartRepliesDecorator.tsx +302 -0
- package/src/AI/AISmartReplies/AISmartRepliesStyle.ts +1 -1
- package/src/AI/AISmartReplies/configuration.ts +4 -11
- package/src/AI/resources/index.ts +0 -2
- package/src/AI/utils.ts +3 -3
- package/src/CometChatConversations/CometChatConversations.tsx +56 -46
- package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +118 -5
- package/src/CometChatMessageComposer/MessageComposerConfiguration.tsx +3 -0
- package/src/CometChatMessageComposer/resources/index.ts +2 -0
- package/src/CometChatMessageComposer/styles.ts +1 -4
- package/src/CometChatMessageHeader/listners.ts +5 -4
- package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +35 -35
- package/src/CometChatMessageList/CometChatMessageList.tsx +284 -166
- package/src/CometChatMessages/CometChatMessages.tsx +8 -16
- package/src/CometChatMessages/MessagesConfiguration.ts +2 -2
- package/src/CometChatTabs/CometChatTabs.tsx +1 -1
- package/src/calls/CallUtils.ts +106 -45
- package/src/calls/CallingDetailsUtils.tsx +133 -15
- package/src/calls/CallingPackage.ts +16 -2
- package/src/calls/CometChatCallButtons/CometChatCallButtons.tsx +9 -10
- package/src/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.ts +116 -0
- package/src/calls/CometChatCallLogDetails/CallLogDetailsStyle.ts +36 -0
- package/src/calls/CometChatCallLogDetails/CometChatCallLogDetails.tsx +308 -0
- package/src/calls/CometChatCallLogDetails/index.ts +12 -0
- package/src/calls/CometChatCallLogDetails/resources/CloseIcon.png +0 -0
- package/src/calls/{CometChatCallDetails → CometChatCallLogDetails}/style.ts +1 -0
- package/src/calls/{CometChatCallHistory/CallHistoryConfiguration.ts → CometChatCallLogHistory/CallLogHistoryConfiguration.ts} +15 -27
- package/src/calls/CometChatCallLogHistory/CallLogHistoryStyle.ts +46 -0
- package/src/calls/CometChatCallLogHistory/CometChatCallLogHistory.tsx +337 -0
- package/src/calls/CometChatCallLogHistory/index.ts +12 -0
- package/src/calls/CometChatCallLogHistory/resources/incomingcall.png +0 -0
- package/src/calls/CometChatCallLogHistory/resources/incomingvideo.png +0 -0
- package/src/calls/CometChatCallLogHistory/resources/index.ts +29 -0
- package/src/calls/CometChatCallLogHistory/resources/missedcall.png +0 -0
- package/src/calls/CometChatCallLogHistory/resources/missedvideo.png +0 -0
- package/src/calls/CometChatCallLogHistory/resources/outgoingcall.png +0 -0
- package/src/calls/CometChatCallLogHistory/resources/outgoingvideo.png +0 -0
- package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/style.ts +2 -1
- package/src/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.ts +61 -0
- package/src/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.ts +59 -0
- package/src/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.tsx +220 -0
- package/src/calls/CometChatCallLogParticipants/index.ts +12 -0
- package/src/calls/CometChatCallLogParticipants/resources/Back.png +0 -0
- package/src/calls/CometChatCallLogParticipants/resources/index.ts +4 -0
- package/src/calls/CometChatCallLogParticipants/style.ts +24 -0
- package/src/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.ts +63 -0
- package/src/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.ts +63 -0
- package/src/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.tsx +253 -0
- package/src/calls/CometChatCallLogRecordings/index.ts +12 -0
- package/src/calls/CometChatCallLogRecordings/resources/Back.png +0 -0
- package/src/calls/CometChatCallLogRecordings/resources/download.png +0 -0
- package/src/calls/CometChatCallLogRecordings/resources/index.ts +6 -0
- package/src/calls/CometChatCallLogRecordings/style.ts +24 -0
- package/src/calls/CometChatCallLogs/CallLogsConfiguration.ts +87 -0
- package/src/calls/CometChatCallLogs/CallLogsStyle.ts +95 -0
- package/src/calls/CometChatCallLogs/CometChatCallLogs.tsx +482 -0
- package/src/calls/CometChatCallLogs/index.ts +12 -0
- package/src/calls/CometChatCallLogs/resources/Back.png +0 -0
- package/src/calls/CometChatCallLogs/resources/Info.png +0 -0
- package/src/calls/CometChatCallLogs/resources/Selection.png +0 -0
- package/src/calls/CometChatCallLogs/resources/Spinner.png +0 -0
- package/src/calls/CometChatCallLogs/resources/check.png +0 -0
- package/src/calls/CometChatCallLogs/resources/incomingcall.png +0 -0
- package/src/calls/CometChatCallLogs/resources/incomingvideo.png +0 -0
- package/src/calls/CometChatCallLogs/resources/index.ts +25 -0
- package/src/calls/CometChatCallLogs/resources/missedcall.png +0 -0
- package/src/calls/CometChatCallLogs/resources/missedvideo.png +0 -0
- package/src/calls/CometChatCallLogs/resources/outgoingcall.png +0 -0
- package/src/calls/CometChatCallLogs/resources/outgoingvideo.png +0 -0
- package/src/calls/CometChatCallLogs/style.ts +24 -0
- package/src/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.ts +9 -0
- package/src/calls/{CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.tsx → CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.tsx} +17 -16
- package/src/calls/CometChatCallLogsWithDetails/index.ts +7 -0
- package/src/calls/index.ts +40 -1
- package/src/calls/resources/index.ts +3 -1
- package/src/calls/resources/nextarrow.png +0 -0
- package/src/extensions/SmartReplies/SmartRepliesDecorator.tsx +6 -14
- package/src/extensions/Stickers/StickersExtensionDecorator.tsx +1 -1
- package/src/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.tsx +5 -3
- package/src/extensions/ThumbnailGeneration/resources/empty.png +0 -0
- package/src/extensions/ThumbnailGeneration/resources/index.ts +5 -0
- package/src/index.ts +134 -17
- package/src/shared/CometChatUiKit/CometChatUIKit.ts +175 -63
- package/src/shared/CometChatUiKit/UIKitSettings.ts +2 -2
- package/src/shared/constants/UIKitConstants.ts +81 -47
- package/src/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.ts +47 -3
- package/src/shared/events/CometChatUIEventHandler/Listener.ts +61 -2
- package/src/shared/events/ListenerInitializer.ts +73 -0
- package/src/shared/events/messages.ts +14 -0
- package/src/shared/framework/DataSource.ts +15 -0
- package/src/shared/framework/DataSourceDecorator.tsx +40 -0
- package/src/shared/framework/MessageDataSource.tsx +87 -4
- package/src/shared/index.ts +48 -0
- package/src/shared/modals/CometChatCallLogDetailsOptions.ts +23 -0
- package/src/shared/modals/CometChatCallLogDetailsTemplate.ts +16 -0
- package/src/shared/modals/InteractiveData/InteractiveActions/APIAction.ts +118 -0
- package/src/shared/modals/InteractiveData/InteractiveActions/CustomAction.ts +19 -0
- package/src/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.ts +34 -0
- package/src/shared/modals/InteractiveData/InteractiveActions/index.ts +3 -0
- package/src/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.ts +69 -0
- package/src/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.ts +119 -0
- package/src/shared/modals/InteractiveData/InteractiveData/index.ts +2 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.ts +102 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.ts +45 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/ButtonElement.ts +61 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.ts +75 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/DropdownElement.ts +83 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/LabelElement.ts +32 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/OptionElement.ts +39 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.ts +76 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.ts +76 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/TextInputElement.ts +101 -0
- package/src/shared/modals/InteractiveData/InteractiveElements/index.ts +10 -0
- package/src/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.ts +41 -0
- package/src/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.ts +64 -0
- package/src/shared/modals/InteractiveData/InteractiveEntities/index.ts +2 -0
- package/src/shared/modals/InteractiveData/InteractiveMessage/CardMessage.ts +142 -0
- package/src/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.ts +38 -0
- package/src/shared/modals/InteractiveData/InteractiveMessage/FormMessage.ts +152 -0
- package/src/shared/modals/InteractiveData/InteractiveMessage/index.ts +3 -0
- package/src/shared/modals/InteractiveData/index.ts +28 -0
- package/src/shared/modals/index.ts +23 -0
- package/src/shared/resources/CometChatLocalize/resources/ar/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/de/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/en/translation.json +24 -7
- package/src/shared/resources/CometChatLocalize/resources/es/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/fr/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/hi/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/lt/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/ms/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/pt/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/ru/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/sv/translation.json +22 -5
- package/src/shared/resources/CometChatLocalize/resources/zh/translation.json +22 -4
- package/src/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +22 -5
- package/src/shared/resources/CometChatSoundManager/CometChatSoundManager.js +2 -2
- package/src/shared/resources/CometChatSoundManager/sound.js +35 -35
- package/src/shared/resources/CometChatTheme/Palette.ts +16 -0
- package/src/shared/utils/DetailsUtils/DetailsUtils.tsx +1 -1
- package/src/shared/utils/InteractiveMessageUtils.ts +20 -0
- package/src/shared/utils/NetworkUtils.tsx +20 -0
- package/src/shared/utils/conversationUtils.ts +9 -6
- package/src/shared/views/CometChatAICard/CometChatAICard.tsx +71 -0
- package/src/shared/views/CometChatAICard/resources/errormessage.png +0 -0
- package/src/shared/views/CometChatAICard/resources/index.ts +4 -0
- package/src/shared/views/CometChatAICard/resources/nomessage.png +0 -0
- package/src/shared/views/CometChatActionSheet/ActionSheetStyle.ts +4 -0
- package/src/shared/views/CometChatActionSheet/CometChatActionSheet.tsx +11 -7
- package/src/shared/views/CometChatBottomSheet/CometChatBottomSheet.tsx +56 -47
- package/src/shared/views/CometChatBottomSheet/style.ts +0 -2
- package/src/shared/views/CometChatButton/CometChatButton.tsx +32 -22
- package/src/shared/views/CometChatCardBubble/CardBubbleStyle.tsx +47 -0
- package/src/shared/views/CometChatCardBubble/CometChatCardBubble.tsx +173 -0
- package/src/shared/views/CometChatCardBubble/index.tsx +1 -0
- package/src/shared/views/CometChatCheckBox/CheckBoxStyle.tsx +43 -0
- package/src/shared/views/CometChatCheckBox/CometChatCheckBox.tsx +79 -0
- package/src/shared/views/CometChatDate/CometChatDate.tsx +9 -6
- package/src/shared/views/CometChatDate/DateConfiguration.ts +4 -0
- package/src/shared/views/CometChatDate/style.ts +1 -1
- package/src/shared/views/CometChatDropDown/CometChatDropDown.tsx +126 -0
- package/src/shared/views/CometChatDropDown/DropDownStyle.tsx +39 -0
- package/src/shared/views/CometChatDropDown/resources/downArrowIcon.png +0 -0
- package/src/shared/views/CometChatDropDown/resources/index.js +5 -0
- package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +464 -0
- package/src/shared/views/CometChatFormBubble/FormBubbleStyle.tsx +91 -0
- package/src/shared/views/CometChatFormBubble/index.tsx +1 -0
- package/src/shared/views/CometChatImageBubble/CometChatImageBubble.tsx +13 -5
- package/src/shared/views/CometChatImageBubble/ImageBubbleStyle.ts +14 -3
- package/src/shared/views/CometChatLabel/CometChatLabel.tsx +27 -0
- package/src/shared/views/CometChatLabel/LabelStyle.ts +19 -0
- package/src/shared/views/CometChatListItem/CometChatListItem.tsx +31 -19
- package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +5 -4
- package/src/shared/views/CometChatMessageInput/CometChatMessageInput.tsx +1 -2
- package/src/shared/views/CometChatPanel/CometChatPanel.tsx +51 -0
- package/src/shared/views/CometChatPanel/PanelStyle.tsx +43 -0
- package/src/shared/views/CometChatPanel/resources/CloseIcon.png +0 -0
- package/src/shared/views/CometChatPanel/resources/index.ts +5 -0
- package/src/shared/views/CometChatQuickView/CometChatQuickView.tsx +66 -0
- package/src/shared/views/CometChatQuickView/QuickViewStyle.ts +55 -0
- package/src/shared/views/CometChatRadioButton/CometChatRadioButton.tsx +67 -0
- package/src/shared/views/CometChatRadioButton/RadioButtonStyle.tsx +38 -0
- package/src/shared/views/CometChatSingleSelect/CometChatSingleSelect.tsx +63 -0
- package/src/shared/views/CometChatSingleSelect/SingleStyle.tsx +35 -0
- package/src/shared/views/CometChatTextInput/CometChatTextInput.tsx +67 -0
- package/src/shared/views/CometChatTextInput/TextInputStyle.tsx +26 -0
- package/src/shared/views/index.ts +7 -1
- package/lib/AI/AIConversationStarter/AIConversationStarter.d.ts +0 -12
- package/lib/AI/AIConversationStarter/AIConversationStarter.js +0 -31
- package/lib/AI/AIConversationStarter/AIConversationStarter.js.map +0 -1
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -25
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js +0 -175
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js.map +0 -1
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.d.ts +0 -4
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js +0 -8
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js.map +0 -1
- package/lib/AI/AIConversationStarter/configuration.d.ts +0 -14
- package/lib/AI/AIConversationStarter/configuration.js +0 -16
- package/lib/AI/AIConversationStarter/configuration.js.map +0 -1
- package/lib/AI/AIConversationStarter/style.d.ts +0 -31
- package/lib/AI/AIConversationStarter/style.js +0 -62
- package/lib/AI/AIConversationStarter/style.js.map +0 -1
- package/lib/AI/AIEnabler.d.ts +0 -10
- package/lib/AI/AIEnabler.js +0 -102
- package/lib/AI/AIEnabler.js.map +0 -1
- package/lib/AI/AIEnablerDecorator.d.ts +0 -43
- package/lib/AI/AIEnablerDecorator.js +0 -251
- package/lib/AI/AIEnablerDecorator.js.map +0 -1
- package/lib/AI/AIExtensionDataSource.d.ts +0 -6
- package/lib/AI/AIExtensionDataSource.js +0 -10
- package/lib/AI/AIExtensionDataSource.js.map +0 -1
- package/lib/AI/AISmartReplies/AISmartReplies.d.ts +0 -10
- package/lib/AI/AISmartReplies/AISmartReplies.js +0 -23
- package/lib/AI/AISmartReplies/AISmartReplies.js.map +0 -1
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -7
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js +0 -12
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js.map +0 -1
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.d.ts +0 -12
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.js +0 -15
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.js.map +0 -1
- package/lib/AI/AISmartReplies/configuration.d.ts +0 -14
- package/lib/AI/AISmartReplies/configuration.js +0 -16
- package/lib/AI/AISmartReplies/configuration.js.map +0 -1
- package/lib/AI/CardView.d.ts +0 -19
- package/lib/AI/CardView.js +0 -45
- package/lib/AI/CardView.js.map +0 -1
- package/lib/AI/CardViewStyle.d.ts +0 -29
- package/lib/AI/CardViewStyle.js +0 -36
- package/lib/AI/CardViewStyle.js.map +0 -1
- package/lib/AI/configuration.d.ts +0 -14
- package/lib/AI/configuration.js +0 -16
- package/lib/AI/configuration.js.map +0 -1
- package/lib/AI/resources/index.d.ts +0 -5
- package/lib/AI/resources/index.js +0 -6
- package/lib/AI/resources/index.js.map +0 -1
- package/lib/AI/style.d.ts +0 -115
- package/lib/AI/style.js +0 -139
- package/lib/AI/style.js.map +0 -1
- package/lib/AI/utils.d.ts +0 -38
- package/lib/AI/utils.js +0 -28
- package/lib/AI/utils.js.map +0 -1
- package/src/AI/AIEnabler.ts +0 -115
- package/src/AI/AIEnablerDecorator.tsx +0 -324
- package/src/AI/AISmartReplies/AISmartRepliesDecorator.ts +0 -18
- package/src/calls/CometChatCallDetails/CallDetailsConfiguration.ts +0 -68
- package/src/calls/CometChatCallDetails/CallDetailsStyle.ts +0 -52
- package/src/calls/CometChatCallDetails/CometChatCallDetails.tsx +0 -268
- package/src/calls/CometChatCallDetails/index.ts +0 -9
- package/src/calls/CometChatCallHistory/CallHistoryStyle.ts +0 -34
- package/src/calls/CometChatCallHistory/CometChatCallHistory.tsx +0 -422
- package/src/calls/CometChatCallHistory/index.ts +0 -9
- package/src/calls/CometChatCallHistory/resources/index.ts +0 -17
- package/src/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.ts +0 -7
- package/src/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.ts +0 -3
- package/src/calls/CometChatCallHistoryWithDetails/index.ts +0 -8
- /package/src/{calls/CometChatCallDetails → AI/AIAssistBot}/resources/CloseIcon.png +0 -0
- /package/src/{AI → CometChatMessageComposer}/resources/ai.png +0 -0
- /package/src/calls/{CometChatCallDetails → CometChatCallLogDetails}/resources/index.ts +0 -0
- /package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/resources/Back.png +0 -0
- /package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/resources/Call.png +0 -0
- /package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/resources/Info.png +0 -0
- /package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/resources/Selection.png +0 -0
- /package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/resources/Spineer.png +0 -0
- /package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/resources/Video.png +0 -0
- /package/src/calls/{CometChatCallHistory → CometChatCallLogHistory}/resources/check.png +0 -0
- /package/src/calls/{CometChatCallHistoryWithDetails → CometChatCallLogsWithDetails}/style.ts +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import LoadingIcon from "./Spinner.png";
|
|
2
|
+
import DetailIcon from "./Info.png";
|
|
3
|
+
import BackIcon from "./Back.png";
|
|
4
|
+
import CheckIcon from "./check.png";
|
|
5
|
+
import SelectionIcon from "./Selection.png";
|
|
6
|
+
import IncomingCallIcon from './incomingcall.png';
|
|
7
|
+
import OutgoingCallIcon from './outgoingcall.png';
|
|
8
|
+
import MissedCallIcon from './missedcall.png';
|
|
9
|
+
import MissedVideoIcon from './missedvideo.png';
|
|
10
|
+
import IncomingVideoIcon from './incomingvideo.png';
|
|
11
|
+
import OutgoingVideoIcon from './outgoingvideo.png';
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
SelectionIcon,
|
|
15
|
+
CheckIcon,
|
|
16
|
+
DetailIcon,
|
|
17
|
+
LoadingIcon,
|
|
18
|
+
BackIcon,
|
|
19
|
+
IncomingCallIcon,
|
|
20
|
+
OutgoingCallIcon,
|
|
21
|
+
MissedCallIcon,
|
|
22
|
+
MissedVideoIcon,
|
|
23
|
+
IncomingVideoIcon,
|
|
24
|
+
OutgoingVideoIcon
|
|
25
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
|
|
3
|
+
export const Style = StyleSheet.create({
|
|
4
|
+
container: {
|
|
5
|
+
flex: 1,
|
|
6
|
+
justifyContent: "center",
|
|
7
|
+
alignItems: "center",
|
|
8
|
+
},
|
|
9
|
+
headerStyle : {
|
|
10
|
+
alignItems: "center",
|
|
11
|
+
justifyContent: "space-between",
|
|
12
|
+
paddingEnd: 8,
|
|
13
|
+
paddingStart: 8
|
|
14
|
+
},
|
|
15
|
+
row: {
|
|
16
|
+
flexDirection: "row",
|
|
17
|
+
alignItems: "center",
|
|
18
|
+
},
|
|
19
|
+
imageStyle: {
|
|
20
|
+
height: 24,
|
|
21
|
+
width: 24,
|
|
22
|
+
alignSelf: "center",
|
|
23
|
+
}
|
|
24
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CometChat } from '@cometchat/chat-sdk-react-native'
|
|
2
|
+
import { CallLogDetailsConfigurationInterface } from "../CometChatCallLogDetails";
|
|
3
|
+
import { CallLogsConfigurationInterface } from "../CometChatCallLogs/CallLogsConfiguration";
|
|
4
|
+
|
|
5
|
+
export interface CallLogsWithDetailsConfigurationInterface {
|
|
6
|
+
onError?: (e: CometChat.CometChatException) => void,
|
|
7
|
+
CallLogsConfiguration?: CallLogsConfigurationInterface,
|
|
8
|
+
callLogDetailsConfiguration?: CallLogDetailsConfigurationInterface,
|
|
9
|
+
}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import React, { useState, useRef, useContext } from 'react'
|
|
2
2
|
import { View } from 'react-native'
|
|
3
3
|
import { CometChat } from '@cometchat/chat-sdk-react-native'
|
|
4
|
-
import {
|
|
5
|
-
// import { CometChatCallHistory } from '../CometChatCallHistory/CometChatCallHistory'
|
|
6
|
-
import { CallDetailsConfigurationInterface } from '../CometChatCallDetails'
|
|
4
|
+
import { CometChatCallLogs } from '../CometChatCallLogs/CometChatCallLogs'
|
|
7
5
|
import { Style } from './style'
|
|
8
6
|
import { CometChatContext } from '../../shared'
|
|
7
|
+
import { CometChatCallLogDetails } from '../CometChatCallLogDetails/CometChatCallLogDetails'
|
|
8
|
+
import { CallLogsConfigurationInterface } from '../CometChatCallLogs/CallLogsConfiguration'
|
|
9
|
+
import { CallLogDetailsConfigurationInterface } from '../CometChatCallLogDetails'
|
|
9
10
|
|
|
10
|
-
interface
|
|
11
|
-
call?:
|
|
11
|
+
interface CometChatCallLogsWithDetailsConfigurationInterface {
|
|
12
|
+
call?: any,
|
|
12
13
|
onError?: (e: CometChat.CometChatException) => void,
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
CallLogsConfiguration?: CallLogsConfigurationInterface,
|
|
15
|
+
callLogDetailsConfiguration?: CallLogDetailsConfigurationInterface,
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
const
|
|
18
|
+
export const CometChatCallLogsWithDetails = (props: CometChatCallLogsWithDetailsConfigurationInterface) => {
|
|
18
19
|
|
|
19
20
|
const {
|
|
20
21
|
call,
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
callLogDetailsConfiguration,
|
|
23
|
+
CallLogsConfiguration,
|
|
23
24
|
onError
|
|
24
25
|
} = props;
|
|
25
26
|
|
|
@@ -30,23 +31,23 @@ const CometChatCallHistoryWithDetails = (props: CometChatCallHistoryWithDetailsI
|
|
|
30
31
|
|
|
31
32
|
return (
|
|
32
33
|
<View>
|
|
33
|
-
|
|
34
|
+
<CometChatCallLogs
|
|
34
35
|
onInfoIconPress={({ call }) => {
|
|
35
36
|
selectedCall.current = call as CometChat.Call;
|
|
36
37
|
setShowDetails(true)
|
|
37
38
|
}}
|
|
38
39
|
onError={onError}
|
|
39
|
-
{...
|
|
40
|
-
/>
|
|
40
|
+
{...CallLogsConfiguration}
|
|
41
|
+
/>
|
|
41
42
|
{
|
|
42
43
|
showDetails &&
|
|
43
44
|
<View style={[Style.stackScreen, { backgroundColor: theme.palette.getBackgroundColor() }]}>
|
|
44
|
-
|
|
45
|
+
<CometChatCallLogDetails
|
|
45
46
|
onError={onError}
|
|
46
47
|
call={selectedCall.current}
|
|
47
48
|
onBack={() => setShowDetails(false)}
|
|
48
|
-
{...
|
|
49
|
-
/>
|
|
49
|
+
{...callLogDetailsConfiguration}
|
|
50
|
+
/>
|
|
50
51
|
</View>
|
|
51
52
|
}
|
|
52
53
|
</View>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CallLogsWithDetailsConfigurationInterface } from "./CallLogsWithDetailsConfiguration";
|
|
2
|
+
import { CometChatCallLogsWithDetails } from "./CometChatCallLogsWithDetails";
|
|
3
|
+
|
|
4
|
+
export {
|
|
5
|
+
CallLogsWithDetailsConfigurationInterface,
|
|
6
|
+
CometChatCallLogsWithDetails,
|
|
7
|
+
}
|
package/src/calls/index.ts
CHANGED
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
import { CallingPackage } from "./CallingPackage";
|
|
21
21
|
import { CallUIEvents } from "./CallEvents";
|
|
22
22
|
|
|
23
|
+
import { CallLogsWithDetailsConfigurationInterface, CometChatCallLogsWithDetails } from './CometChatCallLogsWithDetails'
|
|
24
|
+
import { CallLogsConfiguration, CallLogsConfigurationInterface, CallLogsStyle, CallLogsStyleInterface, CometChatCallLogs, CometChatCallLogsConfigurationInterface } from './CometChatCallLogs'
|
|
25
|
+
import { CometChatCallLogDetails, CometChatCallLogDetailsConfigurationInterface, CallLogDetailsConfiguration, CallLogDetailsConfigurationInterface, CallLogDetailsStyle, CallLogDetailsStyleInterface } from './CometChatCallLogDetails'
|
|
26
|
+
import { CallLogHistoryConfiguration, CallLogHistoryConfigurationInterface, CallLogHistoryStyle, CallLogHistoryStyleInterface, CometChatCallLogHistory, CometChatCallLogHistoryInterface } from './CometChatCallLogHistory'
|
|
27
|
+
import { CallLogParticipantsConfiguration, CallLogParticipantsConfigurationInterface, CallParticipantsStyle, CallParticipantsStyleInterface, CometChatCallLogParticipantsConfigurationInterface, CometChatParticipants } from './CometChatCallLogParticipants'
|
|
28
|
+
import { CallLogRecordingsConfiguration, CallLogRecordingsConfigurationInterface, CallRecordingsStyle, CallRecordingsStyleInterface, CometChatCallLogRecordingsConfigurationInterface, CometChatRecordings } from './CometChatCallLogRecordings'
|
|
29
|
+
|
|
23
30
|
export {
|
|
24
31
|
CallUIEvents,
|
|
25
32
|
CallingPackage,
|
|
@@ -35,5 +42,37 @@ export {
|
|
|
35
42
|
CometChatIncomingCall,
|
|
36
43
|
CometChatOngoingCall,
|
|
37
44
|
CometChatOutgoingCall,
|
|
38
|
-
CometChatCallBubble
|
|
45
|
+
CometChatCallBubble,
|
|
46
|
+
CometChatCallLogsWithDetails,
|
|
47
|
+
CallLogsWithDetailsConfigurationInterface,
|
|
48
|
+
CometChatCallLogs,
|
|
49
|
+
CallLogsConfiguration,
|
|
50
|
+
CallLogsConfigurationInterface,
|
|
51
|
+
CallLogsStyle,
|
|
52
|
+
CallLogsStyleInterface,
|
|
53
|
+
CometChatCallLogsConfigurationInterface,
|
|
54
|
+
CometChatCallLogDetails,
|
|
55
|
+
CometChatCallLogDetailsConfigurationInterface,
|
|
56
|
+
CallLogDetailsConfiguration,
|
|
57
|
+
CallLogDetailsConfigurationInterface,
|
|
58
|
+
CallLogDetailsStyle,
|
|
59
|
+
CallLogDetailsStyleInterface,
|
|
60
|
+
CometChatCallLogHistory,
|
|
61
|
+
CallLogHistoryConfiguration,
|
|
62
|
+
CallLogHistoryConfigurationInterface,
|
|
63
|
+
CallLogHistoryStyle,
|
|
64
|
+
CallLogHistoryStyleInterface,
|
|
65
|
+
CometChatCallLogHistoryInterface,
|
|
66
|
+
CometChatParticipants,
|
|
67
|
+
CallLogParticipantsConfiguration,
|
|
68
|
+
CallLogParticipantsConfigurationInterface,
|
|
69
|
+
CallParticipantsStyle,
|
|
70
|
+
CallParticipantsStyleInterface,
|
|
71
|
+
CometChatCallLogParticipantsConfigurationInterface,
|
|
72
|
+
CometChatRecordings,
|
|
73
|
+
CallLogRecordingsConfiguration,
|
|
74
|
+
CallLogRecordingsConfigurationInterface,
|
|
75
|
+
CallRecordingsStyle,
|
|
76
|
+
CallRecordingsStyleInterface,
|
|
77
|
+
CometChatCallLogRecordingsConfigurationInterface
|
|
39
78
|
}
|
|
Binary file
|
|
@@ -19,7 +19,6 @@ import { SmartRepliesConfigurationInterface } from './SmartRepliesExtension';
|
|
|
19
19
|
|
|
20
20
|
export class SmartRepliesDecorator extends DataSourceDecorator {
|
|
21
21
|
smartRepliesConfiguration?: SmartRepliesConfigurationInterface;
|
|
22
|
-
messageListenerId = 'message_' + new Date().getTime();
|
|
23
22
|
|
|
24
23
|
loggedInUser: CometChat.User;
|
|
25
24
|
|
|
@@ -38,14 +37,6 @@ export class SmartRepliesDecorator extends DataSourceDecorator {
|
|
|
38
37
|
})
|
|
39
38
|
.catch((err) => console.log(err));
|
|
40
39
|
|
|
41
|
-
CometChat.addMessageListener(
|
|
42
|
-
this.messageListenerId,
|
|
43
|
-
new CometChat.MessageListener({
|
|
44
|
-
onTextMessageReceived: (textMessage) => {
|
|
45
|
-
this.getReplies(textMessage);
|
|
46
|
-
},
|
|
47
|
-
})
|
|
48
|
-
);
|
|
49
40
|
CometChatUIEventHandler.addMessageListener(
|
|
50
41
|
MessageEvents.ccActiveChatChanged,
|
|
51
42
|
{
|
|
@@ -53,6 +44,9 @@ export class SmartRepliesDecorator extends DataSourceDecorator {
|
|
|
53
44
|
if(message && message['sender']?.['uid'] != this.loggedInUser.getUid())
|
|
54
45
|
this.getReplies(message);
|
|
55
46
|
},
|
|
47
|
+
onTextMessageReceived: (textMessage) => {
|
|
48
|
+
this.getReplies(textMessage);
|
|
49
|
+
},
|
|
56
50
|
}
|
|
57
51
|
);
|
|
58
52
|
}
|
|
@@ -120,11 +114,9 @@ export class SmartRepliesDecorator extends DataSourceDecorator {
|
|
|
120
114
|
textMessage.setSentAt(getUnixTimestamp());
|
|
121
115
|
textMessage.setMuid(String(getUnixTimestamp()));
|
|
122
116
|
|
|
123
|
-
CometChatUIKit.sendTextMessage(
|
|
124
|
-
|
|
125
|
-
() => {}
|
|
126
|
-
() => {}
|
|
127
|
-
);
|
|
117
|
+
CometChatUIKit.sendTextMessage(textMessage)
|
|
118
|
+
.then(() => {})
|
|
119
|
+
.catch(() => {})
|
|
128
120
|
};
|
|
129
121
|
|
|
130
122
|
onCloseRepliesPannel = () => {
|
|
@@ -86,7 +86,7 @@ export class StickersExtensionDecorator extends DataSourceDecorator {
|
|
|
86
86
|
customMessage.setMuid(new Date().getTime().toString());
|
|
87
87
|
customMessage.setSender(loggedInUser.current);
|
|
88
88
|
customMessage.setReceiver(user || group);
|
|
89
|
-
CometChatUIKit.sendCustomMessage(customMessage
|
|
89
|
+
CometChatUIKit.sendCustomMessage(customMessage).then((res) => null).catch(err => null);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
let views:JSX.Element[] = super.getAuxiliaryOptions(user,group,id)
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import { CometChatTheme } from '../../shared/resources/CometChatTheme';
|
|
16
16
|
import { ThumbnailGenerationConfigurationInterface } from './ThumbnailGenerationExtension';
|
|
17
|
+
import { Empty } from './resources';
|
|
17
18
|
|
|
18
19
|
export class ThumbnailGenerationExtensionDecorator extends DataSourceDecorator {
|
|
19
20
|
thumbnailGenerationConfiguration?: ThumbnailGenerationConfigurationInterface;
|
|
@@ -41,16 +42,17 @@ export class ThumbnailGenerationExtensionDecorator extends DataSourceDecorator {
|
|
|
41
42
|
ExtensionConstants.thumbnailGeneration
|
|
42
43
|
);
|
|
43
44
|
if (thumbnailData == undefined) {
|
|
44
|
-
image =
|
|
45
|
+
image = message.getType() === "image" ? message?.data?.url : Empty; //default image for type video
|
|
45
46
|
} else {
|
|
46
47
|
let attachmentData = thumbnailData['attachments'];
|
|
47
48
|
if (attachmentData.length == 1) {
|
|
48
49
|
let dataObj = attachmentData[0];
|
|
49
50
|
|
|
50
51
|
if (!dataObj['error']) {
|
|
51
|
-
|
|
52
|
+
let imageLink = dataObj?.['data']?.['thumbnails']?.['url_small'];
|
|
53
|
+
image = imageLink ? { uri: dataObj['data']['thumbnails']['url_small'] } : Empty; //if imageLink is empty or does not exist then load default image
|
|
52
54
|
} else {
|
|
53
|
-
image =
|
|
55
|
+
image = Empty; //default image
|
|
54
56
|
}
|
|
55
57
|
}
|
|
56
58
|
}
|
|
Binary file
|
package/src/index.ts
CHANGED
|
@@ -116,9 +116,29 @@ import {
|
|
|
116
116
|
CometChatMediaRecorder,
|
|
117
117
|
CometChatMediaRecorderInterface,
|
|
118
118
|
MediaRecorderStyleInterface,
|
|
119
|
-
MediaRecorderStyle
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
MediaRecorderStyle,
|
|
120
|
+
CometChatFormBubble,
|
|
121
|
+
CometChatFormBubbleInterface,
|
|
122
|
+
CometChatCardBubble,
|
|
123
|
+
CometChatCardBubbleInterface,
|
|
124
|
+
APIAction,
|
|
125
|
+
ActionEntity,
|
|
126
|
+
BaseInputElement,
|
|
127
|
+
BaseInteractiveElement,
|
|
128
|
+
ButtonElement,
|
|
129
|
+
CardMessage,
|
|
130
|
+
CheckboxElement,
|
|
131
|
+
CustomAction,
|
|
132
|
+
CustomInteractiveMessage,
|
|
133
|
+
DropdownElement,
|
|
134
|
+
ElementEntity,
|
|
135
|
+
FormMessage,
|
|
136
|
+
LabelElement,
|
|
137
|
+
OptionElement,
|
|
138
|
+
RadioButtonElement,
|
|
139
|
+
SingleSelectElement,
|
|
140
|
+
TextInputElement,
|
|
141
|
+
URLNavigationAction
|
|
122
142
|
} from './shared';
|
|
123
143
|
|
|
124
144
|
import {
|
|
@@ -275,6 +295,38 @@ import {
|
|
|
275
295
|
CometChatOutgoingCall,
|
|
276
296
|
CometChatCallBubble,
|
|
277
297
|
CallingExtensionDecorator,
|
|
298
|
+
CometChatCallLogsWithDetails,
|
|
299
|
+
CallLogsWithDetailsConfigurationInterface,
|
|
300
|
+
CometChatCallLogs,
|
|
301
|
+
CallLogsConfiguration,
|
|
302
|
+
CallLogsConfigurationInterface,
|
|
303
|
+
CallLogsStyle,
|
|
304
|
+
CallLogsStyleInterface,
|
|
305
|
+
CometChatCallLogsConfigurationInterface,
|
|
306
|
+
CometChatCallLogDetails,
|
|
307
|
+
CometChatCallLogDetailsConfigurationInterface,
|
|
308
|
+
CallLogDetailsConfiguration,
|
|
309
|
+
CallLogDetailsConfigurationInterface,
|
|
310
|
+
CallLogDetailsStyle,
|
|
311
|
+
CallLogDetailsStyleInterface,
|
|
312
|
+
CometChatCallLogHistory,
|
|
313
|
+
CallLogHistoryConfiguration,
|
|
314
|
+
CallLogHistoryConfigurationInterface,
|
|
315
|
+
CallLogHistoryStyle,
|
|
316
|
+
CallLogHistoryStyleInterface,
|
|
317
|
+
CometChatCallLogHistoryInterface,
|
|
318
|
+
CometChatParticipants,
|
|
319
|
+
CallLogParticipantsConfiguration,
|
|
320
|
+
CallLogParticipantsConfigurationInterface,
|
|
321
|
+
CallParticipantsStyle,
|
|
322
|
+
CallParticipantsStyleInterface,
|
|
323
|
+
CometChatCallLogParticipantsConfigurationInterface,
|
|
324
|
+
CometChatRecordings,
|
|
325
|
+
CallLogRecordingsConfiguration,
|
|
326
|
+
CallLogRecordingsConfigurationInterface,
|
|
327
|
+
CallRecordingsStyle,
|
|
328
|
+
CallRecordingsStyleInterface,
|
|
329
|
+
CometChatCallLogRecordingsConfigurationInterface
|
|
278
330
|
} from "./calls";
|
|
279
331
|
|
|
280
332
|
import {
|
|
@@ -557,20 +609,85 @@ export {
|
|
|
557
609
|
CometChatMessageInformation,
|
|
558
610
|
CometChatMessageInformationInterface,
|
|
559
611
|
MessageInformationConfigurationInterface,
|
|
560
|
-
MessageInformationStyleInterface
|
|
612
|
+
MessageInformationStyleInterface,
|
|
613
|
+
CometChatFormBubble,
|
|
614
|
+
CometChatFormBubbleInterface,
|
|
615
|
+
CometChatCardBubble,
|
|
616
|
+
CometChatCardBubbleInterface,
|
|
617
|
+
APIAction,
|
|
618
|
+
ActionEntity,
|
|
619
|
+
BaseInputElement,
|
|
620
|
+
BaseInteractiveElement,
|
|
621
|
+
ButtonElement,
|
|
622
|
+
CardMessage,
|
|
623
|
+
CheckboxElement,
|
|
624
|
+
CustomAction,
|
|
625
|
+
CustomInteractiveMessage,
|
|
626
|
+
DropdownElement,
|
|
627
|
+
ElementEntity,
|
|
628
|
+
FormMessage,
|
|
629
|
+
LabelElement,
|
|
630
|
+
OptionElement,
|
|
631
|
+
RadioButtonElement,
|
|
632
|
+
SingleSelectElement,
|
|
633
|
+
TextInputElement,
|
|
634
|
+
URLNavigationAction,
|
|
635
|
+
|
|
636
|
+
/*Call Logs */
|
|
637
|
+
CometChatCallLogsWithDetails,
|
|
638
|
+
CallLogsWithDetailsConfigurationInterface,
|
|
639
|
+
CometChatCallLogs,
|
|
640
|
+
CallLogsConfiguration,
|
|
641
|
+
CallLogsConfigurationInterface,
|
|
642
|
+
CallLogsStyle,
|
|
643
|
+
CallLogsStyleInterface,
|
|
644
|
+
CometChatCallLogsConfigurationInterface,
|
|
645
|
+
CometChatCallLogDetails,
|
|
646
|
+
CometChatCallLogDetailsConfigurationInterface,
|
|
647
|
+
CallLogDetailsConfiguration,
|
|
648
|
+
CallLogDetailsConfigurationInterface,
|
|
649
|
+
CallLogDetailsStyle,
|
|
650
|
+
CallLogDetailsStyleInterface,
|
|
651
|
+
CometChatCallLogHistory,
|
|
652
|
+
CallLogHistoryConfiguration,
|
|
653
|
+
CallLogHistoryConfigurationInterface,
|
|
654
|
+
CallLogHistoryStyle,
|
|
655
|
+
CallLogHistoryStyleInterface,
|
|
656
|
+
CometChatCallLogHistoryInterface,
|
|
657
|
+
CometChatParticipants,
|
|
658
|
+
CallLogParticipantsConfiguration,
|
|
659
|
+
CallLogParticipantsConfigurationInterface,
|
|
660
|
+
CallParticipantsStyle,
|
|
661
|
+
CallParticipantsStyleInterface,
|
|
662
|
+
CometChatCallLogParticipantsConfigurationInterface,
|
|
663
|
+
CometChatRecordings,
|
|
664
|
+
CallLogRecordingsConfiguration,
|
|
665
|
+
CallLogRecordingsConfigurationInterface,
|
|
666
|
+
CallRecordingsStyle,
|
|
667
|
+
CallRecordingsStyleInterface,
|
|
668
|
+
CometChatCallLogRecordingsConfigurationInterface
|
|
669
|
+
/*Call Logs */
|
|
670
|
+
|
|
561
671
|
};
|
|
562
672
|
|
|
563
673
|
// AI
|
|
564
|
-
export {AIConversationStarterExtension} from './AI/AIConversationStarter/AIConversationStarter'
|
|
565
|
-
export {AIConversationStarterDecorator} from './AI/AIConversationStarter/AIConversationStarterDecorator'
|
|
566
|
-
export {AIConversationStarterStyle} from './AI/AIConversationStarter/AIConversationStarterStyle'
|
|
567
|
-
export {AIConversationStarterConfiguration} from './AI/AIConversationStarter/configuration'
|
|
568
|
-
export {
|
|
569
|
-
export {
|
|
570
|
-
export {
|
|
571
|
-
export {
|
|
572
|
-
export {
|
|
573
|
-
export {
|
|
574
|
-
export {
|
|
575
|
-
export {
|
|
576
|
-
export {
|
|
674
|
+
export { AIConversationStarterExtension } from './AI/AIConversationStarter/AIConversationStarter'
|
|
675
|
+
export { AIConversationStarterDecorator } from './AI/AIConversationStarter/AIConversationStarterDecorator'
|
|
676
|
+
export { AIConversationStarterStyle } from './AI/AIConversationStarter/AIConversationStarterStyle'
|
|
677
|
+
export { AIConversationStarterConfiguration } from './AI/AIConversationStarter/configuration'
|
|
678
|
+
export { AIExtensionDataSource } from './AI/AIExtensionDataSource'
|
|
679
|
+
export { AISmartRepliesExtension } from './AI/AISmartReplies/AISmartReplies'
|
|
680
|
+
export { AISmartRepliesExtensionDecorator } from './AI/AISmartReplies/AISmartRepliesDecorator'
|
|
681
|
+
export { AISmartRepliesStyle } from './AI/AISmartReplies/AISmartRepliesStyle'
|
|
682
|
+
export { AISmartRepliesConfiguration } from './AI/AISmartReplies/configuration'
|
|
683
|
+
export { CardStyle, CardViewStyle } from './AI/CardViewStyle'
|
|
684
|
+
export { AIBaseConfiguration } from './AI/AIBaseConfiguration'
|
|
685
|
+
export { AIAssistBotConfiguration } from './AI/AIAssistBot/configuration'
|
|
686
|
+
export { AIAssistBotDecorator } from './AI/AIAssistBot/AIAssistBotDecorator'
|
|
687
|
+
export { AIAssistBotExtension } from './AI/AIAssistBot/AIAssistBotExtension'
|
|
688
|
+
export { AIAssistBotStyle, AIBotMessageBubbleStyle, AISenderMessageBubbleStyle } from './AI/AIAssistBot/AIAssistBotStyle'
|
|
689
|
+
export { AIConversationSummaryDecorator } from './AI/AIConversationSummary/AIConversationSummaryDecorator'
|
|
690
|
+
export { AIConversationSummaryExtension } from './AI/AIConversationSummary/AIConversationSummaryExtension'
|
|
691
|
+
export { AIConversationSummaryStyle } from './AI/AIConversationSummary/AIConversationSummaryStyle'
|
|
692
|
+
export { AIConversationSummaryConfiguration } from './AI/AIConversationSummary/configuration'
|
|
693
|
+
export { AIBaseStyle } from './AI/AIBaseStyle'
|