@sendbird/uikit-react 3.9.1-rc-2 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +422 -0
- package/Channel/components/ChannelHeader.js +67 -0
- package/Channel/components/ChannelUI.js +162 -0
- package/Channel/components/FileViewer.js +88 -0
- package/Channel/components/FrozenNotification.js +16 -0
- package/Channel/components/Message.js +341 -0
- package/Channel/components/MessageInput.js +205 -0
- package/Channel/components/MessageList.js +111 -0
- package/Channel/components/RemoveMessageModal.js +52 -0
- package/Channel/components/SuggestedMentionList.js +198 -0
- package/Channel/components/TypingIndicator.js +84 -0
- package/Channel/components/UnreadCount.js +33 -0
- package/Channel/context.js +24 -0
- package/Channel/hooks/useHandleUploadFiles.js +133 -0
- package/Channel/hooks/useInitialMessagesFetch.js +109 -0
- package/Channel/utils/compareMessagesForGrouping.js +26 -0
- package/Channel/utils/getMessagePartsInfo.js +34 -0
- package/Channel.js +132 -0
- package/ChannelList/components/AddChannel.js +61 -0
- package/ChannelList/components/ChannelListHeader.js +41 -0
- package/ChannelList/components/ChannelListUI.js +147 -0
- package/ChannelList/components/ChannelPreview.js +131 -0
- package/ChannelList/components/ChannelPreviewAction.js +71 -0
- package/ChannelList/context.js +15 -0
- package/ChannelList.js +81 -0
- package/ChannelSettings/components/ChannelProfile.js +65 -0
- package/ChannelSettings/components/ChannelSettingsUI.js +119 -0
- package/ChannelSettings/components/EditDetailsModal.js +97 -0
- package/ChannelSettings/components/LeaveChannel.js +67 -0
- package/ChannelSettings/components/ModerationPanel.js +455 -0
- package/ChannelSettings/components/UserListItem.js +67 -0
- package/ChannelSettings/components/UserPanel.js +64 -0
- package/ChannelSettings/context.js +69 -0
- package/ChannelSettings.js +61 -0
- package/CreateChannel/components/CreateChannelUI.js +48 -0
- package/CreateChannel/components/InviteUsers.js +167 -0
- package/CreateChannel/components/SelectChannelType.js +80 -0
- package/CreateChannel/context.js +9 -0
- package/CreateChannel.js +44 -0
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +68 -0
- package/CreateOpenChannel/context.js +49 -0
- package/CreateOpenChannel.js +33 -0
- package/EditUserProfile/components/EditUserProfileUI.js +118 -0
- package/EditUserProfile.js +34 -0
- package/MessageSearch/components/MessageSearchUI.js +89 -0
- package/MessageSearch/context.js +258 -0
- package/MessageSearch.js +77 -0
- package/OpenChannel/components/FrozenChannelNotification.js +15 -0
- package/OpenChannel/components/OpenChannelHeader.js +54 -0
- package/OpenChannel/components/OpenChannelInput.js +63 -0
- package/OpenChannel/components/OpenChannelMessage.js +197 -0
- package/OpenChannel/components/OpenChannelMessageList.js +122 -0
- package/OpenChannel/components/OpenChannelUI.js +102 -0
- package/OpenChannel/context.js +29 -0
- package/OpenChannel.js +80 -0
- package/OpenChannelList/components/OpenChannelListUI.js +114 -0
- package/OpenChannelList/components/OpenChannelPreview.js +29 -0
- package/OpenChannelList/context.js +7 -0
- package/OpenChannelList.js +45 -0
- package/OpenChannelSettings/components/EditDetailsModal.js +89 -0
- package/OpenChannelSettings/components/OpenChannelProfile.js +56 -0
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +90 -0
- package/OpenChannelSettings/components/OperatorUI.js +502 -0
- package/OpenChannelSettings/components/ParticipantUI.js +36 -0
- package/OpenChannelSettings/context.js +123 -0
- package/OpenChannelSettings.js +56 -0
- package/SendbirdProvider.js +1060 -0
- package/Thread/components/ParentMessageInfo.js +252 -0
- package/Thread/components/ParentMessageInfoItem.js +148 -0
- package/Thread/components/ThreadHeader.js +32 -0
- package/Thread/components/ThreadList.js +170 -0
- package/Thread/components/ThreadListItem.js +333 -0
- package/Thread/components/ThreadMessageInput.js +187 -0
- package/Thread/components/ThreadUI.js +266 -0
- package/Thread/context.js +1334 -0
- package/Thread.js +128 -0
- package/VoicePlayer/context.js +7 -0
- package/VoicePlayer/useVoicePlayer.js +71 -0
- package/VoiceRecorder/context.js +132 -0
- package/VoiceRecorder/useVoiceRecorder.js +108 -0
- package/chunks/bundle-4nIx2RJD.js +24 -0
- package/chunks/bundle-4nIx2RJD.js.map +1 -0
- package/chunks/bundle-4wKb8u1C.js +12 -0
- package/chunks/bundle-4wKb8u1C.js.map +1 -0
- package/chunks/bundle-5HYqTaTr.js +77 -0
- package/chunks/bundle-5HYqTaTr.js.map +1 -0
- package/chunks/bundle-5qCLkG6l.js +262 -0
- package/chunks/bundle-5qCLkG6l.js.map +1 -0
- package/chunks/bundle-5uv0Aei2.js +216 -0
- package/chunks/bundle-5uv0Aei2.js.map +1 -0
- package/chunks/bundle-7JHtC_JJ.js +15 -0
- package/chunks/bundle-7JHtC_JJ.js.map +1 -0
- package/chunks/bundle-7jjAs2HK.js +69 -0
- package/chunks/bundle-7jjAs2HK.js.map +1 -0
- package/chunks/bundle-9hVs1LFe.js +1853 -0
- package/chunks/bundle-9hVs1LFe.js.map +1 -0
- package/chunks/bundle-Bjgxg83b.js +57 -0
- package/chunks/bundle-Bjgxg83b.js.map +1 -0
- package/chunks/bundle-CQMOLj5V.js +657 -0
- package/chunks/bundle-CQMOLj5V.js.map +1 -0
- package/chunks/bundle-DB4PuqmB.js +176 -0
- package/chunks/bundle-DB4PuqmB.js.map +1 -0
- package/chunks/bundle-DGEj-Zfy.js +8 -0
- package/chunks/bundle-DGEj-Zfy.js.map +1 -0
- package/chunks/bundle-EQ2jMcm0.js +31 -0
- package/chunks/bundle-EQ2jMcm0.js.map +1 -0
- package/chunks/bundle-FZryn4bz.js +355 -0
- package/chunks/bundle-FZryn4bz.js.map +1 -0
- package/chunks/bundle-GJfy3_LK.js +174 -0
- package/chunks/bundle-GJfy3_LK.js.map +1 -0
- package/chunks/bundle-GYn98g4i.js +28 -0
- package/chunks/bundle-GYn98g4i.js.map +1 -0
- package/chunks/bundle-Ha6WT0Hp.js +4 -0
- package/chunks/bundle-Ha6WT0Hp.js.map +1 -0
- package/chunks/bundle-HbEA73mt.js +70 -0
- package/chunks/bundle-HbEA73mt.js.map +1 -0
- package/chunks/bundle-HfYRQGkt.js +147 -0
- package/chunks/bundle-HfYRQGkt.js.map +1 -0
- package/chunks/bundle-Izb-WW89.js +508 -0
- package/chunks/bundle-Izb-WW89.js.map +1 -0
- package/chunks/bundle-J3Xwcu_c.js +24 -0
- package/chunks/bundle-J3Xwcu_c.js.map +1 -0
- package/chunks/bundle-J87QWRh3.js +36 -0
- package/chunks/bundle-J87QWRh3.js.map +1 -0
- package/chunks/bundle-KZXjN5v7.js +4 -0
- package/chunks/bundle-KZXjN5v7.js.map +1 -0
- package/chunks/bundle-LKILWG-V.js +96 -0
- package/chunks/bundle-LKILWG-V.js.map +1 -0
- package/chunks/bundle-Lcy_97mA.js +235 -0
- package/chunks/bundle-Lcy_97mA.js.map +1 -0
- package/chunks/bundle-LdRGfmOs.js +218 -0
- package/chunks/bundle-LdRGfmOs.js.map +1 -0
- package/chunks/bundle-OQ0EWLYP.js +230 -0
- package/chunks/bundle-OQ0EWLYP.js.map +1 -0
- package/chunks/bundle-OuijNFkl.js +9 -0
- package/chunks/bundle-OuijNFkl.js.map +1 -0
- package/chunks/bundle-OwUIW9B_.js +42 -0
- package/chunks/bundle-OwUIW9B_.js.map +1 -0
- package/chunks/bundle-QScSctu4.js +222 -0
- package/chunks/bundle-QScSctu4.js.map +1 -0
- package/chunks/bundle-S1smGX8b.js +36 -0
- package/chunks/bundle-S1smGX8b.js.map +1 -0
- package/chunks/bundle-SmfpNG66.js +834 -0
- package/chunks/bundle-SmfpNG66.js.map +1 -0
- package/chunks/bundle-UwlFw2lK.js +131 -0
- package/chunks/bundle-UwlFw2lK.js.map +1 -0
- package/chunks/bundle-XtwZ5oLQ.js +5 -0
- package/chunks/bundle-XtwZ5oLQ.js.map +1 -0
- package/chunks/bundle-XyLdN-Hr.js +112 -0
- package/chunks/bundle-XyLdN-Hr.js.map +1 -0
- package/chunks/bundle-ZSLOjQvb.js +16 -0
- package/chunks/bundle-ZSLOjQvb.js.map +1 -0
- package/chunks/bundle-ZxBmutMJ.js +4 -0
- package/chunks/bundle-ZxBmutMJ.js.map +1 -0
- package/chunks/bundle-_43SdcJP.js +25 -0
- package/chunks/bundle-_43SdcJP.js.map +1 -0
- package/chunks/bundle-b0USVddN.js +277 -0
- package/chunks/bundle-b0USVddN.js.map +1 -0
- package/chunks/bundle-bLXmqujU.js +72 -0
- package/chunks/bundle-bLXmqujU.js.map +1 -0
- package/chunks/bundle-c5jegKUx.js +97 -0
- package/chunks/bundle-c5jegKUx.js.map +1 -0
- package/chunks/bundle-c944_BvY.js +31 -0
- package/chunks/bundle-c944_BvY.js.map +1 -0
- package/chunks/bundle-dBXZk5Y3.js +132 -0
- package/chunks/bundle-dBXZk5Y3.js.map +1 -0
- package/chunks/bundle-dJsyeOhk.js +13 -0
- package/chunks/bundle-dJsyeOhk.js.map +1 -0
- package/chunks/bundle-dwc9j36U.js +98 -0
- package/chunks/bundle-dwc9j36U.js.map +1 -0
- package/chunks/bundle-ejXMvNVx.js +211 -0
- package/chunks/bundle-ejXMvNVx.js.map +1 -0
- package/chunks/bundle-f7C0xlTH.js +16 -0
- package/chunks/bundle-f7C0xlTH.js.map +1 -0
- package/chunks/bundle-fwLsGp6N.js +13 -0
- package/chunks/bundle-fwLsGp6N.js.map +1 -0
- package/chunks/bundle-hDMLfh4n.js +134 -0
- package/chunks/bundle-hDMLfh4n.js.map +1 -0
- package/chunks/bundle-jRxDZ3BJ.js +66 -0
- package/chunks/bundle-jRxDZ3BJ.js.map +1 -0
- package/chunks/bundle-kPskppps.js +1541 -0
- package/chunks/bundle-kPskppps.js.map +1 -0
- package/chunks/bundle-lcfgNAH-.js +1404 -0
- package/chunks/bundle-lcfgNAH-.js.map +1 -0
- package/chunks/bundle-mAbwjJsi.js +26 -0
- package/chunks/bundle-mAbwjJsi.js.map +1 -0
- package/chunks/bundle-okmgQKUZ.js +4 -0
- package/chunks/bundle-okmgQKUZ.js.map +1 -0
- package/chunks/bundle-qotlr2QN.js +125 -0
- package/chunks/bundle-qotlr2QN.js.map +1 -0
- package/chunks/bundle-rMW82DKu.js +174 -0
- package/chunks/bundle-rMW82DKu.js.map +1 -0
- package/chunks/bundle-rgIbMndg.js +18 -0
- package/chunks/bundle-rgIbMndg.js.map +1 -0
- package/chunks/bundle-tc0rEnB_.js +14 -0
- package/chunks/bundle-tc0rEnB_.js.map +1 -0
- package/chunks/bundle-u2CeAx57.js +78 -0
- package/chunks/bundle-u2CeAx57.js.map +1 -0
- package/chunks/bundle-v0zf-Toj.js +29 -0
- package/chunks/bundle-v0zf-Toj.js.map +1 -0
- package/chunks/bundle-vUampZQQ.js +62 -0
- package/chunks/bundle-vUampZQQ.js.map +1 -0
- package/chunks/bundle-yCtFACB5.js +76 -0
- package/chunks/bundle-yCtFACB5.js.map +1 -0
- package/cjs/App.js +424 -0
- package/cjs/Channel/components/ChannelHeader.js +69 -0
- package/cjs/Channel/components/ChannelUI.js +164 -0
- package/cjs/Channel/components/FileViewer.js +93 -0
- package/cjs/Channel/components/FrozenNotification.js +18 -0
- package/cjs/Channel/components/Message.js +343 -0
- package/cjs/Channel/components/MessageInput.js +210 -0
- package/cjs/Channel/components/MessageList.js +117 -0
- package/cjs/Channel/components/RemoveMessageModal.js +54 -0
- package/cjs/Channel/components/SuggestedMentionList.js +200 -0
- package/cjs/Channel/components/TypingIndicator.js +89 -0
- package/cjs/Channel/components/UnreadCount.js +35 -0
- package/cjs/Channel/context.js +31 -0
- package/cjs/Channel/hooks/useHandleUploadFiles.js +135 -0
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +111 -0
- package/cjs/Channel/utils/compareMessagesForGrouping.js +28 -0
- package/cjs/Channel/utils/getMessagePartsInfo.js +36 -0
- package/cjs/Channel.js +134 -0
- package/cjs/ChannelList/components/AddChannel.js +66 -0
- package/cjs/ChannelList/components/ChannelListHeader.js +43 -0
- package/cjs/ChannelList/components/ChannelListUI.js +149 -0
- package/cjs/ChannelList/components/ChannelPreview.js +133 -0
- package/cjs/ChannelList/components/ChannelPreviewAction.js +73 -0
- package/cjs/ChannelList/context.js +22 -0
- package/cjs/ChannelList.js +83 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +67 -0
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +121 -0
- package/cjs/ChannelSettings/components/EditDetailsModal.js +99 -0
- package/cjs/ChannelSettings/components/LeaveChannel.js +69 -0
- package/cjs/ChannelSettings/components/ModerationPanel.js +457 -0
- package/cjs/ChannelSettings/components/UserListItem.js +69 -0
- package/cjs/ChannelSettings/components/UserPanel.js +66 -0
- package/cjs/ChannelSettings/context.js +72 -0
- package/cjs/ChannelSettings.js +63 -0
- package/cjs/CreateChannel/components/CreateChannelUI.js +50 -0
- package/cjs/CreateChannel/components/InviteUsers.js +169 -0
- package/cjs/CreateChannel/components/SelectChannelType.js +82 -0
- package/cjs/CreateChannel/context.js +16 -0
- package/cjs/CreateChannel.js +46 -0
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +70 -0
- package/cjs/CreateOpenChannel/context.js +52 -0
- package/cjs/CreateOpenChannel.js +35 -0
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +125 -0
- package/cjs/EditUserProfile.js +36 -0
- package/cjs/MessageSearch/components/MessageSearchUI.js +94 -0
- package/cjs/MessageSearch/context.js +261 -0
- package/cjs/MessageSearch.js +79 -0
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +17 -0
- package/cjs/OpenChannel/components/OpenChannelHeader.js +56 -0
- package/cjs/OpenChannel/components/OpenChannelInput.js +65 -0
- package/cjs/OpenChannel/components/OpenChannelMessage.js +199 -0
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +124 -0
- package/cjs/OpenChannel/components/OpenChannelUI.js +104 -0
- package/cjs/OpenChannel/context.js +36 -0
- package/cjs/OpenChannel.js +82 -0
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +116 -0
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +31 -0
- package/cjs/OpenChannelList/context.js +17 -0
- package/cjs/OpenChannelList.js +47 -0
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +91 -0
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +58 -0
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +92 -0
- package/cjs/OpenChannelSettings/components/OperatorUI.js +508 -0
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +42 -0
- package/cjs/OpenChannelSettings/context.js +126 -0
- package/cjs/OpenChannelSettings.js +58 -0
- package/cjs/SendbirdProvider.js +1066 -0
- package/cjs/Thread/components/ParentMessageInfo.js +254 -0
- package/cjs/Thread/components/ParentMessageInfoItem.js +150 -0
- package/cjs/Thread/components/ThreadHeader.js +34 -0
- package/cjs/Thread/components/ThreadList.js +172 -0
- package/cjs/Thread/components/ThreadListItem.js +335 -0
- package/cjs/Thread/components/ThreadMessageInput.js +189 -0
- package/cjs/Thread/components/ThreadUI.js +268 -0
- package/cjs/Thread/context.js +1337 -0
- package/cjs/Thread.js +130 -0
- package/cjs/VoicePlayer/context.js +15 -0
- package/cjs/VoicePlayer/useVoicePlayer.js +73 -0
- package/cjs/VoiceRecorder/context.js +138 -0
- package/cjs/VoiceRecorder/useVoiceRecorder.js +111 -0
- package/cjs/chunks/bundle-0Ja4l4WD.js +7 -0
- package/cjs/chunks/bundle-0Ja4l4WD.js.map +1 -0
- package/cjs/chunks/bundle-4qgSZeT3.js +74 -0
- package/cjs/chunks/bundle-4qgSZeT3.js.map +1 -0
- package/cjs/chunks/bundle-6ING8CcH.js +30 -0
- package/cjs/chunks/bundle-6ING8CcH.js.map +1 -0
- package/cjs/chunks/bundle-6JxglfHi.js +20 -0
- package/cjs/chunks/bundle-6JxglfHi.js.map +1 -0
- package/cjs/chunks/bundle-6PamDVow.js +6 -0
- package/cjs/chunks/bundle-6PamDVow.js.map +1 -0
- package/cjs/chunks/bundle-6Zb-iZx5.js +75 -0
- package/cjs/chunks/bundle-6Zb-iZx5.js.map +1 -0
- package/cjs/chunks/bundle-8vsXz_gj.js +16 -0
- package/cjs/chunks/bundle-8vsXz_gj.js.map +1 -0
- package/cjs/chunks/bundle-9ye-ND_Z.js +11 -0
- package/cjs/chunks/bundle-9ye-ND_Z.js.map +1 -0
- package/cjs/chunks/bundle-Csb8JrWu.js +79 -0
- package/cjs/chunks/bundle-Csb8JrWu.js.map +1 -0
- package/cjs/chunks/bundle-EGiFBVbp.js +510 -0
- package/cjs/chunks/bundle-EGiFBVbp.js.map +1 -0
- package/cjs/chunks/bundle-Epp2z49V.js +1858 -0
- package/cjs/chunks/bundle-Epp2z49V.js.map +1 -0
- package/cjs/chunks/bundle-GBjPe_zz.js +84 -0
- package/cjs/chunks/bundle-GBjPe_zz.js.map +1 -0
- package/cjs/chunks/bundle-GHF9IYi-.js +181 -0
- package/cjs/chunks/bundle-GHF9IYi-.js.map +1 -0
- package/cjs/chunks/bundle-GnjLS8Jn.js +68 -0
- package/cjs/chunks/bundle-GnjLS8Jn.js.map +1 -0
- package/cjs/chunks/bundle-H1oA9eVZ.js +15 -0
- package/cjs/chunks/bundle-H1oA9eVZ.js.map +1 -0
- package/cjs/chunks/bundle-I-kMnHYy.js +6 -0
- package/cjs/chunks/bundle-I-kMnHYy.js.map +1 -0
- package/cjs/chunks/bundle-IJoXsg7h.js +69 -0
- package/cjs/chunks/bundle-IJoXsg7h.js.map +1 -0
- package/cjs/chunks/bundle-LOvxZyn6.js +74 -0
- package/cjs/chunks/bundle-LOvxZyn6.js.map +1 -0
- package/cjs/chunks/bundle-LTZh0NNq.js +39 -0
- package/cjs/chunks/bundle-LTZh0NNq.js.map +1 -0
- package/cjs/chunks/bundle-LasQs8iu.js +178 -0
- package/cjs/chunks/bundle-LasQs8iu.js.map +1 -0
- package/cjs/chunks/bundle-Lbt6hR1g.js +179 -0
- package/cjs/chunks/bundle-Lbt6hR1g.js.map +1 -0
- package/cjs/chunks/bundle-NItu6zWb.js +220 -0
- package/cjs/chunks/bundle-NItu6zWb.js.map +1 -0
- package/cjs/chunks/bundle-P1tJL1VF.js +46 -0
- package/cjs/chunks/bundle-P1tJL1VF.js.map +1 -0
- package/cjs/chunks/bundle-PKJPiCJF.js +224 -0
- package/cjs/chunks/bundle-PKJPiCJF.js.map +1 -0
- package/cjs/chunks/bundle-PLzI4mgo.js +159 -0
- package/cjs/chunks/bundle-PLzI4mgo.js.map +1 -0
- package/cjs/chunks/bundle-P__OxDCf.js +236 -0
- package/cjs/chunks/bundle-P__OxDCf.js.map +1 -0
- package/cjs/chunks/bundle-Pq-6iw-6.js +1409 -0
- package/cjs/chunks/bundle-Pq-6iw-6.js.map +1 -0
- package/cjs/chunks/bundle-R1cJCMsN.js +279 -0
- package/cjs/chunks/bundle-R1cJCMsN.js.map +1 -0
- package/cjs/chunks/bundle-R3WLzhtN.js +109 -0
- package/cjs/chunks/bundle-R3WLzhtN.js.map +1 -0
- package/cjs/chunks/bundle-R3Ze9NdG.js +28 -0
- package/cjs/chunks/bundle-R3Ze9NdG.js.map +1 -0
- package/cjs/chunks/bundle-TLWExetX.js +128 -0
- package/cjs/chunks/bundle-TLWExetX.js.map +1 -0
- package/cjs/chunks/bundle-Ur6-okMD.js +79 -0
- package/cjs/chunks/bundle-Ur6-okMD.js.map +1 -0
- package/cjs/chunks/bundle-UuwNVlVV.js +99 -0
- package/cjs/chunks/bundle-UuwNVlVV.js.map +1 -0
- package/cjs/chunks/bundle-Vk8BUCRm.js +38 -0
- package/cjs/chunks/bundle-Vk8BUCRm.js.map +1 -0
- package/cjs/chunks/bundle-W4NFKk4o.js +238 -0
- package/cjs/chunks/bundle-W4NFKk4o.js.map +1 -0
- package/cjs/chunks/bundle-Xr9HRCcW.js +15 -0
- package/cjs/chunks/bundle-Xr9HRCcW.js.map +1 -0
- package/cjs/chunks/bundle-YOewBep4.js +27 -0
- package/cjs/chunks/bundle-YOewBep4.js.map +1 -0
- package/cjs/chunks/bundle-_0eKxSxF.js +139 -0
- package/cjs/chunks/bundle-_0eKxSxF.js.map +1 -0
- package/cjs/chunks/bundle-_FZAAyq7.js +217 -0
- package/cjs/chunks/bundle-_FZAAyq7.js.map +1 -0
- package/cjs/chunks/bundle-_PoeyBuz.js +1545 -0
- package/cjs/chunks/bundle-_PoeyBuz.js.map +1 -0
- package/cjs/chunks/bundle-_gWcsZfN.js +360 -0
- package/cjs/chunks/bundle-_gWcsZfN.js.map +1 -0
- package/cjs/chunks/bundle-aNw5UWgi.js +114 -0
- package/cjs/chunks/bundle-aNw5UWgi.js.map +1 -0
- package/cjs/chunks/bundle-af-Vhz_F.js +17 -0
- package/cjs/chunks/bundle-af-Vhz_F.js.map +1 -0
- package/cjs/chunks/bundle-crXcinmk.js +102 -0
- package/cjs/chunks/bundle-crXcinmk.js.map +1 -0
- package/cjs/chunks/bundle-dwV-KMKC.js +10 -0
- package/cjs/chunks/bundle-dwV-KMKC.js.map +1 -0
- package/cjs/chunks/bundle-dyoIaPov.js +27 -0
- package/cjs/chunks/bundle-dyoIaPov.js.map +1 -0
- package/cjs/chunks/bundle-e3fIFP60.js +32 -0
- package/cjs/chunks/bundle-e3fIFP60.js.map +1 -0
- package/cjs/chunks/bundle-fJhxctLh.js +264 -0
- package/cjs/chunks/bundle-fJhxctLh.js.map +1 -0
- package/cjs/chunks/bundle-gEqE3TId.js +8 -0
- package/cjs/chunks/bundle-gEqE3TId.js.map +1 -0
- package/cjs/chunks/bundle-h09WWCLD.js +137 -0
- package/cjs/chunks/bundle-h09WWCLD.js.map +1 -0
- package/cjs/chunks/bundle-i9olAw4e.js +26 -0
- package/cjs/chunks/bundle-i9olAw4e.js.map +1 -0
- package/cjs/chunks/bundle-ieJM2S-L.js +224 -0
- package/cjs/chunks/bundle-ieJM2S-L.js.map +1 -0
- package/cjs/chunks/bundle-lGiBWL17.js +6 -0
- package/cjs/chunks/bundle-lGiBWL17.js.map +1 -0
- package/cjs/chunks/bundle-lf2peGCY.js +839 -0
- package/cjs/chunks/bundle-lf2peGCY.js.map +1 -0
- package/cjs/chunks/bundle-nnKzOqh3.js +18 -0
- package/cjs/chunks/bundle-nnKzOqh3.js.map +1 -0
- package/cjs/chunks/bundle-noiyvZaq.js +50 -0
- package/cjs/chunks/bundle-noiyvZaq.js.map +1 -0
- package/cjs/chunks/bundle-nrZuUm2h.js +19 -0
- package/cjs/chunks/bundle-nrZuUm2h.js.map +1 -0
- package/cjs/chunks/bundle-otHh2GZm.js +22 -0
- package/cjs/chunks/bundle-otHh2GZm.js.map +1 -0
- package/cjs/chunks/bundle-q4_bj8Re.js +35 -0
- package/cjs/chunks/bundle-q4_bj8Re.js.map +1 -0
- package/cjs/chunks/bundle-rXNfPqQR.js +707 -0
- package/cjs/chunks/bundle-rXNfPqQR.js.map +1 -0
- package/cjs/chunks/bundle-tNyqNssI.js +136 -0
- package/cjs/chunks/bundle-tNyqNssI.js.map +1 -0
- package/cjs/chunks/bundle-x6GOQeyO.js +84 -0
- package/cjs/chunks/bundle-x6GOQeyO.js.map +1 -0
- package/cjs/hooks/useModal.js +59 -0
- package/cjs/index.js +223 -0
- package/cjs/pubSub/topics.js +18 -0
- package/cjs/sendbirdSelectors.js +580 -0
- package/cjs/ui/Accordion.js +52 -0
- package/cjs/ui/AccordionGroup.js +17 -0
- package/cjs/ui/AdminMessage.js +21 -0
- package/cjs/ui/Avatar.js +18 -0
- package/cjs/ui/Badge.js +26 -0
- package/cjs/ui/BottomSheet.js +38 -0
- package/cjs/ui/Button.js +53 -0
- package/cjs/ui/ChannelAvatar.js +32 -0
- package/cjs/ui/ConnectionStatus.js +20 -0
- package/cjs/ui/ContextMenu.js +216 -0
- package/cjs/ui/DateSeparator.js +21 -0
- package/cjs/ui/EmojiReactions.js +179 -0
- package/cjs/ui/FileMessageItemBody.js +41 -0
- package/cjs/ui/FileViewer.js +33 -0
- package/cjs/ui/Icon.js +1140 -0
- package/cjs/ui/IconButton.js +26 -0
- package/cjs/ui/ImageRenderer.js +151 -0
- package/cjs/ui/Input.js +26 -0
- package/cjs/ui/Label.js +16 -0
- package/cjs/ui/LinkLabel.js +32 -0
- package/cjs/ui/Loader.js +20 -0
- package/cjs/ui/MentionLabel.js +69 -0
- package/cjs/ui/MentionUserLabel.js +12 -0
- package/cjs/ui/MessageContent.js +341 -0
- package/cjs/ui/MessageInput/hooks/usePaste.js +17 -0
- package/cjs/ui/MessageInput.js +464 -0
- package/cjs/ui/MessageItemMenu.js +131 -0
- package/cjs/ui/MessageItemReactionMenu.js +58 -0
- package/cjs/ui/MessageSearchFileItem.js +92 -0
- package/cjs/ui/MessageSearchItem.js +63 -0
- package/cjs/ui/MessageStatus.js +26 -0
- package/cjs/ui/Modal.js +26 -0
- package/cjs/ui/MutedAvatarOverlay.js +23 -0
- package/cjs/ui/OGMessageItemBody.js +87 -0
- package/cjs/ui/OpenChannelAdminMessage.js +17 -0
- package/cjs/ui/OpenChannelAvatar.js +26 -0
- package/cjs/ui/OpenchannelConversationHeader.js +34 -0
- package/cjs/ui/OpenchannelFileMessage.js +141 -0
- package/cjs/ui/OpenchannelOGMessage.js +186 -0
- package/cjs/ui/OpenchannelThumbnailMessage.js +178 -0
- package/cjs/ui/OpenchannelUserMessage.js +149 -0
- package/cjs/ui/PlaceHolder.js +58 -0
- package/cjs/ui/PlaybackTime.js +22 -0
- package/cjs/ui/QuoteMessage.js +81 -0
- package/cjs/ui/QuoteMessageInput.js +84 -0
- package/cjs/ui/ReactionBadge.js +28 -0
- package/cjs/ui/ReactionButton.js +25 -0
- package/cjs/ui/SortByRow.js +31 -0
- package/cjs/ui/TextButton.js +17 -0
- package/cjs/ui/TextMessageItemBody.js +66 -0
- package/cjs/ui/ThreadReplies.js +44 -0
- package/cjs/ui/ThumbnailMessageItemBody.js +45 -0
- package/cjs/ui/Toggle.js +131 -0
- package/cjs/ui/Tooltip.js +17 -0
- package/cjs/ui/TooltipWrapper.js +21 -0
- package/cjs/ui/TypingIndicatorBubble.js +69 -0
- package/cjs/ui/UnknownMessageItemBody.js +29 -0
- package/cjs/ui/UserListItem.js +75 -0
- package/cjs/ui/UserProfile.js +60 -0
- package/cjs/ui/VoiceMessageInput.js +21 -0
- package/cjs/ui/VoiceMessageItemBody.js +74 -0
- package/cjs/ui/Word.js +82 -0
- package/cjs/useSendbirdStateContext.js +27 -0
- package/cjs/utils/message/isVoiceMessage.js +11 -0
- package/cjs/withSendbird.js +28 -0
- package/dist/index.css +7839 -0
- package/dist/index.css.map +1 -0
- package/hooks/useModal.js +55 -0
- package/index.js +201 -0
- package/package.json +1477 -111
- package/pubSub/topics.js +2 -0
- package/sendbirdSelectors.js +555 -0
- package/ui/Accordion.js +47 -0
- package/ui/AccordionGroup.js +15 -0
- package/ui/AdminMessage.js +19 -0
- package/ui/Avatar.js +9 -0
- package/ui/Badge.js +24 -0
- package/ui/BottomSheet.js +36 -0
- package/ui/Button.js +49 -0
- package/ui/ChannelAvatar.js +30 -0
- package/ui/ConnectionStatus.js +18 -0
- package/ui/ContextMenu.js +207 -0
- package/ui/DateSeparator.js +19 -0
- package/ui/EmojiReactions.js +177 -0
- package/ui/FileMessageItemBody.js +39 -0
- package/ui/FileViewer.js +24 -0
- package/ui/Icon.js +1116 -0
- package/ui/IconButton.js +24 -0
- package/ui/ImageRenderer.js +145 -0
- package/ui/Input.js +21 -0
- package/ui/Label.js +5 -0
- package/ui/LinkLabel.js +26 -0
- package/ui/Loader.js +18 -0
- package/ui/MentionLabel.js +67 -0
- package/ui/MentionUserLabel.js +10 -0
- package/ui/MessageContent.js +339 -0
- package/ui/MessageInput/hooks/usePaste.js +8 -0
- package/ui/MessageInput.js +462 -0
- package/ui/MessageItemMenu.js +126 -0
- package/ui/MessageItemReactionMenu.js +53 -0
- package/ui/MessageSearchFileItem.js +90 -0
- package/ui/MessageSearchItem.js +61 -0
- package/ui/MessageStatus.js +17 -0
- package/ui/Modal.js +14 -0
- package/ui/MutedAvatarOverlay.js +21 -0
- package/ui/OGMessageItemBody.js +85 -0
- package/ui/OpenChannelAdminMessage.js +15 -0
- package/ui/OpenChannelAvatar.js +24 -0
- package/ui/OpenchannelConversationHeader.js +32 -0
- package/ui/OpenchannelFileMessage.js +139 -0
- package/ui/OpenchannelOGMessage.js +184 -0
- package/ui/OpenchannelThumbnailMessage.js +176 -0
- package/ui/OpenchannelUserMessage.js +147 -0
- package/ui/PlaceHolder.js +53 -0
- package/ui/PlaybackTime.js +17 -0
- package/ui/QuoteMessage.js +79 -0
- package/ui/QuoteMessageInput.js +82 -0
- package/ui/ReactionBadge.js +26 -0
- package/ui/ReactionButton.js +23 -0
- package/ui/SortByRow.js +29 -0
- package/ui/TextButton.js +15 -0
- package/ui/TextMessageItemBody.js +64 -0
- package/ui/ThreadReplies.js +42 -0
- package/ui/ThumbnailMessageItemBody.js +43 -0
- package/ui/Toggle.js +126 -0
- package/ui/Tooltip.js +15 -0
- package/ui/TooltipWrapper.js +19 -0
- package/ui/TypingIndicatorBubble.js +67 -0
- package/ui/UnknownMessageItemBody.js +27 -0
- package/ui/UserListItem.js +73 -0
- package/ui/UserProfile.js +58 -0
- package/ui/VoiceMessageInput.js +15 -0
- package/ui/VoiceMessageItemBody.js +69 -0
- package/ui/Word.js +80 -0
- package/useSendbirdStateContext.js +22 -0
- package/utils/message/isVoiceMessage.js +9 -0
- package/withSendbird.js +23 -0
- package/dist/App.js +0 -422
- package/dist/CHANGELOG.md +0 -1980
- package/dist/Channel/components/ChannelHeader.js +0 -67
- package/dist/Channel/components/ChannelUI.js +0 -162
- package/dist/Channel/components/FileViewer.js +0 -88
- package/dist/Channel/components/FrozenNotification.js +0 -16
- package/dist/Channel/components/Message.js +0 -341
- package/dist/Channel/components/MessageInput.js +0 -205
- package/dist/Channel/components/MessageList.js +0 -111
- package/dist/Channel/components/RemoveMessageModal.js +0 -52
- package/dist/Channel/components/SuggestedMentionList.js +0 -198
- package/dist/Channel/components/TypingIndicator.js +0 -84
- package/dist/Channel/components/UnreadCount.js +0 -33
- package/dist/Channel/context.js +0 -24
- package/dist/Channel/hooks/useHandleUploadFiles.js +0 -133
- package/dist/Channel/hooks/useInitialMessagesFetch.js +0 -109
- package/dist/Channel/utils/compareMessagesForGrouping.js +0 -26
- package/dist/Channel/utils/getMessagePartsInfo.js +0 -34
- package/dist/Channel.js +0 -132
- package/dist/ChannelList/components/AddChannel.js +0 -61
- package/dist/ChannelList/components/ChannelListHeader.js +0 -41
- package/dist/ChannelList/components/ChannelListUI.js +0 -147
- package/dist/ChannelList/components/ChannelPreview.js +0 -131
- package/dist/ChannelList/components/ChannelPreviewAction.js +0 -71
- package/dist/ChannelList/context.js +0 -15
- package/dist/ChannelList.js +0 -81
- package/dist/ChannelSettings/components/ChannelProfile.js +0 -65
- package/dist/ChannelSettings/components/ChannelSettingsUI.js +0 -119
- package/dist/ChannelSettings/components/EditDetailsModal.js +0 -97
- package/dist/ChannelSettings/components/LeaveChannel.js +0 -67
- package/dist/ChannelSettings/components/ModerationPanel.js +0 -455
- package/dist/ChannelSettings/components/UserListItem.js +0 -67
- package/dist/ChannelSettings/components/UserPanel.js +0 -64
- package/dist/ChannelSettings/context.js +0 -69
- package/dist/ChannelSettings.js +0 -61
- package/dist/CreateChannel/components/CreateChannelUI.js +0 -48
- package/dist/CreateChannel/components/InviteUsers.js +0 -167
- package/dist/CreateChannel/components/SelectChannelType.js +0 -80
- package/dist/CreateChannel/context.js +0 -9
- package/dist/CreateChannel.js +0 -44
- package/dist/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -68
- package/dist/CreateOpenChannel/context.js +0 -49
- package/dist/CreateOpenChannel.js +0 -33
- package/dist/EditUserProfile/components/EditUserProfileUI.js +0 -118
- package/dist/EditUserProfile.js +0 -34
- package/dist/LICENSE +0 -21
- package/dist/MessageSearch/components/MessageSearchUI.js +0 -89
- package/dist/MessageSearch/context.js +0 -258
- package/dist/MessageSearch.js +0 -77
- package/dist/OpenChannel/components/FrozenChannelNotification.js +0 -15
- package/dist/OpenChannel/components/OpenChannelHeader.js +0 -54
- package/dist/OpenChannel/components/OpenChannelInput.js +0 -63
- package/dist/OpenChannel/components/OpenChannelMessage.js +0 -197
- package/dist/OpenChannel/components/OpenChannelMessageList.js +0 -122
- package/dist/OpenChannel/components/OpenChannelUI.js +0 -102
- package/dist/OpenChannel/context.js +0 -29
- package/dist/OpenChannel.js +0 -80
- package/dist/OpenChannelList/components/OpenChannelListUI.js +0 -114
- package/dist/OpenChannelList/components/OpenChannelPreview.js +0 -29
- package/dist/OpenChannelList/context.js +0 -7
- package/dist/OpenChannelList.js +0 -45
- package/dist/OpenChannelSettings/components/EditDetailsModal.js +0 -89
- package/dist/OpenChannelSettings/components/OpenChannelProfile.js +0 -56
- package/dist/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -90
- package/dist/OpenChannelSettings/components/OperatorUI.js +0 -502
- package/dist/OpenChannelSettings/components/ParticipantUI.js +0 -36
- package/dist/OpenChannelSettings/context.js +0 -123
- package/dist/OpenChannelSettings.js +0 -56
- package/dist/README.md +0 -172
- package/dist/SendbirdProvider.js +0 -1060
- package/dist/Thread/components/ParentMessageInfo.js +0 -252
- package/dist/Thread/components/ParentMessageInfoItem.js +0 -148
- package/dist/Thread/components/ThreadHeader.js +0 -32
- package/dist/Thread/components/ThreadList.js +0 -170
- package/dist/Thread/components/ThreadListItem.js +0 -333
- package/dist/Thread/components/ThreadMessageInput.js +0 -187
- package/dist/Thread/components/ThreadUI.js +0 -266
- package/dist/Thread/context.js +0 -1334
- package/dist/Thread.js +0 -128
- package/dist/VoicePlayer/context.js +0 -7
- package/dist/VoicePlayer/useVoicePlayer.js +0 -71
- package/dist/VoiceRecorder/context.js +0 -132
- package/dist/VoiceRecorder/useVoiceRecorder.js +0 -108
- package/dist/chunks/bundle--Ejuxki1.js +0 -16
- package/dist/chunks/bundle--Ejuxki1.js.map +0 -1
- package/dist/chunks/bundle-14ncl99m.js +0 -12
- package/dist/chunks/bundle-14ncl99m.js.map +0 -1
- package/dist/chunks/bundle-2Op65qKC.js +0 -277
- package/dist/chunks/bundle-2Op65qKC.js.map +0 -1
- package/dist/chunks/bundle-3n2XFetI.js +0 -16
- package/dist/chunks/bundle-3n2XFetI.js.map +0 -1
- package/dist/chunks/bundle-4F9sKnDa.js +0 -176
- package/dist/chunks/bundle-4F9sKnDa.js.map +0 -1
- package/dist/chunks/bundle-5ZJpptGh.js +0 -174
- package/dist/chunks/bundle-5ZJpptGh.js.map +0 -1
- package/dist/chunks/bundle-5q71Q0qR.js +0 -211
- package/dist/chunks/bundle-5q71Q0qR.js.map +0 -1
- package/dist/chunks/bundle-6BNmQ0LM.js +0 -13
- package/dist/chunks/bundle-6BNmQ0LM.js.map +0 -1
- package/dist/chunks/bundle-6Jgiyczc.js +0 -8
- package/dist/chunks/bundle-6Jgiyczc.js.map +0 -1
- package/dist/chunks/bundle-6KxAQ3DO.js +0 -1853
- package/dist/chunks/bundle-6KxAQ3DO.js.map +0 -1
- package/dist/chunks/bundle-6_XxQIkT.js +0 -125
- package/dist/chunks/bundle-6_XxQIkT.js.map +0 -1
- package/dist/chunks/bundle-7JfqNhKH.js +0 -18
- package/dist/chunks/bundle-7JfqNhKH.js.map +0 -1
- package/dist/chunks/bundle-7sEsVYzR.js +0 -66
- package/dist/chunks/bundle-7sEsVYzR.js.map +0 -1
- package/dist/chunks/bundle-BLTESd6l.js +0 -230
- package/dist/chunks/bundle-BLTESd6l.js.map +0 -1
- package/dist/chunks/bundle-BMfmU73b.js +0 -355
- package/dist/chunks/bundle-BMfmU73b.js.map +0 -1
- package/dist/chunks/bundle-BYmCRR2q.js +0 -15
- package/dist/chunks/bundle-BYmCRR2q.js.map +0 -1
- package/dist/chunks/bundle-CUfPglBq.js +0 -216
- package/dist/chunks/bundle-CUfPglBq.js.map +0 -1
- package/dist/chunks/bundle-GWEiVUz_.js +0 -147
- package/dist/chunks/bundle-GWEiVUz_.js.map +0 -1
- package/dist/chunks/bundle-GxF20zCF.js +0 -29
- package/dist/chunks/bundle-GxF20zCF.js.map +0 -1
- package/dist/chunks/bundle-Hs9aaQff.js +0 -222
- package/dist/chunks/bundle-Hs9aaQff.js.map +0 -1
- package/dist/chunks/bundle-Iv7qFX4X.js +0 -834
- package/dist/chunks/bundle-Iv7qFX4X.js.map +0 -1
- package/dist/chunks/bundle-K753WYIS.js +0 -57
- package/dist/chunks/bundle-K753WYIS.js.map +0 -1
- package/dist/chunks/bundle-M4oxyPE-.js +0 -24
- package/dist/chunks/bundle-M4oxyPE-.js.map +0 -1
- package/dist/chunks/bundle-MF8abnx2.js +0 -218
- package/dist/chunks/bundle-MF8abnx2.js.map +0 -1
- package/dist/chunks/bundle-MPYPncdD.js +0 -4
- package/dist/chunks/bundle-MPYPncdD.js.map +0 -1
- package/dist/chunks/bundle-NjIn5xfq.js +0 -36
- package/dist/chunks/bundle-NjIn5xfq.js.map +0 -1
- package/dist/chunks/bundle-OxW3t01r.js +0 -31
- package/dist/chunks/bundle-OxW3t01r.js.map +0 -1
- package/dist/chunks/bundle-Rl5fvonY.js +0 -1404
- package/dist/chunks/bundle-Rl5fvonY.js.map +0 -1
- package/dist/chunks/bundle-RrmxRjer.js +0 -508
- package/dist/chunks/bundle-RrmxRjer.js.map +0 -1
- package/dist/chunks/bundle-U45GcWA_.js +0 -28
- package/dist/chunks/bundle-U45GcWA_.js.map +0 -1
- package/dist/chunks/bundle-UApGrG-m.js +0 -1541
- package/dist/chunks/bundle-UApGrG-m.js.map +0 -1
- package/dist/chunks/bundle-UGKbXjDM.js +0 -112
- package/dist/chunks/bundle-UGKbXjDM.js.map +0 -1
- package/dist/chunks/bundle-Vp2hvuBO.js +0 -31
- package/dist/chunks/bundle-Vp2hvuBO.js.map +0 -1
- package/dist/chunks/bundle-W3iSjA2l.js +0 -235
- package/dist/chunks/bundle-W3iSjA2l.js.map +0 -1
- package/dist/chunks/bundle-_HbjO2rd.js +0 -262
- package/dist/chunks/bundle-_HbjO2rd.js.map +0 -1
- package/dist/chunks/bundle-a2JLFpDM.js +0 -78
- package/dist/chunks/bundle-a2JLFpDM.js.map +0 -1
- package/dist/chunks/bundle-a8y3Ewac.js +0 -174
- package/dist/chunks/bundle-a8y3Ewac.js.map +0 -1
- package/dist/chunks/bundle-dVgSt0b0.js +0 -36
- package/dist/chunks/bundle-dVgSt0b0.js.map +0 -1
- package/dist/chunks/bundle-dxJV8pSS.js +0 -76
- package/dist/chunks/bundle-dxJV8pSS.js.map +0 -1
- package/dist/chunks/bundle-eBjVWhHZ.js +0 -96
- package/dist/chunks/bundle-eBjVWhHZ.js.map +0 -1
- package/dist/chunks/bundle-e_9mGqwg.js +0 -13
- package/dist/chunks/bundle-e_9mGqwg.js.map +0 -1
- package/dist/chunks/bundle-gXxnKnlk.js +0 -9
- package/dist/chunks/bundle-gXxnKnlk.js.map +0 -1
- package/dist/chunks/bundle-gkOxTHma.js +0 -657
- package/dist/chunks/bundle-gkOxTHma.js.map +0 -1
- package/dist/chunks/bundle-jczKqLnP.js +0 -24
- package/dist/chunks/bundle-jczKqLnP.js.map +0 -1
- package/dist/chunks/bundle-lnteErrw.js +0 -5
- package/dist/chunks/bundle-lnteErrw.js.map +0 -1
- package/dist/chunks/bundle-m-DDpdq8.js +0 -70
- package/dist/chunks/bundle-m-DDpdq8.js.map +0 -1
- package/dist/chunks/bundle-oTQSHYWK.js +0 -98
- package/dist/chunks/bundle-oTQSHYWK.js.map +0 -1
- package/dist/chunks/bundle-q496PSxP.js +0 -72
- package/dist/chunks/bundle-q496PSxP.js.map +0 -1
- package/dist/chunks/bundle-qHAQziqO.js +0 -97
- package/dist/chunks/bundle-qHAQziqO.js.map +0 -1
- package/dist/chunks/bundle-qufSYree.js +0 -14
- package/dist/chunks/bundle-qufSYree.js.map +0 -1
- package/dist/chunks/bundle-rdL93Rxj.js +0 -42
- package/dist/chunks/bundle-rdL93Rxj.js.map +0 -1
- package/dist/chunks/bundle-rfKswtch.js +0 -134
- package/dist/chunks/bundle-rfKswtch.js.map +0 -1
- package/dist/chunks/bundle-saiSPI85.js +0 -4
- package/dist/chunks/bundle-saiSPI85.js.map +0 -1
- package/dist/chunks/bundle-uDaAbuPs.js +0 -132
- package/dist/chunks/bundle-uDaAbuPs.js.map +0 -1
- package/dist/chunks/bundle-wfnnwHTT.js +0 -77
- package/dist/chunks/bundle-wfnnwHTT.js.map +0 -1
- package/dist/chunks/bundle-x4ZuQz8S.js +0 -4
- package/dist/chunks/bundle-x4ZuQz8S.js.map +0 -1
- package/dist/chunks/bundle-xTeLtbXU.js +0 -4
- package/dist/chunks/bundle-xTeLtbXU.js.map +0 -1
- package/dist/chunks/bundle-yOmQxfc5.js +0 -131
- package/dist/chunks/bundle-yOmQxfc5.js.map +0 -1
- package/dist/chunks/bundle-y_cfYqAg.js +0 -69
- package/dist/chunks/bundle-y_cfYqAg.js.map +0 -1
- package/dist/chunks/bundle-ybeKF-fO.js +0 -26
- package/dist/chunks/bundle-ybeKF-fO.js.map +0 -1
- package/dist/chunks/bundle-ypBBz_XL.js +0 -62
- package/dist/chunks/bundle-ypBBz_XL.js.map +0 -1
- package/dist/chunks/bundle-zrpCI795.js +0 -25
- package/dist/chunks/bundle-zrpCI795.js.map +0 -1
- package/dist/cjs/App.js +0 -424
- package/dist/cjs/Channel/components/ChannelHeader.js +0 -69
- package/dist/cjs/Channel/components/ChannelUI.js +0 -164
- package/dist/cjs/Channel/components/FileViewer.js +0 -93
- package/dist/cjs/Channel/components/FrozenNotification.js +0 -18
- package/dist/cjs/Channel/components/Message.js +0 -343
- package/dist/cjs/Channel/components/MessageInput.js +0 -210
- package/dist/cjs/Channel/components/MessageList.js +0 -117
- package/dist/cjs/Channel/components/RemoveMessageModal.js +0 -54
- package/dist/cjs/Channel/components/SuggestedMentionList.js +0 -200
- package/dist/cjs/Channel/components/TypingIndicator.js +0 -89
- package/dist/cjs/Channel/components/UnreadCount.js +0 -35
- package/dist/cjs/Channel/context.js +0 -31
- package/dist/cjs/Channel/hooks/useHandleUploadFiles.js +0 -135
- package/dist/cjs/Channel/hooks/useInitialMessagesFetch.js +0 -111
- package/dist/cjs/Channel/utils/compareMessagesForGrouping.js +0 -28
- package/dist/cjs/Channel/utils/getMessagePartsInfo.js +0 -36
- package/dist/cjs/Channel.js +0 -134
- package/dist/cjs/ChannelList/components/AddChannel.js +0 -66
- package/dist/cjs/ChannelList/components/ChannelListHeader.js +0 -43
- package/dist/cjs/ChannelList/components/ChannelListUI.js +0 -149
- package/dist/cjs/ChannelList/components/ChannelPreview.js +0 -133
- package/dist/cjs/ChannelList/components/ChannelPreviewAction.js +0 -73
- package/dist/cjs/ChannelList/context.js +0 -22
- package/dist/cjs/ChannelList.js +0 -83
- package/dist/cjs/ChannelSettings/components/ChannelProfile.js +0 -67
- package/dist/cjs/ChannelSettings/components/ChannelSettingsUI.js +0 -121
- package/dist/cjs/ChannelSettings/components/EditDetailsModal.js +0 -99
- package/dist/cjs/ChannelSettings/components/LeaveChannel.js +0 -69
- package/dist/cjs/ChannelSettings/components/ModerationPanel.js +0 -457
- package/dist/cjs/ChannelSettings/components/UserListItem.js +0 -69
- package/dist/cjs/ChannelSettings/components/UserPanel.js +0 -66
- package/dist/cjs/ChannelSettings/context.js +0 -72
- package/dist/cjs/ChannelSettings.js +0 -63
- package/dist/cjs/CreateChannel/components/CreateChannelUI.js +0 -50
- package/dist/cjs/CreateChannel/components/InviteUsers.js +0 -169
- package/dist/cjs/CreateChannel/components/SelectChannelType.js +0 -82
- package/dist/cjs/CreateChannel/context.js +0 -16
- package/dist/cjs/CreateChannel.js +0 -46
- package/dist/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +0 -70
- package/dist/cjs/CreateOpenChannel/context.js +0 -52
- package/dist/cjs/CreateOpenChannel.js +0 -35
- package/dist/cjs/EditUserProfile/components/EditUserProfileUI.js +0 -125
- package/dist/cjs/EditUserProfile.js +0 -36
- package/dist/cjs/MessageSearch/components/MessageSearchUI.js +0 -94
- package/dist/cjs/MessageSearch/context.js +0 -261
- package/dist/cjs/MessageSearch.js +0 -79
- package/dist/cjs/OpenChannel/components/FrozenChannelNotification.js +0 -17
- package/dist/cjs/OpenChannel/components/OpenChannelHeader.js +0 -56
- package/dist/cjs/OpenChannel/components/OpenChannelInput.js +0 -65
- package/dist/cjs/OpenChannel/components/OpenChannelMessage.js +0 -199
- package/dist/cjs/OpenChannel/components/OpenChannelMessageList.js +0 -124
- package/dist/cjs/OpenChannel/components/OpenChannelUI.js +0 -104
- package/dist/cjs/OpenChannel/context.js +0 -36
- package/dist/cjs/OpenChannel.js +0 -82
- package/dist/cjs/OpenChannelList/components/OpenChannelListUI.js +0 -116
- package/dist/cjs/OpenChannelList/components/OpenChannelPreview.js +0 -31
- package/dist/cjs/OpenChannelList/context.js +0 -17
- package/dist/cjs/OpenChannelList.js +0 -47
- package/dist/cjs/OpenChannelSettings/components/EditDetailsModal.js +0 -91
- package/dist/cjs/OpenChannelSettings/components/OpenChannelProfile.js +0 -58
- package/dist/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +0 -92
- package/dist/cjs/OpenChannelSettings/components/OperatorUI.js +0 -508
- package/dist/cjs/OpenChannelSettings/components/ParticipantUI.js +0 -42
- package/dist/cjs/OpenChannelSettings/context.js +0 -126
- package/dist/cjs/OpenChannelSettings.js +0 -58
- package/dist/cjs/SendbirdProvider.js +0 -1066
- package/dist/cjs/Thread/components/ParentMessageInfo.js +0 -254
- package/dist/cjs/Thread/components/ParentMessageInfoItem.js +0 -150
- package/dist/cjs/Thread/components/ThreadHeader.js +0 -34
- package/dist/cjs/Thread/components/ThreadList.js +0 -172
- package/dist/cjs/Thread/components/ThreadListItem.js +0 -335
- package/dist/cjs/Thread/components/ThreadMessageInput.js +0 -189
- package/dist/cjs/Thread/components/ThreadUI.js +0 -268
- package/dist/cjs/Thread/context.js +0 -1337
- package/dist/cjs/Thread.js +0 -130
- package/dist/cjs/VoicePlayer/context.js +0 -15
- package/dist/cjs/VoicePlayer/useVoicePlayer.js +0 -73
- package/dist/cjs/VoiceRecorder/context.js +0 -138
- package/dist/cjs/VoiceRecorder/useVoiceRecorder.js +0 -111
- package/dist/cjs/chunks/bundle--A7guNuh.js +0 -179
- package/dist/cjs/chunks/bundle--A7guNuh.js.map +0 -1
- package/dist/cjs/chunks/bundle--gwwLhzk.js +0 -20
- package/dist/cjs/chunks/bundle--gwwLhzk.js.map +0 -1
- package/dist/cjs/chunks/bundle-0fVnLVNe.js +0 -236
- package/dist/cjs/chunks/bundle-0fVnLVNe.js.map +0 -1
- package/dist/cjs/chunks/bundle-0pCHXNhB.js +0 -102
- package/dist/cjs/chunks/bundle-0pCHXNhB.js.map +0 -1
- package/dist/cjs/chunks/bundle-1NVer2pf.js +0 -279
- package/dist/cjs/chunks/bundle-1NVer2pf.js.map +0 -1
- package/dist/cjs/chunks/bundle-1m_ISTBo.js +0 -224
- package/dist/cjs/chunks/bundle-1m_ISTBo.js.map +0 -1
- package/dist/cjs/chunks/bundle-21NdG-dk.js +0 -839
- package/dist/cjs/chunks/bundle-21NdG-dk.js.map +0 -1
- package/dist/cjs/chunks/bundle-2Gla4s_W.js +0 -69
- package/dist/cjs/chunks/bundle-2Gla4s_W.js.map +0 -1
- package/dist/cjs/chunks/bundle-2OrFys0C.js +0 -35
- package/dist/cjs/chunks/bundle-2OrFys0C.js.map +0 -1
- package/dist/cjs/chunks/bundle-2k4v26zP.js +0 -79
- package/dist/cjs/chunks/bundle-2k4v26zP.js.map +0 -1
- package/dist/cjs/chunks/bundle-3CEbSubz.js +0 -1858
- package/dist/cjs/chunks/bundle-3CEbSubz.js.map +0 -1
- package/dist/cjs/chunks/bundle-4RnnhACR.js +0 -84
- package/dist/cjs/chunks/bundle-4RnnhACR.js.map +0 -1
- package/dist/cjs/chunks/bundle-4c_n4Hqm.js +0 -220
- package/dist/cjs/chunks/bundle-4c_n4Hqm.js.map +0 -1
- package/dist/cjs/chunks/bundle-5ApFd_AY.js +0 -707
- package/dist/cjs/chunks/bundle-5ApFd_AY.js.map +0 -1
- package/dist/cjs/chunks/bundle-60azKP5A.js +0 -26
- package/dist/cjs/chunks/bundle-60azKP5A.js.map +0 -1
- package/dist/cjs/chunks/bundle-66bD8OVx.js +0 -84
- package/dist/cjs/chunks/bundle-66bD8OVx.js.map +0 -1
- package/dist/cjs/chunks/bundle-9-nr_N-b.js +0 -74
- package/dist/cjs/chunks/bundle-9-nr_N-b.js.map +0 -1
- package/dist/cjs/chunks/bundle-9pKlhVIU.js +0 -178
- package/dist/cjs/chunks/bundle-9pKlhVIU.js.map +0 -1
- package/dist/cjs/chunks/bundle-BuqbuTrW.js +0 -217
- package/dist/cjs/chunks/bundle-BuqbuTrW.js.map +0 -1
- package/dist/cjs/chunks/bundle-CCMHQL0G.js +0 -238
- package/dist/cjs/chunks/bundle-CCMHQL0G.js.map +0 -1
- package/dist/cjs/chunks/bundle-Et2Mrxtk.js +0 -74
- package/dist/cjs/chunks/bundle-Et2Mrxtk.js.map +0 -1
- package/dist/cjs/chunks/bundle-J8UlQsgX.js +0 -6
- package/dist/cjs/chunks/bundle-J8UlQsgX.js.map +0 -1
- package/dist/cjs/chunks/bundle-MH5QFTEj.js +0 -360
- package/dist/cjs/chunks/bundle-MH5QFTEj.js.map +0 -1
- package/dist/cjs/chunks/bundle-NE9TILWI.js +0 -28
- package/dist/cjs/chunks/bundle-NE9TILWI.js.map +0 -1
- package/dist/cjs/chunks/bundle-NkP5dRWo.js +0 -181
- package/dist/cjs/chunks/bundle-NkP5dRWo.js.map +0 -1
- package/dist/cjs/chunks/bundle-NrEnVvdl.js +0 -17
- package/dist/cjs/chunks/bundle-NrEnVvdl.js.map +0 -1
- package/dist/cjs/chunks/bundle-Nz8Lrwe4.js +0 -11
- package/dist/cjs/chunks/bundle-Nz8Lrwe4.js.map +0 -1
- package/dist/cjs/chunks/bundle-Ptyw-8Gc.js +0 -50
- package/dist/cjs/chunks/bundle-Ptyw-8Gc.js.map +0 -1
- package/dist/cjs/chunks/bundle-PvmgqR2n.js +0 -15
- package/dist/cjs/chunks/bundle-PvmgqR2n.js.map +0 -1
- package/dist/cjs/chunks/bundle-SOsWW37c.js +0 -6
- package/dist/cjs/chunks/bundle-SOsWW37c.js.map +0 -1
- package/dist/cjs/chunks/bundle-V1HT7uWN.js +0 -8
- package/dist/cjs/chunks/bundle-V1HT7uWN.js.map +0 -1
- package/dist/cjs/chunks/bundle-V2Qx8kYB.js +0 -99
- package/dist/cjs/chunks/bundle-V2Qx8kYB.js.map +0 -1
- package/dist/cjs/chunks/bundle-Ve2qVeg-.js +0 -30
- package/dist/cjs/chunks/bundle-Ve2qVeg-.js.map +0 -1
- package/dist/cjs/chunks/bundle-X2iyUz_d.js +0 -27
- package/dist/cjs/chunks/bundle-X2iyUz_d.js.map +0 -1
- package/dist/cjs/chunks/bundle-XAU1mgI8.js +0 -39
- package/dist/cjs/chunks/bundle-XAU1mgI8.js.map +0 -1
- package/dist/cjs/chunks/bundle-Xwc-PXin.js +0 -27
- package/dist/cjs/chunks/bundle-Xwc-PXin.js.map +0 -1
- package/dist/cjs/chunks/bundle-YEhDTta6.js +0 -19
- package/dist/cjs/chunks/bundle-YEhDTta6.js.map +0 -1
- package/dist/cjs/chunks/bundle-Z30xKPjr.js +0 -32
- package/dist/cjs/chunks/bundle-Z30xKPjr.js.map +0 -1
- package/dist/cjs/chunks/bundle-_fpgAJFT.js +0 -16
- package/dist/cjs/chunks/bundle-_fpgAJFT.js.map +0 -1
- package/dist/cjs/chunks/bundle-aKKIV6sp.js +0 -68
- package/dist/cjs/chunks/bundle-aKKIV6sp.js.map +0 -1
- package/dist/cjs/chunks/bundle-alfVNg30.js +0 -22
- package/dist/cjs/chunks/bundle-alfVNg30.js.map +0 -1
- package/dist/cjs/chunks/bundle-ayxcxLwI.js +0 -264
- package/dist/cjs/chunks/bundle-ayxcxLwI.js.map +0 -1
- package/dist/cjs/chunks/bundle-bQ1hwrcE.js +0 -6
- package/dist/cjs/chunks/bundle-bQ1hwrcE.js.map +0 -1
- package/dist/cjs/chunks/bundle-c8PEMQg3.js +0 -137
- package/dist/cjs/chunks/bundle-c8PEMQg3.js.map +0 -1
- package/dist/cjs/chunks/bundle-eSkHuU0e.js +0 -38
- package/dist/cjs/chunks/bundle-eSkHuU0e.js.map +0 -1
- package/dist/cjs/chunks/bundle-fV1pX_hi.js +0 -114
- package/dist/cjs/chunks/bundle-fV1pX_hi.js.map +0 -1
- package/dist/cjs/chunks/bundle-f_lSJlZS.js +0 -15
- package/dist/cjs/chunks/bundle-f_lSJlZS.js.map +0 -1
- package/dist/cjs/chunks/bundle-gOtrtUIz.js +0 -75
- package/dist/cjs/chunks/bundle-gOtrtUIz.js.map +0 -1
- package/dist/cjs/chunks/bundle-ga2lvSm8.js +0 -46
- package/dist/cjs/chunks/bundle-ga2lvSm8.js.map +0 -1
- package/dist/cjs/chunks/bundle-jGjSthM3.js +0 -128
- package/dist/cjs/chunks/bundle-jGjSthM3.js.map +0 -1
- package/dist/cjs/chunks/bundle-kbntHY88.js +0 -1409
- package/dist/cjs/chunks/bundle-kbntHY88.js.map +0 -1
- package/dist/cjs/chunks/bundle-oTWBtf3l.js +0 -510
- package/dist/cjs/chunks/bundle-oTWBtf3l.js.map +0 -1
- package/dist/cjs/chunks/bundle-oXJwwgxy.js +0 -79
- package/dist/cjs/chunks/bundle-oXJwwgxy.js.map +0 -1
- package/dist/cjs/chunks/bundle-p04f0r41.js +0 -136
- package/dist/cjs/chunks/bundle-p04f0r41.js.map +0 -1
- package/dist/cjs/chunks/bundle-p9s6eIWW.js +0 -18
- package/dist/cjs/chunks/bundle-p9s6eIWW.js.map +0 -1
- package/dist/cjs/chunks/bundle-tWIm10AV.js +0 -7
- package/dist/cjs/chunks/bundle-tWIm10AV.js.map +0 -1
- package/dist/cjs/chunks/bundle-ttM5NXg0.js +0 -224
- package/dist/cjs/chunks/bundle-ttM5NXg0.js.map +0 -1
- package/dist/cjs/chunks/bundle-wiCMJG39.js +0 -139
- package/dist/cjs/chunks/bundle-wiCMJG39.js.map +0 -1
- package/dist/cjs/chunks/bundle-xeTDYh-o.js +0 -159
- package/dist/cjs/chunks/bundle-xeTDYh-o.js.map +0 -1
- package/dist/cjs/chunks/bundle-zBsUorPd.js +0 -109
- package/dist/cjs/chunks/bundle-zBsUorPd.js.map +0 -1
- package/dist/cjs/chunks/bundle-zaeeh2h7.js +0 -1545
- package/dist/cjs/chunks/bundle-zaeeh2h7.js.map +0 -1
- package/dist/cjs/chunks/bundle-zpXEP6A3.js +0 -10
- package/dist/cjs/chunks/bundle-zpXEP6A3.js.map +0 -1
- package/dist/cjs/hooks/useModal.js +0 -59
- package/dist/cjs/index.js +0 -223
- package/dist/cjs/pubSub/topics.js +0 -18
- package/dist/cjs/sendbirdSelectors.js +0 -580
- package/dist/cjs/ui/Accordion.js +0 -52
- package/dist/cjs/ui/AccordionGroup.js +0 -17
- package/dist/cjs/ui/AdminMessage.js +0 -21
- package/dist/cjs/ui/Avatar.js +0 -18
- package/dist/cjs/ui/Badge.js +0 -26
- package/dist/cjs/ui/BottomSheet.js +0 -38
- package/dist/cjs/ui/Button.js +0 -53
- package/dist/cjs/ui/ChannelAvatar.js +0 -32
- package/dist/cjs/ui/ConnectionStatus.js +0 -20
- package/dist/cjs/ui/ContextMenu.js +0 -216
- package/dist/cjs/ui/DateSeparator.js +0 -21
- package/dist/cjs/ui/EmojiReactions.js +0 -179
- package/dist/cjs/ui/FileMessageItemBody.js +0 -41
- package/dist/cjs/ui/FileViewer.js +0 -33
- package/dist/cjs/ui/Icon.js +0 -1140
- package/dist/cjs/ui/IconButton.js +0 -26
- package/dist/cjs/ui/ImageRenderer.js +0 -151
- package/dist/cjs/ui/Input.js +0 -26
- package/dist/cjs/ui/Label.js +0 -16
- package/dist/cjs/ui/LinkLabel.js +0 -32
- package/dist/cjs/ui/Loader.js +0 -20
- package/dist/cjs/ui/MentionLabel.js +0 -69
- package/dist/cjs/ui/MentionUserLabel.js +0 -12
- package/dist/cjs/ui/MessageContent.js +0 -341
- package/dist/cjs/ui/MessageInput/hooks/usePaste.js +0 -17
- package/dist/cjs/ui/MessageInput.js +0 -464
- package/dist/cjs/ui/MessageItemMenu.js +0 -131
- package/dist/cjs/ui/MessageItemReactionMenu.js +0 -58
- package/dist/cjs/ui/MessageSearchFileItem.js +0 -92
- package/dist/cjs/ui/MessageSearchItem.js +0 -63
- package/dist/cjs/ui/MessageStatus.js +0 -26
- package/dist/cjs/ui/Modal.js +0 -26
- package/dist/cjs/ui/MutedAvatarOverlay.js +0 -23
- package/dist/cjs/ui/OGMessageItemBody.js +0 -87
- package/dist/cjs/ui/OpenChannelAdminMessage.js +0 -17
- package/dist/cjs/ui/OpenChannelAvatar.js +0 -26
- package/dist/cjs/ui/OpenchannelConversationHeader.js +0 -34
- package/dist/cjs/ui/OpenchannelFileMessage.js +0 -141
- package/dist/cjs/ui/OpenchannelOGMessage.js +0 -186
- package/dist/cjs/ui/OpenchannelThumbnailMessage.js +0 -178
- package/dist/cjs/ui/OpenchannelUserMessage.js +0 -149
- package/dist/cjs/ui/PlaceHolder.js +0 -58
- package/dist/cjs/ui/PlaybackTime.js +0 -22
- package/dist/cjs/ui/QuoteMessage.js +0 -81
- package/dist/cjs/ui/QuoteMessageInput.js +0 -84
- package/dist/cjs/ui/ReactionBadge.js +0 -28
- package/dist/cjs/ui/ReactionButton.js +0 -25
- package/dist/cjs/ui/SortByRow.js +0 -31
- package/dist/cjs/ui/TextButton.js +0 -17
- package/dist/cjs/ui/TextMessageItemBody.js +0 -66
- package/dist/cjs/ui/ThreadReplies.js +0 -44
- package/dist/cjs/ui/ThumbnailMessageItemBody.js +0 -45
- package/dist/cjs/ui/Toggle.js +0 -131
- package/dist/cjs/ui/Tooltip.js +0 -17
- package/dist/cjs/ui/TooltipWrapper.js +0 -21
- package/dist/cjs/ui/TypingIndicatorBubble.js +0 -69
- package/dist/cjs/ui/UnknownMessageItemBody.js +0 -29
- package/dist/cjs/ui/UserListItem.js +0 -75
- package/dist/cjs/ui/UserProfile.js +0 -60
- package/dist/cjs/ui/VoiceMessageInput.js +0 -21
- package/dist/cjs/ui/VoiceMessageItemBody.js +0 -74
- package/dist/cjs/ui/Word.js +0 -82
- package/dist/cjs/useSendbirdStateContext.js +0 -27
- package/dist/cjs/utils/message/isVoiceMessage.js +0 -11
- package/dist/cjs/withSendbird.js +0 -28
- package/dist/dist/index.css +0 -7839
- package/dist/dist/index.css.map +0 -1
- package/dist/hooks/useModal.js +0 -55
- package/dist/index.js +0 -201
- package/dist/package.json +0 -1521
- package/dist/pubSub/topics.js +0 -2
- package/dist/sendbirdSelectors.js +0 -555
- package/dist/ui/Accordion.js +0 -47
- package/dist/ui/AccordionGroup.js +0 -15
- package/dist/ui/AdminMessage.js +0 -19
- package/dist/ui/Avatar.js +0 -9
- package/dist/ui/Badge.js +0 -24
- package/dist/ui/BottomSheet.js +0 -36
- package/dist/ui/Button.js +0 -49
- package/dist/ui/ChannelAvatar.js +0 -30
- package/dist/ui/ConnectionStatus.js +0 -18
- package/dist/ui/ContextMenu.js +0 -207
- package/dist/ui/DateSeparator.js +0 -19
- package/dist/ui/EmojiReactions.js +0 -177
- package/dist/ui/FileMessageItemBody.js +0 -39
- package/dist/ui/FileViewer.js +0 -24
- package/dist/ui/Icon.js +0 -1116
- package/dist/ui/IconButton.js +0 -24
- package/dist/ui/ImageRenderer.js +0 -145
- package/dist/ui/Input.js +0 -21
- package/dist/ui/Label.js +0 -5
- package/dist/ui/LinkLabel.js +0 -26
- package/dist/ui/Loader.js +0 -18
- package/dist/ui/MentionLabel.js +0 -67
- package/dist/ui/MentionUserLabel.js +0 -10
- package/dist/ui/MessageContent.js +0 -339
- package/dist/ui/MessageInput/hooks/usePaste.js +0 -8
- package/dist/ui/MessageInput.js +0 -462
- package/dist/ui/MessageItemMenu.js +0 -126
- package/dist/ui/MessageItemReactionMenu.js +0 -53
- package/dist/ui/MessageSearchFileItem.js +0 -90
- package/dist/ui/MessageSearchItem.js +0 -61
- package/dist/ui/MessageStatus.js +0 -17
- package/dist/ui/Modal.js +0 -14
- package/dist/ui/MutedAvatarOverlay.js +0 -21
- package/dist/ui/OGMessageItemBody.js +0 -85
- package/dist/ui/OpenChannelAdminMessage.js +0 -15
- package/dist/ui/OpenChannelAvatar.js +0 -24
- package/dist/ui/OpenchannelConversationHeader.js +0 -32
- package/dist/ui/OpenchannelFileMessage.js +0 -139
- package/dist/ui/OpenchannelOGMessage.js +0 -184
- package/dist/ui/OpenchannelThumbnailMessage.js +0 -176
- package/dist/ui/OpenchannelUserMessage.js +0 -147
- package/dist/ui/PlaceHolder.js +0 -53
- package/dist/ui/PlaybackTime.js +0 -17
- package/dist/ui/QuoteMessage.js +0 -79
- package/dist/ui/QuoteMessageInput.js +0 -82
- package/dist/ui/ReactionBadge.js +0 -26
- package/dist/ui/ReactionButton.js +0 -23
- package/dist/ui/SortByRow.js +0 -29
- package/dist/ui/TextButton.js +0 -15
- package/dist/ui/TextMessageItemBody.js +0 -64
- package/dist/ui/ThreadReplies.js +0 -42
- package/dist/ui/ThumbnailMessageItemBody.js +0 -43
- package/dist/ui/Toggle.js +0 -126
- package/dist/ui/Tooltip.js +0 -15
- package/dist/ui/TooltipWrapper.js +0 -19
- package/dist/ui/TypingIndicatorBubble.js +0 -67
- package/dist/ui/UnknownMessageItemBody.js +0 -27
- package/dist/ui/UserListItem.js +0 -73
- package/dist/ui/UserProfile.js +0 -58
- package/dist/ui/VoiceMessageInput.js +0 -15
- package/dist/ui/VoiceMessageItemBody.js +0 -69
- package/dist/ui/Word.js +0 -80
- package/dist/useSendbirdStateContext.js +0 -22
- package/dist/utils/message/isVoiceMessage.js +0 -9
- package/dist/withSendbird.js +0 -23
- /package/{dist/App.js.map → App.js.map} +0 -0
- /package/{dist/Channel → Channel}/components/ChannelHeader.js.map +0 -0
- /package/{dist/Channel → Channel}/components/ChannelUI.js.map +0 -0
- /package/{dist/Channel → Channel}/components/FileViewer.js.map +0 -0
- /package/{dist/Channel → Channel}/components/FrozenNotification.js.map +0 -0
- /package/{dist/Channel → Channel}/components/Message.js.map +0 -0
- /package/{dist/Channel → Channel}/components/MessageInput.js.map +0 -0
- /package/{dist/Channel → Channel}/components/MessageList.js.map +0 -0
- /package/{dist/Channel → Channel}/components/RemoveMessageModal.js.map +0 -0
- /package/{dist/Channel → Channel}/components/SuggestedMentionList.js.map +0 -0
- /package/{dist/Channel → Channel}/components/TypingIndicator.js.map +0 -0
- /package/{dist/Channel → Channel}/components/UnreadCount.js.map +0 -0
- /package/{dist/Channel → Channel}/context.js.map +0 -0
- /package/{dist/Channel → Channel}/hooks/useHandleUploadFiles.js.map +0 -0
- /package/{dist/Channel → Channel}/hooks/useInitialMessagesFetch.js.map +0 -0
- /package/{dist/Channel → Channel}/utils/compareMessagesForGrouping.js.map +0 -0
- /package/{dist/Channel → Channel}/utils/getMessagePartsInfo.js.map +0 -0
- /package/{dist/Channel.js.map → Channel.js.map} +0 -0
- /package/{dist/ChannelList → ChannelList}/components/AddChannel.js.map +0 -0
- /package/{dist/ChannelList → ChannelList}/components/ChannelListHeader.js.map +0 -0
- /package/{dist/ChannelList → ChannelList}/components/ChannelListUI.js.map +0 -0
- /package/{dist/ChannelList → ChannelList}/components/ChannelPreview.js.map +0 -0
- /package/{dist/ChannelList → ChannelList}/components/ChannelPreviewAction.js.map +0 -0
- /package/{dist/ChannelList → ChannelList}/context.js.map +0 -0
- /package/{dist/ChannelList.js.map → ChannelList.js.map} +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/components/ChannelProfile.js.map +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/components/ChannelSettingsUI.js.map +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/components/EditDetailsModal.js.map +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/components/LeaveChannel.js.map +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/components/ModerationPanel.js.map +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/components/UserListItem.js.map +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/components/UserPanel.js.map +0 -0
- /package/{dist/ChannelSettings → ChannelSettings}/context.js.map +0 -0
- /package/{dist/ChannelSettings.js.map → ChannelSettings.js.map} +0 -0
- /package/{dist/CreateChannel → CreateChannel}/components/CreateChannelUI.js.map +0 -0
- /package/{dist/CreateChannel → CreateChannel}/components/InviteUsers.js.map +0 -0
- /package/{dist/CreateChannel → CreateChannel}/components/SelectChannelType.js.map +0 -0
- /package/{dist/CreateChannel → CreateChannel}/context.js.map +0 -0
- /package/{dist/CreateChannel.js.map → CreateChannel.js.map} +0 -0
- /package/{dist/CreateOpenChannel → CreateOpenChannel}/components/CreateOpenChannelUI.js.map +0 -0
- /package/{dist/CreateOpenChannel → CreateOpenChannel}/context.js.map +0 -0
- /package/{dist/CreateOpenChannel.js.map → CreateOpenChannel.js.map} +0 -0
- /package/{dist/EditUserProfile → EditUserProfile}/components/EditUserProfileUI.js.map +0 -0
- /package/{dist/EditUserProfile → EditUserProfile}/context.js +0 -0
- /package/{dist/EditUserProfile → EditUserProfile}/context.js.map +0 -0
- /package/{dist/EditUserProfile.js.map → EditUserProfile.js.map} +0 -0
- /package/{dist/Message → Message}/context.js +0 -0
- /package/{dist/Message → Message}/context.js.map +0 -0
- /package/{dist/Message → Message}/hooks/useDirtyGetMentions.js +0 -0
- /package/{dist/Message → Message}/hooks/useDirtyGetMentions.js.map +0 -0
- /package/{dist/MessageSearch → MessageSearch}/components/MessageSearchUI.js.map +0 -0
- /package/{dist/MessageSearch → MessageSearch}/context.js.map +0 -0
- /package/{dist/MessageSearch.js.map → MessageSearch.js.map} +0 -0
- /package/{dist/OpenChannel → OpenChannel}/components/FrozenChannelNotification.js.map +0 -0
- /package/{dist/OpenChannel → OpenChannel}/components/OpenChannelHeader.js.map +0 -0
- /package/{dist/OpenChannel → OpenChannel}/components/OpenChannelInput.js.map +0 -0
- /package/{dist/OpenChannel → OpenChannel}/components/OpenChannelMessage.js.map +0 -0
- /package/{dist/OpenChannel → OpenChannel}/components/OpenChannelMessageList.js.map +0 -0
- /package/{dist/OpenChannel → OpenChannel}/components/OpenChannelUI.js.map +0 -0
- /package/{dist/OpenChannel → OpenChannel}/context.js.map +0 -0
- /package/{dist/OpenChannel.js.map → OpenChannel.js.map} +0 -0
- /package/{dist/OpenChannelList → OpenChannelList}/components/OpenChannelListUI.js.map +0 -0
- /package/{dist/OpenChannelList → OpenChannelList}/components/OpenChannelPreview.js.map +0 -0
- /package/{dist/OpenChannelList → OpenChannelList}/context.js.map +0 -0
- /package/{dist/OpenChannelList.js.map → OpenChannelList.js.map} +0 -0
- /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/EditDetailsModal.js.map +0 -0
- /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/OpenChannelProfile.js.map +0 -0
- /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/OpenChannelSettingsUI.js.map +0 -0
- /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/OperatorUI.js.map +0 -0
- /package/{dist/OpenChannelSettings → OpenChannelSettings}/components/ParticipantUI.js.map +0 -0
- /package/{dist/OpenChannelSettings → OpenChannelSettings}/context.js.map +0 -0
- /package/{dist/OpenChannelSettings.js.map → OpenChannelSettings.js.map} +0 -0
- /package/{dist/SendbirdProvider.js.map → SendbirdProvider.js.map} +0 -0
- /package/{dist/Thread → Thread}/components/ParentMessageInfo.js.map +0 -0
- /package/{dist/Thread → Thread}/components/ParentMessageInfoItem.js.map +0 -0
- /package/{dist/Thread → Thread}/components/ThreadHeader.js.map +0 -0
- /package/{dist/Thread → Thread}/components/ThreadList.js.map +0 -0
- /package/{dist/Thread → Thread}/components/ThreadListItem.js.map +0 -0
- /package/{dist/Thread → Thread}/components/ThreadMessageInput.js.map +0 -0
- /package/{dist/Thread → Thread}/components/ThreadUI.js.map +0 -0
- /package/{dist/Thread → Thread}/context/types.js +0 -0
- /package/{dist/Thread → Thread}/context/types.js.map +0 -0
- /package/{dist/Thread → Thread}/context.js.map +0 -0
- /package/{dist/Thread.js.map → Thread.js.map} +0 -0
- /package/{dist/VoicePlayer → VoicePlayer}/context.js.map +0 -0
- /package/{dist/VoicePlayer → VoicePlayer}/useVoicePlayer.js.map +0 -0
- /package/{dist/VoiceRecorder → VoiceRecorder}/context.js.map +0 -0
- /package/{dist/VoiceRecorder → VoiceRecorder}/useVoiceRecorder.js.map +0 -0
- /package/{dist/cjs → cjs}/App.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/ChannelHeader.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/ChannelUI.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/FileViewer.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/FrozenNotification.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/Message.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/MessageInput.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/MessageList.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/RemoveMessageModal.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/SuggestedMentionList.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/TypingIndicator.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/components/UnreadCount.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/context.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/hooks/useHandleUploadFiles.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/hooks/useInitialMessagesFetch.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/utils/compareMessagesForGrouping.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel/utils/getMessagePartsInfo.js.map +0 -0
- /package/{dist/cjs → cjs}/Channel.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelList/components/AddChannel.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelList/components/ChannelListHeader.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelList/components/ChannelListUI.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelList/components/ChannelPreview.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelList/components/ChannelPreviewAction.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelList/context.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelList.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/components/ChannelProfile.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/components/ChannelSettingsUI.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/components/EditDetailsModal.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/components/LeaveChannel.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/components/ModerationPanel.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/components/UserListItem.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/components/UserPanel.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings/context.js.map +0 -0
- /package/{dist/cjs → cjs}/ChannelSettings.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateChannel/components/CreateChannelUI.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateChannel/components/InviteUsers.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateChannel/components/SelectChannelType.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateChannel/context.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateChannel.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateOpenChannel/components/CreateOpenChannelUI.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateOpenChannel/context.js.map +0 -0
- /package/{dist/cjs → cjs}/CreateOpenChannel.js.map +0 -0
- /package/{dist/cjs → cjs}/EditUserProfile/components/EditUserProfileUI.js.map +0 -0
- /package/{dist/cjs → cjs}/EditUserProfile/context.js +0 -0
- /package/{dist/cjs → cjs}/EditUserProfile/context.js.map +0 -0
- /package/{dist/cjs → cjs}/EditUserProfile.js.map +0 -0
- /package/{dist/cjs → cjs}/Message/context.js +0 -0
- /package/{dist/cjs → cjs}/Message/context.js.map +0 -0
- /package/{dist/cjs → cjs}/Message/hooks/useDirtyGetMentions.js +0 -0
- /package/{dist/cjs → cjs}/Message/hooks/useDirtyGetMentions.js.map +0 -0
- /package/{dist/cjs → cjs}/MessageSearch/components/MessageSearchUI.js.map +0 -0
- /package/{dist/cjs → cjs}/MessageSearch/context.js.map +0 -0
- /package/{dist/cjs → cjs}/MessageSearch.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel/components/FrozenChannelNotification.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel/components/OpenChannelHeader.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel/components/OpenChannelInput.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel/components/OpenChannelMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel/components/OpenChannelMessageList.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel/components/OpenChannelUI.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel/context.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannel.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelList/components/OpenChannelListUI.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelList/components/OpenChannelPreview.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelList/context.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelList.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelSettings/components/EditDetailsModal.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelSettings/components/OpenChannelProfile.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelSettings/components/OperatorUI.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelSettings/components/ParticipantUI.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelSettings/context.js.map +0 -0
- /package/{dist/cjs → cjs}/OpenChannelSettings.js.map +0 -0
- /package/{dist/cjs → cjs}/SendbirdProvider.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/components/ParentMessageInfo.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/components/ParentMessageInfoItem.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/components/ThreadHeader.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/components/ThreadList.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/components/ThreadListItem.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/components/ThreadMessageInput.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/components/ThreadUI.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/context/types.js +0 -0
- /package/{dist/cjs → cjs}/Thread/context/types.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread/context.js.map +0 -0
- /package/{dist/cjs → cjs}/Thread.js.map +0 -0
- /package/{dist/cjs → cjs}/VoicePlayer/context.js.map +0 -0
- /package/{dist/cjs → cjs}/VoicePlayer/useVoicePlayer.js.map +0 -0
- /package/{dist/cjs → cjs}/VoiceRecorder/context.js.map +0 -0
- /package/{dist/cjs → cjs}/VoiceRecorder/useVoiceRecorder.js.map +0 -0
- /package/{dist/cjs → cjs}/handlers/ConnectionHandler.js +0 -0
- /package/{dist/cjs → cjs}/handlers/ConnectionHandler.js.map +0 -0
- /package/{dist/cjs → cjs}/handlers/GroupChannelHandler.js +0 -0
- /package/{dist/cjs → cjs}/handlers/GroupChannelHandler.js.map +0 -0
- /package/{dist/cjs → cjs}/handlers/OpenChannelHandler.js +0 -0
- /package/{dist/cjs → cjs}/handlers/OpenChannelHandler.js.map +0 -0
- /package/{dist/cjs → cjs}/handlers/SessionHandler.js +0 -0
- /package/{dist/cjs → cjs}/handlers/SessionHandler.js.map +0 -0
- /package/{dist/cjs → cjs}/handlers/UserEventHandler.js +0 -0
- /package/{dist/cjs → cjs}/handlers/UserEventHandler.js.map +0 -0
- /package/{dist/cjs → cjs}/hooks/useModal.js.map +0 -0
- /package/{dist/cjs → cjs}/index.js.map +0 -0
- /package/{dist/cjs → cjs}/lame.all.js +0 -0
- /package/{dist/cjs → cjs}/lame.all.js.map +0 -0
- /package/{dist/cjs → cjs}/package.json +0 -0
- /package/{dist/cjs → cjs}/pubSub/topics.js.map +0 -0
- /package/{dist/cjs → cjs}/sendbirdSelectors.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Accordion.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/AccordionGroup.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/AdminMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Avatar.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Badge.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/BottomSheet.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Button.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ChannelAvatar.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Checkbox.js +0 -0
- /package/{dist/cjs → cjs}/ui/Checkbox.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ConnectionStatus.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ContextMenu.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/DateSeparator.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/EmojiReactions.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/FileMessageItemBody.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/FileViewer.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Icon.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/IconButton.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ImageRenderer.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Input.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Label.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/LinkLabel.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Loader.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MentionLabel.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MentionUserLabel.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageContent.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageInput/hooks/usePaste.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageInput.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageItemMenu.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageItemReactionMenu.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageSearchFileItem.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageSearchItem.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MessageStatus.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Modal.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/MutedAvatarOverlay.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OGMessageItemBody.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OpenChannelAdminMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OpenChannelAvatar.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OpenchannelConversationHeader.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OpenchannelFileMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OpenchannelOGMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OpenchannelThumbnailMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/OpenchannelUserMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/PlaceHolder.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/PlaybackTime.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ProgressBar.js +0 -0
- /package/{dist/cjs → cjs}/ui/ProgressBar.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/QuoteMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/QuoteMessageInput.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ReactionBadge.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ReactionButton.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/SortByRow.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/TextButton.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/TextMessageItemBody.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ThreadReplies.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/ThumbnailMessageItemBody.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Toggle.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Tooltip.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/TooltipWrapper.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/TypingIndicatorBubble.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/UnknownMessageItemBody.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/UserListItem.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/UserProfile.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/VoiceMessageInput.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/VoiceMessageItemBody.js.map +0 -0
- /package/{dist/cjs → cjs}/ui/Word.js.map +0 -0
- /package/{dist/cjs → cjs}/useSendbirdStateContext.js.map +0 -0
- /package/{dist/cjs → cjs}/utils/message/getOutgoingMessageState.js +0 -0
- /package/{dist/cjs → cjs}/utils/message/getOutgoingMessageState.js.map +0 -0
- /package/{dist/cjs → cjs}/utils/message/isVoiceMessage.js.map +0 -0
- /package/{dist/cjs → cjs}/withSendbird.js.map +0 -0
- /package/{dist/handlers → handlers}/ConnectionHandler.js +0 -0
- /package/{dist/handlers → handlers}/ConnectionHandler.js.map +0 -0
- /package/{dist/handlers → handlers}/GroupChannelHandler.js +0 -0
- /package/{dist/handlers → handlers}/GroupChannelHandler.js.map +0 -0
- /package/{dist/handlers → handlers}/OpenChannelHandler.js +0 -0
- /package/{dist/handlers → handlers}/OpenChannelHandler.js.map +0 -0
- /package/{dist/handlers → handlers}/SessionHandler.js +0 -0
- /package/{dist/handlers → handlers}/SessionHandler.js.map +0 -0
- /package/{dist/handlers → handlers}/UserEventHandler.js +0 -0
- /package/{dist/handlers → handlers}/UserEventHandler.js.map +0 -0
- /package/{dist/hooks → hooks}/useModal.js.map +0 -0
- /package/{dist/index.js.map → index.js.map} +0 -0
- /package/{dist/lame.all.js → lame.all.js} +0 -0
- /package/{dist/lame.all.js.map → lame.all.js.map} +0 -0
- /package/{dist/pubSub → pubSub}/topics.js.map +0 -0
- /package/{dist/sendbirdSelectors.js.map → sendbirdSelectors.js.map} +0 -0
- /package/{dist/types → types}/hooks/VoicePlayer/dux/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoicePlayer/dux/initialState.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoicePlayer/dux/reducer.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoicePlayer/index.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoicePlayer/useVoicePlayer.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoicePlayer/utils.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoiceRecorder/WebAudioUtils.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoiceRecorder/index.d.ts +0 -0
- /package/{dist/types → types}/hooks/VoiceRecorder/useVoiceRecorder.d.ts +0 -0
- /package/{dist/types → types}/hooks/useAppendDomNode.d.ts +0 -0
- /package/{dist/types → types}/hooks/useDebounce.d.ts +0 -0
- /package/{dist/types → types}/hooks/useHandleOnScrollCallback/index.d.ts +0 -0
- /package/{dist/types → types}/hooks/useLongPress.d.ts +0 -0
- /package/{dist/types → types}/hooks/useModal/ModalRoot/index.d.ts +0 -0
- /package/{dist/types → types}/hooks/useModal/index.d.ts +0 -0
- /package/{dist/types → types}/hooks/useMouseHover.d.ts +0 -0
- /package/{dist/types → types}/hooks/useOnScrollReachedEndDetector/index.d.ts +0 -0
- /package/{dist/types → types}/hooks/useOutsideAlerter.d.ts +0 -0
- /package/{dist/types → types}/hooks/useSendbirdStateContext.d.ts +0 -0
- /package/{dist/types → types}/hooks/useUnmount.d.ts +0 -0
- /package/{dist/types → types}/index.d.ts +0 -0
- /package/{dist/types → types}/lib/LocalizationContext.d.ts +0 -0
- /package/{dist/types → types}/lib/Logger/index.d.ts +0 -0
- /package/{dist/types → types}/lib/MediaQueryContext.d.ts +0 -0
- /package/{dist/types → types}/lib/Sendbird.d.ts +0 -0
- /package/{dist/types → types}/lib/SendbirdSdkContext.d.ts +0 -0
- /package/{dist/types → types}/lib/SendbirdState.d.ts +0 -0
- /package/{dist/types → types}/lib/UserProfileContext.d.ts +0 -0
- /package/{dist/types → types}/lib/VoiceMessageProvider.d.ts +0 -0
- /package/{dist/types → types}/lib/dux/sdk/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/lib/dux/sdk/initialState.d.ts +0 -0
- /package/{dist/types → types}/lib/dux/sdk/reducers.d.ts +0 -0
- /package/{dist/types → types}/lib/dux/user/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/lib/dux/user/initialState.d.ts +0 -0
- /package/{dist/types → types}/lib/dux/user/reducers.d.ts +0 -0
- /package/{dist/types → types}/lib/handlers/ConnectionHandler.d.ts +0 -0
- /package/{dist/types → types}/lib/handlers/GroupChannelHandler.d.ts +0 -0
- /package/{dist/types → types}/lib/handlers/OpenChannelHandler.d.ts +0 -0
- /package/{dist/types → types}/lib/handlers/SessionHandler.d.ts +0 -0
- /package/{dist/types → types}/lib/handlers/UserEventHandler.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/schedulerFactory.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useConnect/connect.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useConnect/disconnectSdk.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useConnect/index.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useConnect/setupConnection.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useConnect/types.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useMarkAsDeliveredScheduler.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useMarkAsReadScheduler.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useOnlineStatus.d.ts +0 -0
- /package/{dist/types → types}/lib/hooks/useTheme.d.ts +0 -0
- /package/{dist/types → types}/lib/pubSub/index.d.ts +0 -0
- /package/{dist/types → types}/lib/pubSub/topics.d.ts +0 -0
- /package/{dist/types → types}/lib/selectors.d.ts +0 -0
- /package/{dist/types → types}/lib/types.d.ts +0 -0
- /package/{dist/types → types}/lib/utils/resolvedReplyType.d.ts +0 -0
- /package/{dist/types → types}/lib/utils/uikitConfigMapper.d.ts +0 -0
- /package/{dist/types → types}/modules/App/AppLayout.d.ts +0 -0
- /package/{dist/types → types}/modules/App/DesktopLayout.d.ts +0 -0
- /package/{dist/types → types}/modules/App/MobileLayout.d.ts +0 -0
- /package/{dist/types → types}/modules/App/index.d.ts +0 -0
- /package/{dist/types → types}/modules/App/types.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/ChannelHeader/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/ChannelHeader/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/ChannelUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/FileViewer/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/FrozenNotification/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/Message/hooks/useIsElementInViewport.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/Message/hooks/useLazyImageLoader.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/Message/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/MessageInput/VoiceMessageInputWrapper.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/MessageInput/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/MessageList/getMessagePartsInfo.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/MessageList/hooks/useScrollBehavior.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/MessageList/hooks/useSetScrollToBottom.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/MessageList/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/RemoveMessageModal.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/SuggestedMentionList/SuggestedUserMentionItem.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/SuggestedMentionList/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/SuggestedMentionList/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/SuggestedReplies/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/TypingIndicator.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/components/UnreadCount/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/ChannelProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/compareMessagesForGrouping.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/const.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/dux/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/dux/initialState.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/dux/reducers.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useGetChannel.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useHandleChannelPubsubEvents.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useHandleReconnect.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useReconnectOnIdle.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useResendMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useScrollCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useScrollDownCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useScrollToMessage.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useSendMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useStatefulFileInfoList.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useThreadMessageKindKeySelector.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/context/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/Channel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/AddChannel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/ChannelListHeader/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/ChannelListUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/ChannelPreview/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/ChannelPreview/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/ChannelPreviewAction.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/LeaveChannel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/components/Placeholder.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/context/ChannelListProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/dux/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/dux/getNextChannel.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/dux/initialState.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/dux/reducers.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelList/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ChannelProfile/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/EditDetailsModal/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/LeaveChannel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/AddOperatorsModal.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/BannedUserList.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/InviteUsersModal.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MemberList.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MembersModal.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MutedMemberList.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/OperatorList.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/OperatorsModal.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/ModerationPanel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/UserListItem/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/components/UserPanel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/ChannelSettings/index.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/components/CreateChannelUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/components/InviteUsers/index.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/components/InviteUsers/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/components/SelectChannelType.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/context/CreateChannelProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/types.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateChannel/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateOpenChannel/components/CreateOpenChannelUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/CreateOpenChannel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +0 -0
- /package/{dist/types → types}/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/EditUserProfile/context/EditUserProfileProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/EditUserProfile/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/components/TextFragment/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/consts.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/context/MessageProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/hooks/useDirtyGetMentions.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/utils/getMentionNodes.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/utils/tokens/keyGenerator.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/utils/tokens/tokenize.d.ts +0 -0
- /package/{dist/types → types}/modules/Message/utils/tokens/types.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/components/MessageSearchUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/MessageSearchProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/dux/initialState.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/dux/reducers.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/context/hooks/useSetChannel.d.ts +0 -0
- /package/{dist/types → types}/modules/MessageSearch/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/FrozenChannelNotification/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelHeader/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelInput/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessage/RemoveMessageModal.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessage/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessage/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelMessageList/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/components/OpenChannelUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/OpenChannelProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/dux/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/dux/initialState.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/dux/reducers.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useCheckScrollBottom.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useSetChannel.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useTrimMessageList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/context/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannel/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/Community.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/Streaming.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/assets/Icons.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/components/CommunityChannelList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/components/DummyStream.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/components/Login.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/components/OpenChannelPreview.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/components/Profile.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/components/StreamingChannelList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelApp/stories/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/components/OpenChannelListUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/components/OpenChannelPreview/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/OpenChannelListProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/dux/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/dux/initialState.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/dux/reducer.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelList/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/EditDetailsModal.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/InvalidChannel.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OpenChannelProfile/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OpenChannelSettingsUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/AddOperatorsModal.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/BannedUserList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/BannedUsersModal.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/DeleteOpenChannel.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/MutedParticipantsModal.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/OperatorList.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/OperatorsModal.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/OperatorUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantItem.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/ParticipantUI/ParticipantsModal.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/components/ParticipantUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/context/OpenChannelSettingsProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/OpenChannelSettings/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ParentMessageInfo/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/RemoveMessageModal.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadHeader/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadList/ThreadListItem.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadList/ThreadListItemContent.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadList/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadMessageInput/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadUI/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadUI/useMemorizedHeader.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadUI/useMemorizedParentMessageInfo.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/components/ThreadUI/useMemorizedThreadList.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/consts.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/ThreadProvider.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/dux/actionTypes.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/dux/initialState.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/dux/reducer.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useGetAllEmoji.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useGetChannel.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useGetNextThreadsCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useGetParentMessage.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useGetPrevThreadsCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useGetThreadList.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useResendMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useSendFileMessage.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useSendMultipleFilesMessage.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/context/utils.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/index.d.ts +0 -0
- /package/{dist/types → types}/modules/Thread/types.d.ts +0 -0
- /package/{dist/types → types}/modules/internalInterfaces.d.ts +0 -0
- /package/{dist/types → types}/types.d.ts +0 -0
- /package/{dist/types → types}/ui/Accordion/AccordionGroup.d.ts +0 -0
- /package/{dist/types → types}/ui/Accordion/context.d.ts +0 -0
- /package/{dist/types → types}/ui/Accordion/index.d.ts +0 -0
- /package/{dist/types → types}/ui/AdminMessage/adminMessageDummyData.mock.d.ts +0 -0
- /package/{dist/types → types}/ui/AdminMessage/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Avatar/AvatarDefault.d.ts +0 -0
- /package/{dist/types → types}/ui/Avatar/MutedAvatarOverlay.d.ts +0 -0
- /package/{dist/types → types}/ui/Avatar/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Badge/index.d.ts +0 -0
- /package/{dist/types → types}/ui/BottomSheet/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Button/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Button/types.d.ts +0 -0
- /package/{dist/types → types}/ui/Button/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/ChannelAvatar/OpenChannelAvatar.d.ts +0 -0
- /package/{dist/types → types}/ui/ChannelAvatar/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ChannelAvatar/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/Checkbox/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ConnectionStatus/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ContextMenu/EmojiListItems.d.ts +0 -0
- /package/{dist/types → types}/ui/ContextMenu/MenuItems.d.ts +0 -0
- /package/{dist/types → types}/ui/ContextMenu/index.d.ts +0 -0
- /package/{dist/types → types}/ui/DateSeparator/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Docs/Introduction.d.ts +0 -0
- /package/{dist/types → types}/ui/EmojiReactions/AddReactionBadgeItem.d.ts +0 -0
- /package/{dist/types → types}/ui/EmojiReactions/ReactionItem.d.ts +0 -0
- /package/{dist/types → types}/ui/EmojiReactions/index.d.ts +0 -0
- /package/{dist/types → types}/ui/FileMessageItemBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/FileViewer/DeleteButton.d.ts +0 -0
- /package/{dist/types → types}/ui/FileViewer/Slider.d.ts +0 -0
- /package/{dist/types → types}/ui/FileViewer/data.mock.d.ts +0 -0
- /package/{dist/types → types}/ui/FileViewer/hooks/useKeyDown.d.ts +0 -0
- /package/{dist/types → types}/ui/FileViewer/index.d.ts +0 -0
- /package/{dist/types → types}/ui/FileViewer/types.d.ts +0 -0
- /package/{dist/types → types}/ui/FileViewer/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/Icon/colors.d.ts +0 -0
- /package/{dist/types → types}/ui/Icon/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Icon/type.d.ts +0 -0
- /package/{dist/types → types}/ui/Icon/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/IconButton/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ImageGrid/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ImageRenderer/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ImageRenderer/useDynamicSideLength.d.ts +0 -0
- /package/{dist/types → types}/ui/ImageRenderer/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/Input/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Label/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Label/stringFormatterUtils.d.ts +0 -0
- /package/{dist/types → types}/ui/Label/stringSet.d.ts +0 -0
- /package/{dist/types → types}/ui/Label/types.d.ts +0 -0
- /package/{dist/types → types}/ui/Label/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/LegacyEditUserProfile/index.d.ts +0 -0
- /package/{dist/types → types}/ui/LinkLabel/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Loader/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MentionLabel/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MentionUserLabel/consts.d.ts +0 -0
- /package/{dist/types → types}/ui/MentionUserLabel/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MentionUserLabel/renderToString.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageContent/MessageBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageContent/MessageHeader/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageContent/MessageProfile/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageContent/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/const.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/consts.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/insertTemplate.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/types.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/hooks/usePaste/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/messageInputUtils.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageInput/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageItemMenu/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageItemReactionMenu/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageSearchFileItem/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageSearchFileItem/mockFileMessage.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageSearchFileItem/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageSearchItem/getCreatedAt.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageSearchItem/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageSearchItem/messageDummyDate.mock.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageStatus/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MessageStatus/messageDummyData.mock.d.ts +0 -0
- /package/{dist/types → types}/ui/MobileMenu/MobileBottomSheet.d.ts +0 -0
- /package/{dist/types → types}/ui/MobileMenu/MobileContextMenu.d.ts +0 -0
- /package/{dist/types → types}/ui/MobileMenu/MobileEmojisBottomSheet.d.ts +0 -0
- /package/{dist/types → types}/ui/MobileMenu/ReactedMembersBottomSheet.d.ts +0 -0
- /package/{dist/types → types}/ui/MobileMenu/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MobileMenu/types.d.ts +0 -0
- /package/{dist/types → types}/ui/Modal/index.d.ts +0 -0
- /package/{dist/types → types}/ui/MultipleFilesMessageItemBody/const.d.ts +0 -0
- /package/{dist/types → types}/ui/MultipleFilesMessageItemBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OGMessageItemBody/consts.d.ts +0 -0
- /package/{dist/types → types}/ui/OGMessageItemBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenChannelAdminMessage/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenChannelMobileMenu/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelConversationHeader/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelFileMessage/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelFileMessage/mockMessages.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelFileMessage/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelOGMessage/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelOGMessage/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelThumbnailMessage/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelThumbnailMessage/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelUserMessage/index.d.ts +0 -0
- /package/{dist/types → types}/ui/OpenchannelUserMessage/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/PlaceHolder/index.d.ts +0 -0
- /package/{dist/types → types}/ui/PlaybackTime/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ProgressBar/index.d.ts +0 -0
- /package/{dist/types → types}/ui/QuoteMessage/index.d.ts +0 -0
- /package/{dist/types → types}/ui/QuoteMessage/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/QuoteMessageInput/QuoteMessageThumbnail.d.ts +0 -0
- /package/{dist/types → types}/ui/QuoteMessageInput/index.d.ts +0 -0
- /package/{dist/types → types}/ui/QuoteMessageInput/mockMessage.d.ts +0 -0
- /package/{dist/types → types}/ui/ReactionBadge/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ReactionButton/index.d.ts +0 -0
- /package/{dist/types → types}/ui/SortByRow/index.d.ts +0 -0
- /package/{dist/types → types}/ui/TextButton/index.d.ts +0 -0
- /package/{dist/types → types}/ui/TextMessageItemBody/consts.d.ts +0 -0
- /package/{dist/types → types}/ui/TextMessageItemBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ThreadReplies/index.d.ts +0 -0
- /package/{dist/types → types}/ui/ThumbnailMessageItemBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Toggle/ToggleContainer.d.ts +0 -0
- /package/{dist/types → types}/ui/Toggle/ToggleContext.d.ts +0 -0
- /package/{dist/types → types}/ui/Toggle/ToggleUI.d.ts +0 -0
- /package/{dist/types → types}/ui/Toggle/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Toggle/utils.d.ts +0 -0
- /package/{dist/types → types}/ui/Tooltip/index.d.ts +0 -0
- /package/{dist/types → types}/ui/TooltipWrapper/index.d.ts +0 -0
- /package/{dist/types → types}/ui/TypingIndicatorBubble/TypingDots.d.ts +0 -0
- /package/{dist/types → types}/ui/TypingIndicatorBubble/index.d.ts +0 -0
- /package/{dist/types → types}/ui/UnknownMessageItemBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/UserListItem/index.d.ts +0 -0
- /package/{dist/types → types}/ui/UserProfile/index.d.ts +0 -0
- /package/{dist/types → types}/ui/VoiceMessageInput/controlerIcons.d.ts +0 -0
- /package/{dist/types → types}/ui/VoiceMessageInput/index.d.ts +0 -0
- /package/{dist/types → types}/ui/VoiceMessageInput/types.d.ts +0 -0
- /package/{dist/types → types}/ui/VoiceMessageItemBody/index.d.ts +0 -0
- /package/{dist/types → types}/ui/Word/index.d.ts +0 -0
- /package/{dist/types → types}/utils/cloneMessage.d.ts +0 -0
- /package/{dist/types → types}/utils/color.d.ts +0 -0
- /package/{dist/types → types}/utils/compareIds.d.ts +0 -0
- /package/{dist/types → types}/utils/compressImages.d.ts +0 -0
- /package/{dist/types → types}/utils/consts.d.ts +0 -0
- /package/{dist/types → types}/utils/createStatefulFileInfoList.d.ts +0 -0
- /package/{dist/types → types}/utils/exports/getOutgoingMessageState.d.ts +0 -0
- /package/{dist/types → types}/utils/getIsReactionEnabled.d.ts +0 -0
- /package/{dist/types → types}/utils/index.d.ts +0 -0
- /package/{dist/types → types}/utils/isVoiceMessage.d.ts +0 -0
- /package/{dist/types → types}/utils/numberToPx.d.ts +0 -0
- /package/{dist/types → types}/utils/openChannelUtils.d.ts +0 -0
- /package/{dist/types → types}/utils/pxToNumber.d.ts +0 -0
- /package/{dist/types → types}/utils/testMocks/error.d.ts +0 -0
- /package/{dist/types → types}/utils/testMocks/message.d.ts +0 -0
- /package/{dist/types → types}/utils/testMocks/messageRequestHandler.d.ts +0 -0
- /package/{dist/types → types}/utils/typeHelpers/objectValues.d.ts +0 -0
- /package/{dist/types → types}/utils/typeHelpers/partialDeep.d.ts +0 -0
- /package/{dist/types → types}/utils/typeHelpers/reducers/createAction.d.ts +0 -0
- /package/{dist/types → types}/utils/useDidMountEffect.d.ts +0 -0
- /package/{dist/types → types}/utils/utils.d.ts +0 -0
- /package/{dist/types → types}/utils/uuid.d.ts +0 -0
- /package/{dist/ui → ui}/Accordion.js.map +0 -0
- /package/{dist/ui → ui}/AccordionGroup.js.map +0 -0
- /package/{dist/ui → ui}/AdminMessage.js.map +0 -0
- /package/{dist/ui → ui}/Avatar.js.map +0 -0
- /package/{dist/ui → ui}/Badge.js.map +0 -0
- /package/{dist/ui → ui}/BottomSheet.js.map +0 -0
- /package/{dist/ui → ui}/Button.js.map +0 -0
- /package/{dist/ui → ui}/ChannelAvatar.js.map +0 -0
- /package/{dist/ui → ui}/Checkbox.js +0 -0
- /package/{dist/ui → ui}/Checkbox.js.map +0 -0
- /package/{dist/ui → ui}/ConnectionStatus.js.map +0 -0
- /package/{dist/ui → ui}/ContextMenu.js.map +0 -0
- /package/{dist/ui → ui}/DateSeparator.js.map +0 -0
- /package/{dist/ui → ui}/EmojiReactions.js.map +0 -0
- /package/{dist/ui → ui}/FileMessageItemBody.js.map +0 -0
- /package/{dist/ui → ui}/FileViewer.js.map +0 -0
- /package/{dist/ui → ui}/Icon.js.map +0 -0
- /package/{dist/ui → ui}/IconButton.js.map +0 -0
- /package/{dist/ui → ui}/ImageRenderer.js.map +0 -0
- /package/{dist/ui → ui}/Input.js.map +0 -0
- /package/{dist/ui → ui}/Label.js.map +0 -0
- /package/{dist/ui → ui}/LinkLabel.js.map +0 -0
- /package/{dist/ui → ui}/Loader.js.map +0 -0
- /package/{dist/ui → ui}/MentionLabel.js.map +0 -0
- /package/{dist/ui → ui}/MentionUserLabel.js.map +0 -0
- /package/{dist/ui → ui}/MessageContent.js.map +0 -0
- /package/{dist/ui → ui}/MessageInput/hooks/usePaste.js.map +0 -0
- /package/{dist/ui → ui}/MessageInput.js.map +0 -0
- /package/{dist/ui → ui}/MessageItemMenu.js.map +0 -0
- /package/{dist/ui → ui}/MessageItemReactionMenu.js.map +0 -0
- /package/{dist/ui → ui}/MessageSearchFileItem.js.map +0 -0
- /package/{dist/ui → ui}/MessageSearchItem.js.map +0 -0
- /package/{dist/ui → ui}/MessageStatus.js.map +0 -0
- /package/{dist/ui → ui}/Modal.js.map +0 -0
- /package/{dist/ui → ui}/MutedAvatarOverlay.js.map +0 -0
- /package/{dist/ui → ui}/OGMessageItemBody.js.map +0 -0
- /package/{dist/ui → ui}/OpenChannelAdminMessage.js.map +0 -0
- /package/{dist/ui → ui}/OpenChannelAvatar.js.map +0 -0
- /package/{dist/ui → ui}/OpenchannelConversationHeader.js.map +0 -0
- /package/{dist/ui → ui}/OpenchannelFileMessage.js.map +0 -0
- /package/{dist/ui → ui}/OpenchannelOGMessage.js.map +0 -0
- /package/{dist/ui → ui}/OpenchannelThumbnailMessage.js.map +0 -0
- /package/{dist/ui → ui}/OpenchannelUserMessage.js.map +0 -0
- /package/{dist/ui → ui}/PlaceHolder.js.map +0 -0
- /package/{dist/ui → ui}/PlaybackTime.js.map +0 -0
- /package/{dist/ui → ui}/ProgressBar.js +0 -0
- /package/{dist/ui → ui}/ProgressBar.js.map +0 -0
- /package/{dist/ui → ui}/QuoteMessage.js.map +0 -0
- /package/{dist/ui → ui}/QuoteMessageInput.js.map +0 -0
- /package/{dist/ui → ui}/ReactionBadge.js.map +0 -0
- /package/{dist/ui → ui}/ReactionButton.js.map +0 -0
- /package/{dist/ui → ui}/SortByRow.js.map +0 -0
- /package/{dist/ui → ui}/TextButton.js.map +0 -0
- /package/{dist/ui → ui}/TextMessageItemBody.js.map +0 -0
- /package/{dist/ui → ui}/ThreadReplies.js.map +0 -0
- /package/{dist/ui → ui}/ThumbnailMessageItemBody.js.map +0 -0
- /package/{dist/ui → ui}/Toggle.js.map +0 -0
- /package/{dist/ui → ui}/Tooltip.js.map +0 -0
- /package/{dist/ui → ui}/TooltipWrapper.js.map +0 -0
- /package/{dist/ui → ui}/TypingIndicatorBubble.js.map +0 -0
- /package/{dist/ui → ui}/UnknownMessageItemBody.js.map +0 -0
- /package/{dist/ui → ui}/UserListItem.js.map +0 -0
- /package/{dist/ui → ui}/UserProfile.js.map +0 -0
- /package/{dist/ui → ui}/VoiceMessageInput.js.map +0 -0
- /package/{dist/ui → ui}/VoiceMessageItemBody.js.map +0 -0
- /package/{dist/ui → ui}/Word.js.map +0 -0
- /package/{dist/useSendbirdStateContext.js.map → useSendbirdStateContext.js.map} +0 -0
- /package/{dist/utils → utils}/message/getOutgoingMessageState.js +0 -0
- /package/{dist/utils → utils}/message/getOutgoingMessageState.js.map +0 -0
- /package/{dist/utils → utils}/message/isVoiceMessage.js.map +0 -0
- /package/{dist/withSendbird.js.map → withSendbird.js.map} +0 -0
|
@@ -1,1853 +0,0 @@
|
|
|
1
|
-
import { d as defaultLocale } from './bundle-RrmxRjer.js';
|
|
2
|
-
|
|
3
|
-
function requiredArgs(required, args) {
|
|
4
|
-
if (args.length < required) {
|
|
5
|
-
throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
function _typeof$1(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$1(obj); }
|
|
10
|
-
/**
|
|
11
|
-
* @name toDate
|
|
12
|
-
* @category Common Helpers
|
|
13
|
-
* @summary Convert the given argument to an instance of Date.
|
|
14
|
-
*
|
|
15
|
-
* @description
|
|
16
|
-
* Convert the given argument to an instance of Date.
|
|
17
|
-
*
|
|
18
|
-
* If the argument is an instance of Date, the function returns its clone.
|
|
19
|
-
*
|
|
20
|
-
* If the argument is a number, it is treated as a timestamp.
|
|
21
|
-
*
|
|
22
|
-
* If the argument is none of the above, the function returns Invalid Date.
|
|
23
|
-
*
|
|
24
|
-
* **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
|
|
25
|
-
*
|
|
26
|
-
* @param {Date|Number} argument - the value to convert
|
|
27
|
-
* @returns {Date} the parsed date in the local time zone
|
|
28
|
-
* @throws {TypeError} 1 argument required
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // Clone the date:
|
|
32
|
-
* const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
|
|
33
|
-
* //=> Tue Feb 11 2014 11:30:30
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* // Convert the timestamp to date:
|
|
37
|
-
* const result = toDate(1392098430000)
|
|
38
|
-
* //=> Tue Feb 11 2014 11:30:30
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
function toDate(argument) {
|
|
42
|
-
requiredArgs(1, arguments);
|
|
43
|
-
var argStr = Object.prototype.toString.call(argument); // Clone the date
|
|
44
|
-
|
|
45
|
-
if (argument instanceof Date || _typeof$1(argument) === 'object' && argStr === '[object Date]') {
|
|
46
|
-
// Prevent the date to lose the milliseconds when passed to new Date() in IE10
|
|
47
|
-
return new Date(argument.getTime());
|
|
48
|
-
} else if (typeof argument === 'number' || argStr === '[object Number]') {
|
|
49
|
-
return new Date(argument);
|
|
50
|
-
} else {
|
|
51
|
-
if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
|
|
52
|
-
// eslint-disable-next-line no-console
|
|
53
|
-
console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"); // eslint-disable-next-line no-console
|
|
54
|
-
|
|
55
|
-
console.warn(new Error().stack);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
return new Date(NaN);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
63
|
-
/**
|
|
64
|
-
* @name isDate
|
|
65
|
-
* @category Common Helpers
|
|
66
|
-
* @summary Is the given value a date?
|
|
67
|
-
*
|
|
68
|
-
* @description
|
|
69
|
-
* Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
|
|
70
|
-
*
|
|
71
|
-
* @param {*} value - the value to check
|
|
72
|
-
* @returns {boolean} true if the given value is a date
|
|
73
|
-
* @throws {TypeError} 1 arguments required
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* // For a valid date:
|
|
77
|
-
* const result = isDate(new Date())
|
|
78
|
-
* //=> true
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* // For an invalid date:
|
|
82
|
-
* const result = isDate(new Date(NaN))
|
|
83
|
-
* //=> true
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* // For some value:
|
|
87
|
-
* const result = isDate('2014-02-31')
|
|
88
|
-
* //=> false
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* // For an object:
|
|
92
|
-
* const result = isDate({})
|
|
93
|
-
* //=> false
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
function isDate(value) {
|
|
97
|
-
requiredArgs(1, arguments);
|
|
98
|
-
return value instanceof Date || _typeof(value) === 'object' && Object.prototype.toString.call(value) === '[object Date]';
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @name isValid
|
|
103
|
-
* @category Common Helpers
|
|
104
|
-
* @summary Is the given date valid?
|
|
105
|
-
*
|
|
106
|
-
* @description
|
|
107
|
-
* Returns false if argument is Invalid Date and true otherwise.
|
|
108
|
-
* Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
|
|
109
|
-
* Invalid Date is a Date, whose time value is NaN.
|
|
110
|
-
*
|
|
111
|
-
* Time value of Date: http://es5.github.io/#x15.9.1.1
|
|
112
|
-
*
|
|
113
|
-
* @param {*} date - the date to check
|
|
114
|
-
* @returns {Boolean} the date is valid
|
|
115
|
-
* @throws {TypeError} 1 argument required
|
|
116
|
-
*
|
|
117
|
-
* @example
|
|
118
|
-
* // For the valid date:
|
|
119
|
-
* const result = isValid(new Date(2014, 1, 31))
|
|
120
|
-
* //=> true
|
|
121
|
-
*
|
|
122
|
-
* @example
|
|
123
|
-
* // For the value, convertable into a date:
|
|
124
|
-
* const result = isValid(1393804800000)
|
|
125
|
-
* //=> true
|
|
126
|
-
*
|
|
127
|
-
* @example
|
|
128
|
-
* // For the invalid date:
|
|
129
|
-
* const result = isValid(new Date(''))
|
|
130
|
-
* //=> false
|
|
131
|
-
*/
|
|
132
|
-
|
|
133
|
-
function isValid(dirtyDate) {
|
|
134
|
-
requiredArgs(1, arguments);
|
|
135
|
-
|
|
136
|
-
if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {
|
|
137
|
-
return false;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
var date = toDate(dirtyDate);
|
|
141
|
-
return !isNaN(Number(date));
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
function toInteger(dirtyNumber) {
|
|
145
|
-
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
146
|
-
return NaN;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
var number = Number(dirtyNumber);
|
|
150
|
-
|
|
151
|
-
if (isNaN(number)) {
|
|
152
|
-
return number;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
return number < 0 ? Math.ceil(number) : Math.floor(number);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @name addMilliseconds
|
|
160
|
-
* @category Millisecond Helpers
|
|
161
|
-
* @summary Add the specified number of milliseconds to the given date.
|
|
162
|
-
*
|
|
163
|
-
* @description
|
|
164
|
-
* Add the specified number of milliseconds to the given date.
|
|
165
|
-
*
|
|
166
|
-
* @param {Date|Number} date - the date to be changed
|
|
167
|
-
* @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
|
|
168
|
-
* @returns {Date} the new date with the milliseconds added
|
|
169
|
-
* @throws {TypeError} 2 arguments required
|
|
170
|
-
*
|
|
171
|
-
* @example
|
|
172
|
-
* // Add 750 milliseconds to 10 July 2014 12:45:30.000:
|
|
173
|
-
* const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)
|
|
174
|
-
* //=> Thu Jul 10 2014 12:45:30.750
|
|
175
|
-
*/
|
|
176
|
-
|
|
177
|
-
function addMilliseconds(dirtyDate, dirtyAmount) {
|
|
178
|
-
requiredArgs(2, arguments);
|
|
179
|
-
var timestamp = toDate(dirtyDate).getTime();
|
|
180
|
-
var amount = toInteger(dirtyAmount);
|
|
181
|
-
return new Date(timestamp + amount);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @name subMilliseconds
|
|
186
|
-
* @category Millisecond Helpers
|
|
187
|
-
* @summary Subtract the specified number of milliseconds from the given date.
|
|
188
|
-
*
|
|
189
|
-
* @description
|
|
190
|
-
* Subtract the specified number of milliseconds from the given date.
|
|
191
|
-
*
|
|
192
|
-
* @param {Date|Number} date - the date to be changed
|
|
193
|
-
* @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
|
|
194
|
-
* @returns {Date} the new date with the milliseconds subtracted
|
|
195
|
-
* @throws {TypeError} 2 arguments required
|
|
196
|
-
*
|
|
197
|
-
* @example
|
|
198
|
-
* // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:
|
|
199
|
-
* const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)
|
|
200
|
-
* //=> Thu Jul 10 2014 12:45:29.250
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
function subMilliseconds(dirtyDate, dirtyAmount) {
|
|
204
|
-
requiredArgs(2, arguments);
|
|
205
|
-
var amount = toInteger(dirtyAmount);
|
|
206
|
-
return addMilliseconds(dirtyDate, -amount);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
var MILLISECONDS_IN_DAY = 86400000;
|
|
210
|
-
function getUTCDayOfYear(dirtyDate) {
|
|
211
|
-
requiredArgs(1, arguments);
|
|
212
|
-
var date = toDate(dirtyDate);
|
|
213
|
-
var timestamp = date.getTime();
|
|
214
|
-
date.setUTCMonth(0, 1);
|
|
215
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
216
|
-
var startOfYearTimestamp = date.getTime();
|
|
217
|
-
var difference = timestamp - startOfYearTimestamp;
|
|
218
|
-
return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
function startOfUTCISOWeek(dirtyDate) {
|
|
222
|
-
requiredArgs(1, arguments);
|
|
223
|
-
var weekStartsOn = 1;
|
|
224
|
-
var date = toDate(dirtyDate);
|
|
225
|
-
var day = date.getUTCDay();
|
|
226
|
-
var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
227
|
-
date.setUTCDate(date.getUTCDate() - diff);
|
|
228
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
229
|
-
return date;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
function getUTCISOWeekYear(dirtyDate) {
|
|
233
|
-
requiredArgs(1, arguments);
|
|
234
|
-
var date = toDate(dirtyDate);
|
|
235
|
-
var year = date.getUTCFullYear();
|
|
236
|
-
var fourthOfJanuaryOfNextYear = new Date(0);
|
|
237
|
-
fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);
|
|
238
|
-
fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);
|
|
239
|
-
var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);
|
|
240
|
-
var fourthOfJanuaryOfThisYear = new Date(0);
|
|
241
|
-
fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);
|
|
242
|
-
fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);
|
|
243
|
-
var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);
|
|
244
|
-
|
|
245
|
-
if (date.getTime() >= startOfNextYear.getTime()) {
|
|
246
|
-
return year + 1;
|
|
247
|
-
} else if (date.getTime() >= startOfThisYear.getTime()) {
|
|
248
|
-
return year;
|
|
249
|
-
} else {
|
|
250
|
-
return year - 1;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
function startOfUTCISOWeekYear(dirtyDate) {
|
|
255
|
-
requiredArgs(1, arguments);
|
|
256
|
-
var year = getUTCISOWeekYear(dirtyDate);
|
|
257
|
-
var fourthOfJanuary = new Date(0);
|
|
258
|
-
fourthOfJanuary.setUTCFullYear(year, 0, 4);
|
|
259
|
-
fourthOfJanuary.setUTCHours(0, 0, 0, 0);
|
|
260
|
-
var date = startOfUTCISOWeek(fourthOfJanuary);
|
|
261
|
-
return date;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
var MILLISECONDS_IN_WEEK$1 = 604800000;
|
|
265
|
-
function getUTCISOWeek(dirtyDate) {
|
|
266
|
-
requiredArgs(1, arguments);
|
|
267
|
-
var date = toDate(dirtyDate);
|
|
268
|
-
var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer
|
|
269
|
-
// because the number of milliseconds in a week is not constant
|
|
270
|
-
// (e.g. it's different in the week of the daylight saving time clock shift)
|
|
271
|
-
|
|
272
|
-
return Math.round(diff / MILLISECONDS_IN_WEEK$1) + 1;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
var defaultOptions = {};
|
|
276
|
-
function getDefaultOptions() {
|
|
277
|
-
return defaultOptions;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
function startOfUTCWeek(dirtyDate, options) {
|
|
281
|
-
var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
|
|
282
|
-
|
|
283
|
-
requiredArgs(1, arguments);
|
|
284
|
-
var defaultOptions = getDefaultOptions();
|
|
285
|
-
var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
286
|
-
|
|
287
|
-
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
288
|
-
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
var date = toDate(dirtyDate);
|
|
292
|
-
var day = date.getUTCDay();
|
|
293
|
-
var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
294
|
-
date.setUTCDate(date.getUTCDate() - diff);
|
|
295
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
296
|
-
return date;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
function getUTCWeekYear(dirtyDate, options) {
|
|
300
|
-
var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
|
|
301
|
-
|
|
302
|
-
requiredArgs(1, arguments);
|
|
303
|
-
var date = toDate(dirtyDate);
|
|
304
|
-
var year = date.getUTCFullYear();
|
|
305
|
-
var defaultOptions = getDefaultOptions();
|
|
306
|
-
var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
|
|
307
|
-
|
|
308
|
-
if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
|
|
309
|
-
throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
var firstWeekOfNextYear = new Date(0);
|
|
313
|
-
firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);
|
|
314
|
-
firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);
|
|
315
|
-
var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, options);
|
|
316
|
-
var firstWeekOfThisYear = new Date(0);
|
|
317
|
-
firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);
|
|
318
|
-
firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);
|
|
319
|
-
var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, options);
|
|
320
|
-
|
|
321
|
-
if (date.getTime() >= startOfNextYear.getTime()) {
|
|
322
|
-
return year + 1;
|
|
323
|
-
} else if (date.getTime() >= startOfThisYear.getTime()) {
|
|
324
|
-
return year;
|
|
325
|
-
} else {
|
|
326
|
-
return year - 1;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
function startOfUTCWeekYear(dirtyDate, options) {
|
|
331
|
-
var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
|
|
332
|
-
|
|
333
|
-
requiredArgs(1, arguments);
|
|
334
|
-
var defaultOptions = getDefaultOptions();
|
|
335
|
-
var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);
|
|
336
|
-
var year = getUTCWeekYear(dirtyDate, options);
|
|
337
|
-
var firstWeek = new Date(0);
|
|
338
|
-
firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);
|
|
339
|
-
firstWeek.setUTCHours(0, 0, 0, 0);
|
|
340
|
-
var date = startOfUTCWeek(firstWeek, options);
|
|
341
|
-
return date;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
var MILLISECONDS_IN_WEEK = 604800000;
|
|
345
|
-
function getUTCWeek(dirtyDate, options) {
|
|
346
|
-
requiredArgs(1, arguments);
|
|
347
|
-
var date = toDate(dirtyDate);
|
|
348
|
-
var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer
|
|
349
|
-
// because the number of milliseconds in a week is not constant
|
|
350
|
-
// (e.g. it's different in the week of the daylight saving time clock shift)
|
|
351
|
-
|
|
352
|
-
return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
function addLeadingZeros(number, targetLength) {
|
|
356
|
-
var sign = number < 0 ? '-' : '';
|
|
357
|
-
var output = Math.abs(number).toString();
|
|
358
|
-
|
|
359
|
-
while (output.length < targetLength) {
|
|
360
|
-
output = '0' + output;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
return sign + output;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/*
|
|
367
|
-
* | | Unit | | Unit |
|
|
368
|
-
* |-----|--------------------------------|-----|--------------------------------|
|
|
369
|
-
* | a | AM, PM | A* | |
|
|
370
|
-
* | d | Day of month | D | |
|
|
371
|
-
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
372
|
-
* | m | Minute | M | Month |
|
|
373
|
-
* | s | Second | S | Fraction of second |
|
|
374
|
-
* | y | Year (abs) | Y | |
|
|
375
|
-
*
|
|
376
|
-
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
377
|
-
*/
|
|
378
|
-
|
|
379
|
-
var formatters$2 = {
|
|
380
|
-
// Year
|
|
381
|
-
y: function y(date, token) {
|
|
382
|
-
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
383
|
-
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
384
|
-
// |----------|-------|----|-------|-------|-------|
|
|
385
|
-
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
386
|
-
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
387
|
-
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
388
|
-
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
389
|
-
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
390
|
-
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
391
|
-
|
|
392
|
-
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
393
|
-
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
394
|
-
},
|
|
395
|
-
// Month
|
|
396
|
-
M: function M(date, token) {
|
|
397
|
-
var month = date.getUTCMonth();
|
|
398
|
-
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
399
|
-
},
|
|
400
|
-
// Day of the month
|
|
401
|
-
d: function d(date, token) {
|
|
402
|
-
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
403
|
-
},
|
|
404
|
-
// AM or PM
|
|
405
|
-
a: function a(date, token) {
|
|
406
|
-
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
407
|
-
|
|
408
|
-
switch (token) {
|
|
409
|
-
case 'a':
|
|
410
|
-
case 'aa':
|
|
411
|
-
return dayPeriodEnumValue.toUpperCase();
|
|
412
|
-
|
|
413
|
-
case 'aaa':
|
|
414
|
-
return dayPeriodEnumValue;
|
|
415
|
-
|
|
416
|
-
case 'aaaaa':
|
|
417
|
-
return dayPeriodEnumValue[0];
|
|
418
|
-
|
|
419
|
-
case 'aaaa':
|
|
420
|
-
default:
|
|
421
|
-
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
422
|
-
}
|
|
423
|
-
},
|
|
424
|
-
// Hour [1-12]
|
|
425
|
-
h: function h(date, token) {
|
|
426
|
-
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
427
|
-
},
|
|
428
|
-
// Hour [0-23]
|
|
429
|
-
H: function H(date, token) {
|
|
430
|
-
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
431
|
-
},
|
|
432
|
-
// Minute
|
|
433
|
-
m: function m(date, token) {
|
|
434
|
-
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
435
|
-
},
|
|
436
|
-
// Second
|
|
437
|
-
s: function s(date, token) {
|
|
438
|
-
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
439
|
-
},
|
|
440
|
-
// Fraction of second
|
|
441
|
-
S: function S(date, token) {
|
|
442
|
-
var numberOfDigits = token.length;
|
|
443
|
-
var milliseconds = date.getUTCMilliseconds();
|
|
444
|
-
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
445
|
-
return addLeadingZeros(fractionalSeconds, token.length);
|
|
446
|
-
}
|
|
447
|
-
};
|
|
448
|
-
var lightFormatters = formatters$2;
|
|
449
|
-
|
|
450
|
-
var dayPeriodEnum = {
|
|
451
|
-
am: 'am',
|
|
452
|
-
pm: 'pm',
|
|
453
|
-
midnight: 'midnight',
|
|
454
|
-
noon: 'noon',
|
|
455
|
-
morning: 'morning',
|
|
456
|
-
afternoon: 'afternoon',
|
|
457
|
-
evening: 'evening',
|
|
458
|
-
night: 'night'
|
|
459
|
-
};
|
|
460
|
-
|
|
461
|
-
/*
|
|
462
|
-
* | | Unit | | Unit |
|
|
463
|
-
* |-----|--------------------------------|-----|--------------------------------|
|
|
464
|
-
* | a | AM, PM | A* | Milliseconds in day |
|
|
465
|
-
* | b | AM, PM, noon, midnight | B | Flexible day period |
|
|
466
|
-
* | c | Stand-alone local day of week | C* | Localized hour w/ day period |
|
|
467
|
-
* | d | Day of month | D | Day of year |
|
|
468
|
-
* | e | Local day of week | E | Day of week |
|
|
469
|
-
* | f | | F* | Day of week in month |
|
|
470
|
-
* | g* | Modified Julian day | G | Era |
|
|
471
|
-
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
472
|
-
* | i! | ISO day of week | I! | ISO week of year |
|
|
473
|
-
* | j* | Localized hour w/ day period | J* | Localized hour w/o day period |
|
|
474
|
-
* | k | Hour [1-24] | K | Hour [0-11] |
|
|
475
|
-
* | l* | (deprecated) | L | Stand-alone month |
|
|
476
|
-
* | m | Minute | M | Month |
|
|
477
|
-
* | n | | N | |
|
|
478
|
-
* | o! | Ordinal number modifier | O | Timezone (GMT) |
|
|
479
|
-
* | p! | Long localized time | P! | Long localized date |
|
|
480
|
-
* | q | Stand-alone quarter | Q | Quarter |
|
|
481
|
-
* | r* | Related Gregorian year | R! | ISO week-numbering year |
|
|
482
|
-
* | s | Second | S | Fraction of second |
|
|
483
|
-
* | t! | Seconds timestamp | T! | Milliseconds timestamp |
|
|
484
|
-
* | u | Extended year | U* | Cyclic year |
|
|
485
|
-
* | v* | Timezone (generic non-locat.) | V* | Timezone (location) |
|
|
486
|
-
* | w | Local week of year | W* | Week of month |
|
|
487
|
-
* | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |
|
|
488
|
-
* | y | Year (abs) | Y | Local week-numbering year |
|
|
489
|
-
* | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |
|
|
490
|
-
*
|
|
491
|
-
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
492
|
-
*
|
|
493
|
-
* Letters marked by ! are non-standard, but implemented by date-fns:
|
|
494
|
-
* - `o` modifies the previous token to turn it into an ordinal (see `format` docs)
|
|
495
|
-
* - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
|
|
496
|
-
* i.e. 7 for Sunday, 1 for Monday, etc.
|
|
497
|
-
* - `I` is ISO week of year, as opposed to `w` which is local week of year.
|
|
498
|
-
* - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
|
|
499
|
-
* `R` is supposed to be used in conjunction with `I` and `i`
|
|
500
|
-
* for universal ISO week-numbering date, whereas
|
|
501
|
-
* `Y` is supposed to be used in conjunction with `w` and `e`
|
|
502
|
-
* for week-numbering date specific to the locale.
|
|
503
|
-
* - `P` is long localized date format
|
|
504
|
-
* - `p` is long localized time format
|
|
505
|
-
*/
|
|
506
|
-
var formatters = {
|
|
507
|
-
// Era
|
|
508
|
-
G: function G(date, token, localize) {
|
|
509
|
-
var era = date.getUTCFullYear() > 0 ? 1 : 0;
|
|
510
|
-
|
|
511
|
-
switch (token) {
|
|
512
|
-
// AD, BC
|
|
513
|
-
case 'G':
|
|
514
|
-
case 'GG':
|
|
515
|
-
case 'GGG':
|
|
516
|
-
return localize.era(era, {
|
|
517
|
-
width: 'abbreviated'
|
|
518
|
-
});
|
|
519
|
-
// A, B
|
|
520
|
-
|
|
521
|
-
case 'GGGGG':
|
|
522
|
-
return localize.era(era, {
|
|
523
|
-
width: 'narrow'
|
|
524
|
-
});
|
|
525
|
-
// Anno Domini, Before Christ
|
|
526
|
-
|
|
527
|
-
case 'GGGG':
|
|
528
|
-
default:
|
|
529
|
-
return localize.era(era, {
|
|
530
|
-
width: 'wide'
|
|
531
|
-
});
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
|
-
// Year
|
|
535
|
-
y: function y(date, token, localize) {
|
|
536
|
-
// Ordinal number
|
|
537
|
-
if (token === 'yo') {
|
|
538
|
-
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
539
|
-
|
|
540
|
-
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
541
|
-
return localize.ordinalNumber(year, {
|
|
542
|
-
unit: 'year'
|
|
543
|
-
});
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
return lightFormatters.y(date, token);
|
|
547
|
-
},
|
|
548
|
-
// Local week-numbering year
|
|
549
|
-
Y: function Y(date, token, localize, options) {
|
|
550
|
-
var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
551
|
-
|
|
552
|
-
var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year
|
|
553
|
-
|
|
554
|
-
if (token === 'YY') {
|
|
555
|
-
var twoDigitYear = weekYear % 100;
|
|
556
|
-
return addLeadingZeros(twoDigitYear, 2);
|
|
557
|
-
} // Ordinal number
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
if (token === 'Yo') {
|
|
561
|
-
return localize.ordinalNumber(weekYear, {
|
|
562
|
-
unit: 'year'
|
|
563
|
-
});
|
|
564
|
-
} // Padding
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
return addLeadingZeros(weekYear, token.length);
|
|
568
|
-
},
|
|
569
|
-
// ISO week-numbering year
|
|
570
|
-
R: function R(date, token) {
|
|
571
|
-
var isoWeekYear = getUTCISOWeekYear(date); // Padding
|
|
572
|
-
|
|
573
|
-
return addLeadingZeros(isoWeekYear, token.length);
|
|
574
|
-
},
|
|
575
|
-
// Extended year. This is a single number designating the year of this calendar system.
|
|
576
|
-
// The main difference between `y` and `u` localizers are B.C. years:
|
|
577
|
-
// | Year | `y` | `u` |
|
|
578
|
-
// |------|-----|-----|
|
|
579
|
-
// | AC 1 | 1 | 1 |
|
|
580
|
-
// | BC 1 | 1 | 0 |
|
|
581
|
-
// | BC 2 | 2 | -1 |
|
|
582
|
-
// Also `yy` always returns the last two digits of a year,
|
|
583
|
-
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
584
|
-
u: function u(date, token) {
|
|
585
|
-
var year = date.getUTCFullYear();
|
|
586
|
-
return addLeadingZeros(year, token.length);
|
|
587
|
-
},
|
|
588
|
-
// Quarter
|
|
589
|
-
Q: function Q(date, token, localize) {
|
|
590
|
-
var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
|
|
591
|
-
|
|
592
|
-
switch (token) {
|
|
593
|
-
// 1, 2, 3, 4
|
|
594
|
-
case 'Q':
|
|
595
|
-
return String(quarter);
|
|
596
|
-
// 01, 02, 03, 04
|
|
597
|
-
|
|
598
|
-
case 'QQ':
|
|
599
|
-
return addLeadingZeros(quarter, 2);
|
|
600
|
-
// 1st, 2nd, 3rd, 4th
|
|
601
|
-
|
|
602
|
-
case 'Qo':
|
|
603
|
-
return localize.ordinalNumber(quarter, {
|
|
604
|
-
unit: 'quarter'
|
|
605
|
-
});
|
|
606
|
-
// Q1, Q2, Q3, Q4
|
|
607
|
-
|
|
608
|
-
case 'QQQ':
|
|
609
|
-
return localize.quarter(quarter, {
|
|
610
|
-
width: 'abbreviated',
|
|
611
|
-
context: 'formatting'
|
|
612
|
-
});
|
|
613
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
614
|
-
|
|
615
|
-
case 'QQQQQ':
|
|
616
|
-
return localize.quarter(quarter, {
|
|
617
|
-
width: 'narrow',
|
|
618
|
-
context: 'formatting'
|
|
619
|
-
});
|
|
620
|
-
// 1st quarter, 2nd quarter, ...
|
|
621
|
-
|
|
622
|
-
case 'QQQQ':
|
|
623
|
-
default:
|
|
624
|
-
return localize.quarter(quarter, {
|
|
625
|
-
width: 'wide',
|
|
626
|
-
context: 'formatting'
|
|
627
|
-
});
|
|
628
|
-
}
|
|
629
|
-
},
|
|
630
|
-
// Stand-alone quarter
|
|
631
|
-
q: function q(date, token, localize) {
|
|
632
|
-
var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
|
|
633
|
-
|
|
634
|
-
switch (token) {
|
|
635
|
-
// 1, 2, 3, 4
|
|
636
|
-
case 'q':
|
|
637
|
-
return String(quarter);
|
|
638
|
-
// 01, 02, 03, 04
|
|
639
|
-
|
|
640
|
-
case 'qq':
|
|
641
|
-
return addLeadingZeros(quarter, 2);
|
|
642
|
-
// 1st, 2nd, 3rd, 4th
|
|
643
|
-
|
|
644
|
-
case 'qo':
|
|
645
|
-
return localize.ordinalNumber(quarter, {
|
|
646
|
-
unit: 'quarter'
|
|
647
|
-
});
|
|
648
|
-
// Q1, Q2, Q3, Q4
|
|
649
|
-
|
|
650
|
-
case 'qqq':
|
|
651
|
-
return localize.quarter(quarter, {
|
|
652
|
-
width: 'abbreviated',
|
|
653
|
-
context: 'standalone'
|
|
654
|
-
});
|
|
655
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
656
|
-
|
|
657
|
-
case 'qqqqq':
|
|
658
|
-
return localize.quarter(quarter, {
|
|
659
|
-
width: 'narrow',
|
|
660
|
-
context: 'standalone'
|
|
661
|
-
});
|
|
662
|
-
// 1st quarter, 2nd quarter, ...
|
|
663
|
-
|
|
664
|
-
case 'qqqq':
|
|
665
|
-
default:
|
|
666
|
-
return localize.quarter(quarter, {
|
|
667
|
-
width: 'wide',
|
|
668
|
-
context: 'standalone'
|
|
669
|
-
});
|
|
670
|
-
}
|
|
671
|
-
},
|
|
672
|
-
// Month
|
|
673
|
-
M: function M(date, token, localize) {
|
|
674
|
-
var month = date.getUTCMonth();
|
|
675
|
-
|
|
676
|
-
switch (token) {
|
|
677
|
-
case 'M':
|
|
678
|
-
case 'MM':
|
|
679
|
-
return lightFormatters.M(date, token);
|
|
680
|
-
// 1st, 2nd, ..., 12th
|
|
681
|
-
|
|
682
|
-
case 'Mo':
|
|
683
|
-
return localize.ordinalNumber(month + 1, {
|
|
684
|
-
unit: 'month'
|
|
685
|
-
});
|
|
686
|
-
// Jan, Feb, ..., Dec
|
|
687
|
-
|
|
688
|
-
case 'MMM':
|
|
689
|
-
return localize.month(month, {
|
|
690
|
-
width: 'abbreviated',
|
|
691
|
-
context: 'formatting'
|
|
692
|
-
});
|
|
693
|
-
// J, F, ..., D
|
|
694
|
-
|
|
695
|
-
case 'MMMMM':
|
|
696
|
-
return localize.month(month, {
|
|
697
|
-
width: 'narrow',
|
|
698
|
-
context: 'formatting'
|
|
699
|
-
});
|
|
700
|
-
// January, February, ..., December
|
|
701
|
-
|
|
702
|
-
case 'MMMM':
|
|
703
|
-
default:
|
|
704
|
-
return localize.month(month, {
|
|
705
|
-
width: 'wide',
|
|
706
|
-
context: 'formatting'
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
},
|
|
710
|
-
// Stand-alone month
|
|
711
|
-
L: function L(date, token, localize) {
|
|
712
|
-
var month = date.getUTCMonth();
|
|
713
|
-
|
|
714
|
-
switch (token) {
|
|
715
|
-
// 1, 2, ..., 12
|
|
716
|
-
case 'L':
|
|
717
|
-
return String(month + 1);
|
|
718
|
-
// 01, 02, ..., 12
|
|
719
|
-
|
|
720
|
-
case 'LL':
|
|
721
|
-
return addLeadingZeros(month + 1, 2);
|
|
722
|
-
// 1st, 2nd, ..., 12th
|
|
723
|
-
|
|
724
|
-
case 'Lo':
|
|
725
|
-
return localize.ordinalNumber(month + 1, {
|
|
726
|
-
unit: 'month'
|
|
727
|
-
});
|
|
728
|
-
// Jan, Feb, ..., Dec
|
|
729
|
-
|
|
730
|
-
case 'LLL':
|
|
731
|
-
return localize.month(month, {
|
|
732
|
-
width: 'abbreviated',
|
|
733
|
-
context: 'standalone'
|
|
734
|
-
});
|
|
735
|
-
// J, F, ..., D
|
|
736
|
-
|
|
737
|
-
case 'LLLLL':
|
|
738
|
-
return localize.month(month, {
|
|
739
|
-
width: 'narrow',
|
|
740
|
-
context: 'standalone'
|
|
741
|
-
});
|
|
742
|
-
// January, February, ..., December
|
|
743
|
-
|
|
744
|
-
case 'LLLL':
|
|
745
|
-
default:
|
|
746
|
-
return localize.month(month, {
|
|
747
|
-
width: 'wide',
|
|
748
|
-
context: 'standalone'
|
|
749
|
-
});
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
// Local week of year
|
|
753
|
-
w: function w(date, token, localize, options) {
|
|
754
|
-
var week = getUTCWeek(date, options);
|
|
755
|
-
|
|
756
|
-
if (token === 'wo') {
|
|
757
|
-
return localize.ordinalNumber(week, {
|
|
758
|
-
unit: 'week'
|
|
759
|
-
});
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
return addLeadingZeros(week, token.length);
|
|
763
|
-
},
|
|
764
|
-
// ISO week of year
|
|
765
|
-
I: function I(date, token, localize) {
|
|
766
|
-
var isoWeek = getUTCISOWeek(date);
|
|
767
|
-
|
|
768
|
-
if (token === 'Io') {
|
|
769
|
-
return localize.ordinalNumber(isoWeek, {
|
|
770
|
-
unit: 'week'
|
|
771
|
-
});
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
return addLeadingZeros(isoWeek, token.length);
|
|
775
|
-
},
|
|
776
|
-
// Day of the month
|
|
777
|
-
d: function d(date, token, localize) {
|
|
778
|
-
if (token === 'do') {
|
|
779
|
-
return localize.ordinalNumber(date.getUTCDate(), {
|
|
780
|
-
unit: 'date'
|
|
781
|
-
});
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
return lightFormatters.d(date, token);
|
|
785
|
-
},
|
|
786
|
-
// Day of year
|
|
787
|
-
D: function D(date, token, localize) {
|
|
788
|
-
var dayOfYear = getUTCDayOfYear(date);
|
|
789
|
-
|
|
790
|
-
if (token === 'Do') {
|
|
791
|
-
return localize.ordinalNumber(dayOfYear, {
|
|
792
|
-
unit: 'dayOfYear'
|
|
793
|
-
});
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
return addLeadingZeros(dayOfYear, token.length);
|
|
797
|
-
},
|
|
798
|
-
// Day of week
|
|
799
|
-
E: function E(date, token, localize) {
|
|
800
|
-
var dayOfWeek = date.getUTCDay();
|
|
801
|
-
|
|
802
|
-
switch (token) {
|
|
803
|
-
// Tue
|
|
804
|
-
case 'E':
|
|
805
|
-
case 'EE':
|
|
806
|
-
case 'EEE':
|
|
807
|
-
return localize.day(dayOfWeek, {
|
|
808
|
-
width: 'abbreviated',
|
|
809
|
-
context: 'formatting'
|
|
810
|
-
});
|
|
811
|
-
// T
|
|
812
|
-
|
|
813
|
-
case 'EEEEE':
|
|
814
|
-
return localize.day(dayOfWeek, {
|
|
815
|
-
width: 'narrow',
|
|
816
|
-
context: 'formatting'
|
|
817
|
-
});
|
|
818
|
-
// Tu
|
|
819
|
-
|
|
820
|
-
case 'EEEEEE':
|
|
821
|
-
return localize.day(dayOfWeek, {
|
|
822
|
-
width: 'short',
|
|
823
|
-
context: 'formatting'
|
|
824
|
-
});
|
|
825
|
-
// Tuesday
|
|
826
|
-
|
|
827
|
-
case 'EEEE':
|
|
828
|
-
default:
|
|
829
|
-
return localize.day(dayOfWeek, {
|
|
830
|
-
width: 'wide',
|
|
831
|
-
context: 'formatting'
|
|
832
|
-
});
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
// Local day of week
|
|
836
|
-
e: function e(date, token, localize, options) {
|
|
837
|
-
var dayOfWeek = date.getUTCDay();
|
|
838
|
-
var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
|
|
839
|
-
|
|
840
|
-
switch (token) {
|
|
841
|
-
// Numerical value (Nth day of week with current locale or weekStartsOn)
|
|
842
|
-
case 'e':
|
|
843
|
-
return String(localDayOfWeek);
|
|
844
|
-
// Padded numerical value
|
|
845
|
-
|
|
846
|
-
case 'ee':
|
|
847
|
-
return addLeadingZeros(localDayOfWeek, 2);
|
|
848
|
-
// 1st, 2nd, ..., 7th
|
|
849
|
-
|
|
850
|
-
case 'eo':
|
|
851
|
-
return localize.ordinalNumber(localDayOfWeek, {
|
|
852
|
-
unit: 'day'
|
|
853
|
-
});
|
|
854
|
-
|
|
855
|
-
case 'eee':
|
|
856
|
-
return localize.day(dayOfWeek, {
|
|
857
|
-
width: 'abbreviated',
|
|
858
|
-
context: 'formatting'
|
|
859
|
-
});
|
|
860
|
-
// T
|
|
861
|
-
|
|
862
|
-
case 'eeeee':
|
|
863
|
-
return localize.day(dayOfWeek, {
|
|
864
|
-
width: 'narrow',
|
|
865
|
-
context: 'formatting'
|
|
866
|
-
});
|
|
867
|
-
// Tu
|
|
868
|
-
|
|
869
|
-
case 'eeeeee':
|
|
870
|
-
return localize.day(dayOfWeek, {
|
|
871
|
-
width: 'short',
|
|
872
|
-
context: 'formatting'
|
|
873
|
-
});
|
|
874
|
-
// Tuesday
|
|
875
|
-
|
|
876
|
-
case 'eeee':
|
|
877
|
-
default:
|
|
878
|
-
return localize.day(dayOfWeek, {
|
|
879
|
-
width: 'wide',
|
|
880
|
-
context: 'formatting'
|
|
881
|
-
});
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
// Stand-alone local day of week
|
|
885
|
-
c: function c(date, token, localize, options) {
|
|
886
|
-
var dayOfWeek = date.getUTCDay();
|
|
887
|
-
var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
|
|
888
|
-
|
|
889
|
-
switch (token) {
|
|
890
|
-
// Numerical value (same as in `e`)
|
|
891
|
-
case 'c':
|
|
892
|
-
return String(localDayOfWeek);
|
|
893
|
-
// Padded numerical value
|
|
894
|
-
|
|
895
|
-
case 'cc':
|
|
896
|
-
return addLeadingZeros(localDayOfWeek, token.length);
|
|
897
|
-
// 1st, 2nd, ..., 7th
|
|
898
|
-
|
|
899
|
-
case 'co':
|
|
900
|
-
return localize.ordinalNumber(localDayOfWeek, {
|
|
901
|
-
unit: 'day'
|
|
902
|
-
});
|
|
903
|
-
|
|
904
|
-
case 'ccc':
|
|
905
|
-
return localize.day(dayOfWeek, {
|
|
906
|
-
width: 'abbreviated',
|
|
907
|
-
context: 'standalone'
|
|
908
|
-
});
|
|
909
|
-
// T
|
|
910
|
-
|
|
911
|
-
case 'ccccc':
|
|
912
|
-
return localize.day(dayOfWeek, {
|
|
913
|
-
width: 'narrow',
|
|
914
|
-
context: 'standalone'
|
|
915
|
-
});
|
|
916
|
-
// Tu
|
|
917
|
-
|
|
918
|
-
case 'cccccc':
|
|
919
|
-
return localize.day(dayOfWeek, {
|
|
920
|
-
width: 'short',
|
|
921
|
-
context: 'standalone'
|
|
922
|
-
});
|
|
923
|
-
// Tuesday
|
|
924
|
-
|
|
925
|
-
case 'cccc':
|
|
926
|
-
default:
|
|
927
|
-
return localize.day(dayOfWeek, {
|
|
928
|
-
width: 'wide',
|
|
929
|
-
context: 'standalone'
|
|
930
|
-
});
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
// ISO day of week
|
|
934
|
-
i: function i(date, token, localize) {
|
|
935
|
-
var dayOfWeek = date.getUTCDay();
|
|
936
|
-
var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;
|
|
937
|
-
|
|
938
|
-
switch (token) {
|
|
939
|
-
// 2
|
|
940
|
-
case 'i':
|
|
941
|
-
return String(isoDayOfWeek);
|
|
942
|
-
// 02
|
|
943
|
-
|
|
944
|
-
case 'ii':
|
|
945
|
-
return addLeadingZeros(isoDayOfWeek, token.length);
|
|
946
|
-
// 2nd
|
|
947
|
-
|
|
948
|
-
case 'io':
|
|
949
|
-
return localize.ordinalNumber(isoDayOfWeek, {
|
|
950
|
-
unit: 'day'
|
|
951
|
-
});
|
|
952
|
-
// Tue
|
|
953
|
-
|
|
954
|
-
case 'iii':
|
|
955
|
-
return localize.day(dayOfWeek, {
|
|
956
|
-
width: 'abbreviated',
|
|
957
|
-
context: 'formatting'
|
|
958
|
-
});
|
|
959
|
-
// T
|
|
960
|
-
|
|
961
|
-
case 'iiiii':
|
|
962
|
-
return localize.day(dayOfWeek, {
|
|
963
|
-
width: 'narrow',
|
|
964
|
-
context: 'formatting'
|
|
965
|
-
});
|
|
966
|
-
// Tu
|
|
967
|
-
|
|
968
|
-
case 'iiiiii':
|
|
969
|
-
return localize.day(dayOfWeek, {
|
|
970
|
-
width: 'short',
|
|
971
|
-
context: 'formatting'
|
|
972
|
-
});
|
|
973
|
-
// Tuesday
|
|
974
|
-
|
|
975
|
-
case 'iiii':
|
|
976
|
-
default:
|
|
977
|
-
return localize.day(dayOfWeek, {
|
|
978
|
-
width: 'wide',
|
|
979
|
-
context: 'formatting'
|
|
980
|
-
});
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
// AM or PM
|
|
984
|
-
a: function a(date, token, localize) {
|
|
985
|
-
var hours = date.getUTCHours();
|
|
986
|
-
var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
|
|
987
|
-
|
|
988
|
-
switch (token) {
|
|
989
|
-
case 'a':
|
|
990
|
-
case 'aa':
|
|
991
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
992
|
-
width: 'abbreviated',
|
|
993
|
-
context: 'formatting'
|
|
994
|
-
});
|
|
995
|
-
|
|
996
|
-
case 'aaa':
|
|
997
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
998
|
-
width: 'abbreviated',
|
|
999
|
-
context: 'formatting'
|
|
1000
|
-
}).toLowerCase();
|
|
1001
|
-
|
|
1002
|
-
case 'aaaaa':
|
|
1003
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1004
|
-
width: 'narrow',
|
|
1005
|
-
context: 'formatting'
|
|
1006
|
-
});
|
|
1007
|
-
|
|
1008
|
-
case 'aaaa':
|
|
1009
|
-
default:
|
|
1010
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1011
|
-
width: 'wide',
|
|
1012
|
-
context: 'formatting'
|
|
1013
|
-
});
|
|
1014
|
-
}
|
|
1015
|
-
},
|
|
1016
|
-
// AM, PM, midnight, noon
|
|
1017
|
-
b: function b(date, token, localize) {
|
|
1018
|
-
var hours = date.getUTCHours();
|
|
1019
|
-
var dayPeriodEnumValue;
|
|
1020
|
-
|
|
1021
|
-
if (hours === 12) {
|
|
1022
|
-
dayPeriodEnumValue = dayPeriodEnum.noon;
|
|
1023
|
-
} else if (hours === 0) {
|
|
1024
|
-
dayPeriodEnumValue = dayPeriodEnum.midnight;
|
|
1025
|
-
} else {
|
|
1026
|
-
dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
switch (token) {
|
|
1030
|
-
case 'b':
|
|
1031
|
-
case 'bb':
|
|
1032
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1033
|
-
width: 'abbreviated',
|
|
1034
|
-
context: 'formatting'
|
|
1035
|
-
});
|
|
1036
|
-
|
|
1037
|
-
case 'bbb':
|
|
1038
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1039
|
-
width: 'abbreviated',
|
|
1040
|
-
context: 'formatting'
|
|
1041
|
-
}).toLowerCase();
|
|
1042
|
-
|
|
1043
|
-
case 'bbbbb':
|
|
1044
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1045
|
-
width: 'narrow',
|
|
1046
|
-
context: 'formatting'
|
|
1047
|
-
});
|
|
1048
|
-
|
|
1049
|
-
case 'bbbb':
|
|
1050
|
-
default:
|
|
1051
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1052
|
-
width: 'wide',
|
|
1053
|
-
context: 'formatting'
|
|
1054
|
-
});
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
// in the morning, in the afternoon, in the evening, at night
|
|
1058
|
-
B: function B(date, token, localize) {
|
|
1059
|
-
var hours = date.getUTCHours();
|
|
1060
|
-
var dayPeriodEnumValue;
|
|
1061
|
-
|
|
1062
|
-
if (hours >= 17) {
|
|
1063
|
-
dayPeriodEnumValue = dayPeriodEnum.evening;
|
|
1064
|
-
} else if (hours >= 12) {
|
|
1065
|
-
dayPeriodEnumValue = dayPeriodEnum.afternoon;
|
|
1066
|
-
} else if (hours >= 4) {
|
|
1067
|
-
dayPeriodEnumValue = dayPeriodEnum.morning;
|
|
1068
|
-
} else {
|
|
1069
|
-
dayPeriodEnumValue = dayPeriodEnum.night;
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
switch (token) {
|
|
1073
|
-
case 'B':
|
|
1074
|
-
case 'BB':
|
|
1075
|
-
case 'BBB':
|
|
1076
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1077
|
-
width: 'abbreviated',
|
|
1078
|
-
context: 'formatting'
|
|
1079
|
-
});
|
|
1080
|
-
|
|
1081
|
-
case 'BBBBB':
|
|
1082
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1083
|
-
width: 'narrow',
|
|
1084
|
-
context: 'formatting'
|
|
1085
|
-
});
|
|
1086
|
-
|
|
1087
|
-
case 'BBBB':
|
|
1088
|
-
default:
|
|
1089
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
1090
|
-
width: 'wide',
|
|
1091
|
-
context: 'formatting'
|
|
1092
|
-
});
|
|
1093
|
-
}
|
|
1094
|
-
},
|
|
1095
|
-
// Hour [1-12]
|
|
1096
|
-
h: function h(date, token, localize) {
|
|
1097
|
-
if (token === 'ho') {
|
|
1098
|
-
var hours = date.getUTCHours() % 12;
|
|
1099
|
-
if (hours === 0) hours = 12;
|
|
1100
|
-
return localize.ordinalNumber(hours, {
|
|
1101
|
-
unit: 'hour'
|
|
1102
|
-
});
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
return lightFormatters.h(date, token);
|
|
1106
|
-
},
|
|
1107
|
-
// Hour [0-23]
|
|
1108
|
-
H: function H(date, token, localize) {
|
|
1109
|
-
if (token === 'Ho') {
|
|
1110
|
-
return localize.ordinalNumber(date.getUTCHours(), {
|
|
1111
|
-
unit: 'hour'
|
|
1112
|
-
});
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
return lightFormatters.H(date, token);
|
|
1116
|
-
},
|
|
1117
|
-
// Hour [0-11]
|
|
1118
|
-
K: function K(date, token, localize) {
|
|
1119
|
-
var hours = date.getUTCHours() % 12;
|
|
1120
|
-
|
|
1121
|
-
if (token === 'Ko') {
|
|
1122
|
-
return localize.ordinalNumber(hours, {
|
|
1123
|
-
unit: 'hour'
|
|
1124
|
-
});
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
return addLeadingZeros(hours, token.length);
|
|
1128
|
-
},
|
|
1129
|
-
// Hour [1-24]
|
|
1130
|
-
k: function k(date, token, localize) {
|
|
1131
|
-
var hours = date.getUTCHours();
|
|
1132
|
-
if (hours === 0) hours = 24;
|
|
1133
|
-
|
|
1134
|
-
if (token === 'ko') {
|
|
1135
|
-
return localize.ordinalNumber(hours, {
|
|
1136
|
-
unit: 'hour'
|
|
1137
|
-
});
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
return addLeadingZeros(hours, token.length);
|
|
1141
|
-
},
|
|
1142
|
-
// Minute
|
|
1143
|
-
m: function m(date, token, localize) {
|
|
1144
|
-
if (token === 'mo') {
|
|
1145
|
-
return localize.ordinalNumber(date.getUTCMinutes(), {
|
|
1146
|
-
unit: 'minute'
|
|
1147
|
-
});
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
return lightFormatters.m(date, token);
|
|
1151
|
-
},
|
|
1152
|
-
// Second
|
|
1153
|
-
s: function s(date, token, localize) {
|
|
1154
|
-
if (token === 'so') {
|
|
1155
|
-
return localize.ordinalNumber(date.getUTCSeconds(), {
|
|
1156
|
-
unit: 'second'
|
|
1157
|
-
});
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
return lightFormatters.s(date, token);
|
|
1161
|
-
},
|
|
1162
|
-
// Fraction of second
|
|
1163
|
-
S: function S(date, token) {
|
|
1164
|
-
return lightFormatters.S(date, token);
|
|
1165
|
-
},
|
|
1166
|
-
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1167
|
-
X: function X(date, token, _localize, options) {
|
|
1168
|
-
var originalDate = options._originalDate || date;
|
|
1169
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1170
|
-
|
|
1171
|
-
if (timezoneOffset === 0) {
|
|
1172
|
-
return 'Z';
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
switch (token) {
|
|
1176
|
-
// Hours and optional minutes
|
|
1177
|
-
case 'X':
|
|
1178
|
-
return formatTimezoneWithOptionalMinutes(timezoneOffset);
|
|
1179
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1180
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1181
|
-
// so this token always has the same output as `XX`
|
|
1182
|
-
|
|
1183
|
-
case 'XXXX':
|
|
1184
|
-
case 'XX':
|
|
1185
|
-
// Hours and minutes without `:` delimiter
|
|
1186
|
-
return formatTimezone(timezoneOffset);
|
|
1187
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1188
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1189
|
-
// so this token always has the same output as `XXX`
|
|
1190
|
-
|
|
1191
|
-
case 'XXXXX':
|
|
1192
|
-
case 'XXX': // Hours and minutes with `:` delimiter
|
|
1193
|
-
|
|
1194
|
-
default:
|
|
1195
|
-
return formatTimezone(timezoneOffset, ':');
|
|
1196
|
-
}
|
|
1197
|
-
},
|
|
1198
|
-
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
1199
|
-
x: function x(date, token, _localize, options) {
|
|
1200
|
-
var originalDate = options._originalDate || date;
|
|
1201
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1202
|
-
|
|
1203
|
-
switch (token) {
|
|
1204
|
-
// Hours and optional minutes
|
|
1205
|
-
case 'x':
|
|
1206
|
-
return formatTimezoneWithOptionalMinutes(timezoneOffset);
|
|
1207
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1208
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1209
|
-
// so this token always has the same output as `xx`
|
|
1210
|
-
|
|
1211
|
-
case 'xxxx':
|
|
1212
|
-
case 'xx':
|
|
1213
|
-
// Hours and minutes without `:` delimiter
|
|
1214
|
-
return formatTimezone(timezoneOffset);
|
|
1215
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1216
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1217
|
-
// so this token always has the same output as `xxx`
|
|
1218
|
-
|
|
1219
|
-
case 'xxxxx':
|
|
1220
|
-
case 'xxx': // Hours and minutes with `:` delimiter
|
|
1221
|
-
|
|
1222
|
-
default:
|
|
1223
|
-
return formatTimezone(timezoneOffset, ':');
|
|
1224
|
-
}
|
|
1225
|
-
},
|
|
1226
|
-
// Timezone (GMT)
|
|
1227
|
-
O: function O(date, token, _localize, options) {
|
|
1228
|
-
var originalDate = options._originalDate || date;
|
|
1229
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1230
|
-
|
|
1231
|
-
switch (token) {
|
|
1232
|
-
// Short
|
|
1233
|
-
case 'O':
|
|
1234
|
-
case 'OO':
|
|
1235
|
-
case 'OOO':
|
|
1236
|
-
return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
|
|
1237
|
-
// Long
|
|
1238
|
-
|
|
1239
|
-
case 'OOOO':
|
|
1240
|
-
default:
|
|
1241
|
-
return 'GMT' + formatTimezone(timezoneOffset, ':');
|
|
1242
|
-
}
|
|
1243
|
-
},
|
|
1244
|
-
// Timezone (specific non-location)
|
|
1245
|
-
z: function z(date, token, _localize, options) {
|
|
1246
|
-
var originalDate = options._originalDate || date;
|
|
1247
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1248
|
-
|
|
1249
|
-
switch (token) {
|
|
1250
|
-
// Short
|
|
1251
|
-
case 'z':
|
|
1252
|
-
case 'zz':
|
|
1253
|
-
case 'zzz':
|
|
1254
|
-
return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
|
|
1255
|
-
// Long
|
|
1256
|
-
|
|
1257
|
-
case 'zzzz':
|
|
1258
|
-
default:
|
|
1259
|
-
return 'GMT' + formatTimezone(timezoneOffset, ':');
|
|
1260
|
-
}
|
|
1261
|
-
},
|
|
1262
|
-
// Seconds timestamp
|
|
1263
|
-
t: function t(date, token, _localize, options) {
|
|
1264
|
-
var originalDate = options._originalDate || date;
|
|
1265
|
-
var timestamp = Math.floor(originalDate.getTime() / 1000);
|
|
1266
|
-
return addLeadingZeros(timestamp, token.length);
|
|
1267
|
-
},
|
|
1268
|
-
// Milliseconds timestamp
|
|
1269
|
-
T: function T(date, token, _localize, options) {
|
|
1270
|
-
var originalDate = options._originalDate || date;
|
|
1271
|
-
var timestamp = originalDate.getTime();
|
|
1272
|
-
return addLeadingZeros(timestamp, token.length);
|
|
1273
|
-
}
|
|
1274
|
-
};
|
|
1275
|
-
|
|
1276
|
-
function formatTimezoneShort(offset, dirtyDelimiter) {
|
|
1277
|
-
var sign = offset > 0 ? '-' : '+';
|
|
1278
|
-
var absOffset = Math.abs(offset);
|
|
1279
|
-
var hours = Math.floor(absOffset / 60);
|
|
1280
|
-
var minutes = absOffset % 60;
|
|
1281
|
-
|
|
1282
|
-
if (minutes === 0) {
|
|
1283
|
-
return sign + String(hours);
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
var delimiter = dirtyDelimiter || '';
|
|
1287
|
-
return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {
|
|
1291
|
-
if (offset % 60 === 0) {
|
|
1292
|
-
var sign = offset > 0 ? '-' : '+';
|
|
1293
|
-
return sign + addLeadingZeros(Math.abs(offset) / 60, 2);
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
return formatTimezone(offset, dirtyDelimiter);
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
function formatTimezone(offset, dirtyDelimiter) {
|
|
1300
|
-
var delimiter = dirtyDelimiter || '';
|
|
1301
|
-
var sign = offset > 0 ? '-' : '+';
|
|
1302
|
-
var absOffset = Math.abs(offset);
|
|
1303
|
-
var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);
|
|
1304
|
-
var minutes = addLeadingZeros(absOffset % 60, 2);
|
|
1305
|
-
return sign + hours + delimiter + minutes;
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
var formatters$1 = formatters;
|
|
1309
|
-
|
|
1310
|
-
var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {
|
|
1311
|
-
switch (pattern) {
|
|
1312
|
-
case 'P':
|
|
1313
|
-
return formatLong.date({
|
|
1314
|
-
width: 'short'
|
|
1315
|
-
});
|
|
1316
|
-
|
|
1317
|
-
case 'PP':
|
|
1318
|
-
return formatLong.date({
|
|
1319
|
-
width: 'medium'
|
|
1320
|
-
});
|
|
1321
|
-
|
|
1322
|
-
case 'PPP':
|
|
1323
|
-
return formatLong.date({
|
|
1324
|
-
width: 'long'
|
|
1325
|
-
});
|
|
1326
|
-
|
|
1327
|
-
case 'PPPP':
|
|
1328
|
-
default:
|
|
1329
|
-
return formatLong.date({
|
|
1330
|
-
width: 'full'
|
|
1331
|
-
});
|
|
1332
|
-
}
|
|
1333
|
-
};
|
|
1334
|
-
|
|
1335
|
-
var timeLongFormatter = function timeLongFormatter(pattern, formatLong) {
|
|
1336
|
-
switch (pattern) {
|
|
1337
|
-
case 'p':
|
|
1338
|
-
return formatLong.time({
|
|
1339
|
-
width: 'short'
|
|
1340
|
-
});
|
|
1341
|
-
|
|
1342
|
-
case 'pp':
|
|
1343
|
-
return formatLong.time({
|
|
1344
|
-
width: 'medium'
|
|
1345
|
-
});
|
|
1346
|
-
|
|
1347
|
-
case 'ppp':
|
|
1348
|
-
return formatLong.time({
|
|
1349
|
-
width: 'long'
|
|
1350
|
-
});
|
|
1351
|
-
|
|
1352
|
-
case 'pppp':
|
|
1353
|
-
default:
|
|
1354
|
-
return formatLong.time({
|
|
1355
|
-
width: 'full'
|
|
1356
|
-
});
|
|
1357
|
-
}
|
|
1358
|
-
};
|
|
1359
|
-
|
|
1360
|
-
var dateTimeLongFormatter = function dateTimeLongFormatter(pattern, formatLong) {
|
|
1361
|
-
var matchResult = pattern.match(/(P+)(p+)?/) || [];
|
|
1362
|
-
var datePattern = matchResult[1];
|
|
1363
|
-
var timePattern = matchResult[2];
|
|
1364
|
-
|
|
1365
|
-
if (!timePattern) {
|
|
1366
|
-
return dateLongFormatter(pattern, formatLong);
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
var dateTimeFormat;
|
|
1370
|
-
|
|
1371
|
-
switch (datePattern) {
|
|
1372
|
-
case 'P':
|
|
1373
|
-
dateTimeFormat = formatLong.dateTime({
|
|
1374
|
-
width: 'short'
|
|
1375
|
-
});
|
|
1376
|
-
break;
|
|
1377
|
-
|
|
1378
|
-
case 'PP':
|
|
1379
|
-
dateTimeFormat = formatLong.dateTime({
|
|
1380
|
-
width: 'medium'
|
|
1381
|
-
});
|
|
1382
|
-
break;
|
|
1383
|
-
|
|
1384
|
-
case 'PPP':
|
|
1385
|
-
dateTimeFormat = formatLong.dateTime({
|
|
1386
|
-
width: 'long'
|
|
1387
|
-
});
|
|
1388
|
-
break;
|
|
1389
|
-
|
|
1390
|
-
case 'PPPP':
|
|
1391
|
-
default:
|
|
1392
|
-
dateTimeFormat = formatLong.dateTime({
|
|
1393
|
-
width: 'full'
|
|
1394
|
-
});
|
|
1395
|
-
break;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));
|
|
1399
|
-
};
|
|
1400
|
-
|
|
1401
|
-
var longFormatters = {
|
|
1402
|
-
p: timeLongFormatter,
|
|
1403
|
-
P: dateTimeLongFormatter
|
|
1404
|
-
};
|
|
1405
|
-
var longFormatters$1 = longFormatters;
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
|
|
1409
|
-
* They usually appear for dates that denote time before the timezones were introduced
|
|
1410
|
-
* (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891
|
|
1411
|
-
* and GMT+01:00:00 after that date)
|
|
1412
|
-
*
|
|
1413
|
-
* Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,
|
|
1414
|
-
* which would lead to incorrect calculations.
|
|
1415
|
-
*
|
|
1416
|
-
* This function returns the timezone offset in milliseconds that takes seconds in account.
|
|
1417
|
-
*/
|
|
1418
|
-
function getTimezoneOffsetInMilliseconds(date) {
|
|
1419
|
-
var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
|
|
1420
|
-
utcDate.setUTCFullYear(date.getFullYear());
|
|
1421
|
-
return date.getTime() - utcDate.getTime();
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
var protectedDayOfYearTokens = ['D', 'DD'];
|
|
1425
|
-
var protectedWeekYearTokens = ['YY', 'YYYY'];
|
|
1426
|
-
function isProtectedDayOfYearToken(token) {
|
|
1427
|
-
return protectedDayOfYearTokens.indexOf(token) !== -1;
|
|
1428
|
-
}
|
|
1429
|
-
function isProtectedWeekYearToken(token) {
|
|
1430
|
-
return protectedWeekYearTokens.indexOf(token) !== -1;
|
|
1431
|
-
}
|
|
1432
|
-
function throwProtectedError(token, format, input) {
|
|
1433
|
-
if (token === 'YYYY') {
|
|
1434
|
-
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
1435
|
-
} else if (token === 'YY') {
|
|
1436
|
-
throw new RangeError("Use `yy` instead of `YY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
1437
|
-
} else if (token === 'D') {
|
|
1438
|
-
throw new RangeError("Use `d` instead of `D` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
1439
|
-
} else if (token === 'DD') {
|
|
1440
|
-
throw new RangeError("Use `dd` instead of `DD` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
|
|
1445
|
-
// (one of the certain letters followed by `o`)
|
|
1446
|
-
// - (\w)\1* matches any sequences of the same letter
|
|
1447
|
-
// - '' matches two quote characters in a row
|
|
1448
|
-
// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
|
|
1449
|
-
// except a single quote symbol, which ends the sequence.
|
|
1450
|
-
// Two quote characters do not end the sequence.
|
|
1451
|
-
// If there is no matching single quote
|
|
1452
|
-
// then the sequence will continue until the end of the string.
|
|
1453
|
-
// - . matches any single character unmatched by previous parts of the RegExps
|
|
1454
|
-
|
|
1455
|
-
var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also
|
|
1456
|
-
// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
|
|
1457
|
-
|
|
1458
|
-
var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
|
|
1459
|
-
var escapedStringRegExp = /^'([^]*?)'?$/;
|
|
1460
|
-
var doubleQuoteRegExp = /''/g;
|
|
1461
|
-
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
1462
|
-
/**
|
|
1463
|
-
* @name format
|
|
1464
|
-
* @category Common Helpers
|
|
1465
|
-
* @summary Format the date.
|
|
1466
|
-
*
|
|
1467
|
-
* @description
|
|
1468
|
-
* Return the formatted date string in the given format. The result may vary by locale.
|
|
1469
|
-
*
|
|
1470
|
-
* > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
|
|
1471
|
-
* > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1472
|
-
*
|
|
1473
|
-
* The characters wrapped between two single quotes characters (') are escaped.
|
|
1474
|
-
* Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
|
|
1475
|
-
* (see the last example)
|
|
1476
|
-
*
|
|
1477
|
-
* Format of the string is based on Unicode Technical Standard #35:
|
|
1478
|
-
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
1479
|
-
* with a few additions (see note 7 below the table).
|
|
1480
|
-
*
|
|
1481
|
-
* Accepted patterns:
|
|
1482
|
-
* | Unit | Pattern | Result examples | Notes |
|
|
1483
|
-
* |---------------------------------|---------|-----------------------------------|-------|
|
|
1484
|
-
* | Era | G..GGG | AD, BC | |
|
|
1485
|
-
* | | GGGG | Anno Domini, Before Christ | 2 |
|
|
1486
|
-
* | | GGGGG | A, B | |
|
|
1487
|
-
* | Calendar year | y | 44, 1, 1900, 2017 | 5 |
|
|
1488
|
-
* | | yo | 44th, 1st, 0th, 17th | 5,7 |
|
|
1489
|
-
* | | yy | 44, 01, 00, 17 | 5 |
|
|
1490
|
-
* | | yyy | 044, 001, 1900, 2017 | 5 |
|
|
1491
|
-
* | | yyyy | 0044, 0001, 1900, 2017 | 5 |
|
|
1492
|
-
* | | yyyyy | ... | 3,5 |
|
|
1493
|
-
* | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |
|
|
1494
|
-
* | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |
|
|
1495
|
-
* | | YY | 44, 01, 00, 17 | 5,8 |
|
|
1496
|
-
* | | YYY | 044, 001, 1900, 2017 | 5 |
|
|
1497
|
-
* | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |
|
|
1498
|
-
* | | YYYYY | ... | 3,5 |
|
|
1499
|
-
* | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |
|
|
1500
|
-
* | | RR | -43, 00, 01, 1900, 2017 | 5,7 |
|
|
1501
|
-
* | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |
|
|
1502
|
-
* | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |
|
|
1503
|
-
* | | RRRRR | ... | 3,5,7 |
|
|
1504
|
-
* | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |
|
|
1505
|
-
* | | uu | -43, 01, 1900, 2017 | 5 |
|
|
1506
|
-
* | | uuu | -043, 001, 1900, 2017 | 5 |
|
|
1507
|
-
* | | uuuu | -0043, 0001, 1900, 2017 | 5 |
|
|
1508
|
-
* | | uuuuu | ... | 3,5 |
|
|
1509
|
-
* | Quarter (formatting) | Q | 1, 2, 3, 4 | |
|
|
1510
|
-
* | | Qo | 1st, 2nd, 3rd, 4th | 7 |
|
|
1511
|
-
* | | QQ | 01, 02, 03, 04 | |
|
|
1512
|
-
* | | QQQ | Q1, Q2, Q3, Q4 | |
|
|
1513
|
-
* | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
|
|
1514
|
-
* | | QQQQQ | 1, 2, 3, 4 | 4 |
|
|
1515
|
-
* | Quarter (stand-alone) | q | 1, 2, 3, 4 | |
|
|
1516
|
-
* | | qo | 1st, 2nd, 3rd, 4th | 7 |
|
|
1517
|
-
* | | qq | 01, 02, 03, 04 | |
|
|
1518
|
-
* | | qqq | Q1, Q2, Q3, Q4 | |
|
|
1519
|
-
* | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
|
|
1520
|
-
* | | qqqqq | 1, 2, 3, 4 | 4 |
|
|
1521
|
-
* | Month (formatting) | M | 1, 2, ..., 12 | |
|
|
1522
|
-
* | | Mo | 1st, 2nd, ..., 12th | 7 |
|
|
1523
|
-
* | | MM | 01, 02, ..., 12 | |
|
|
1524
|
-
* | | MMM | Jan, Feb, ..., Dec | |
|
|
1525
|
-
* | | MMMM | January, February, ..., December | 2 |
|
|
1526
|
-
* | | MMMMM | J, F, ..., D | |
|
|
1527
|
-
* | Month (stand-alone) | L | 1, 2, ..., 12 | |
|
|
1528
|
-
* | | Lo | 1st, 2nd, ..., 12th | 7 |
|
|
1529
|
-
* | | LL | 01, 02, ..., 12 | |
|
|
1530
|
-
* | | LLL | Jan, Feb, ..., Dec | |
|
|
1531
|
-
* | | LLLL | January, February, ..., December | 2 |
|
|
1532
|
-
* | | LLLLL | J, F, ..., D | |
|
|
1533
|
-
* | Local week of year | w | 1, 2, ..., 53 | |
|
|
1534
|
-
* | | wo | 1st, 2nd, ..., 53th | 7 |
|
|
1535
|
-
* | | ww | 01, 02, ..., 53 | |
|
|
1536
|
-
* | ISO week of year | I | 1, 2, ..., 53 | 7 |
|
|
1537
|
-
* | | Io | 1st, 2nd, ..., 53th | 7 |
|
|
1538
|
-
* | | II | 01, 02, ..., 53 | 7 |
|
|
1539
|
-
* | Day of month | d | 1, 2, ..., 31 | |
|
|
1540
|
-
* | | do | 1st, 2nd, ..., 31st | 7 |
|
|
1541
|
-
* | | dd | 01, 02, ..., 31 | |
|
|
1542
|
-
* | Day of year | D | 1, 2, ..., 365, 366 | 9 |
|
|
1543
|
-
* | | Do | 1st, 2nd, ..., 365th, 366th | 7 |
|
|
1544
|
-
* | | DD | 01, 02, ..., 365, 366 | 9 |
|
|
1545
|
-
* | | DDD | 001, 002, ..., 365, 366 | |
|
|
1546
|
-
* | | DDDD | ... | 3 |
|
|
1547
|
-
* | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |
|
|
1548
|
-
* | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
|
|
1549
|
-
* | | EEEEE | M, T, W, T, F, S, S | |
|
|
1550
|
-
* | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1551
|
-
* | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |
|
|
1552
|
-
* | | io | 1st, 2nd, ..., 7th | 7 |
|
|
1553
|
-
* | | ii | 01, 02, ..., 07 | 7 |
|
|
1554
|
-
* | | iii | Mon, Tue, Wed, ..., Sun | 7 |
|
|
1555
|
-
* | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |
|
|
1556
|
-
* | | iiiii | M, T, W, T, F, S, S | 7 |
|
|
1557
|
-
* | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |
|
|
1558
|
-
* | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |
|
|
1559
|
-
* | | eo | 2nd, 3rd, ..., 1st | 7 |
|
|
1560
|
-
* | | ee | 02, 03, ..., 01 | |
|
|
1561
|
-
* | | eee | Mon, Tue, Wed, ..., Sun | |
|
|
1562
|
-
* | | eeee | Monday, Tuesday, ..., Sunday | 2 |
|
|
1563
|
-
* | | eeeee | M, T, W, T, F, S, S | |
|
|
1564
|
-
* | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1565
|
-
* | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |
|
|
1566
|
-
* | | co | 2nd, 3rd, ..., 1st | 7 |
|
|
1567
|
-
* | | cc | 02, 03, ..., 01 | |
|
|
1568
|
-
* | | ccc | Mon, Tue, Wed, ..., Sun | |
|
|
1569
|
-
* | | cccc | Monday, Tuesday, ..., Sunday | 2 |
|
|
1570
|
-
* | | ccccc | M, T, W, T, F, S, S | |
|
|
1571
|
-
* | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1572
|
-
* | AM, PM | a..aa | AM, PM | |
|
|
1573
|
-
* | | aaa | am, pm | |
|
|
1574
|
-
* | | aaaa | a.m., p.m. | 2 |
|
|
1575
|
-
* | | aaaaa | a, p | |
|
|
1576
|
-
* | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |
|
|
1577
|
-
* | | bbb | am, pm, noon, midnight | |
|
|
1578
|
-
* | | bbbb | a.m., p.m., noon, midnight | 2 |
|
|
1579
|
-
* | | bbbbb | a, p, n, mi | |
|
|
1580
|
-
* | Flexible day period | B..BBB | at night, in the morning, ... | |
|
|
1581
|
-
* | | BBBB | at night, in the morning, ... | 2 |
|
|
1582
|
-
* | | BBBBB | at night, in the morning, ... | |
|
|
1583
|
-
* | Hour [1-12] | h | 1, 2, ..., 11, 12 | |
|
|
1584
|
-
* | | ho | 1st, 2nd, ..., 11th, 12th | 7 |
|
|
1585
|
-
* | | hh | 01, 02, ..., 11, 12 | |
|
|
1586
|
-
* | Hour [0-23] | H | 0, 1, 2, ..., 23 | |
|
|
1587
|
-
* | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |
|
|
1588
|
-
* | | HH | 00, 01, 02, ..., 23 | |
|
|
1589
|
-
* | Hour [0-11] | K | 1, 2, ..., 11, 0 | |
|
|
1590
|
-
* | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |
|
|
1591
|
-
* | | KK | 01, 02, ..., 11, 00 | |
|
|
1592
|
-
* | Hour [1-24] | k | 24, 1, 2, ..., 23 | |
|
|
1593
|
-
* | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |
|
|
1594
|
-
* | | kk | 24, 01, 02, ..., 23 | |
|
|
1595
|
-
* | Minute | m | 0, 1, ..., 59 | |
|
|
1596
|
-
* | | mo | 0th, 1st, ..., 59th | 7 |
|
|
1597
|
-
* | | mm | 00, 01, ..., 59 | |
|
|
1598
|
-
* | Second | s | 0, 1, ..., 59 | |
|
|
1599
|
-
* | | so | 0th, 1st, ..., 59th | 7 |
|
|
1600
|
-
* | | ss | 00, 01, ..., 59 | |
|
|
1601
|
-
* | Fraction of second | S | 0, 1, ..., 9 | |
|
|
1602
|
-
* | | SS | 00, 01, ..., 99 | |
|
|
1603
|
-
* | | SSS | 000, 001, ..., 999 | |
|
|
1604
|
-
* | | SSSS | ... | 3 |
|
|
1605
|
-
* | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |
|
|
1606
|
-
* | | XX | -0800, +0530, Z | |
|
|
1607
|
-
* | | XXX | -08:00, +05:30, Z | |
|
|
1608
|
-
* | | XXXX | -0800, +0530, Z, +123456 | 2 |
|
|
1609
|
-
* | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
|
|
1610
|
-
* | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |
|
|
1611
|
-
* | | xx | -0800, +0530, +0000 | |
|
|
1612
|
-
* | | xxx | -08:00, +05:30, +00:00 | 2 |
|
|
1613
|
-
* | | xxxx | -0800, +0530, +0000, +123456 | |
|
|
1614
|
-
* | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
|
|
1615
|
-
* | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |
|
|
1616
|
-
* | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |
|
|
1617
|
-
* | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |
|
|
1618
|
-
* | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |
|
|
1619
|
-
* | Seconds timestamp | t | 512969520 | 7 |
|
|
1620
|
-
* | | tt | ... | 3,7 |
|
|
1621
|
-
* | Milliseconds timestamp | T | 512969520900 | 7 |
|
|
1622
|
-
* | | TT | ... | 3,7 |
|
|
1623
|
-
* | Long localized date | P | 04/29/1453 | 7 |
|
|
1624
|
-
* | | PP | Apr 29, 1453 | 7 |
|
|
1625
|
-
* | | PPP | April 29th, 1453 | 7 |
|
|
1626
|
-
* | | PPPP | Friday, April 29th, 1453 | 2,7 |
|
|
1627
|
-
* | Long localized time | p | 12:00 AM | 7 |
|
|
1628
|
-
* | | pp | 12:00:00 AM | 7 |
|
|
1629
|
-
* | | ppp | 12:00:00 AM GMT+2 | 7 |
|
|
1630
|
-
* | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |
|
|
1631
|
-
* | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |
|
|
1632
|
-
* | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |
|
|
1633
|
-
* | | PPPppp | April 29th, 1453 at ... | 7 |
|
|
1634
|
-
* | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |
|
|
1635
|
-
* Notes:
|
|
1636
|
-
* 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
|
|
1637
|
-
* are the same as "stand-alone" units, but are different in some languages.
|
|
1638
|
-
* "Formatting" units are declined according to the rules of the language
|
|
1639
|
-
* in the context of a date. "Stand-alone" units are always nominative singular:
|
|
1640
|
-
*
|
|
1641
|
-
* `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
|
|
1642
|
-
*
|
|
1643
|
-
* `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
|
|
1644
|
-
*
|
|
1645
|
-
* 2. Any sequence of the identical letters is a pattern, unless it is escaped by
|
|
1646
|
-
* the single quote characters (see below).
|
|
1647
|
-
* If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)
|
|
1648
|
-
* the output will be the same as default pattern for this unit, usually
|
|
1649
|
-
* the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units
|
|
1650
|
-
* are marked with "2" in the last column of the table.
|
|
1651
|
-
*
|
|
1652
|
-
* `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`
|
|
1653
|
-
*
|
|
1654
|
-
* `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`
|
|
1655
|
-
*
|
|
1656
|
-
* `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`
|
|
1657
|
-
*
|
|
1658
|
-
* `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`
|
|
1659
|
-
*
|
|
1660
|
-
* `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`
|
|
1661
|
-
*
|
|
1662
|
-
* 3. Some patterns could be unlimited length (such as `yyyyyyyy`).
|
|
1663
|
-
* The output will be padded with zeros to match the length of the pattern.
|
|
1664
|
-
*
|
|
1665
|
-
* `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`
|
|
1666
|
-
*
|
|
1667
|
-
* 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
|
|
1668
|
-
* These tokens represent the shortest form of the quarter.
|
|
1669
|
-
*
|
|
1670
|
-
* 5. The main difference between `y` and `u` patterns are B.C. years:
|
|
1671
|
-
*
|
|
1672
|
-
* | Year | `y` | `u` |
|
|
1673
|
-
* |------|-----|-----|
|
|
1674
|
-
* | AC 1 | 1 | 1 |
|
|
1675
|
-
* | BC 1 | 1 | 0 |
|
|
1676
|
-
* | BC 2 | 2 | -1 |
|
|
1677
|
-
*
|
|
1678
|
-
* Also `yy` always returns the last two digits of a year,
|
|
1679
|
-
* while `uu` pads single digit years to 2 characters and returns other years unchanged:
|
|
1680
|
-
*
|
|
1681
|
-
* | Year | `yy` | `uu` |
|
|
1682
|
-
* |------|------|------|
|
|
1683
|
-
* | 1 | 01 | 01 |
|
|
1684
|
-
* | 14 | 14 | 14 |
|
|
1685
|
-
* | 376 | 76 | 376 |
|
|
1686
|
-
* | 1453 | 53 | 1453 |
|
|
1687
|
-
*
|
|
1688
|
-
* The same difference is true for local and ISO week-numbering years (`Y` and `R`),
|
|
1689
|
-
* except local week-numbering years are dependent on `options.weekStartsOn`
|
|
1690
|
-
* and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}
|
|
1691
|
-
* and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).
|
|
1692
|
-
*
|
|
1693
|
-
* 6. Specific non-location timezones are currently unavailable in `date-fns`,
|
|
1694
|
-
* so right now these tokens fall back to GMT timezones.
|
|
1695
|
-
*
|
|
1696
|
-
* 7. These patterns are not in the Unicode Technical Standard #35:
|
|
1697
|
-
* - `i`: ISO day of week
|
|
1698
|
-
* - `I`: ISO week of year
|
|
1699
|
-
* - `R`: ISO week-numbering year
|
|
1700
|
-
* - `t`: seconds timestamp
|
|
1701
|
-
* - `T`: milliseconds timestamp
|
|
1702
|
-
* - `o`: ordinal number modifier
|
|
1703
|
-
* - `P`: long localized date
|
|
1704
|
-
* - `p`: long localized time
|
|
1705
|
-
*
|
|
1706
|
-
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
1707
|
-
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1708
|
-
*
|
|
1709
|
-
* 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
|
|
1710
|
-
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1711
|
-
*
|
|
1712
|
-
* @param {Date|Number} date - the original date
|
|
1713
|
-
* @param {String} format - the string of tokens
|
|
1714
|
-
* @param {Object} [options] - an object with options.
|
|
1715
|
-
* @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
|
|
1716
|
-
* @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
|
|
1717
|
-
* @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is
|
|
1718
|
-
* @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
|
|
1719
|
-
* see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1720
|
-
* @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
|
|
1721
|
-
* see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1722
|
-
* @returns {String} the formatted date string
|
|
1723
|
-
* @throws {TypeError} 2 arguments required
|
|
1724
|
-
* @throws {RangeError} `date` must not be Invalid Date
|
|
1725
|
-
* @throws {RangeError} `options.locale` must contain `localize` property
|
|
1726
|
-
* @throws {RangeError} `options.locale` must contain `formatLong` property
|
|
1727
|
-
* @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
|
|
1728
|
-
* @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
|
|
1729
|
-
* @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1730
|
-
* @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1731
|
-
* @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1732
|
-
* @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
1733
|
-
* @throws {RangeError} format string contains an unescaped latin alphabet character
|
|
1734
|
-
*
|
|
1735
|
-
* @example
|
|
1736
|
-
* // Represent 11 February 2014 in middle-endian format:
|
|
1737
|
-
* const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')
|
|
1738
|
-
* //=> '02/11/2014'
|
|
1739
|
-
*
|
|
1740
|
-
* @example
|
|
1741
|
-
* // Represent 2 July 2014 in Esperanto:
|
|
1742
|
-
* import { eoLocale } from 'date-fns/locale/eo'
|
|
1743
|
-
* const result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", {
|
|
1744
|
-
* locale: eoLocale
|
|
1745
|
-
* })
|
|
1746
|
-
* //=> '2-a de julio 2014'
|
|
1747
|
-
*
|
|
1748
|
-
* @example
|
|
1749
|
-
* // Escape string by single quote characters:
|
|
1750
|
-
* const result = format(new Date(2014, 6, 2, 15), "h 'o''clock'")
|
|
1751
|
-
* //=> "3 o'clock"
|
|
1752
|
-
*/
|
|
1753
|
-
|
|
1754
|
-
function format(dirtyDate, dirtyFormatStr, options) {
|
|
1755
|
-
var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;
|
|
1756
|
-
|
|
1757
|
-
requiredArgs(2, arguments);
|
|
1758
|
-
var formatStr = String(dirtyFormatStr);
|
|
1759
|
-
var defaultOptions = getDefaultOptions();
|
|
1760
|
-
var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;
|
|
1761
|
-
var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
|
|
1762
|
-
|
|
1763
|
-
if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
|
|
1764
|
-
throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1768
|
-
|
|
1769
|
-
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
1770
|
-
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
if (!locale.localize) {
|
|
1774
|
-
throw new RangeError('locale must contain localize property');
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
if (!locale.formatLong) {
|
|
1778
|
-
throw new RangeError('locale must contain formatLong property');
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
var originalDate = toDate(dirtyDate);
|
|
1782
|
-
|
|
1783
|
-
if (!isValid(originalDate)) {
|
|
1784
|
-
throw new RangeError('Invalid time value');
|
|
1785
|
-
} // Convert the date in system timezone to the same date in UTC+00:00 timezone.
|
|
1786
|
-
// This ensures that when UTC functions will be implemented, locales will be compatible with them.
|
|
1787
|
-
// See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);
|
|
1791
|
-
var utcDate = subMilliseconds(originalDate, timezoneOffset);
|
|
1792
|
-
var formatterOptions = {
|
|
1793
|
-
firstWeekContainsDate: firstWeekContainsDate,
|
|
1794
|
-
weekStartsOn: weekStartsOn,
|
|
1795
|
-
locale: locale,
|
|
1796
|
-
_originalDate: originalDate
|
|
1797
|
-
};
|
|
1798
|
-
var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {
|
|
1799
|
-
var firstCharacter = substring[0];
|
|
1800
|
-
|
|
1801
|
-
if (firstCharacter === 'p' || firstCharacter === 'P') {
|
|
1802
|
-
var longFormatter = longFormatters$1[firstCharacter];
|
|
1803
|
-
return longFormatter(substring, locale.formatLong);
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
return substring;
|
|
1807
|
-
}).join('').match(formattingTokensRegExp).map(function (substring) {
|
|
1808
|
-
// Replace two single quote characters with one single quote character
|
|
1809
|
-
if (substring === "''") {
|
|
1810
|
-
return "'";
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
var firstCharacter = substring[0];
|
|
1814
|
-
|
|
1815
|
-
if (firstCharacter === "'") {
|
|
1816
|
-
return cleanEscapedString(substring);
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
var formatter = formatters$1[firstCharacter];
|
|
1820
|
-
|
|
1821
|
-
if (formatter) {
|
|
1822
|
-
if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(substring)) {
|
|
1823
|
-
throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(substring)) {
|
|
1827
|
-
throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
return formatter(utcDate, substring, locale.localize, formatterOptions);
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
|
|
1834
|
-
throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
return substring;
|
|
1838
|
-
}).join('');
|
|
1839
|
-
return result;
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
function cleanEscapedString(input) {
|
|
1843
|
-
var matched = input.match(escapedStringRegExp);
|
|
1844
|
-
|
|
1845
|
-
if (!matched) {
|
|
1846
|
-
return input;
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
return matched[1].replace(doubleQuoteRegExp, "'");
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
export { toInteger as a, format as f, requiredArgs as r, toDate as t };
|
|
1853
|
-
//# sourceMappingURL=bundle-6KxAQ3DO.js.map
|