@sendbird/uikit-react 3.9.3-rc-0 → 3.9.3
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/App.js +56 -56
- package/CHANGELOG.md +28 -0
- package/Channel/components/ChannelHeader.js +25 -25
- package/Channel/components/ChannelUI.js +50 -50
- package/Channel/components/FileViewer.js +24 -24
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +43 -43
- package/Channel/components/MessageInput.js +36 -36
- package/Channel/components/MessageList.js +45 -45
- package/Channel/components/RemoveMessageModal.js +23 -23
- package/Channel/components/SuggestedMentionList.js +23 -23
- package/Channel/components/TypingIndicator.js +19 -19
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +16 -16
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/Channel/utils/getMessagePartsInfo.js +7 -7
- package/Channel.js +50 -50
- package/ChannelList/components/AddChannel.js +18 -18
- package/ChannelList/components/ChannelListHeader.js +9 -9
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +32 -32
- package/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsUI.js +19 -19
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +17 -17
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +16 -16
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +19 -19
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +12 -12
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/MessageSearch/components/MessageSearchUI.js +15 -15
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +15 -15
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/OpenChannel/components/OpenChannelInput.js +26 -26
- package/OpenChannel/components/OpenChannelMessage.js +34 -34
- package/OpenChannel/components/OpenChannelMessageList.js +37 -37
- package/OpenChannel/components/OpenChannelUI.js +37 -37
- package/OpenChannel/context.js +18 -18
- package/OpenChannel.js +37 -37
- package/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +15 -15
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -19
- package/README.md +24 -22
- package/SendbirdProvider.js +21 -17
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +40 -40
- package/Thread/components/ParentMessageInfoItem.js +28 -28
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +44 -44
- package/Thread/components/ThreadListItem.js +44 -44
- package/Thread/components/ThreadMessageInput.js +36 -36
- package/Thread/components/ThreadUI.js +48 -48
- package/Thread/context.js +13 -13
- package/Thread.js +48 -48
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-NKVaui__.js → bundle-0-7ScOR7.js} +10 -10
- package/chunks/{bundle-NKVaui__.js.map → bundle-0-7ScOR7.js.map} +1 -1
- package/chunks/{bundle-c9lGdHcW.js → bundle-21p8ODP_.js} +16 -13
- package/chunks/{bundle-c9lGdHcW.js.map → bundle-21p8ODP_.js.map} +1 -1
- package/chunks/{bundle-grwjdnuR.js → bundle-2axFKCIx.js} +1 -1
- package/chunks/bundle-2axFKCIx.js.map +1 -0
- package/chunks/{bundle-gF9Zk7CT.js → bundle-4PBxOF7r.js} +4 -4
- package/chunks/bundle-4PBxOF7r.js.map +1 -0
- package/chunks/{bundle-ohZbnliW.js → bundle-79RbKDD4.js} +1 -1
- package/chunks/bundle-79RbKDD4.js.map +1 -0
- package/chunks/{bundle-ZhiMeChf.js → bundle-A36uZCDl.js} +1 -1
- package/chunks/bundle-A36uZCDl.js.map +1 -0
- package/chunks/{bundle-18sxXz96.js → bundle-DXjnvT3X.js} +2 -2
- package/chunks/bundle-DXjnvT3X.js.map +1 -0
- package/chunks/{bundle-izXEaAzu.js → bundle-EvZinAAd.js} +1 -1
- package/chunks/{bundle-izXEaAzu.js.map → bundle-EvZinAAd.js.map} +1 -1
- package/chunks/{bundle-442ZifHc.js → bundle-IHKKjTVb.js} +3 -3
- package/chunks/bundle-IHKKjTVb.js.map +1 -0
- package/chunks/{bundle-9rcM31fD.js → bundle-K0r8aWXg.js} +20 -14
- package/chunks/{bundle-9rcM31fD.js.map → bundle-K0r8aWXg.js.map} +1 -1
- package/chunks/{bundle--t8HI__x.js → bundle-KF1IhHsV.js} +1 -1
- package/chunks/bundle-KF1IhHsV.js.map +1 -0
- package/chunks/{bundle-wAk4n8_J.js → bundle-KVQUrA22.js} +6 -6
- package/chunks/bundle-KVQUrA22.js.map +1 -0
- package/chunks/{bundle--MiZG3Js.js → bundle-KjVIQqaY.js} +3 -3
- package/chunks/bundle-KjVIQqaY.js.map +1 -0
- package/chunks/{bundle-ZVc6IN6u.js → bundle-LFXAxMSp.js} +4 -4
- package/chunks/bundle-LFXAxMSp.js.map +1 -0
- package/chunks/{bundle-Gt-hdHTb.js → bundle-L_mUjiuK.js} +5 -5
- package/chunks/{bundle-Gt-hdHTb.js.map → bundle-L_mUjiuK.js.map} +1 -1
- package/chunks/{bundle-r9tWURLe.js → bundle-MtGjgUxA.js} +9 -9
- package/chunks/{bundle-r9tWURLe.js.map → bundle-MtGjgUxA.js.map} +1 -1
- package/chunks/{bundle-Nc3CgLMw.js → bundle-NZcldiSn.js} +3 -3
- package/chunks/{bundle-Nc3CgLMw.js.map → bundle-NZcldiSn.js.map} +1 -1
- package/chunks/{bundle-uZo9yT-4.js → bundle-OiOYIWNt.js} +19 -29
- package/chunks/{bundle-uZo9yT-4.js.map → bundle-OiOYIWNt.js.map} +1 -1
- package/chunks/{bundle-FpzNzZJe.js → bundle-PCj9QYWV.js} +2 -2
- package/chunks/bundle-PCj9QYWV.js.map +1 -0
- package/chunks/{bundle-L3wWojka.js → bundle-Pv7OUzJM.js} +3 -3
- package/chunks/{bundle-L3wWojka.js.map → bundle-Pv7OUzJM.js.map} +1 -1
- package/chunks/{bundle-UoyQlaRI.js → bundle-Q-3uYmLU.js} +1 -1
- package/chunks/bundle-Q-3uYmLU.js.map +1 -0
- package/chunks/{bundle-okm6lFGI.js → bundle-TSWaRDnP.js} +3 -12
- package/chunks/bundle-TSWaRDnP.js.map +1 -0
- package/chunks/{bundle-jAaenNES.js → bundle-W0Wz_roj.js} +3 -3
- package/chunks/{bundle-jAaenNES.js.map → bundle-W0Wz_roj.js.map} +1 -1
- package/chunks/{bundle-HoEu_6S5.js → bundle-XlrrUjEJ.js} +1 -1
- package/chunks/bundle-XlrrUjEJ.js.map +1 -0
- package/chunks/{bundle-Yw8SfpVI.js → bundle-Xp-L1BVs.js} +4 -4
- package/chunks/{bundle-Yw8SfpVI.js.map → bundle-Xp-L1BVs.js.map} +1 -1
- package/chunks/{bundle-lcNrWbsV.js → bundle-YknGoAU3.js} +2 -2
- package/chunks/{bundle-lcNrWbsV.js.map → bundle-YknGoAU3.js.map} +1 -1
- package/chunks/{bundle-jZN4I8YR.js → bundle-ZbGteG77.js} +1 -1
- package/chunks/bundle-ZbGteG77.js.map +1 -0
- package/chunks/{bundle-BeVTS3Bd.js → bundle-Zzg_Wc7p.js} +8 -8
- package/chunks/{bundle-BeVTS3Bd.js.map → bundle-Zzg_Wc7p.js.map} +1 -1
- package/chunks/{bundle-Eu9o4mDx.js → bundle-_nBy-aBx.js} +7 -7
- package/chunks/{bundle-Eu9o4mDx.js.map → bundle-_nBy-aBx.js.map} +1 -1
- package/chunks/{bundle-VS0auAdJ.js → bundle-amfimmWY.js} +1 -1
- package/chunks/bundle-amfimmWY.js.map +1 -0
- package/chunks/{bundle-39Q2USX9.js → bundle-f-bQSvmA.js} +1 -1
- package/chunks/bundle-f-bQSvmA.js.map +1 -0
- package/chunks/{bundle-bdchyPw2.js → bundle-fe2EF_iJ.js} +4 -4
- package/chunks/{bundle-bdchyPw2.js.map → bundle-fe2EF_iJ.js.map} +1 -1
- package/chunks/{bundle-cX8U_VhV.js → bundle-gdweDZjg.js} +1 -1
- package/chunks/bundle-gdweDZjg.js.map +1 -0
- package/chunks/{bundle-27GyiefI.js → bundle-hEvM6x_9.js} +1 -1
- package/chunks/bundle-hEvM6x_9.js.map +1 -0
- package/chunks/{bundle-cOTYyV89.js → bundle-hnbY99fx.js} +3 -3
- package/chunks/bundle-hnbY99fx.js.map +1 -0
- package/chunks/{bundle-0PyFB1mS.js → bundle-iGWTklyk.js} +1 -1
- package/chunks/bundle-iGWTklyk.js.map +1 -0
- package/chunks/{bundle-gRSst73Y.js → bundle-ior2BlUD.js} +1 -1
- package/chunks/bundle-ior2BlUD.js.map +1 -0
- package/chunks/{bundle-r_k_oOHy.js → bundle-j-DHjJge.js} +2 -2
- package/chunks/bundle-j-DHjJge.js.map +1 -0
- package/chunks/{bundle-F-7fIVr5.js → bundle-jJZAQH44.js} +60 -199
- package/chunks/bundle-jJZAQH44.js.map +1 -0
- package/chunks/{bundle-76TfTByX.js → bundle-joPrRU5E.js} +1 -1
- package/chunks/bundle-joPrRU5E.js.map +1 -0
- package/chunks/{bundle-mIzXbj76.js → bundle-jzsK-B6H.js} +8 -4
- package/chunks/{bundle-mIzXbj76.js.map → bundle-jzsK-B6H.js.map} +1 -1
- package/chunks/{bundle-7X4gNGSL.js → bundle-l9d09gzQ.js} +1 -1
- package/chunks/bundle-l9d09gzQ.js.map +1 -0
- package/chunks/{bundle-C4qp0Rjl.js → bundle-mO3J4SXS.js} +1 -1
- package/chunks/bundle-mO3J4SXS.js.map +1 -0
- package/chunks/{bundle-MCNLGc7G.js → bundle-mW5agIOj.js} +1 -1
- package/chunks/bundle-mW5agIOj.js.map +1 -0
- package/chunks/{bundle-Ulft7jAF.js → bundle-mxq273ll.js} +3 -3
- package/chunks/bundle-mxq273ll.js.map +1 -0
- package/chunks/{bundle-zZdwWoac.js → bundle-nyXhTs2k.js} +3 -3
- package/chunks/bundle-nyXhTs2k.js.map +1 -0
- package/chunks/{bundle-tlmDc6Lb.js → bundle-oaL-WZdX.js} +15 -15
- package/chunks/{bundle-tlmDc6Lb.js.map → bundle-oaL-WZdX.js.map} +1 -1
- package/chunks/{bundle-U_oG_Fli.js → bundle-olZmltOQ.js} +1 -1
- package/chunks/{bundle-U_oG_Fli.js.map → bundle-olZmltOQ.js.map} +1 -1
- package/chunks/{bundle-vEgsgkZU.js → bundle-q1M15U1p.js} +5 -5
- package/chunks/bundle-q1M15U1p.js.map +1 -0
- package/chunks/{bundle-QvPkmWeZ.js → bundle-qnTU06K7.js} +7 -7
- package/chunks/{bundle-QvPkmWeZ.js.map → bundle-qnTU06K7.js.map} +1 -1
- package/chunks/{bundle-zF2UEFCC.js → bundle-rcUMtSzr.js} +1 -1
- package/chunks/bundle-rcUMtSzr.js.map +1 -0
- package/chunks/{bundle-5MXMpsdy.js → bundle-t6JaUd1b.js} +1 -1
- package/chunks/{bundle-5MXMpsdy.js.map → bundle-t6JaUd1b.js.map} +1 -1
- package/chunks/{bundle-VMKYsVyS.js → bundle-uDxWy2vD.js} +4 -4
- package/chunks/{bundle-VMKYsVyS.js.map → bundle-uDxWy2vD.js.map} +1 -1
- package/chunks/{bundle-A7XbXTsq.js → bundle-uNgbgg3h.js} +1 -1
- package/chunks/bundle-uNgbgg3h.js.map +1 -0
- package/chunks/{bundle-uZ3cCjNz.js → bundle-v0nGdiTZ.js} +1 -1
- package/chunks/bundle-v0nGdiTZ.js.map +1 -0
- package/chunks/{bundle-op5reery.js → bundle-v7nqMv6h.js} +3 -3
- package/chunks/bundle-v7nqMv6h.js.map +1 -0
- package/chunks/{bundle-bSqchLGB.js → bundle-vAvSNdmj.js} +10 -32
- package/chunks/bundle-vAvSNdmj.js.map +1 -0
- package/chunks/{bundle-Lwkqzb0b.js → bundle-vVdAEhWk.js} +4 -4
- package/chunks/bundle-vVdAEhWk.js.map +1 -0
- package/chunks/{bundle-f3fJ8rol.js → bundle-wZlSE8gx.js} +4 -4
- package/chunks/{bundle-f3fJ8rol.js.map → bundle-wZlSE8gx.js.map} +1 -1
- package/chunks/{bundle-n_jRVaG_.js → bundle-yND4UFpN.js} +1 -1
- package/chunks/bundle-yND4UFpN.js.map +1 -0
- package/chunks/{bundle-gLilEEG5.js → bundle-yT-RH-aL.js} +2 -4
- package/chunks/bundle-yT-RH-aL.js.map +1 -0
- package/chunks/{bundle-QROPFDle.js → bundle-zL2GggA_.js} +5 -5
- package/chunks/{bundle-QROPFDle.js.map → bundle-zL2GggA_.js.map} +1 -1
- package/cjs/App.js +56 -56
- package/cjs/Channel/components/ChannelHeader.js +25 -25
- package/cjs/Channel/components/ChannelUI.js +50 -50
- package/cjs/Channel/components/FileViewer.js +24 -24
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +43 -43
- package/cjs/Channel/components/MessageInput.js +36 -36
- package/cjs/Channel/components/MessageList.js +45 -45
- package/cjs/Channel/components/RemoveMessageModal.js +23 -23
- package/cjs/Channel/components/SuggestedMentionList.js +23 -23
- package/cjs/Channel/components/TypingIndicator.js +19 -19
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +16 -16
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/cjs/Channel/utils/getMessagePartsInfo.js +7 -7
- package/cjs/Channel.js +50 -50
- package/cjs/ChannelList/components/AddChannel.js +18 -18
- package/cjs/ChannelList/components/ChannelListHeader.js +9 -9
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +32 -32
- package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +19 -19
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +17 -17
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +16 -16
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +19 -19
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +12 -12
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/MessageSearch/components/MessageSearchUI.js +15 -15
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +15 -15
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/cjs/OpenChannel/components/OpenChannelInput.js +26 -26
- package/cjs/OpenChannel/components/OpenChannelMessage.js +34 -34
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +37 -37
- package/cjs/OpenChannel/components/OpenChannelUI.js +37 -37
- package/cjs/OpenChannel/context.js +18 -18
- package/cjs/OpenChannel.js +37 -37
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +15 -15
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -19
- package/cjs/SendbirdProvider.js +24 -20
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +40 -40
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +44 -44
- package/cjs/Thread/components/ThreadListItem.js +44 -44
- package/cjs/Thread/components/ThreadMessageInput.js +36 -36
- package/cjs/Thread/components/ThreadUI.js +48 -48
- package/cjs/Thread/context.js +13 -13
- package/cjs/Thread.js +48 -48
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-kt-dgPLv.js → bundle--EcmFAgY.js} +1 -1
- package/cjs/chunks/bundle--EcmFAgY.js.map +1 -0
- package/cjs/chunks/{bundle-zmeetFhM.js → bundle-4VdNtJoS.js} +3 -3
- package/cjs/chunks/bundle-4VdNtJoS.js.map +1 -0
- package/cjs/chunks/{bundle-4FAmtuEf.js → bundle-5MABXNJ2.js} +1 -1
- package/cjs/chunks/bundle-5MABXNJ2.js.map +1 -0
- package/cjs/chunks/{bundle-h5T4ARM_.js → bundle-5tXC271i.js} +1 -1
- package/cjs/chunks/bundle-5tXC271i.js.map +1 -0
- package/cjs/chunks/{bundle-TwEIwM-Y.js → bundle-5v9Bc23p.js} +3 -3
- package/cjs/chunks/bundle-5v9Bc23p.js.map +1 -0
- package/cjs/chunks/{bundle-6Hhs3UDZ.js → bundle-5x6xkP9v.js} +7 -7
- package/cjs/chunks/bundle-5x6xkP9v.js.map +1 -0
- package/cjs/chunks/{bundle-Q4iSGja9.js → bundle-69aUvlr0.js} +5 -5
- package/cjs/chunks/bundle-69aUvlr0.js.map +1 -0
- package/cjs/chunks/{bundle-H1aRxaUU.js → bundle-8xsZqXyY.js} +5 -5
- package/cjs/chunks/{bundle-6lzPsGGg.js.map → bundle-8xsZqXyY.js.map} +1 -1
- package/cjs/chunks/{bundle-VHEAcTWW.js → bundle-9XbbRH_M.js} +8 -8
- package/cjs/chunks/bundle-9XbbRH_M.js.map +1 -0
- package/cjs/chunks/{bundle-gIvO-8jr.js → bundle-AA3e_g5q.js} +5 -5
- package/cjs/chunks/{bundle-gIvO-8jr.js.map → bundle-AA3e_g5q.js.map} +1 -1
- package/cjs/chunks/{bundle-8HbTOCEj.js → bundle-BQTyUmzj.js} +1 -1
- package/cjs/chunks/bundle-BQTyUmzj.js.map +1 -0
- package/cjs/chunks/{bundle-XQp_z25X.js → bundle-BWHZlxBD.js} +1 -1
- package/cjs/chunks/bundle-BWHZlxBD.js.map +1 -0
- package/cjs/chunks/{bundle-6lzPsGGg.js → bundle-CUizz12L.js} +1 -1
- package/cjs/chunks/bundle-CUizz12L.js.map +1 -0
- package/cjs/chunks/{bundle-P9ECtUIg.js → bundle-CyWFkcBh.js} +1 -1
- package/cjs/chunks/bundle-CyWFkcBh.js.map +1 -0
- package/cjs/chunks/{bundle-MJ388liH.js → bundle-D0M3IH6J.js} +19 -29
- package/cjs/chunks/{bundle-MJ388liH.js.map → bundle-D0M3IH6J.js.map} +1 -1
- package/cjs/chunks/{bundle-A3_rgrPH.js → bundle-DaAowZN7.js} +3 -3
- package/cjs/chunks/{bundle-A3_rgrPH.js.map → bundle-DaAowZN7.js.map} +1 -1
- package/cjs/chunks/{bundle-X2ANxtXU.js → bundle-Doe4Xob7.js} +2 -2
- package/cjs/chunks/bundle-Doe4Xob7.js.map +1 -0
- package/cjs/chunks/{bundle--nSokLbs.js → bundle-E0v2C4b1.js} +4 -4
- package/cjs/chunks/{bundle--nSokLbs.js.map → bundle-E0v2C4b1.js.map} +1 -1
- package/cjs/chunks/{bundle-l_xY0NCi.js → bundle-EE-R19J8.js} +4 -4
- package/cjs/chunks/{bundle-l_xY0NCi.js.map → bundle-EE-R19J8.js.map} +1 -1
- package/cjs/chunks/{bundle-EBkO4aEF.js → bundle-ErBxWt-v.js} +1 -1
- package/cjs/chunks/bundle-ErBxWt-v.js.map +1 -0
- package/cjs/chunks/{bundle-anz1RDDi.js → bundle-F4Y7xmf1.js} +1 -1
- package/cjs/chunks/bundle-F4Y7xmf1.js.map +1 -0
- package/cjs/chunks/{bundle-mDmgt9SU.js → bundle-F74wrKkr.js} +5 -5
- package/cjs/chunks/bundle-F74wrKkr.js.map +1 -0
- package/cjs/chunks/{bundle-MNJyfl5n.js → bundle-GqhEUb4r.js} +4 -4
- package/cjs/chunks/{bundle-BfyJKMOR.js.map → bundle-GqhEUb4r.js.map} +1 -1
- package/cjs/chunks/{bundle-97AXZ3Aa.js → bundle-Guz_a7Pd.js} +60 -199
- package/cjs/chunks/bundle-Guz_a7Pd.js.map +1 -0
- package/cjs/chunks/{bundle-f1Y7sOmQ.js → bundle-Gz75GoMH.js} +1 -1
- package/cjs/chunks/bundle-Gz75GoMH.js.map +1 -0
- package/cjs/chunks/{bundle-MKIuQx71.js → bundle-KfrHCpUu.js} +1 -1
- package/cjs/chunks/bundle-KfrHCpUu.js.map +1 -0
- package/cjs/chunks/{bundle-O8LgB96u.js → bundle-L7Qg6fc_.js} +10 -32
- package/cjs/chunks/bundle-L7Qg6fc_.js.map +1 -0
- package/cjs/chunks/{bundle-IxlbhmKT.js → bundle-OauzEgdX.js} +1 -1
- package/cjs/chunks/bundle-OauzEgdX.js.map +1 -0
- package/cjs/chunks/{bundle-2qeSCHXk.js → bundle-P5uaoEp7.js} +6 -6
- package/cjs/chunks/bundle-P5uaoEp7.js.map +1 -0
- package/cjs/chunks/{bundle-fiT-psl1.js → bundle-R4oiSD0L.js} +1 -1
- package/cjs/chunks/bundle-R4oiSD0L.js.map +1 -0
- package/cjs/chunks/{bundle-RO-wWe36.js → bundle-T4vZ2tFS.js} +2 -2
- package/cjs/chunks/bundle-T4vZ2tFS.js.map +1 -0
- package/cjs/chunks/{bundle-83wda5U6.js → bundle-XyN4tk9V.js} +5 -5
- package/cjs/chunks/bundle-XyN4tk9V.js.map +1 -0
- package/cjs/chunks/{bundle-2i_5f8Bs.js → bundle-Z0z4XcoC.js} +1 -1
- package/cjs/chunks/bundle-Z0z4XcoC.js.map +1 -0
- package/cjs/chunks/{bundle-DVHlQYtd.js → bundle-Zhc5iYOj.js} +7 -7
- package/cjs/chunks/bundle-Zhc5iYOj.js.map +1 -0
- package/cjs/chunks/{bundle-QdmOJFI0.js → bundle-ZodVwNmU.js} +5 -5
- package/cjs/chunks/bundle-ZodVwNmU.js.map +1 -0
- package/cjs/chunks/{bundle-tbQlXoTS.js → bundle-_CS6i_H9.js} +16 -13
- package/cjs/chunks/bundle-_CS6i_H9.js.map +1 -0
- package/cjs/chunks/{bundle-2HKOrfvp.js → bundle-_c4Xia0x.js} +8 -4
- package/cjs/chunks/bundle-_c4Xia0x.js.map +1 -0
- package/cjs/chunks/{bundle-21PdO49k.js → bundle-aLBNZXTm.js} +3 -3
- package/cjs/chunks/bundle-aLBNZXTm.js.map +1 -0
- package/cjs/chunks/{bundle-B2URBvLa.js → bundle-agHXB3n2.js} +36 -30
- package/cjs/chunks/{bundle-B2URBvLa.js.map → bundle-agHXB3n2.js.map} +1 -1
- package/cjs/chunks/{bundle-wavkc3Kq.js → bundle-b7L7rtxl.js} +1 -1
- package/cjs/chunks/bundle-b7L7rtxl.js.map +1 -0
- package/cjs/chunks/{bundle-AWGM3boV.js → bundle-bXa0UWvD.js} +1 -1
- package/cjs/chunks/bundle-bXa0UWvD.js.map +1 -0
- package/cjs/chunks/{bundle-H4IfpZyd.js → bundle-cwoX1jzF.js} +1 -1
- package/cjs/chunks/bundle-cwoX1jzF.js.map +1 -0
- package/cjs/chunks/{bundle-Z_jxs6wq.js → bundle-f9YMFNAC.js} +2 -4
- package/cjs/chunks/bundle-f9YMFNAC.js.map +1 -0
- package/cjs/chunks/{bundle-A86YKdDD.js → bundle-fYGB5Ibr.js} +3 -12
- package/cjs/chunks/bundle-fYGB5Ibr.js.map +1 -0
- package/cjs/chunks/{bundle-obZkBbeC.js → bundle-j9zO3Qdj.js} +1 -1
- package/cjs/chunks/bundle-j9zO3Qdj.js.map +1 -0
- package/cjs/chunks/{bundle-9nTl8EO0.js → bundle-jOx4XDkO.js} +2 -2
- package/cjs/chunks/bundle-jOx4XDkO.js.map +1 -0
- package/cjs/chunks/{bundle-M_Oo35uA.js → bundle-ko9gtVkc.js} +15 -15
- package/cjs/chunks/bundle-ko9gtVkc.js.map +1 -0
- package/cjs/chunks/{bundle-dRs-FBcA.js → bundle-lDnBB9bN.js} +23 -23
- package/cjs/chunks/{bundle-dRs-FBcA.js.map → bundle-lDnBB9bN.js.map} +1 -1
- package/cjs/chunks/{bundle-BfyJKMOR.js → bundle-p-3ceZAU.js} +4 -4
- package/cjs/chunks/{bundle-MNJyfl5n.js.map → bundle-p-3ceZAU.js.map} +1 -1
- package/cjs/chunks/{bundle-Nn4mB-J9.js → bundle-pAGpMj4-.js} +9 -9
- package/cjs/chunks/{bundle-Nn4mB-J9.js.map → bundle-pAGpMj4-.js.map} +1 -1
- package/cjs/chunks/{bundle-2So6Wj07.js → bundle-rXVQ4vD5.js} +3 -3
- package/cjs/chunks/bundle-rXVQ4vD5.js.map +1 -0
- package/cjs/chunks/{bundle-AxqAqeY_.js → bundle-t3HW5lYr.js} +1 -1
- package/cjs/chunks/bundle-t3HW5lYr.js.map +1 -0
- package/cjs/chunks/{bundle-0IViyhgL.js → bundle-ur5aaH73.js} +1 -1
- package/cjs/chunks/bundle-ur5aaH73.js.map +1 -0
- package/cjs/chunks/{bundle-PfAFx9_e.js → bundle-wKifHXnJ.js} +1 -1
- package/cjs/chunks/bundle-wKifHXnJ.js.map +1 -0
- package/cjs/chunks/{bundle-sjXXbwtq.js → bundle-xKfD9-QM.js} +1 -1
- package/cjs/chunks/bundle-xKfD9-QM.js.map +1 -0
- package/cjs/chunks/{bundle-t25WVQ0m.js → bundle-xOGNakZW.js} +1 -1
- package/cjs/chunks/bundle-xOGNakZW.js.map +1 -0
- package/cjs/chunks/{bundle-u6wGl8M7.js → bundle-xunrnVEC.js} +2 -2
- package/cjs/chunks/bundle-xunrnVEC.js.map +1 -0
- package/cjs/chunks/{bundle-U3sSR19H.js → bundle-yDmAxC7s.js} +1 -1
- package/cjs/chunks/bundle-yDmAxC7s.js.map +1 -0
- package/cjs/chunks/{bundle-enOQn3TL.js → bundle-yTBDgBVp.js} +4 -4
- package/cjs/chunks/bundle-yTBDgBVp.js.map +1 -0
- package/cjs/chunks/{bundle-RHjpe1Wn.js → bundle-ymVHfRPV.js} +3 -3
- package/cjs/chunks/bundle-ymVHfRPV.js.map +1 -0
- package/cjs/chunks/{bundle-TYNh0h44.js → bundle-yqb-T4DB.js} +4 -4
- package/cjs/chunks/bundle-yqb-T4DB.js.map +1 -0
- package/cjs/chunks/{bundle-dVgvU85H.js → bundle-zFwFhCDW.js} +10 -10
- package/cjs/chunks/{bundle-2HKOrfvp.js.map → bundle-zFwFhCDW.js.map} +1 -1
- package/cjs/hooks/useModal.js +10 -10
- package/cjs/index.js +61 -61
- package/cjs/pubSub/topics.js +3 -3
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +5 -5
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +6 -6
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +16 -16
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +62 -62
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +42 -42
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +20 -20
- package/cjs/ui/MessageItemMenu.js +21 -21
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +15 -15
- package/cjs/ui/MessageSearchItem.js +12 -12
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +24 -19
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +9 -9
- package/cjs/ui/OpenchannelConversationHeader.js +9 -9
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +9 -9
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +9 -9
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +5 -5
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -13
- package/cjs/ui/UserProfile.js +11 -11
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +60 -60
- package/package.json +1 -1
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useModal/index.d.ts +1 -1
- package/types/lib/Sendbird.d.ts +1 -1
- package/types/lib/UserProfileContext.d.ts +1 -1
- package/types/lib/hooks/useConnect/setupConnection.d.ts +2 -2
- package/types/modules/App/index.d.ts +7 -2
- package/types/modules/Channel/components/SuggestedReplies/index.d.ts +2 -2
- package/types/modules/Channel/components/TypingIndicator.d.ts +1 -1
- package/types/modules/ChannelList/components/ChannelPreviewAction.d.ts +2 -2
- package/types/modules/ChannelList/components/Placeholder.d.ts +2 -2
- package/types/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +2 -2
- package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannelApp/assets/Icons.d.ts +7 -7
- package/types/ui/Avatar/AvatarDefault.d.ts +2 -2
- package/types/ui/EmojiReactions/ReactionItem.d.ts +1 -1
- package/types/ui/Icon/index.d.ts +1 -1
- package/types/ui/Label/index.d.ts +1 -1
- package/types/ui/LinkLabel/index.d.ts +2 -2
- package/types/ui/TypingIndicatorBubble/TypingDots.d.ts +2 -2
- package/types/ui/TypingIndicatorBubble/index.d.ts +2 -2
- package/types/utils/compressImages.d.ts +8 -0
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +5 -5
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +6 -6
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -16
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +62 -62
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +39 -39
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +21 -21
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +15 -15
- package/ui/MessageSearchItem.js +12 -12
- package/ui/MessageStatus.js +12 -12
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +24 -19
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +9 -9
- package/ui/OpenchannelConversationHeader.js +9 -9
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +9 -9
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +5 -5
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -13
- package/ui/UserProfile.js +11 -11
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle--MiZG3Js.js.map +0 -1
- package/chunks/bundle--t8HI__x.js.map +0 -1
- package/chunks/bundle-0PyFB1mS.js.map +0 -1
- package/chunks/bundle-18sxXz96.js.map +0 -1
- package/chunks/bundle-27GyiefI.js.map +0 -1
- package/chunks/bundle-39Q2USX9.js.map +0 -1
- package/chunks/bundle-442ZifHc.js.map +0 -1
- package/chunks/bundle-76TfTByX.js.map +0 -1
- package/chunks/bundle-7X4gNGSL.js.map +0 -1
- package/chunks/bundle-A7XbXTsq.js.map +0 -1
- package/chunks/bundle-C4qp0Rjl.js.map +0 -1
- package/chunks/bundle-F-7fIVr5.js.map +0 -1
- package/chunks/bundle-FpzNzZJe.js.map +0 -1
- package/chunks/bundle-HoEu_6S5.js.map +0 -1
- package/chunks/bundle-Lwkqzb0b.js.map +0 -1
- package/chunks/bundle-MCNLGc7G.js.map +0 -1
- package/chunks/bundle-Ulft7jAF.js.map +0 -1
- package/chunks/bundle-UoyQlaRI.js.map +0 -1
- package/chunks/bundle-VS0auAdJ.js.map +0 -1
- package/chunks/bundle-ZVc6IN6u.js.map +0 -1
- package/chunks/bundle-ZhiMeChf.js.map +0 -1
- package/chunks/bundle-bSqchLGB.js.map +0 -1
- package/chunks/bundle-cOTYyV89.js.map +0 -1
- package/chunks/bundle-cX8U_VhV.js.map +0 -1
- package/chunks/bundle-gF9Zk7CT.js.map +0 -1
- package/chunks/bundle-gLilEEG5.js.map +0 -1
- package/chunks/bundle-gRSst73Y.js.map +0 -1
- package/chunks/bundle-grwjdnuR.js.map +0 -1
- package/chunks/bundle-jZN4I8YR.js.map +0 -1
- package/chunks/bundle-n_jRVaG_.js.map +0 -1
- package/chunks/bundle-ohZbnliW.js.map +0 -1
- package/chunks/bundle-okm6lFGI.js.map +0 -1
- package/chunks/bundle-op5reery.js.map +0 -1
- package/chunks/bundle-r_k_oOHy.js.map +0 -1
- package/chunks/bundle-uZ3cCjNz.js.map +0 -1
- package/chunks/bundle-vEgsgkZU.js.map +0 -1
- package/chunks/bundle-wAk4n8_J.js.map +0 -1
- package/chunks/bundle-zF2UEFCC.js.map +0 -1
- package/chunks/bundle-zZdwWoac.js.map +0 -1
- package/cjs/chunks/bundle-0IViyhgL.js.map +0 -1
- package/cjs/chunks/bundle-21PdO49k.js.map +0 -1
- package/cjs/chunks/bundle-2So6Wj07.js.map +0 -1
- package/cjs/chunks/bundle-2i_5f8Bs.js.map +0 -1
- package/cjs/chunks/bundle-2qeSCHXk.js.map +0 -1
- package/cjs/chunks/bundle-4FAmtuEf.js.map +0 -1
- package/cjs/chunks/bundle-6Hhs3UDZ.js.map +0 -1
- package/cjs/chunks/bundle-83wda5U6.js.map +0 -1
- package/cjs/chunks/bundle-8HbTOCEj.js.map +0 -1
- package/cjs/chunks/bundle-97AXZ3Aa.js.map +0 -1
- package/cjs/chunks/bundle-9nTl8EO0.js.map +0 -1
- package/cjs/chunks/bundle-A86YKdDD.js.map +0 -1
- package/cjs/chunks/bundle-AWGM3boV.js.map +0 -1
- package/cjs/chunks/bundle-AxqAqeY_.js.map +0 -1
- package/cjs/chunks/bundle-DVHlQYtd.js.map +0 -1
- package/cjs/chunks/bundle-EBkO4aEF.js.map +0 -1
- package/cjs/chunks/bundle-H1aRxaUU.js.map +0 -1
- package/cjs/chunks/bundle-H4IfpZyd.js.map +0 -1
- package/cjs/chunks/bundle-IxlbhmKT.js.map +0 -1
- package/cjs/chunks/bundle-MKIuQx71.js.map +0 -1
- package/cjs/chunks/bundle-M_Oo35uA.js.map +0 -1
- package/cjs/chunks/bundle-O8LgB96u.js.map +0 -1
- package/cjs/chunks/bundle-P9ECtUIg.js.map +0 -1
- package/cjs/chunks/bundle-PfAFx9_e.js.map +0 -1
- package/cjs/chunks/bundle-Q4iSGja9.js.map +0 -1
- package/cjs/chunks/bundle-QdmOJFI0.js.map +0 -1
- package/cjs/chunks/bundle-RHjpe1Wn.js.map +0 -1
- package/cjs/chunks/bundle-RO-wWe36.js.map +0 -1
- package/cjs/chunks/bundle-TYNh0h44.js.map +0 -1
- package/cjs/chunks/bundle-TwEIwM-Y.js.map +0 -1
- package/cjs/chunks/bundle-U3sSR19H.js.map +0 -1
- package/cjs/chunks/bundle-VHEAcTWW.js.map +0 -1
- package/cjs/chunks/bundle-X2ANxtXU.js.map +0 -1
- package/cjs/chunks/bundle-XQp_z25X.js.map +0 -1
- package/cjs/chunks/bundle-Z_jxs6wq.js.map +0 -1
- package/cjs/chunks/bundle-anz1RDDi.js.map +0 -1
- package/cjs/chunks/bundle-dVgvU85H.js.map +0 -1
- package/cjs/chunks/bundle-enOQn3TL.js.map +0 -1
- package/cjs/chunks/bundle-f1Y7sOmQ.js.map +0 -1
- package/cjs/chunks/bundle-fiT-psl1.js.map +0 -1
- package/cjs/chunks/bundle-h5T4ARM_.js.map +0 -1
- package/cjs/chunks/bundle-kt-dgPLv.js.map +0 -1
- package/cjs/chunks/bundle-mDmgt9SU.js.map +0 -1
- package/cjs/chunks/bundle-obZkBbeC.js.map +0 -1
- package/cjs/chunks/bundle-sjXXbwtq.js.map +0 -1
- package/cjs/chunks/bundle-t25WVQ0m.js.map +0 -1
- package/cjs/chunks/bundle-tbQlXoTS.js.map +0 -1
- package/cjs/chunks/bundle-u6wGl8M7.js.map +0 -1
- package/cjs/chunks/bundle-wavkc3Kq.js.map +0 -1
- package/cjs/chunks/bundle-zmeetFhM.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var ui_Modal = require('./bundle-
|
|
5
|
-
require('./bundle-
|
|
6
|
-
require('./bundle-
|
|
4
|
+
var ui_Modal = require('./bundle-8xsZqXyY.js');
|
|
5
|
+
require('./bundle-5MABXNJ2.js');
|
|
6
|
+
require('./bundle-aLBNZXTm.js');
|
|
7
7
|
var ui_Button = require('../ui/Button.js');
|
|
8
|
-
var LocalizationContext = require('./bundle-
|
|
8
|
+
var LocalizationContext = require('./bundle-4VdNtJoS.js');
|
|
9
9
|
var Thread_context = require('../Thread/context.js');
|
|
10
|
-
var stringFormatterUtils = require('./bundle-
|
|
10
|
+
var stringFormatterUtils = require('./bundle-F74wrKkr.js');
|
|
11
11
|
|
|
12
12
|
var RemoveMessage = function (props) {
|
|
13
13
|
var _a;
|
|
@@ -23,4 +23,4 @@ var RemoveMessage = function (props) {
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
exports.RemoveMessage = RemoveMessage;
|
|
26
|
-
//# sourceMappingURL=bundle-
|
|
26
|
+
//# sourceMappingURL=bundle-P5uaoEp7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-P5uaoEp7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-R4oiSD0L.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var consts = require('./bundle-
|
|
3
|
+
var consts = require('./bundle-Z0z4XcoC.js');
|
|
4
4
|
var lame_all = require('../lame.all.js');
|
|
5
5
|
|
|
6
6
|
// Thanks to https://codesandbox.io/s/media-recorder-api-downsampling-16k-mp3-encode-using-lame-js-forked-n1pblw
|
|
@@ -125,4 +125,4 @@ function bufferToWav(abuffer, len) {
|
|
|
125
125
|
|
|
126
126
|
exports.downsampleToWav = downsampleToWav;
|
|
127
127
|
exports.encodeMp3 = encodeMp3;
|
|
128
|
-
//# sourceMappingURL=bundle-
|
|
128
|
+
//# sourceMappingURL=bundle-T4vZ2tFS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-T4vZ2tFS.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var DOMPurify = require('dompurify');
|
|
5
|
-
var _tslib = require('./bundle-
|
|
6
|
-
var consts = require('./bundle-
|
|
7
|
-
var consts$2 = require('./bundle-
|
|
8
|
-
var consts$1 = require('./bundle
|
|
5
|
+
var _tslib = require('./bundle-5MABXNJ2.js');
|
|
6
|
+
var consts = require('./bundle-wKifHXnJ.js');
|
|
7
|
+
var consts$2 = require('./bundle-xKfD9-QM.js');
|
|
8
|
+
var consts$1 = require('./bundle--EcmFAgY.js');
|
|
9
9
|
|
|
10
10
|
function renderToString(_a) {
|
|
11
11
|
var userId = _a.userId, nickname = _a.nickname;
|
|
@@ -214,4 +214,4 @@ exports.nodeListToArray = nodeListToArray;
|
|
|
214
214
|
exports.renderToString = renderToString;
|
|
215
215
|
exports.sanitizeString = sanitizeString;
|
|
216
216
|
exports.usePaste = usePaste;
|
|
217
|
-
//# sourceMappingURL=bundle-
|
|
217
|
+
//# sourceMappingURL=bundle-XyN4tk9V.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-XyN4tk9V.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -47,4 +47,4 @@ exports.VOICE_RECORDER_AUDIO_SAMPLE_RATE = VOICE_RECORDER_AUDIO_SAMPLE_RATE;
|
|
|
47
47
|
exports.VOICE_RECORDER_CLICK_BUFFER_TIME = VOICE_RECORDER_CLICK_BUFFER_TIME;
|
|
48
48
|
exports.VOICE_RECORDER_DEFAULT_MAX = VOICE_RECORDER_DEFAULT_MAX;
|
|
49
49
|
exports.VOICE_RECORDER_DEFAULT_MIN = VOICE_RECORDER_DEFAULT_MIN;
|
|
50
|
-
//# sourceMappingURL=bundle-
|
|
50
|
+
//# sourceMappingURL=bundle-Z0z4XcoC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Z0z4XcoC.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _tslib = require('./bundle-
|
|
3
|
+
var _tslib = require('./bundle-5MABXNJ2.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$1 = require('./bundle-
|
|
5
|
+
var index$1 = require('./bundle-Guz_a7Pd.js');
|
|
6
6
|
var ui_Icon = require('../ui/Icon.js');
|
|
7
|
-
var ui_Label = require('./bundle-
|
|
7
|
+
var ui_Label = require('./bundle-aLBNZXTm.js');
|
|
8
8
|
var ui_Loader = require('../ui/Loader.js');
|
|
9
|
-
var index$2 = require('./bundle-
|
|
9
|
+
var index$2 = require('./bundle-EE-R19J8.js');
|
|
10
10
|
var utils_message_getOutgoingMessageState = require('../utils/message/getOutgoingMessageState.js');
|
|
11
|
-
var index = require('./bundle-
|
|
12
|
-
var LocalizationContext = require('./bundle-
|
|
11
|
+
var index = require('./bundle-fYGB5Ibr.js');
|
|
12
|
+
var LocalizationContext = require('./bundle-4VdNtJoS.js');
|
|
13
13
|
|
|
14
14
|
var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
15
15
|
var _a;
|
|
@@ -136,4 +136,4 @@ exports.getChannelUnreadMessageCount = getChannelUnreadMessageCount;
|
|
|
136
136
|
exports.getLastMessage = getLastMessage;
|
|
137
137
|
exports.getLastMessageCreatedAt = getLastMessageCreatedAt;
|
|
138
138
|
exports.getTotalMembers = getTotalMembers;
|
|
139
|
-
//# sourceMappingURL=bundle-
|
|
139
|
+
//# sourceMappingURL=bundle-Zhc5iYOj.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Zhc5iYOj.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var
|
|
5
|
-
var tokenize = require('./bundle-
|
|
4
|
+
var index = require('./bundle-F4Y7xmf1.js');
|
|
5
|
+
var tokenize = require('./bundle-rXVQ4vD5.js');
|
|
6
6
|
var Message_context = require('../Message/context.js');
|
|
7
7
|
var ui_MentionLabel = require('../ui/MentionLabel.js');
|
|
8
8
|
var ui_LinkLabel = require('../ui/LinkLabel.js');
|
|
9
|
-
var ui_Label = require('./bundle-
|
|
9
|
+
var ui_Label = require('./bundle-aLBNZXTm.js');
|
|
10
10
|
|
|
11
11
|
// this function is used to generate a unique key for token in message
|
|
12
12
|
// it changes with updated time and index
|
|
@@ -23,7 +23,7 @@ function TextFragment(_a) {
|
|
|
23
23
|
var updatedAt = message.updatedAt, createdAt = message.createdAt;
|
|
24
24
|
return (React.createElement(React.Fragment, null, tokens === null || tokens === void 0 ? void 0 : tokens.map(function (token, idx) {
|
|
25
25
|
var key = keyGenerator(createdAt, updatedAt, idx);
|
|
26
|
-
return
|
|
26
|
+
return index.K(token.type)
|
|
27
27
|
.with(tokenize.TOKEN_TYPES.mention, function () { return (React.createElement("span", { className: "sendbird-word", key: key },
|
|
28
28
|
React.createElement(ui_MentionLabel, { mentionTemplate: tokenize.USER_MENTION_PREFIX,
|
|
29
29
|
// @ts-ignore
|
|
@@ -35,4 +35,4 @@ function TextFragment(_a) {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
exports.TextFragment = TextFragment;
|
|
38
|
-
//# sourceMappingURL=bundle-
|
|
38
|
+
//# sourceMappingURL=bundle-ZodVwNmU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-ZodVwNmU.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _tslib = require('./bundle-
|
|
4
|
-
var pxToNumber = require('./bundle-
|
|
3
|
+
var _tslib = require('./bundle-5MABXNJ2.js');
|
|
4
|
+
var pxToNumber = require('./bundle-xOGNakZW.js');
|
|
5
5
|
|
|
6
6
|
var compressImage = function (_a) {
|
|
7
7
|
var imageFile = _a.imageFile, compressionRate = _a.compressionRate, resizingWidth = _a.resizingWidth, resizingHeight = _a.resizingHeight;
|
|
@@ -14,11 +14,14 @@ var compressImage = function (_a) {
|
|
|
14
14
|
var canvas = document.createElement('canvas');
|
|
15
15
|
var originWidth = image.width;
|
|
16
16
|
var originHeight = image.height;
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
|
|
17
|
+
var targetResizingWidth = (!resizingWidth || resizingWidth > originWidth) ? originWidth : resizingWidth;
|
|
18
|
+
var targetResizingHeight = (!resizingHeight || resizingHeight > originHeight) ? originHeight : resizingHeight;
|
|
19
|
+
var widthRatio = originWidth / targetResizingWidth;
|
|
20
|
+
var heightRatio = originHeight / targetResizingHeight;
|
|
21
|
+
/**
|
|
22
|
+
* Set the target resizing values again with the calculated ratios
|
|
23
|
+
* to use the impactful value, so the original images' ratio won't be broken.
|
|
24
|
+
*/
|
|
22
25
|
if (widthRatio > heightRatio) {
|
|
23
26
|
targetResizingHeight = originHeight / (resizingWidth ? widthRatio : 1);
|
|
24
27
|
}
|
|
@@ -60,11 +63,11 @@ var compressImages = function (_a) {
|
|
|
60
63
|
compressedFiles: [],
|
|
61
64
|
};
|
|
62
65
|
if (!(Array.isArray(files) && files.length > 0)) {
|
|
63
|
-
logger.warning('utils - compressImages: There are no files.', files);
|
|
66
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: There are no files.', files);
|
|
64
67
|
return [2 /*return*/, result];
|
|
65
68
|
}
|
|
66
69
|
if (compressionRate < 0 || 1 < compressionRate) {
|
|
67
|
-
logger.warning('utils - compressImages: The compressionRate is not acceptable.', compressionRate);
|
|
70
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: The compressionRate is not acceptable.', compressionRate);
|
|
68
71
|
return [2 /*return*/, result];
|
|
69
72
|
}
|
|
70
73
|
return [4 /*yield*/, Promise.all(files
|
|
@@ -74,7 +77,7 @@ var compressImages = function (_a) {
|
|
|
74
77
|
switch (_a.label) {
|
|
75
78
|
case 0:
|
|
76
79
|
if (!(file.type === 'image/jpg' || file.type === 'image/png' || file.type === 'image/jpeg')) {
|
|
77
|
-
logger.warning('utils - compressImages: The fileType is not compressible.', { file: file, index: index });
|
|
80
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: The fileType is not compressible.', { file: file, index: index });
|
|
78
81
|
result.failedIndexes.push(index);
|
|
79
82
|
result.compressedFiles.push(file);
|
|
80
83
|
return [2 /*return*/];
|
|
@@ -95,7 +98,7 @@ var compressImages = function (_a) {
|
|
|
95
98
|
case 3:
|
|
96
99
|
err_1 = _a.sent();
|
|
97
100
|
result.failedIndexes.push(index);
|
|
98
|
-
logger.warning('utils - compressImages: Failed to compress image file', { file: file, err: err_1 });
|
|
101
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: Failed to compress image file', { file: file, err: err_1 });
|
|
99
102
|
return [3 /*break*/, 4];
|
|
100
103
|
case 4: return [2 /*return*/];
|
|
101
104
|
}
|
|
@@ -103,7 +106,7 @@ var compressImages = function (_a) {
|
|
|
103
106
|
}); }))];
|
|
104
107
|
case 1:
|
|
105
108
|
_b.sent();
|
|
106
|
-
logger.info('utils - compressImages: Finished compressing images', result);
|
|
109
|
+
logger === null || logger === void 0 ? void 0 : logger.info('utils - compressImages: Finished compressing images', result);
|
|
107
110
|
return [2 /*return*/, result];
|
|
108
111
|
}
|
|
109
112
|
});
|
|
@@ -111,4 +114,4 @@ var compressImages = function (_a) {
|
|
|
111
114
|
};
|
|
112
115
|
|
|
113
116
|
exports.compressImages = compressImages;
|
|
114
|
-
//# sourceMappingURL=bundle-
|
|
117
|
+
//# sourceMappingURL=bundle-_CS6i_H9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-_CS6i_H9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var _tslib = require('./bundle-
|
|
5
|
-
var consts = require('./bundle-
|
|
4
|
+
var _tslib = require('./bundle-5MABXNJ2.js');
|
|
5
|
+
var consts = require('./bundle-Z0z4XcoC.js');
|
|
6
6
|
var useSendbirdStateContext = require('../useSendbirdStateContext.js');
|
|
7
7
|
|
|
8
8
|
var INITIALIZE_AUDIO_UNIT = 'INITIALIZE_AUDIO_UNIT';
|
|
@@ -69,7 +69,11 @@ function voicePlayerReducer(state, action) {
|
|
|
69
69
|
var groupKey = action.payload.groupKey;
|
|
70
70
|
var _m = state.currentPlayer, currentTime = _m.currentTime, duration = _m.duration;
|
|
71
71
|
var audioUnit = (((_h = state.audioStorage) === null || _h === void 0 ? void 0 : _h[groupKey]) ? state.audioStorage[groupKey] : AudioUnitDefaultValue());
|
|
72
|
-
|
|
72
|
+
// sometimes the final time update is fired AFTER the pause event when audio is finished
|
|
73
|
+
if (audioUnit.playbackTime === audioUnit.duration && audioUnit.playingStatus === VOICE_PLAYER_STATUS.PAUSED) {
|
|
74
|
+
audioUnit.playbackTime = 0;
|
|
75
|
+
}
|
|
76
|
+
else if (currentTime > 0 && duration > 0) {
|
|
73
77
|
audioUnit.playbackTime = currentTime;
|
|
74
78
|
audioUnit.duration = duration;
|
|
75
79
|
}
|
|
@@ -233,4 +237,4 @@ exports.AudioUnitDefaultValue = AudioUnitDefaultValue;
|
|
|
233
237
|
exports.VOICE_PLAYER_STATUS = VOICE_PLAYER_STATUS;
|
|
234
238
|
exports.VoicePlayerProvider = VoicePlayerProvider;
|
|
235
239
|
exports.useVoicePlayerContext = useVoicePlayerContext;
|
|
236
|
-
//# sourceMappingURL=bundle-
|
|
240
|
+
//# sourceMappingURL=bundle-_c4Xia0x.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-_c4Xia0x.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _tslib = require('./bundle-
|
|
3
|
+
var _tslib = require('./bundle-5MABXNJ2.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var stringSet = require('./bundle-
|
|
5
|
+
var stringSet = require('./bundle-5tXC271i.js');
|
|
6
6
|
|
|
7
7
|
var Typography = {
|
|
8
8
|
H_1: 'H_1',
|
|
@@ -81,4 +81,4 @@ exports.LabelColors = LabelColors;
|
|
|
81
81
|
exports.LabelStringSet = LabelStringSet;
|
|
82
82
|
exports.LabelTypography = LabelTypography;
|
|
83
83
|
exports.changeColorToClassName = changeColorToClassName;
|
|
84
|
-
//# sourceMappingURL=bundle-
|
|
84
|
+
//# sourceMappingURL=bundle-aLBNZXTm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-aLBNZXTm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _tslib = require('./bundle-
|
|
3
|
+
var _tslib = require('./bundle-5MABXNJ2.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var groupChannel = require('@sendbird/chat/groupChannel');
|
|
6
|
-
var pubSub_topics = require('./bundle-
|
|
7
|
-
var uuid = require('./bundle-
|
|
8
|
-
var utils = require('./bundle-
|
|
9
|
-
var consts = require('./bundle-
|
|
10
|
-
var UserProfileContext = require('./bundle-
|
|
6
|
+
var pubSub_topics = require('./bundle-BWHZlxBD.js');
|
|
7
|
+
var uuid = require('./bundle-bXa0UWvD.js');
|
|
8
|
+
var utils = require('./bundle-t3HW5lYr.js');
|
|
9
|
+
var consts = require('./bundle-Z0z4XcoC.js');
|
|
10
|
+
var UserProfileContext = require('./bundle-KfrHCpUu.js');
|
|
11
11
|
var useSendbirdStateContext = require('../useSendbirdStateContext.js');
|
|
12
|
-
var
|
|
13
|
-
var index = require('./bundle-
|
|
12
|
+
var index = require('./bundle-F4Y7xmf1.js');
|
|
13
|
+
var index$1 = require('./bundle-EE-R19J8.js');
|
|
14
14
|
|
|
15
15
|
var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
|
|
16
16
|
var CREATE_CHANNEL = 'CREATE_CHANNEL';
|
|
@@ -310,7 +310,7 @@ var initialState = {
|
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
function channelListReducer(state, action) {
|
|
313
|
-
return (
|
|
313
|
+
return (index.K(action)
|
|
314
314
|
.with({ type: INIT_CHANNELS_START }, function (_a) {
|
|
315
315
|
var payload = _a.payload;
|
|
316
316
|
return (_tslib.__assign(_tslib.__assign({}, state), { loading: true, currentUserId: payload.currentUserId }));
|
|
@@ -332,9 +332,9 @@ function channelListReducer(state, action) {
|
|
|
332
332
|
var channel = action.payload;
|
|
333
333
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, channelListQuery = state.channelListQuery;
|
|
334
334
|
if (channelListQuery) {
|
|
335
|
-
if (index.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
335
|
+
if (index$1.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
336
336
|
// Good to add to the ChannelList
|
|
337
|
-
return _tslib.__assign(_tslib.__assign({}, state), { currentChannel: channel, allChannels: index.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
337
|
+
return _tslib.__assign(_tslib.__assign({}, state), { currentChannel: channel, allChannels: index$1.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
338
338
|
}
|
|
339
339
|
// Do not add to the ChannelList
|
|
340
340
|
return _tslib.__assign(_tslib.__assign({}, state), { currentChannel: channel });
|
|
@@ -348,9 +348,9 @@ function channelListReducer(state, action) {
|
|
|
348
348
|
var channel = action.payload;
|
|
349
349
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
350
350
|
if (channelListQuery) {
|
|
351
|
-
if (index.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
351
|
+
if (index$1.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
352
352
|
// Good to [add to/keep in] the ChannelList
|
|
353
|
-
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
353
|
+
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index$1.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
354
354
|
}
|
|
355
355
|
// * Remove the channel from the ChannelList: because the channel is filtered
|
|
356
356
|
}
|
|
@@ -368,13 +368,14 @@ function channelListReducer(state, action) {
|
|
|
368
368
|
return url !== (channel === null || channel === void 0 ? void 0 : channel.url);
|
|
369
369
|
}) });
|
|
370
370
|
})
|
|
371
|
-
.with({ type:
|
|
371
|
+
.with({ type: index.S.union(LEAVE_CHANNEL_SUCCESS, ON_CHANNEL_DELETED) }, function (action) {
|
|
372
372
|
var _a;
|
|
373
373
|
var channelUrl = action.payload;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
374
|
+
var allChannels = state.allChannels.filter(function (_a) {
|
|
375
|
+
var url = _a.url;
|
|
376
|
+
return url !== channelUrl;
|
|
377
|
+
});
|
|
378
|
+
return _tslib.__assign(_tslib.__assign({}, state), { currentChannel: channelUrl === ((_a = state.currentChannel) === null || _a === void 0 ? void 0 : _a.url) ? allChannels[0] : state.currentChannel, allChannels: allChannels });
|
|
378
379
|
})
|
|
379
380
|
.with({ type: ON_USER_LEFT }, function (action) {
|
|
380
381
|
var _a = action.payload, channel = _a.channel, isMe = _a.isMe;
|
|
@@ -382,9 +383,9 @@ function channelListReducer(state, action) {
|
|
|
382
383
|
var nextChannels = allChannels.filter(function (ch) { return ch.url !== channel.url; });
|
|
383
384
|
var nextChannel = null;
|
|
384
385
|
if (channelListQuery) {
|
|
385
|
-
if (index.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
386
|
+
if (index$1.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
386
387
|
// Good to [add to/keep in] the ChannelList
|
|
387
|
-
nextChannels = index.getChannelsWithUpsertedChannel(allChannels, channel);
|
|
388
|
+
nextChannels = index$1.getChannelsWithUpsertedChannel(allChannels, channel);
|
|
388
389
|
}
|
|
389
390
|
}
|
|
390
391
|
// Replace the currentChannel if I left the currentChannel
|
|
@@ -399,16 +400,16 @@ function channelListReducer(state, action) {
|
|
|
399
400
|
return _tslib.__assign(_tslib.__assign({}, state), { currentChannel: nextChannel, allChannels: nextChannels });
|
|
400
401
|
})
|
|
401
402
|
.with({
|
|
402
|
-
type:
|
|
403
|
+
type: index.S.union(ON_USER_JOINED, ON_CHANNEL_CHANGED, ON_READ_RECEIPT_UPDATED, ON_DELIVERY_RECEIPT_UPDATED),
|
|
403
404
|
}, function (action) {
|
|
404
405
|
var _a, _b;
|
|
405
406
|
var channel = action.payload;
|
|
406
407
|
var _c = state.allChannels, allChannels = _c === void 0 ? [] : _c, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
407
408
|
var unreadMessageCount = channel.unreadMessageCount;
|
|
408
409
|
if (channelListQuery) {
|
|
409
|
-
if (index.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
410
|
+
if (index$1.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
410
411
|
// Good to [add to/keep in] the ChannelList
|
|
411
|
-
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
412
|
+
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index$1.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
412
413
|
}
|
|
413
414
|
// Filter the channel from the ChannelList
|
|
414
415
|
// Replace the currentChannel if it's filtered channel
|
|
@@ -447,9 +448,9 @@ function channelListReducer(state, action) {
|
|
|
447
448
|
var channel = action.payload;
|
|
448
449
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
449
450
|
if (channelListQuery) {
|
|
450
|
-
if (index.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
451
|
+
if (index$1.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
451
452
|
// Good to [add to/keep in] the ChannelList
|
|
452
|
-
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
453
|
+
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index$1.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
453
454
|
}
|
|
454
455
|
// Filter the channel from the ChannelList
|
|
455
456
|
// Replace the currentChannel if it's filtered channel
|
|
@@ -477,9 +478,9 @@ function channelListReducer(state, action) {
|
|
|
477
478
|
var channel = action.payload;
|
|
478
479
|
var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
|
|
479
480
|
if (channelListQuery) {
|
|
480
|
-
if (index.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
481
|
+
if (index$1.filterChannelListParams(channelListQuery, channel, currentUserId)) {
|
|
481
482
|
// Good to [add to/keep in] the ChannelList
|
|
482
|
-
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
483
|
+
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: index$1.getChannelsWithUpsertedChannel(allChannels, channel) });
|
|
483
484
|
}
|
|
484
485
|
// Filter the channel from the ChannelList
|
|
485
486
|
// Replace the currentChannel if it's filtered channel
|
|
@@ -506,7 +507,7 @@ function channelListReducer(state, action) {
|
|
|
506
507
|
})
|
|
507
508
|
.with({ type: CHANNEL_REPLACED_TO_TOP }, function (action) {
|
|
508
509
|
if (state.channelListQuery) {
|
|
509
|
-
if (index.filterChannelListParams(state.channelListQuery, action.payload, state.currentUserId)) {
|
|
510
|
+
if (index$1.filterChannelListParams(state.channelListQuery, action.payload, state.currentUserId)) {
|
|
510
511
|
return _tslib.__assign(_tslib.__assign({}, state), { allChannels: _tslib.__spreadArray([
|
|
511
512
|
action.payload
|
|
512
513
|
], state.allChannels.filter(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) !== action.payload.url; }), true) });
|
|
@@ -792,7 +793,12 @@ var ChannelListProvider = function (props) {
|
|
|
792
793
|
}
|
|
793
794
|
// Set current channel (by on_channel_selected event)
|
|
794
795
|
React.useEffect(function () {
|
|
795
|
-
if (!sdk || !sdk.groupChannel
|
|
796
|
+
if (!sdk || !sdk.groupChannel) {
|
|
797
|
+
return;
|
|
798
|
+
}
|
|
799
|
+
// When leaving a channel, tell consumers that the prior channel is no longer selected
|
|
800
|
+
if (!(currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url)) {
|
|
801
|
+
onChannelSelect(null);
|
|
796
802
|
return;
|
|
797
803
|
}
|
|
798
804
|
sdk.groupChannel.getChannel(currentChannel.url).then(function (groupChannel) {
|
|
@@ -836,4 +842,4 @@ exports.ChannelListProvider = ChannelListProvider;
|
|
|
836
842
|
exports.LEAVE_CHANNEL_SUCCESS = LEAVE_CHANNEL_SUCCESS;
|
|
837
843
|
exports.SET_CURRENT_CHANNEL = SET_CURRENT_CHANNEL;
|
|
838
844
|
exports.useChannelListContext = useChannelListContext;
|
|
839
|
-
//# sourceMappingURL=bundle-
|
|
845
|
+
//# sourceMappingURL=bundle-agHXB3n2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-agHXB3n2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-b7L7rtxl.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-bXa0UWvD.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -76,4 +76,4 @@ var useMediaQueryContext = function () { return React.useContext(MediaQueryConte
|
|
|
76
76
|
|
|
77
77
|
exports.MediaQueryProvider = MediaQueryProvider;
|
|
78
78
|
exports.useMediaQueryContext = useMediaQueryContext;
|
|
79
|
-
//# sourceMappingURL=bundle-
|
|
79
|
+
//# sourceMappingURL=bundle-cwoX1jzF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-cwoX1jzF.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./bundle-
|
|
3
|
+
var index = require('./bundle-Guz_a7Pd.js');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @name startOfDay
|
|
@@ -20,7 +20,6 @@ var index = require('./bundle-97AXZ3Aa.js');
|
|
|
20
20
|
* const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))
|
|
21
21
|
* //=> Tue Sep 02 2014 00:00:00
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
23
|
function startOfDay(dirtyDate) {
|
|
25
24
|
index.requiredArgs(1, arguments);
|
|
26
25
|
var date = index.toDate(dirtyDate);
|
|
@@ -56,7 +55,6 @@ function startOfDay(dirtyDate) {
|
|
|
56
55
|
* const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))
|
|
57
56
|
* //=> false
|
|
58
57
|
*/
|
|
59
|
-
|
|
60
58
|
function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
61
59
|
index.requiredArgs(2, arguments);
|
|
62
60
|
var dateLeftStartOfDay = startOfDay(dirtyDateLeft);
|
|
@@ -65,4 +63,4 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
exports.isSameDay = isSameDay;
|
|
68
|
-
//# sourceMappingURL=bundle-
|
|
66
|
+
//# sourceMappingURL=bundle-f9YMFNAC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-f9YMFNAC.js","sources":["../../../node_modules/date-fns/esm/startOfDay/index.js","../../../node_modules/date-fns/esm/isSameDay/index.js"],"sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day (and year and month)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}"],"names":["requiredArgs","toDate"],"mappings":";;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,SAAS,EAAE;AAC9C,EAAEA,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAGC,YAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5B,EAAE,OAAO,IAAI,CAAC;AACd;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,SAAS,CAAC,aAAa,EAAE,cAAc,EAAE;AACjE,EAAED,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,kBAAkB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;AACrD,EAAE,IAAI,mBAAmB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AACvD,EAAE,OAAO,kBAAkB,CAAC,OAAO,EAAE,KAAK,mBAAmB,CAAC,OAAO,EAAE,CAAC;AACxE;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./bundle-
|
|
4
|
-
var index = require('./bundle-
|
|
3
|
+
var index$1 = require('./bundle-f9YMFNAC.js');
|
|
4
|
+
var index = require('./bundle-Guz_a7Pd.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @name isToday
|
|
@@ -24,7 +24,6 @@ var index = require('./bundle-97AXZ3Aa.js');
|
|
|
24
24
|
* const result = isToday(new Date(2014, 9, 6, 14, 0))
|
|
25
25
|
* //=> true
|
|
26
26
|
*/
|
|
27
|
-
|
|
28
27
|
function isToday(dirtyDate) {
|
|
29
28
|
index.requiredArgs(1, arguments);
|
|
30
29
|
return index$1.isSameDay(dirtyDate, Date.now());
|
|
@@ -48,7 +47,6 @@ function isToday(dirtyDate) {
|
|
|
48
47
|
* const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))
|
|
49
48
|
* //=> true
|
|
50
49
|
*/
|
|
51
|
-
|
|
52
50
|
function isSameYear(dirtyDateLeft, dirtyDateRight) {
|
|
53
51
|
index.requiredArgs(2, arguments);
|
|
54
52
|
var dateLeft = index.toDate(dirtyDateLeft);
|
|
@@ -77,7 +75,6 @@ function isSameYear(dirtyDateLeft, dirtyDateRight) {
|
|
|
77
75
|
* const result = isThisYear(new Date(2014, 6, 2))
|
|
78
76
|
* //=> true
|
|
79
77
|
*/
|
|
80
|
-
|
|
81
78
|
function isThisYear(dirtyDate) {
|
|
82
79
|
index.requiredArgs(1, arguments);
|
|
83
80
|
return isSameYear(dirtyDate, Date.now());
|
|
@@ -101,21 +98,17 @@ function isThisYear(dirtyDate) {
|
|
|
101
98
|
* const result = addDays(new Date(2014, 8, 1), 10)
|
|
102
99
|
* //=> Thu Sep 11 2014 00:00:00
|
|
103
100
|
*/
|
|
104
|
-
|
|
105
101
|
function addDays(dirtyDate, dirtyAmount) {
|
|
106
102
|
index.requiredArgs(2, arguments);
|
|
107
103
|
var date = index.toDate(dirtyDate);
|
|
108
104
|
var amount = index.toInteger(dirtyAmount);
|
|
109
|
-
|
|
110
105
|
if (isNaN(amount)) {
|
|
111
106
|
return new Date(NaN);
|
|
112
107
|
}
|
|
113
|
-
|
|
114
108
|
if (!amount) {
|
|
115
109
|
// If 0 days, no-op to avoid changing times in the hour before end of DST
|
|
116
110
|
return date;
|
|
117
111
|
}
|
|
118
|
-
|
|
119
112
|
date.setDate(date.getDate() + amount);
|
|
120
113
|
return date;
|
|
121
114
|
}
|
|
@@ -138,7 +131,6 @@ function addDays(dirtyDate, dirtyAmount) {
|
|
|
138
131
|
* const result = subDays(new Date(2014, 8, 1), 10)
|
|
139
132
|
* //=> Fri Aug 22 2014 00:00:00
|
|
140
133
|
*/
|
|
141
|
-
|
|
142
134
|
function subDays(dirtyDate, dirtyAmount) {
|
|
143
135
|
index.requiredArgs(2, arguments);
|
|
144
136
|
var amount = index.toInteger(dirtyAmount);
|
|
@@ -166,7 +158,6 @@ function subDays(dirtyDate, dirtyAmount) {
|
|
|
166
158
|
* const result = isYesterday(new Date(2014, 9, 5, 14, 0))
|
|
167
159
|
* //=> true
|
|
168
160
|
*/
|
|
169
|
-
|
|
170
161
|
function isYesterday(dirtyDate) {
|
|
171
162
|
index.requiredArgs(1, arguments);
|
|
172
163
|
return index$1.isSameDay(dirtyDate, subDays(Date.now(), 1));
|
|
@@ -175,4 +166,4 @@ function isYesterday(dirtyDate) {
|
|
|
175
166
|
exports.isThisYear = isThisYear;
|
|
176
167
|
exports.isToday = isToday;
|
|
177
168
|
exports.isYesterday = isYesterday;
|
|
178
|
-
//# sourceMappingURL=bundle-
|
|
169
|
+
//# sourceMappingURL=bundle-fYGB5Ibr.js.map
|