isometrik-plugin-chat-sdk 2.0.20 → 2.0.22
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/dist/cjs/admin-transfer-dialog.cjs.entry.js +2 -2
- package/dist/cjs/{app-globals-2824b330.js → app-globals-0e7848be.js} +3 -3
- package/dist/cjs/{app-globals-2824b330.js.map → app-globals-0e7848be.js.map} +1 -1
- package/dist/cjs/{attachment-preview_22.cjs.entry.js → attachment-preview_23.cjs.entry.js} +692 -388
- package/dist/cjs/attachment-preview_23.cjs.entry.js.map +1 -0
- package/dist/cjs/audio-bubble_4.cjs.entry.js +66 -22
- package/dist/cjs/audio-bubble_4.cjs.entry.js.map +1 -1
- package/dist/cjs/chat-app.cjs.entry.js +1 -1
- package/dist/cjs/chat-document-message-bubble.cjs.entry.js +1 -1
- package/dist/cjs/chat-image-message-bubble.cjs.entry.js +1 -1
- package/dist/cjs/chat-tile_3.cjs.entry.js +14 -10
- package/dist/cjs/chat-tile_3.cjs.entry.js.map +1 -1
- package/dist/cjs/chat-video-message-bubble.cjs.entry.js +1 -1
- package/dist/cjs/confirm-dialog.cjs.entry.js +1 -1
- package/dist/cjs/{content-ebca062a.js → content-8b271b56.js} +3 -1
- package/dist/cjs/content-8b271b56.js.map +1 -0
- package/dist/cjs/delete-message.cjs.entry.js +1 -1
- package/dist/cjs/download-9ccc0a6c.js +120 -0
- package/dist/cjs/download-9ccc0a6c.js.map +1 -0
- package/dist/cjs/{drawer-00a2323a.js → drawer-3f9c87b4.js} +42 -5
- package/dist/cjs/drawer-3f9c87b4.js.map +1 -0
- package/dist/cjs/forward-memebers.cjs.entry.js +61 -24
- package/dist/cjs/forward-memebers.cjs.entry.js.map +1 -1
- package/dist/cjs/forward-message.cjs.entry.js +2 -2
- package/dist/cjs/group-chat-contacts.cjs.entry.js +2 -2
- package/dist/cjs/{group-members-b3bea06e.js → group-members-1205fc4c.js} +5 -5
- package/dist/cjs/{group-members-b3bea06e.js.map → group-members-1205fc4c.js.map} +1 -1
- package/dist/cjs/{groupcast-8441b4df.js → groupcast-bb393c81.js} +14 -54
- package/dist/cjs/groupcast-bb393c81.js.map +1 -0
- package/dist/cjs/{groupcast-f24da720.js → groupcast-e1e52bd1.js} +16 -16
- package/dist/cjs/{groupcast-f24da720.js.map → groupcast-e1e52bd1.js.map} +1 -1
- package/dist/cjs/{helpers-154861e9.js → helpers-877a7116.js} +30 -1
- package/dist/cjs/helpers-877a7116.js.map +1 -0
- package/dist/cjs/index.cjs.js +8 -6
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{toast-91093c84.js → index.m-ff115b26.js} +1 -156
- package/dist/cjs/{toast-91093c84.js.map → index.m-ff115b26.js.map} +1 -1
- package/dist/cjs/info-panel-media_2.cjs.entry.js +244 -0
- package/dist/cjs/info-panel-media_2.cjs.entry.js.map +1 -0
- package/dist/cjs/isometrik-webchat.cjs.js +11 -9
- package/dist/cjs/isometrik-webchat.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +11 -9
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{local-notification-bdd04d7a.js → local-notification-a86a2b34.js} +3 -3
- package/dist/cjs/local-notification-a86a2b34.js.map +1 -0
- package/dist/cjs/login-page_3.cjs.entry.js +258 -104
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/cjs/media-gallery.cjs.entry.js +10 -2
- package/dist/cjs/media-gallery.cjs.entry.js.map +1 -1
- package/dist/cjs/member-add.cjs.entry.js +20 -11
- package/dist/cjs/member-add.cjs.entry.js.map +1 -1
- package/dist/cjs/message-bubble.cjs.entry.js +2 -2
- package/dist/cjs/{message-reaction-82a4f93c.js → message-reaction-8f93a048.js} +5 -5
- package/dist/cjs/{message-reaction-82a4f93c.js.map → message-reaction-8f93a048.js.map} +1 -1
- package/dist/cjs/messages-e129b34d.js +179 -0
- package/dist/cjs/messages-e129b34d.js.map +1 -0
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/new-chat-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/play-b473e0ab.js +13 -0
- package/dist/cjs/play-b473e0ab.js.map +1 -0
- package/dist/cjs/profile-avatar.cjs.entry.js +1 -1
- package/dist/cjs/reaction-container.cjs.entry.js +5 -4
- package/dist/cjs/reaction-container.cjs.entry.js.map +1 -1
- package/dist/cjs/{runtime-controls-cfc8fc31.js → runtime-controls-a70872fe.js} +33 -15
- package/dist/cjs/runtime-controls-a70872fe.js.map +1 -0
- package/dist/cjs/{send-media-4ee967d4.js → send-media-8a841e50.js} +559 -192
- package/dist/cjs/send-media-8a841e50.js.map +1 -0
- package/dist/cjs/share-popup.cjs.entry.js +1 -1
- package/dist/cjs/signup-page.cjs.entry.js +2 -2
- package/dist/cjs/spinner-loader.cjs.entry.js +1 -1
- package/dist/cjs/{group-members-cef1198e.js → storage-quota-2e81fb71.js} +254 -10
- package/dist/cjs/storage-quota-2e81fb71.js.map +1 -0
- package/dist/cjs/toast-a75f822c.js +159 -0
- package/dist/cjs/toast-a75f822c.js.map +1 -0
- package/dist/collection/collection-manifest.json +10 -8
- package/dist/collection/components/ChatUIComponent/AddMember.js +14 -7
- package/dist/collection/components/ChatUIComponent/AddMember.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/ChatDocumentMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/ChatImageMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/ChatOwnProfile/Profile.js +8 -2
- package/dist/collection/components/ChatUIComponent/ChatOwnProfile/Profile.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js +90 -47
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/ChatVideoMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js +105 -37
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/Header/WebChatHeader.js +45 -11
- package/dist/collection/components/ChatUIComponent/Header/WebChatHeader.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/ReactionContainer.js +2 -2
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js +38 -13
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/WebChatBody/web-chat-body.css +1 -0
- package/dist/collection/components/ChatUIComponent/shared/AudioBubble/AudioBubble.js +22 -10
- package/dist/collection/components/ChatUIComponent/shared/AudioBubble/AudioBubble.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/ForwardMessageList/ForwardMessageList.js +55 -19
- package/dist/collection/components/ChatUIComponent/shared/ForwardMessageList/ForwardMessageList.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/admin-transfer-dialog/admin-transfer-dialog.js +2 -2
- package/dist/collection/components/ChatUIComponent/shared/attachment-preview/attachment-preview.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/block chatlist/BlockChatList.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/chat-loading-placeholder/chat-loading-placeholder.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/chat-tile/chat-tile.js +31 -9
- package/dist/collection/components/ChatUIComponent/shared/chat-tile/chat-tile.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/confirm-dialog/confirm-dialog.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/contact-info/contact-info.js +66 -157
- package/dist/collection/components/ChatUIComponent/shared/contact-info/contact-info.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/delete-message/delete-message.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/document-message/document-message.js +14 -4
- package/dist/collection/components/ChatUIComponent/shared/document-message/document-message.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/forward-message/forward-message.js +2 -2
- package/dist/collection/components/ChatUIComponent/shared/group-info/group-info.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/image-message/image-message.js +65 -2
- package/dist/collection/components/ChatUIComponent/shared/image-message/image-message.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/incoming-text-message-bubble/incoming-text-message-bubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/info-panel-media/info-panel-media.js +335 -0
- package/dist/collection/components/ChatUIComponent/shared/info-panel-media/info-panel-media.js.map +1 -0
- package/dist/collection/components/ChatUIComponent/shared/link-preview/link-preview.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/media-gallery/media-gallery.js +11 -2
- package/dist/collection/components/ChatUIComponent/shared/media-gallery/media-gallery.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/message-bubble/message-bubble.js +2 -2
- package/dist/collection/components/ChatUIComponent/shared/message-date-pill/message-date-pill.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/message-info/message-info.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/message-search/message-search.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/new chat/new-chat.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/outgoing-text-message-bubble/outgoing-text-message-bubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/profile sidebar/profile-sidebar.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/profile-avatar/profile-avatar.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/profile-info/profile-info.js +70 -3
- package/dist/collection/components/ChatUIComponent/shared/profile-info/profile-info.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/reply-block/reply-block.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/reply-message-container/reply-message-container.js +31 -2
- package/dist/collection/components/ChatUIComponent/shared/reply-message-container/reply-message-container.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/reply-message-container/reply-message-container.stories.js +10 -6
- package/dist/collection/components/ChatUIComponent/shared/searchable list/searchable-list.js +3 -3
- package/dist/collection/components/ChatUIComponent/shared/share-popup/share-popup.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/spinner-loader/spinner-loader.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/storage/storage-manager.js +140 -0
- package/dist/collection/components/ChatUIComponent/shared/storage/storage-manager.js.map +1 -0
- package/dist/collection/components/ChatUIComponent/shared/video-message/video-message.js +35 -3
- package/dist/collection/components/ChatUIComponent/shared/video-message/video-message.js.map +1 -1
- package/dist/collection/components/Login.js +1 -1
- package/dist/collection/components/Signup.js +2 -2
- package/dist/collection/components/chat-main.js +1 -1
- package/dist/collection/components/my-component/my-component.js +1 -1
- package/dist/collection/components/my-component/web-chat/WebChat.js +145 -1
- package/dist/collection/components/my-component/web-chat/WebChat.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/WebchatRightSide.js +44 -2
- package/dist/collection/components/my-component/web-chat/WebchatRightSide.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/bootstrap.js +1 -0
- package/dist/collection/components/my-component/web-chat/bootstrap.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/conversation-ops.js +22 -2
- package/dist/collection/components/my-component/web-chat/conversation-ops.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/data-fetch.js +9 -4
- package/dist/collection/components/my-component/web-chat/data-fetch.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/event-handlers.js +51 -10
- package/dist/collection/components/my-component/web-chat/event-handlers.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/mutations.js +38 -8
- package/dist/collection/components/my-component/web-chat/mutations.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/offline-host.js +31 -17
- package/dist/collection/components/my-component/web-chat/offline-host.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/public-send.js +6 -1
- package/dist/collection/components/my-component/web-chat/public-send.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js +11 -9
- package/dist/collection/components/my-component/web-chat/shell-render.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/web-chat.css +40 -3
- package/dist/collection/components/theme-provider.js +1 -1
- package/dist/collection/constants/content.js +2 -0
- package/dist/collection/lib/chat/block-status.js +12 -0
- package/dist/collection/lib/chat/block-status.js.map +1 -0
- package/dist/collection/lib/chat/clipboard-paste.js +68 -0
- package/dist/collection/lib/chat/clipboard-paste.js.map +1 -0
- package/dist/collection/lib/chat/conversations.js +47 -3
- package/dist/collection/lib/chat/conversations.js.map +1 -1
- package/dist/collection/lib/chat/download-media.js +112 -0
- package/dist/collection/lib/chat/download-media.js.map +1 -0
- package/dist/collection/lib/chat/index.js +6 -2
- package/dist/collection/lib/chat/index.js.map +1 -1
- package/dist/collection/lib/chat/local-notification.js +1 -1
- package/dist/collection/lib/chat/local-notification.js.map +1 -1
- package/dist/collection/lib/chat/same-name-upload.js +53 -0
- package/dist/collection/lib/chat/same-name-upload.js.map +1 -0
- package/dist/collection/lib/chat/send-media.js +194 -27
- package/dist/collection/lib/chat/send-media.js.map +1 -1
- package/dist/collection/lib/chat/session.js +9 -3
- package/dist/collection/lib/chat/session.js.map +1 -1
- package/dist/collection/lib/chat/storage-quota.js +226 -0
- package/dist/collection/lib/chat/storage-quota.js.map +1 -0
- package/dist/collection/lib/custom-ui/public-api.js +5 -0
- package/dist/collection/lib/custom-ui/public-api.js.map +1 -1
- package/dist/collection/lib/drawer.js +42 -4
- package/dist/collection/lib/drawer.js.map +1 -1
- package/dist/collection/lib/helpers.js +29 -1
- package/dist/collection/lib/mqtt/dispatch.js +7 -3
- package/dist/collection/lib/mqtt/dispatch.js.map +1 -1
- package/dist/collection/sdk/headless-api.js +8 -0
- package/dist/collection/sdk/headless-api.js.map +1 -1
- package/dist/collection/sdk/index.js +1 -0
- package/dist/collection/sdk/index.js.map +1 -1
- package/dist/collection/sdk/webchat-api.js +5 -0
- package/dist/collection/sdk/webchat-api.js.map +1 -1
- package/dist/collection/store/storage-quota.js +244 -0
- package/dist/collection/store/storage-quota.js.map +1 -0
- package/dist/collection/testing/iso-chat-sdk-mock.js +10 -6
- package/dist/components/AudioBubble.js +22 -10
- package/dist/components/AudioBubble.js.map +1 -1
- package/dist/components/BlockChatList.js +2 -2
- package/dist/components/ChatFooter.js +172 -37
- package/dist/components/ChatFooter.js.map +1 -1
- package/dist/components/ChatSidebar.js +102 -49
- package/dist/components/ChatSidebar.js.map +1 -1
- package/dist/components/GroupCast2.js +1 -1
- package/dist/components/Login.js +1 -1
- package/dist/components/Profile.js +20 -9
- package/dist/components/Profile.js.map +1 -1
- package/dist/components/WebChat.js +301 -126
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/WebChatBody.js +39 -14
- package/dist/components/WebChatBody.js.map +1 -1
- package/dist/components/WebChatHeader.js +48 -15
- package/dist/components/WebChatHeader.js.map +1 -1
- package/dist/components/WebchatRightSide.js +22 -7
- package/dist/components/WebchatRightSide.js.map +1 -1
- package/dist/components/admin-transfer-dialog.js +2 -2
- package/dist/components/attachment-preview2.js +1 -1
- package/dist/components/chat-app.js +85 -73
- package/dist/components/chat-app.js.map +1 -1
- package/dist/components/chat-assets.js +1 -1
- package/dist/components/chat-document-message-bubble.js +1 -1
- package/dist/components/chat-image-message-bubble.js +1 -1
- package/dist/components/chat-loading-placeholder2.js +1 -1
- package/dist/components/chat-tile2.js +12 -7
- package/dist/components/chat-tile2.js.map +1 -1
- package/dist/components/chat-video-message-bubble.js +1 -1
- package/dist/components/client.js +11 -47
- package/dist/components/client.js.map +1 -1
- package/dist/components/confirm-dialog.js +1 -1
- package/dist/components/contact-info2.js +73 -162
- package/dist/components/contact-info2.js.map +1 -1
- package/dist/components/content.js +2 -0
- package/dist/components/content.js.map +1 -1
- package/dist/components/conversation.js +1 -1
- package/dist/components/conversations.js +91 -0
- package/dist/components/conversations.js.map +1 -0
- package/dist/components/delete-message.js +1 -1
- package/dist/components/document-message2.js +15 -6
- package/dist/components/document-message2.js.map +1 -1
- package/dist/components/download-media.js +115 -0
- package/dist/components/download-media.js.map +1 -0
- package/dist/components/download.js +5 -0
- package/dist/components/download.js.map +1 -0
- package/dist/components/drawer.js +42 -5
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/forward-memebers.js +56 -20
- package/dist/components/forward-memebers.js.map +1 -1
- package/dist/components/forward-message.js +2 -2
- package/dist/components/group-chat-contacts2.js +1 -1
- package/dist/components/group-info.js +1 -1
- package/dist/components/group-members.js +26 -298
- package/dist/components/group-members.js.map +1 -1
- package/dist/components/helpers.js +28 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/image-message2.js +17 -2
- package/dist/components/image-message2.js.map +1 -1
- package/dist/components/incoming-text-message-bubble2.js +1 -1
- package/dist/components/index.js +21 -2
- package/dist/components/index.js.map +1 -1
- package/dist/{esm/group-members-7909941c.js → components/index3.js} +3 -52
- package/dist/components/index3.js.map +1 -0
- package/dist/components/info-panel-media.d.ts +11 -0
- package/dist/components/info-panel-media.js +8 -0
- package/dist/components/info-panel-media.js.map +1 -0
- package/dist/components/info-panel-media2.js +242 -0
- package/dist/components/info-panel-media2.js.map +1 -0
- package/dist/components/link-preview2.js +1 -1
- package/dist/components/local-notification.js +1 -1
- package/dist/components/local-notification.js.map +1 -1
- package/dist/components/media-gallery.js +11 -2
- package/dist/components/media-gallery.js.map +1 -1
- package/dist/components/member-add.js +16 -9
- package/dist/components/member-add.js.map +1 -1
- package/dist/components/message-bubble2.js +2 -2
- package/dist/components/message-date-pill2.js +1 -1
- package/dist/components/message-info2.js +2 -2
- package/dist/components/message-search2.js +1 -1
- package/dist/components/messages.js +1 -1
- package/dist/components/my-component.js +1 -1
- package/dist/components/new-chat-sidebar.js +1 -1
- package/dist/components/new-chat2.js +1 -1
- package/dist/components/outgoing-text-message-bubble2.js +1 -1
- package/dist/components/profile-avatar2.js +1 -1
- package/dist/components/profile-info2.js +69 -6
- package/dist/components/profile-info2.js.map +1 -1
- package/dist/components/profile-sidebar2.js +2 -2
- package/dist/components/prompt-exit-group.js +26 -3
- package/dist/components/prompt-exit-group.js.map +1 -1
- package/dist/components/reaction-container.js +2 -2
- package/dist/components/reply-block2.js +1 -1
- package/dist/components/reply-message-container2.js +12 -2
- package/dist/components/reply-message-container2.js.map +1 -1
- package/dist/components/searchable-list2.js +3 -3
- package/dist/components/send-media.js +242 -33
- package/dist/components/send-media.js.map +1 -1
- package/dist/components/share-popup.js +1 -1
- package/dist/components/signup-page.js +2 -2
- package/dist/components/spinner-loader2.js +1 -1
- package/dist/components/storage-manager.js +125 -0
- package/dist/components/storage-manager.js.map +1 -0
- package/dist/components/storage-quota.js +223 -0
- package/dist/components/storage-quota.js.map +1 -0
- package/dist/components/storage-quota2.js +248 -0
- package/dist/components/storage-quota2.js.map +1 -0
- package/dist/components/theme-provider2.js +1 -1
- package/dist/components/video-message2.js +19 -3
- package/dist/components/video-message2.js.map +1 -1
- package/dist/components/web-chat-storage.d.ts +11 -0
- package/dist/components/web-chat-storage.js +8 -0
- package/dist/components/web-chat-storage.js.map +1 -0
- package/dist/esm/admin-transfer-dialog.entry.js +2 -2
- package/dist/esm/{app-globals-e3f4717b.js → app-globals-eba1ca0c.js} +3 -3
- package/dist/esm/{app-globals-e3f4717b.js.map → app-globals-eba1ca0c.js.map} +1 -1
- package/dist/esm/{attachment-preview_22.entry.js → attachment-preview_23.entry.js} +657 -354
- package/dist/esm/attachment-preview_23.entry.js.map +1 -0
- package/dist/esm/audio-bubble_4.entry.js +66 -22
- package/dist/esm/audio-bubble_4.entry.js.map +1 -1
- package/dist/esm/chat-app.entry.js +1 -1
- package/dist/esm/chat-document-message-bubble.entry.js +1 -1
- package/dist/esm/chat-image-message-bubble.entry.js +1 -1
- package/dist/esm/chat-tile_3.entry.js +15 -11
- package/dist/esm/chat-tile_3.entry.js.map +1 -1
- package/dist/esm/chat-video-message-bubble.entry.js +1 -1
- package/dist/esm/confirm-dialog.entry.js +1 -1
- package/dist/esm/{content-fb138a93.js → content-fd0af283.js} +3 -1
- package/dist/esm/content-fd0af283.js.map +1 -0
- package/dist/esm/delete-message.entry.js +1 -1
- package/dist/esm/download-5368a10f.js +117 -0
- package/dist/esm/download-5368a10f.js.map +1 -0
- package/dist/esm/{drawer-7de04622.js → drawer-a457d820.js} +43 -6
- package/dist/esm/drawer-a457d820.js.map +1 -0
- package/dist/esm/forward-memebers.entry.js +59 -22
- package/dist/esm/forward-memebers.entry.js.map +1 -1
- package/dist/esm/forward-message.entry.js +2 -2
- package/dist/esm/group-chat-contacts.entry.js +2 -2
- package/dist/esm/{group-members-36cf9395.js → group-members-d603f29f.js} +2 -2
- package/dist/esm/{group-members-36cf9395.js.map → group-members-d603f29f.js.map} +1 -1
- package/dist/esm/{groupcast-5fb19ec3.js → groupcast-4f15b050.js} +14 -50
- package/dist/esm/groupcast-4f15b050.js.map +1 -0
- package/dist/esm/{groupcast-f96c1d9e.js → groupcast-c6da3918.js} +2 -2
- package/dist/esm/{groupcast-f96c1d9e.js.map → groupcast-c6da3918.js.map} +1 -1
- package/dist/esm/{helpers-f33b895c.js → helpers-1632a4c7.js} +29 -2
- package/dist/esm/helpers-1632a4c7.js.map +1 -0
- package/dist/esm/index.js +9 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{toast-a1531088.js → index.m-8c70037f.js} +2 -156
- package/dist/esm/{toast-a1531088.js.map → index.m-8c70037f.js.map} +1 -1
- package/dist/esm/info-panel-media_2.entry.js +239 -0
- package/dist/esm/info-panel-media_2.entry.js.map +1 -0
- package/dist/esm/isometrik-webchat.js +11 -9
- package/dist/esm/isometrik-webchat.js.map +1 -1
- package/dist/esm/loader.js +11 -9
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{local-notification-4c1e166d.js → local-notification-f9ae9062.js} +3 -3
- package/dist/esm/local-notification-f9ae9062.js.map +1 -0
- package/dist/esm/login-page_3.entry.js +219 -65
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/esm/media-gallery.entry.js +10 -2
- package/dist/esm/media-gallery.entry.js.map +1 -1
- package/dist/esm/member-add.entry.js +20 -11
- package/dist/esm/member-add.entry.js.map +1 -1
- package/dist/esm/message-bubble.entry.js +2 -2
- package/dist/esm/{message-reaction-0d2ef75f.js → message-reaction-0a2bb115.js} +2 -2
- package/dist/esm/{message-reaction-0d2ef75f.js.map → message-reaction-0a2bb115.js.map} +1 -1
- package/dist/esm/messages-057dbecb.js +167 -0
- package/dist/esm/messages-057dbecb.js.map +1 -0
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/new-chat-sidebar.entry.js +2 -2
- package/dist/esm/play-05ae077a.js +9 -0
- package/dist/esm/play-05ae077a.js.map +1 -0
- package/dist/esm/profile-avatar.entry.js +1 -1
- package/dist/esm/reaction-container.entry.js +5 -4
- package/dist/esm/reaction-container.entry.js.map +1 -1
- package/dist/esm/{runtime-controls-ff81e90a.js → runtime-controls-bdb84aeb.js} +21 -3
- package/dist/esm/runtime-controls-bdb84aeb.js.map +1 -0
- package/dist/esm/{send-media-58e7145b.js → send-media-04f7ca0a.js} +533 -180
- package/dist/esm/send-media-04f7ca0a.js.map +1 -0
- package/dist/esm/share-popup.entry.js +1 -1
- package/dist/esm/signup-page.entry.js +2 -2
- package/dist/esm/spinner-loader.entry.js +1 -1
- package/dist/esm/storage-quota-6329fabe.js +578 -0
- package/dist/esm/storage-quota-6329fabe.js.map +1 -0
- package/dist/esm/toast-f681e916.js +157 -0
- package/dist/esm/toast-f681e916.js.map +1 -0
- package/dist/isometrik-webchat/index.esm.js +1 -1
- package/dist/isometrik-webchat/index.esm.js.map +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js.map +1 -1
- package/dist/isometrik-webchat/p-0161f40b.js +2 -0
- package/dist/isometrik-webchat/p-0161f40b.js.map +1 -0
- package/dist/isometrik-webchat/{p-d892b4d4.entry.js → p-02db2116.entry.js} +2 -2
- package/dist/isometrik-webchat/p-03933431.entry.js +2 -0
- package/dist/isometrik-webchat/{p-352b589e.entry.js.map → p-03933431.entry.js.map} +1 -1
- package/dist/isometrik-webchat/{p-c591fa45.js → p-04fdbd0a.js} +2 -2
- package/dist/isometrik-webchat/p-0bb42151.entry.js +2 -0
- package/dist/isometrik-webchat/p-0bb42151.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-c5bff6a1.entry.js → p-119fc683.entry.js} +2 -2
- package/dist/isometrik-webchat/p-19d37e1f.js +2 -0
- package/dist/isometrik-webchat/p-19d37e1f.js.map +1 -0
- package/dist/isometrik-webchat/{p-925decda.js → p-1dc52239.js} +2 -2
- package/dist/isometrik-webchat/p-1f0e8230.entry.js +2 -0
- package/dist/isometrik-webchat/p-1f0e8230.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-7b25f234.entry.js → p-35f2b9ae.entry.js} +2 -2
- package/dist/isometrik-webchat/p-3a0409fc.js +2 -0
- package/dist/isometrik-webchat/p-3a0409fc.js.map +1 -0
- package/dist/isometrik-webchat/{p-9982fa21.js → p-3dca1e56.js} +2 -2
- package/dist/isometrik-webchat/p-3dca1e56.js.map +1 -0
- package/dist/isometrik-webchat/p-40217f22.js +2 -0
- package/dist/isometrik-webchat/p-40217f22.js.map +1 -0
- package/dist/isometrik-webchat/{p-3b3dc33e.js → p-46be73c5.js} +2 -2
- package/dist/isometrik-webchat/p-56521ea4.entry.js +2 -0
- package/dist/isometrik-webchat/{p-f7d05551.entry.js → p-57f97cef.entry.js} +2 -2
- package/dist/isometrik-webchat/p-5f7eebbf.entry.js +2 -0
- package/dist/isometrik-webchat/p-605cb14e.entry.js +2 -0
- package/dist/isometrik-webchat/p-605cb14e.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-640e2c03.entry.js +2 -0
- package/dist/isometrik-webchat/p-69d953cb.entry.js +2 -0
- package/dist/isometrik-webchat/p-69d953cb.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-6c5eb178.js +2 -0
- package/dist/isometrik-webchat/{p-d8b65cf4.entry.js → p-6eadaa6c.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-161fcb35.entry.js → p-7130f547.entry.js} +2 -2
- package/dist/isometrik-webchat/p-782d1bd2.js +2 -0
- package/dist/isometrik-webchat/p-782d1bd2.js.map +1 -0
- package/dist/isometrik-webchat/p-8142a54d.js +2 -0
- package/dist/isometrik-webchat/p-8142a54d.js.map +1 -0
- package/dist/isometrik-webchat/{p-cbb1179b.entry.js → p-89a8fc58.entry.js} +2 -2
- package/dist/isometrik-webchat/p-8f17345f.js +7 -0
- package/dist/isometrik-webchat/p-8f17345f.js.map +1 -0
- package/dist/isometrik-webchat/p-991d5437.js +2 -0
- package/dist/isometrik-webchat/p-991d5437.js.map +1 -0
- package/dist/isometrik-webchat/p-9b70e93f.entry.js +2 -0
- package/dist/isometrik-webchat/p-a5faa465.entry.js +2 -0
- package/dist/isometrik-webchat/p-a5faa465.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-a83932d4.js +2 -0
- package/dist/isometrik-webchat/p-a83932d4.js.map +1 -0
- package/dist/isometrik-webchat/p-b0f6f9ab.entry.js +2 -0
- package/dist/isometrik-webchat/p-b0f6f9ab.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-3664e0ad.entry.js → p-b431d864.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-0ccfbe90.entry.js → p-b516938b.entry.js} +2 -2
- package/dist/isometrik-webchat/p-be09cdc8.js +2 -0
- package/dist/isometrik-webchat/p-be09cdc8.js.map +1 -0
- package/dist/isometrik-webchat/{p-5b965e04.js → p-c4b7babb.js} +2 -2
- package/dist/isometrik-webchat/{p-5b965e04.js.map → p-c4b7babb.js.map} +1 -1
- package/dist/isometrik-webchat/p-d0f6679d.entry.js +2 -0
- package/dist/isometrik-webchat/p-d0f6679d.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-d44c612a.entry.js +2 -0
- package/dist/isometrik-webchat/p-dc963574.entry.js +2 -0
- package/dist/isometrik-webchat/{p-5d1877d1.entry.js.map → p-dc963574.entry.js.map} +1 -1
- package/dist/isometrik-webchat/p-eb1f3118.entry.js +2 -0
- package/dist/isometrik-webchat/p-f18fa23d.js +2 -0
- package/dist/isometrik-webchat/p-f18fa23d.js.map +1 -0
- package/dist/isometrik-webchat/{p-08ba6153.entry.js → p-f5502a63.entry.js} +2 -2
- package/dist/types/components/ChatUIComponent/ChatOwnProfile/Profile.d.ts +2 -0
- package/dist/types/components/ChatUIComponent/ChatSidebar/ChatSidebar.d.ts +10 -0
- package/dist/types/components/ChatUIComponent/Footer/ChatFooter.d.ts +3 -0
- package/dist/types/components/ChatUIComponent/Header/WebChatHeader.d.ts +3 -0
- package/dist/types/components/ChatUIComponent/WebChatBody/WebChatBody.d.ts +5 -0
- package/dist/types/components/ChatUIComponent/shared/ForwardMessageList/ForwardMessageList.d.ts +5 -2
- package/dist/types/components/ChatUIComponent/shared/chat-tile/chat-tile.d.ts +4 -1
- package/dist/types/components/ChatUIComponent/shared/contact-info/contact-info.d.ts +8 -22
- package/dist/types/components/ChatUIComponent/shared/image-message/image-message.d.ts +5 -0
- package/dist/types/components/ChatUIComponent/shared/info-panel-media/info-panel-media.d.ts +45 -0
- package/dist/types/components/ChatUIComponent/shared/media-gallery/media-gallery.d.ts +1 -0
- package/dist/types/components/ChatUIComponent/shared/profile-info/profile-info.d.ts +8 -0
- package/dist/types/components/ChatUIComponent/shared/reply-message-container/reply-message-container.d.ts +3 -0
- package/dist/types/components/ChatUIComponent/shared/storage/storage-manager.d.ts +17 -0
- package/dist/types/components/ChatUIComponent/shared/video-message/video-message.d.ts +3 -0
- package/dist/types/components/my-component/web-chat/WebChat.d.ts +22 -0
- package/dist/types/components/my-component/web-chat/WebchatRightSide.d.ts +7 -0
- package/dist/types/components/my-component/web-chat/conversation-ops.d.ts +10 -2
- package/dist/types/components/my-component/web-chat/event-handlers.d.ts +5 -0
- package/dist/types/components/my-component/web-chat/mutations.d.ts +2 -2
- package/dist/types/components.d.ts +133 -2
- package/dist/types/lib/chat/block-status.d.ts +11 -0
- package/dist/types/lib/chat/clipboard-paste.d.ts +16 -0
- package/dist/types/lib/chat/download-media.d.ts +11 -0
- package/dist/types/lib/chat/index.d.ts +6 -2
- package/dist/types/lib/chat/same-name-upload.d.ts +24 -0
- package/dist/types/lib/chat/send-media.d.ts +90 -0
- package/dist/types/lib/chat/storage-quota.d.ts +98 -0
- package/dist/types/lib/custom-ui/public-api.d.ts +1 -1
- package/dist/types/lib/drawer.d.ts +1 -0
- package/dist/types/sdk/headless-api.d.ts +7 -0
- package/dist/types/sdk/index.d.ts +1 -0
- package/dist/types/sdk/webchat-api.d.ts +14 -0
- package/dist/types/store/storage-quota.d.ts +64 -0
- package/docs/MEDIA_STORAGE_QUOTA.md +130 -0
- package/package.json +3 -2
- package/dist/cjs/attachment-preview_22.cjs.entry.js.map +0 -1
- package/dist/cjs/content-ebca062a.js.map +0 -1
- package/dist/cjs/drawer-00a2323a.js.map +0 -1
- package/dist/cjs/group-members-cef1198e.js.map +0 -1
- package/dist/cjs/groupcast-8441b4df.js.map +0 -1
- package/dist/cjs/helpers-154861e9.js.map +0 -1
- package/dist/cjs/link-preview.cjs.entry.js +0 -49
- package/dist/cjs/link-preview.cjs.entry.js.map +0 -1
- package/dist/cjs/local-notification-bdd04d7a.js.map +0 -1
- package/dist/cjs/runtime-controls-cfc8fc31.js.map +0 -1
- package/dist/cjs/send-media-4ee967d4.js.map +0 -1
- package/dist/components/group-members2.js +0 -37
- package/dist/components/group-members2.js.map +0 -1
- package/dist/esm/attachment-preview_22.entry.js.map +0 -1
- package/dist/esm/content-fb138a93.js.map +0 -1
- package/dist/esm/drawer-7de04622.js.map +0 -1
- package/dist/esm/group-members-7909941c.js.map +0 -1
- package/dist/esm/groupcast-5fb19ec3.js.map +0 -1
- package/dist/esm/helpers-f33b895c.js.map +0 -1
- package/dist/esm/link-preview.entry.js +0 -45
- package/dist/esm/link-preview.entry.js.map +0 -1
- package/dist/esm/local-notification-4c1e166d.js.map +0 -1
- package/dist/esm/runtime-controls-ff81e90a.js.map +0 -1
- package/dist/esm/send-media-58e7145b.js.map +0 -1
- package/dist/isometrik-webchat/p-09980c53.entry.js +0 -2
- package/dist/isometrik-webchat/p-09980c53.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-1eecc7c5.entry.js +0 -2
- package/dist/isometrik-webchat/p-1eecc7c5.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-2cf296e6.entry.js +0 -2
- package/dist/isometrik-webchat/p-2e9974e1.entry.js +0 -2
- package/dist/isometrik-webchat/p-343f50b4.js +0 -7
- package/dist/isometrik-webchat/p-343f50b4.js.map +0 -1
- package/dist/isometrik-webchat/p-352b589e.entry.js +0 -2
- package/dist/isometrik-webchat/p-44da28d3.entry.js +0 -2
- package/dist/isometrik-webchat/p-44da28d3.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-48ce4dca.entry.js +0 -2
- package/dist/isometrik-webchat/p-52a575c0.entry.js +0 -2
- package/dist/isometrik-webchat/p-52a575c0.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-5cfb953d.js +0 -2
- package/dist/isometrik-webchat/p-5cfb953d.js.map +0 -1
- package/dist/isometrik-webchat/p-5d1877d1.entry.js +0 -2
- package/dist/isometrik-webchat/p-6f5037b2.js +0 -2
- package/dist/isometrik-webchat/p-6f5037b2.js.map +0 -1
- package/dist/isometrik-webchat/p-78fb47c4.js +0 -2
- package/dist/isometrik-webchat/p-78fb47c4.js.map +0 -1
- package/dist/isometrik-webchat/p-9982fa21.js.map +0 -1
- package/dist/isometrik-webchat/p-a9efcf1c.entry.js +0 -2
- package/dist/isometrik-webchat/p-a9efcf1c.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-ad02a8ca.entry.js +0 -2
- package/dist/isometrik-webchat/p-b0baa9ad.entry.js +0 -2
- package/dist/isometrik-webchat/p-b0baa9ad.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-b385ac4b.js +0 -2
- package/dist/isometrik-webchat/p-b385ac4b.js.map +0 -1
- package/dist/isometrik-webchat/p-c83e2d5d.entry.js +0 -2
- package/dist/isometrik-webchat/p-d758e431.js +0 -2
- package/dist/isometrik-webchat/p-d864bb9f.entry.js +0 -2
- package/dist/isometrik-webchat/p-d864bb9f.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-dab06d54.js +0 -2
- package/dist/isometrik-webchat/p-dab06d54.js.map +0 -1
- package/dist/isometrik-webchat/p-e40e8866.js +0 -2
- package/dist/isometrik-webchat/p-e40e8866.js.map +0 -1
- package/dist/isometrik-webchat/p-e48a1217.entry.js +0 -2
- /package/dist/isometrik-webchat/{p-d892b4d4.entry.js.map → p-02db2116.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-c591fa45.js.map → p-04fdbd0a.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-c5bff6a1.entry.js.map → p-119fc683.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-925decda.js.map → p-1dc52239.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-7b25f234.entry.js.map → p-35f2b9ae.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-3b3dc33e.js.map → p-46be73c5.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-2cf296e6.entry.js.map → p-56521ea4.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-f7d05551.entry.js.map → p-57f97cef.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-ad02a8ca.entry.js.map → p-5f7eebbf.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-c83e2d5d.entry.js.map → p-640e2c03.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-d758e431.js.map → p-6c5eb178.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-d8b65cf4.entry.js.map → p-6eadaa6c.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-161fcb35.entry.js.map → p-7130f547.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-cbb1179b.entry.js.map → p-89a8fc58.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-e48a1217.entry.js.map → p-9b70e93f.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-3664e0ad.entry.js.map → p-b431d864.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-0ccfbe90.entry.js.map → p-b516938b.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-48ce4dca.entry.js.map → p-d44c612a.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-2e9974e1.entry.js.map → p-eb1f3118.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-08ba6153.entry.js.map → p-f5502a63.entry.js.map} +0 -0
package/dist/types/components/ChatUIComponent/shared/ForwardMessageList/ForwardMessageList.d.ts
CHANGED
|
@@ -13,18 +13,21 @@ export declare class MemberAdd {
|
|
|
13
13
|
onClose: () => void;
|
|
14
14
|
private debounceTimer;
|
|
15
15
|
componentDidLoad(): Promise<void>;
|
|
16
|
+
private recentConversations;
|
|
17
|
+
/** Non-blocked users from API, excluding anyone already listed under recent chats. */
|
|
18
|
+
private otherNonBlockedUsers;
|
|
16
19
|
private close;
|
|
17
20
|
private nameOf;
|
|
18
21
|
private idOf;
|
|
19
22
|
private imageOf;
|
|
20
23
|
private subOf;
|
|
21
|
-
private
|
|
24
|
+
private renderRow;
|
|
22
25
|
private isSelected;
|
|
23
26
|
private toggle;
|
|
24
27
|
private clearSelected;
|
|
25
28
|
private onSearch;
|
|
26
29
|
private onScroll;
|
|
27
|
-
getForwardMessageMemberList: (searchTag?: string, skip?: number) => Promise<void>;
|
|
30
|
+
getForwardMessageMemberList: (searchTag?: string | null, skip?: number) => Promise<void>;
|
|
28
31
|
postMessageForward: (messageBody: any, userIds?: string[], conversationIds?: string[], attachments?: any, customType?: string) => Promise<void>;
|
|
29
32
|
sendMessageHandler(): Promise<void>;
|
|
30
33
|
render(): any;
|
|
@@ -59,6 +59,8 @@ export declare class ChatTile {
|
|
|
59
59
|
mediaType: number;
|
|
60
60
|
mediaLabel: string;
|
|
61
61
|
isGroup: boolean;
|
|
62
|
+
/** When true, tile menu shows Unblock and emits unblock (see isDmBlockedByCurrentUser). */
|
|
63
|
+
isBlockedByMe: boolean;
|
|
62
64
|
conversationId: string;
|
|
63
65
|
onClick: (e: Event) => void;
|
|
64
66
|
onContextmenu: (e: Event) => void;
|
|
@@ -71,7 +73,7 @@ export declare class ChatTile {
|
|
|
71
73
|
left: number;
|
|
72
74
|
} | null;
|
|
73
75
|
tileMenu: EventEmitter<{
|
|
74
|
-
action: 'block' | 'clear' | 'delete';
|
|
76
|
+
action: 'block' | 'unblock' | 'clear' | 'delete' | 'exit';
|
|
75
77
|
conversationId: string;
|
|
76
78
|
}>;
|
|
77
79
|
onDocClick(e: MouseEvent): void;
|
|
@@ -80,5 +82,6 @@ export declare class ChatTile {
|
|
|
80
82
|
private previewText;
|
|
81
83
|
private toggleMenu;
|
|
82
84
|
private emitAction;
|
|
85
|
+
private emitBlockToggle;
|
|
83
86
|
render(): any;
|
|
84
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import '../profile-avatar/profile-avatar';
|
|
3
|
-
import '../
|
|
3
|
+
import '../info-panel-media/info-panel-media';
|
|
4
4
|
export declare class ContactInfo {
|
|
5
5
|
el: HTMLElement;
|
|
6
6
|
padding: any;
|
|
@@ -55,12 +55,7 @@ export declare class ContactInfo {
|
|
|
55
55
|
groupcastId: any;
|
|
56
56
|
groupcastMembers: any;
|
|
57
57
|
closeContactInfo: any;
|
|
58
|
-
|
|
59
|
-
mediaTab: 'media' | 'docs' | 'links';
|
|
60
|
-
galleryIndex: number;
|
|
61
|
-
mediaItems: any[];
|
|
62
|
-
docItems: any[];
|
|
63
|
-
previewTry: Record<string, number>;
|
|
58
|
+
infoMediaListOpen: boolean;
|
|
64
59
|
memberMenuUserId: string | null;
|
|
65
60
|
titleEditing: boolean;
|
|
66
61
|
titleDraft: string;
|
|
@@ -68,14 +63,15 @@ export declare class ContactInfo {
|
|
|
68
63
|
pushNotificationsEnabled: boolean;
|
|
69
64
|
pushNotificationsSaving: boolean;
|
|
70
65
|
private imageFileInput?;
|
|
66
|
+
private mediaPanelRef?;
|
|
71
67
|
closeRightSidebar: EventEmitter<{
|
|
72
68
|
type: string;
|
|
73
69
|
}>;
|
|
74
|
-
onAttachmentsChange(): void;
|
|
75
70
|
componentWillLoad(): void;
|
|
76
71
|
onConversationMetaForPush(): void;
|
|
77
72
|
private syncPushNotificationsFromMeta;
|
|
78
73
|
private togglePushNotifications;
|
|
74
|
+
private onMediaListOpenChange;
|
|
79
75
|
private close;
|
|
80
76
|
private emitAction;
|
|
81
77
|
private confirmClearChat;
|
|
@@ -97,22 +93,12 @@ export declare class ContactInfo {
|
|
|
97
93
|
private toggleMemberMenu;
|
|
98
94
|
private closeMemberMenu;
|
|
99
95
|
private emitMemberEvent;
|
|
96
|
+
/** Opens member profile in the right rail (reuses open-right-Sidebar → profile-info). */
|
|
97
|
+
private openMemberProfile;
|
|
98
|
+
private onMemberRowClick;
|
|
99
|
+
private onMemberRowKeyDown;
|
|
100
100
|
private confirmMakeAdmin;
|
|
101
101
|
private confirmRemoveAdmin;
|
|
102
102
|
private confirmRemoveMember;
|
|
103
|
-
private previewKey;
|
|
104
|
-
private shownSrc;
|
|
105
|
-
private onPreviewError;
|
|
106
|
-
private attUrl;
|
|
107
|
-
private isVideo;
|
|
108
|
-
private docIcon;
|
|
109
|
-
private linkUrl;
|
|
110
|
-
private extractAttachments;
|
|
111
|
-
private openMediaList;
|
|
112
|
-
private switchTab;
|
|
113
|
-
private groupByMonth;
|
|
114
|
-
private formatSize;
|
|
115
|
-
private renderMediaListBody;
|
|
116
|
-
private renderGallery;
|
|
117
103
|
render(): any;
|
|
118
104
|
}
|
|
@@ -5,6 +5,10 @@ export declare class ImageMessage {
|
|
|
5
5
|
borderRadius: string;
|
|
6
6
|
padding: string;
|
|
7
7
|
imageSrc: string;
|
|
8
|
+
/** Full-size URL for download (defaults to imageSrc). */
|
|
9
|
+
downloadUrl: string;
|
|
10
|
+
downloadFileName: string;
|
|
11
|
+
mimeType: string;
|
|
8
12
|
message: string;
|
|
9
13
|
height: string;
|
|
10
14
|
width: string;
|
|
@@ -36,5 +40,6 @@ export declare class ImageMessage {
|
|
|
36
40
|
userName?: string;
|
|
37
41
|
}>;
|
|
38
42
|
private openGallery;
|
|
43
|
+
private downloadPreview;
|
|
39
44
|
render(): any;
|
|
40
45
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared “Media, links and docs” block for contact-info and profile-info.
|
|
3
|
+
* Keeps preview row, full tabbed list, and gallery overlay in one place.
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
6
|
+
import '../link-preview/link-preview';
|
|
7
|
+
export declare class InfoPanelMedia {
|
|
8
|
+
el: HTMLElement;
|
|
9
|
+
allAttachments: any[];
|
|
10
|
+
allLinks: any;
|
|
11
|
+
allLinksCount: number;
|
|
12
|
+
conversationId: any;
|
|
13
|
+
mediaListOpen: boolean;
|
|
14
|
+
mediaTab: 'media' | 'docs' | 'links';
|
|
15
|
+
galleryIndex: number;
|
|
16
|
+
mediaItems: any[];
|
|
17
|
+
docItems: any[];
|
|
18
|
+
previewTry: Record<string, number>;
|
|
19
|
+
mediaListOpenChange: EventEmitter<{
|
|
20
|
+
open: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
onAttachmentsChange(): void;
|
|
23
|
+
componentWillLoad(): void;
|
|
24
|
+
/** Parent panels call before closing the drawer (e.g. contact-info back). */
|
|
25
|
+
isMediaListOpen(): Promise<boolean>;
|
|
26
|
+
closeMediaList(): Promise<void>;
|
|
27
|
+
private setMediaListOpen;
|
|
28
|
+
private extractAttachments;
|
|
29
|
+
private previewKey;
|
|
30
|
+
private shownSrc;
|
|
31
|
+
private onPreviewError;
|
|
32
|
+
private attUrl;
|
|
33
|
+
private isVideo;
|
|
34
|
+
private docIcon;
|
|
35
|
+
private linkUrl;
|
|
36
|
+
private openMediaList;
|
|
37
|
+
private closeMediaListInternal;
|
|
38
|
+
private switchTab;
|
|
39
|
+
private groupByMonth;
|
|
40
|
+
private formatSize;
|
|
41
|
+
private renderMediaListBody;
|
|
42
|
+
private downloadGalleryItem;
|
|
43
|
+
private renderGallery;
|
|
44
|
+
render(): any;
|
|
45
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import '../info-panel-media/info-panel-media';
|
|
1
2
|
export declare class ProfileInfo {
|
|
3
|
+
el: HTMLElement;
|
|
2
4
|
padding: any;
|
|
3
5
|
margin: any;
|
|
4
6
|
width: any;
|
|
@@ -50,6 +52,12 @@ export declare class ProfileInfo {
|
|
|
50
52
|
isBlocked: any;
|
|
51
53
|
conversationMetaData: any;
|
|
52
54
|
closeContactInfo: any;
|
|
55
|
+
/** When true, back returns to group contact-info instead of closing the rail. */
|
|
56
|
+
fromContactInfo: boolean;
|
|
57
|
+
infoMediaListOpen: boolean;
|
|
58
|
+
private onMediaListOpenChange;
|
|
53
59
|
private close;
|
|
60
|
+
private canMessage;
|
|
61
|
+
private openMessage;
|
|
54
62
|
render(): any;
|
|
55
63
|
}
|
|
@@ -37,6 +37,8 @@ export declare class ReplyMessageContainer {
|
|
|
37
37
|
parentMessageSenderName: string;
|
|
38
38
|
isSelf: boolean;
|
|
39
39
|
onMediaClick: (e: Event) => void;
|
|
40
|
+
/** Scroll / navigate to the quoted parent message (wired from WebChatBody). */
|
|
41
|
+
onQuoteClick: (parentMessageId: string, event: Event) => void;
|
|
40
42
|
allAttachments: any[];
|
|
41
43
|
showEmojiReactions: boolean;
|
|
42
44
|
reactions: Record<string, string[]>;
|
|
@@ -47,5 +49,6 @@ export declare class ReplyMessageContainer {
|
|
|
47
49
|
selectedEmojiToRemove: any;
|
|
48
50
|
showAllReactionsPopup: boolean;
|
|
49
51
|
showReactionOnHover: boolean;
|
|
52
|
+
private handleQuoteClick;
|
|
50
53
|
render(): any;
|
|
51
54
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '../spinner-loader/spinner-loader';
|
|
2
|
+
export declare class WebChatStorage {
|
|
3
|
+
goBack: () => void;
|
|
4
|
+
conversationId: string;
|
|
5
|
+
version: number;
|
|
6
|
+
private unsubscribe?;
|
|
7
|
+
componentWillLoad(): void;
|
|
8
|
+
disconnectedCallback(): void;
|
|
9
|
+
private onScroll;
|
|
10
|
+
private typeLabel;
|
|
11
|
+
private renderUsage;
|
|
12
|
+
private renderToolbar;
|
|
13
|
+
private renderRow;
|
|
14
|
+
private renderList;
|
|
15
|
+
private renderSelectionBar;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -6,6 +6,7 @@ export declare class VideoMessage {
|
|
|
6
6
|
borderRadius: string;
|
|
7
7
|
padding: string;
|
|
8
8
|
videoSrc: string;
|
|
9
|
+
downloadFileName: string;
|
|
9
10
|
/** Poster / thumbnail frame (from attachment.thumbnailUrl). */
|
|
10
11
|
poster: string;
|
|
11
12
|
videoType: string;
|
|
@@ -40,5 +41,7 @@ export declare class VideoMessage {
|
|
|
40
41
|
private pauseVideo;
|
|
41
42
|
private toggle;
|
|
42
43
|
private fullscreen;
|
|
44
|
+
private resolveVideoUrl;
|
|
45
|
+
private downloadVideo;
|
|
43
46
|
render(): any;
|
|
44
47
|
}
|
|
@@ -186,6 +186,13 @@ export declare class WebChat {
|
|
|
186
186
|
activeTab: string;
|
|
187
187
|
showRightSideBar: boolean;
|
|
188
188
|
conversationIdFromContactinfo: string;
|
|
189
|
+
profileOpenedFromContactInfo: boolean;
|
|
190
|
+
pendingProfileMember: {
|
|
191
|
+
userId: string;
|
|
192
|
+
userName: string;
|
|
193
|
+
userProfileImageUrl?: string;
|
|
194
|
+
userIdentifier?: string;
|
|
195
|
+
} | null;
|
|
189
196
|
private chatBodyRef;
|
|
190
197
|
private conversationDetailsInterval;
|
|
191
198
|
exitedGroupIds: Set<string>;
|
|
@@ -257,6 +264,20 @@ export declare class WebChat {
|
|
|
257
264
|
isMqttConnected: boolean;
|
|
258
265
|
unreadConversationsCount: number;
|
|
259
266
|
}>;
|
|
267
|
+
/** Public: server-authoritative media storage usage (null until ready). */
|
|
268
|
+
getStorageUsage(forceRefresh?: boolean): Promise<import("../../../lib/chat/storage-quota").StorageUsage>;
|
|
269
|
+
/** Public: list the user's charged media (newest first). */
|
|
270
|
+
getStorageMedia(opts?: {
|
|
271
|
+
conversationId?: string;
|
|
272
|
+
limit?: number;
|
|
273
|
+
skip?: number;
|
|
274
|
+
}): Promise<import("../../../lib/chat/storage-quota").QuotaMediaResponse>;
|
|
275
|
+
/** Public: delete the messages that own `mediaIds` (for everyone) + free bytes. */
|
|
276
|
+
deleteStorageMedia(mediaIds: string[]): Promise<import("../../../lib/chat/storage-quota").MediaDeleteResult>;
|
|
277
|
+
/** Public: delete every file this user sent in a conversation (for everyone). */
|
|
278
|
+
deleteConversationStorageMedia(conversationId: string): Promise<import("../../../lib/chat/storage-quota").MediaDeleteResult>;
|
|
279
|
+
/** Public: open the built-in Manage Storage panel (optionally scoped). */
|
|
280
|
+
openStorageManagement(conversationId?: string): Promise<void>;
|
|
260
281
|
handleMessageSearchTextChange: (e: CustomEvent<string>) => void;
|
|
261
282
|
getCookie: (name: string) => string;
|
|
262
283
|
userTokenFromCookie: string;
|
|
@@ -323,6 +344,7 @@ export declare class WebChat {
|
|
|
323
344
|
handleSearchResultClick: (messageId: string) => Promise<void>;
|
|
324
345
|
handleGroupExited(event: CustomEvent): void;
|
|
325
346
|
handleTaguserClick(event: CustomEvent): void;
|
|
347
|
+
handleMemberMessageClicked(event: CustomEvent): Promise<void>;
|
|
326
348
|
createConversation(selectedContactId: string, selectedContactName: string): Promise<void>;
|
|
327
349
|
handleContactAction(event: CustomEvent): void;
|
|
328
350
|
handleChatTileScrolledToBottom(): void;
|
|
@@ -31,6 +31,13 @@ export declare class WebChatRightSide {
|
|
|
31
31
|
allLinksCount: number;
|
|
32
32
|
isBlocked: boolean | string;
|
|
33
33
|
groupcastMembers: any;
|
|
34
|
+
profileOpenedFromContactInfo: boolean;
|
|
35
|
+
pendingProfileMember: {
|
|
36
|
+
userId?: string;
|
|
37
|
+
userName?: string;
|
|
38
|
+
userProfileImageUrl?: string;
|
|
39
|
+
userIdentifier?: string;
|
|
40
|
+
} | null;
|
|
34
41
|
handleRemoveAdmin(event: CustomEvent): Promise<void>;
|
|
35
42
|
handleMakeAdmin(event: CustomEvent): Promise<void>;
|
|
36
43
|
handleEditGroupTitle: (conversationTitle: string, conversationId: string) => Promise<void>;
|
|
@@ -4,14 +4,22 @@ export declare function apiDeleteConversation(conversationId: string): Promise<v
|
|
|
4
4
|
export declare function removeConversationFromList(list: any[], conversationId: string): any[];
|
|
5
5
|
export declare function apiBlockUser(opponentId: string): Promise<void>;
|
|
6
6
|
export declare function apiUnblockUser(opponentId: string): Promise<void>;
|
|
7
|
+
/** Optimistic row update after block/unblock (matches MQTT lastMessageDetails shape). */
|
|
8
|
+
export declare function patchListAfterBlockToggle(list: any[], opts: {
|
|
9
|
+
conversationId: string;
|
|
10
|
+
userId: string;
|
|
11
|
+
userName: string;
|
|
12
|
+
opponentName: string;
|
|
13
|
+
blocked: boolean;
|
|
14
|
+
}): any[];
|
|
7
15
|
export declare function apiDeleteMessageSelf(payload: {
|
|
8
16
|
conversationId: string;
|
|
9
17
|
messageIds: string;
|
|
10
|
-
}): Promise<
|
|
18
|
+
}): Promise<import("test-iso-chat-sdk/dist/message/types").successResponseDeleteMessages>;
|
|
11
19
|
export declare function apiDeleteMessageEveryone(payload: {
|
|
12
20
|
conversationId: string;
|
|
13
21
|
messageIds: string;
|
|
14
|
-
}): Promise<
|
|
22
|
+
}): Promise<import("test-iso-chat-sdk/dist/message/types").successResponseDeleteMessages>;
|
|
15
23
|
export declare function removeMessageById(messages: any[], messageId: string): any[];
|
|
16
24
|
/** After deleting a message, fix lastMessageDetails on the conversation row if needed. */
|
|
17
25
|
export declare function patchListAfterMessageDelete(list: any[], remainingMessages: any[], payload: {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export type WebChatEventsHost = Record<string, any>;
|
|
2
2
|
export declare function hostRemoveMemberClicked(host: WebChatEventsHost, event: any): Promise<void>;
|
|
3
3
|
export declare function hostMembersListScrolledToBottom(host: WebChatEventsHost, event: any): Promise<void>;
|
|
4
|
+
/** Contact info, profile info, message search — closes the right rail without a DOM event. */
|
|
5
|
+
export declare function hostDismissRightSidebar(host: WebChatEventsHost): void;
|
|
4
6
|
export declare function hostCloseRightSidebar(host: WebChatEventsHost, event: CustomEvent): void;
|
|
5
7
|
export declare function hostCloseContactInfo(host: WebChatEventsHost, event: CustomEvent): void;
|
|
8
|
+
/** Clears shell Message Info state and syncs web-chat-body (read receipts dock). */
|
|
9
|
+
export declare function hostCloseMessageInfoPanel(host: WebChatEventsHost): void;
|
|
6
10
|
export declare function hostOpenRightSidebar(host: WebChatEventsHost, event: CustomEvent): Promise<void>;
|
|
7
11
|
export declare function hostGetConversationId(host: WebChatEventsHost, selectedContactId: string, selectedContactName: string): Promise<void>;
|
|
8
12
|
export declare function hostSelectedConversationChange(host: WebChatEventsHost, newValue: string | null): Promise<void>;
|
|
@@ -12,4 +16,5 @@ export declare function hostDeleteGroupcast(host: WebChatEventsHost, e: any): Pr
|
|
|
12
16
|
export declare function hostGroupExited(host: WebChatEventsHost, event: CustomEvent): void;
|
|
13
17
|
export declare function hostTagUserClick(host: WebChatEventsHost, event: CustomEvent): void;
|
|
14
18
|
export declare function hostCreateDmAndSelect(host: WebChatEventsHost, selectedContactId: string, selectedContactName: string): Promise<void>;
|
|
19
|
+
export declare function hostMemberMessageClicked(host: WebChatEventsHost, event: CustomEvent): Promise<void>;
|
|
15
20
|
export declare function hostFindBlockedUser(host: WebChatEventsHost): Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type WebChatMutationsHost = Record<string, any>;
|
|
2
2
|
export declare function hostClearConversation(host: WebChatMutationsHost, conversationId?: string): Promise<void>;
|
|
3
3
|
export declare function hostDeleteConversation(host: WebChatMutationsHost, conversationId: string): Promise<void>;
|
|
4
|
-
export declare function hostBlockUser(host: WebChatMutationsHost,
|
|
5
|
-
export declare function hostUnblockUser(host: WebChatMutationsHost,
|
|
4
|
+
export declare function hostBlockUser(host: WebChatMutationsHost, opponentId: string, userName: string): Promise<void>;
|
|
5
|
+
export declare function hostUnblockUser(host: WebChatMutationsHost, opponentId: string, userName: string): Promise<void>;
|
|
6
6
|
export declare function hostDeleteMessageSelf(host: WebChatMutationsHost, payload: {
|
|
7
7
|
conversationId: string;
|
|
8
8
|
messageIds: string;
|