isometrik-plugin-chat-sdk 2.0.12 → 2.0.14
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/{app-globals-c433d8a6.js → app-globals-95486d77.js} +2 -2
- package/dist/cjs/{app-globals-c433d8a6.js.map → app-globals-95486d77.js.map} +1 -1
- package/dist/cjs/attachment-preview_22.cjs.entry.js +65 -57
- package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
- package/dist/cjs/audio-bubble_4.cjs.entry.js +3 -2
- package/dist/cjs/audio-bubble_4.cjs.entry.js.map +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/isometrik-webchat.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/login-page_3.cjs.entry.js +88 -35
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{runtime-controls-95f6cb3b.js → runtime-controls-959fe6ed.js} +4 -2
- package/dist/cjs/runtime-controls-959fe6ed.js.map +1 -0
- package/dist/cjs/{send-media-37e09e83.js → send-media-2dadbb03.js} +98 -19
- package/dist/cjs/send-media-2dadbb03.js.map +1 -0
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js +53 -12
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js +12 -32
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/Header/WebChatHeader.js +11 -6
- package/dist/collection/components/ChatUIComponent/Header/WebChatHeader.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js +5 -5
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/GroupCast/GroupCast.js +2 -2
- package/dist/collection/components/ChatUIComponent/shared/GroupCast/GroupCast.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/video-message/video-message.js +21 -2
- package/dist/collection/components/ChatUIComponent/shared/video-message/video-message.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/WebChat.js +19 -0
- package/dist/collection/components/my-component/web-chat/WebChat.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/data-fetch.js +13 -3
- package/dist/collection/components/my-component/web-chat/data-fetch.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js.map +1 -1
- package/dist/collection/lib/chat/index.js +1 -1
- package/dist/collection/lib/chat/index.js.map +1 -1
- package/dist/collection/lib/chat/send-media.js +96 -18
- package/dist/collection/lib/chat/send-media.js.map +1 -1
- package/dist/collection/lib/mqtt/dispatch.js +56 -31
- package/dist/collection/lib/mqtt/dispatch.js.map +1 -1
- package/dist/collection/lib/mqtt/index.js +1 -1
- package/dist/collection/lib/mqtt/index.js.map +1 -1
- package/dist/collection/lib/mqtt/types.js +17 -0
- package/dist/collection/lib/mqtt/types.js.map +1 -1
- package/dist/collection/sdk/init.js +2 -0
- package/dist/collection/sdk/init.js.map +1 -1
- package/dist/components/ChatFooter.js +12 -32
- package/dist/components/ChatFooter.js.map +1 -1
- package/dist/components/ChatSidebar.js +36 -12
- package/dist/components/ChatSidebar.js.map +1 -1
- package/dist/components/GroupCast2.js +2 -2
- package/dist/components/GroupCast2.js.map +1 -1
- package/dist/components/WebChat.js +88 -34
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/WebChatBody.js +6 -6
- package/dist/components/WebChatBody.js.map +1 -1
- package/dist/components/WebChatHeader.js +11 -6
- package/dist/components/WebChatHeader.js.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/send-media.js +97 -19
- package/dist/components/send-media.js.map +1 -1
- package/dist/components/video-message2.js +4 -2
- package/dist/components/video-message2.js.map +1 -1
- package/dist/esm/{app-globals-dfce8a5b.js → app-globals-879c137f.js} +2 -2
- package/dist/esm/{app-globals-dfce8a5b.js.map → app-globals-879c137f.js.map} +1 -1
- package/dist/esm/attachment-preview_22.entry.js +65 -57
- package/dist/esm/attachment-preview_22.entry.js.map +1 -1
- package/dist/esm/audio-bubble_4.entry.js +3 -2
- package/dist/esm/audio-bubble_4.entry.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/isometrik-webchat.js +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/login-page_3.entry.js +88 -35
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/esm/{runtime-controls-ec6d5c75.js → runtime-controls-6b7c852a.js} +4 -2
- package/dist/esm/runtime-controls-6b7c852a.js.map +1 -0
- package/dist/esm/{send-media-a946c6dd.js → send-media-ac360d8e.js} +98 -20
- package/dist/esm/send-media-ac360d8e.js.map +1 -0
- package/dist/isometrik-webchat/index.esm.js +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-46dcd38f.js → p-217b9dc2.js} +2 -2
- package/dist/isometrik-webchat/p-217b9dc2.js.map +1 -0
- package/dist/isometrik-webchat/p-2c87c3fd.entry.js +2 -0
- package/dist/isometrik-webchat/p-2c87c3fd.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-30855ba7.js +2 -0
- package/dist/isometrik-webchat/p-30855ba7.js.map +1 -0
- package/dist/isometrik-webchat/{p-cc5b86e6.entry.js → p-3120b9d3.entry.js} +2 -2
- package/dist/isometrik-webchat/p-3120b9d3.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-63ff4eea.entry.js.map → p-5672fae7.entry.js} +2 -1
- package/dist/isometrik-webchat/p-5672fae7.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-79d1a171.js +2 -0
- package/dist/types/components/ChatUIComponent/ChatSidebar/ChatSidebar.d.ts +2 -0
- package/dist/types/components/ChatUIComponent/shared/video-message/video-message.d.ts +2 -0
- package/dist/types/components/my-component/web-chat/WebChat.d.ts +322 -0
- package/dist/types/components/my-component/web-chat/data-fetch.d.ts +14 -0
- package/dist/types/components.d.ts +24 -0
- package/dist/types/lib/chat/index.d.ts +1 -1
- package/dist/types/lib/chat/send-media.d.ts +21 -0
- package/dist/types/lib/mqtt/index.d.ts +1 -1
- package/dist/types/lib/mqtt/types.d.ts +11 -0
- package/dist/types/sdk/init.d.ts +7 -0
- package/package.json +1 -1
- package/dist/cjs/runtime-controls-95f6cb3b.js.map +0 -1
- package/dist/cjs/send-media-37e09e83.js.map +0 -1
- package/dist/components/urls.js +0 -5
- package/dist/components/urls.js.map +0 -1
- package/dist/esm/runtime-controls-ec6d5c75.js.map +0 -1
- package/dist/esm/send-media-a946c6dd.js.map +0 -1
- package/dist/isometrik-webchat/p-2d69086d.entry.js +0 -2
- package/dist/isometrik-webchat/p-2d69086d.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-3f355f9e.js +0 -2
- package/dist/isometrik-webchat/p-3f355f9e.js.map +0 -1
- package/dist/isometrik-webchat/p-46dcd38f.js.map +0 -1
- package/dist/isometrik-webchat/p-63ff4eea.entry.js +0 -2
- package/dist/isometrik-webchat/p-86be30fe.js +0 -2
- package/dist/isometrik-webchat/p-cc5b86e6.entry.js.map +0 -1
- /package/dist/isometrik-webchat/{p-86be30fe.js.map → p-79d1a171.js.map} +0 -0
|
@@ -3390,6 +3390,7 @@ const VideoMessage = class {
|
|
|
3390
3390
|
this.borderRadius = '10px';
|
|
3391
3391
|
this.padding = '10px';
|
|
3392
3392
|
this.videoSrc = undefined;
|
|
3393
|
+
this.poster = '';
|
|
3393
3394
|
this.videoType = 'video/mp4';
|
|
3394
3395
|
this.time = undefined;
|
|
3395
3396
|
this.height = '150px';
|
|
@@ -3420,12 +3421,12 @@ const VideoMessage = class {
|
|
|
3420
3421
|
}
|
|
3421
3422
|
render() {
|
|
3422
3423
|
const showCaption = this.message && !String(this.message).includes('AttachmentMessage:');
|
|
3423
|
-
return (h("message-bubble", { key: '
|
|
3424
|
+
return (h("message-bubble", { key: 'da362910daf539e1199b49e8c3ff7982d9df2237', isSelf: !!this.isSelf, time: this.time, timeColor: this.timeColor, isRead: this.isRead, isDelivered: this.isDelivered, deliveryStatus: this.deliveryStatus, reactions: this.reactions, messageId: this.messageId, userMetaData: this.userMetaData, isForwarded: this.messageType === 1, backgroundColor: this.bgColor, borderRadius: this.borderRadius || '10px', padding: this.padding || '10px', showReactionOnHover: this.showReactionOnHover }, h("div", { key: 'd97ba1095677d53316a3726aafe9431165a2c32d', class: "video-wrap" }, h("video", { key: '3ef7bf3df763e4f5b3c15cd97338c7cfce87530f', style: {
|
|
3424
3425
|
height: this.height || '150px',
|
|
3425
3426
|
width: this.width || '150px',
|
|
3426
3427
|
objectFit: 'cover',
|
|
3427
3428
|
borderRadius: this.borderRadius || '8px',
|
|
3428
|
-
}, onClick: this.toggle }, h("source", { key: '
|
|
3429
|
+
}, poster: this.poster || undefined, preload: this.poster ? 'none' : 'metadata', onClick: this.toggle }, h("source", { key: '6893915436d9223c0245d2ddacbd0b8a486d0f15', src: this.videoSrc, type: this.videoType || 'video/mp4' })), h("div", { key: '3276ef69508d305500603c9b58c6eb5c2346f44d', class: "controls" }, !this.isPlaying ? (h("button", { type: "button", onClick: this.playVideo, "aria-label": "Play" }, "\u25B6")) : (h("button", { type: "button", onClick: this.pauseVideo, "aria-label": "Pause" }, "\u275A\u275A")), h("button", { key: '955b8fafd989952d44358a0fc831c99db4704cdc', type: "button", class: "video_fullscreen", onClick: this.fullscreen, "aria-label": "Fullscreen" }, "\u26F6"))), showCaption ? (h("div", { style: { fontSize: '14px', color: this.textColor, marginTop: '4px' } }, renderMessageBody(this.message, this.mentionedUsers, u => emitTagUser(this.tagUserClick, u), !!this.isSelf))) : null));
|
|
3429
3430
|
}
|
|
3430
3431
|
get el() { return getElement(this); }
|
|
3431
3432
|
};
|