@sendbird/uikit-react 3.12.0 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +79 -75
- package/App.js.map +1 -1
- package/CHANGELOG.md +98 -1
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +67 -63
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +28 -28
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +64 -58
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageFeedbackModal.js +9 -9
- package/Channel/components/MessageInput.js +41 -41
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +78 -83
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +27 -27
- package/Channel/components/SuggestedMentionList.js +27 -27
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +20 -20
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +8 -97
- package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
- package/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/Channel/utils/getMessagePartsInfo.js +6 -6
- package/Channel.js +67 -63
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +20 -20
- package/ChannelList/components/ChannelListHeader.js +8 -8
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +27 -27
- package/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsUI.js +49 -54
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +21 -21
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +20 -20
- package/ChannelSettings/context.js +89 -43
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings.js +23 -23
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +11 -11
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/GroupChannel/components/FileViewer.js +23 -23
- package/GroupChannel/components/FrozenNotification.js +5 -5
- package/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/GroupChannel/components/GroupChannelUI.js +62 -58
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +63 -54
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +38 -38
- package/GroupChannel/components/MessageList.js +73 -67
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/GroupChannel/components/SuggestedMentionList.js +12 -11
- package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
- package/GroupChannel/components/SuggestedReplies.js +1 -1
- package/GroupChannel/components/TypingIndicator.js +6 -6
- package/GroupChannel/components/UnreadCount.js +7 -7
- package/GroupChannel/context.js +15 -15
- package/GroupChannel.js +62 -58
- package/GroupChannel.js.map +1 -1
- package/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/GroupChannelList/context.js +5 -5
- package/GroupChannelList.js +33 -33
- package/MessageSearch/components/MessageSearchUI.js +14 -14
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +14 -14
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/OpenChannel/components/OpenChannelInput.js +25 -25
- package/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/OpenChannel/components/OpenChannelUI.js +39 -39
- package/OpenChannel/context.js +17 -17
- package/OpenChannel.js +39 -39
- package/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +14 -14
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -19
- package/SendbirdProvider.js +360 -83
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +42 -42
- package/Thread/components/ParentMessageInfoItem.js +28 -28
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +46 -46
- package/Thread/components/ThreadListItem.js +46 -46
- package/Thread/components/ThreadMessageInput.js +49 -48
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +56 -56
- package/Thread/context.js +9 -9
- package/Thread.js +56 -56
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-Mj9lwGep.js → bundle--GxLwo7q.js} +4 -4
- package/chunks/{bundle-Mj9lwGep.js.map → bundle--GxLwo7q.js.map} +1 -1
- package/chunks/{bundle-TWhlUSzV.js → bundle--WETJA_c.js} +6 -6
- package/chunks/bundle--WETJA_c.js.map +1 -0
- package/chunks/{bundle-NRvvlX8r.js → bundle-0DTNrbOf.js} +1 -1
- package/chunks/bundle-0DTNrbOf.js.map +1 -0
- package/chunks/{bundle-jnJfrZ-B.js → bundle-0QDb7-Y_.js} +1 -1
- package/chunks/{bundle-jnJfrZ-B.js.map → bundle-0QDb7-Y_.js.map} +1 -1
- package/chunks/{bundle-ThaFnyA3.js → bundle-0Vur_TKy.js} +1 -1
- package/chunks/bundle-0Vur_TKy.js.map +1 -0
- package/chunks/{bundle-Yc91ktUe.js → bundle-2194oWZc.js} +1 -1
- package/chunks/bundle-2194oWZc.js.map +1 -0
- package/chunks/{bundle-hwjo__1w.js → bundle-22Jw6ztq.js} +6 -6
- package/chunks/bundle-22Jw6ztq.js.map +1 -0
- package/chunks/{bundle-FMptIFTe.js → bundle-2AR3a1T9.js} +3 -3
- package/chunks/bundle-2AR3a1T9.js.map +1 -0
- package/chunks/{bundle-5qVfPYXm.js → bundle-39Y3yv8j.js} +1 -1
- package/chunks/bundle-39Y3yv8j.js.map +1 -0
- package/chunks/{bundle-29ZwEQCB.js → bundle-3E-IANjq.js} +1 -1
- package/chunks/bundle-3E-IANjq.js.map +1 -0
- package/chunks/{bundle-mbVaGxy-.js → bundle-4gcxTdvH.js} +1 -1
- package/chunks/bundle-4gcxTdvH.js.map +1 -0
- package/chunks/bundle-6KFri-1A.js +1689 -0
- package/chunks/bundle-6KFri-1A.js.map +1 -0
- package/chunks/{bundle-8msIvFyl.js → bundle-6_zAh1Y3.js} +10 -10
- package/chunks/{bundle-8msIvFyl.js.map → bundle-6_zAh1Y3.js.map} +1 -1
- package/chunks/{bundle-laqNvtHc.js → bundle-6ruK1Zgw.js} +2 -2
- package/chunks/bundle-6ruK1Zgw.js.map +1 -0
- package/chunks/{bundle-ammXYCNc.js → bundle-6yzuMtzi.js} +1 -1
- package/chunks/bundle-6yzuMtzi.js.map +1 -0
- package/chunks/{bundle-B3ETdLpu.js → bundle-6zdlkf2J.js} +1 -1
- package/chunks/bundle-6zdlkf2J.js.map +1 -0
- package/chunks/{bundle-WJ0Rx9Vt.js → bundle-7Mx2MtAL.js} +2 -2
- package/chunks/bundle-7Mx2MtAL.js.map +1 -0
- package/chunks/{bundle--bzcDcV7.js → bundle-85rk09Bx.js} +1 -1
- package/chunks/bundle-85rk09Bx.js.map +1 -0
- package/chunks/{bundle-YK6gNh-t.js → bundle-9C7b_-hs.js} +1 -1
- package/chunks/bundle-9C7b_-hs.js.map +1 -0
- package/chunks/{bundle-mah5uoR7.js → bundle-9QigDxkR.js} +1 -1
- package/chunks/{bundle-mah5uoR7.js.map → bundle-9QigDxkR.js.map} +1 -1
- package/chunks/{bundle-YcH_HSha.js → bundle-9c5vLDe9.js} +7 -3
- package/chunks/bundle-9c5vLDe9.js.map +1 -0
- package/chunks/{bundle-iRd3nywJ.js → bundle-AaDwp4eU.js} +1 -1
- package/chunks/bundle-AaDwp4eU.js.map +1 -0
- package/chunks/{bundle-WJbfhl8B.js → bundle-Aqr_4BjO.js} +6 -6
- package/chunks/bundle-Aqr_4BjO.js.map +1 -0
- package/chunks/{bundle-z995fH4M.js → bundle-BMZkoBS_.js} +1 -1
- package/chunks/bundle-BMZkoBS_.js.map +1 -0
- package/chunks/{bundle-PXF29EwZ.js → bundle-BiPw1Sub.js} +4 -4
- package/chunks/bundle-BiPw1Sub.js.map +1 -0
- package/chunks/{bundle-yMF6_bQS.js → bundle-C-Q3OKQW.js} +1 -1
- package/chunks/bundle-C-Q3OKQW.js.map +1 -0
- package/chunks/{bundle-CBZRgcMe.js → bundle-DHw1C5gJ.js} +1 -1
- package/chunks/bundle-DHw1C5gJ.js.map +1 -0
- package/chunks/{bundle-kPmyq9ap.js → bundle-DbZW44FD.js} +17 -17
- package/chunks/{bundle-kPmyq9ap.js.map → bundle-DbZW44FD.js.map} +1 -1
- package/chunks/{bundle-zr28rXX0.js → bundle-Drmg8_dh.js} +1 -1
- package/chunks/bundle-Drmg8_dh.js.map +1 -0
- package/chunks/{bundle-VTgol5b8.js → bundle-IH2e-Hbm.js} +1 -1
- package/chunks/bundle-IH2e-Hbm.js.map +1 -0
- package/chunks/{bundle-0wv5nxcS.js → bundle-JyjLgYxl.js} +2 -2
- package/chunks/{bundle-0wv5nxcS.js.map → bundle-JyjLgYxl.js.map} +1 -1
- package/chunks/{bundle-s7Jm-nQL.js → bundle-KIf79auh.js} +1 -1
- package/{cjs/chunks/bundle-CQGJhJYV.js.map → chunks/bundle-KIf79auh.js.map} +1 -1
- package/chunks/{bundle-gb0MSpDp.js → bundle-LQlIikHo.js} +11 -11
- package/chunks/{bundle-gb0MSpDp.js.map → bundle-LQlIikHo.js.map} +1 -1
- package/chunks/{bundle-aAXpX7Sl.js → bundle-LTiCF37t.js} +8 -4
- package/chunks/{bundle-aAXpX7Sl.js.map → bundle-LTiCF37t.js.map} +1 -1
- package/chunks/{bundle-sPCqUzdP.js → bundle-LjoHDFFW.js} +1 -1
- package/chunks/bundle-LjoHDFFW.js.map +1 -0
- package/chunks/{bundle-_jLAjElr.js → bundle-MSFA1dPT.js} +10 -10
- package/chunks/{bundle-_jLAjElr.js.map → bundle-MSFA1dPT.js.map} +1 -1
- package/chunks/{bundle-W5PUqymk.js → bundle-NQDEdVJA.js} +3 -3
- package/chunks/{bundle-W5PUqymk.js.map → bundle-NQDEdVJA.js.map} +1 -1
- package/chunks/{bundle-ZOw_iEjI.js → bundle-NntyZyeL.js} +9 -17
- package/{cjs/chunks/bundle-nZsWuDxZ.js.map → chunks/bundle-NntyZyeL.js.map} +1 -1
- package/chunks/{bundle-VeP4ZGTy.js → bundle-NwEKq2eQ.js} +4 -4
- package/chunks/{bundle-VeP4ZGTy.js.map → bundle-NwEKq2eQ.js.map} +1 -1
- package/chunks/{bundle-Eiortw-P.js → bundle-O7xTFAHP.js} +8 -8
- package/chunks/{bundle-Eiortw-P.js.map → bundle-O7xTFAHP.js.map} +1 -1
- package/chunks/{bundle-y9OFIxWO.js → bundle-PTiTVbcu.js} +3 -3
- package/chunks/{bundle-y9OFIxWO.js.map → bundle-PTiTVbcu.js.map} +1 -1
- package/chunks/{bundle-OdLkkyEZ.js → bundle-PYv4lPO3.js} +2 -2
- package/chunks/{bundle-OdLkkyEZ.js.map → bundle-PYv4lPO3.js.map} +1 -1
- package/chunks/{bundle-OGLIDsv0.js → bundle-PdtvfqJT.js} +1 -1
- package/chunks/bundle-PdtvfqJT.js.map +1 -0
- package/chunks/{bundle-S3i59_HU.js → bundle-Sl-oiala.js} +1 -1
- package/chunks/bundle-Sl-oiala.js.map +1 -0
- package/chunks/{bundle-fdlrWGps.js → bundle-Sm0-7tTm.js} +2 -2
- package/chunks/bundle-Sm0-7tTm.js.map +1 -0
- package/chunks/{bundle-aU9DrOs1.js → bundle-Ueye8-sz.js} +4 -4
- package/chunks/bundle-Ueye8-sz.js.map +1 -0
- package/chunks/{bundle-hTd1NizA.js → bundle-X7gl5vNX.js} +1 -1
- package/chunks/bundle-X7gl5vNX.js.map +1 -0
- package/chunks/{bundle-FS7VoABk.js → bundle-XDy3Cf54.js} +4 -1
- package/chunks/{bundle-bXxgZ3h3.js.map → bundle-XDy3Cf54.js.map} +1 -1
- package/chunks/{bundle-HIwSRGfa.js → bundle-XjJUjhN1.js} +3 -3
- package/chunks/bundle-XjJUjhN1.js.map +1 -0
- package/chunks/{bundle-R_8mFuwU.js → bundle-Y3ZVN9yF.js} +1 -1
- package/chunks/bundle-Y3ZVN9yF.js.map +1 -0
- package/chunks/{bundle-7-k9ar1S.js → bundle-_hGurAcC.js} +1 -1
- package/chunks/bundle-_hGurAcC.js.map +1 -0
- package/chunks/{bundle-bXxgZ3h3.js → bundle-a73hFmUC.js} +64 -86
- package/chunks/{bundle-B2cNVPIG.js.map → bundle-a73hFmUC.js.map} +1 -1
- package/chunks/{bundle-JVFq7QiY.js → bundle-b2jLXyrm.js} +3 -3
- package/chunks/bundle-b2jLXyrm.js.map +1 -0
- package/chunks/{bundle-5waczf_5.js → bundle-bg3dRlK7.js} +3 -3
- package/chunks/{bundle-5waczf_5.js.map → bundle-bg3dRlK7.js.map} +1 -1
- package/chunks/{bundle-c-m52z_J.js → bundle-bgVMRm8v.js} +4 -4
- package/chunks/{bundle-c-m52z_J.js.map → bundle-bgVMRm8v.js.map} +1 -1
- package/chunks/{bundle-IGjDRlEq.js → bundle-cilkeUXQ.js} +5 -5
- package/chunks/bundle-cilkeUXQ.js.map +1 -0
- package/chunks/{bundle-7gmFtphc.js → bundle-dUPYt-qi.js} +2 -2
- package/chunks/bundle-dUPYt-qi.js.map +1 -0
- package/chunks/{bundle-H1vLRvsQ.js → bundle-da60Z7l5.js} +5 -5
- package/chunks/bundle-da60Z7l5.js.map +1 -0
- package/chunks/{bundle-lS2bdzD_.js → bundle-eC1SRuX3.js} +2 -2
- package/chunks/{bundle-lS2bdzD_.js.map → bundle-eC1SRuX3.js.map} +1 -1
- package/chunks/{bundle-MVZc-WX7.js → bundle-fgpwMbpA.js} +10 -10
- package/chunks/bundle-fgpwMbpA.js.map +1 -0
- package/chunks/{bundle-ZrmeY8rp.js → bundle-gMH6Z6oi.js} +2 -2
- package/chunks/bundle-gMH6Z6oi.js.map +1 -0
- package/chunks/{bundle-e_hMfMVC.js → bundle-gQwzebOn.js} +3 -3
- package/chunks/bundle-gQwzebOn.js.map +1 -0
- package/chunks/{bundle-PrPMpr0d.js → bundle-hAyHXo9f.js} +4 -4
- package/chunks/bundle-hAyHXo9f.js.map +1 -0
- package/chunks/{bundle-mXxUWu6C.js → bundle-hjFxrcMW.js} +1 -1
- package/chunks/bundle-hjFxrcMW.js.map +1 -0
- package/chunks/{bundle-5cA2H0cQ.js → bundle-jqQY8n8G.js} +1 -1
- package/chunks/bundle-jqQY8n8G.js.map +1 -0
- package/chunks/{bundle-WkSXViPf.js → bundle-jzjtmtps.js} +2 -2
- package/chunks/bundle-jzjtmtps.js.map +1 -0
- package/chunks/{bundle-XC9KBi8e.js → bundle-kLlb2TJ8.js} +3 -3
- package/chunks/{bundle-XC9KBi8e.js.map → bundle-kLlb2TJ8.js.map} +1 -1
- package/chunks/{bundle-zftI06HH.js → bundle-lZq_XDzb.js} +3 -3
- package/chunks/bundle-lZq_XDzb.js.map +1 -0
- package/chunks/{bundle-jIsbkecD.js → bundle-n2BmCgGV.js} +1 -1
- package/chunks/bundle-n2BmCgGV.js.map +1 -0
- package/chunks/bundle-nXMckOlK.js +102 -0
- package/chunks/{bundle-s7Jm-nQL.js.map → bundle-nXMckOlK.js.map} +1 -1
- package/chunks/{bundle-fIf1YwSi.js → bundle-npMrmwG6.js} +1 -1
- package/chunks/bundle-npMrmwG6.js.map +1 -0
- package/chunks/{bundle-InXDhFjw.js → bundle-qouYngqR.js} +10 -7
- package/chunks/bundle-qouYngqR.js.map +1 -0
- package/chunks/{bundle-nuPs9AqY.js → bundle-rjBwVkDc.js} +10 -10
- package/chunks/{bundle-nuPs9AqY.js.map → bundle-rjBwVkDc.js.map} +1 -1
- package/chunks/{bundle-RFQg3r1K.js → bundle-ubVU4exZ.js} +3 -3
- package/chunks/{bundle-RFQg3r1K.js.map → bundle-ubVU4exZ.js.map} +1 -1
- package/chunks/{bundle-dPtRdKjv.js → bundle-v3VMB7al.js} +1 -1
- package/chunks/bundle-v3VMB7al.js.map +1 -0
- package/chunks/{bundle-Cl9FF01U.js → bundle-wWnN6K3w.js} +1 -1
- package/chunks/{bundle-Cl9FF01U.js.map → bundle-wWnN6K3w.js.map} +1 -1
- package/chunks/{bundle-QDjzCG-h.js → bundle-wpc1Fted.js} +3 -3
- package/chunks/bundle-wpc1Fted.js.map +1 -0
- package/chunks/{bundle-42MD-_6f.js → bundle-xC7o7NLR.js} +7 -3
- package/chunks/bundle-xC7o7NLR.js.map +1 -0
- package/chunks/{bundle-GMuoHJM5.js → bundle-y909vBn9.js} +3 -3
- package/chunks/{bundle-GMuoHJM5.js.map → bundle-y909vBn9.js.map} +1 -1
- package/chunks/{bundle-2ZdAkcAR.js → bundle-y9VJsc3H.js} +5 -5
- package/chunks/{bundle-2ZdAkcAR.js.map → bundle-y9VJsc3H.js.map} +1 -1
- package/chunks/{bundle-1Wok5yjx.js → bundle-yIputEl7.js} +4 -4
- package/chunks/bundle-yIputEl7.js.map +1 -0
- package/chunks/{bundle-B2cNVPIG.js → bundle-zy69cX9t.js} +40 -6
- package/chunks/bundle-zy69cX9t.js.map +1 -0
- package/cjs/App.js +79 -75
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +67 -63
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +28 -28
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +64 -58
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
- package/cjs/Channel/components/MessageInput.js +41 -41
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +78 -83
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +27 -27
- package/cjs/Channel/components/SuggestedMentionList.js +27 -27
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +27 -27
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +10 -95
- package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
- package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
- package/cjs/Channel.js +67 -63
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +20 -20
- package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +27 -27
- package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +49 -54
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +21 -21
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +20 -20
- package/cjs/ChannelSettings/context.js +89 -43
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings.js +23 -23
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +11 -11
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/GroupChannel/components/FileViewer.js +23 -23
- package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
- package/cjs/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/cjs/GroupChannel/components/GroupChannelUI.js +62 -58
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +63 -54
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +37 -37
- package/cjs/GroupChannel/components/MessageList.js +73 -67
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -11
- package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/GroupChannel/components/SuggestedReplies.js +1 -4
- package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -1
- package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
- package/cjs/GroupChannel/components/UnreadCount.js +7 -7
- package/cjs/GroupChannel/context.js +15 -15
- package/cjs/GroupChannel.js +62 -58
- package/cjs/GroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/cjs/GroupChannelList/context.js +5 -5
- package/cjs/GroupChannelList.js +33 -33
- package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +14 -14
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
- package/cjs/OpenChannel/context.js +17 -17
- package/cjs/OpenChannel.js +39 -39
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +14 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -19
- package/cjs/SendbirdProvider.js +360 -83
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +42 -42
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +46 -46
- package/cjs/Thread/components/ThreadListItem.js +46 -46
- package/cjs/Thread/components/ThreadMessageInput.js +49 -48
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +56 -56
- package/cjs/Thread/context.js +9 -9
- package/cjs/Thread.js +56 -56
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-6Ucv_cXK.js → bundle-0FJbDLYK.js} +1 -1
- package/cjs/chunks/bundle-0FJbDLYK.js.map +1 -0
- package/cjs/chunks/{bundle-xn7dyz1d.js → bundle-0Io7rZH6.js} +3 -3
- package/cjs/chunks/bundle-0Io7rZH6.js.map +1 -0
- package/cjs/chunks/{bundle-HmF0Kwa_.js → bundle-0RoC5AKT.js} +4 -4
- package/cjs/chunks/bundle-0RoC5AKT.js.map +1 -0
- package/cjs/chunks/{bundle-6JAbouBn.js → bundle-0SKvTM5F.js} +1 -1
- package/cjs/chunks/bundle-0SKvTM5F.js.map +1 -0
- package/cjs/chunks/{bundle-bc3_Ej1J.js → bundle-0X7q6NtR.js} +5 -5
- package/cjs/chunks/bundle-0X7q6NtR.js.map +1 -0
- package/cjs/chunks/{bundle-2QTmv8Qr.js → bundle-1BET8ZYY.js} +1 -1
- package/cjs/chunks/bundle-1BET8ZYY.js.map +1 -0
- package/cjs/chunks/{bundle-UAlBT2_3.js → bundle-2-AYfw-C.js} +10 -7
- package/cjs/chunks/bundle-2-AYfw-C.js.map +1 -0
- package/cjs/chunks/{bundle-oK2GZVsW.js → bundle-2dTv415Y.js} +3 -3
- package/cjs/chunks/bundle-2dTv415Y.js.map +1 -0
- package/cjs/chunks/{bundle-hyQekvQu.js → bundle-3uSGqV8n.js} +1 -1
- package/cjs/chunks/bundle-3uSGqV8n.js.map +1 -0
- package/cjs/chunks/{bundle-vDdmiX8M.js → bundle-4jhVxof3.js} +10 -10
- package/cjs/chunks/{bundle-vDdmiX8M.js.map → bundle-4jhVxof3.js.map} +1 -1
- package/cjs/chunks/{bundle-B3jNx9nI.js → bundle-5_1l38DN.js} +2 -2
- package/cjs/chunks/bundle-5_1l38DN.js.map +1 -0
- package/cjs/chunks/{bundle-Y6oHbdhN.js → bundle-5i9-ntZ5.js} +7 -3
- package/cjs/chunks/bundle-5i9-ntZ5.js.map +1 -0
- package/cjs/chunks/{bundle-fWvwYg6I.js → bundle-5zZ25-q8.js} +1 -1
- package/cjs/chunks/bundle-5zZ25-q8.js.map +1 -0
- package/cjs/chunks/{bundle-aLKN26Lx.js → bundle-8JrMDacP.js} +3 -3
- package/cjs/chunks/bundle-8JrMDacP.js.map +1 -0
- package/cjs/chunks/{bundle-l9rAnwws.js → bundle-9l41IWgC.js} +1 -1
- package/cjs/chunks/bundle-9l41IWgC.js.map +1 -0
- package/cjs/chunks/bundle-9oVHmbyo.js +106 -0
- package/cjs/chunks/bundle-9oVHmbyo.js.map +1 -0
- package/cjs/chunks/{bundle-ZIC4K68f.js → bundle-A45IMFSi.js} +1 -1
- package/cjs/chunks/bundle-A45IMFSi.js.map +1 -0
- package/cjs/chunks/{bundle-nZsWuDxZ.js → bundle-AjEjAHAy.js} +4 -4
- package/{chunks/bundle-ZOw_iEjI.js.map → cjs/chunks/bundle-AjEjAHAy.js.map} +1 -1
- package/cjs/chunks/{bundle-XpwayjqP.js → bundle-BdWL3kB4.js} +1 -1
- package/cjs/chunks/bundle-BdWL3kB4.js.map +1 -0
- package/cjs/chunks/{bundle-YTPSevv5.js → bundle-DKAurwqI.js} +4 -4
- package/cjs/chunks/{bundle-YTPSevv5.js.map → bundle-DKAurwqI.js.map} +1 -1
- package/cjs/chunks/{bundle-POnqXMLV.js → bundle-DsdDiOQc.js} +2 -2
- package/cjs/chunks/{bundle-POnqXMLV.js.map → bundle-DsdDiOQc.js.map} +1 -1
- package/cjs/chunks/{bundle-v-P7N839.js → bundle-EIBGC5ds.js} +3 -3
- package/cjs/chunks/bundle-EIBGC5ds.js.map +1 -0
- package/cjs/chunks/{bundle-j2b4bxU3.js → bundle-EPgJPeP5.js} +2 -2
- package/cjs/chunks/bundle-EPgJPeP5.js.map +1 -0
- package/cjs/chunks/{bundle-gKpM7okd.js → bundle-FYiANS7I.js} +1 -1
- package/cjs/chunks/bundle-FYiANS7I.js.map +1 -0
- package/cjs/chunks/{bundle-JutD2hKN.js → bundle-Gw-7KmmG.js} +8 -3
- package/cjs/chunks/{bundle-JutD2hKN.js.map → bundle-Gw-7KmmG.js.map} +1 -1
- package/cjs/chunks/{bundle-7S9cQ7Sp.js → bundle-HdAqAQmQ.js} +2 -2
- package/cjs/chunks/bundle-HdAqAQmQ.js.map +1 -0
- package/cjs/chunks/{bundle-fE1EYcSx.js → bundle-JuSRYTO4.js} +1 -1
- package/cjs/chunks/bundle-JuSRYTO4.js.map +1 -0
- package/cjs/chunks/{bundle-hCnt57_4.js → bundle-KEItFRlq.js} +8 -8
- package/cjs/chunks/{bundle-hCnt57_4.js.map → bundle-KEItFRlq.js.map} +1 -1
- package/cjs/chunks/{bundle-JllM1Vt3.js → bundle-M7S2ba5_.js} +10 -10
- package/cjs/chunks/bundle-M7S2ba5_.js.map +1 -0
- package/cjs/chunks/{bundle-lqO2HtRG.js → bundle-Myh0hGtf.js} +6 -6
- package/cjs/chunks/bundle-Myh0hGtf.js.map +1 -0
- package/cjs/chunks/{bundle-FnDHXB2d.js → bundle-NSfuzonk.js} +10 -20
- package/cjs/chunks/{bundle-FnDHXB2d.js.map → bundle-NSfuzonk.js.map} +1 -1
- package/cjs/chunks/{bundle-j5InjWst.js → bundle-OypRlCX4.js} +1 -1
- package/cjs/chunks/bundle-OypRlCX4.js.map +1 -0
- package/cjs/chunks/{bundle-d1u7R12O.js → bundle-PXqEjKnZ.js} +1 -1
- package/cjs/chunks/bundle-PXqEjKnZ.js.map +1 -0
- package/cjs/chunks/{bundle-Ulv5XabQ.js → bundle-QvRptclZ.js} +2 -2
- package/cjs/chunks/bundle-QvRptclZ.js.map +1 -0
- package/cjs/chunks/{bundle-rGIlrKQw.js → bundle-RK7_ZCh1.js} +1 -1
- package/cjs/chunks/bundle-RK7_ZCh1.js.map +1 -0
- package/cjs/chunks/{bundle-jjYDBqPB.js → bundle-RceCnDam.js} +4 -4
- package/cjs/chunks/{bundle-jjYDBqPB.js.map → bundle-RceCnDam.js.map} +1 -1
- package/cjs/chunks/{bundle-19RYdLTI.js → bundle-RngV4SHM.js} +3 -3
- package/cjs/chunks/{bundle-19RYdLTI.js.map → bundle-RngV4SHM.js.map} +1 -1
- package/cjs/chunks/{bundle-LZMOuc2b.js → bundle-SWOq3kxG.js} +1 -1
- package/cjs/chunks/{bundle-LZMOuc2b.js.map → bundle-SWOq3kxG.js.map} +1 -1
- package/cjs/chunks/{bundle-g3vASPp8.js → bundle-Sk9Qqzuj.js} +2 -2
- package/cjs/chunks/bundle-Sk9Qqzuj.js.map +1 -0
- package/cjs/chunks/{bundle-lZm_4ToV.js → bundle-Sxjv83JD.js} +3 -3
- package/cjs/chunks/bundle-Sxjv83JD.js.map +1 -0
- package/cjs/chunks/{bundle-eg639gtv.js → bundle-UOOPIGjG.js} +1 -1
- package/cjs/chunks/bundle-UOOPIGjG.js.map +1 -0
- package/cjs/chunks/{bundle-65WXfVqV.js → bundle-VBjH2Gyx.js} +2 -2
- package/cjs/chunks/{bundle-65WXfVqV.js.map → bundle-VBjH2Gyx.js.map} +1 -1
- package/cjs/chunks/{bundle-D_9GebqZ.js → bundle-Vsy2G1YZ.js} +1 -1
- package/cjs/chunks/bundle-Vsy2G1YZ.js.map +1 -0
- package/cjs/chunks/{bundle-w1sEa7O0.js → bundle-W4lK9aC2.js} +1 -1
- package/cjs/chunks/bundle-W4lK9aC2.js.map +1 -0
- package/cjs/chunks/{bundle-CQGJhJYV.js → bundle-WALfBkn-.js} +2 -2
- package/cjs/chunks/bundle-WALfBkn-.js.map +1 -0
- package/cjs/chunks/{bundle-Z9uYBAUt.js → bundle-ZFhZ9UyN.js} +3 -3
- package/cjs/chunks/bundle-ZFhZ9UyN.js.map +1 -0
- package/cjs/chunks/{bundle-yyOx7Krk.js → bundle-_1OqWxYy.js} +4 -4
- package/cjs/chunks/bundle-_1OqWxYy.js.map +1 -0
- package/cjs/chunks/{bundle-8sRp5L6V.js → bundle-_Hwf9prH.js} +1 -1
- package/cjs/chunks/bundle-_Hwf9prH.js.map +1 -0
- package/cjs/chunks/{bundle-M_3VvtOr.js → bundle-aCCpTlSC.js} +10 -10
- package/cjs/chunks/bundle-aCCpTlSC.js.map +1 -0
- package/cjs/chunks/{bundle-RHwdkbbz.js → bundle-aggH3_MP.js} +1 -1
- package/cjs/chunks/bundle-aggH3_MP.js.map +1 -0
- package/cjs/chunks/{bundle-6D2HDCsi.js → bundle-b3QK79hX.js} +4 -4
- package/cjs/chunks/bundle-b3QK79hX.js.map +1 -0
- package/cjs/chunks/{bundle-bSoYSPA5.js → bundle-bOij3dXU.js} +1 -1
- package/cjs/chunks/bundle-bOij3dXU.js.map +1 -0
- package/cjs/chunks/bundle-csbD2FCX.js +1692 -0
- package/cjs/chunks/bundle-csbD2FCX.js.map +1 -0
- package/cjs/chunks/{bundle-WQOvDsOP.js → bundle-ctM9C4Ol.js} +1 -1
- package/cjs/chunks/bundle-ctM9C4Ol.js.map +1 -0
- package/cjs/chunks/{bundle-ivu3uDBu.js → bundle-eVmdXbX4.js} +3 -3
- package/cjs/chunks/bundle-eVmdXbX4.js.map +1 -0
- package/cjs/chunks/{bundle-L3zb8Cu_.js → bundle-gaTYF6lz.js} +3 -3
- package/cjs/chunks/bundle-gaTYF6lz.js.map +1 -0
- package/cjs/chunks/{bundle-yzN-MQRB.js → bundle-hfoBchbF.js} +1 -1
- package/cjs/chunks/bundle-hfoBchbF.js.map +1 -0
- package/cjs/chunks/{bundle-uQ09rpIX.js → bundle-infYodZG.js} +10 -10
- package/{chunks/bundle-FS7VoABk.js.map → cjs/chunks/bundle-infYodZG.js.map} +1 -1
- package/cjs/chunks/{bundle-OayM7MBH.js → bundle-lREr-1Hy.js} +68 -90
- package/cjs/chunks/bundle-lREr-1Hy.js.map +1 -0
- package/cjs/chunks/{bundle-8gAAE7I3.js → bundle-nNgkSlET.js} +1 -1
- package/cjs/chunks/bundle-nNgkSlET.js.map +1 -0
- package/cjs/chunks/{bundle-lVg2xbe0.js → bundle-nR3C0oIw.js} +2 -2
- package/cjs/chunks/bundle-nR3C0oIw.js.map +1 -0
- package/cjs/chunks/{bundle-v6rdnF1q.js → bundle-nTv4XhjL.js} +1 -1
- package/cjs/chunks/bundle-nTv4XhjL.js.map +1 -0
- package/cjs/chunks/{bundle-O3DZBV2p.js → bundle-nvUhM4Jt.js} +1 -1
- package/cjs/chunks/bundle-nvUhM4Jt.js.map +1 -0
- package/cjs/chunks/{bundle-hdKCnGri.js → bundle-pc4CZYj5.js} +3 -3
- package/cjs/chunks/{bundle-hdKCnGri.js.map → bundle-pc4CZYj5.js.map} +1 -1
- package/cjs/chunks/{bundle-_N5y1qEg.js → bundle-qD5w2tyR.js} +8 -2
- package/cjs/chunks/bundle-qD5w2tyR.js.map +1 -0
- package/cjs/chunks/{bundle-HQUEIVST.js → bundle-qYN98FNj.js} +1 -1
- package/cjs/chunks/{bundle-HQUEIVST.js.map → bundle-qYN98FNj.js.map} +1 -1
- package/cjs/chunks/{bundle-qlTSWGy9.js → bundle-rdAhtJum.js} +40 -5
- package/cjs/chunks/bundle-rdAhtJum.js.map +1 -0
- package/cjs/chunks/{bundle-tCIy9Pcv.js → bundle-sYYqa58y.js} +17 -17
- package/cjs/chunks/{bundle-tCIy9Pcv.js.map → bundle-sYYqa58y.js.map} +1 -1
- package/cjs/chunks/{bundle-OLmZ2fUV.js → bundle-tBuSzzHI.js} +2 -2
- package/{chunks/bundle-InXDhFjw.js.map → cjs/chunks/bundle-tBuSzzHI.js.map} +1 -1
- package/cjs/chunks/{bundle-GYpm7RtY.js → bundle-tMR11mG8.js} +1 -1
- package/cjs/chunks/bundle-tMR11mG8.js.map +1 -0
- package/cjs/chunks/{bundle-G4olPx81.js → bundle-unTPt0Np.js} +1 -1
- package/cjs/chunks/bundle-unTPt0Np.js.map +1 -0
- package/cjs/chunks/{bundle-EmZI0-j-.js → bundle-uyvcZB8I.js} +1 -1
- package/cjs/chunks/bundle-uyvcZB8I.js.map +1 -0
- package/cjs/chunks/{bundle-y0sGF4RD.js → bundle-vj7Nj0B0.js} +6 -6
- package/cjs/chunks/bundle-vj7Nj0B0.js.map +1 -0
- package/cjs/chunks/{bundle-THKiylQP.js → bundle-wbFvXCMi.js} +5 -5
- package/cjs/chunks/bundle-wbFvXCMi.js.map +1 -0
- package/cjs/chunks/{bundle-dibCo5Mv.js → bundle-xNnngzve.js} +5 -5
- package/cjs/chunks/bundle-xNnngzve.js.map +1 -0
- package/cjs/chunks/{bundle-jI4fSOuZ.js → bundle-xbuS1NJI.js} +1 -1
- package/cjs/chunks/bundle-xbuS1NJI.js.map +1 -0
- package/cjs/chunks/{bundle-apUHizVu.js → bundle-xe1wuNko.js} +3 -3
- package/cjs/chunks/bundle-xe1wuNko.js.map +1 -0
- package/cjs/chunks/{bundle-him8B6lQ.js → bundle-xhP3_T1A.js} +6 -6
- package/cjs/chunks/bundle-xhP3_T1A.js.map +1 -0
- package/cjs/chunks/{bundle-do_4Y2S_.js → bundle-xtUT3duD.js} +4 -1
- package/cjs/chunks/bundle-xtUT3duD.js.map +1 -0
- package/cjs/chunks/{bundle-XSrDHwxE.js → bundle-yQR_oAnV.js} +1 -1
- package/cjs/chunks/bundle-yQR_oAnV.js.map +1 -0
- package/cjs/chunks/{bundle-0Ju2qhN6.js → bundle-zhrtSnPT.js} +11 -11
- package/cjs/chunks/{bundle-0Ju2qhN6.js.map → bundle-zhrtSnPT.js.map} +1 -1
- package/cjs/chunks/{bundle-pNPHZO_X.js → bundle-zkMvSSgq.js} +5 -5
- package/cjs/chunks/bundle-zkMvSSgq.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +83 -79
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +4 -4
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +16 -16
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +34 -0
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -0
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +4 -2
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +10 -15
- package/cjs/ui/ImageRenderer.js.map +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +29 -0
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -0
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +93 -50
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -5
- package/cjs/ui/MessageInput/hooks/usePaste.js.map +1 -1
- package/cjs/ui/MessageInput.js +32 -68
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +10 -10
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +14 -14
- package/cjs/ui/MessageSearchItem.js +11 -11
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/MessageTemplate.js +12 -0
- package/cjs/ui/MessageTemplate.js.map +1 -0
- package/cjs/ui/MobileFeedbackMenu.js +9 -9
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +16 -16
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +8 -8
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +9 -9
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TemplateMessageItemBody.js +245 -0
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -0
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +8 -8
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -13
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +207 -62
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +83 -79
- package/index.js.map +1 -1
- package/package.json +41 -4
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useAsyncRequest.d.ts +20 -0
- package/types/lib/dux/appInfo/actionTypes.d.ts +25 -0
- package/types/lib/dux/appInfo/initialState.d.ts +22 -0
- package/types/lib/dux/appInfo/reducers.d.ts +3 -0
- package/types/lib/dux/appInfo/utils.d.ts +7 -0
- package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +3 -2
- package/types/lib/hooks/useConnect/connect.d.ts +1 -1
- package/types/lib/hooks/useConnect/setupConnection.d.ts +1 -1
- package/types/lib/hooks/useConnect/types.d.ts +6 -3
- package/types/lib/hooks/useMessageTemplateUtils.d.ts +18 -0
- package/types/lib/types.d.ts +14 -0
- package/types/modules/Channel/components/ChannelUI/index.d.ts +4 -0
- package/types/modules/Channel/components/MessageInputWrapper/index.d.ts +4 -3
- package/types/modules/Channel/components/MessageList/index.d.ts +8 -2
- package/types/modules/Channel/context/ChannelProvider.d.ts +7 -15
- package/types/modules/Channel/context/const.d.ts +1 -7
- package/types/modules/Channel/context/dux/actionTypes.d.ts +6 -7
- package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
- package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +5 -5
- package/types/modules/GroupChannel/components/GroupChannelUI/GroupChannelUIView.d.ts +47 -0
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +23 -1
- package/types/modules/GroupChannel/components/MessageInputWrapper/index.d.ts +5 -3
- package/types/modules/GroupChannel/components/MessageList/index.d.ts +30 -9
- package/types/modules/GroupChannel/components/MessageTemplateWrapper/index.d.ts +8 -0
- package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +4 -2
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +1 -1
- package/types/types.d.ts +1 -0
- package/types/ui/Icon/colors.d.ts +2 -0
- package/types/ui/Icon/index.d.ts +1 -0
- package/types/ui/Label/index.d.ts +2 -0
- package/types/ui/Label/stringSet.d.ts +3 -0
- package/types/ui/Label/types.d.ts +2 -0
- package/types/ui/Label/utils.d.ts +1 -1
- package/types/ui/LinkLabel/index.d.ts +2 -0
- package/types/ui/MessageContent/index.d.ts +3 -1
- package/types/ui/MessageInput/index.d.ts +1 -0
- package/types/ui/MessageInput/utils.d.ts +4 -0
- package/types/ui/MessageTemplate/index.d.ts +8 -0
- package/types/ui/TemplateMessageItemBody/FallbackTemplateMessageItemBody.d.ts +9 -0
- package/types/ui/TemplateMessageItemBody/LoadingTemplateMessageItemBody.d.ts +7 -0
- package/types/ui/TemplateMessageItemBody/index.d.ts +12 -0
- package/types/ui/TemplateMessageItemBody/types.d.ts +96 -0
- package/types/ui/TemplateMessageItemBody/utils/flattenObject.d.ts +7 -0
- package/types/ui/TemplateMessageItemBody/utils/mapData.d.ts +7 -0
- package/types/ui/TemplateMessageItemBody/utils/restoreNumbersFromMessageTemplateObject.d.ts +1 -0
- package/types/ui/TemplateMessageItemBody/utils/selectColorVariablesByTheme.d.ts +6 -0
- package/types/utils/consts.d.ts +2 -0
- package/types/utils/index.d.ts +1 -0
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -16
- package/ui/FallbackTemplateMessageItemBody.tsx.js +29 -0
- package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -0
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +4 -2
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +10 -15
- package/ui/ImageRenderer.js.map +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +24 -0
- package/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -0
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +93 -50
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -5
- package/ui/MessageInput/hooks/usePaste.js.map +1 -1
- package/ui/MessageInput.js +32 -68
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +10 -10
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +14 -14
- package/ui/MessageSearchItem.js +11 -11
- package/ui/MessageStatus.js +12 -12
- package/ui/MessageTemplate.js +3 -0
- package/ui/MessageTemplate.js.map +1 -0
- package/ui/MobileFeedbackMenu.js +9 -9
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +16 -16
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +240 -0
- package/ui/TemplateMessageItemBody.js.map +1 -0
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +8 -8
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -13
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle--bzcDcV7.js.map +0 -1
- package/chunks/bundle-1Wok5yjx.js.map +0 -1
- package/chunks/bundle-29ZwEQCB.js.map +0 -1
- package/chunks/bundle-42MD-_6f.js.map +0 -1
- package/chunks/bundle-5cA2H0cQ.js.map +0 -1
- package/chunks/bundle-5qVfPYXm.js.map +0 -1
- package/chunks/bundle-7-k9ar1S.js.map +0 -1
- package/chunks/bundle-7gmFtphc.js.map +0 -1
- package/chunks/bundle-B3ETdLpu.js.map +0 -1
- package/chunks/bundle-CBZRgcMe.js.map +0 -1
- package/chunks/bundle-FMptIFTe.js.map +0 -1
- package/chunks/bundle-H1vLRvsQ.js.map +0 -1
- package/chunks/bundle-HIwSRGfa.js.map +0 -1
- package/chunks/bundle-IGjDRlEq.js.map +0 -1
- package/chunks/bundle-JVFq7QiY.js.map +0 -1
- package/chunks/bundle-MVZc-WX7.js.map +0 -1
- package/chunks/bundle-NRvvlX8r.js.map +0 -1
- package/chunks/bundle-OGLIDsv0.js.map +0 -1
- package/chunks/bundle-PXF29EwZ.js.map +0 -1
- package/chunks/bundle-PrPMpr0d.js.map +0 -1
- package/chunks/bundle-QDjzCG-h.js.map +0 -1
- package/chunks/bundle-R_8mFuwU.js.map +0 -1
- package/chunks/bundle-S3i59_HU.js.map +0 -1
- package/chunks/bundle-TWhlUSzV.js.map +0 -1
- package/chunks/bundle-ThaFnyA3.js.map +0 -1
- package/chunks/bundle-VTgol5b8.js.map +0 -1
- package/chunks/bundle-WJ0Rx9Vt.js.map +0 -1
- package/chunks/bundle-WJbfhl8B.js.map +0 -1
- package/chunks/bundle-WkSXViPf.js.map +0 -1
- package/chunks/bundle-YK6gNh-t.js.map +0 -1
- package/chunks/bundle-Yc91ktUe.js.map +0 -1
- package/chunks/bundle-YcH_HSha.js.map +0 -1
- package/chunks/bundle-ZrmeY8rp.js.map +0 -1
- package/chunks/bundle-aU9DrOs1.js.map +0 -1
- package/chunks/bundle-ammXYCNc.js.map +0 -1
- package/chunks/bundle-dPtRdKjv.js.map +0 -1
- package/chunks/bundle-e_hMfMVC.js.map +0 -1
- package/chunks/bundle-fIf1YwSi.js.map +0 -1
- package/chunks/bundle-fdlrWGps.js.map +0 -1
- package/chunks/bundle-hTd1NizA.js.map +0 -1
- package/chunks/bundle-hwjo__1w.js.map +0 -1
- package/chunks/bundle-iRd3nywJ.js.map +0 -1
- package/chunks/bundle-jIsbkecD.js.map +0 -1
- package/chunks/bundle-laqNvtHc.js.map +0 -1
- package/chunks/bundle-mXxUWu6C.js.map +0 -1
- package/chunks/bundle-mbVaGxy-.js.map +0 -1
- package/chunks/bundle-sPCqUzdP.js.map +0 -1
- package/chunks/bundle-yMF6_bQS.js.map +0 -1
- package/chunks/bundle-z995fH4M.js.map +0 -1
- package/chunks/bundle-zftI06HH.js.map +0 -1
- package/chunks/bundle-zr28rXX0.js.map +0 -1
- package/cjs/chunks/bundle-2QTmv8Qr.js.map +0 -1
- package/cjs/chunks/bundle-6D2HDCsi.js.map +0 -1
- package/cjs/chunks/bundle-6JAbouBn.js.map +0 -1
- package/cjs/chunks/bundle-6Ucv_cXK.js.map +0 -1
- package/cjs/chunks/bundle-7S9cQ7Sp.js.map +0 -1
- package/cjs/chunks/bundle-8gAAE7I3.js.map +0 -1
- package/cjs/chunks/bundle-8sRp5L6V.js.map +0 -1
- package/cjs/chunks/bundle-B3jNx9nI.js.map +0 -1
- package/cjs/chunks/bundle-D_9GebqZ.js.map +0 -1
- package/cjs/chunks/bundle-EmZI0-j-.js.map +0 -1
- package/cjs/chunks/bundle-G4olPx81.js.map +0 -1
- package/cjs/chunks/bundle-GYpm7RtY.js.map +0 -1
- package/cjs/chunks/bundle-HmF0Kwa_.js.map +0 -1
- package/cjs/chunks/bundle-JllM1Vt3.js.map +0 -1
- package/cjs/chunks/bundle-L3zb8Cu_.js.map +0 -1
- package/cjs/chunks/bundle-M_3VvtOr.js.map +0 -1
- package/cjs/chunks/bundle-O3DZBV2p.js.map +0 -1
- package/cjs/chunks/bundle-OLmZ2fUV.js.map +0 -1
- package/cjs/chunks/bundle-OayM7MBH.js.map +0 -1
- package/cjs/chunks/bundle-RHwdkbbz.js.map +0 -1
- package/cjs/chunks/bundle-THKiylQP.js.map +0 -1
- package/cjs/chunks/bundle-UAlBT2_3.js.map +0 -1
- package/cjs/chunks/bundle-Ulv5XabQ.js.map +0 -1
- package/cjs/chunks/bundle-WQOvDsOP.js.map +0 -1
- package/cjs/chunks/bundle-XSrDHwxE.js.map +0 -1
- package/cjs/chunks/bundle-XpwayjqP.js.map +0 -1
- package/cjs/chunks/bundle-Y6oHbdhN.js.map +0 -1
- package/cjs/chunks/bundle-Z9uYBAUt.js.map +0 -1
- package/cjs/chunks/bundle-ZIC4K68f.js.map +0 -1
- package/cjs/chunks/bundle-_N5y1qEg.js.map +0 -1
- package/cjs/chunks/bundle-aLKN26Lx.js.map +0 -1
- package/cjs/chunks/bundle-apUHizVu.js.map +0 -1
- package/cjs/chunks/bundle-bSoYSPA5.js.map +0 -1
- package/cjs/chunks/bundle-bc3_Ej1J.js.map +0 -1
- package/cjs/chunks/bundle-d1u7R12O.js.map +0 -1
- package/cjs/chunks/bundle-dibCo5Mv.js.map +0 -1
- package/cjs/chunks/bundle-do_4Y2S_.js.map +0 -1
- package/cjs/chunks/bundle-eg639gtv.js.map +0 -1
- package/cjs/chunks/bundle-fE1EYcSx.js.map +0 -1
- package/cjs/chunks/bundle-fWvwYg6I.js.map +0 -1
- package/cjs/chunks/bundle-g3vASPp8.js.map +0 -1
- package/cjs/chunks/bundle-gKpM7okd.js.map +0 -1
- package/cjs/chunks/bundle-him8B6lQ.js.map +0 -1
- package/cjs/chunks/bundle-hyQekvQu.js.map +0 -1
- package/cjs/chunks/bundle-ivu3uDBu.js.map +0 -1
- package/cjs/chunks/bundle-j2b4bxU3.js.map +0 -1
- package/cjs/chunks/bundle-j5InjWst.js.map +0 -1
- package/cjs/chunks/bundle-jI4fSOuZ.js.map +0 -1
- package/cjs/chunks/bundle-l9rAnwws.js.map +0 -1
- package/cjs/chunks/bundle-lVg2xbe0.js.map +0 -1
- package/cjs/chunks/bundle-lZm_4ToV.js.map +0 -1
- package/cjs/chunks/bundle-lqO2HtRG.js.map +0 -1
- package/cjs/chunks/bundle-oK2GZVsW.js.map +0 -1
- package/cjs/chunks/bundle-pNPHZO_X.js.map +0 -1
- package/cjs/chunks/bundle-qlTSWGy9.js.map +0 -1
- package/cjs/chunks/bundle-rGIlrKQw.js.map +0 -1
- package/cjs/chunks/bundle-uQ09rpIX.js.map +0 -1
- package/cjs/chunks/bundle-v-P7N839.js.map +0 -1
- package/cjs/chunks/bundle-v6rdnF1q.js.map +0 -1
- package/cjs/chunks/bundle-w1sEa7O0.js.map +0 -1
- package/cjs/chunks/bundle-xn7dyz1d.js.map +0 -1
- package/cjs/chunks/bundle-y0sGF4RD.js.map +0 -1
- package/cjs/chunks/bundle-yyOx7Krk.js.map +0 -1
- package/cjs/chunks/bundle-yzN-MQRB.js.map +0 -1
package/cjs/SendbirdProvider.js
CHANGED
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var _tslib = require('./chunks/bundle-
|
|
5
|
+
var _tslib = require('./chunks/bundle-9l41IWgC.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var uikitTools = require('@sendbird/uikit-tools');
|
|
8
8
|
var withSendbird = require('./withSendbird.js');
|
|
9
9
|
var cssVars = require('css-vars-ponyfill');
|
|
10
|
-
var index = require('./chunks/bundle-
|
|
11
|
-
var actionTypes = require('./chunks/bundle-
|
|
12
|
-
var useMarkAsDeliveredScheduler = require('./chunks/bundle-
|
|
10
|
+
var index = require('./chunks/bundle-SWOq3kxG.js');
|
|
11
|
+
var actionTypes = require('./chunks/bundle-hfoBchbF.js');
|
|
12
|
+
var useMarkAsDeliveredScheduler = require('./chunks/bundle-ZFhZ9UyN.js');
|
|
13
13
|
var SendbirdChat = require('@sendbird/chat');
|
|
14
14
|
var openChannel = require('@sendbird/chat/openChannel');
|
|
15
15
|
var groupChannel = require('@sendbird/chat/groupChannel');
|
|
16
|
-
var index$1 = require('./chunks/bundle-
|
|
17
|
-
var utils = require('./chunks/bundle-
|
|
18
|
-
var index$2 = require('./chunks/bundle-
|
|
19
|
-
var VoicePlayer_context = require('./chunks/bundle-
|
|
16
|
+
var index$1 = require('./chunks/bundle-Gw-7KmmG.js');
|
|
17
|
+
var utils = require('./chunks/bundle-BdWL3kB4.js');
|
|
18
|
+
var index$2 = require('./chunks/bundle-OypRlCX4.js');
|
|
19
|
+
var VoicePlayer_context = require('./chunks/bundle-xe1wuNko.js');
|
|
20
20
|
var VoiceRecorder_context = require('./VoiceRecorder/context.js');
|
|
21
|
-
var LocalizationContext = require('./chunks/bundle-
|
|
22
|
-
var MediaQueryContext = require('./chunks/bundle-
|
|
23
|
-
var stringSet = require('./chunks/bundle-
|
|
24
|
-
var consts = require('./chunks/bundle-
|
|
25
|
-
var resolvedReplyType = require('./chunks/bundle-
|
|
21
|
+
var LocalizationContext = require('./chunks/bundle-2dTv415Y.js');
|
|
22
|
+
var MediaQueryContext = require('./chunks/bundle-UOOPIGjG.js');
|
|
23
|
+
var stringSet = require('./chunks/bundle-xtUT3duD.js');
|
|
24
|
+
var consts = require('./chunks/bundle-qD5w2tyR.js');
|
|
25
|
+
var resolvedReplyType = require('./chunks/bundle-_Hwf9prH.js');
|
|
26
26
|
var hooks_useModal = require('./hooks/useModal.js');
|
|
27
27
|
var useSendbirdStateContext = require('./useSendbirdStateContext.js');
|
|
28
|
-
require('./chunks/bundle-
|
|
28
|
+
require('./chunks/bundle-5zZ25-q8.js');
|
|
29
29
|
require('./utils/message/getOutgoingMessageState.js');
|
|
30
|
-
require('./chunks/bundle-
|
|
30
|
+
require('./chunks/bundle-Myh0hGtf.js');
|
|
31
31
|
require('react-dom');
|
|
32
32
|
require('./ui/IconButton.js');
|
|
33
33
|
require('./ui/Button.js');
|
|
34
|
-
require('./chunks/bundle-
|
|
34
|
+
require('./chunks/bundle-5i9-ntZ5.js');
|
|
35
35
|
require('./ui/Icon.js');
|
|
36
|
-
require('./chunks/bundle-
|
|
36
|
+
require('./chunks/bundle-qYN98FNj.js');
|
|
37
37
|
|
|
38
38
|
var isEmpty = function (obj) {
|
|
39
39
|
if (obj === null || obj === undefined) {
|
|
@@ -118,10 +118,12 @@ var useTheme = function (overrides) {
|
|
|
118
118
|
'--sendbird-light-onlight-02': 'rgba(0, 0, 0, 0.50)',
|
|
119
119
|
'--sendbird-light-onlight-03': 'rgba(0, 0, 0, 0.38)',
|
|
120
120
|
'--sendbird-light-onlight-04': 'rgba(0, 0, 0, 0.12)',
|
|
121
|
+
'--sendbird-light-onlight-05': 'rgba(0, 0, 0, 0.44)',
|
|
121
122
|
'--sendbird-light-ondark-01': 'rgba(255, 255, 255, 0.88)',
|
|
122
123
|
'--sendbird-light-ondark-02': 'rgba(255, 255, 255, 0.50)',
|
|
123
124
|
'--sendbird-light-ondark-03': 'rgba(255, 255, 255, 0.38)',
|
|
124
125
|
'--sendbird-light-ondark-04': 'rgba(255, 255, 255, 0.12)',
|
|
126
|
+
'--sendbird-light-ondark-05': 'rgba(255, 255, 255, 0.44)',
|
|
125
127
|
'--sendbird-light-shadow-01': '0 1px 5px 0 rgba(33, 34, 66, 0.04), 0 0 3px 0 rgba(0, 0, 0, 0.08), 0 2px 1px 0 rgba(0, 0, 0, 0.12)',
|
|
126
128
|
'--sendbird-light-shadow-02': '0 3px 5px -3px rgba(33, 34, 66, 0.04), 0 3px 14px 2px rgba(0, 0, 0, 0.08), 0 8px 10px 1px rgba(0, 0, 0, 0.12)',
|
|
127
129
|
'--sendbird-light-shadow-03': '0 6px 10px -5px rgba(0, 0, 0, 0.04), 0 6px 30px 5px rgba(0, 0, 0, 0.08), 0 16px 24px 2px rgba(0, 0, 0, 0.12)',
|
|
@@ -140,14 +142,14 @@ var SDK_ACTIONS = {
|
|
|
140
142
|
SDK_ERROR: 'SDK_ERROR',
|
|
141
143
|
};
|
|
142
144
|
|
|
143
|
-
var initialState$
|
|
145
|
+
var initialState$2 = {
|
|
144
146
|
initialized: false,
|
|
145
147
|
loading: false,
|
|
146
148
|
sdk: {},
|
|
147
149
|
error: false,
|
|
148
150
|
};
|
|
149
151
|
|
|
150
|
-
function reducer$
|
|
152
|
+
function reducer$2(state, action) {
|
|
151
153
|
return index.K(action)
|
|
152
154
|
.with({ type: SDK_ACTIONS.SET_SDK_LOADING }, function (_a) {
|
|
153
155
|
var payload = _a.payload;
|
|
@@ -166,20 +168,20 @@ function reducer$1(state, action) {
|
|
|
166
168
|
};
|
|
167
169
|
})
|
|
168
170
|
.with({ type: SDK_ACTIONS.RESET_SDK }, function () {
|
|
169
|
-
return initialState$
|
|
171
|
+
return initialState$2;
|
|
170
172
|
})
|
|
171
173
|
.otherwise(function () {
|
|
172
174
|
return state;
|
|
173
175
|
});
|
|
174
176
|
}
|
|
175
177
|
|
|
176
|
-
var initialState = {
|
|
178
|
+
var initialState$1 = {
|
|
177
179
|
initialized: false,
|
|
178
180
|
loading: false,
|
|
179
181
|
user: {},
|
|
180
182
|
};
|
|
181
183
|
|
|
182
|
-
function reducer(state, action) {
|
|
184
|
+
function reducer$1(state, action) {
|
|
183
185
|
return index.K(action)
|
|
184
186
|
.with({ type: actionTypes.USER_ACTIONS.INIT_USER }, function (_a) {
|
|
185
187
|
var payload = _a.payload;
|
|
@@ -190,7 +192,7 @@ function reducer(state, action) {
|
|
|
190
192
|
};
|
|
191
193
|
})
|
|
192
194
|
.with({ type: actionTypes.USER_ACTIONS.RESET_USER }, function () {
|
|
193
|
-
return initialState;
|
|
195
|
+
return initialState$1;
|
|
194
196
|
})
|
|
195
197
|
.with({ type: actionTypes.USER_ACTIONS.UPDATE_USER_INFO }, function (_a) {
|
|
196
198
|
var payload = _a.payload;
|
|
@@ -201,6 +203,59 @@ function reducer(state, action) {
|
|
|
201
203
|
});
|
|
202
204
|
}
|
|
203
205
|
|
|
206
|
+
var APP_INFO_ACTIONS = {
|
|
207
|
+
INITIALIZE_MESSAGE_TEMPLATES_INFO: 'INITIALIZE_MESSAGE_TEMPLATES_INFO',
|
|
208
|
+
UPSERT_MESSAGE_TEMPLATE: 'UPSERT_MESSAGE_TEMPLATE',
|
|
209
|
+
UPSERT_WAITING_TEMPLATE_KEY: 'UPSERT_WAITING_TEMPLATE_KEY',
|
|
210
|
+
MARK_ERROR_WAITING_TEMPLATE_KEY: 'MARK_ERROR_WAITING_TEMPLATE_KEY',
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
function reducer(state, action) {
|
|
214
|
+
return index.K(action)
|
|
215
|
+
.with({ type: APP_INFO_ACTIONS.INITIALIZE_MESSAGE_TEMPLATES_INFO }, function (_a) {
|
|
216
|
+
var payload = _a.payload;
|
|
217
|
+
return {
|
|
218
|
+
messageTemplatesInfo: payload,
|
|
219
|
+
waitingTemplateKeysMap: {},
|
|
220
|
+
};
|
|
221
|
+
})
|
|
222
|
+
.with({ type: APP_INFO_ACTIONS.UPSERT_MESSAGE_TEMPLATE }, function (_a) {
|
|
223
|
+
var payload = _a.payload;
|
|
224
|
+
var templatesInfo = state.messageTemplatesInfo;
|
|
225
|
+
if (!templatesInfo)
|
|
226
|
+
return state; // Not initialized. Ignore.
|
|
227
|
+
var key = payload.key, template = payload.template;
|
|
228
|
+
templatesInfo.templatesMap[key] = template;
|
|
229
|
+
delete state.waitingTemplateKeysMap[key];
|
|
230
|
+
return _tslib.__assign(_tslib.__assign({}, state), { messageTemplatesInfo: templatesInfo });
|
|
231
|
+
})
|
|
232
|
+
.with({ type: APP_INFO_ACTIONS.UPSERT_WAITING_TEMPLATE_KEY }, function (_a) {
|
|
233
|
+
var payload = _a.payload;
|
|
234
|
+
var key = payload.key, requestedAt = payload.requestedAt;
|
|
235
|
+
state.waitingTemplateKeysMap[key] = {
|
|
236
|
+
requestedAt: requestedAt,
|
|
237
|
+
isError: false,
|
|
238
|
+
};
|
|
239
|
+
return _tslib.__assign({}, state);
|
|
240
|
+
})
|
|
241
|
+
.with({ type: APP_INFO_ACTIONS.MARK_ERROR_WAITING_TEMPLATE_KEY }, function (_a) {
|
|
242
|
+
var payload = _a.payload;
|
|
243
|
+
var key = payload.key;
|
|
244
|
+
var waitingTemplateKeyData = state.waitingTemplateKeysMap[key];
|
|
245
|
+
if (waitingTemplateKeyData) {
|
|
246
|
+
waitingTemplateKeyData.isError = true;
|
|
247
|
+
}
|
|
248
|
+
return _tslib.__assign({}, state);
|
|
249
|
+
})
|
|
250
|
+
.otherwise(function () {
|
|
251
|
+
return state;
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
var initialState = {
|
|
256
|
+
waitingTemplateKeysMap: {},
|
|
257
|
+
};
|
|
258
|
+
|
|
204
259
|
function disconnectSdk(_a) {
|
|
205
260
|
var sdkDispatcher = _a.sdkDispatcher, userDispatcher = _a.userDispatcher, sdk = _a.sdk;
|
|
206
261
|
return _tslib.__awaiter(this, void 0, void 0, function () {
|
|
@@ -225,7 +280,7 @@ function disconnectSdk(_a) {
|
|
|
225
280
|
});
|
|
226
281
|
}
|
|
227
282
|
|
|
228
|
-
var APP_VERSION_STRING = '3.
|
|
283
|
+
var APP_VERSION_STRING = '3.13.0';
|
|
229
284
|
var INIT_SDK = SDK_ACTIONS.INIT_SDK, SET_SDK_LOADING = SDK_ACTIONS.SET_SDK_LOADING, RESET_SDK = SDK_ACTIONS.RESET_SDK, SDK_ERROR = SDK_ACTIONS.SDK_ERROR;
|
|
230
285
|
var INIT_USER = actionTypes.USER_ACTIONS.INIT_USER, UPDATE_USER_INFO = actionTypes.USER_ACTIONS.UPDATE_USER_INFO, RESET_USER = actionTypes.USER_ACTIONS.RESET_USER;
|
|
231
286
|
function getMissingParamError(_a) {
|
|
@@ -262,7 +317,7 @@ function setUpParams(_a) {
|
|
|
262
317
|
// 6.b check if nickname is to be updated -> yes > update nickname > !resolve
|
|
263
318
|
// 7. If not connected, connectCbError > !reject
|
|
264
319
|
function setUpConnection(_a) {
|
|
265
|
-
var logger = _a.logger, sdkDispatcher = _a.sdkDispatcher, userDispatcher = _a.userDispatcher, initDashboardConfigs = _a.initDashboardConfigs, userId = _a.userId, appId = _a.appId, customApiHost = _a.customApiHost, customWebSocketHost = _a.customWebSocketHost, configureSession = _a.configureSession, nickname = _a.nickname, profileUrl = _a.profileUrl, accessToken = _a.accessToken, isUserIdUsedForNickname = _a.isUserIdUsedForNickname, sdkInitParams = _a.sdkInitParams, customExtensionParams = _a.customExtensionParams, _b = _a.isMobile, isMobile = _b === void 0 ? false : _b, eventHandlers = _a.eventHandlers;
|
|
320
|
+
var logger = _a.logger, sdkDispatcher = _a.sdkDispatcher, userDispatcher = _a.userDispatcher, initDashboardConfigs = _a.initDashboardConfigs, userId = _a.userId, appId = _a.appId, customApiHost = _a.customApiHost, customWebSocketHost = _a.customWebSocketHost, configureSession = _a.configureSession, nickname = _a.nickname, profileUrl = _a.profileUrl, accessToken = _a.accessToken, isUserIdUsedForNickname = _a.isUserIdUsedForNickname, sdkInitParams = _a.sdkInitParams, customExtensionParams = _a.customExtensionParams, _b = _a.isMobile, isMobile = _b === void 0 ? false : _b, eventHandlers = _a.eventHandlers, initializeMessageTemplatesInfo = _a.initializeMessageTemplatesInfo;
|
|
266
321
|
return _tslib.__awaiter(this, void 0, void 0, function () {
|
|
267
322
|
var _this = this;
|
|
268
323
|
return _tslib.__generator(this, function (_c) {
|
|
@@ -300,51 +355,69 @@ function setUpConnection(_a) {
|
|
|
300
355
|
: (_j = SendbirdChat.DeviceOsPlatform === null || SendbirdChat.DeviceOsPlatform === void 0 ? void 0 : SendbirdChat.DeviceOsPlatform.WEB) !== null && _j !== void 0 ? _j : 'web'),
|
|
301
356
|
}, customExtensionParams);
|
|
302
357
|
newSdk_1.addExtension('sb_uikit', APP_VERSION_STRING);
|
|
303
|
-
var
|
|
304
|
-
var
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
// or set userID as nickname
|
|
324
|
-
if ((nickname !== user.nickname || profileUrl !== user.profileUrl)
|
|
325
|
-
&& !(index$1.isTextuallyNull(nickname) && index$1.isTextuallyNull(profileUrl))) {
|
|
326
|
-
(_b = logger === null || logger === void 0 ? void 0 : logger.info) === null || _b === void 0 ? void 0 : _b.call(logger, 'SendbirdProvider | useConnect/setupConnection/updateCurrentUserInfo', {
|
|
327
|
-
nickname: nickname,
|
|
328
|
-
profileUrl: profileUrl,
|
|
329
|
-
});
|
|
330
|
-
newSdk_1.updateCurrentUserInfo({
|
|
331
|
-
nickname: nickname || user.nickname || (isUserIdUsedForNickname ? user.userId : ''),
|
|
332
|
-
profileUrl: profileUrl || user.profileUrl,
|
|
333
|
-
}).then(function (namedUser) {
|
|
334
|
-
var _a;
|
|
335
|
-
(_a = logger === null || logger === void 0 ? void 0 : logger.info) === null || _a === void 0 ? void 0 : _a.call(logger, 'SendbirdProvider | useConnect/setupConnection/updateCurrentUserInfo success', {
|
|
336
|
-
nickname: nickname,
|
|
337
|
-
profileUrl: profileUrl,
|
|
358
|
+
var connectCbSuccess_1 = function (user) { return _tslib.__awaiter(_this, void 0, void 0, function () {
|
|
359
|
+
var error_1;
|
|
360
|
+
var _a, _b, _c;
|
|
361
|
+
return _tslib.__generator(this, function (_d) {
|
|
362
|
+
switch (_d.label) {
|
|
363
|
+
case 0:
|
|
364
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.info) === null || _a === void 0 ? void 0 : _a.call(logger, 'SendbirdProvider | useConnect/setupConnection/connectCbSuccess', user);
|
|
365
|
+
sdkDispatcher({ type: INIT_SDK, payload: newSdk_1 });
|
|
366
|
+
userDispatcher({ type: INIT_USER, payload: user });
|
|
367
|
+
_d.label = 1;
|
|
368
|
+
case 1:
|
|
369
|
+
_d.trys.push([1, 3, , 4]);
|
|
370
|
+
return [4 /*yield*/, initializeMessageTemplatesInfo(newSdk_1)];
|
|
371
|
+
case 2:
|
|
372
|
+
_d.sent();
|
|
373
|
+
return [3 /*break*/, 4];
|
|
374
|
+
case 3:
|
|
375
|
+
error_1 = _d.sent();
|
|
376
|
+
(_b = logger === null || logger === void 0 ? void 0 : logger.error) === null || _b === void 0 ? void 0 : _b.call(logger, 'SendbirdProvider | useConnect/setupConnection/upsertMessageTemplateListInLocalStorage failed', {
|
|
377
|
+
error: error_1,
|
|
338
378
|
});
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
379
|
+
return [3 /*break*/, 4];
|
|
380
|
+
case 4:
|
|
381
|
+
initDashboardConfigs(newSdk_1)
|
|
382
|
+
.then(function (config) {
|
|
383
|
+
var _a;
|
|
384
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.info) === null || _a === void 0 ? void 0 : _a.call(logger, 'SendbirdProvider | useConnect/setupConnection/getUIKitConfiguration success', {
|
|
385
|
+
config: config,
|
|
386
|
+
});
|
|
387
|
+
})
|
|
388
|
+
.catch(function (error) {
|
|
389
|
+
var _a;
|
|
390
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.error) === null || _a === void 0 ? void 0 : _a.call(logger, 'SendbirdProvider | useConnect/setupConnection/getUIKitConfiguration failed', {
|
|
391
|
+
error: error,
|
|
392
|
+
});
|
|
393
|
+
});
|
|
394
|
+
// use nickname/profileUrl if provided
|
|
395
|
+
// or set userID as nickname
|
|
396
|
+
if ((nickname !== user.nickname || profileUrl !== user.profileUrl)
|
|
397
|
+
&& !(index$1.isTextuallyNull(nickname) && index$1.isTextuallyNull(profileUrl))) {
|
|
398
|
+
(_c = logger === null || logger === void 0 ? void 0 : logger.info) === null || _c === void 0 ? void 0 : _c.call(logger, 'SendbirdProvider | useConnect/setupConnection/updateCurrentUserInfo', {
|
|
399
|
+
nickname: nickname,
|
|
400
|
+
profileUrl: profileUrl,
|
|
401
|
+
});
|
|
402
|
+
newSdk_1.updateCurrentUserInfo({
|
|
403
|
+
nickname: nickname || user.nickname || (isUserIdUsedForNickname ? user.userId : ''),
|
|
404
|
+
profileUrl: profileUrl || user.profileUrl,
|
|
405
|
+
}).then(function (namedUser) {
|
|
406
|
+
var _a;
|
|
407
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.info) === null || _a === void 0 ? void 0 : _a.call(logger, 'SendbirdProvider | useConnect/setupConnection/updateCurrentUserInfo success', {
|
|
408
|
+
nickname: nickname,
|
|
409
|
+
profileUrl: profileUrl,
|
|
410
|
+
});
|
|
411
|
+
userDispatcher({ type: UPDATE_USER_INFO, payload: namedUser });
|
|
412
|
+
}).finally(function () {
|
|
413
|
+
resolve();
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
else {
|
|
417
|
+
resolve();
|
|
418
|
+
}
|
|
419
|
+
return [2 /*return*/];
|
|
346
420
|
}
|
|
347
|
-
return [2 /*return*/];
|
|
348
421
|
});
|
|
349
422
|
}); };
|
|
350
423
|
var connectCbError_1 = function (e) {
|
|
@@ -364,7 +437,7 @@ function setUpConnection(_a) {
|
|
|
364
437
|
};
|
|
365
438
|
(_k = logger === null || logger === void 0 ? void 0 : logger.info) === null || _k === void 0 ? void 0 : _k.call(logger, "SendbirdProvider | useConnect/setupConnection/connect connecting using ".concat(accessToken !== null && accessToken !== void 0 ? accessToken : userId));
|
|
366
439
|
newSdk_1.connect(userId, accessToken)
|
|
367
|
-
.then(function (res) { return
|
|
440
|
+
.then(function (res) { return connectCbSuccess_1(res); })
|
|
368
441
|
.catch(function (err) { return connectCbError_1(err); });
|
|
369
442
|
}
|
|
370
443
|
else {
|
|
@@ -381,7 +454,7 @@ function setUpConnection(_a) {
|
|
|
381
454
|
}
|
|
382
455
|
|
|
383
456
|
function connect(_a) {
|
|
384
|
-
var logger = _a.logger, sdkDispatcher = _a.sdkDispatcher, userDispatcher = _a.userDispatcher, initDashboardConfigs = _a.initDashboardConfigs, userId = _a.userId, appId = _a.appId, customApiHost = _a.customApiHost, customWebSocketHost = _a.customWebSocketHost, configureSession = _a.configureSession, nickname = _a.nickname, profileUrl = _a.profileUrl, accessToken = _a.accessToken, sdk = _a.sdk, sdkInitParams = _a.sdkInitParams, customExtensionParams = _a.customExtensionParams, isMobile = _a.isMobile, eventHandlers = _a.eventHandlers, isUserIdUsedForNickname = _a.isUserIdUsedForNickname;
|
|
457
|
+
var logger = _a.logger, sdkDispatcher = _a.sdkDispatcher, userDispatcher = _a.userDispatcher, appInfoDispatcher = _a.appInfoDispatcher, initDashboardConfigs = _a.initDashboardConfigs, userId = _a.userId, appId = _a.appId, customApiHost = _a.customApiHost, customWebSocketHost = _a.customWebSocketHost, configureSession = _a.configureSession, nickname = _a.nickname, profileUrl = _a.profileUrl, accessToken = _a.accessToken, sdk = _a.sdk, sdkInitParams = _a.sdkInitParams, customExtensionParams = _a.customExtensionParams, isMobile = _a.isMobile, eventHandlers = _a.eventHandlers, isUserIdUsedForNickname = _a.isUserIdUsedForNickname, initializeMessageTemplatesInfo = _a.initializeMessageTemplatesInfo;
|
|
385
458
|
return _tslib.__awaiter(this, void 0, void 0, function () {
|
|
386
459
|
return _tslib.__generator(this, function (_b) {
|
|
387
460
|
switch (_b.label) {
|
|
@@ -397,6 +470,7 @@ function connect(_a) {
|
|
|
397
470
|
logger: logger,
|
|
398
471
|
sdkDispatcher: sdkDispatcher,
|
|
399
472
|
userDispatcher: userDispatcher,
|
|
473
|
+
appInfoDispatcher: appInfoDispatcher,
|
|
400
474
|
initDashboardConfigs: initDashboardConfigs,
|
|
401
475
|
userId: userId,
|
|
402
476
|
appId: appId,
|
|
@@ -411,6 +485,7 @@ function connect(_a) {
|
|
|
411
485
|
isMobile: isMobile,
|
|
412
486
|
eventHandlers: eventHandlers,
|
|
413
487
|
isUserIdUsedForNickname: isUserIdUsedForNickname,
|
|
488
|
+
initializeMessageTemplatesInfo: initializeMessageTemplatesInfo,
|
|
414
489
|
})];
|
|
415
490
|
case 2:
|
|
416
491
|
_b.sent();
|
|
@@ -424,7 +499,7 @@ function useConnect(triggerTypes, staticTypes) {
|
|
|
424
499
|
var _this = this;
|
|
425
500
|
var _a;
|
|
426
501
|
var userId = triggerTypes.userId, appId = triggerTypes.appId, accessToken = triggerTypes.accessToken, isMobile = triggerTypes.isMobile, isUserIdUsedForNickname = triggerTypes.isUserIdUsedForNickname;
|
|
427
|
-
var logger = staticTypes.logger, nickname = staticTypes.nickname, profileUrl = staticTypes.profileUrl, configureSession = staticTypes.configureSession, customApiHost = staticTypes.customApiHost, customWebSocketHost = staticTypes.customWebSocketHost, sdk = staticTypes.sdk, sdkDispatcher = staticTypes.sdkDispatcher, userDispatcher = staticTypes.userDispatcher, initDashboardConfigs = staticTypes.initDashboardConfigs, sdkInitParams = staticTypes.sdkInitParams, customExtensionParams = staticTypes.customExtensionParams, eventHandlers = staticTypes.eventHandlers;
|
|
502
|
+
var logger = staticTypes.logger, nickname = staticTypes.nickname, profileUrl = staticTypes.profileUrl, configureSession = staticTypes.configureSession, customApiHost = staticTypes.customApiHost, customWebSocketHost = staticTypes.customWebSocketHost, sdk = staticTypes.sdk, sdkDispatcher = staticTypes.sdkDispatcher, userDispatcher = staticTypes.userDispatcher, appInfoDispatcher = staticTypes.appInfoDispatcher, initDashboardConfigs = staticTypes.initDashboardConfigs, sdkInitParams = staticTypes.sdkInitParams, customExtensionParams = staticTypes.customExtensionParams, eventHandlers = staticTypes.eventHandlers, initializeMessageTemplatesInfo = staticTypes.initializeMessageTemplatesInfo;
|
|
428
503
|
(_a = logger === null || logger === void 0 ? void 0 : logger.info) === null || _a === void 0 ? void 0 : _a.call(logger, 'SendbirdProvider | useConnect', _tslib.__assign(_tslib.__assign({}, triggerTypes), staticTypes));
|
|
429
504
|
// Note: This is a workaround to prevent the creation of multiple SDK instances when React strict mode is enabled.
|
|
430
505
|
var connectDeps = React.useRef({
|
|
@@ -453,12 +528,14 @@ function useConnect(triggerTypes, staticTypes) {
|
|
|
453
528
|
sdk: sdk,
|
|
454
529
|
sdkDispatcher: sdkDispatcher,
|
|
455
530
|
userDispatcher: userDispatcher,
|
|
531
|
+
appInfoDispatcher: appInfoDispatcher,
|
|
456
532
|
initDashboardConfigs: initDashboardConfigs,
|
|
457
533
|
isUserIdUsedForNickname: isUserIdUsedForNickname,
|
|
458
534
|
sdkInitParams: sdkInitParams,
|
|
459
535
|
customExtensionParams: customExtensionParams,
|
|
460
536
|
isMobile: isMobile,
|
|
461
537
|
eventHandlers: eventHandlers,
|
|
538
|
+
initializeMessageTemplatesInfo: initializeMessageTemplatesInfo,
|
|
462
539
|
}).catch(function (error) {
|
|
463
540
|
var _a;
|
|
464
541
|
(_a = logger === null || logger === void 0 ? void 0 : logger.error) === null || _a === void 0 ? void 0 : _a.call(logger, 'SendbirdProvider | useConnect/useEffect', error);
|
|
@@ -487,12 +564,14 @@ function useConnect(triggerTypes, staticTypes) {
|
|
|
487
564
|
sdk: sdk,
|
|
488
565
|
sdkDispatcher: sdkDispatcher,
|
|
489
566
|
userDispatcher: userDispatcher,
|
|
567
|
+
appInfoDispatcher: appInfoDispatcher,
|
|
490
568
|
initDashboardConfigs: initDashboardConfigs,
|
|
491
569
|
isUserIdUsedForNickname: isUserIdUsedForNickname,
|
|
492
570
|
sdkInitParams: sdkInitParams,
|
|
493
571
|
customExtensionParams: customExtensionParams,
|
|
494
572
|
isMobile: isMobile,
|
|
495
573
|
eventHandlers: eventHandlers,
|
|
574
|
+
initializeMessageTemplatesInfo: initializeMessageTemplatesInfo,
|
|
496
575
|
})];
|
|
497
576
|
case 2:
|
|
498
577
|
_c.sent();
|
|
@@ -602,8 +681,8 @@ var VoiceMessageProvider = function (_a) {
|
|
|
602
681
|
};
|
|
603
682
|
|
|
604
683
|
function uikitConfigMapper(_a) {
|
|
605
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
|
|
606
|
-
var legacyConfig = _a.legacyConfig,
|
|
684
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
|
|
685
|
+
var legacyConfig = _a.legacyConfig, _5 = _a.uikitOptions, uikitOptions = _5 === void 0 ? {} : _5;
|
|
607
686
|
var replyType = legacyConfig.replyType, isMentionEnabled = legacyConfig.isMentionEnabled, isReactionEnabled = legacyConfig.isReactionEnabled, disableUserProfile = legacyConfig.disableUserProfile, isVoiceMessageEnabled = legacyConfig.isVoiceMessageEnabled, isTypingIndicatorEnabledOnChannelList = legacyConfig.isTypingIndicatorEnabledOnChannelList, isMessageReceiptStatusEnabledOnChannelList = legacyConfig.isMessageReceiptStatusEnabledOnChannelList, showSearchIcon = legacyConfig.showSearchIcon;
|
|
608
687
|
return {
|
|
609
688
|
common: {
|
|
@@ -625,18 +704,19 @@ function uikitConfigMapper(_a) {
|
|
|
625
704
|
typingIndicatorTypes: (_s = uikitOptions.groupChannel) === null || _s === void 0 ? void 0 : _s.typingIndicatorTypes,
|
|
626
705
|
enableFeedback: (_t = uikitOptions.groupChannel) === null || _t === void 0 ? void 0 : _t.enableFeedback,
|
|
627
706
|
enableSuggestedReplies: (_u = uikitOptions.groupChannel) === null || _u === void 0 ? void 0 : _u.enableSuggestedReplies,
|
|
707
|
+
showSuggestedRepliesFor: (_v = uikitOptions.groupChannel) === null || _v === void 0 ? void 0 : _v.showSuggestedRepliesFor,
|
|
628
708
|
},
|
|
629
709
|
groupChannelList: {
|
|
630
|
-
enableTypingIndicator: (
|
|
631
|
-
enableMessageReceiptStatus: (
|
|
710
|
+
enableTypingIndicator: (_x = (_w = uikitOptions.groupChannelList) === null || _w === void 0 ? void 0 : _w.enableTypingIndicator) !== null && _x !== void 0 ? _x : isTypingIndicatorEnabledOnChannelList,
|
|
711
|
+
enableMessageReceiptStatus: (_z = (_y = uikitOptions.groupChannelList) === null || _y === void 0 ? void 0 : _y.enableMessageReceiptStatus) !== null && _z !== void 0 ? _z : isMessageReceiptStatusEnabledOnChannelList,
|
|
632
712
|
},
|
|
633
713
|
groupChannelSettings: {
|
|
634
|
-
enableMessageSearch: (
|
|
714
|
+
enableMessageSearch: (_1 = (_0 = uikitOptions.groupChannelSettings) === null || _0 === void 0 ? void 0 : _0.enableMessageSearch) !== null && _1 !== void 0 ? _1 : showSearchIcon,
|
|
635
715
|
},
|
|
636
716
|
openChannel: {
|
|
637
|
-
enableOgtag: (
|
|
717
|
+
enableOgtag: (_2 = uikitOptions.openChannel) === null || _2 === void 0 ? void 0 : _2.enableOgtag,
|
|
638
718
|
input: {
|
|
639
|
-
enableDocument: (
|
|
719
|
+
enableDocument: (_4 = (_3 = uikitOptions.openChannel) === null || _3 === void 0 ? void 0 : _3.input) === null || _4 === void 0 ? void 0 : _4.enableDocument,
|
|
640
720
|
},
|
|
641
721
|
},
|
|
642
722
|
};
|
|
@@ -736,6 +816,186 @@ var uikitConfigStorage = {
|
|
|
736
816
|
},
|
|
737
817
|
};
|
|
738
818
|
|
|
819
|
+
/**
|
|
820
|
+
* Takes JSON parsed template and then returns processed message template for storing it in global state.
|
|
821
|
+
*/
|
|
822
|
+
var getProcessedTemplate = function (parsedTemplate) {
|
|
823
|
+
return {
|
|
824
|
+
uiTemplate: JSON.stringify(parsedTemplate.ui_template.body.items),
|
|
825
|
+
colorVariables: parsedTemplate.color_variables,
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
var getProcessedTemplates = function (parsedTemplates) {
|
|
829
|
+
var processedTemplates = {};
|
|
830
|
+
parsedTemplates.forEach(function (template) {
|
|
831
|
+
processedTemplates[template.key] = getProcessedTemplate(template);
|
|
832
|
+
});
|
|
833
|
+
return processedTemplates;
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
var MESSAGE_TEMPLATES_FETCH_LIMIT = 20;
|
|
837
|
+
var INITIALIZE_MESSAGE_TEMPLATES_INFO = APP_INFO_ACTIONS.INITIALIZE_MESSAGE_TEMPLATES_INFO, UPSERT_MESSAGE_TEMPLATE = APP_INFO_ACTIONS.UPSERT_MESSAGE_TEMPLATE, UPSERT_WAITING_TEMPLATE_KEY = APP_INFO_ACTIONS.UPSERT_WAITING_TEMPLATE_KEY, MARK_ERROR_WAITING_TEMPLATE_KEY = APP_INFO_ACTIONS.MARK_ERROR_WAITING_TEMPLATE_KEY;
|
|
838
|
+
function useMessageTemplateUtils(_a) {
|
|
839
|
+
var _this = this;
|
|
840
|
+
var sdk = _a.sdk, logger = _a.logger, appInfoStore = _a.appInfoStore, appInfoDispatcher = _a.appInfoDispatcher;
|
|
841
|
+
var messageTemplatesInfo = appInfoStore === null || appInfoStore === void 0 ? void 0 : appInfoStore.messageTemplatesInfo;
|
|
842
|
+
var getCachedTemplate = function (key) {
|
|
843
|
+
var _a, _b;
|
|
844
|
+
if (!messageTemplatesInfo)
|
|
845
|
+
return null;
|
|
846
|
+
var cachedTemplate = null;
|
|
847
|
+
var cachedMessageTemplates = (_a = messageTemplatesInfo === null || messageTemplatesInfo === void 0 ? void 0 : messageTemplatesInfo.templatesMap) !== null && _a !== void 0 ? _a : null;
|
|
848
|
+
if (cachedMessageTemplates) {
|
|
849
|
+
cachedTemplate = (_b = cachedMessageTemplates[key]) !== null && _b !== void 0 ? _b : null;
|
|
850
|
+
}
|
|
851
|
+
return cachedTemplate;
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* Fetches a single message template by given key and then
|
|
855
|
+
* returns processed template for updating templates info in global state.
|
|
856
|
+
* If no such templates exists (error) or any error occurs in response, return null.
|
|
857
|
+
*/
|
|
858
|
+
var fetchAllMessageTemplates = function (readySdk) { return _tslib.__awaiter(_this, void 0, void 0, function () {
|
|
859
|
+
var hasMore, paginationToken, fetchedTemplates, res;
|
|
860
|
+
return _tslib.__generator(this, function (_a) {
|
|
861
|
+
switch (_a.label) {
|
|
862
|
+
case 0:
|
|
863
|
+
hasMore = true;
|
|
864
|
+
paginationToken = null;
|
|
865
|
+
fetchedTemplates = [];
|
|
866
|
+
_a.label = 1;
|
|
867
|
+
case 1:
|
|
868
|
+
if (!hasMore) return [3 /*break*/, 3];
|
|
869
|
+
return [4 /*yield*/, readySdk.message.getMessageTemplatesByToken(paginationToken, { limit: MESSAGE_TEMPLATES_FETCH_LIMIT })];
|
|
870
|
+
case 2:
|
|
871
|
+
res = _a.sent();
|
|
872
|
+
hasMore = res.hasMore;
|
|
873
|
+
paginationToken = res.token;
|
|
874
|
+
res.templates.forEach(function (messageTemplate) {
|
|
875
|
+
fetchedTemplates.push(JSON.parse(messageTemplate.template));
|
|
876
|
+
});
|
|
877
|
+
return [3 /*break*/, 1];
|
|
878
|
+
case 3: return [2 /*return*/, fetchedTemplates];
|
|
879
|
+
}
|
|
880
|
+
});
|
|
881
|
+
}); };
|
|
882
|
+
var initializeMessageTemplatesInfo = function (readySdk) { return _tslib.__awaiter(_this, void 0, void 0, function () {
|
|
883
|
+
var sdkMessageTemplateToken, cachedMessageTemplatesToken, cachedMessageTemplates, parsedTemplates, newMessageTemplatesInfo, parsedTemplates, newMessageTemplatesInfo;
|
|
884
|
+
var _a;
|
|
885
|
+
return _tslib.__generator(this, function (_b) {
|
|
886
|
+
switch (_b.label) {
|
|
887
|
+
case 0:
|
|
888
|
+
sdkMessageTemplateToken = (_a = readySdk.appInfo) === null || _a === void 0 ? void 0 : _a.messageTemplateInfo.token;
|
|
889
|
+
/**
|
|
890
|
+
* no sdkMessageTemplateToken => no templates => clear cached
|
|
891
|
+
*/
|
|
892
|
+
if (!sdkMessageTemplateToken) {
|
|
893
|
+
localStorage.removeItem(consts.CACHED_MESSAGE_TEMPLATES_TOKEN_KEY);
|
|
894
|
+
localStorage.removeItem(consts.CACHED_MESSAGE_TEMPLATES_KEY);
|
|
895
|
+
return [2 /*return*/];
|
|
896
|
+
}
|
|
897
|
+
cachedMessageTemplatesToken = localStorage.getItem(consts.CACHED_MESSAGE_TEMPLATES_TOKEN_KEY);
|
|
898
|
+
cachedMessageTemplates = localStorage.getItem(consts.CACHED_MESSAGE_TEMPLATES_KEY);
|
|
899
|
+
if (!(!cachedMessageTemplatesToken
|
|
900
|
+
|| cachedMessageTemplatesToken !== sdkMessageTemplateToken)) return [3 /*break*/, 2];
|
|
901
|
+
return [4 /*yield*/, fetchAllMessageTemplates(readySdk)];
|
|
902
|
+
case 1:
|
|
903
|
+
parsedTemplates = _b.sent();
|
|
904
|
+
newMessageTemplatesInfo = {
|
|
905
|
+
token: sdkMessageTemplateToken,
|
|
906
|
+
templatesMap: getProcessedTemplates(parsedTemplates),
|
|
907
|
+
};
|
|
908
|
+
appInfoDispatcher({ type: INITIALIZE_MESSAGE_TEMPLATES_INFO, payload: newMessageTemplatesInfo });
|
|
909
|
+
localStorage.setItem(consts.CACHED_MESSAGE_TEMPLATES_TOKEN_KEY, sdkMessageTemplateToken);
|
|
910
|
+
localStorage.setItem(consts.CACHED_MESSAGE_TEMPLATES_KEY, JSON.stringify(parsedTemplates));
|
|
911
|
+
return [3 /*break*/, 3];
|
|
912
|
+
case 2:
|
|
913
|
+
if (cachedMessageTemplatesToken
|
|
914
|
+
&& cachedMessageTemplatesToken === sdkMessageTemplateToken
|
|
915
|
+
&& cachedMessageTemplates) {
|
|
916
|
+
parsedTemplates = JSON.parse(cachedMessageTemplates);
|
|
917
|
+
newMessageTemplatesInfo = {
|
|
918
|
+
token: sdkMessageTemplateToken,
|
|
919
|
+
templatesMap: getProcessedTemplates(parsedTemplates),
|
|
920
|
+
};
|
|
921
|
+
appInfoDispatcher({ type: INITIALIZE_MESSAGE_TEMPLATES_INFO, payload: newMessageTemplatesInfo });
|
|
922
|
+
}
|
|
923
|
+
_b.label = 3;
|
|
924
|
+
case 3: return [2 /*return*/];
|
|
925
|
+
}
|
|
926
|
+
});
|
|
927
|
+
}); };
|
|
928
|
+
/**
|
|
929
|
+
* If given message is a template message with template key and if the key does not exist in the cache,
|
|
930
|
+
* update the cache by fetching the template.
|
|
931
|
+
*/
|
|
932
|
+
var updateMessageTemplatesInfo = function (templateKey, requestedAt) { return _tslib.__awaiter(_this, void 0, void 0, function () {
|
|
933
|
+
var parsedTemplate, newTemplate, e_1, cachedMessageTemplates, parsedTemplates, processedTemplate;
|
|
934
|
+
var _a;
|
|
935
|
+
return _tslib.__generator(this, function (_b) {
|
|
936
|
+
switch (_b.label) {
|
|
937
|
+
case 0:
|
|
938
|
+
if (!appInfoDispatcher) return [3 /*break*/, 5];
|
|
939
|
+
appInfoDispatcher({
|
|
940
|
+
type: UPSERT_WAITING_TEMPLATE_KEY,
|
|
941
|
+
payload: {
|
|
942
|
+
key: templateKey,
|
|
943
|
+
requestedAt: requestedAt,
|
|
944
|
+
},
|
|
945
|
+
});
|
|
946
|
+
parsedTemplate = null;
|
|
947
|
+
_b.label = 1;
|
|
948
|
+
case 1:
|
|
949
|
+
_b.trys.push([1, 3, , 4]);
|
|
950
|
+
return [4 /*yield*/, sdk.message.getMessageTemplate(templateKey)];
|
|
951
|
+
case 2:
|
|
952
|
+
newTemplate = _b.sent();
|
|
953
|
+
parsedTemplate = JSON.parse(newTemplate.template);
|
|
954
|
+
return [3 /*break*/, 4];
|
|
955
|
+
case 3:
|
|
956
|
+
e_1 = _b.sent();
|
|
957
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.error) === null || _a === void 0 ? void 0 : _a.call(logger, 'Sendbird | fetchProcessedMessageTemplate failed', e_1);
|
|
958
|
+
return [3 /*break*/, 4];
|
|
959
|
+
case 4:
|
|
960
|
+
if (parsedTemplate) {
|
|
961
|
+
cachedMessageTemplates = localStorage.getItem(consts.CACHED_MESSAGE_TEMPLATES_KEY);
|
|
962
|
+
if (cachedMessageTemplates) {
|
|
963
|
+
parsedTemplates = JSON.parse(cachedMessageTemplates);
|
|
964
|
+
parsedTemplates.push(parsedTemplate);
|
|
965
|
+
localStorage.setItem(consts.CACHED_MESSAGE_TEMPLATES_KEY, JSON.stringify(parsedTemplates));
|
|
966
|
+
}
|
|
967
|
+
else {
|
|
968
|
+
localStorage.setItem(consts.CACHED_MESSAGE_TEMPLATES_KEY, JSON.stringify([parsedTemplate]));
|
|
969
|
+
}
|
|
970
|
+
processedTemplate = getProcessedTemplate(parsedTemplate);
|
|
971
|
+
appInfoDispatcher({
|
|
972
|
+
type: UPSERT_MESSAGE_TEMPLATE,
|
|
973
|
+
payload: {
|
|
974
|
+
key: templateKey,
|
|
975
|
+
template: processedTemplate,
|
|
976
|
+
},
|
|
977
|
+
});
|
|
978
|
+
}
|
|
979
|
+
else {
|
|
980
|
+
appInfoDispatcher({
|
|
981
|
+
type: MARK_ERROR_WAITING_TEMPLATE_KEY,
|
|
982
|
+
payload: {
|
|
983
|
+
key: templateKey,
|
|
984
|
+
},
|
|
985
|
+
});
|
|
986
|
+
}
|
|
987
|
+
_b.label = 5;
|
|
988
|
+
case 5: return [2 /*return*/];
|
|
989
|
+
}
|
|
990
|
+
});
|
|
991
|
+
}); };
|
|
992
|
+
return {
|
|
993
|
+
getCachedTemplate: getCachedTemplate,
|
|
994
|
+
updateMessageTemplatesInfo: updateMessageTemplatesInfo,
|
|
995
|
+
initializeMessageTemplatesInfo: initializeMessageTemplatesInfo,
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
|
|
739
999
|
function SendbirdProvider(props) {
|
|
740
1000
|
var localConfigs = uikitConfigMapper({
|
|
741
1001
|
legacyConfig: {
|
|
@@ -770,13 +1030,24 @@ var SendbirdSDK = function (_a) {
|
|
|
770
1030
|
var isMobile = MediaQueryContext.useMediaQueryContext().isMobile;
|
|
771
1031
|
var _0 = React.useState(LoggerFactory(logLevel)), logger = _0[0], setLogger = _0[1];
|
|
772
1032
|
var pubSub = React.useState(function () { return customPubSub !== null && customPubSub !== void 0 ? customPubSub : index$2.pubSubFactory(); })[0];
|
|
773
|
-
var _1 = React.useReducer(reducer$
|
|
774
|
-
var _2 = React.useReducer(reducer, initialState), userStore = _2[0], userDispatcher = _2[1];
|
|
775
|
-
var _3 =
|
|
1033
|
+
var _1 = React.useReducer(reducer$2, initialState$2), sdkStore = _1[0], sdkDispatcher = _1[1];
|
|
1034
|
+
var _2 = React.useReducer(reducer$1, initialState$1), userStore = _2[0], userDispatcher = _2[1];
|
|
1035
|
+
var _3 = React.useReducer(reducer, initialState), appInfoStore = _3[0], appInfoDispatcher = _3[1];
|
|
1036
|
+
var _4 = uikitTools.useUIKitConfig(), configs = _4.configs, configsWithAppAttr = _4.configsWithAppAttr, initDashboardConfigs = _4.initDashboardConfigs;
|
|
776
1037
|
var sdkInitialized = sdkStore.initialized;
|
|
777
1038
|
var sdk = sdkStore === null || sdkStore === void 0 ? void 0 : sdkStore.sdk;
|
|
778
|
-
var
|
|
1039
|
+
var _5 = (_b = sdk === null || sdk === void 0 ? void 0 : sdk.appInfo) !== null && _b !== void 0 ? _b : {}, uploadSizeLimit = _5.uploadSizeLimit, multipleFilesMessageFileCountLimit = _5.multipleFilesMessageFileCountLimit;
|
|
779
1040
|
useTheme(colorSet);
|
|
1041
|
+
var _6 = useMessageTemplateUtils({
|
|
1042
|
+
sdk: sdk,
|
|
1043
|
+
logger: logger,
|
|
1044
|
+
appInfoStore: appInfoStore,
|
|
1045
|
+
appInfoDispatcher: appInfoDispatcher,
|
|
1046
|
+
}), getCachedTemplate = _6.getCachedTemplate, updateMessageTemplatesInfo = _6.updateMessageTemplatesInfo, initializeMessageTemplatesInfo = _6.initializeMessageTemplatesInfo;
|
|
1047
|
+
var utils = {
|
|
1048
|
+
updateMessageTemplatesInfo: updateMessageTemplatesInfo,
|
|
1049
|
+
getCachedTemplate: getCachedTemplate,
|
|
1050
|
+
};
|
|
780
1051
|
var reconnect = useConnect({
|
|
781
1052
|
appId: appId,
|
|
782
1053
|
userId: userId,
|
|
@@ -795,8 +1066,10 @@ var SendbirdSDK = function (_a) {
|
|
|
795
1066
|
sdk: sdk,
|
|
796
1067
|
sdkDispatcher: sdkDispatcher,
|
|
797
1068
|
userDispatcher: userDispatcher,
|
|
1069
|
+
appInfoDispatcher: appInfoDispatcher,
|
|
798
1070
|
initDashboardConfigs: initDashboardConfigs,
|
|
799
1071
|
eventHandlers: eventHandlers,
|
|
1072
|
+
initializeMessageTemplatesInfo: initializeMessageTemplatesInfo,
|
|
800
1073
|
});
|
|
801
1074
|
useMarkAsDeliveredScheduler.useUnmount(function () {
|
|
802
1075
|
if (typeof sdk.disconnect === 'function') {
|
|
@@ -818,7 +1091,7 @@ var SendbirdSDK = function (_a) {
|
|
|
818
1091
|
'sendbird-emoji-list-portal',
|
|
819
1092
|
], 'body');
|
|
820
1093
|
// should move to reducer
|
|
821
|
-
var
|
|
1094
|
+
var _7 = React.useState(theme), currentTheme = _7[0], setCurrentTheme = _7[1];
|
|
822
1095
|
React.useEffect(function () {
|
|
823
1096
|
setCurrentTheme(theme);
|
|
824
1097
|
}, [theme]);
|
|
@@ -883,10 +1156,12 @@ var SendbirdSDK = function (_a) {
|
|
|
883
1156
|
stores: {
|
|
884
1157
|
sdkStore: sdkStore,
|
|
885
1158
|
userStore: userStore,
|
|
1159
|
+
appInfoStore: appInfoStore,
|
|
886
1160
|
},
|
|
887
1161
|
dispatchers: {
|
|
888
1162
|
sdkDispatcher: sdkDispatcher,
|
|
889
1163
|
userDispatcher: userDispatcher,
|
|
1164
|
+
appInfoDispatcher: appInfoDispatcher,
|
|
890
1165
|
reconnect: reconnect,
|
|
891
1166
|
},
|
|
892
1167
|
config: {
|
|
@@ -938,6 +1213,7 @@ var SendbirdSDK = function (_a) {
|
|
|
938
1213
|
typingIndicatorTypes: configs.groupChannel.channel.typingIndicatorTypes,
|
|
939
1214
|
enableFeedback: configs.groupChannel.channel.enableFeedback,
|
|
940
1215
|
enableSuggestedReplies: configs.groupChannel.channel.enableSuggestedReplies,
|
|
1216
|
+
showSuggestedRepliesFor: configs.groupChannel.channel.showSuggestedRepliesFor,
|
|
941
1217
|
},
|
|
942
1218
|
openChannel: {
|
|
943
1219
|
enableOgtag: sdkInitialized && configsWithAppAttr(sdk).openChannel.channel.enableOgtag,
|
|
@@ -946,6 +1222,7 @@ var SendbirdSDK = function (_a) {
|
|
|
946
1222
|
},
|
|
947
1223
|
eventHandlers: eventHandlers,
|
|
948
1224
|
emojiManager: emojiManager,
|
|
1225
|
+
utils: utils,
|
|
949
1226
|
} },
|
|
950
1227
|
React.createElement(MediaQueryContext.MediaQueryProvider, { logger: logger, breakpoint: breakpoint },
|
|
951
1228
|
React.createElement(LocalizationContext.LocalizationProvider, { stringSet: localeStringSet, dateLocale: dateLocale },
|