@cometchat/chat-uikit-react-native 4.3.13 → 4.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/.gradle/7.4/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4/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/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.gradle/configuration-cache/gc.properties +0 -0
- package/android/.gradle/file-system.probe +0 -0
- package/android/.idea/gradle.xml +2 -2
- package/android/.idea/migrations.xml +10 -0
- package/android/.idea/misc.xml +2 -1
- package/lib/AI/AIAssistBot/AIAssistBotDecorator.js +49 -35
- package/lib/AI/AIAssistBot/AIAssistBotDecorator.js.map +1 -1
- package/lib/AI/AIAssistBot/AIAssistBotExtension.js +0 -1
- package/lib/AI/AIAssistBot/AIAssistBotExtension.js.map +1 -1
- package/lib/AI/AIAssistBot/AIAssistBotStyle.js +7 -12
- package/lib/AI/AIAssistBot/AIAssistBotStyle.js.map +1 -1
- package/lib/AI/AIAssistBot/AIAssistBotView.d.ts +3 -2
- package/lib/AI/AIAssistBot/AIAssistBotView.js +54 -65
- package/lib/AI/AIAssistBot/AIAssistBotView.js.map +1 -1
- package/lib/AI/AIAssistBot/configuration.js +2 -12
- package/lib/AI/AIAssistBot/configuration.js.map +1 -1
- package/lib/AI/AIBaseConfiguration.d.ts +11 -0
- package/lib/AI/AIBaseConfiguration.js +3 -7
- package/lib/AI/AIBaseConfiguration.js.map +1 -1
- package/lib/AI/AIBaseStyle.js +0 -9
- package/lib/AI/AIBaseStyle.js.map +1 -1
- package/lib/AI/AIConversationStarter/AIConversationStarter.js +0 -1
- package/lib/AI/AIConversationStarter/AIConversationStarter.js.map +1 -1
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +30 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js +48 -53
- package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js.map +1 -1
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.d.ts +1 -0
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js +0 -5
- package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js.map +1 -1
- package/lib/AI/AIConversationStarter/configuration.js +0 -2
- package/lib/AI/AIConversationStarter/configuration.js.map +1 -1
- package/lib/AI/AIConversationStarter/style.d.ts +20 -9
- package/lib/AI/AIConversationStarter/style.js +23 -42
- package/lib/AI/AIConversationStarter/style.js.map +1 -1
- package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js +63 -53
- package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js.map +1 -1
- package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js +0 -1
- package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js.map +1 -1
- package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js +5 -10
- package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js.map +1 -1
- package/lib/AI/AIConversationSummary/AIConversationSummaryView.d.ts +2 -1
- package/lib/AI/AIConversationSummary/AIConversationSummaryView.js +39 -33
- package/lib/AI/AIConversationSummary/AIConversationSummaryView.js.map +1 -1
- package/lib/AI/AIConversationSummary/configuration.js +2 -4
- package/lib/AI/AIConversationSummary/configuration.js.map +1 -1
- package/lib/AI/AIExtensionDataSource.js +1 -0
- package/lib/AI/AIExtensionDataSource.js.map +1 -1
- package/lib/AI/AIOptionsStyle.js +0 -6
- package/lib/AI/AIOptionsStyle.js.map +1 -1
- package/lib/AI/AISmartReplies/AISmartReplies.js +0 -1
- package/lib/AI/AISmartReplies/AISmartReplies.js.map +1 -1
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +37 -0
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js +89 -101
- package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js.map +1 -1
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.js +1 -8
- package/lib/AI/AISmartReplies/AISmartRepliesStyle.js.map +1 -1
- package/lib/AI/AISmartReplies/configuration.d.ts +2 -0
- package/lib/AI/AISmartReplies/configuration.js +0 -2
- package/lib/AI/AISmartReplies/configuration.js.map +1 -1
- package/lib/AI/CardView.d.ts +2 -1
- package/lib/AI/CardView.js +7 -18
- package/lib/AI/CardView.js.map +1 -1
- package/lib/AI/CardViewStyle.js +6 -22
- package/lib/AI/CardViewStyle.js.map +1 -1
- package/lib/AI/style.d.ts +94 -15
- package/lib/AI/style.js +35 -83
- package/lib/AI/style.js.map +1 -1
- package/lib/AI/utils.js +1 -15
- package/lib/AI/utils.js.map +1 -1
- package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +42 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.js +0 -32
- package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -1
- package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +2 -1
- package/lib/CometChatAddMembers/CometChatAddMembers.js +19 -6
- package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -1
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +45 -0
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +0 -34
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -1
- package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +2 -1
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js +28 -15
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -1
- package/lib/CometChatContacts/CometChatContacts.d.ts +2 -1
- package/lib/CometChatContacts/CometChatContacts.js +29 -29
- package/lib/CometChatContacts/CometChatContacts.js.map +1 -1
- package/lib/CometChatContacts/Header.d.ts +31 -0
- package/lib/CometChatContacts/Header.js +50 -60
- package/lib/CometChatContacts/Header.js.map +1 -1
- package/lib/CometChatContacts/styles.d.ts +100 -1
- package/lib/CometChatConversations/CometChatConversations.d.ts +208 -0
- package/lib/CometChatConversations/CometChatConversations.js +126 -151
- package/lib/CometChatConversations/CometChatConversations.js.map +1 -1
- package/lib/CometChatConversations/ConversationsConfiguration.d.ts +113 -0
- package/lib/CometChatConversations/ConversationsConfiguration.js +0 -48
- package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -1
- package/lib/CometChatConversations/ConversationsStyle.js +0 -16
- package/lib/CometChatConversations/ConversationsStyle.js.map +1 -1
- package/lib/CometChatConversations/style.d.ts +65 -1
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +2 -1
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +31 -49
- package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -1
- package/lib/CometChatConversationsWithMessages/styles.d.ts +12 -1
- package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +2 -1
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js +74 -92
- package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -1
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +0 -6
- package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -1
- package/lib/CometChatCreateGroup/Header.d.ts +2 -1
- package/lib/CometChatCreateGroup/Header.js +15 -19
- package/lib/CometChatCreateGroup/Header.js.map +1 -1
- package/lib/CometChatCreateGroup/style.d.ts +46 -1
- package/lib/CometChatDetails/CometChatDetails.d.ts +281 -0
- package/lib/CometChatDetails/CometChatDetails.js +77 -99
- package/lib/CometChatDetails/CometChatDetails.js.map +1 -1
- package/lib/CometChatDetails/DetailsConfiguration.d.ts +35 -0
- package/lib/CometChatDetails/DetailsConfiguration.js +0 -17
- package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -1
- package/lib/CometChatDetails/Header.d.ts +2 -1
- package/lib/CometChatDetails/Header.js +8 -10
- package/lib/CometChatDetails/Header.js.map +1 -1
- package/lib/CometChatDetails/listners.js +1 -1
- package/lib/CometChatDetails/listners.js.map +1 -1
- package/lib/CometChatDetails/styles.d.ts +28 -1
- package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +96 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js +76 -120
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -1
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +86 -0
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +3 -41
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -1
- package/lib/CometChatGroupMembers/GroupMemberStyle.js +0 -19
- package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +1 -1
- package/lib/CometChatGroupMembers/GroupScopeStyle.js +0 -11
- package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +1 -1
- package/lib/CometChatGroupMembers/style.d.ts +31 -1
- package/lib/CometChatGroups/CometChatGroups.d.ts +141 -0
- package/lib/CometChatGroups/CometChatGroups.js +53 -73
- package/lib/CometChatGroups/CometChatGroups.js.map +1 -1
- package/lib/CometChatGroups/GroupsConfiguration.d.ts +73 -0
- package/lib/CometChatGroups/GroupsConfiguration.js +32 -55
- package/lib/CometChatGroups/GroupsConfiguration.js.map +1 -1
- package/lib/CometChatGroups/GroupsStyle.js +0 -21
- package/lib/CometChatGroups/GroupsStyle.js.map +1 -1
- package/lib/CometChatGroups/style.d.ts +16 -1
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +2 -1
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +18 -33
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -1
- package/lib/CometChatGroupsWithMessages/styles.d.ts +12 -1
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +2 -1
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +33 -40
- package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -1
- package/lib/CometChatJoinProtectedGroup/Header.d.ts +2 -1
- package/lib/CometChatJoinProtectedGroup/Header.js +7 -11
- package/lib/CometChatJoinProtectedGroup/Header.js.map +1 -1
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +0 -7
- package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -1
- package/lib/CometChatJoinProtectedGroup/style.d.ts +11 -1
- package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +294 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +207 -241
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -1
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +61 -0
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +0 -37
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -1
- package/lib/CometChatMessageComposer/styles.d.ts +26 -1
- package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +150 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +53 -77
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -1
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +36 -0
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +0 -17
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -1
- package/lib/CometChatMessageHeader/styles.d.ts +16 -1
- package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +36 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js +66 -84
- package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -1
- package/lib/CometChatMessageInformation/styles.d.ts +23 -1
- package/lib/CometChatMessageList/CometChatMessageList.d.ts +116 -0
- package/lib/CometChatMessageList/CometChatMessageList.js +250 -379
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -1
- package/lib/CometChatMessageList/MessageListConfiguration.d.ts +177 -0
- package/lib/CometChatMessageList/MessageListConfiguration.js +0 -63
- package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -1
- package/lib/CometChatMessageList/MessageListStyle.js +0 -13
- package/lib/CometChatMessageList/MessageListStyle.js.map +1 -1
- package/lib/CometChatMessageList/style.d.ts +52 -1
- package/lib/CometChatMessages/CometChatMessages.d.ts +42 -0
- package/lib/CometChatMessages/CometChatMessages.js +51 -65
- package/lib/CometChatMessages/CometChatMessages.js.map +1 -1
- package/lib/CometChatMessages/MessageStyle.js +0 -7
- package/lib/CometChatMessages/MessageStyle.js.map +1 -1
- package/lib/CometChatMessages/MessagesConfiguration.d.ts +68 -0
- package/lib/CometChatMessages/MessagesConfiguration.js +0 -16
- package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -1
- package/lib/CometChatMessages/style.d.ts +21 -1
- package/lib/CometChatTabs/CometChatTabs.d.ts +2 -1
- package/lib/CometChatTabs/CometChatTabs.js +13 -48
- package/lib/CometChatTabs/CometChatTabs.js.map +1 -1
- package/lib/CometChatTabs/CometChatTabsStyle.d.ts +2 -0
- package/lib/CometChatTabs/CometChatTabsStyle.js +0 -5
- package/lib/CometChatTabs/CometChatTabsStyle.js.map +1 -1
- package/lib/CometChatTabs/TabItemStyle.js +0 -8
- package/lib/CometChatTabs/TabItemStyle.js.map +1 -1
- package/lib/CometChatTabs/TabItems.d.ts +10 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +113 -0
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +36 -49
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -1
- package/lib/CometChatThreadedMessages/Header.d.ts +4 -3
- package/lib/CometChatThreadedMessages/Header.js +4 -6
- package/lib/CometChatThreadedMessages/Header.js.map +1 -1
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +40 -0
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +0 -22
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -1
- package/lib/CometChatThreadedMessages/style.d.ts +25 -1
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +2 -1
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +19 -12
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -1
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +40 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +0 -28
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -1
- package/lib/CometChatUsers/CometChatUsers.d.ts +69 -0
- package/lib/CometChatUsers/CometChatUsers.js +22 -16
- package/lib/CometChatUsers/CometChatUsers.js.map +1 -1
- package/lib/CometChatUsers/UsersConfiguration.d.ts +42 -0
- package/lib/CometChatUsers/UsersConfiguration.js +0 -32
- package/lib/CometChatUsers/UsersConfiguration.js.map +1 -1
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +2 -1
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +9 -20
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -1
- package/lib/CometChatUsersWithMessages/styles.d.ts +12 -1
- package/lib/calls/CallUtils.js +2 -2
- package/lib/calls/CallUtils.js.map +1 -1
- package/lib/calls/CallingDetailsUtils.js +40 -47
- package/lib/calls/CallingDetailsUtils.js.map +1 -1
- package/lib/calls/CallingExtension.js +0 -1
- package/lib/calls/CallingExtension.js.map +1 -1
- package/lib/calls/CallingExtentionDecorator.d.ts +5 -4
- package/lib/calls/CallingExtentionDecorator.js +100 -97
- package/lib/calls/CallingExtentionDecorator.js.map +1 -1
- package/lib/calls/CallingPackage.js +2 -1
- package/lib/calls/CallingPackage.js.map +1 -1
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +0 -3
- package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +1 -1
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +0 -6
- package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +1 -1
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +2 -1
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +13 -12
- package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -1
- package/lib/calls/CometChatCallBubble/styles.d.ts +21 -1
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js +0 -3
- package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +1 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +0 -7
- package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +1 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +2 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +41 -43
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -1
- package/lib/calls/CometChatCallButtons/style.d.ts +12 -1
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.d.ts +119 -0
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js +0 -48
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js.map +1 -1
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js +0 -3
- package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js.map +1 -1
- package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.d.ts +72 -0
- package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js +45 -71
- package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js.map +1 -1
- package/lib/calls/CometChatCallLogDetails/style.d.ts +13 -1
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.d.ts +72 -0
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js +0 -23
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js.map +1 -1
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js +0 -17
- package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js.map +1 -1
- package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.d.ts +45 -0
- package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js +56 -90
- package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js.map +1 -1
- package/lib/calls/CometChatCallLogHistory/style.d.ts +22 -1
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.d.ts +65 -0
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js +0 -22
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js.map +1 -1
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js +0 -9
- package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js.map +1 -1
- package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.d.ts +39 -0
- package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js +27 -49
- package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js.map +1 -1
- package/lib/calls/CometChatCallLogParticipants/style.d.ts +22 -1
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.d.ts +71 -0
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js +0 -23
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js.map +1 -1
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js +0 -10
- package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js.map +1 -1
- package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.d.ts +41 -0
- package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js +46 -64
- package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js.map +1 -1
- package/lib/calls/CometChatCallLogRecordings/style.d.ts +22 -1
- package/lib/calls/CometChatCallLogs/CallLogsConfiguration.d.ts +99 -0
- package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js +0 -34
- package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js.map +1 -1
- package/lib/calls/CometChatCallLogs/CallLogsStyle.js +0 -18
- package/lib/calls/CometChatCallLogs/CallLogsStyle.js.map +1 -1
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.d.ts +56 -0
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +73 -104
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -1
- package/lib/calls/CometChatCallLogs/style.d.ts +22 -1
- package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.d.ts +2 -1
- package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js +8 -10
- package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js.map +1 -1
- package/lib/calls/CometChatCallLogsWithDetails/style.d.ts +8 -1
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +21 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +20 -47
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -1
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +0 -13
- package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +1 -1
- package/lib/calls/CometChatIncomingCall/styles.d.ts +9 -1
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +2 -1
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +6 -8
- package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -1
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +0 -4
- package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +1 -1
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +2 -1
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +17 -33
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -1
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +0 -5
- package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +1 -1
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +0 -4
- package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +1 -1
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +0 -9
- package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +1 -1
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +4 -3
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +10 -15
- package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -1
- package/lib/extensions/CollaborativeBubble/styles.d.ts +35 -1
- package/lib/extensions/CollaborativeBubble/styles.js +15 -39
- package/lib/extensions/CollaborativeBubble/styles.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +0 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +0 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +2 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +9 -9
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +0 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +0 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +3 -2
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +10 -11
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -1
- package/lib/extensions/ExtensionModerator.d.ts +1 -1
- package/lib/extensions/ExtensionModerator.js +1 -1
- package/lib/extensions/ExtensionModerator.js.map +1 -1
- package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +12 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js +1 -2
- package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +1 -1
- package/lib/extensions/ImageModeration/ImageModerationExtension.js +0 -1
- package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -1
- package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +2 -1
- package/lib/extensions/ImageModeration/ImageModerationFilter.js +16 -19
- package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -1
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +0 -6
- package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +12 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js +25 -36
- package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +0 -4
- package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js +0 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +12 -0
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +2 -3
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +2 -1
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +24 -43
- package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +20 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +82 -112
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +0 -1
- package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -1
- package/lib/extensions/Polls/Header.d.ts +10 -9
- package/lib/extensions/Polls/Header.js +15 -19
- package/lib/extensions/Polls/Header.js.map +1 -1
- package/lib/extensions/Polls/Polls.d.ts +2 -1
- package/lib/extensions/Polls/Polls.js +90 -109
- package/lib/extensions/Polls/Polls.js.map +1 -1
- package/lib/extensions/Polls/PollsBubble.d.ts +2 -1
- package/lib/extensions/Polls/PollsBubble.js +70 -90
- package/lib/extensions/Polls/PollsBubble.js.map +1 -1
- package/lib/extensions/Polls/PollsDecorator.d.ts +2 -1
- package/lib/extensions/Polls/PollsDecorator.js +8 -8
- package/lib/extensions/Polls/PollsDecorator.js.map +1 -1
- package/lib/extensions/Polls/PollsExtension.js +0 -1
- package/lib/extensions/Polls/PollsExtension.js.map +1 -1
- package/lib/extensions/Polls/style.d.ts +45 -1
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +1 -1
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +43 -42
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -1
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js +0 -1
- package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -1
- package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +4 -3
- package/lib/extensions/SmartReplies/SmartRepliesView.js +38 -45
- package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +2 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +16 -30
- package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +2 -2
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +2 -4
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +3 -10
- package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +7 -6
- package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -1
- package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +55 -1
- package/lib/extensions/Stickers/StickerConfiguration.js +1 -6
- package/lib/extensions/Stickers/StickerConfiguration.js.map +1 -1
- package/lib/extensions/Stickers/StickersBubble.d.ts +2 -1
- package/lib/extensions/Stickers/StickersBubble.js +5 -10
- package/lib/extensions/Stickers/StickersBubble.js.map +1 -1
- package/lib/extensions/Stickers/StickersExtension.js +1 -5
- package/lib/extensions/Stickers/StickersExtension.js.map +1 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +4 -3
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +15 -19
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -1
- package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +1 -1
- package/lib/extensions/TextModeration/TextModerationConfiguration.js +0 -1
- package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +1 -1
- package/lib/extensions/TextModeration/TextModerationExtension.js +1 -1
- package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +1 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +0 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +16 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +12 -23
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +0 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/resources/index.d.ts +2 -2
- package/lib/extensions/ThumbnailGeneration/resources/index.js +2 -2
- package/lib/extensions/ThumbnailGeneration/resources/index.js.map +1 -1
- package/lib/shared/CometChatContext.d.ts +4 -2
- package/lib/shared/CometChatContext.js +1 -3
- package/lib/shared/CometChatContext.js.map +1 -1
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +1 -1
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +87 -74
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -1
- package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +1 -1
- package/lib/shared/assets/images/index.d.ts +1 -0
- package/lib/shared/assets/images/index.js +2 -0
- package/lib/shared/assets/images/index.js.map +1 -1
- package/lib/shared/base/BaseStyle.js +0 -5
- package/lib/shared/base/BaseStyle.js.map +1 -1
- package/lib/shared/base/BorderStyle.js +0 -3
- package/lib/shared/base/BorderStyle.js.map +1 -1
- package/lib/shared/base/FontStyle.d.ts +2 -2
- package/lib/shared/base/FontStyle.js +0 -3
- package/lib/shared/base/FontStyle.js.map +1 -1
- package/lib/shared/base/ShadowStyle.js +0 -5
- package/lib/shared/base/ShadowStyle.js.map +1 -1
- package/lib/shared/constants/UIKitConstants.d.ts +9 -0
- package/lib/shared/constants/UIKitConstants.js +12 -1
- package/lib/shared/constants/UIKitConstants.js.map +1 -1
- package/lib/shared/events/CometChatMessageEvents/index.js +90 -90
- package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +176 -150
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +8 -8
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +46 -94
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -1
- package/lib/shared/events/ListenerInitializer.js +2 -1
- package/lib/shared/events/ListenerInitializer.js.map +1 -1
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +162 -0
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +116 -89
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +1 -1
- package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js +0 -2
- package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js.map +1 -1
- package/lib/shared/formatters/CometChatTextFormatter.d.ts +170 -0
- package/lib/shared/formatters/CometChatTextFormatter.js +39 -61
- package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -1
- package/lib/shared/formatters/CometChatUrlsFormatter/index.d.ts +39 -0
- package/lib/shared/formatters/CometChatUrlsFormatter/index.js +81 -88
- package/lib/shared/formatters/CometChatUrlsFormatter/index.js.map +1 -1
- package/lib/shared/framework/ChatConfigurator.js +3 -3
- package/lib/shared/framework/ChatConfigurator.js.map +1 -1
- package/lib/shared/framework/DataSource.d.ts +71 -0
- package/lib/shared/framework/DataSourceDecorator.d.ts +14 -14
- package/lib/shared/framework/DataSourceDecorator.js +0 -1
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -1
- package/lib/shared/framework/ExtensionsDataSource.js +1 -0
- package/lib/shared/framework/ExtensionsDataSource.js.map +1 -1
- package/lib/shared/framework/MessageDataSource.d.ts +95 -0
- package/lib/shared/framework/MessageDataSource.js +162 -166
- package/lib/shared/framework/MessageDataSource.js.map +1 -1
- package/lib/shared/helper/SwipeRow.d.ts +68 -65
- package/lib/shared/helper/SwipeRow.js +33 -74
- package/lib/shared/helper/SwipeRow.js.map +1 -1
- package/lib/shared/helper/Toast.d.ts +2 -1
- package/lib/shared/helper/Toast.js +2 -3
- package/lib/shared/helper/Toast.js.map +1 -1
- package/lib/shared/helper/functions.d.ts +1 -1
- package/lib/shared/helper/functions.js +1 -1
- package/lib/shared/helper/functions.js.map +1 -1
- package/lib/shared/helper/types/index.d.ts +18 -0
- package/lib/shared/helper/useKeyboard.d.ts +1 -1
- package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js +14 -13
- package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js +18 -7
- package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js +18 -7
- package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Calendars/Providers.d.ts +9 -1
- package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js +16 -6
- package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.d.ts +2 -1
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.js +6 -7
- package/lib/shared/libs/CometChatCalendar/Components/Arrow.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Components/Day.d.ts +2 -1
- package/lib/shared/libs/CometChatCalendar/Components/Day.js +18 -20
- package/lib/shared/libs/CometChatCalendar/Components/Day.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Components/Days.js +7 -8
- package/lib/shared/libs/CometChatCalendar/Components/Days.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Components/Month.d.ts +2 -1
- package/lib/shared/libs/CometChatCalendar/Components/Month.js +8 -10
- package/lib/shared/libs/CometChatCalendar/Components/Month.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Components/Month.test.d.ts +33 -1
- package/lib/shared/libs/CometChatCalendar/Components/Months.d.ts +2 -1
- package/lib/shared/libs/CometChatCalendar/Components/Months.js +5 -6
- package/lib/shared/libs/CometChatCalendar/Components/Months.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Components/Months.test.d.ts +33 -33
- package/lib/shared/libs/CometChatCalendar/Components/Title.js +4 -5
- package/lib/shared/libs/CometChatCalendar/Components/Title.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.d.ts +2 -1
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js +1 -5
- package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.d.ts +2 -1
- package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.d.ts +3 -1
- package/lib/shared/libs/CometChatCalendar/Entities/Components.d.ts +11 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.d.ts +36 -1
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js +3 -0
- package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Locales/index.js +1 -0
- package/lib/shared/libs/CometChatCalendar/Locales/index.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js +13 -27
- package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js +1 -4
- package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.d.ts +2 -1
- package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js.map +1 -1
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js +1 -0
- package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js.map +1 -1
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.d.ts +8 -8
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js +340 -335
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js.map +1 -1
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.d.ts +4 -4
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js +11 -12
- package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js.map +1 -1
- package/lib/shared/libs/ImageZoom/helper.d.ts +3 -3
- package/lib/shared/libs/ImageZoom/helper.js +2 -1
- package/lib/shared/libs/ImageZoom/helper.js.map +1 -1
- package/lib/shared/libs/ImageZoom/types/index.d.ts +8 -8
- package/lib/shared/libs/VideoPlayer/Video.d.ts +3 -2
- package/lib/shared/libs/VideoPlayer/Video.js +172 -256
- package/lib/shared/libs/VideoPlayer/Video.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.d.ts +2 -2
- package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js +4 -7
- package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.d.ts +1 -1
- package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js +1 -0
- package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js +31 -20
- package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Back/Back.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js +2 -3
- package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/BottomControls.d.ts +2 -2
- package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js +30 -25
- package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Control.d.ts +2 -2
- package/lib/shared/libs/VideoPlayerControls/components/Control.js +15 -5
- package/lib/shared/libs/VideoPlayerControls/components/Control.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Error/Error.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js +3 -4
- package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Error/styles.d.ts +19 -1
- package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js +2 -3
- package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js +2 -3
- package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.d.ts +14 -1
- package/lib/shared/libs/VideoPlayerControls/components/NullControl.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/NullControl.js +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/NullControl.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Overlay.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/Overlay.js +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Overlay.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.d.ts +4 -3
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js +27 -19
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.d.ts +19 -1
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.d.ts +2 -2
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js +11 -14
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.d.ts +35 -1
- package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.d.ts +2 -2
- package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js +2 -3
- package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.d.ts +10 -1
- package/lib/shared/libs/VideoPlayerControls/components/Title.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/Title.js +2 -5
- package/lib/shared/libs/VideoPlayerControls/components/Title.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/TopControls.d.ts +21 -1
- package/lib/shared/libs/VideoPlayerControls/components/TopControls.js +7 -10
- package/lib/shared/libs/VideoPlayerControls/components/TopControls.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.d.ts +2 -1
- package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js +5 -7
- package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js.map +1 -1
- package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.d.ts +29 -1
- package/lib/shared/libs/VideoPlayerControls/components/styles.d.ts +28 -1
- package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.d.ts +1 -1
- package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.d.ts +2 -2
- package/lib/shared/libs/VideoPlayerControls/styles.d.ts +15 -1
- package/lib/shared/libs/VideoPlayerControls/utils.js +3 -7
- package/lib/shared/libs/VideoPlayerControls/utils.js.map +1 -1
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.d.ts +2 -1
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js +14 -2
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js.map +1 -1
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.d.ts +1 -1
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.d.ts +127 -34
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js +121 -116
- package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js.map +1 -1
- package/lib/shared/libs/datePickerModal/Modal.d.ts +19 -14
- package/lib/shared/libs/datePickerModal/Modal.js +74 -64
- package/lib/shared/libs/datePickerModal/Modal.js.map +1 -1
- package/lib/shared/libs/luxon/src/datetime.d.ts +48 -48
- package/lib/shared/libs/luxon/src/datetime.js +13 -30
- package/lib/shared/libs/luxon/src/datetime.js.map +1 -1
- package/lib/shared/libs/luxon/src/duration.d.ts +19 -19
- package/lib/shared/libs/luxon/src/duration.js +16 -35
- package/lib/shared/libs/luxon/src/duration.js.map +1 -1
- package/lib/shared/libs/luxon/src/impl/conversions.js +4 -4
- package/lib/shared/libs/luxon/src/impl/conversions.js.map +1 -1
- package/lib/shared/libs/luxon/src/impl/english.d.ts +3 -3
- package/lib/shared/libs/luxon/src/impl/formatter.js +3 -3
- package/lib/shared/libs/luxon/src/impl/formatter.js.map +1 -1
- package/lib/shared/libs/luxon/src/impl/locale.d.ts +1 -1
- package/lib/shared/libs/luxon/src/impl/locale.js +19 -11
- package/lib/shared/libs/luxon/src/impl/locale.js.map +1 -1
- package/lib/shared/libs/luxon/src/impl/regexParser.js +1 -1
- package/lib/shared/libs/luxon/src/impl/regexParser.js.map +1 -1
- package/lib/shared/libs/luxon/src/impl/util.d.ts +10 -10
- package/lib/shared/libs/luxon/src/impl/util.js +1 -1
- package/lib/shared/libs/luxon/src/impl/util.js.map +1 -1
- package/lib/shared/libs/luxon/src/info.d.ts +27 -27
- package/lib/shared/libs/luxon/src/interval.d.ts +6 -6
- package/lib/shared/libs/luxon/src/interval.js +1 -1
- package/lib/shared/libs/luxon/src/interval.js.map +1 -1
- package/lib/shared/libs/luxon/src/settings.d.ts +2 -2
- package/lib/shared/libs/luxon/src/zones/IANAZone.d.ts +1 -1
- package/lib/shared/libs/luxon/src/zones/invalidZone.d.ts +1 -1
- package/lib/shared/libs/luxon/src/zones/systemZone.d.ts +1 -1
- package/lib/shared/modals/CometChatCallLogDetailsOptions.d.ts +14 -0
- package/lib/shared/modals/CometChatDetailsOption.d.ts +17 -0
- package/lib/shared/modals/CometChatMessageOption.d.ts +12 -0
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +131 -0
- package/lib/shared/modals/CometChatMessageTemplate.js +1 -56
- package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js +4 -20
- package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js +0 -4
- package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js +2 -4
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js +1 -17
- package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js +4 -8
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js +0 -4
- package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js +4 -8
- package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js +1 -7
- package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js +0 -13
- package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js +1 -13
- package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js +0 -2
- package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js +0 -4
- package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js +1 -7
- package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js +1 -7
- package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js +10 -14
- package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js +0 -4
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js +0 -8
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js +6 -16
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js +3 -1
- package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js +6 -20
- package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.d.ts +8 -8
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js +2 -13
- package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js.map +1 -1
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +32 -124
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +124 -123
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -1
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +2 -2
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +79 -66
- package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -1
- package/lib/shared/resources/CometChatSoundManager/sound.d.ts +1 -1
- package/lib/shared/resources/CometChatSoundManager/sound.js +18 -7
- package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -1
- package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +2 -2
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js +0 -2
- package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +1 -1
- package/lib/shared/resources/CometChatTheme/Palette.d.ts +24 -24
- package/lib/shared/resources/CometChatTheme/Palette.js +66 -90
- package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -1
- package/lib/shared/resources/CometChatTheme/Typography.d.ts +27 -27
- package/lib/shared/resources/CometChatTheme/Typography.js +0 -23
- package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -1
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +2 -1
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +12 -20
- package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -1
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +0 -1
- package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +1 -1
- package/lib/shared/utils/CometChatLiveReactions/style.d.ts +5 -1
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +9 -8
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +11 -16
- package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -1
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +3 -3
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +1 -1
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +1 -1
- package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +10 -10
- package/lib/shared/utils/CometChatMessagePreview/style.d.ts +10 -1
- package/lib/shared/utils/CometChatMessagePreview/style.js +13 -20
- package/lib/shared/utils/CometChatMessagePreview/style.js.map +1 -1
- package/lib/shared/utils/CommonUtils.js +3 -6
- package/lib/shared/utils/CommonUtils.js.map +1 -1
- package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +2 -1
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js +11 -7
- package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -1
- package/lib/shared/utils/InteractiveMessageUtils.js +28 -28
- package/lib/shared/utils/InteractiveMessageUtils.js.map +1 -1
- package/lib/shared/utils/MessageUtils.d.ts +2 -1
- package/lib/shared/utils/MessageUtils.js +4 -2
- package/lib/shared/utils/MessageUtils.js.map +1 -1
- package/lib/shared/utils/NetworkUtils.js +24 -16
- package/lib/shared/utils/NetworkUtils.js.map +1 -1
- package/lib/shared/utils/PermissionUtil.js +91 -74
- package/lib/shared/utils/PermissionUtil.js.map +1 -1
- package/lib/shared/utils/SchedulerUtils.d.ts +1 -7
- package/lib/shared/utils/SchedulerUtils.js.map +1 -1
- package/lib/shared/utils/TypeUtils.d.ts +3 -0
- package/lib/shared/utils/TypeUtils.js +2 -0
- package/lib/shared/utils/TypeUtils.js.map +1 -0
- package/lib/shared/utils/conversationUtils.js +51 -49
- package/lib/shared/utils/conversationUtils.js.map +1 -1
- package/lib/shared/utils/icsToJson.js +3 -2
- package/lib/shared/utils/icsToJson.js.map +1 -1
- package/lib/shared/utils/index.d.ts +1 -0
- package/lib/shared/views/CometChatAICard/CometChatAICard.d.ts +3 -1
- package/lib/shared/views/CometChatAICard/CometChatAICard.js +13 -29
- package/lib/shared/views/CometChatAICard/CometChatAICard.js.map +1 -1
- package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +9 -9
- package/lib/shared/views/CometChatActionSheet/ActionItem.js +0 -21
- package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +1 -1
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +3 -1
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +2 -11
- package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -1
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +5 -4
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +80 -102
- package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -1
- package/lib/shared/views/CometChatActionSheet/style.d.ts +44 -1
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +0 -5
- package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +2 -1
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +12 -27
- package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -1
- package/lib/shared/views/CometChatAudioBubble/style.d.ts +28 -1
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +0 -2
- package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js +0 -4
- package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -1
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +2 -1
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +24 -34
- package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -1
- package/lib/shared/views/CometChatAvatar/styles.d.ts +21 -1
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +0 -7
- package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatBadge/BadgeStyle.js +0 -2
- package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +1 -1
- package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +2 -1
- package/lib/shared/views/CometChatBadge/CometChatBadge.js +12 -19
- package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -1
- package/lib/shared/views/CometChatBadge/styles.d.ts +13 -1
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +2 -1
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +25 -43
- package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -1
- package/lib/shared/views/CometChatBottomSheet/style.d.ts +48 -1
- package/lib/shared/views/CometChatButton/CometChatButton.d.ts +2 -1
- package/lib/shared/views/CometChatButton/CometChatButton.js +10 -27
- package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -1
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +0 -6
- package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +1 -1
- package/lib/shared/views/CometChatButton/style.d.ts +6 -1
- package/lib/shared/views/CometChatCard/CometChatCard.d.ts +15 -0
- package/lib/shared/views/CometChatCard/CometChatCard.js +8 -21
- package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -1
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js +0 -2
- package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +1 -1
- package/lib/shared/views/CometChatCard/style.d.ts +11 -1
- package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js +0 -6
- package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.d.ts +2 -1
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js +20 -29
- package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js.map +1 -1
- package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js +0 -8
- package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js.map +1 -1
- package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.d.ts +2 -1
- package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js +14 -29
- package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js.map +1 -1
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +2 -1
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +50 -65
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -1
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +0 -10
- package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -1
- package/lib/shared/views/CometChatConfirmDialog/style.d.ts +61 -1
- package/lib/shared/views/CometChatDate/CometChatDate.d.ts +3 -2
- package/lib/shared/views/CometChatDate/CometChatDate.js +4 -10
- package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -1
- package/lib/shared/views/CometChatDate/DateConfiguration.js +0 -3
- package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatDate/DateStyle.js +0 -2
- package/lib/shared/views/CometChatDate/DateStyle.js.map +1 -1
- package/lib/shared/views/CometChatDate/style.d.ts +5 -1
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +4 -2
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js +32 -36
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +1 -1
- package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.d.ts +11 -1
- package/lib/shared/views/CometChatDropDown/CometChatDropDown.d.ts +2 -1
- package/lib/shared/views/CometChatDropDown/CometChatDropDown.js +12 -28
- package/lib/shared/views/CometChatDropDown/CometChatDropDown.js.map +1 -1
- package/lib/shared/views/CometChatDropDown/DropDownStyle.js +0 -7
- package/lib/shared/views/CometChatDropDown/DropDownStyle.js.map +1 -1
- package/lib/shared/views/CometChatDropDown/resources/index.d.ts +0 -1
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +5 -3
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +65 -72
- package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +2 -2
- package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +4 -4
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +5 -4
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +0 -3
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +1 -11
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +1 -6
- package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -1
- package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +44 -1
- package/lib/shared/views/CometChatEmojiKeyboard/style.js +2 -2
- package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +1 -1
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +2 -1
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +20 -26
- package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -1
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +1 -6
- package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatFileBubble/style.d.ts +44 -1
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.d.ts +2 -1
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +134 -140
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js.map +1 -1
- package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js +0 -16
- package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +2 -1
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +27 -28
- package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -1
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +1 -1
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +0 -1
- package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.d.ts +2 -1
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js +9 -16
- package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js.map +1 -1
- package/lib/shared/views/CometChatLabel/CometChatLabel.d.ts +2 -1
- package/lib/shared/views/CometChatLabel/CometChatLabel.js +3 -6
- package/lib/shared/views/CometChatLabel/CometChatLabel.js.map +1 -1
- package/lib/shared/views/CometChatLabel/LabelStyle.js +0 -2
- package/lib/shared/views/CometChatLabel/LabelStyle.js.map +1 -1
- package/lib/shared/views/CometChatList/CometChatList.d.ts +90 -0
- package/lib/shared/views/CometChatList/CometChatList.js +76 -89
- package/lib/shared/views/CometChatList/CometChatList.js.map +1 -1
- package/lib/shared/views/CometChatList/Header.d.ts +2 -1
- package/lib/shared/views/CometChatList/Header.js +50 -60
- package/lib/shared/views/CometChatList/Header.js.map +1 -1
- package/lib/shared/views/CometChatList/styles.d.ts +98 -1
- package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +3 -3
- package/lib/shared/views/CometChatListItem/CometChatListItem.js +59 -86
- package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -1
- package/lib/shared/views/CometChatListItem/ListItemStyle.js +0 -2
- package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +1 -1
- package/lib/shared/views/CometChatListItem/style.d.ts +61 -1
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +2 -1
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +54 -52
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +0 -10
- package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/style.d.ts +27 -1
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +61 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +17 -24
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -1
- package/lib/shared/views/CometChatMessageBubble/style.js +1 -0
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +1 -1
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +29 -34
- package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -1
- package/lib/shared/views/CometChatMessageInput/index.d.ts +2 -1
- package/lib/shared/views/CometChatMessageInput/index.js.map +1 -1
- package/lib/shared/views/CometChatMessageInput/styles.d.ts +7 -1
- package/lib/shared/views/CometChatPanel/CometChatPanel.d.ts +2 -1
- package/lib/shared/views/CometChatPanel/CometChatPanel.js +7 -21
- package/lib/shared/views/CometChatPanel/CometChatPanel.js.map +1 -1
- package/lib/shared/views/CometChatPanel/PanelStyle.js +0 -5
- package/lib/shared/views/CometChatPanel/PanelStyle.js.map +1 -1
- package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.d.ts +2 -1
- package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js +21 -26
- package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js.map +1 -1
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js +0 -3
- package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js.map +1 -1
- package/lib/shared/views/CometChatQuickReactions/index.d.ts +2 -1
- package/lib/shared/views/CometChatQuickReactions/index.js.map +1 -1
- package/lib/shared/views/CometChatQuickView/CometChatQuickView.d.ts +2 -1
- package/lib/shared/views/CometChatQuickView/CometChatQuickView.js +12 -24
- package/lib/shared/views/CometChatQuickView/CometChatQuickView.js.map +1 -1
- package/lib/shared/views/CometChatQuickView/QuickViewStyle.js +0 -8
- package/lib/shared/views/CometChatQuickView/QuickViewStyle.js.map +1 -1
- package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.d.ts +2 -1
- package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js +12 -23
- package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js.map +1 -1
- package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js +0 -6
- package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js.map +1 -1
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.d.ts +20 -0
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.js +84 -91
- package/lib/shared/views/CometChatReactionList/CometChatReactionList.js.map +1 -1
- package/lib/shared/views/CometChatReactionList/ReactionListStyle.js +0 -11
- package/lib/shared/views/CometChatReactionList/ReactionListStyle.js.map +1 -1
- package/lib/shared/views/CometChatReactionList/index.d.ts +2 -1
- package/lib/shared/views/CometChatReactionList/index.js.map +1 -1
- package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +3 -2
- package/lib/shared/views/CometChatReactions/CometChatReactions.js +44 -59
- package/lib/shared/views/CometChatReactions/CometChatReactions.js.map +1 -1
- package/lib/shared/views/CometChatReactions/ReactionsStyle.js +0 -5
- package/lib/shared/views/CometChatReactions/ReactionsStyle.js.map +1 -1
- package/lib/shared/views/CometChatReactions/style.d.ts +38 -1
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +3 -2
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +2 -7
- package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -1
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +0 -6
- package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatReceipt/style.d.ts +7 -1
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +2 -1
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +473 -551
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +1 -1
- package/lib/shared/views/CometChatSchedulerBubble/styles.d.ts +91 -1
- package/lib/shared/views/CometChatSchedulerBubble/styles.js +1 -1
- package/lib/shared/views/CometChatSchedulerBubble/styles.js.map +1 -1
- package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.d.ts +2 -1
- package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js +11 -21
- package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js.map +1 -1
- package/lib/shared/views/CometChatSingleSelect/SingleStyle.js +0 -6
- package/lib/shared/views/CometChatSingleSelect/SingleStyle.js.map +1 -1
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +2 -1
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +10 -15
- package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -1
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +0 -2
- package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +12 -1
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.d.ts +2 -1
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js +14 -17
- package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js.map +1 -1
- package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js +5 -40
- package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js.map +1 -1
- package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js +0 -10
- package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js.map +1 -1
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +2 -1
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +6 -13
- package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -1
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +1 -3
- package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatTextInput/CometChatTextInput.d.ts +2 -1
- package/lib/shared/views/CometChatTextInput/CometChatTextInput.js +13 -16
- package/lib/shared/views/CometChatTextInput/CometChatTextInput.js.map +1 -1
- package/lib/shared/views/CometChatTextInput/TextInputStyle.js +0 -3
- package/lib/shared/views/CometChatTextInput/TextInputStyle.js.map +1 -1
- package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.d.ts +2 -1
- package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js +39 -48
- package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js.map +1 -1
- package/lib/shared/views/CometChatTimeSlotSelector/styles.d.ts +25 -1
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +2 -1
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +15 -17
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -1
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +1 -23
- package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -1
- package/lib/shared/views/CometChatVideoBubble/style.d.ts +7 -1
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.d.ts +2 -18
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js +7 -10
- package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js.map +1 -1
- package/lib/shared/views/SwipeRow/SwipeRow.js +24 -32
- package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -1
- package/lib/shared/views/SwipeRow/style.d.ts +28 -1
- package/package.json +1 -1
- package/src/AI/AIConversationSummary/resources/close.png +0 -0
- package/src/CometChatConversations/CometChatConversations.tsx +85 -72
- package/src/CometChatConversations/resources/close.png +0 -0
- package/src/CometChatConversations/resources/rightTick.png +0 -0
- package/src/CometChatCreateGroup/resources/close.png +0 -0
- package/src/CometChatCreateGroup/resources/rightTick.png +0 -0
- package/src/CometChatDetails/CometChatDetails.tsx +13 -19
- package/src/CometChatDetails/resources/close.png +0 -0
- package/src/CometChatGroupMembers/resources/rightTick.png +0 -0
- package/src/CometChatGroups/resources/close.png +0 -0
- package/src/CometChatGroups/resources/rightTick.png +0 -0
- package/src/CometChatJoinProtectedGroup/resources/close.png +0 -0
- package/src/CometChatJoinProtectedGroup/resources/rightTick.png +0 -0
- package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +34 -47
- package/src/CometChatMessageComposer/resources/Info.png +0 -0
- package/src/CometChatMessageComposer/resources/circle_add.png +0 -0
- package/src/CometChatMessageComposer/resources/close.png +0 -0
- package/src/CometChatMessageComposer/resources/image.png +0 -0
- package/src/CometChatMessageComposer/resources/send_message.png +0 -0
- package/src/CometChatMessageComposer/resources/stickers.png +0 -0
- package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +5 -4
- package/src/CometChatMessageList/CometChatMessageList.tsx +51 -65
- package/src/CometChatMessageList/resources/close.png +0 -0
- package/src/CometChatMessageList/resources/leftarrowcurve.png +0 -0
- package/src/CometChatMessages/CometChatMessages.tsx +1 -2
- package/src/CometChatMessages/resources/info.png +0 -0
- package/src/CometChatMessages/style.ts +0 -1
- package/src/CometChatThreadedMessages/resources/close.png +0 -0
- package/src/calls/CometChatCallButtons/resources/Call.png +0 -0
- package/src/calls/CometChatCallButtons/resources/Video.png +0 -0
- package/src/calls/CometChatCallLogHistory/CometChatCallLogHistory.tsx +6 -4
- package/src/calls/CometChatCallLogHistory/resources/Info.png +0 -0
- package/src/calls/CometChatCallLogRecordings/resources/download.png +0 -0
- package/src/calls/CometChatCallLogs/CallLogsConfiguration.ts +4 -4
- package/src/calls/CometChatCallLogs/CometChatCallLogs.tsx +9 -7
- package/src/calls/CometChatCallLogs/resources/Info.png +0 -0
- package/src/calls/CometChatOutgoingCall/resources/Close.png +0 -0
- package/src/calls/resources/Call.png +0 -0
- package/src/calls/resources/Video.png +0 -0
- package/src/extensions/CollaborativeDocument/resources/collaborative_document.png +0 -0
- package/src/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
- package/src/extensions/ImageModeration/ImageModerationFilter.tsx +0 -1
- package/src/extensions/LinkPreview/LinkPreviewBubble.tsx +20 -4
- package/src/extensions/MessageTranslation/resources/translate.png +0 -0
- package/src/extensions/Polls/resources/close.png +0 -0
- package/src/extensions/Polls/resources/document.png +0 -0
- package/src/extensions/Polls/resources/kickIcon.png +0 -0
- package/src/extensions/Polls/resources/rightTick.png +0 -0
- package/src/extensions/SmartReplies/resources/close.png +0 -0
- package/src/extensions/Stickers/resources/Stickers.png +0 -0
- package/src/shared/assets/images/checkmark.png +0 -0
- package/src/shared/assets/images/grey-double-tick-icon.png +0 -0
- package/src/shared/assets/images/grey-tick-icon.png +0 -0
- package/src/shared/framework/resources/audio-file.png +0 -0
- package/src/shared/framework/resources/circle_add.png +0 -0
- package/src/shared/framework/resources/copy.png +0 -0
- package/src/shared/framework/resources/delete.png +0 -0
- package/src/shared/framework/resources/edit.png +0 -0
- package/src/shared/framework/resources/file_upload.png +0 -0
- package/src/shared/framework/resources/image.png +0 -0
- package/src/shared/framework/resources/info.png +0 -0
- package/src/shared/framework/resources/messageInPrivate.png +0 -0
- package/src/shared/framework/resources/pause.png +0 -0
- package/src/shared/framework/resources/play.png +0 -0
- package/src/shared/framework/resources/send_message.png +0 -0
- package/src/shared/framework/resources/share.png +0 -0
- package/src/shared/framework/resources/thread.png +0 -0
- package/src/shared/framework/resources/video_upload.png +0 -0
- package/src/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
- package/src/shared/utils/CommonUtils.ts +43 -9
- package/src/shared/utils/DetailsUtils/DetailsUtils.tsx +116 -71
- package/src/shared/utils/DetailsUtils/resources/close.png +0 -0
- package/src/shared/views/CometChatActionSheet/resources/grid.png +0 -0
- package/src/shared/views/CometChatActionSheet/resources/list.png +0 -0
- package/src/shared/views/CometChatAudioBubble/CometChatAudioBubble.tsx +23 -3
- package/src/shared/views/CometChatAudioBubble/resources/pause.png +0 -0
- package/src/shared/views/CometChatAudioBubble/resources/play.png +0 -0
- package/src/shared/views/CometChatFileBubble/CometChatFileBubble.tsx +26 -3
- package/src/shared/views/CometChatFileBubble/resources/download.png +0 -0
- package/src/shared/views/CometChatFileBubble/resources/file_upload.png +0 -0
- package/src/shared/views/CometChatFileBubble/style.ts +2 -0
- package/src/shared/views/CometChatImageBubble/CometChatImageBubble.tsx +21 -3
- package/src/shared/views/CometChatList/CometChatList.tsx +15 -10
- package/src/shared/views/CometChatList/resources/checkmark.png +0 -0
- package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +1 -1
- package/src/shared/views/CometChatReactionList/CometChatReactionList.tsx +6 -6
- package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +7 -4
- package/src/shared/views/CometChatVideoBubble/CometChatVideoBubble.tsx +23 -3
- package/src/shared/views/CometChatVideoBubble/resources/play.png +0 -0
|
@@ -1,28 +1,61 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
1
12
|
import React, { Component } from "react";
|
|
2
13
|
import PropTypes from "prop-types";
|
|
3
14
|
import { Animated, DeviceEventEmitter, Dimensions, Easing, Modal as ReactNativeModal, StyleSheet, TouchableWithoutFeedback, } from "react-native";
|
|
4
15
|
const MODAL_ANIM_DURATION = 300;
|
|
5
16
|
const MODAL_BACKDROP_OPACITY = 0.4;
|
|
6
17
|
export class Modal extends Component {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.state = {
|
|
21
|
+
isVisible: this.props.isVisible,
|
|
22
|
+
deviceWidth: Dimensions.get("window").width,
|
|
23
|
+
deviceHeight: Dimensions.get("window").height,
|
|
24
|
+
};
|
|
25
|
+
this.animVal = new Animated.Value(0);
|
|
26
|
+
this._isMounted = false;
|
|
27
|
+
this.handleDimensionsUpdate = (dimensionsUpdate) => {
|
|
28
|
+
const deviceWidth = dimensionsUpdate.window.width;
|
|
29
|
+
const deviceHeight = dimensionsUpdate.window.height;
|
|
30
|
+
if (deviceWidth !== this.state.deviceWidth ||
|
|
31
|
+
deviceHeight !== this.state.deviceHeight) {
|
|
32
|
+
this.setState({ deviceWidth, deviceHeight });
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
this.show = () => {
|
|
36
|
+
this.setState({ isVisible: true });
|
|
37
|
+
Animated.timing(this.animVal, {
|
|
38
|
+
easing: Easing.inOut(Easing.quad),
|
|
39
|
+
// Using native driver in the modal makes the content flash
|
|
40
|
+
useNativeDriver: false,
|
|
41
|
+
duration: MODAL_ANIM_DURATION,
|
|
42
|
+
toValue: 1,
|
|
43
|
+
}).start();
|
|
44
|
+
};
|
|
45
|
+
this.hide = () => {
|
|
46
|
+
Animated.timing(this.animVal, {
|
|
47
|
+
easing: Easing.inOut(Easing.quad),
|
|
48
|
+
// Using native driver in the modal makes the content flash
|
|
49
|
+
useNativeDriver: false,
|
|
50
|
+
duration: MODAL_ANIM_DURATION,
|
|
51
|
+
toValue: 0,
|
|
52
|
+
}).start(() => {
|
|
53
|
+
if (this._isMounted) {
|
|
54
|
+
this.setState({ isVisible: false }, this.props.onHide);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
}
|
|
26
59
|
componentDidMount() {
|
|
27
60
|
this._isMounted = true;
|
|
28
61
|
if (this.state.isVisible) {
|
|
@@ -42,39 +75,8 @@ export class Modal extends Component {
|
|
|
42
75
|
this.hide();
|
|
43
76
|
}
|
|
44
77
|
}
|
|
45
|
-
handleDimensionsUpdate = (dimensionsUpdate) => {
|
|
46
|
-
const deviceWidth = dimensionsUpdate.window.width;
|
|
47
|
-
const deviceHeight = dimensionsUpdate.window.height;
|
|
48
|
-
if (deviceWidth !== this.state.deviceWidth ||
|
|
49
|
-
deviceHeight !== this.state.deviceHeight) {
|
|
50
|
-
this.setState({ deviceWidth, deviceHeight });
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
show = () => {
|
|
54
|
-
this.setState({ isVisible: true });
|
|
55
|
-
Animated.timing(this.animVal, {
|
|
56
|
-
easing: Easing.inOut(Easing.quad),
|
|
57
|
-
// Using native driver in the modal makes the content flash
|
|
58
|
-
useNativeDriver: false,
|
|
59
|
-
duration: MODAL_ANIM_DURATION,
|
|
60
|
-
toValue: 1,
|
|
61
|
-
}).start();
|
|
62
|
-
};
|
|
63
|
-
hide = () => {
|
|
64
|
-
Animated.timing(this.animVal, {
|
|
65
|
-
easing: Easing.inOut(Easing.quad),
|
|
66
|
-
// Using native driver in the modal makes the content flash
|
|
67
|
-
useNativeDriver: false,
|
|
68
|
-
duration: MODAL_ANIM_DURATION,
|
|
69
|
-
toValue: 0,
|
|
70
|
-
}).start(() => {
|
|
71
|
-
if (this._isMounted) {
|
|
72
|
-
this.setState({ isVisible: false }, this.props.onHide);
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
78
|
render() {
|
|
77
|
-
const { children, onBackdropPress, contentStyle, backdropStyle,
|
|
79
|
+
const _a = this.props, { children, onBackdropPress, contentStyle, backdropStyle } = _a, otherProps = __rest(_a, ["children", "onBackdropPress", "contentStyle", "backdropStyle"]);
|
|
78
80
|
const { deviceHeight, deviceWidth, isVisible } = this.state;
|
|
79
81
|
const backdropAnimatedStyle = {
|
|
80
82
|
opacity: this.animVal.interpolate({
|
|
@@ -93,21 +95,29 @@ export class Modal extends Component {
|
|
|
93
95
|
},
|
|
94
96
|
],
|
|
95
97
|
};
|
|
96
|
-
return (
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
{isVisible && (<Animated.View style={[styles.content, contentAnimatedStyle, contentStyle]} pointerEvents="box-none">
|
|
106
|
-
{children}
|
|
107
|
-
</Animated.View>)}
|
|
108
|
-
</ReactNativeModal>);
|
|
98
|
+
return (React.createElement(ReactNativeModal, Object.assign({ transparent: true, animationType: "none", visible: isVisible }, otherProps),
|
|
99
|
+
React.createElement(TouchableWithoutFeedback, { onPress: onBackdropPress },
|
|
100
|
+
React.createElement(Animated.View, { style: [
|
|
101
|
+
styles.backdrop,
|
|
102
|
+
backdropAnimatedStyle,
|
|
103
|
+
{ width: deviceWidth, height: deviceHeight },
|
|
104
|
+
backdropStyle,
|
|
105
|
+
] })),
|
|
106
|
+
isVisible && (React.createElement(Animated.View, { style: [styles.content, contentAnimatedStyle, contentStyle], pointerEvents: "box-none" }, children))));
|
|
109
107
|
}
|
|
110
108
|
}
|
|
109
|
+
Modal.propTypes = {
|
|
110
|
+
onBackdropPress: PropTypes.func,
|
|
111
|
+
onHide: PropTypes.func,
|
|
112
|
+
isVisible: PropTypes.bool,
|
|
113
|
+
contentStyle: PropTypes.any,
|
|
114
|
+
};
|
|
115
|
+
Modal.defaultProps = {
|
|
116
|
+
onBackdropPress: () => null,
|
|
117
|
+
onHide: () => null,
|
|
118
|
+
isVisible: false,
|
|
119
|
+
};
|
|
120
|
+
Modal._deviceEventEmitter = null;
|
|
111
121
|
const styles = StyleSheet.create({
|
|
112
122
|
container: {
|
|
113
123
|
position: "absolute",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../src/shared/libs/datePickerModal/Modal.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,UAAU,EACV,MAAM,EACN,KAAK,IAAI,gBAAgB,EACzB,UAAU,EACV,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAEtB,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAChC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,MAAM,OAAO,KAAM,SAAQ,SAAS;
|
|
1
|
+
{"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../src/shared/libs/datePickerModal/Modal.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,UAAU,EACV,MAAM,EACN,KAAK,IAAI,gBAAgB,EACzB,UAAU,EACV,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAEtB,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAChC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,MAAM,OAAO,KAAM,SAAQ,SAAS;IAApC;;QAcE,UAAK,GAAG;YACN,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;YAC/B,WAAW,EAAE,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,KAAK;YAC3C,YAAY,EAAE,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,MAAM;SAC9C,CAAC;QAEF,YAAO,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAChC,eAAU,GAAG,KAAK,CAAC;QA4BnB,2BAAsB,GAAG,CAAC,gBAAgB,EAAE,EAAE;YAC5C,MAAM,WAAW,GAAG,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC;YAClD,MAAM,YAAY,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;YACpD,IACE,WAAW,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW;gBACtC,YAAY,KAAK,IAAI,CAAC,KAAK,CAAC,YAAY,EACxC,CAAC;gBACD,IAAI,CAAC,QAAQ,CAAC,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC,CAAC;YAC/C,CAAC;QACH,CAAC,CAAC;QAEF,SAAI,GAAG,GAAG,EAAE;YACV,IAAI,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YACnC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE;gBAC5B,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;gBACjC,2DAA2D;gBAC3D,eAAe,EAAE,KAAK;gBACtB,QAAQ,EAAE,mBAAmB;gBAC7B,OAAO,EAAE,CAAC;aACX,CAAC,CAAC,KAAK,EAAE,CAAC;QACb,CAAC,CAAC;QAEF,SAAI,GAAG,GAAG,EAAE;YACV,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE;gBAC5B,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;gBACjC,2DAA2D;gBAC3D,eAAe,EAAE,KAAK;gBACtB,QAAQ,EAAE,mBAAmB;gBAC7B,OAAO,EAAE,CAAC;aACX,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE;gBACZ,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBACpB,IAAI,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBACzD,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;IAwDJ,CAAC;IAlHC,iBAAiB;QACf,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;YACzB,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC;QACD,IAAI,CAAC,mBAAmB,GAAG,kBAAkB,CAAC,WAAW,CACvD,qBAAqB,EACrB,IAAI,CAAC,sBAAsB,CAC5B,CAAC;IACJ,CAAC;IAED,oBAAoB;QAClB,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE,CAAC;QAClC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;IAC1B,CAAC;IAED,kBAAkB,CAAC,SAAS;QAC1B,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;YACjD,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC;aAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,CAAC,SAAS,EAAE,CAAC;YACxD,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC;IACH,CAAC;IAsCD,MAAM;QACJ,MAAM,KAMF,IAAI,CAAC,KAAK,EANR,EACJ,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,aAAa,OAED,EADT,UAAU,cALT,gEAML,CAAa,CAAC;QACf,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAC5D,MAAM,qBAAqB,GAAG;YAC5B,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;gBAChC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;gBAClB,WAAW,EAAE,CAAC,CAAC,EAAE,sBAAsB,CAAC;aACzC,CAAC;SACH,CAAC;QACF,MAAM,oBAAoB,GAAG;YAC3B,SAAS,EAAE;gBACT;oBACE,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;wBACnC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;wBAClB,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,CAAC;wBAC9B,WAAW,EAAE,OAAO;qBACrB,CAAC;iBACH;aACF;SACF,CAAC;QACF,OAAO,CACL,oBAAC,gBAAgB,kBACf,WAAW,QACX,aAAa,EAAC,MAAM,EACpB,OAAO,EAAE,SAAS,IACd,UAAU;YAEd,oBAAC,wBAAwB,IAAC,OAAO,EAAE,eAAe;gBAChD,oBAAC,QAAQ,CAAC,IAAI,IACZ,KAAK,EAAE;wBACL,MAAM,CAAC,QAAQ;wBACf,qBAAqB;wBACrB,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE;wBAC5C,aAAa;qBACd,GACD,CACuB;YAC1B,SAAS,IAAI,CACZ,oBAAC,QAAQ,CAAC,IAAI,IACZ,KAAK,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,oBAAoB,EAAE,YAAY,CAAC,EAC3D,aAAa,EAAC,UAAU,IAEvB,QAAQ,CACK,CACjB,CACgB,CACpB,CAAC;IACJ,CAAC;;AAzIM,eAAS,GAAG;IACjB,eAAe,EAAE,SAAS,CAAC,IAAI;IAC/B,MAAM,EAAE,SAAS,CAAC,IAAI;IACtB,SAAS,EAAE,SAAS,CAAC,IAAI;IACzB,YAAY,EAAE,SAAS,CAAC,GAAG;CAC5B,AALe,CAKd;AAEK,kBAAY,GAAG;IACpB,eAAe,EAAE,GAAG,EAAE,CAAC,IAAI;IAC3B,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI;IAClB,SAAS,EAAE,KAAK;CACjB,AAJkB,CAIjB;AAWK,yBAAmB,GAAG,IAAI,AAAP,CAAQ;AAsHpC,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;QACN,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;KACV;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;QACN,MAAM,EAAE,CAAC;QACT,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,eAAe,EAAE,OAAO;QACxB,OAAO,EAAE,CAAC;KACX;IACD,OAAO,EAAE;QACP,IAAI,EAAE,CAAC;QACP,cAAc,EAAE,UAAU;KAC3B;CACF,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -100,7 +100,7 @@ export default class DateTime {
|
|
|
100
100
|
*/
|
|
101
101
|
static fromMillis(milliseconds: number, options?: {
|
|
102
102
|
zone?: string | Zone;
|
|
103
|
-
locale?: string;
|
|
103
|
+
locale?: string | undefined;
|
|
104
104
|
outputCalendar: string;
|
|
105
105
|
numberingSystem: string;
|
|
106
106
|
}): DateTime;
|
|
@@ -116,7 +116,7 @@ export default class DateTime {
|
|
|
116
116
|
*/
|
|
117
117
|
static fromSeconds(seconds: number, options?: {
|
|
118
118
|
zone?: string | Zone;
|
|
119
|
-
locale?: string;
|
|
119
|
+
locale?: string | undefined;
|
|
120
120
|
outputCalendar: string;
|
|
121
121
|
numberingSystem: string;
|
|
122
122
|
}): DateTime;
|
|
@@ -169,7 +169,7 @@ export default class DateTime {
|
|
|
169
169
|
millisecond: number;
|
|
170
170
|
}, opts?: {
|
|
171
171
|
zone?: string | Zone;
|
|
172
|
-
locale?: string;
|
|
172
|
+
locale?: string | undefined;
|
|
173
173
|
outputCalendar: string;
|
|
174
174
|
numberingSystem: string;
|
|
175
175
|
}): DateTime;
|
|
@@ -191,10 +191,10 @@ export default class DateTime {
|
|
|
191
191
|
*/
|
|
192
192
|
static fromISO(text: string, opts?: {
|
|
193
193
|
zone?: string | Zone;
|
|
194
|
-
setZone?: boolean;
|
|
195
|
-
locale?: string;
|
|
196
|
-
outputCalendar?: string;
|
|
197
|
-
numberingSystem?: string;
|
|
194
|
+
setZone?: boolean | undefined;
|
|
195
|
+
locale?: string | undefined;
|
|
196
|
+
outputCalendar?: string | undefined;
|
|
197
|
+
numberingSystem?: string | undefined;
|
|
198
198
|
}): DateTime;
|
|
199
199
|
/**
|
|
200
200
|
* Create a DateTime from an RFC 2822 string
|
|
@@ -212,8 +212,8 @@ export default class DateTime {
|
|
|
212
212
|
*/
|
|
213
213
|
static fromRFC2822(text: string, opts?: {
|
|
214
214
|
zone?: string | Zone;
|
|
215
|
-
setZone?: boolean;
|
|
216
|
-
locale?: string;
|
|
215
|
+
setZone?: boolean | undefined;
|
|
216
|
+
locale?: string | undefined;
|
|
217
217
|
outputCalendar: string;
|
|
218
218
|
numberingSystem: string;
|
|
219
219
|
}): DateTime;
|
|
@@ -234,8 +234,8 @@ export default class DateTime {
|
|
|
234
234
|
*/
|
|
235
235
|
static fromHTTP(text: string, opts?: {
|
|
236
236
|
zone?: string | Zone;
|
|
237
|
-
setZone?: boolean;
|
|
238
|
-
locale?: string;
|
|
237
|
+
setZone?: boolean | undefined;
|
|
238
|
+
locale?: string | undefined;
|
|
239
239
|
outputCalendar: string;
|
|
240
240
|
numberingSystem: string;
|
|
241
241
|
}): DateTime;
|
|
@@ -254,8 +254,8 @@ export default class DateTime {
|
|
|
254
254
|
*/
|
|
255
255
|
static fromFormat(text: string, fmt: string, opts?: {
|
|
256
256
|
zone?: string | Zone;
|
|
257
|
-
setZone?: boolean;
|
|
258
|
-
locale?: string;
|
|
257
|
+
setZone?: boolean | undefined;
|
|
258
|
+
locale?: string | undefined;
|
|
259
259
|
numberingSystem: string;
|
|
260
260
|
outputCalendar: string;
|
|
261
261
|
}): DateTime;
|
|
@@ -285,8 +285,8 @@ export default class DateTime {
|
|
|
285
285
|
*/
|
|
286
286
|
static fromSQL(text: string, opts?: {
|
|
287
287
|
zone?: string | Zone;
|
|
288
|
-
setZone?: boolean;
|
|
289
|
-
locale?: string;
|
|
288
|
+
setZone?: boolean | undefined;
|
|
289
|
+
locale?: string | undefined;
|
|
290
290
|
numberingSystem: string;
|
|
291
291
|
outputCalendar: string;
|
|
292
292
|
}): DateTime;
|
|
@@ -296,7 +296,7 @@ export default class DateTime {
|
|
|
296
296
|
* @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
|
|
297
297
|
* @return {DateTime}
|
|
298
298
|
*/
|
|
299
|
-
static invalid(reason: string, explanation?: string): DateTime;
|
|
299
|
+
static invalid(reason: string, explanation?: string | undefined): DateTime;
|
|
300
300
|
/**
|
|
301
301
|
* Check if an object is an instance of DateTime. Works across context boundaries
|
|
302
302
|
* @param {object} o
|
|
@@ -762,7 +762,7 @@ export default class DateTime {
|
|
|
762
762
|
* @param {Object} [opts={}] - options to pass to `setZone()`
|
|
763
763
|
* @return {DateTime}
|
|
764
764
|
*/
|
|
765
|
-
toUTC(offset?: number, opts?: any): DateTime;
|
|
765
|
+
toUTC(offset?: number | undefined, opts?: any): DateTime;
|
|
766
766
|
/**
|
|
767
767
|
* "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
|
|
768
768
|
*
|
|
@@ -780,7 +780,7 @@ export default class DateTime {
|
|
|
780
780
|
* @return {DateTime}
|
|
781
781
|
*/
|
|
782
782
|
setZone(zone?: string | Zone, { keepLocalTime, keepCalendarTime }?: {
|
|
783
|
-
keepLocalTime?: boolean;
|
|
783
|
+
keepLocalTime?: boolean | undefined;
|
|
784
784
|
}): DateTime;
|
|
785
785
|
/**
|
|
786
786
|
* "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
|
|
@@ -844,7 +844,7 @@ export default class DateTime {
|
|
|
844
844
|
* @return {DateTime}
|
|
845
845
|
*/
|
|
846
846
|
startOf(unit: string, { useLocaleWeeks }?: {
|
|
847
|
-
useLocaleWeeks?: boolean;
|
|
847
|
+
useLocaleWeeks?: boolean | undefined;
|
|
848
848
|
}): DateTime;
|
|
849
849
|
/**
|
|
850
850
|
* "Set" this DateTime to the end (meaning the last millisecond) of a unit of time
|
|
@@ -859,7 +859,7 @@ export default class DateTime {
|
|
|
859
859
|
* @return {DateTime}
|
|
860
860
|
*/
|
|
861
861
|
endOf(unit: string, opts: {
|
|
862
|
-
useLocaleWeeks?: boolean;
|
|
862
|
+
useLocaleWeeks?: boolean | undefined;
|
|
863
863
|
}): DateTime;
|
|
864
864
|
/**
|
|
865
865
|
* Returns a string representation of this DateTime formatted according to the specified format string.
|
|
@@ -923,11 +923,11 @@ export default class DateTime {
|
|
|
923
923
|
* @return {string}
|
|
924
924
|
*/
|
|
925
925
|
toISO({ format, suppressSeconds, suppressMilliseconds, includeOffset, extendedZone, }?: {
|
|
926
|
-
suppressMilliseconds?: boolean;
|
|
927
|
-
suppressSeconds?: boolean;
|
|
928
|
-
includeOffset?: boolean;
|
|
929
|
-
extendedZone?: boolean;
|
|
930
|
-
format?: string;
|
|
926
|
+
suppressMilliseconds?: boolean | undefined;
|
|
927
|
+
suppressSeconds?: boolean | undefined;
|
|
928
|
+
includeOffset?: boolean | undefined;
|
|
929
|
+
extendedZone?: boolean | undefined;
|
|
930
|
+
format?: string | undefined;
|
|
931
931
|
}): string;
|
|
932
932
|
/**
|
|
933
933
|
* Returns an ISO 8601-compliant string representation of this DateTime's date component
|
|
@@ -938,7 +938,7 @@ export default class DateTime {
|
|
|
938
938
|
* @return {string}
|
|
939
939
|
*/
|
|
940
940
|
toISODate({ format }?: {
|
|
941
|
-
format?: string;
|
|
941
|
+
format?: string | undefined;
|
|
942
942
|
}): string;
|
|
943
943
|
/**
|
|
944
944
|
* Returns an ISO 8601-compliant string representation of this DateTime's week date
|
|
@@ -962,12 +962,12 @@ export default class DateTime {
|
|
|
962
962
|
* @return {string}
|
|
963
963
|
*/
|
|
964
964
|
toISOTime({ suppressMilliseconds, suppressSeconds, includeOffset, includePrefix, extendedZone, format, }?: {
|
|
965
|
-
suppressMilliseconds?: boolean;
|
|
966
|
-
suppressSeconds?: boolean;
|
|
967
|
-
includeOffset?: boolean;
|
|
968
|
-
extendedZone?: boolean;
|
|
969
|
-
includePrefix?: boolean;
|
|
970
|
-
format?: string;
|
|
965
|
+
suppressMilliseconds?: boolean | undefined;
|
|
966
|
+
suppressSeconds?: boolean | undefined;
|
|
967
|
+
includeOffset?: boolean | undefined;
|
|
968
|
+
extendedZone?: boolean | undefined;
|
|
969
|
+
includePrefix?: boolean | undefined;
|
|
970
|
+
format?: string | undefined;
|
|
971
971
|
}): string;
|
|
972
972
|
/**
|
|
973
973
|
* Returns an RFC 2822-compatible string representation of this DateTime
|
|
@@ -1004,9 +1004,9 @@ export default class DateTime {
|
|
|
1004
1004
|
* @return {string}
|
|
1005
1005
|
*/
|
|
1006
1006
|
toSQLTime({ includeOffset, includeZone, includeOffsetSpace }?: {
|
|
1007
|
-
includeZone?: boolean;
|
|
1008
|
-
includeOffset?: boolean;
|
|
1009
|
-
includeOffsetSpace?: boolean;
|
|
1007
|
+
includeZone?: boolean | undefined;
|
|
1008
|
+
includeOffset?: boolean | undefined;
|
|
1009
|
+
includeOffsetSpace?: boolean | undefined;
|
|
1010
1010
|
}): string;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Returns a string representation of this DateTime appropriate for use in SQL DateTime
|
|
@@ -1021,9 +1021,9 @@ export default class DateTime {
|
|
|
1021
1021
|
* @return {string}
|
|
1022
1022
|
*/
|
|
1023
1023
|
toSQL(opts?: {
|
|
1024
|
-
includeZone?: boolean;
|
|
1025
|
-
includeOffset?: boolean;
|
|
1026
|
-
includeOffsetSpace?: boolean;
|
|
1024
|
+
includeZone?: boolean | undefined;
|
|
1025
|
+
includeOffset?: boolean | undefined;
|
|
1026
|
+
includeOffsetSpace?: boolean | undefined;
|
|
1027
1027
|
}): string;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Returns a string representation of this DateTime appropriate for debugging
|
|
@@ -1088,8 +1088,8 @@ export default class DateTime {
|
|
|
1088
1088
|
* i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }
|
|
1089
1089
|
* @return {Duration}
|
|
1090
1090
|
*/
|
|
1091
|
-
diff(otherDateTime: DateTime, unit?: string | string[], opts?: {
|
|
1092
|
-
conversionAccuracy?: string;
|
|
1091
|
+
diff(otherDateTime: DateTime, unit?: string | string[] | undefined, opts?: {
|
|
1092
|
+
conversionAccuracy?: string | undefined;
|
|
1093
1093
|
}): Duration;
|
|
1094
1094
|
/**
|
|
1095
1095
|
* Return the difference between this DateTime and right now.
|
|
@@ -1099,8 +1099,8 @@ export default class DateTime {
|
|
|
1099
1099
|
* @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
|
|
1100
1100
|
* @return {Duration}
|
|
1101
1101
|
*/
|
|
1102
|
-
diffNow(unit?: string | string[], opts?: {
|
|
1103
|
-
conversionAccuracy?: string;
|
|
1102
|
+
diffNow(unit?: string | string[] | undefined, opts?: {
|
|
1103
|
+
conversionAccuracy?: string | undefined;
|
|
1104
1104
|
}): Duration;
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Return an Interval spanning between this DateTime and another DateTime
|
|
@@ -1120,7 +1120,7 @@ export default class DateTime {
|
|
|
1120
1120
|
* @return {boolean}
|
|
1121
1121
|
*/
|
|
1122
1122
|
hasSame(otherDateTime: DateTime, unit: string, opts: {
|
|
1123
|
-
useLocaleWeeks?: boolean;
|
|
1123
|
+
useLocaleWeeks?: boolean | undefined;
|
|
1124
1124
|
}): boolean;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Equality check
|
|
@@ -1149,11 +1149,11 @@ export default class DateTime {
|
|
|
1149
1149
|
* @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> "1.5 days ago"
|
|
1150
1150
|
*/
|
|
1151
1151
|
toRelative(options?: {
|
|
1152
|
-
base?: DateTime;
|
|
1153
|
-
style?: string;
|
|
1152
|
+
base?: DateTime | undefined;
|
|
1153
|
+
style?: string | undefined;
|
|
1154
1154
|
unit: string | string[];
|
|
1155
|
-
round?: boolean;
|
|
1156
|
-
padding?: number;
|
|
1155
|
+
round?: boolean | undefined;
|
|
1156
|
+
padding?: number | undefined;
|
|
1157
1157
|
locale: string;
|
|
1158
1158
|
numberingSystem: string;
|
|
1159
1159
|
}): any;
|
|
@@ -1171,7 +1171,7 @@ export default class DateTime {
|
|
|
1171
1171
|
* @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
|
|
1172
1172
|
*/
|
|
1173
1173
|
toRelativeCalendar(options?: {
|
|
1174
|
-
base?: DateTime;
|
|
1174
|
+
base?: DateTime | undefined;
|
|
1175
1175
|
locale: string;
|
|
1176
1176
|
unit: string;
|
|
1177
1177
|
numberingSystem: string;
|
|
@@ -49,7 +49,7 @@ function clone(inst, alts) {
|
|
|
49
49
|
loc: inst.loc,
|
|
50
50
|
invalid: inst.invalid,
|
|
51
51
|
};
|
|
52
|
-
return new DateTime({
|
|
52
|
+
return new DateTime(Object.assign(Object.assign(Object.assign({}, current), alts), { old: current }));
|
|
53
53
|
}
|
|
54
54
|
// find the right offset a given local time. The o input is our guess, which determines which
|
|
55
55
|
// offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST)
|
|
@@ -92,14 +92,10 @@ function objToTS(obj, offset, zone) {
|
|
|
92
92
|
}
|
|
93
93
|
// create a new DT instance by adding a duration, adjusting for DSTs
|
|
94
94
|
function adjustTime(inst, dur) {
|
|
95
|
-
const oPre = inst.o, year = inst.c.year + Math.trunc(dur.years), month = inst.c.month + Math.trunc(dur.months) + Math.trunc(dur.quarters) * 3, c = {
|
|
96
|
-
|
|
97
|
-
year,
|
|
98
|
-
month,
|
|
99
|
-
day: Math.min(inst.c.day, daysInMonth(year, month)) +
|
|
95
|
+
const oPre = inst.o, year = inst.c.year + Math.trunc(dur.years), month = inst.c.month + Math.trunc(dur.months) + Math.trunc(dur.quarters) * 3, c = Object.assign(Object.assign({}, inst.c), { year,
|
|
96
|
+
month, day: Math.min(inst.c.day, daysInMonth(year, month)) +
|
|
100
97
|
Math.trunc(dur.days) +
|
|
101
|
-
Math.trunc(dur.weeks) * 7,
|
|
102
|
-
}, millisToAdd = Duration.fromObject({
|
|
98
|
+
Math.trunc(dur.weeks) * 7 }), millisToAdd = Duration.fromObject({
|
|
103
99
|
years: dur.years - Math.trunc(dur.years),
|
|
104
100
|
quarters: dur.quarters - Math.trunc(dur.quarters),
|
|
105
101
|
months: dur.months - Math.trunc(dur.months),
|
|
@@ -123,11 +119,7 @@ function adjustTime(inst, dur) {
|
|
|
123
119
|
function parseDataToDateTime(parsed, parsedZone, opts, format, text, specificOffset) {
|
|
124
120
|
const { setZone, zone } = opts;
|
|
125
121
|
if ((parsed && Object.keys(parsed).length !== 0) || parsedZone) {
|
|
126
|
-
const interpretationZone = parsedZone || zone, inst = DateTime.fromObject(parsed, {
|
|
127
|
-
...opts,
|
|
128
|
-
zone: interpretationZone,
|
|
129
|
-
specificOffset,
|
|
130
|
-
});
|
|
122
|
+
const interpretationZone = parsedZone || zone, inst = DateTime.fromObject(parsed, Object.assign(Object.assign({}, opts), { zone: interpretationZone, specificOffset }));
|
|
131
123
|
return setZone ? inst : inst.setZone(zone);
|
|
132
124
|
}
|
|
133
125
|
else {
|
|
@@ -1325,13 +1317,13 @@ export default class DateTime {
|
|
|
1325
1317
|
}
|
|
1326
1318
|
let mixed;
|
|
1327
1319
|
if (settingWeekStuff) {
|
|
1328
|
-
mixed = weekToGregorian({
|
|
1320
|
+
mixed = weekToGregorian(Object.assign(Object.assign({}, gregorianToWeek(this.c, minDaysInFirstWeek, startOfWeek)), normalized), minDaysInFirstWeek, startOfWeek);
|
|
1329
1321
|
}
|
|
1330
1322
|
else if (!isUndefined(normalized.ordinal)) {
|
|
1331
|
-
mixed = ordinalToGregorian({
|
|
1323
|
+
mixed = ordinalToGregorian(Object.assign(Object.assign({}, gregorianToOrdinal(this.c)), normalized));
|
|
1332
1324
|
}
|
|
1333
1325
|
else {
|
|
1334
|
-
mixed = {
|
|
1326
|
+
mixed = Object.assign(Object.assign({}, this.toObject()), normalized);
|
|
1335
1327
|
// if we didn't set the day but we ended up on an overflow date,
|
|
1336
1328
|
// use the last day of the right month
|
|
1337
1329
|
if (isUndefined(normalized.day)) {
|
|
@@ -1727,7 +1719,7 @@ export default class DateTime {
|
|
|
1727
1719
|
toObject(opts = {}) {
|
|
1728
1720
|
if (!this.isValid)
|
|
1729
1721
|
return {};
|
|
1730
|
-
const base = {
|
|
1722
|
+
const base = Object.assign({}, this.c);
|
|
1731
1723
|
if (opts.includeConfig) {
|
|
1732
1724
|
base.outputCalendar = this.outputCalendar;
|
|
1733
1725
|
base.numberingSystem = this.loc.numberingSystem;
|
|
@@ -1762,7 +1754,7 @@ export default class DateTime {
|
|
|
1762
1754
|
if (!this.isValid || !otherDateTime.isValid) {
|
|
1763
1755
|
return Duration.invalid("created by diffing an invalid DateTime");
|
|
1764
1756
|
}
|
|
1765
|
-
const durOpts = { locale: this.locale, numberingSystem: this.numberingSystem,
|
|
1757
|
+
const durOpts = Object.assign({ locale: this.locale, numberingSystem: this.numberingSystem }, opts);
|
|
1766
1758
|
const units = maybeArray(unit).map(Duration.normalizeUnit), otherIsLater = otherDateTime.valueOf() > this.valueOf(), earlier = otherIsLater ? this : otherDateTime, later = otherIsLater ? otherDateTime : this, diffed = diff(earlier, later, units, durOpts);
|
|
1767
1759
|
return otherIsLater ? diffed.negate() : diffed;
|
|
1768
1760
|
}
|
|
@@ -1845,12 +1837,8 @@ export default class DateTime {
|
|
|
1845
1837
|
units = options.unit;
|
|
1846
1838
|
unit = undefined;
|
|
1847
1839
|
}
|
|
1848
|
-
return diffRelative(base, this.plus(padding), {
|
|
1849
|
-
|
|
1850
|
-
numeric: "always",
|
|
1851
|
-
units,
|
|
1852
|
-
unit,
|
|
1853
|
-
});
|
|
1840
|
+
return diffRelative(base, this.plus(padding), Object.assign(Object.assign({}, options), { numeric: "always", units,
|
|
1841
|
+
unit }));
|
|
1854
1842
|
}
|
|
1855
1843
|
/**
|
|
1856
1844
|
* Returns a string representation of this date relative to today, such as "yesterday" or "next month".
|
|
@@ -1868,12 +1856,7 @@ export default class DateTime {
|
|
|
1868
1856
|
toRelativeCalendar(options = {}) {
|
|
1869
1857
|
if (!this.isValid)
|
|
1870
1858
|
return null;
|
|
1871
|
-
return diffRelative(options.base || DateTime.fromObject({}, { zone: this.zone }), this, {
|
|
1872
|
-
...options,
|
|
1873
|
-
numeric: "auto",
|
|
1874
|
-
units: ["years", "months", "days"],
|
|
1875
|
-
calendary: true,
|
|
1876
|
-
});
|
|
1859
|
+
return diffRelative(options.base || DateTime.fromObject({}, { zone: this.zone }), this, Object.assign(Object.assign({}, options), { numeric: "auto", units: ["years", "months", "days"], calendary: true }));
|
|
1877
1860
|
}
|
|
1878
1861
|
/**
|
|
1879
1862
|
* Return the min of several date times
|