@sendbird/uikit-react 3.14.3 → 3.14.4
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 +377 -378
- package/App.js.map +1 -1
- package/CHANGELOG.md +23 -0
- package/Channel/components/ChannelHeader.js +36 -34
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +74 -74
- package/Channel/components/FileViewer.js +37 -33
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +80 -81
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +72 -70
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageInputWrapper.js +45 -43
- package/Channel/components/MessageInputWrapper.js.map +1 -1
- package/Channel/components/MessageList.js +249 -250
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +38 -33
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +29 -30
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +1453 -1453
- package/Channel/hooks/useHandleUploadFiles.js +125 -120
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +50 -51
- package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/Channel/utils/getMessagePartsInfo.js +26 -27
- package/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/Channel.js +71 -71
- package/ChannelList/components/AddChannel.js +29 -26
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +13 -8
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +109 -106
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +43 -38
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +16 -12
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +9 -10
- package/ChannelList/context.js.map +1 -1
- package/ChannelList.js +43 -40
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +57 -47
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsHeader.js +24 -21
- package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsUI.js +78 -75
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +90 -80
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +63 -53
- package/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/ChannelSettings/components/ModerationPanel.js +447 -445
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +49 -49
- package/ChannelSettings/components/UserPanel.js +47 -45
- package/ChannelSettings/components/UserPanel.js.map +1 -1
- package/ChannelSettings/context.js +105 -105
- package/ChannelSettings.js +35 -32
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +33 -29
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +143 -139
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +76 -65
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +27 -23
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +63 -52
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +41 -41
- package/CreateOpenChannel.js +28 -17
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +110 -99
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile/context.js +12 -12
- package/EditUserProfile.js +27 -16
- package/EditUserProfile.js.map +1 -1
- package/GroupChannel/components/FileViewer.js +62 -58
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +10 -10
- package/GroupChannel/components/GroupChannelHeader.js +30 -28
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/GroupChannel/components/GroupChannelUI.js +68 -68
- package/GroupChannel/components/Message.js +66 -77
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +63 -62
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +154 -155
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +32 -27
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/GroupChannel/components/SuggestedMentionList.js +14 -14
- package/GroupChannel/components/SuggestedReplies.js +15 -14
- package/GroupChannel/components/SuggestedReplies.js.map +1 -1
- package/GroupChannel/components/TypingIndicator.js +59 -59
- package/GroupChannel/components/UnreadCount.js +26 -26
- package/GroupChannel/context.js +568 -568
- package/GroupChannel.js +65 -65
- package/GroupChannelList/components/AddGroupChannel.js +30 -27
- package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListHeader.js +34 -28
- package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListItem.js +39 -35
- package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListUI.js +86 -83
- package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/GroupChannelList/components/GroupChannelPreviewAction.js +48 -44
- package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/GroupChannelList/context.js +81 -97
- package/GroupChannelList/context.js.map +1 -1
- package/GroupChannelList.js +43 -40
- package/GroupChannelList.js.map +1 -1
- package/Message/context.js +21 -21
- package/Message/hooks/useDirtyGetMentions.js +52 -52
- package/MessageSearch/components/MessageSearchUI.js +71 -72
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +247 -247
- package/MessageSearch.js +59 -59
- package/OpenChannel/components/FrozenChannelNotification.js +9 -9
- package/OpenChannel/components/OpenChannelHeader.js +43 -38
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +47 -45
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +158 -157
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +95 -94
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +71 -70
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +23 -18
- package/OpenChannel/context.js.map +1 -1
- package/OpenChannel.js +44 -43
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +102 -92
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +20 -20
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +34 -24
- package/OpenChannelList.js.map +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +82 -73
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +47 -38
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +61 -57
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +454 -450
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +21 -17
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +114 -114
- package/OpenChannelSettings.js +29 -25
- package/OpenChannelSettings.js.map +1 -1
- package/README.md +2 -13
- package/SendbirdProvider.js +1139 -1183
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +240 -239
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +148 -148
- package/Thread/components/ThreadHeader.js +23 -26
- package/Thread/components/ThreadHeader.js.map +1 -1
- package/Thread/components/ThreadList.js +122 -122
- package/Thread/components/ThreadListItem.js +341 -340
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +167 -165
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +207 -207
- package/Thread/context/types.js +21 -21
- package/Thread/context.js +1283 -1281
- package/Thread/context.js.map +1 -1
- package/Thread.js +73 -73
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +68 -60
- package/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/VoiceRecorder/context.js +21 -127
- package/VoiceRecorder/context.js.map +1 -1
- package/VoiceRecorder/useVoiceRecorder.js +105 -96
- package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/chunks/{bundle-DiuoVXwl.js → bundle--nVHk3fx.js} +161 -162
- package/chunks/{bundle-DiuoVXwl.js.map → bundle--nVHk3fx.js.map} +1 -1
- package/chunks/{bundle-CUPPssXo.js → bundle-2uJIsyo2.js} +27 -27
- package/chunks/bundle-2uJIsyo2.js.map +1 -0
- package/chunks/bundle-3amhHjNa.js +120 -0
- package/chunks/bundle-3amhHjNa.js.map +1 -0
- package/chunks/{bundle-DZcgZWKq.js → bundle-7oF7KbGv.js} +2 -2
- package/chunks/{bundle-DZcgZWKq.js.map → bundle-7oF7KbGv.js.map} +1 -1
- package/chunks/{bundle-CXtl77MC.js → bundle-9MhshueU.js} +21 -21
- package/chunks/bundle-9MhshueU.js.map +1 -0
- package/chunks/{bundle-COLsFI7t.js → bundle-B5N2u5f-.js} +1 -1
- package/chunks/bundle-B5N2u5f-.js.map +1 -0
- package/chunks/{bundle-DGnpw8up.js → bundle-B7barEsR.js} +19 -19
- package/chunks/bundle-B7barEsR.js.map +1 -0
- package/chunks/{bundle-mRqHYNyY.js → bundle-B8gKMDtp.js} +28 -28
- package/chunks/bundle-B8gKMDtp.js.map +1 -0
- package/chunks/{bundle-D8JekjLy.js → bundle-BAvMd_j0.js} +45 -46
- package/chunks/bundle-BAvMd_j0.js.map +1 -0
- package/chunks/{bundle-DfDCjniq.js → bundle-BHn3F_OF.js} +17 -17
- package/chunks/bundle-BHn3F_OF.js.map +1 -0
- package/chunks/{bundle-BbeHRXOp.js → bundle-BJ46V6XQ.js} +10 -10
- package/chunks/bundle-BJ46V6XQ.js.map +1 -0
- package/chunks/{bundle-DQKxIg_X.js → bundle-BKho3Uub.js} +11 -11
- package/chunks/bundle-BKho3Uub.js.map +1 -0
- package/chunks/{bundle-BTLVyMgj.js → bundle-BOSnopxk.js} +8 -8
- package/chunks/bundle-BOSnopxk.js.map +1 -0
- package/chunks/{bundle-DbwlpQTj.js → bundle-BTD0sBED.js} +89 -89
- package/chunks/{bundle-DbwlpQTj.js.map → bundle-BTD0sBED.js.map} +1 -1
- package/chunks/{bundle-CkgVJjMI.js → bundle-BTkRy0wv.js} +94 -94
- package/chunks/{bundle-CkgVJjMI.js.map → bundle-BTkRy0wv.js.map} +1 -1
- package/chunks/{bundle-DwApARpe.js → bundle-BWCGFXhj.js} +732 -731
- package/chunks/bundle-BWCGFXhj.js.map +1 -0
- package/chunks/{bundle-BX_IXLSp.js → bundle-BWuyd0AD.js} +37 -37
- package/chunks/bundle-BWuyd0AD.js.map +1 -0
- package/chunks/{bundle-DOG83iYO.js → bundle-BZd5IHBF.js} +83 -83
- package/chunks/{bundle-DOG83iYO.js.map → bundle-BZd5IHBF.js.map} +1 -1
- package/chunks/{bundle-BiINvVSK.js → bundle-B__zC9zD.js} +131 -132
- package/chunks/{bundle-DBBVxbFA.js.map → bundle-B__zC9zD.js.map} +1 -1
- package/chunks/bundle-BbWD2VuS.js +93 -0
- package/chunks/bundle-BbWD2VuS.js.map +1 -0
- package/chunks/{bundle-CDnCdfIC.js → bundle-Bi8Wfc2I.js} +1326 -1327
- package/chunks/{bundle-CDnCdfIC.js.map → bundle-Bi8Wfc2I.js.map} +1 -1
- package/chunks/{bundle-BcKA_SAt.js → bundle-BjrRhdgd.js} +258 -258
- package/chunks/{bundle-BcKA_SAt.js.map → bundle-BjrRhdgd.js.map} +1 -1
- package/chunks/{bundle-CYXIQgUE.js → bundle-BmTGlIgs.js} +920 -923
- package/chunks/{bundle-CYXIQgUE.js.map → bundle-BmTGlIgs.js.map} +1 -1
- package/chunks/{bundle-BhkcPTQE.js → bundle-BtY8jyVv.js} +26 -26
- package/chunks/{bundle-BhkcPTQE.js.map → bundle-BtY8jyVv.js.map} +1 -1
- package/chunks/{bundle-C3K7W_E-.js → bundle-BvG71y_P.js} +31 -31
- package/chunks/bundle-BvG71y_P.js.map +1 -0
- package/chunks/{bundle-DS5ljghe.js → bundle-BvaqGh4L.js} +5 -5
- package/chunks/bundle-BvaqGh4L.js.map +1 -0
- package/chunks/{bundle-tIPAQa1P.js → bundle-Bx5vhTbU.js} +11 -11
- package/chunks/bundle-Bx5vhTbU.js.map +1 -0
- package/chunks/{bundle-DkspvEHK.js → bundle-Byig85JJ.js} +185 -185
- package/chunks/{bundle-DkspvEHK.js.map → bundle-Byig85JJ.js.map} +1 -1
- package/chunks/bundle-BymWz1lX.js +30 -0
- package/chunks/bundle-BymWz1lX.js.map +1 -0
- package/chunks/{bundle-DZl__KhG.js → bundle-ByvmbZD0.js} +36 -29
- package/chunks/bundle-ByvmbZD0.js.map +1 -0
- package/chunks/{bundle-DZie-lCF.js → bundle-C040958G.js} +2 -2
- package/chunks/{bundle-DZie-lCF.js.map → bundle-C040958G.js.map} +1 -1
- package/chunks/{bundle-Danvz0zD.js → bundle-C1ds4cil.js} +1 -1
- package/chunks/{bundle-Danvz0zD.js.map → bundle-C1ds4cil.js.map} +1 -1
- package/chunks/{bundle-D4x1_hkl.js → bundle-C1hw1sij.js} +26 -26
- package/chunks/bundle-C1hw1sij.js.map +1 -0
- package/chunks/bundle-C4Z-NWqF.js +279 -0
- package/chunks/bundle-C4Z-NWqF.js.map +1 -0
- package/chunks/{bundle-BLGMGsvT.js → bundle-C8im5l9B.js} +234 -234
- package/chunks/{bundle-BLGMGsvT.js.map → bundle-C8im5l9B.js.map} +1 -1
- package/chunks/{bundle-Dc7E6GJc.js → bundle-CD9AzC6s.js} +35 -35
- package/chunks/bundle-CD9AzC6s.js.map +1 -0
- package/chunks/{bundle-DpCn3P9s.js → bundle-CDwtSJbC.js} +210 -206
- package/chunks/{bundle-CwHpV2cp.js.map → bundle-CDwtSJbC.js.map} +1 -1
- package/chunks/{bundle-BbusXHy3.js → bundle-CIwVkd-E.js} +234 -234
- package/chunks/{bundle-BbusXHy3.js.map → bundle-CIwVkd-E.js.map} +1 -1
- package/chunks/{bundle-B9sTU4LX.js → bundle-CJk_QDUV.js} +58 -58
- package/chunks/bundle-CJk_QDUV.js.map +1 -0
- package/chunks/{bundle-BPvfVEd8.js → bundle-CNJMLyGJ.js} +61 -61
- package/chunks/bundle-CNJMLyGJ.js.map +1 -0
- package/chunks/{bundle-CUd4X5O2.js → bundle-CT8ZXUi2.js} +12 -12
- package/chunks/bundle-CT8ZXUi2.js.map +1 -0
- package/chunks/{bundle-Bf6VvPhp.js → bundle-C_Vyt_ii.js} +25 -25
- package/chunks/bundle-C_Vyt_ii.js.map +1 -0
- package/chunks/{bundle-Bkbg_RQ-.js → bundle-CaaUNO3F.js} +2 -2
- package/chunks/{bundle-Bkbg_RQ-.js.map → bundle-CaaUNO3F.js.map} +1 -1
- package/chunks/{bundle-DL_Xts3y.js → bundle-Ci146LvO.js} +370 -368
- package/chunks/{bundle-DL_Xts3y.js.map → bundle-Ci146LvO.js.map} +1 -1
- package/chunks/{bundle-fxTywxQ4.js → bundle-Clhqc2C_.js} +6 -6
- package/chunks/bundle-Clhqc2C_.js.map +1 -0
- package/chunks/{bundle-B7J4Fm0y.js → bundle-D2i2ti1U.js} +36 -36
- package/chunks/bundle-D2i2ti1U.js.map +1 -0
- package/chunks/{bundle-CY2Lga-4.js → bundle-DDhhxSv0.js} +64 -65
- package/chunks/bundle-DDhhxSv0.js.map +1 -0
- package/chunks/{bundle-DWW0XPV9.js → bundle-DDkUg3Os.js} +118 -118
- package/chunks/{bundle-DWW0XPV9.js.map → bundle-DDkUg3Os.js.map} +1 -1
- package/chunks/{bundle-Otcx8Wxy.js → bundle-DJTSztr0.js} +124 -124
- package/chunks/bundle-DJTSztr0.js.map +1 -0
- package/chunks/{bundle-WmbZYtqM.js → bundle-DNMURwG9.js} +120 -120
- package/chunks/bundle-DNMURwG9.js.map +1 -0
- package/chunks/{bundle-B_fxVgAX.js → bundle-DO1vNias.js} +244 -244
- package/chunks/{bundle-B_fxVgAX.js.map → bundle-DO1vNias.js.map} +1 -1
- package/chunks/{bundle-D5lQwKgM.js → bundle-DQ2q-zNM.js} +1 -1
- package/chunks/bundle-DQ2q-zNM.js.map +1 -0
- package/chunks/{bundle-5yHWoLVJ.js → bundle-DQFIz2Zf.js} +11 -11
- package/chunks/bundle-DQFIz2Zf.js.map +1 -0
- package/chunks/{bundle-DpkEqNiD.js → bundle-DSOf9RKe.js} +1 -1
- package/chunks/bundle-DSOf9RKe.js.map +1 -0
- package/chunks/{bundle-BOUVMTAt.js → bundle-DThbnyZd.js} +25 -25
- package/chunks/bundle-DThbnyZd.js.map +1 -0
- package/chunks/{bundle-CwHpV2cp.js → bundle-DXCQovsu.js} +213 -213
- package/{cjs/chunks/bundle-66eVSkB5.js.map → chunks/bundle-DXCQovsu.js.map} +1 -1
- package/chunks/{bundle-BmFbOU4C.js → bundle-D_eJq5Xk.js} +12 -12
- package/chunks/bundle-D_eJq5Xk.js.map +1 -0
- package/chunks/{bundle-CXxeDfXV.js → bundle-DaAoUDJk.js} +164 -164
- package/chunks/{bundle-CXxeDfXV.js.map → bundle-DaAoUDJk.js.map} +1 -1
- package/chunks/{bundle-CMZVPZeM.js → bundle-DaoHZIZy.js} +51 -51
- package/chunks/bundle-DaoHZIZy.js.map +1 -0
- package/chunks/{bundle-BlK-fMQm.js → bundle-Diqj6For.js} +71 -71
- package/chunks/bundle-Diqj6For.js.map +1 -0
- package/chunks/{bundle-CKf9oBLV.js → bundle-DlfN5GTa.js} +160 -160
- package/chunks/{bundle-CKf9oBLV.js.map → bundle-DlfN5GTa.js.map} +1 -1
- package/chunks/{bundle-BPj0X5TA.js → bundle-DmYqVYeD.js} +6 -6
- package/chunks/bundle-DmYqVYeD.js.map +1 -0
- package/chunks/{bundle-DBBVxbFA.js → bundle-DpGWywZ5.js} +138 -138
- package/chunks/bundle-DpGWywZ5.js.map +1 -0
- package/chunks/{bundle-BPbwxMIx.js → bundle-DzxiMlgV.js} +11 -12
- package/chunks/bundle-DzxiMlgV.js.map +1 -0
- package/chunks/{bundle-BwJTKHEl.js → bundle-Gx0ryc_f.js} +72 -72
- package/chunks/bundle-Gx0ryc_f.js.map +1 -0
- package/chunks/{bundle-BMPm6lKq.js → bundle-HoQqraNc.js} +23 -23
- package/chunks/bundle-HoQqraNc.js.map +1 -0
- package/chunks/{bundle-CllFAkeZ.js → bundle-IGQYX_K1.js} +152 -1079
- package/chunks/bundle-IGQYX_K1.js.map +1 -0
- package/chunks/{bundle-DfhJ_oFZ.js → bundle-Jir4hfa9.js} +13 -13
- package/chunks/bundle-Jir4hfa9.js.map +1 -0
- package/chunks/{bundle-Dk211z5R.js → bundle-LYAWKk4n.js} +78 -79
- package/chunks/bundle-LYAWKk4n.js.map +1 -0
- package/chunks/{bundle-OIgXk-TJ.js → bundle-QxUVt4Ms.js} +15 -15
- package/chunks/bundle-QxUVt4Ms.js.map +1 -0
- package/chunks/{bundle-C2A3dCIs.js → bundle-ZsYMd8JA.js} +192 -185
- package/chunks/{bundle-C2A3dCIs.js.map → bundle-ZsYMd8JA.js.map} +1 -1
- package/chunks/{bundle-BKCDSKx6.js → bundle-_-vntp1z.js} +28 -28
- package/chunks/bundle-_-vntp1z.js.map +1 -0
- package/chunks/{bundle-BzYv4x2T.js → bundle-afCfXO2C.js} +22 -22
- package/chunks/bundle-afCfXO2C.js.map +1 -0
- package/chunks/{bundle-D4rjbjNv.js → bundle-dC3DwujZ.js} +18 -18
- package/chunks/bundle-dC3DwujZ.js.map +1 -0
- package/chunks/{bundle-CUDCHaXM.js → bundle-fRP_rTVb.js} +75 -74
- package/chunks/bundle-fRP_rTVb.js.map +1 -0
- package/chunks/{bundle-Dzm909k5.js → bundle-h3a36twH.js} +48 -48
- package/chunks/bundle-h3a36twH.js.map +1 -0
- package/chunks/{bundle-XogVJY7Q.js → bundle-k3XccyCm.js} +333 -333
- package/chunks/{bundle-XogVJY7Q.js.map → bundle-k3XccyCm.js.map} +1 -1
- package/chunks/{bundle-Y3Y435SA.js → bundle-oCSRGy9i.js} +29 -29
- package/chunks/bundle-oCSRGy9i.js.map +1 -0
- package/chunks/{bundle-BLMDgHS-.js → bundle-uBJzoaNT.js} +82 -82
- package/chunks/bundle-uBJzoaNT.js.map +1 -0
- package/chunks/{bundle-BKTUnkiE.js → bundle-yZ1rqvSQ.js} +3 -3
- package/chunks/{bundle-BKTUnkiE.js.map → bundle-yZ1rqvSQ.js.map} +1 -1
- package/cjs/App.js +377 -378
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +36 -34
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +74 -74
- package/cjs/Channel/components/FileViewer.js +37 -33
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +80 -81
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +72 -70
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageInputWrapper.js +45 -43
- package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +249 -250
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +38 -33
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +29 -30
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +1453 -1453
- package/cjs/Channel/hooks/useHandleUploadFiles.js +125 -120
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +50 -51
- package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/cjs/Channel/utils/getMessagePartsInfo.js +26 -27
- package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/cjs/Channel.js +71 -71
- package/cjs/ChannelList/components/AddChannel.js +29 -26
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +13 -8
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +109 -106
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +43 -38
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -12
- package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/cjs/ChannelList/context.js +9 -10
- package/cjs/ChannelList/context.js.map +1 -1
- package/cjs/ChannelList.js +43 -40
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +57 -47
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +23 -20
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +78 -75
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +90 -80
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +63 -53
- package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/cjs/ChannelSettings/components/ModerationPanel.js +447 -445
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +49 -49
- package/cjs/ChannelSettings/components/UserPanel.js +47 -45
- package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
- package/cjs/ChannelSettings/context.js +105 -105
- package/cjs/ChannelSettings.js +35 -32
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +33 -29
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +143 -139
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +76 -65
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +27 -23
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +63 -52
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +41 -41
- package/cjs/CreateOpenChannel.js +28 -17
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +110 -99
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile/context.js +12 -12
- package/cjs/EditUserProfile.js +27 -16
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/GroupChannel/components/FileViewer.js +62 -58
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +10 -10
- package/cjs/GroupChannel/components/GroupChannelHeader.js +30 -28
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelUI.js +68 -68
- package/cjs/GroupChannel/components/Message.js +66 -77
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +62 -61
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +154 -155
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -27
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/GroupChannel/components/SuggestedMentionList.js +14 -14
- package/cjs/GroupChannel/components/SuggestedReplies.js +15 -14
- package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -1
- package/cjs/GroupChannel/components/TypingIndicator.js +59 -59
- package/cjs/GroupChannel/components/UnreadCount.js +26 -26
- package/cjs/GroupChannel/context.js +568 -568
- package/cjs/GroupChannel.js +65 -65
- package/cjs/GroupChannelList/components/AddGroupChannel.js +30 -27
- package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +34 -28
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -35
- package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +86 -83
- package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +48 -44
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/cjs/GroupChannelList/context.js +81 -97
- package/cjs/GroupChannelList/context.js.map +1 -1
- package/cjs/GroupChannelList.js +43 -40
- package/cjs/GroupChannelList.js.map +1 -1
- package/cjs/Message/context.js +21 -21
- package/cjs/Message/hooks/useDirtyGetMentions.js +52 -52
- package/cjs/MessageSearch/components/MessageSearchUI.js +71 -72
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +247 -247
- package/cjs/MessageSearch.js +59 -59
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +9 -9
- package/cjs/OpenChannel/components/OpenChannelHeader.js +43 -38
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +47 -45
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +158 -157
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +95 -94
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +71 -70
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +23 -18
- package/cjs/OpenChannel/context.js.map +1 -1
- package/cjs/OpenChannel.js +44 -43
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +102 -92
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +20 -20
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +34 -24
- package/cjs/OpenChannelList.js.map +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +82 -73
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +47 -38
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +61 -57
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +454 -450
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +21 -17
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +114 -114
- package/cjs/OpenChannelSettings.js +29 -25
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +1139 -1183
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +240 -239
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +148 -148
- package/cjs/Thread/components/ThreadHeader.js +22 -25
- package/cjs/Thread/components/ThreadHeader.js.map +1 -1
- package/cjs/Thread/components/ThreadList.js +122 -122
- package/cjs/Thread/components/ThreadListItem.js +341 -340
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +167 -165
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +207 -207
- package/cjs/Thread/context/types.js +21 -21
- package/cjs/Thread/context.js +1283 -1281
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +73 -73
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +68 -60
- package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/cjs/VoiceRecorder/context.js +25 -127
- package/cjs/VoiceRecorder/context.js.map +1 -1
- package/cjs/VoiceRecorder/useVoiceRecorder.js +105 -96
- package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/cjs/chunks/{bundle-BRjBigtB.js → bundle-1XtsxT8L.js} +10 -10
- package/cjs/chunks/bundle-1XtsxT8L.js.map +1 -0
- package/cjs/chunks/{bundle-CVSpiKNJ.js → bundle-4vdy6J5u.js} +17 -17
- package/cjs/chunks/bundle-4vdy6J5u.js.map +1 -0
- package/cjs/chunks/{bundle-BuYf2Pa8.js → bundle-5_kPn4wU.js} +77 -79
- package/cjs/chunks/bundle-5_kPn4wU.js.map +1 -0
- package/cjs/chunks/{bundle-ByBh6M0g.js → bundle-7UHC8ujA.js} +94 -94
- package/cjs/chunks/bundle-7UHC8ujA.js.map +1 -0
- package/cjs/chunks/{bundle-DessEmBr.js → bundle-8VyIP0TE.js} +1 -1
- package/cjs/chunks/bundle-8VyIP0TE.js.map +1 -0
- package/cjs/chunks/{bundle-C80RIOub.js → bundle-B-olJv7b.js} +1326 -1327
- package/cjs/chunks/{bundle-C80RIOub.js.map → bundle-B-olJv7b.js.map} +1 -1
- package/cjs/chunks/{bundle-DBdGwyXE.js → bundle-B31bbem0.js} +192 -185
- package/cjs/chunks/bundle-B31bbem0.js.map +1 -0
- package/cjs/chunks/{bundle-CFWumCsy.js → bundle-BBoPpUMg.js} +22 -22
- package/cjs/chunks/bundle-BBoPpUMg.js.map +1 -0
- package/cjs/chunks/{bundle-C0LFi1ur.js → bundle-BLc7P6Sp.js} +244 -244
- package/cjs/chunks/bundle-BLc7P6Sp.js.map +1 -0
- package/cjs/chunks/{bundle-XEpryGfs.js → bundle-BOkZUm8a.js} +27 -27
- package/cjs/chunks/bundle-BOkZUm8a.js.map +1 -0
- package/cjs/chunks/{bundle-BiXN0Ylc.js → bundle-BSAWCcb_.js} +920 -923
- package/cjs/chunks/{bundle-BiXN0Ylc.js.map → bundle-BSAWCcb_.js.map} +1 -1
- package/cjs/chunks/bundle-BTU876jx.js +95 -0
- package/cjs/chunks/{bundle-BRUrQgUE.js.map → bundle-BTU876jx.js.map} +1 -1
- package/cjs/chunks/{bundle-BRUrQgUE.js → bundle-BTod-EOk.js} +83 -83
- package/cjs/chunks/bundle-BTod-EOk.js.map +1 -0
- package/cjs/chunks/{bundle-BwvM-P29.js → bundle-BWGOXLHb.js} +1 -1
- package/cjs/chunks/{bundle-BwvM-P29.js.map → bundle-BWGOXLHb.js.map} +1 -1
- package/cjs/chunks/{bundle-DbS-u43Y.js → bundle-BXEGf4g2.js} +164 -164
- package/cjs/chunks/bundle-BXEGf4g2.js.map +1 -0
- package/cjs/chunks/{bundle-juHuQ6-V.js → bundle-B_51Svr9.js} +3 -3
- package/cjs/chunks/{bundle-juHuQ6-V.js.map → bundle-B_51Svr9.js.map} +1 -1
- package/cjs/chunks/{bundle-DdSNUhSn.js → bundle-BaAUvjl9.js} +6 -6
- package/cjs/chunks/bundle-BaAUvjl9.js.map +1 -0
- package/cjs/chunks/{bundle-D3tBia0F.js → bundle-BaM5Ed34.js} +160 -160
- package/cjs/chunks/{bundle-D3tBia0F.js.map → bundle-BaM5Ed34.js.map} +1 -1
- package/cjs/chunks/{bundle-CZObcUAk.js → bundle-BaQc9oOW.js} +29 -29
- package/cjs/chunks/bundle-BaQc9oOW.js.map +1 -0
- package/cjs/chunks/{bundle-pZbKLQPU.js → bundle-BhCAlWKP.js} +11 -11
- package/cjs/chunks/bundle-BhCAlWKP.js.map +1 -0
- package/cjs/chunks/{bundle-B3N7ehMH.js → bundle-Bi-soOXA.js} +258 -258
- package/cjs/chunks/bundle-Bi-soOXA.js.map +1 -0
- package/cjs/chunks/{bundle-D8-ob9Ia.js → bundle-BjgfoBVC.js} +26 -26
- package/cjs/chunks/bundle-BjgfoBVC.js.map +1 -0
- package/cjs/chunks/{bundle-BDbnsPGF.js → bundle-BoLhr7Ko.js} +36 -28
- package/cjs/chunks/bundle-BoLhr7Ko.js.map +1 -0
- package/cjs/chunks/{bundle-D5AiwZE4.js → bundle-BrNoc2XZ.js} +185 -185
- package/cjs/chunks/bundle-BrNoc2XZ.js.map +1 -0
- package/cjs/chunks/{bundle-BwEcnJDm.js → bundle-BwQ4BJif.js} +71 -71
- package/cjs/chunks/bundle-BwQ4BJif.js.map +1 -0
- package/cjs/chunks/{bundle-GtlapnzG.js → bundle-ByyccRIt.js} +210 -206
- package/cjs/chunks/{bundle-DvWHV-PM.js.map → bundle-ByyccRIt.js.map} +1 -1
- package/cjs/chunks/{bundle-Dn17aH6v.js → bundle-C1XVsHlE.js} +51 -51
- package/cjs/chunks/bundle-C1XVsHlE.js.map +1 -0
- package/cjs/chunks/{bundle-Df0cAbH6.js → bundle-C3DKUT4Q.js} +26 -26
- package/cjs/chunks/bundle-C3DKUT4Q.js.map +1 -0
- package/cjs/chunks/{bundle-ZuDe6I0q.js → bundle-C3RFfU6_.js} +89 -89
- package/cjs/chunks/bundle-C3RFfU6_.js.map +1 -0
- package/cjs/chunks/{bundle-C8aAwUsg.js → bundle-C51HeaX4.js} +25 -25
- package/cjs/chunks/bundle-C51HeaX4.js.map +1 -0
- package/cjs/chunks/{bundle-D9hSjP4_.js → bundle-C6a-umLQ.js} +131 -132
- package/{chunks/bundle-BiINvVSK.js.map → cjs/chunks/bundle-C6a-umLQ.js.map} +1 -1
- package/cjs/chunks/{bundle-C-zGGOpz.js → bundle-C93-onMF.js} +12 -12
- package/cjs/chunks/bundle-C93-onMF.js.map +1 -0
- package/cjs/chunks/{bundle-C7_tieEZ.js → bundle-CAUMYdVU.js} +19 -19
- package/cjs/chunks/bundle-CAUMYdVU.js.map +1 -0
- package/cjs/chunks/{bundle-Djp6Qheo.js → bundle-CDIVI7bT.js} +146 -1073
- package/cjs/chunks/bundle-CDIVI7bT.js.map +1 -0
- package/cjs/chunks/{bundle-u8pJrzSP.js → bundle-CE6bFQmu.js} +118 -118
- package/cjs/chunks/bundle-CE6bFQmu.js.map +1 -0
- package/cjs/chunks/{bundle-SdH24Cv9.js → bundle-CLOaQmX9.js} +138 -138
- package/cjs/chunks/bundle-CLOaQmX9.js.map +1 -0
- package/cjs/chunks/{bundle-7zHCY6TY.js → bundle-CQ34zxiR.js} +36 -36
- package/cjs/chunks/bundle-CQ34zxiR.js.map +1 -0
- package/cjs/chunks/{bundle-B6uiunjG.js → bundle-CR04Yhbr.js} +8 -8
- package/cjs/chunks/bundle-CR04Yhbr.js.map +1 -0
- package/cjs/chunks/bundle-CZfcXYaX.js +292 -0
- package/cjs/chunks/bundle-CZfcXYaX.js.map +1 -0
- package/cjs/chunks/{bundle-66eVSkB5.js → bundle-Cgl5e8xs.js} +213 -213
- package/cjs/chunks/bundle-Cgl5e8xs.js.map +1 -0
- package/cjs/chunks/{bundle-BoCS4RH3.js → bundle-CmpLg1_S.js} +15 -15
- package/cjs/chunks/bundle-CmpLg1_S.js.map +1 -0
- package/cjs/chunks/{bundle-DsKL-Ede.js → bundle-Com-Z-XI.js} +82 -82
- package/cjs/chunks/bundle-Com-Z-XI.js.map +1 -0
- package/cjs/chunks/{bundle-BrD0IuOc.js → bundle-CsJKON_3.js} +120 -120
- package/cjs/chunks/bundle-CsJKON_3.js.map +1 -0
- package/cjs/chunks/{bundle-B6hKU81Z.js → bundle-D-qAbZhp.js} +48 -48
- package/cjs/chunks/bundle-D-qAbZhp.js.map +1 -0
- package/cjs/chunks/{bundle-DPoAoYEl.js → bundle-D4aDRH9m.js} +1 -1
- package/cjs/chunks/bundle-D4aDRH9m.js.map +1 -0
- package/cjs/chunks/{bundle-BF3NYKgh.js → bundle-D6E8Fmnl.js} +333 -333
- package/cjs/chunks/{bundle-BF3NYKgh.js.map → bundle-D6E8Fmnl.js.map} +1 -1
- package/cjs/chunks/{bundle-q2tBQOdq.js → bundle-D8gia2Hg.js} +11 -12
- package/cjs/chunks/bundle-D8gia2Hg.js.map +1 -0
- package/cjs/chunks/{bundle-IVTygAtE.js → bundle-DAIf7fWo.js} +28 -28
- package/cjs/chunks/bundle-DAIf7fWo.js.map +1 -0
- package/cjs/chunks/{bundle-BmEl3iIW.js → bundle-DAj-1QVM.js} +2 -2
- package/cjs/chunks/{bundle-BmEl3iIW.js.map → bundle-DAj-1QVM.js.map} +1 -1
- package/cjs/chunks/{bundle-DI-qrtXL.js → bundle-DAxedY0T.js} +23 -23
- package/cjs/chunks/bundle-DAxedY0T.js.map +1 -0
- package/cjs/chunks/{bundle-DR-T3oW9.js → bundle-DMGpM9Ye.js} +370 -368
- package/cjs/chunks/{bundle-DR-T3oW9.js.map → bundle-DMGpM9Ye.js.map} +1 -1
- package/cjs/chunks/{bundle-BzR58JaC.js → bundle-DQy218lT.js} +31 -31
- package/cjs/chunks/bundle-DQy218lT.js.map +1 -0
- package/cjs/chunks/{bundle-BJBClQcM.js → bundle-DRp9IuV2.js} +28 -28
- package/cjs/chunks/bundle-DRp9IuV2.js.map +1 -0
- package/cjs/chunks/{bundle-DbykvtHO.js → bundle-DRy7eNJ0.js} +11 -11
- package/cjs/chunks/bundle-DRy7eNJ0.js.map +1 -0
- package/cjs/chunks/{bundle-ChIhNCh1.js → bundle-DTCz0BH1.js} +161 -162
- package/cjs/chunks/bundle-DTCz0BH1.js.map +1 -0
- package/cjs/chunks/{bundle-DDmTdnuT.js → bundle-DcSTnNI0.js} +64 -65
- package/cjs/chunks/bundle-DcSTnNI0.js.map +1 -0
- package/cjs/chunks/{bundle-DIxulCCm.js → bundle-DdxJqNSP.js} +1 -1
- package/cjs/chunks/bundle-DdxJqNSP.js.map +1 -0
- package/cjs/chunks/{bundle-t1Tb_Gz2.js → bundle-DeQZn8GZ.js} +75 -74
- package/cjs/chunks/bundle-DeQZn8GZ.js.map +1 -0
- package/cjs/chunks/{bundle-0W_w8lRK.js → bundle-Dehhi1FZ.js} +37 -37
- package/cjs/chunks/bundle-Dehhi1FZ.js.map +1 -0
- package/cjs/chunks/{bundle-DnXNmdmw.js → bundle-DfcEln0Z.js} +34 -34
- package/cjs/chunks/bundle-DfcEln0Z.js.map +1 -0
- package/cjs/chunks/bundle-DmX69_-l.js +32 -0
- package/cjs/chunks/bundle-DmX69_-l.js.map +1 -0
- package/cjs/chunks/{bundle-DLdV8LNR.js → bundle-Dnq2YP_l.js} +6 -6
- package/cjs/chunks/bundle-Dnq2YP_l.js.map +1 -0
- package/cjs/chunks/{bundle-C-gA8UhR.js → bundle-Dww6fCVQ.js} +13 -13
- package/cjs/chunks/bundle-Dww6fCVQ.js.map +1 -0
- package/cjs/chunks/{bundle-oUs61pbv.js → bundle-DxSB9NRz.js} +61 -61
- package/cjs/chunks/bundle-DxSB9NRz.js.map +1 -0
- package/cjs/chunks/{bundle-CY1bUkfG.js → bundle-HGbi-rCv.js} +1 -1
- package/cjs/chunks/bundle-HGbi-rCv.js.map +1 -0
- package/cjs/chunks/{bundle-DYZo-ek9.js → bundle-JtgSY0zB.js} +58 -58
- package/cjs/chunks/bundle-JtgSY0zB.js.map +1 -0
- package/cjs/chunks/{bundle-DlPLp6fm.js → bundle-L3FEqZsK.js} +234 -234
- package/cjs/chunks/bundle-L3FEqZsK.js.map +1 -0
- package/cjs/chunks/{bundle-DHuWzY0s.js → bundle-N_CwOE5a.js} +124 -124
- package/cjs/chunks/bundle-N_CwOE5a.js.map +1 -0
- package/cjs/chunks/bundle-Q4icQ1qH.js +122 -0
- package/{chunks/bundle-CVu64-xY.js.map → cjs/chunks/bundle-Q4icQ1qH.js.map} +1 -1
- package/cjs/chunks/{bundle-C-noHeKZ.js → bundle-T4lp5F85.js} +25 -25
- package/cjs/chunks/bundle-T4lp5F85.js.map +1 -0
- package/cjs/chunks/{bundle-CBmExSEr.js → bundle-Tjx9wNAv.js} +21 -21
- package/cjs/chunks/bundle-Tjx9wNAv.js.map +1 -0
- package/cjs/chunks/{bundle-CZz2cvTG.js → bundle-X03vJTEw.js} +45 -46
- package/cjs/chunks/bundle-X03vJTEw.js.map +1 -0
- package/cjs/chunks/{bundle-jkB4LAcp.js → bundle-_ekaw3iI.js} +18 -18
- package/cjs/chunks/bundle-_ekaw3iI.js.map +1 -0
- package/cjs/chunks/{bundle-CEueJUxG.js → bundle-bqRlVm3u.js} +12 -12
- package/cjs/chunks/bundle-bqRlVm3u.js.map +1 -0
- package/cjs/chunks/{bundle-DvWHV-PM.js → bundle-gtkPlUrw.js} +234 -234
- package/cjs/chunks/bundle-gtkPlUrw.js.map +1 -0
- package/cjs/chunks/{bundle-D4pqJjg-.js → bundle-miB6ue8g.js} +72 -72
- package/cjs/chunks/bundle-miB6ue8g.js.map +1 -0
- package/cjs/chunks/{bundle-E9H8fQL4.js → bundle-oeWNUdCB.js} +11 -11
- package/cjs/chunks/bundle-oeWNUdCB.js.map +1 -0
- package/cjs/chunks/{bundle-BufWOg42.js → bundle-qI5gnScC.js} +5 -5
- package/cjs/chunks/bundle-qI5gnScC.js.map +1 -0
- package/cjs/chunks/{bundle--yYCgVRq.js → bundle-wMKhbE3c.js} +2 -2
- package/cjs/chunks/{bundle--yYCgVRq.js.map → bundle-wMKhbE3c.js.map} +1 -1
- package/cjs/chunks/{bundle-D3Gxy8S0.js → bundle-wl1uuzU7.js} +733 -730
- package/cjs/chunks/bundle-wl1uuzU7.js.map +1 -0
- package/cjs/handlers/OpenChannelHandler.js +2 -2
- package/cjs/handlers/SessionHandler.js +2 -2
- package/cjs/hooks/useModal.js +25 -48
- package/cjs/hooks/useModal.js.map +1 -1
- package/cjs/index.js +80 -81
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +550 -550
- package/cjs/ui/Accordion.js +25 -25
- package/cjs/ui/AccordionGroup.js +40 -40
- package/cjs/ui/AdminMessage.js +13 -13
- package/cjs/ui/Avatar.js +4 -4
- package/cjs/ui/Badge.js +18 -18
- package/cjs/ui/BottomSheet.js +40 -26
- package/cjs/ui/BottomSheet.js.map +1 -1
- package/cjs/ui/Button.js +41 -41
- package/cjs/ui/ChannelAvatar.js +21 -21
- package/cjs/ui/Checkbox.js +15 -15
- package/cjs/ui/ConnectionStatus.js +11 -11
- package/cjs/ui/ContextMenu.js +180 -267
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +13 -13
- package/cjs/ui/EmojiReactions.js +167 -164
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +20 -21
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/cjs/ui/FeedbackIconButton.js +14 -14
- package/cjs/ui/FileMessageItemBody.js +65 -66
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +23 -17
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Header.js +53 -0
- package/cjs/ui/Header.js.map +1 -0
- package/cjs/ui/Icon.js +844 -964
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +18 -18
- package/cjs/ui/ImageRenderer.js +151 -151
- package/cjs/ui/Input.js +15 -15
- package/cjs/ui/Label.js +4 -4
- package/cjs/ui/LinkLabel.js +21 -21
- package/cjs/ui/Loader.js +11 -11
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +13 -14
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -1
- package/cjs/ui/MentionLabel.js +50 -50
- package/cjs/ui/MentionUserLabel.js +4 -4
- package/cjs/ui/MessageContent.js +586 -581
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +34 -22
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/cjs/ui/MessageFeedbackModal.js +66 -54
- package/cjs/ui/MessageFeedbackModal.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +423 -424
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +134 -134
- package/cjs/ui/MessageItemReactionMenu.js +42 -42
- package/cjs/ui/MessageSearchFileItem.js +77 -78
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +50 -50
- package/cjs/ui/MessageStatus.js +11 -12
- package/cjs/ui/MessageStatus.js.map +1 -1
- package/cjs/ui/MessageTemplate.js +1 -2
- package/cjs/ui/MessageTemplate.js.map +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +36 -25
- package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
- package/cjs/ui/Modal.js +21 -8
- package/cjs/ui/Modal.js.map +1 -1
- package/cjs/ui/MutedAvatarOverlay.js +14 -14
- package/cjs/ui/OGMessageItemBody.js +76 -76
- package/cjs/ui/OpenChannelAdminMessage.js +9 -9
- package/cjs/ui/OpenChannelAvatar.js +15 -15
- package/cjs/ui/OpenchannelConversationHeader.js +22 -22
- package/cjs/ui/OpenchannelFileMessage.js +117 -117
- package/cjs/ui/OpenchannelOGMessage.js +146 -146
- package/cjs/ui/OpenchannelThumbnailMessage.js +155 -155
- package/cjs/ui/OpenchannelUserMessage.js +128 -128
- package/cjs/ui/PlaceHolder.js +45 -45
- package/cjs/ui/PlaybackTime.js +11 -11
- package/cjs/ui/ProgressBar.js +12 -12
- package/cjs/ui/QuoteMessage.js +69 -70
- package/cjs/ui/QuoteMessage.js.map +1 -1
- package/cjs/ui/QuoteMessageInput.js +66 -67
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- package/cjs/ui/ReactionBadge.js +20 -20
- package/cjs/ui/ReactionButton.js +17 -17
- package/cjs/ui/SortByRow.js +23 -23
- package/cjs/ui/TemplateMessageItemBody.js +423 -424
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +9 -9
- package/cjs/ui/TextMessageItemBody.js +44 -44
- package/cjs/ui/ThreadReplies.js +34 -34
- package/cjs/ui/ThumbnailMessageItemBody.js +36 -37
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Toggle.js +110 -110
- package/cjs/ui/Tooltip.js +9 -9
- package/cjs/ui/TooltipWrapper.js +13 -13
- package/cjs/ui/TypingIndicatorBubble.js +56 -56
- package/cjs/ui/UnknownMessageItemBody.js +19 -20
- package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
- package/cjs/ui/UserListItem.js +56 -56
- package/cjs/ui/UserProfile.js +45 -45
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +62 -54
- package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
- package/cjs/ui/Word.js +41 -41
- package/cjs/useSendbirdStateContext.js +15 -15
- package/cjs/utils/message/getOutgoingMessageState.js +32 -32
- package/cjs/utils/message/isVoiceMessage.js +2 -3
- package/cjs/utils/message/isVoiceMessage.js.map +1 -1
- package/cjs/withSendbird.js +17 -17
- package/dist/index.css +195 -169
- package/dist/index.css.map +1 -1
- package/handlers/OpenChannelHandler.js +2 -2
- package/handlers/SessionHandler.js +2 -2
- package/hooks/useModal.js +22 -50
- package/hooks/useModal.js.map +1 -1
- package/index.js +80 -81
- package/index.js.map +1 -1
- package/package.json +13 -5
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +550 -550
- package/types/lib/pubSub/topics.d.ts +2 -2
- package/types/lib/types.d.ts +50 -15
- package/types/modules/App/index.d.ts +17 -10
- package/types/modules/Channel/context/ChannelProvider.d.ts +1 -4
- package/types/modules/ChannelList/components/ChannelPreviewAction.d.ts +2 -2
- package/types/modules/ChannelSettings/components/ChannelSettingsUI/ChannelSettingsHeader.d.ts +4 -3
- package/types/modules/GroupChannel/components/FileViewer/FileViewerView.d.ts +2 -2
- package/types/modules/GroupChannel/components/GroupChannelHeader/GroupChannelHeaderView.d.ts +3 -2
- package/types/modules/GroupChannel/components/GroupChannelHeader/index.d.ts +3 -2
- package/types/modules/GroupChannel/components/MessageInputWrapper/MessageInputWrapperView.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageInputWrapper/VoiceMessageInputWrapper.d.ts +2 -2
- package/types/modules/GroupChannel/components/MessageInputWrapper/index.d.ts +1 -1
- package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +3 -1
- package/types/modules/GroupChannelList/components/GroupChannelListHeader/index.d.ts +4 -2
- package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +1 -1
- package/types/modules/OpenChannelApp/index.d.ts +3 -3
- package/types/modules/Thread/components/ThreadHeader/index.d.ts +2 -2
- package/types/ui/Header/index.d.ts +45 -0
- package/types/ui/Icon/index.d.ts +2 -3
- package/types/ui/Label/index.d.ts +3 -4
- package/types/ui/MessageInput/hooks/usePaste/consts.d.ts +1 -1
- package/types/ui/Modal/index.d.ts +2 -4
- package/types/ui/TextButton/index.d.ts +1 -1
- package/types/ui/Toggle/ToggleContainer.d.ts +2 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/utils.d.ts +2 -0
- package/ui/Accordion.js +25 -25
- package/ui/AccordionGroup.js +40 -40
- package/ui/AdminMessage.js +13 -13
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +18 -18
- package/ui/BottomSheet.js +40 -26
- package/ui/BottomSheet.js.map +1 -1
- package/ui/Button.js +41 -41
- package/ui/ChannelAvatar.js +21 -21
- package/ui/Checkbox.js +15 -15
- package/ui/ConnectionStatus.js +11 -11
- package/ui/ContextMenu.js +180 -267
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +13 -13
- package/ui/EmojiReactions.js +167 -164
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FallbackTemplateMessageItemBody.tsx.js +20 -21
- package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/ui/FeedbackIconButton.js +14 -14
- package/ui/FileMessageItemBody.js +65 -66
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +23 -17
- package/ui/FileViewer.js.map +1 -1
- package/ui/Header.js +45 -0
- package/ui/Header.js.map +1 -0
- package/ui/Icon.js +845 -965
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +18 -18
- package/ui/ImageRenderer.js +151 -151
- package/ui/Input.js +15 -15
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +21 -21
- package/ui/Loader.js +11 -11
- package/ui/LoadingTemplateMessageItemBody.tsx.js +13 -14
- package/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -1
- package/ui/MentionLabel.js +50 -50
- package/ui/MentionUserLabel.js +4 -4
- package/ui/MessageContent.js +586 -581
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +34 -22
- package/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/ui/MessageFeedbackModal.js +66 -54
- package/ui/MessageFeedbackModal.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +423 -424
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +134 -134
- package/ui/MessageItemReactionMenu.js +42 -42
- package/ui/MessageSearchFileItem.js +77 -78
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +50 -50
- package/ui/MessageStatus.js +11 -12
- package/ui/MessageStatus.js.map +1 -1
- package/ui/MessageTemplate.js +1 -2
- package/ui/MessageTemplate.js.map +1 -1
- package/ui/MobileFeedbackMenu.js +36 -25
- package/ui/MobileFeedbackMenu.js.map +1 -1
- package/ui/Modal.js +21 -8
- package/ui/Modal.js.map +1 -1
- package/ui/MutedAvatarOverlay.js +14 -14
- package/ui/OGMessageItemBody.js +76 -76
- package/ui/OpenChannelAdminMessage.js +9 -9
- package/ui/OpenChannelAvatar.js +15 -15
- package/ui/OpenchannelConversationHeader.js +22 -22
- package/ui/OpenchannelFileMessage.js +117 -117
- package/ui/OpenchannelOGMessage.js +146 -146
- package/ui/OpenchannelThumbnailMessage.js +155 -155
- package/ui/OpenchannelUserMessage.js +128 -128
- package/ui/PlaceHolder.js +45 -45
- package/ui/PlaybackTime.js +11 -11
- package/ui/ProgressBar.js +12 -12
- package/ui/QuoteMessage.js +69 -70
- package/ui/QuoteMessage.js.map +1 -1
- package/ui/QuoteMessageInput.js +66 -67
- package/ui/QuoteMessageInput.js.map +1 -1
- package/ui/ReactionBadge.js +20 -20
- package/ui/ReactionButton.js +17 -17
- package/ui/SortByRow.js +23 -23
- package/ui/TemplateMessageItemBody.js +423 -424
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +9 -9
- package/ui/TextMessageItemBody.js +44 -44
- package/ui/ThreadReplies.js +34 -34
- package/ui/ThumbnailMessageItemBody.js +36 -37
- package/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/ui/Toggle.js +110 -110
- package/ui/Tooltip.js +9 -9
- package/ui/TooltipWrapper.js +13 -13
- package/ui/TypingIndicatorBubble.js +56 -56
- package/ui/UnknownMessageItemBody.js +19 -20
- package/ui/UnknownMessageItemBody.js.map +1 -1
- package/ui/UserListItem.js +56 -56
- package/ui/UserProfile.js +45 -45
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +62 -54
- package/ui/VoiceMessageItemBody.js.map +1 -1
- package/ui/Word.js +41 -41
- package/useSendbirdStateContext.js +15 -15
- package/utils/message/getOutgoingMessageState.js +32 -32
- package/utils/message/isVoiceMessage.js +2 -3
- package/utils/message/isVoiceMessage.js.map +1 -1
- package/withSendbird.js +17 -17
- package/chunks/bundle-5yHWoLVJ.js.map +0 -1
- package/chunks/bundle-B7J4Fm0y.js.map +0 -1
- package/chunks/bundle-B9rwLbgh.js +0 -36
- package/chunks/bundle-B9rwLbgh.js.map +0 -1
- package/chunks/bundle-B9sTU4LX.js.map +0 -1
- package/chunks/bundle-BKCDSKx6.js.map +0 -1
- package/chunks/bundle-BLMDgHS-.js.map +0 -1
- package/chunks/bundle-BMPm6lKq.js.map +0 -1
- package/chunks/bundle-BOUVMTAt.js.map +0 -1
- package/chunks/bundle-BPbwxMIx.js.map +0 -1
- package/chunks/bundle-BPj0X5TA.js.map +0 -1
- package/chunks/bundle-BPvfVEd8.js.map +0 -1
- package/chunks/bundle-BTLVyMgj.js.map +0 -1
- package/chunks/bundle-BX_IXLSp.js.map +0 -1
- package/chunks/bundle-BbeHRXOp.js.map +0 -1
- package/chunks/bundle-Bdw6eUSG.js +0 -4
- package/chunks/bundle-Bdw6eUSG.js.map +0 -1
- package/chunks/bundle-Bf6VvPhp.js.map +0 -1
- package/chunks/bundle-BlK-fMQm.js.map +0 -1
- package/chunks/bundle-BmFbOU4C.js.map +0 -1
- package/chunks/bundle-BwJTKHEl.js.map +0 -1
- package/chunks/bundle-BzYv4x2T.js.map +0 -1
- package/chunks/bundle-C3K7W_E-.js.map +0 -1
- package/chunks/bundle-CMZVPZeM.js.map +0 -1
- package/chunks/bundle-COLsFI7t.js.map +0 -1
- package/chunks/bundle-CSOdmQ75.js +0 -65
- package/chunks/bundle-CSOdmQ75.js.map +0 -1
- package/chunks/bundle-CUDCHaXM.js.map +0 -1
- package/chunks/bundle-CUPPssXo.js.map +0 -1
- package/chunks/bundle-CUd4X5O2.js.map +0 -1
- package/chunks/bundle-CVu64-xY.js +0 -122
- package/chunks/bundle-CXtl77MC.js.map +0 -1
- package/chunks/bundle-CY2Lga-4.js.map +0 -1
- package/chunks/bundle-CllFAkeZ.js.map +0 -1
- package/chunks/bundle-D4rjbjNv.js.map +0 -1
- package/chunks/bundle-D4x1_hkl.js.map +0 -1
- package/chunks/bundle-D5lQwKgM.js.map +0 -1
- package/chunks/bundle-D8JekjLy.js.map +0 -1
- package/chunks/bundle-DGnpw8up.js.map +0 -1
- package/chunks/bundle-DQKxIg_X.js.map +0 -1
- package/chunks/bundle-DS5ljghe.js.map +0 -1
- package/chunks/bundle-DZl__KhG.js.map +0 -1
- package/chunks/bundle-Dc7E6GJc.js.map +0 -1
- package/chunks/bundle-DfDCjniq.js.map +0 -1
- package/chunks/bundle-DfhJ_oFZ.js.map +0 -1
- package/chunks/bundle-Dk211z5R.js.map +0 -1
- package/chunks/bundle-DpCn3P9s.js.map +0 -1
- package/chunks/bundle-DpkEqNiD.js.map +0 -1
- package/chunks/bundle-DwApARpe.js.map +0 -1
- package/chunks/bundle-Dzm909k5.js.map +0 -1
- package/chunks/bundle-OIgXk-TJ.js.map +0 -1
- package/chunks/bundle-Otcx8Wxy.js.map +0 -1
- package/chunks/bundle-WmbZYtqM.js.map +0 -1
- package/chunks/bundle-Y3Y435SA.js.map +0 -1
- package/chunks/bundle-fxTywxQ4.js.map +0 -1
- package/chunks/bundle-mRqHYNyY.js.map +0 -1
- package/chunks/bundle-tIPAQa1P.js.map +0 -1
- package/cjs/chunks/bundle-0W_w8lRK.js.map +0 -1
- package/cjs/chunks/bundle-7zHCY6TY.js.map +0 -1
- package/cjs/chunks/bundle-B3N7ehMH.js.map +0 -1
- package/cjs/chunks/bundle-B6hKU81Z.js.map +0 -1
- package/cjs/chunks/bundle-B6uiunjG.js.map +0 -1
- package/cjs/chunks/bundle-BDbnsPGF.js.map +0 -1
- package/cjs/chunks/bundle-BJBClQcM.js.map +0 -1
- package/cjs/chunks/bundle-BRjBigtB.js.map +0 -1
- package/cjs/chunks/bundle-Bka-H9ks.js +0 -7
- package/cjs/chunks/bundle-Bka-H9ks.js.map +0 -1
- package/cjs/chunks/bundle-BoCS4RH3.js.map +0 -1
- package/cjs/chunks/bundle-BrD0IuOc.js.map +0 -1
- package/cjs/chunks/bundle-BuYf2Pa8.js.map +0 -1
- package/cjs/chunks/bundle-BufWOg42.js.map +0 -1
- package/cjs/chunks/bundle-BwEcnJDm.js.map +0 -1
- package/cjs/chunks/bundle-ByBh6M0g.js.map +0 -1
- package/cjs/chunks/bundle-BzR58JaC.js.map +0 -1
- package/cjs/chunks/bundle-C-gA8UhR.js.map +0 -1
- package/cjs/chunks/bundle-C-noHeKZ.js.map +0 -1
- package/cjs/chunks/bundle-C-zGGOpz.js.map +0 -1
- package/cjs/chunks/bundle-C0LFi1ur.js.map +0 -1
- package/cjs/chunks/bundle-C7_tieEZ.js.map +0 -1
- package/cjs/chunks/bundle-C8aAwUsg.js.map +0 -1
- package/cjs/chunks/bundle-CBmExSEr.js.map +0 -1
- package/cjs/chunks/bundle-CEueJUxG.js.map +0 -1
- package/cjs/chunks/bundle-CFWumCsy.js.map +0 -1
- package/cjs/chunks/bundle-CVSpiKNJ.js.map +0 -1
- package/cjs/chunks/bundle-CY1bUkfG.js.map +0 -1
- package/cjs/chunks/bundle-CZObcUAk.js.map +0 -1
- package/cjs/chunks/bundle-CZz2cvTG.js.map +0 -1
- package/cjs/chunks/bundle-Cc-KyTf-.js +0 -38
- package/cjs/chunks/bundle-Cc-KyTf-.js.map +0 -1
- package/cjs/chunks/bundle-ChIhNCh1.js.map +0 -1
- package/cjs/chunks/bundle-D3Gxy8S0.js.map +0 -1
- package/cjs/chunks/bundle-D4pqJjg-.js.map +0 -1
- package/cjs/chunks/bundle-D5AiwZE4.js.map +0 -1
- package/cjs/chunks/bundle-D8-ob9Ia.js.map +0 -1
- package/cjs/chunks/bundle-D9hSjP4_.js.map +0 -1
- package/cjs/chunks/bundle-DBdGwyXE.js.map +0 -1
- package/cjs/chunks/bundle-DDmTdnuT.js.map +0 -1
- package/cjs/chunks/bundle-DHuWzY0s.js.map +0 -1
- package/cjs/chunks/bundle-DI-qrtXL.js.map +0 -1
- package/cjs/chunks/bundle-DIxulCCm.js.map +0 -1
- package/cjs/chunks/bundle-DLdV8LNR.js.map +0 -1
- package/cjs/chunks/bundle-DPoAoYEl.js.map +0 -1
- package/cjs/chunks/bundle-DYZo-ek9.js.map +0 -1
- package/cjs/chunks/bundle-DbS-u43Y.js.map +0 -1
- package/cjs/chunks/bundle-DbykvtHO.js.map +0 -1
- package/cjs/chunks/bundle-DdSNUhSn.js.map +0 -1
- package/cjs/chunks/bundle-DessEmBr.js.map +0 -1
- package/cjs/chunks/bundle-Df0cAbH6.js.map +0 -1
- package/cjs/chunks/bundle-Djp6Qheo.js.map +0 -1
- package/cjs/chunks/bundle-DlPLp6fm.js.map +0 -1
- package/cjs/chunks/bundle-Dn17aH6v.js.map +0 -1
- package/cjs/chunks/bundle-DnXNmdmw.js.map +0 -1
- package/cjs/chunks/bundle-DsKL-Ede.js.map +0 -1
- package/cjs/chunks/bundle-E9H8fQL4.js.map +0 -1
- package/cjs/chunks/bundle-GtlapnzG.js.map +0 -1
- package/cjs/chunks/bundle-IVTygAtE.js.map +0 -1
- package/cjs/chunks/bundle-SdH24Cv9.js.map +0 -1
- package/cjs/chunks/bundle-XEpryGfs.js.map +0 -1
- package/cjs/chunks/bundle-ZuDe6I0q.js.map +0 -1
- package/cjs/chunks/bundle-fG1bRzYE.js +0 -72
- package/cjs/chunks/bundle-fG1bRzYE.js.map +0 -1
- package/cjs/chunks/bundle-jkB4LAcp.js.map +0 -1
- package/cjs/chunks/bundle-oUs61pbv.js.map +0 -1
- package/cjs/chunks/bundle-pZbKLQPU.js.map +0 -1
- package/cjs/chunks/bundle-q2tBQOdq.js.map +0 -1
- package/cjs/chunks/bundle-t1Tb_Gz2.js.map +0 -1
- package/cjs/chunks/bundle-ti18J4ii.js +0 -124
- package/cjs/chunks/bundle-ti18J4ii.js.map +0 -1
- package/cjs/chunks/bundle-u8pJrzSP.js.map +0 -1
- package/types/modules/OpenChannelApp/stories/utils.d.ts +0 -6
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
require('./bundle-CY1bUkfG.js');
|
|
5
4
|
|
|
6
|
-
var ComponentType
|
|
5
|
+
var ComponentType;
|
|
7
6
|
(function (ComponentType) {
|
|
8
7
|
ComponentType["Box"] = "box";
|
|
9
8
|
ComponentType["Text"] = "text";
|
|
10
9
|
ComponentType["Image"] = "image";
|
|
11
10
|
ComponentType["TextButton"] = "textButton";
|
|
12
11
|
ComponentType["ImageButton"] = "imageButton";
|
|
13
|
-
})(ComponentType
|
|
12
|
+
})(ComponentType || (ComponentType = {}));
|
|
14
13
|
exports.CompositeComponentType = void 0;
|
|
15
14
|
(function (CompositeComponentType) {
|
|
16
15
|
CompositeComponentType["Carousel"] = "carouselView";
|
|
@@ -32,19 +31,19 @@ const createParser = (params) => {
|
|
|
32
31
|
return {
|
|
33
32
|
parse(item, options) {
|
|
34
33
|
switch (item.type) {
|
|
35
|
-
case ComponentType
|
|
34
|
+
case ComponentType.Box: {
|
|
36
35
|
return { properties: mapper.mapBoxProps(item, options) };
|
|
37
36
|
}
|
|
38
|
-
case ComponentType
|
|
37
|
+
case ComponentType.Text: {
|
|
39
38
|
return { properties: mapper.mapTextProps(item, options) };
|
|
40
39
|
}
|
|
41
|
-
case ComponentType
|
|
40
|
+
case ComponentType.Image: {
|
|
42
41
|
return { properties: mapper.mapImageProps(item, options) };
|
|
43
42
|
}
|
|
44
|
-
case ComponentType
|
|
43
|
+
case ComponentType.TextButton: {
|
|
45
44
|
return { properties: mapper.mapTextButtonProps(item, options) };
|
|
46
45
|
}
|
|
47
|
-
case ComponentType
|
|
46
|
+
case ComponentType.ImageButton: {
|
|
48
47
|
return { properties: mapper.mapImageButtonProps(item, options) };
|
|
49
48
|
}
|
|
50
49
|
case exports.CompositeComponentType.Carousel: {
|
|
@@ -70,941 +69,6 @@ function createRenderer(params) {
|
|
|
70
69
|
};
|
|
71
70
|
}
|
|
72
71
|
|
|
73
|
-
var ComponentType;
|
|
74
|
-
(function (ComponentType) {
|
|
75
|
-
ComponentType["Box"] = "box";
|
|
76
|
-
ComponentType["Text"] = "text";
|
|
77
|
-
ComponentType["Image"] = "image";
|
|
78
|
-
ComponentType["TextButton"] = "textButton";
|
|
79
|
-
ComponentType["ImageButton"] = "imageButton";
|
|
80
|
-
})(ComponentType || (ComponentType = {}));
|
|
81
|
-
var CompositeComponentType;
|
|
82
|
-
(function (CompositeComponentType) {
|
|
83
|
-
CompositeComponentType["Carousel"] = "carouselView";
|
|
84
|
-
})(CompositeComponentType || (CompositeComponentType = {}));
|
|
85
|
-
|
|
86
|
-
React.createContext({
|
|
87
|
-
sizes: {},
|
|
88
|
-
updateSize: function () { },
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
var Layout$1;
|
|
92
|
-
(function (Layout) {
|
|
93
|
-
Layout["Row"] = "row";
|
|
94
|
-
Layout["Column"] = "column";
|
|
95
|
-
})(Layout$1 || (Layout$1 = {}));
|
|
96
|
-
var AlignValue$1;
|
|
97
|
-
(function (AlignValue) {
|
|
98
|
-
AlignValue["Center"] = "center";
|
|
99
|
-
AlignValue["Left"] = "left";
|
|
100
|
-
AlignValue["Right"] = "right";
|
|
101
|
-
AlignValue["Top"] = "top";
|
|
102
|
-
AlignValue["Bottom"] = "bottom";
|
|
103
|
-
})(AlignValue$1 || (AlignValue$1 = {}));
|
|
104
|
-
/**
|
|
105
|
-
* @description
|
|
106
|
-
* Caution: Numbers are passed as string types in the message template builder.
|
|
107
|
-
* Use `==` comparison instead of `===` comparison when using a regular enum instead of a string enum.
|
|
108
|
-
*/
|
|
109
|
-
var FlexSizeSpecValue$1;
|
|
110
|
-
(function (FlexSizeSpecValue) {
|
|
111
|
-
FlexSizeSpecValue[FlexSizeSpecValue["FillParent"] = 0] = "FillParent";
|
|
112
|
-
FlexSizeSpecValue[FlexSizeSpecValue["WrapContent"] = 1] = "WrapContent";
|
|
113
|
-
})(FlexSizeSpecValue$1 || (FlexSizeSpecValue$1 = {}));
|
|
114
|
-
var FontWeight$1;
|
|
115
|
-
(function (FontWeight) {
|
|
116
|
-
FontWeight["Normal"] = "normal";
|
|
117
|
-
FontWeight["Bold"] = "bold";
|
|
118
|
-
})(FontWeight$1 || (FontWeight$1 = {}));
|
|
119
|
-
var MediaContentMode$1;
|
|
120
|
-
(function (MediaContentMode) {
|
|
121
|
-
MediaContentMode["AspectFit"] = "aspectFit";
|
|
122
|
-
MediaContentMode["AspectFill"] = "aspectFill";
|
|
123
|
-
MediaContentMode["ScalesToFill"] = "scalesToFill";
|
|
124
|
-
})(MediaContentMode$1 || (MediaContentMode$1 = {}));
|
|
125
|
-
|
|
126
|
-
({
|
|
127
|
-
rootLayout: Layout$1.Column,
|
|
128
|
-
view: {
|
|
129
|
-
size: {
|
|
130
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
131
|
-
height: { type: 'flex', value: FlexSizeSpecValue$1.WrapContent },
|
|
132
|
-
},
|
|
133
|
-
},
|
|
134
|
-
box: {
|
|
135
|
-
layout: Layout$1.Row,
|
|
136
|
-
align: { vertical: AlignValue$1.Top, horizontal: AlignValue$1.Left },
|
|
137
|
-
},
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
var ActionType$1;
|
|
141
|
-
(function (ActionType) {
|
|
142
|
-
ActionType["Web"] = "web";
|
|
143
|
-
ActionType["Custom"] = "custom";
|
|
144
|
-
ActionType["UIKit"] = "uikit";
|
|
145
|
-
})(ActionType$1 || (ActionType$1 = {}));
|
|
146
|
-
|
|
147
|
-
var SUPPORTED_TEMPLATE_VERSIONS = [
|
|
148
|
-
1,
|
|
149
|
-
2, // Composite templates: Carousel
|
|
150
|
-
];
|
|
151
|
-
var isTemplateVersionSupported = function (templateVersion) {
|
|
152
|
-
if (!templateVersion)
|
|
153
|
-
return true;
|
|
154
|
-
return SUPPORTED_TEMPLATE_VERSIONS.includes(templateVersion);
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
({
|
|
158
|
-
version: 1,
|
|
159
|
-
body: {
|
|
160
|
-
items: [
|
|
161
|
-
{
|
|
162
|
-
type: ComponentType.Image,
|
|
163
|
-
action: { type: ActionType$1.Web, data: 'https://docs.sendbird.com' },
|
|
164
|
-
height: { type: 'fixed', value: 236 },
|
|
165
|
-
viewStyle: {
|
|
166
|
-
padding: {
|
|
167
|
-
left: 4,
|
|
168
|
-
right: 4,
|
|
169
|
-
top: 4,
|
|
170
|
-
bottom: 4,
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
imageUrl: 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
|
|
174
|
-
imageStyle: { contentMode: MediaContentMode$1.AspectFill },
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
type: ComponentType.Box,
|
|
178
|
-
layout: Layout$1.Column,
|
|
179
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
180
|
-
height: { type: 'fixed', value: 200 },
|
|
181
|
-
items: [
|
|
182
|
-
{
|
|
183
|
-
type: ComponentType.Box,
|
|
184
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
185
|
-
height: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
186
|
-
viewStyle: { backgroundColor: '#fa6464' },
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
type: ComponentType.Box,
|
|
190
|
-
layout: Layout$1.Column,
|
|
191
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
192
|
-
height: { type: 'flex', value: FlexSizeSpecValue$1.WrapContent },
|
|
193
|
-
viewStyle: { backgroundColor: '#ffaf5c' },
|
|
194
|
-
items: [
|
|
195
|
-
{
|
|
196
|
-
type: ComponentType.Text,
|
|
197
|
-
text: 'Message',
|
|
198
|
-
align: { horizontal: AlignValue$1.Center, vertical: AlignValue$1.Center },
|
|
199
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
200
|
-
height: { type: 'fixed', value: 50 },
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
type: ComponentType.Image,
|
|
204
|
-
action: { type: ActionType$1.Web, data: 'https://docs.sendbird.com' },
|
|
205
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
206
|
-
height: { type: 'fixed', value: 50 },
|
|
207
|
-
imageUrl: 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
|
|
208
|
-
imageStyle: { contentMode: MediaContentMode$1.AspectFill },
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
type: ComponentType.Box,
|
|
214
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
215
|
-
height: { type: 'fixed', value: 20 },
|
|
216
|
-
viewStyle: { backgroundColor: '#ffe450' },
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
type: ComponentType.Box,
|
|
220
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
221
|
-
height: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
222
|
-
viewStyle: { backgroundColor: '#329a1b' },
|
|
223
|
-
},
|
|
224
|
-
],
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
type: ComponentType.Box,
|
|
228
|
-
viewStyle: { padding: { top: 12, bottom: 12, left: 12, right: 12 } },
|
|
229
|
-
layout: Layout$1.Column,
|
|
230
|
-
items: [
|
|
231
|
-
{
|
|
232
|
-
type: ComponentType.Box,
|
|
233
|
-
align: { horizontal: AlignValue$1.Left, vertical: AlignValue$1.Center },
|
|
234
|
-
layout: Layout$1.Row,
|
|
235
|
-
viewStyle: {
|
|
236
|
-
borderWidth: 1,
|
|
237
|
-
borderColor: '#72723f',
|
|
238
|
-
},
|
|
239
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
240
|
-
height: { type: 'fixed', value: 150 },
|
|
241
|
-
items: [
|
|
242
|
-
{
|
|
243
|
-
type: ComponentType.Text,
|
|
244
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
245
|
-
height: { type: 'fixed', value: 50 },
|
|
246
|
-
text: 'Sample1 text',
|
|
247
|
-
maxTextLines: 1,
|
|
248
|
-
align: { vertical: AlignValue$1.Center, horizontal: AlignValue$1.Left },
|
|
249
|
-
viewStyle: {
|
|
250
|
-
backgroundColor: '#cc4400',
|
|
251
|
-
},
|
|
252
|
-
textStyle: {
|
|
253
|
-
size: 16,
|
|
254
|
-
color: '#f8f8f8',
|
|
255
|
-
weight: FontWeight$1.Bold,
|
|
256
|
-
},
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
type: ComponentType.ImageButton,
|
|
260
|
-
action: { type: ActionType$1.UIKit, data: 'uikit://delete' },
|
|
261
|
-
width: { type: 'fixed', value: 20 },
|
|
262
|
-
height: { type: 'fixed', value: 20 },
|
|
263
|
-
imageUrl: 'https://file-ap-1.sendbird.com/5b5379aa73fd460da22ffaf9a61d0d7f.png',
|
|
264
|
-
imageStyle: { contentMode: MediaContentMode$1.AspectFit },
|
|
265
|
-
},
|
|
266
|
-
],
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
type: ComponentType.Text,
|
|
270
|
-
viewStyle: { padding: { top: 6, bottom: 12, left: 0, right: 0 } },
|
|
271
|
-
text: 'Esse eu esse duis ipsum et dolor eu ut sit amet consectetur cillum velit officia. Ex adipisicing elit quis ea sit. Occaecat in eu aliqua nulla magna id ut excepteur minim.',
|
|
272
|
-
maxTextLines: 2,
|
|
273
|
-
textStyle: { size: 14, color: '#e10000' },
|
|
274
|
-
width: { type: 'fixed', value: 200 },
|
|
275
|
-
height: { type: 'fixed', value: 50 },
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
type: ComponentType.TextButton,
|
|
279
|
-
action: { type: ActionType$1.Web, data: 'https://www.daum.net' },
|
|
280
|
-
text: 'Button 3',
|
|
281
|
-
textStyle: { size: 14, color: '#742ddd', weight: FontWeight$1.Bold },
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
},
|
|
285
|
-
],
|
|
286
|
-
},
|
|
287
|
-
});
|
|
288
|
-
({
|
|
289
|
-
'version': 1,
|
|
290
|
-
'body': {
|
|
291
|
-
'items': [
|
|
292
|
-
{
|
|
293
|
-
'type': ComponentType.Image,
|
|
294
|
-
'action': { 'type': ActionType$1.Web, 'data': 'https://www.naver.com/' },
|
|
295
|
-
'height': { 'type': 'fixed', 'value': 136 },
|
|
296
|
-
'imageUrl': 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
|
|
297
|
-
'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
'type': ComponentType.Box,
|
|
301
|
-
'viewStyle': { 'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 }, backgroundColor: '#cccccc' },
|
|
302
|
-
'layout': Layout$1.Column,
|
|
303
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
304
|
-
'items': [
|
|
305
|
-
{
|
|
306
|
-
'type': ComponentType.Box,
|
|
307
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
308
|
-
'layout': Layout$1.Row,
|
|
309
|
-
'items': [
|
|
310
|
-
{
|
|
311
|
-
'type': ComponentType.TextButton,
|
|
312
|
-
'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
|
|
313
|
-
width: { type: 'fixed', value: 150 },
|
|
314
|
-
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 0, 'right': 4 } },
|
|
315
|
-
'text': 'Button 2',
|
|
316
|
-
'textStyle': { 'size': 14, 'weight': FontWeight$1.Bold },
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
'type': ComponentType.TextButton,
|
|
320
|
-
'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
|
|
321
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
322
|
-
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 4, 'right': 0 } },
|
|
323
|
-
'text': 'Button 3',
|
|
324
|
-
'textStyle': { 'size': 14, 'weight': FontWeight$1.Bold },
|
|
325
|
-
},
|
|
326
|
-
],
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
'type': ComponentType.Box,
|
|
330
|
-
width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
|
|
331
|
-
'layout': Layout$1.Row,
|
|
332
|
-
'items': [
|
|
333
|
-
{
|
|
334
|
-
'type': ComponentType.Text,
|
|
335
|
-
'text': 'Sample2 text',
|
|
336
|
-
'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
337
|
-
'maxTextLines': 1,
|
|
338
|
-
'textStyle': { 'size': 16, 'weight': FontWeight$1.Bold },
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
'type': ComponentType.ImageButton,
|
|
342
|
-
'action': { 'type': ActionType$1.UIKit, 'data': 'uikit://delete' },
|
|
343
|
-
'width': { 'type': 'fixed', 'value': 20 },
|
|
344
|
-
'height': { 'type': 'fixed', 'value': 20 },
|
|
345
|
-
'imageUrl': 'https://file-ap-1.sendbird.com/5b5379aa73fd460da22ffaf9a61d0d7f.png',
|
|
346
|
-
'imageStyle': { 'contentMode': MediaContentMode$1.AspectFit },
|
|
347
|
-
},
|
|
348
|
-
],
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
'type': ComponentType.Text,
|
|
352
|
-
'viewStyle': { 'padding': { 'top': 6, 'bottom': 12, 'left': 0, 'right': 0 } },
|
|
353
|
-
'text': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aui',
|
|
354
|
-
'textStyle': { 'size': 14 },
|
|
355
|
-
},
|
|
356
|
-
],
|
|
357
|
-
},
|
|
358
|
-
],
|
|
359
|
-
},
|
|
360
|
-
});
|
|
361
|
-
({
|
|
362
|
-
'version': 1,
|
|
363
|
-
'body': {
|
|
364
|
-
'items': [
|
|
365
|
-
{
|
|
366
|
-
'type': ComponentType.Box,
|
|
367
|
-
'viewStyle': { 'backgroundColor': '#ffffff', 'borderWidth': 1, 'borderColor': '#eeeeee', 'radius': 16 },
|
|
368
|
-
'layout': Layout$1.Column,
|
|
369
|
-
'items': [
|
|
370
|
-
{
|
|
371
|
-
'type': ComponentType.Image,
|
|
372
|
-
'height': { 'type': 'fixed', 'value': 200 },
|
|
373
|
-
'imageUrl': 'https://img.freepik.com/free-vector/cartoon-happy-hours-background_52683-81243.jpg?w=2000&t=st=1666689198~exp=1666689798~hmac=23109d44ba03deee7aee069cbeebfcb48fa27f85e53c1cafc5d5d7345f1a2041',
|
|
374
|
-
'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
'type': ComponentType.Box,
|
|
378
|
-
'viewStyle': { 'padding': { 'top': 15, 'bottom': 15, 'left': 15, 'right': 15 } },
|
|
379
|
-
'layout': Layout$1.Column,
|
|
380
|
-
'items': [
|
|
381
|
-
{
|
|
382
|
-
'type': ComponentType.Text,
|
|
383
|
-
'text': "Don't miss these deals today",
|
|
384
|
-
'maxTextLines': 1,
|
|
385
|
-
'textStyle': { 'size': 20, 'color': '#e10000', 'weight': FontWeight$1.Bold },
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
'type': ComponentType.Text,
|
|
389
|
-
'viewStyle': { 'margin': { 'top': 5, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
390
|
-
'text': 'Pay with Maya and get cashback!',
|
|
391
|
-
'maxTextLines': 1,
|
|
392
|
-
'textStyle': { 'size': 14, 'color': '#e10000' },
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
'type': ComponentType.Box,
|
|
396
|
-
'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
|
|
397
|
-
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
398
|
-
'layout': Layout$1.Row,
|
|
399
|
-
'items': [
|
|
400
|
-
{
|
|
401
|
-
'type': ComponentType.Image,
|
|
402
|
-
'width': { 'type': 'fixed', 'value': 50 },
|
|
403
|
-
'height': { 'type': 'fixed', 'value': 50 },
|
|
404
|
-
'viewStyle': {
|
|
405
|
-
'backgroundColor': '#ffffff',
|
|
406
|
-
'borderWidth': 1,
|
|
407
|
-
'borderColor': '#eeeeee',
|
|
408
|
-
'radius': 25,
|
|
409
|
-
},
|
|
410
|
-
'imageUrl': 'https://yt3.ggpht.com/ytc/AMLnZu8Kg89ymE7qt5bsS9vMqi9h2aHiN6m9ID-IgxR6-Q=s900-c-k-c0x00ffffff-no-rj',
|
|
411
|
-
'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
'type': ComponentType.Box,
|
|
415
|
-
'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
|
|
416
|
-
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
|
|
417
|
-
'layout': Layout$1.Column,
|
|
418
|
-
'items': [
|
|
419
|
-
{
|
|
420
|
-
'type': ComponentType.Text,
|
|
421
|
-
'text': 'Meralco',
|
|
422
|
-
'maxTextLines': 1,
|
|
423
|
-
'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight$1.Bold },
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
'type': ComponentType.Text,
|
|
427
|
-
'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
428
|
-
'text': '30% cashback, P300 min spend',
|
|
429
|
-
'maxTextLines': 1,
|
|
430
|
-
'textStyle': { 'size': 12, 'color': '#610000', 'weight': FontWeight$1.Bold },
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
},
|
|
434
|
-
],
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
'type': ComponentType.Box,
|
|
438
|
-
'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
|
|
439
|
-
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
440
|
-
'layout': Layout$1.Row,
|
|
441
|
-
'items': [
|
|
442
|
-
{
|
|
443
|
-
'type': ComponentType.Image,
|
|
444
|
-
'width': { 'type': 'fixed', 'value': 50 },
|
|
445
|
-
'height': { 'type': 'fixed', 'value': 50 },
|
|
446
|
-
'viewStyle': {
|
|
447
|
-
'backgroundColor': '#ffffff',
|
|
448
|
-
'borderWidth': 1,
|
|
449
|
-
'borderColor': '#eeeeee',
|
|
450
|
-
'radius': 25,
|
|
451
|
-
},
|
|
452
|
-
'imageUrl': 'https://1000logos.net/wp-content/uploads/2021/12/Globe-Telecom-logo.png',
|
|
453
|
-
'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill, tintColor: '#a49a9a' },
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
'type': ComponentType.Box,
|
|
457
|
-
'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
|
|
458
|
-
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
|
|
459
|
-
'layout': Layout$1.Column,
|
|
460
|
-
'items': [
|
|
461
|
-
{
|
|
462
|
-
'type': ComponentType.Text,
|
|
463
|
-
'text': 'Globe',
|
|
464
|
-
'maxTextLines': 1,
|
|
465
|
-
'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight$1.Bold },
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
'type': ComponentType.Text,
|
|
469
|
-
'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
470
|
-
'text': '30% cashback, P300 min spend',
|
|
471
|
-
'maxTextLines': 1,
|
|
472
|
-
'textStyle': { 'size': 12, 'color': '#610000', 'weight': FontWeight$1.Bold },
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
},
|
|
476
|
-
],
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
'type': ComponentType.Box,
|
|
480
|
-
'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
|
|
481
|
-
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
482
|
-
'layout': Layout$1.Row,
|
|
483
|
-
'items': [
|
|
484
|
-
{
|
|
485
|
-
'type': ComponentType.Image,
|
|
486
|
-
'width': { 'type': 'fixed', 'value': 50 },
|
|
487
|
-
'height': { 'type': 'fixed', 'value': 50 },
|
|
488
|
-
'viewStyle': {
|
|
489
|
-
'backgroundColor': '#ffffff',
|
|
490
|
-
'borderWidth': 1,
|
|
491
|
-
'borderColor': '#eeeeee',
|
|
492
|
-
'radius': 25,
|
|
493
|
-
},
|
|
494
|
-
'imageUrl': 'https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Cignal.svg/640px-Cignal.svg.png',
|
|
495
|
-
'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
'type': ComponentType.Box,
|
|
499
|
-
'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
|
|
500
|
-
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
|
|
501
|
-
'layout': Layout$1.Column,
|
|
502
|
-
'items': [
|
|
503
|
-
{
|
|
504
|
-
'type': ComponentType.Text,
|
|
505
|
-
'text': 'Cignal',
|
|
506
|
-
'maxTextLines': 1,
|
|
507
|
-
'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight$1.Bold },
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
'type': ComponentType.Text,
|
|
511
|
-
'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
512
|
-
'text': '30% cashback, P300 min spend',
|
|
513
|
-
'maxTextLines': 1,
|
|
514
|
-
'textStyle': { 'size': 12, 'color': '#610000', 'weight': FontWeight$1.Bold },
|
|
515
|
-
},
|
|
516
|
-
],
|
|
517
|
-
},
|
|
518
|
-
],
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
'type': ComponentType.Box,
|
|
522
|
-
'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
|
|
523
|
-
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
524
|
-
'layout': Layout$1.Row,
|
|
525
|
-
'items': [
|
|
526
|
-
{
|
|
527
|
-
'type': ComponentType.TextButton,
|
|
528
|
-
'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
|
|
529
|
-
'viewStyle': {
|
|
530
|
-
'backgroundColor': '#e0e0e0',
|
|
531
|
-
'radius': 16,
|
|
532
|
-
'margin': { 'top': 0, 'bottom': 0, 'left': 0, 'right': 4 },
|
|
533
|
-
'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 },
|
|
534
|
-
},
|
|
535
|
-
'text': 'Learn more',
|
|
536
|
-
'textStyle': { 'size': 15, 'color': '#e10000', 'weight': FontWeight$1.Bold },
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
'type': ComponentType.TextButton,
|
|
540
|
-
'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
|
|
541
|
-
'viewStyle': {
|
|
542
|
-
'backgroundColor': '#e10000',
|
|
543
|
-
'radius': 16,
|
|
544
|
-
'margin': { 'top': 0, 'bottom': 0, 'left': 4, 'right': 0 },
|
|
545
|
-
'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 },
|
|
546
|
-
},
|
|
547
|
-
'text': 'Pay now',
|
|
548
|
-
'textStyle': { 'size': 15, 'color': '#ffffff', 'weight': FontWeight$1.Bold },
|
|
549
|
-
},
|
|
550
|
-
],
|
|
551
|
-
},
|
|
552
|
-
],
|
|
553
|
-
},
|
|
554
|
-
],
|
|
555
|
-
},
|
|
556
|
-
],
|
|
557
|
-
},
|
|
558
|
-
});
|
|
559
|
-
({
|
|
560
|
-
'version': 1,
|
|
561
|
-
'body': {
|
|
562
|
-
'items': [
|
|
563
|
-
{
|
|
564
|
-
'type': ComponentType.Box,
|
|
565
|
-
'layout': Layout$1.Column,
|
|
566
|
-
'items': [
|
|
567
|
-
{
|
|
568
|
-
'type': ComponentType.Image,
|
|
569
|
-
'imageUrl': 'https://static.sendbird.com/sample/profiles/profile_40_512px.png',
|
|
570
|
-
'metaData': {
|
|
571
|
-
'pixelWidth': 512,
|
|
572
|
-
'pixelHeight': 512,
|
|
573
|
-
},
|
|
574
|
-
'imageStyle': {
|
|
575
|
-
'tintColor': '#44ff1188',
|
|
576
|
-
},
|
|
577
|
-
viewStyle: {
|
|
578
|
-
'padding': {
|
|
579
|
-
'top': 12,
|
|
580
|
-
'right': 12,
|
|
581
|
-
'bottom': 12,
|
|
582
|
-
'left': 12,
|
|
583
|
-
},
|
|
584
|
-
},
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
'type': ComponentType.Box,
|
|
588
|
-
'viewStyle': {
|
|
589
|
-
'padding': {
|
|
590
|
-
'top': 12,
|
|
591
|
-
'right': 12,
|
|
592
|
-
'bottom': 12,
|
|
593
|
-
'left': 12,
|
|
594
|
-
},
|
|
595
|
-
},
|
|
596
|
-
'layout': Layout$1.Column,
|
|
597
|
-
'items': [
|
|
598
|
-
{
|
|
599
|
-
'type': ComponentType.Box,
|
|
600
|
-
'layout': Layout$1.Row,
|
|
601
|
-
'items': [
|
|
602
|
-
{
|
|
603
|
-
'type': ComponentType.Box,
|
|
604
|
-
'layout': Layout$1.Column,
|
|
605
|
-
'items': [
|
|
606
|
-
{
|
|
607
|
-
'type': ComponentType.Text,
|
|
608
|
-
'text': 'hi',
|
|
609
|
-
'maxTextLines': 3,
|
|
610
|
-
'viewStyle': {
|
|
611
|
-
'padding': {
|
|
612
|
-
'top': 0,
|
|
613
|
-
'bottom': 6,
|
|
614
|
-
'left': 0,
|
|
615
|
-
'right': 0,
|
|
616
|
-
},
|
|
617
|
-
},
|
|
618
|
-
'textStyle': {
|
|
619
|
-
'size': 16,
|
|
620
|
-
'weight': FontWeight$1.Bold,
|
|
621
|
-
},
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
'type': ComponentType.Text,
|
|
625
|
-
'text': 'bye',
|
|
626
|
-
'maxTextLines': 10,
|
|
627
|
-
'textStyle': {
|
|
628
|
-
'size': 14,
|
|
629
|
-
},
|
|
630
|
-
},
|
|
631
|
-
],
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
'type': ComponentType.ImageButton,
|
|
635
|
-
'action': {
|
|
636
|
-
'type': ActionType$1.UIKit,
|
|
637
|
-
'data': 'sendbirduikit://delete',
|
|
638
|
-
},
|
|
639
|
-
'width': {
|
|
640
|
-
'type': 'fixed',
|
|
641
|
-
'value': 20,
|
|
642
|
-
},
|
|
643
|
-
'height': {
|
|
644
|
-
'type': 'fixed',
|
|
645
|
-
'value': 20,
|
|
646
|
-
},
|
|
647
|
-
'metaData': {
|
|
648
|
-
'pixelWidth': 60,
|
|
649
|
-
'pixelHeight': 60,
|
|
650
|
-
},
|
|
651
|
-
'imageUrl': 'https://dxstmhyqfqr1o.cloudfront.net/sendbird-message-builder/icon-more.png',
|
|
652
|
-
'imageStyle': {
|
|
653
|
-
'tintColor': '#ff8d5a',
|
|
654
|
-
},
|
|
655
|
-
},
|
|
656
|
-
],
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
'type': ComponentType.Box,
|
|
660
|
-
'layout': Layout$1.Column,
|
|
661
|
-
'items': [
|
|
662
|
-
{
|
|
663
|
-
'type': ComponentType.Box,
|
|
664
|
-
'viewStyle': {
|
|
665
|
-
'margin': {
|
|
666
|
-
'top': 16,
|
|
667
|
-
'bottom': 0,
|
|
668
|
-
'left': 0,
|
|
669
|
-
'right': 0,
|
|
670
|
-
},
|
|
671
|
-
},
|
|
672
|
-
'align': {
|
|
673
|
-
'horizontal': AlignValue$1.Left,
|
|
674
|
-
'vertical': AlignValue$1.Center,
|
|
675
|
-
},
|
|
676
|
-
'layout': Layout$1.Row,
|
|
677
|
-
'items': [
|
|
678
|
-
{
|
|
679
|
-
'type': ComponentType.Image,
|
|
680
|
-
'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-ULE240VNV-83fd5776e78e-512',
|
|
681
|
-
'width': {
|
|
682
|
-
'type': 'fixed',
|
|
683
|
-
'value': 40,
|
|
684
|
-
},
|
|
685
|
-
'height': {
|
|
686
|
-
'type': 'fixed',
|
|
687
|
-
'value': 40,
|
|
688
|
-
},
|
|
689
|
-
'metaData': {
|
|
690
|
-
'pixelWidth': 512,
|
|
691
|
-
'pixelHeight': 512,
|
|
692
|
-
},
|
|
693
|
-
'viewStyle': {
|
|
694
|
-
'backgroundColor': '#BDBDBD',
|
|
695
|
-
'radius': 20,
|
|
696
|
-
},
|
|
697
|
-
'imageStyle': {
|
|
698
|
-
'contentMode': MediaContentMode$1.AspectFill,
|
|
699
|
-
},
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
'type': ComponentType.Box,
|
|
703
|
-
'viewStyle': {
|
|
704
|
-
'margin': {
|
|
705
|
-
'top': 0,
|
|
706
|
-
'bottom': 0,
|
|
707
|
-
'left': 12,
|
|
708
|
-
'right': 0,
|
|
709
|
-
},
|
|
710
|
-
},
|
|
711
|
-
'layout': Layout$1.Column,
|
|
712
|
-
'items': [
|
|
713
|
-
{
|
|
714
|
-
'type': ComponentType.Text,
|
|
715
|
-
'text': 'Chongbu',
|
|
716
|
-
'maxTextLines': 1,
|
|
717
|
-
'textStyle': {
|
|
718
|
-
'size': 16,
|
|
719
|
-
'weight': FontWeight$1.Bold,
|
|
720
|
-
},
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
'type': ComponentType.Text,
|
|
724
|
-
'viewStyle': {
|
|
725
|
-
'margin': {
|
|
726
|
-
'top': 4,
|
|
727
|
-
'bottom': 0,
|
|
728
|
-
'left': 0,
|
|
729
|
-
'right': 0,
|
|
730
|
-
},
|
|
731
|
-
},
|
|
732
|
-
'text': ' ',
|
|
733
|
-
'maxTextLines': 1,
|
|
734
|
-
'textStyle': {
|
|
735
|
-
'size': 14,
|
|
736
|
-
},
|
|
737
|
-
},
|
|
738
|
-
],
|
|
739
|
-
},
|
|
740
|
-
],
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
'type': ComponentType.Box,
|
|
744
|
-
'viewStyle': {
|
|
745
|
-
'margin': {
|
|
746
|
-
'top': 16,
|
|
747
|
-
'bottom': 0,
|
|
748
|
-
'left': 0,
|
|
749
|
-
'right': 0,
|
|
750
|
-
},
|
|
751
|
-
},
|
|
752
|
-
'align': {
|
|
753
|
-
'horizontal': AlignValue$1.Left,
|
|
754
|
-
'vertical': AlignValue$1.Center,
|
|
755
|
-
},
|
|
756
|
-
'layout': Layout$1.Row,
|
|
757
|
-
'items': [
|
|
758
|
-
{
|
|
759
|
-
'type': ComponentType.Image,
|
|
760
|
-
'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-U02LA25KY8J-d41a3e8c7554-512',
|
|
761
|
-
'width': {
|
|
762
|
-
'type': 'fixed',
|
|
763
|
-
'value': 40,
|
|
764
|
-
},
|
|
765
|
-
'height': {
|
|
766
|
-
'type': 'fixed',
|
|
767
|
-
'value': 40,
|
|
768
|
-
},
|
|
769
|
-
'metaData': {
|
|
770
|
-
'pixelWidth': 512,
|
|
771
|
-
'pixelHeight': 512,
|
|
772
|
-
},
|
|
773
|
-
'viewStyle': {
|
|
774
|
-
'backgroundColor': '#BDBDBD',
|
|
775
|
-
'radius': 20,
|
|
776
|
-
},
|
|
777
|
-
'imageStyle': {
|
|
778
|
-
'contentMode': MediaContentMode$1.AspectFill,
|
|
779
|
-
},
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
'type': ComponentType.Box,
|
|
783
|
-
'viewStyle': {
|
|
784
|
-
'margin': {
|
|
785
|
-
'top': 0,
|
|
786
|
-
'bottom': 0,
|
|
787
|
-
'left': 12,
|
|
788
|
-
'right': 0,
|
|
789
|
-
},
|
|
790
|
-
},
|
|
791
|
-
'layout': Layout$1.Column,
|
|
792
|
-
'items': [
|
|
793
|
-
{
|
|
794
|
-
'type': ComponentType.Text,
|
|
795
|
-
'text': 'Amanda',
|
|
796
|
-
'maxTextLines': 1,
|
|
797
|
-
'textStyle': {
|
|
798
|
-
'size': 16,
|
|
799
|
-
'weight': FontWeight$1.Bold,
|
|
800
|
-
},
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
'type': ComponentType.Text,
|
|
804
|
-
'viewStyle': {
|
|
805
|
-
'margin': {
|
|
806
|
-
'top': 4,
|
|
807
|
-
'bottom': 0,
|
|
808
|
-
'left': 0,
|
|
809
|
-
'right': 0,
|
|
810
|
-
},
|
|
811
|
-
},
|
|
812
|
-
'text': 'This is title message',
|
|
813
|
-
'maxTextLines': 1,
|
|
814
|
-
'textStyle': {
|
|
815
|
-
'size': 14,
|
|
816
|
-
},
|
|
817
|
-
},
|
|
818
|
-
],
|
|
819
|
-
},
|
|
820
|
-
],
|
|
821
|
-
},
|
|
822
|
-
],
|
|
823
|
-
},
|
|
824
|
-
],
|
|
825
|
-
},
|
|
826
|
-
],
|
|
827
|
-
},
|
|
828
|
-
],
|
|
829
|
-
},
|
|
830
|
-
});
|
|
831
|
-
({
|
|
832
|
-
'version': '1',
|
|
833
|
-
'body': {
|
|
834
|
-
'items': [
|
|
835
|
-
{
|
|
836
|
-
'type': 'box',
|
|
837
|
-
'layout': 'column',
|
|
838
|
-
height: { type: 'fixed', value: 600 },
|
|
839
|
-
'items': [
|
|
840
|
-
{
|
|
841
|
-
'type': 'box',
|
|
842
|
-
'layout': 'column',
|
|
843
|
-
'viewStyle': { 'radius': '8', 'padding': { 'top': '12', 'bottom': '12', 'left': '12', 'right': '12' } },
|
|
844
|
-
'items': [
|
|
845
|
-
{
|
|
846
|
-
'type': 'text',
|
|
847
|
-
'text': 'Title text',
|
|
848
|
-
'textStyle': { 'color': '#E0000000', 'size': '16', 'weight': 'bold' },
|
|
849
|
-
'maxTextLines': '5',
|
|
850
|
-
'viewStyle': {},
|
|
851
|
-
'action': { 'data': 'www.naver.com' },
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
'type': 'text',
|
|
855
|
-
'viewStyle': { 'margin': { 'top': '8', 'right': '0', 'bottom': '0', 'left': '0' } },
|
|
856
|
-
'text': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aui',
|
|
857
|
-
'textStyle': { 'color': '#E0000000', 'size': '14', 'weight': 'normal' },
|
|
858
|
-
'maxTextLines': '5',
|
|
859
|
-
'action': { 'data': 'https://www.naver.com' },
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
'type': 'box',
|
|
863
|
-
'layout': 'row',
|
|
864
|
-
'viewStyle': { 'margin': { 'top': '12', 'right': '0', 'bottom': '0', 'left': '0' } },
|
|
865
|
-
'items': [
|
|
866
|
-
{
|
|
867
|
-
'type': 'textButton',
|
|
868
|
-
'viewStyle': {
|
|
869
|
-
'backgroundColor': '#E0E0E0',
|
|
870
|
-
'padding': { 'top': '10', 'bottom': '10', 'left': '20', 'right': '20' },
|
|
871
|
-
},
|
|
872
|
-
'text': 'Button 1',
|
|
873
|
-
'textStyle': { 'color': '#742DDD', 'size': '14', 'weight': 'bold' },
|
|
874
|
-
'maxTextLines': '5',
|
|
875
|
-
'action': { 'data': 'www.naver.com' },
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
'type': 'textButton',
|
|
879
|
-
'viewStyle': {
|
|
880
|
-
'backgroundColor': '#E0E0E0',
|
|
881
|
-
'padding': { 'top': '10', 'bottom': '10', 'left': '20', 'right': '20' },
|
|
882
|
-
'margin': { 'left': '8', 'right': '0', 'top': '0', 'bottom': '0' },
|
|
883
|
-
},
|
|
884
|
-
'text': 'Button 2',
|
|
885
|
-
'textStyle': { 'color': '#742DDD', 'size': '14', 'weight': 'bold' },
|
|
886
|
-
'maxTextLines': '5',
|
|
887
|
-
'action': { 'data': 'https://www.naver.com' },
|
|
888
|
-
},
|
|
889
|
-
],
|
|
890
|
-
},
|
|
891
|
-
],
|
|
892
|
-
'action': { 'data': 'https://www.naver.com' },
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
'type': 'image',
|
|
896
|
-
'viewStyle': {},
|
|
897
|
-
'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
898
|
-
'height': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
899
|
-
'imageStyle': { 'contentMode': 'aspectFill' },
|
|
900
|
-
'imageUrl': 'https://file-preprod.sendbird.com/d03c08bb3f9041a88c1207b6bbf15ab8.png',
|
|
901
|
-
'metaData': { 'pixelWidth': '1062', 'pixelHeight': '1070' },
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
'type': 'textButton',
|
|
905
|
-
'viewStyle': {
|
|
906
|
-
'backgroundColor': '#E0E0E0',
|
|
907
|
-
'padding': { 'top': '10', 'bottom': '10', 'left': '20', 'right': '20' },
|
|
908
|
-
},
|
|
909
|
-
'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
910
|
-
'height': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
911
|
-
'text': 'Button',
|
|
912
|
-
'textStyle': { 'color': '#742DDD', 'size': '16', 'weight': 'normal' },
|
|
913
|
-
'maxTextLines': '5',
|
|
914
|
-
'action': { 'data': 'www.naver.com' },
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
'type': 'imageButton',
|
|
918
|
-
'viewStyle': {},
|
|
919
|
-
'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
920
|
-
'height': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
921
|
-
'imageUrl': 'https://file-preprod.sendbird.com/38fdf5c1056f42b89a44b38155cc4b49.jpg',
|
|
922
|
-
'imageStyle': { 'contentMode': 'aspectFill' },
|
|
923
|
-
'metaData': { 'pixelWidth': '1080', 'pixelHeight': '2640' },
|
|
924
|
-
'action': { 'data': 'www.naver.com' },
|
|
925
|
-
},
|
|
926
|
-
],
|
|
927
|
-
'viewStyle': {},
|
|
928
|
-
},
|
|
929
|
-
],
|
|
930
|
-
},
|
|
931
|
-
});
|
|
932
|
-
({
|
|
933
|
-
'version': 1,
|
|
934
|
-
'body': {
|
|
935
|
-
'items': [
|
|
936
|
-
{
|
|
937
|
-
'elementId': 'root',
|
|
938
|
-
'type': 'box',
|
|
939
|
-
'layout': 'column',
|
|
940
|
-
'width': {
|
|
941
|
-
'type': 'flex',
|
|
942
|
-
'value': FlexSizeSpecValue$1.FillParent,
|
|
943
|
-
},
|
|
944
|
-
'height': {
|
|
945
|
-
'type': 'flex',
|
|
946
|
-
'value': FlexSizeSpecValue$1.WrapContent,
|
|
947
|
-
},
|
|
948
|
-
'items': [
|
|
949
|
-
{
|
|
950
|
-
'type': 'text',
|
|
951
|
-
'viewStyle': {
|
|
952
|
-
'backgroundColor': '#a0c0ffff',
|
|
953
|
-
'margin': {
|
|
954
|
-
'top': 16,
|
|
955
|
-
'bottom': 16,
|
|
956
|
-
'left': 16,
|
|
957
|
-
'right': 16,
|
|
958
|
-
},
|
|
959
|
-
'padding': {
|
|
960
|
-
'top': 16,
|
|
961
|
-
'bottom': 16,
|
|
962
|
-
'left': 16,
|
|
963
|
-
'right': 16,
|
|
964
|
-
},
|
|
965
|
-
},
|
|
966
|
-
'text': 'Wrap Wrap Wrap Wrap Wrap Wrap Wrap Wrap Wrap Wrap ',
|
|
967
|
-
'textStyle': {
|
|
968
|
-
'size': 14,
|
|
969
|
-
'color': '#222121e0',
|
|
970
|
-
'weight': 'normal',
|
|
971
|
-
},
|
|
972
|
-
'maxTextLines': 5,
|
|
973
|
-
'width': {
|
|
974
|
-
'type': 'flex',
|
|
975
|
-
'value': FlexSizeSpecValue$1.FillParent,
|
|
976
|
-
},
|
|
977
|
-
'height': {
|
|
978
|
-
'type': 'flex',
|
|
979
|
-
'value': 1,
|
|
980
|
-
},
|
|
981
|
-
'align': {
|
|
982
|
-
'horizontal': 'left',
|
|
983
|
-
'vertical': 'top',
|
|
984
|
-
},
|
|
985
|
-
'elementId': 'c0e15878-4984-408d-abaa-4b495c2e3872',
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
'type': 'imageButton',
|
|
989
|
-
'viewStyle': {
|
|
990
|
-
margin: {
|
|
991
|
-
left: 24,
|
|
992
|
-
right: 12,
|
|
993
|
-
},
|
|
994
|
-
},
|
|
995
|
-
'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
|
|
996
|
-
'height': { 'type': 'fixed', 'value': 250 },
|
|
997
|
-
'imageUrl': 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
|
|
998
|
-
'imageStyle': { 'contentMode': 'aspectFill' },
|
|
999
|
-
'metaData': { 'pixelWidth': '1080', 'pixelHeight': '2640' },
|
|
1000
|
-
'action': { 'data': 'www.naver.com' },
|
|
1001
|
-
},
|
|
1002
|
-
],
|
|
1003
|
-
},
|
|
1004
|
-
],
|
|
1005
|
-
},
|
|
1006
|
-
});
|
|
1007
|
-
|
|
1008
72
|
var __rest$4 = (undefined && undefined.__rest) || function (s, e) {
|
|
1009
73
|
var t = {};
|
|
1010
74
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -1032,35 +96,6 @@ const SizeContextProvider = ({ children }) => {
|
|
|
1032
96
|
};
|
|
1033
97
|
const useSizeContext = () => React.useContext(SizeContext);
|
|
1034
98
|
|
|
1035
|
-
const memoize = (fn) => {
|
|
1036
|
-
const cache = new Map();
|
|
1037
|
-
const cached = function (val) {
|
|
1038
|
-
return cache.has(val) ? cache.get(val) : cache.set(val, fn.call(this, val)) && cache.get(val);
|
|
1039
|
-
};
|
|
1040
|
-
cached.cache = cache;
|
|
1041
|
-
return cached;
|
|
1042
|
-
};
|
|
1043
|
-
/**
|
|
1044
|
-
* Generate each item's id by each item's array depth
|
|
1045
|
-
*/
|
|
1046
|
-
const setTemplateItemId = memoize((data) => {
|
|
1047
|
-
const addIdRecursively = (item, id) => {
|
|
1048
|
-
if ('items' in item && (item === null || item === void 0 ? void 0 : item.items) != null) {
|
|
1049
|
-
item.items.forEach((subItem, subIdx) => {
|
|
1050
|
-
const subId = `${id}-${subIdx}`;
|
|
1051
|
-
subItem.id = subId;
|
|
1052
|
-
addIdRecursively(subItem, subId);
|
|
1053
|
-
});
|
|
1054
|
-
}
|
|
1055
|
-
};
|
|
1056
|
-
data.forEach((item, idx) => {
|
|
1057
|
-
const id = `${idx}`;
|
|
1058
|
-
item.id = id;
|
|
1059
|
-
addIdRecursively(item, id);
|
|
1060
|
-
});
|
|
1061
|
-
return data;
|
|
1062
|
-
});
|
|
1063
|
-
|
|
1064
99
|
var Layout;
|
|
1065
100
|
(function (Layout) {
|
|
1066
101
|
Layout["Row"] = "row";
|
|
@@ -1096,6 +131,58 @@ var MediaContentMode;
|
|
|
1096
131
|
MediaContentMode["ScalesToFill"] = "scalesToFill";
|
|
1097
132
|
})(MediaContentMode || (MediaContentMode = {}));
|
|
1098
133
|
|
|
134
|
+
const SUPPORTED_TEMPLATE_VERSIONS = [
|
|
135
|
+
1,
|
|
136
|
+
2, // Composite templates: Carousel
|
|
137
|
+
];
|
|
138
|
+
const alignInFlex = (align) => {
|
|
139
|
+
switch (align) {
|
|
140
|
+
case AlignValue.Right:
|
|
141
|
+
case AlignValue.Bottom:
|
|
142
|
+
return 'flex-end';
|
|
143
|
+
case AlignValue.Center:
|
|
144
|
+
return 'center';
|
|
145
|
+
case AlignValue.Left:
|
|
146
|
+
case AlignValue.Top:
|
|
147
|
+
default:
|
|
148
|
+
return 'flex-start';
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
const isTemplateVersionSupported = (templateVersion) => {
|
|
152
|
+
if (!templateVersion)
|
|
153
|
+
return true;
|
|
154
|
+
return SUPPORTED_TEMPLATE_VERSIONS.includes(templateVersion);
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
const memoize = (fn) => {
|
|
158
|
+
const cache = new Map();
|
|
159
|
+
const cached = function (val) {
|
|
160
|
+
return cache.has(val) ? cache.get(val) : cache.set(val, fn.call(this, val)) && cache.get(val);
|
|
161
|
+
};
|
|
162
|
+
cached.cache = cache;
|
|
163
|
+
return cached;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Generate each item's id by each item's array depth
|
|
167
|
+
*/
|
|
168
|
+
const setTemplateItemId = memoize((data) => {
|
|
169
|
+
const addIdRecursively = (item, id) => {
|
|
170
|
+
if ('items' in item && (item === null || item === void 0 ? void 0 : item.items) != null) {
|
|
171
|
+
item.items.forEach((subItem, subIdx) => {
|
|
172
|
+
const subId = `${id}-${subIdx}`;
|
|
173
|
+
subItem.id = subId;
|
|
174
|
+
addIdRecursively(subItem, subId);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
data.forEach((item, idx) => {
|
|
179
|
+
const id = `${idx}`;
|
|
180
|
+
item.id = id;
|
|
181
|
+
addIdRecursively(item, id);
|
|
182
|
+
});
|
|
183
|
+
return data;
|
|
184
|
+
});
|
|
185
|
+
|
|
1099
186
|
const defaultProperties = {
|
|
1100
187
|
rootLayout: Layout.Column,
|
|
1101
188
|
view: {
|
|
@@ -1136,20 +223,20 @@ const createMessageTemplate = (opts) => {
|
|
|
1136
223
|
}
|
|
1137
224
|
return (React.createElement(renderer.carouselView, Object.assign({}, item, props), item.items.map((items, index) => (React.createElement(MessageTemplateBase, { key: index, templateItems: items || [], parentLayout: parentLayout })))));
|
|
1138
225
|
}
|
|
1139
|
-
case ComponentType
|
|
226
|
+
case ComponentType.Box: {
|
|
1140
227
|
return (React.createElement(renderer.box, Object.assign({}, item, props),
|
|
1141
228
|
React.createElement(MessageTemplateBase, { templateItems: item.items || [], parentLayout: item.layout })));
|
|
1142
229
|
}
|
|
1143
|
-
case ComponentType
|
|
230
|
+
case ComponentType.Text: {
|
|
1144
231
|
return React.createElement(renderer.text, Object.assign({}, item, props));
|
|
1145
232
|
}
|
|
1146
|
-
case ComponentType
|
|
233
|
+
case ComponentType.Image: {
|
|
1147
234
|
return React.createElement(renderer.image, Object.assign({}, item, props));
|
|
1148
235
|
}
|
|
1149
|
-
case ComponentType
|
|
236
|
+
case ComponentType.TextButton: {
|
|
1150
237
|
return React.createElement(renderer.textButton, Object.assign({}, item, props));
|
|
1151
238
|
}
|
|
1152
|
-
case ComponentType
|
|
239
|
+
case ComponentType.ImageButton: {
|
|
1153
240
|
return React.createElement(renderer.imageButton, Object.assign({}, item, props));
|
|
1154
241
|
}
|
|
1155
242
|
default: {
|
|
@@ -1187,26 +274,12 @@ var ActionType;
|
|
|
1187
274
|
ActionType["UIKit"] = "uikit";
|
|
1188
275
|
})(ActionType || (ActionType = {}));
|
|
1189
276
|
|
|
1190
|
-
const alignInFlex = (align) => {
|
|
1191
|
-
switch (align) {
|
|
1192
|
-
case AlignValue.Right:
|
|
1193
|
-
case AlignValue.Bottom:
|
|
1194
|
-
return 'flex-end';
|
|
1195
|
-
case AlignValue.Center:
|
|
1196
|
-
return 'center';
|
|
1197
|
-
case AlignValue.Left:
|
|
1198
|
-
case AlignValue.Top:
|
|
1199
|
-
default:
|
|
1200
|
-
return 'flex-start';
|
|
1201
|
-
}
|
|
1202
|
-
};
|
|
1203
|
-
|
|
1204
277
|
({
|
|
1205
278
|
version: 1,
|
|
1206
279
|
body: {
|
|
1207
280
|
items: [
|
|
1208
281
|
{
|
|
1209
|
-
type: ComponentType
|
|
282
|
+
type: ComponentType.Image,
|
|
1210
283
|
action: { type: ActionType.Web, data: 'https://docs.sendbird.com' },
|
|
1211
284
|
height: { type: 'fixed', value: 236 },
|
|
1212
285
|
viewStyle: {
|
|
@@ -1221,33 +294,33 @@ const alignInFlex = (align) => {
|
|
|
1221
294
|
imageStyle: { contentMode: MediaContentMode.AspectFill },
|
|
1222
295
|
},
|
|
1223
296
|
{
|
|
1224
|
-
type: ComponentType
|
|
297
|
+
type: ComponentType.Box,
|
|
1225
298
|
layout: Layout.Column,
|
|
1226
299
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1227
300
|
height: { type: 'fixed', value: 200 },
|
|
1228
301
|
items: [
|
|
1229
302
|
{
|
|
1230
|
-
type: ComponentType
|
|
303
|
+
type: ComponentType.Box,
|
|
1231
304
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1232
305
|
height: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1233
306
|
viewStyle: { backgroundColor: '#fa6464' },
|
|
1234
307
|
},
|
|
1235
308
|
{
|
|
1236
|
-
type: ComponentType
|
|
309
|
+
type: ComponentType.Box,
|
|
1237
310
|
layout: Layout.Column,
|
|
1238
311
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1239
312
|
height: { type: 'flex', value: FlexSizeSpecValue.WrapContent },
|
|
1240
313
|
viewStyle: { backgroundColor: '#ffaf5c' },
|
|
1241
314
|
items: [
|
|
1242
315
|
{
|
|
1243
|
-
type: ComponentType
|
|
316
|
+
type: ComponentType.Text,
|
|
1244
317
|
text: 'Message',
|
|
1245
318
|
align: { horizontal: AlignValue.Center, vertical: AlignValue.Center },
|
|
1246
319
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1247
320
|
height: { type: 'fixed', value: 50 },
|
|
1248
321
|
},
|
|
1249
322
|
{
|
|
1250
|
-
type: ComponentType
|
|
323
|
+
type: ComponentType.Image,
|
|
1251
324
|
action: { type: ActionType.Web, data: 'https://docs.sendbird.com' },
|
|
1252
325
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1253
326
|
height: { type: 'fixed', value: 50 },
|
|
@@ -1257,13 +330,13 @@ const alignInFlex = (align) => {
|
|
|
1257
330
|
],
|
|
1258
331
|
},
|
|
1259
332
|
{
|
|
1260
|
-
type: ComponentType
|
|
333
|
+
type: ComponentType.Box,
|
|
1261
334
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1262
335
|
height: { type: 'fixed', value: 20 },
|
|
1263
336
|
viewStyle: { backgroundColor: '#ffe450' },
|
|
1264
337
|
},
|
|
1265
338
|
{
|
|
1266
|
-
type: ComponentType
|
|
339
|
+
type: ComponentType.Box,
|
|
1267
340
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1268
341
|
height: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1269
342
|
viewStyle: { backgroundColor: '#329a1b' },
|
|
@@ -1271,12 +344,12 @@ const alignInFlex = (align) => {
|
|
|
1271
344
|
],
|
|
1272
345
|
},
|
|
1273
346
|
{
|
|
1274
|
-
type: ComponentType
|
|
347
|
+
type: ComponentType.Box,
|
|
1275
348
|
viewStyle: { padding: { top: 12, bottom: 12, left: 12, right: 12 } },
|
|
1276
349
|
layout: Layout.Column,
|
|
1277
350
|
items: [
|
|
1278
351
|
{
|
|
1279
|
-
type: ComponentType
|
|
352
|
+
type: ComponentType.Box,
|
|
1280
353
|
align: { horizontal: AlignValue.Left, vertical: AlignValue.Center },
|
|
1281
354
|
layout: Layout.Row,
|
|
1282
355
|
viewStyle: {
|
|
@@ -1287,7 +360,7 @@ const alignInFlex = (align) => {
|
|
|
1287
360
|
height: { type: 'fixed', value: 150 },
|
|
1288
361
|
items: [
|
|
1289
362
|
{
|
|
1290
|
-
type: ComponentType
|
|
363
|
+
type: ComponentType.Text,
|
|
1291
364
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1292
365
|
height: { type: 'fixed', value: 50 },
|
|
1293
366
|
text: 'Sample1 text',
|
|
@@ -1303,7 +376,7 @@ const alignInFlex = (align) => {
|
|
|
1303
376
|
},
|
|
1304
377
|
},
|
|
1305
378
|
{
|
|
1306
|
-
type: ComponentType
|
|
379
|
+
type: ComponentType.ImageButton,
|
|
1307
380
|
action: { type: ActionType.UIKit, data: 'uikit://delete' },
|
|
1308
381
|
width: { type: 'fixed', value: 20 },
|
|
1309
382
|
height: { type: 'fixed', value: 20 },
|
|
@@ -1313,7 +386,7 @@ const alignInFlex = (align) => {
|
|
|
1313
386
|
],
|
|
1314
387
|
},
|
|
1315
388
|
{
|
|
1316
|
-
type: ComponentType
|
|
389
|
+
type: ComponentType.Text,
|
|
1317
390
|
viewStyle: { padding: { top: 6, bottom: 12, left: 0, right: 0 } },
|
|
1318
391
|
text: 'Esse eu esse duis ipsum et dolor eu ut sit amet consectetur cillum velit officia. Ex adipisicing elit quis ea sit. Occaecat in eu aliqua nulla magna id ut excepteur minim.',
|
|
1319
392
|
maxTextLines: 2,
|
|
@@ -1322,7 +395,7 @@ const alignInFlex = (align) => {
|
|
|
1322
395
|
height: { type: 'fixed', value: 50 },
|
|
1323
396
|
},
|
|
1324
397
|
{
|
|
1325
|
-
type: ComponentType
|
|
398
|
+
type: ComponentType.TextButton,
|
|
1326
399
|
action: { type: ActionType.Web, data: 'https://www.daum.net' },
|
|
1327
400
|
text: 'Button 3',
|
|
1328
401
|
textStyle: { size: 14, color: '#742ddd', weight: FontWeight.Bold },
|
|
@@ -1337,25 +410,25 @@ const alignInFlex = (align) => {
|
|
|
1337
410
|
'body': {
|
|
1338
411
|
'items': [
|
|
1339
412
|
{
|
|
1340
|
-
'type': ComponentType
|
|
413
|
+
'type': ComponentType.Image,
|
|
1341
414
|
'action': { 'type': ActionType.Web, 'data': 'https://www.naver.com/' },
|
|
1342
415
|
'height': { 'type': 'fixed', 'value': 136 },
|
|
1343
416
|
'imageUrl': 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
|
|
1344
417
|
'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
|
|
1345
418
|
},
|
|
1346
419
|
{
|
|
1347
|
-
'type': ComponentType
|
|
420
|
+
'type': ComponentType.Box,
|
|
1348
421
|
'viewStyle': { 'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 }, backgroundColor: '#cccccc' },
|
|
1349
422
|
'layout': Layout.Column,
|
|
1350
423
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1351
424
|
'items': [
|
|
1352
425
|
{
|
|
1353
|
-
'type': ComponentType
|
|
426
|
+
'type': ComponentType.Box,
|
|
1354
427
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1355
428
|
'layout': Layout.Row,
|
|
1356
429
|
'items': [
|
|
1357
430
|
{
|
|
1358
|
-
'type': ComponentType
|
|
431
|
+
'type': ComponentType.TextButton,
|
|
1359
432
|
'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
|
|
1360
433
|
width: { type: 'fixed', value: 150 },
|
|
1361
434
|
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 0, 'right': 4 } },
|
|
@@ -1363,7 +436,7 @@ const alignInFlex = (align) => {
|
|
|
1363
436
|
'textStyle': { 'size': 14, 'weight': FontWeight.Bold },
|
|
1364
437
|
},
|
|
1365
438
|
{
|
|
1366
|
-
'type': ComponentType
|
|
439
|
+
'type': ComponentType.TextButton,
|
|
1367
440
|
'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
|
|
1368
441
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1369
442
|
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 4, 'right': 0 } },
|
|
@@ -1373,19 +446,19 @@ const alignInFlex = (align) => {
|
|
|
1373
446
|
],
|
|
1374
447
|
},
|
|
1375
448
|
{
|
|
1376
|
-
'type': ComponentType
|
|
449
|
+
'type': ComponentType.Box,
|
|
1377
450
|
width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
|
|
1378
451
|
'layout': Layout.Row,
|
|
1379
452
|
'items': [
|
|
1380
453
|
{
|
|
1381
|
-
'type': ComponentType
|
|
454
|
+
'type': ComponentType.Text,
|
|
1382
455
|
'text': 'Sample2 text',
|
|
1383
456
|
'width': { 'type': 'flex', 'value': FlexSizeSpecValue.FillParent },
|
|
1384
457
|
'maxTextLines': 1,
|
|
1385
458
|
'textStyle': { 'size': 16, 'weight': FontWeight.Bold },
|
|
1386
459
|
},
|
|
1387
460
|
{
|
|
1388
|
-
'type': ComponentType
|
|
461
|
+
'type': ComponentType.ImageButton,
|
|
1389
462
|
'action': { 'type': ActionType.UIKit, 'data': 'uikit://delete' },
|
|
1390
463
|
'width': { 'type': 'fixed', 'value': 20 },
|
|
1391
464
|
'height': { 'type': 'fixed', 'value': 20 },
|
|
@@ -1395,7 +468,7 @@ const alignInFlex = (align) => {
|
|
|
1395
468
|
],
|
|
1396
469
|
},
|
|
1397
470
|
{
|
|
1398
|
-
'type': ComponentType
|
|
471
|
+
'type': ComponentType.Text,
|
|
1399
472
|
'viewStyle': { 'padding': { 'top': 6, 'bottom': 12, 'left': 0, 'right': 0 } },
|
|
1400
473
|
'text': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aui',
|
|
1401
474
|
'textStyle': { 'size': 14 },
|
|
@@ -1410,42 +483,42 @@ const alignInFlex = (align) => {
|
|
|
1410
483
|
'body': {
|
|
1411
484
|
'items': [
|
|
1412
485
|
{
|
|
1413
|
-
'type': ComponentType
|
|
486
|
+
'type': ComponentType.Box,
|
|
1414
487
|
'viewStyle': { 'backgroundColor': '#ffffff', 'borderWidth': 1, 'borderColor': '#eeeeee', 'radius': 16 },
|
|
1415
488
|
'layout': Layout.Column,
|
|
1416
489
|
'items': [
|
|
1417
490
|
{
|
|
1418
|
-
'type': ComponentType
|
|
491
|
+
'type': ComponentType.Image,
|
|
1419
492
|
'height': { 'type': 'fixed', 'value': 200 },
|
|
1420
493
|
'imageUrl': 'https://img.freepik.com/free-vector/cartoon-happy-hours-background_52683-81243.jpg?w=2000&t=st=1666689198~exp=1666689798~hmac=23109d44ba03deee7aee069cbeebfcb48fa27f85e53c1cafc5d5d7345f1a2041',
|
|
1421
494
|
'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
|
|
1422
495
|
},
|
|
1423
496
|
{
|
|
1424
|
-
'type': ComponentType
|
|
497
|
+
'type': ComponentType.Box,
|
|
1425
498
|
'viewStyle': { 'padding': { 'top': 15, 'bottom': 15, 'left': 15, 'right': 15 } },
|
|
1426
499
|
'layout': Layout.Column,
|
|
1427
500
|
'items': [
|
|
1428
501
|
{
|
|
1429
|
-
'type': ComponentType
|
|
502
|
+
'type': ComponentType.Text,
|
|
1430
503
|
'text': "Don't miss these deals today",
|
|
1431
504
|
'maxTextLines': 1,
|
|
1432
505
|
'textStyle': { 'size': 20, 'color': '#e10000', 'weight': FontWeight.Bold },
|
|
1433
506
|
},
|
|
1434
507
|
{
|
|
1435
|
-
'type': ComponentType
|
|
508
|
+
'type': ComponentType.Text,
|
|
1436
509
|
'viewStyle': { 'margin': { 'top': 5, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1437
510
|
'text': 'Pay with Maya and get cashback!',
|
|
1438
511
|
'maxTextLines': 1,
|
|
1439
512
|
'textStyle': { 'size': 14, 'color': '#e10000' },
|
|
1440
513
|
},
|
|
1441
514
|
{
|
|
1442
|
-
'type': ComponentType
|
|
515
|
+
'type': ComponentType.Box,
|
|
1443
516
|
'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
|
|
1444
517
|
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1445
518
|
'layout': Layout.Row,
|
|
1446
519
|
'items': [
|
|
1447
520
|
{
|
|
1448
|
-
'type': ComponentType
|
|
521
|
+
'type': ComponentType.Image,
|
|
1449
522
|
'width': { 'type': 'fixed', 'value': 50 },
|
|
1450
523
|
'height': { 'type': 'fixed', 'value': 50 },
|
|
1451
524
|
'viewStyle': {
|
|
@@ -1458,19 +531,19 @@ const alignInFlex = (align) => {
|
|
|
1458
531
|
'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
|
|
1459
532
|
},
|
|
1460
533
|
{
|
|
1461
|
-
'type': ComponentType
|
|
534
|
+
'type': ComponentType.Box,
|
|
1462
535
|
'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
|
|
1463
536
|
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
|
|
1464
537
|
'layout': Layout.Column,
|
|
1465
538
|
'items': [
|
|
1466
539
|
{
|
|
1467
|
-
'type': ComponentType
|
|
540
|
+
'type': ComponentType.Text,
|
|
1468
541
|
'text': 'Meralco',
|
|
1469
542
|
'maxTextLines': 1,
|
|
1470
543
|
'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight.Bold },
|
|
1471
544
|
},
|
|
1472
545
|
{
|
|
1473
|
-
'type': ComponentType
|
|
546
|
+
'type': ComponentType.Text,
|
|
1474
547
|
'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1475
548
|
'text': '30% cashback, P300 min spend',
|
|
1476
549
|
'maxTextLines': 1,
|
|
@@ -1481,13 +554,13 @@ const alignInFlex = (align) => {
|
|
|
1481
554
|
],
|
|
1482
555
|
},
|
|
1483
556
|
{
|
|
1484
|
-
'type': ComponentType
|
|
557
|
+
'type': ComponentType.Box,
|
|
1485
558
|
'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
|
|
1486
559
|
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1487
560
|
'layout': Layout.Row,
|
|
1488
561
|
'items': [
|
|
1489
562
|
{
|
|
1490
|
-
'type': ComponentType
|
|
563
|
+
'type': ComponentType.Image,
|
|
1491
564
|
'width': { 'type': 'fixed', 'value': 50 },
|
|
1492
565
|
'height': { 'type': 'fixed', 'value': 50 },
|
|
1493
566
|
'viewStyle': {
|
|
@@ -1500,19 +573,19 @@ const alignInFlex = (align) => {
|
|
|
1500
573
|
'imageStyle': { 'contentMode': MediaContentMode.AspectFill, tintColor: '#a49a9a' },
|
|
1501
574
|
},
|
|
1502
575
|
{
|
|
1503
|
-
'type': ComponentType
|
|
576
|
+
'type': ComponentType.Box,
|
|
1504
577
|
'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
|
|
1505
578
|
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
|
|
1506
579
|
'layout': Layout.Column,
|
|
1507
580
|
'items': [
|
|
1508
581
|
{
|
|
1509
|
-
'type': ComponentType
|
|
582
|
+
'type': ComponentType.Text,
|
|
1510
583
|
'text': 'Globe',
|
|
1511
584
|
'maxTextLines': 1,
|
|
1512
585
|
'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight.Bold },
|
|
1513
586
|
},
|
|
1514
587
|
{
|
|
1515
|
-
'type': ComponentType
|
|
588
|
+
'type': ComponentType.Text,
|
|
1516
589
|
'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1517
590
|
'text': '30% cashback, P300 min spend',
|
|
1518
591
|
'maxTextLines': 1,
|
|
@@ -1523,13 +596,13 @@ const alignInFlex = (align) => {
|
|
|
1523
596
|
],
|
|
1524
597
|
},
|
|
1525
598
|
{
|
|
1526
|
-
'type': ComponentType
|
|
599
|
+
'type': ComponentType.Box,
|
|
1527
600
|
'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
|
|
1528
601
|
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1529
602
|
'layout': Layout.Row,
|
|
1530
603
|
'items': [
|
|
1531
604
|
{
|
|
1532
|
-
'type': ComponentType
|
|
605
|
+
'type': ComponentType.Image,
|
|
1533
606
|
'width': { 'type': 'fixed', 'value': 50 },
|
|
1534
607
|
'height': { 'type': 'fixed', 'value': 50 },
|
|
1535
608
|
'viewStyle': {
|
|
@@ -1542,19 +615,19 @@ const alignInFlex = (align) => {
|
|
|
1542
615
|
'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
|
|
1543
616
|
},
|
|
1544
617
|
{
|
|
1545
|
-
'type': ComponentType
|
|
618
|
+
'type': ComponentType.Box,
|
|
1546
619
|
'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
|
|
1547
620
|
'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
|
|
1548
621
|
'layout': Layout.Column,
|
|
1549
622
|
'items': [
|
|
1550
623
|
{
|
|
1551
|
-
'type': ComponentType
|
|
624
|
+
'type': ComponentType.Text,
|
|
1552
625
|
'text': 'Cignal',
|
|
1553
626
|
'maxTextLines': 1,
|
|
1554
627
|
'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight.Bold },
|
|
1555
628
|
},
|
|
1556
629
|
{
|
|
1557
|
-
'type': ComponentType
|
|
630
|
+
'type': ComponentType.Text,
|
|
1558
631
|
'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1559
632
|
'text': '30% cashback, P300 min spend',
|
|
1560
633
|
'maxTextLines': 1,
|
|
@@ -1565,13 +638,13 @@ const alignInFlex = (align) => {
|
|
|
1565
638
|
],
|
|
1566
639
|
},
|
|
1567
640
|
{
|
|
1568
|
-
'type': ComponentType
|
|
641
|
+
'type': ComponentType.Box,
|
|
1569
642
|
'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
|
|
1570
643
|
'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
|
|
1571
644
|
'layout': Layout.Row,
|
|
1572
645
|
'items': [
|
|
1573
646
|
{
|
|
1574
|
-
'type': ComponentType
|
|
647
|
+
'type': ComponentType.TextButton,
|
|
1575
648
|
'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
|
|
1576
649
|
'viewStyle': {
|
|
1577
650
|
'backgroundColor': '#e0e0e0',
|
|
@@ -1583,7 +656,7 @@ const alignInFlex = (align) => {
|
|
|
1583
656
|
'textStyle': { 'size': 15, 'color': '#e10000', 'weight': FontWeight.Bold },
|
|
1584
657
|
},
|
|
1585
658
|
{
|
|
1586
|
-
'type': ComponentType
|
|
659
|
+
'type': ComponentType.TextButton,
|
|
1587
660
|
'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
|
|
1588
661
|
'viewStyle': {
|
|
1589
662
|
'backgroundColor': '#e10000',
|
|
@@ -1608,11 +681,11 @@ const alignInFlex = (align) => {
|
|
|
1608
681
|
'body': {
|
|
1609
682
|
'items': [
|
|
1610
683
|
{
|
|
1611
|
-
'type': ComponentType
|
|
684
|
+
'type': ComponentType.Box,
|
|
1612
685
|
'layout': Layout.Column,
|
|
1613
686
|
'items': [
|
|
1614
687
|
{
|
|
1615
|
-
'type': ComponentType
|
|
688
|
+
'type': ComponentType.Image,
|
|
1616
689
|
'imageUrl': 'https://static.sendbird.com/sample/profiles/profile_40_512px.png',
|
|
1617
690
|
'metaData': {
|
|
1618
691
|
'pixelWidth': 512,
|
|
@@ -1631,7 +704,7 @@ const alignInFlex = (align) => {
|
|
|
1631
704
|
},
|
|
1632
705
|
},
|
|
1633
706
|
{
|
|
1634
|
-
'type': ComponentType
|
|
707
|
+
'type': ComponentType.Box,
|
|
1635
708
|
'viewStyle': {
|
|
1636
709
|
'padding': {
|
|
1637
710
|
'top': 12,
|
|
@@ -1643,15 +716,15 @@ const alignInFlex = (align) => {
|
|
|
1643
716
|
'layout': Layout.Column,
|
|
1644
717
|
'items': [
|
|
1645
718
|
{
|
|
1646
|
-
'type': ComponentType
|
|
719
|
+
'type': ComponentType.Box,
|
|
1647
720
|
'layout': Layout.Row,
|
|
1648
721
|
'items': [
|
|
1649
722
|
{
|
|
1650
|
-
'type': ComponentType
|
|
723
|
+
'type': ComponentType.Box,
|
|
1651
724
|
'layout': Layout.Column,
|
|
1652
725
|
'items': [
|
|
1653
726
|
{
|
|
1654
|
-
'type': ComponentType
|
|
727
|
+
'type': ComponentType.Text,
|
|
1655
728
|
'text': 'hi',
|
|
1656
729
|
'maxTextLines': 3,
|
|
1657
730
|
'viewStyle': {
|
|
@@ -1668,7 +741,7 @@ const alignInFlex = (align) => {
|
|
|
1668
741
|
},
|
|
1669
742
|
},
|
|
1670
743
|
{
|
|
1671
|
-
'type': ComponentType
|
|
744
|
+
'type': ComponentType.Text,
|
|
1672
745
|
'text': 'bye',
|
|
1673
746
|
'maxTextLines': 10,
|
|
1674
747
|
'textStyle': {
|
|
@@ -1678,7 +751,7 @@ const alignInFlex = (align) => {
|
|
|
1678
751
|
],
|
|
1679
752
|
},
|
|
1680
753
|
{
|
|
1681
|
-
'type': ComponentType
|
|
754
|
+
'type': ComponentType.ImageButton,
|
|
1682
755
|
'action': {
|
|
1683
756
|
'type': ActionType.UIKit,
|
|
1684
757
|
'data': 'sendbirduikit://delete',
|
|
@@ -1703,11 +776,11 @@ const alignInFlex = (align) => {
|
|
|
1703
776
|
],
|
|
1704
777
|
},
|
|
1705
778
|
{
|
|
1706
|
-
'type': ComponentType
|
|
779
|
+
'type': ComponentType.Box,
|
|
1707
780
|
'layout': Layout.Column,
|
|
1708
781
|
'items': [
|
|
1709
782
|
{
|
|
1710
|
-
'type': ComponentType
|
|
783
|
+
'type': ComponentType.Box,
|
|
1711
784
|
'viewStyle': {
|
|
1712
785
|
'margin': {
|
|
1713
786
|
'top': 16,
|
|
@@ -1723,7 +796,7 @@ const alignInFlex = (align) => {
|
|
|
1723
796
|
'layout': Layout.Row,
|
|
1724
797
|
'items': [
|
|
1725
798
|
{
|
|
1726
|
-
'type': ComponentType
|
|
799
|
+
'type': ComponentType.Image,
|
|
1727
800
|
'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-ULE240VNV-83fd5776e78e-512',
|
|
1728
801
|
'width': {
|
|
1729
802
|
'type': 'fixed',
|
|
@@ -1746,7 +819,7 @@ const alignInFlex = (align) => {
|
|
|
1746
819
|
},
|
|
1747
820
|
},
|
|
1748
821
|
{
|
|
1749
|
-
'type': ComponentType
|
|
822
|
+
'type': ComponentType.Box,
|
|
1750
823
|
'viewStyle': {
|
|
1751
824
|
'margin': {
|
|
1752
825
|
'top': 0,
|
|
@@ -1758,7 +831,7 @@ const alignInFlex = (align) => {
|
|
|
1758
831
|
'layout': Layout.Column,
|
|
1759
832
|
'items': [
|
|
1760
833
|
{
|
|
1761
|
-
'type': ComponentType
|
|
834
|
+
'type': ComponentType.Text,
|
|
1762
835
|
'text': 'Chongbu',
|
|
1763
836
|
'maxTextLines': 1,
|
|
1764
837
|
'textStyle': {
|
|
@@ -1767,7 +840,7 @@ const alignInFlex = (align) => {
|
|
|
1767
840
|
},
|
|
1768
841
|
},
|
|
1769
842
|
{
|
|
1770
|
-
'type': ComponentType
|
|
843
|
+
'type': ComponentType.Text,
|
|
1771
844
|
'viewStyle': {
|
|
1772
845
|
'margin': {
|
|
1773
846
|
'top': 4,
|
|
@@ -1787,7 +860,7 @@ const alignInFlex = (align) => {
|
|
|
1787
860
|
],
|
|
1788
861
|
},
|
|
1789
862
|
{
|
|
1790
|
-
'type': ComponentType
|
|
863
|
+
'type': ComponentType.Box,
|
|
1791
864
|
'viewStyle': {
|
|
1792
865
|
'margin': {
|
|
1793
866
|
'top': 16,
|
|
@@ -1803,7 +876,7 @@ const alignInFlex = (align) => {
|
|
|
1803
876
|
'layout': Layout.Row,
|
|
1804
877
|
'items': [
|
|
1805
878
|
{
|
|
1806
|
-
'type': ComponentType
|
|
879
|
+
'type': ComponentType.Image,
|
|
1807
880
|
'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-U02LA25KY8J-d41a3e8c7554-512',
|
|
1808
881
|
'width': {
|
|
1809
882
|
'type': 'fixed',
|
|
@@ -1826,7 +899,7 @@ const alignInFlex = (align) => {
|
|
|
1826
899
|
},
|
|
1827
900
|
},
|
|
1828
901
|
{
|
|
1829
|
-
'type': ComponentType
|
|
902
|
+
'type': ComponentType.Box,
|
|
1830
903
|
'viewStyle': {
|
|
1831
904
|
'margin': {
|
|
1832
905
|
'top': 0,
|
|
@@ -1838,7 +911,7 @@ const alignInFlex = (align) => {
|
|
|
1838
911
|
'layout': Layout.Column,
|
|
1839
912
|
'items': [
|
|
1840
913
|
{
|
|
1841
|
-
'type': ComponentType
|
|
914
|
+
'type': ComponentType.Text,
|
|
1842
915
|
'text': 'Amanda',
|
|
1843
916
|
'maxTextLines': 1,
|
|
1844
917
|
'textStyle': {
|
|
@@ -1847,7 +920,7 @@ const alignInFlex = (align) => {
|
|
|
1847
920
|
},
|
|
1848
921
|
},
|
|
1849
922
|
{
|
|
1850
|
-
'type': ComponentType
|
|
923
|
+
'type': ComponentType.Text,
|
|
1851
924
|
'viewStyle': {
|
|
1852
925
|
'margin': {
|
|
1853
926
|
'top': 4,
|
|
@@ -2236,7 +1309,7 @@ const Carousel = React.memo(({ children, gap = GAP_DEFAULT }) => {
|
|
|
2236
1309
|
|
|
2237
1310
|
function isWrappedText(view) {
|
|
2238
1311
|
var _a;
|
|
2239
|
-
return view.type === ComponentType
|
|
1312
|
+
return view.type === ComponentType.Text && ((_a = view.width) === null || _a === void 0 ? void 0 : _a.value) == FlexSizeSpecValue.WrapContent;
|
|
2240
1313
|
}
|
|
2241
1314
|
// Compares the size spec to the option and returns whether they are equal or not.
|
|
2242
1315
|
const isSizeCompatibleWithOption = ({ size, option, }) => {
|
|
@@ -2721,7 +1794,7 @@ function setTextStyle(styles, props, options) {
|
|
|
2721
1794
|
if ((width === null || width === void 0 ? void 0 : width.value) == FlexSizeSpecValue.WrapContent) {
|
|
2722
1795
|
styles['maxWidth'] = '100%';
|
|
2723
1796
|
}
|
|
2724
|
-
if (props.type === ComponentType
|
|
1797
|
+
if (props.type === ComponentType.Text) {
|
|
2725
1798
|
const { siblings, elemIdx } = options;
|
|
2726
1799
|
// To push out any subsequent components from the container,
|
|
2727
1800
|
// if a prior one is long enough to occupy an entire line
|
|
@@ -2918,22 +1991,22 @@ createMessageTemplate({
|
|
|
2918
1991
|
},
|
|
2919
1992
|
});
|
|
2920
1993
|
|
|
2921
|
-
var CustomTemplate = createMessageTemplate({
|
|
2922
|
-
parser: parser,
|
|
2923
|
-
renderer: renderer,
|
|
2924
|
-
Container: function (_a) {
|
|
2925
|
-
var children = _a.children, className = _a.className;
|
|
2926
|
-
return (React.createElement("div", { className: [
|
|
2927
|
-
"sb-message-template__parent ".concat(className),
|
|
2928
|
-
'sendbird-message-template__root',
|
|
2929
|
-
].join(' ') }, children));
|
|
2930
|
-
},
|
|
2931
|
-
}).MessageTemplate;
|
|
2932
|
-
function MessageTemplate(_a) {
|
|
2933
|
-
var templateItems = _a.templateItems, templateVersion = _a.templateVersion;
|
|
2934
|
-
return React.createElement(CustomTemplate, { templateItems: templateItems, templateVersion: templateVersion });
|
|
1994
|
+
var CustomTemplate = createMessageTemplate({
|
|
1995
|
+
parser: parser,
|
|
1996
|
+
renderer: renderer,
|
|
1997
|
+
Container: function (_a) {
|
|
1998
|
+
var children = _a.children, className = _a.className;
|
|
1999
|
+
return (React.createElement("div", { className: [
|
|
2000
|
+
"sb-message-template__parent ".concat(className),
|
|
2001
|
+
'sendbird-message-template__root',
|
|
2002
|
+
].join(' ') }, children));
|
|
2003
|
+
},
|
|
2004
|
+
}).MessageTemplate;
|
|
2005
|
+
function MessageTemplate(_a) {
|
|
2006
|
+
var templateItems = _a.templateItems, templateVersion = _a.templateVersion;
|
|
2007
|
+
return React.createElement(CustomTemplate, { templateItems: templateItems, templateVersion: templateVersion });
|
|
2935
2008
|
}
|
|
2936
2009
|
|
|
2937
2010
|
exports.MessageProvider = MessageProvider;
|
|
2938
2011
|
exports.MessageTemplate = MessageTemplate;
|
|
2939
|
-
//# sourceMappingURL=bundle-
|
|
2012
|
+
//# sourceMappingURL=bundle-CDIVI7bT.js.map
|