isometrik-plugin-chat-sdk 2.0.4 → 2.0.7
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 +44 -0
- package/dist/cjs/admin-transfer-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/{app-globals-61a8bfde.js → app-globals-c433d8a6.js} +4 -4
- package/dist/cjs/{app-globals-61a8bfde.js.map → app-globals-c433d8a6.js.map} +1 -1
- package/dist/cjs/attachment-preview_22.cjs.entry.js +220 -99
- package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
- package/dist/cjs/audio-bubble_4.cjs.entry.js +9 -9
- 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-video-message-bubble.cjs.entry.js +1 -1
- package/dist/cjs/delete-message.cjs.entry.js +1 -1
- package/dist/cjs/{drawer-811d2ce8.js → drawer-960b3f5d.js} +3 -1
- package/dist/cjs/drawer-960b3f5d.js.map +1 -0
- package/dist/cjs/forward-memebers.cjs.entry.js +3 -3
- package/dist/cjs/forward-message.cjs.entry.js +2 -2
- package/dist/cjs/group-admin-leave-b5cfdb33.js +55 -0
- package/dist/cjs/group-admin-leave-b5cfdb33.js.map +1 -0
- package/dist/cjs/{send-media-14908d4b.js → groupcast-5e3d49c4.js} +1 -127
- package/dist/cjs/groupcast-5e3d49c4.js.map +1 -0
- package/dist/cjs/index.cjs.js +9 -9
- package/dist/cjs/isometrik-webchat.cjs.js +5 -5
- package/dist/cjs/link-preview.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/login-page_3.cjs.entry.js +57 -52
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/cjs/member-add.cjs.entry.js +4 -4
- package/dist/cjs/message-bubble.cjs.entry.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/{profile-avatar_2.cjs.entry.js → profile-avatar.cjs.entry.js} +1 -25
- package/dist/cjs/profile-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/reaction-container.cjs.entry.js +2 -2
- package/dist/cjs/{runtime-controls-201c71ba.js → runtime-controls-95f6cb3b.js} +23 -21
- package/dist/cjs/runtime-controls-95f6cb3b.js.map +1 -0
- package/dist/cjs/send-media-37e09e83.js +357 -0
- package/dist/cjs/send-media-37e09e83.js.map +1 -0
- package/dist/cjs/share-popup.cjs.entry.js +1 -1
- package/dist/cjs/spinner-loader.cjs.entry.js +32 -0
- package/dist/cjs/spinner-loader.cjs.entry.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ChatUIComponent/AddMember.js +3 -3
- package/dist/collection/components/ChatUIComponent/ChatDocumentMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/ChatImageMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js +45 -17
- 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 +15 -16
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/Header/WebChatHeader.js +22 -7
- 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 +39 -18
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/AudioBubble/AudioBubble.js +3 -3
- package/dist/collection/components/ChatUIComponent/shared/ForwardMessageList/ForwardMessageList.js +2 -2
- package/dist/collection/components/ChatUIComponent/shared/admin-transfer-dialog/admin-transfer-dialog.js +101 -0
- package/dist/collection/components/ChatUIComponent/shared/admin-transfer-dialog/admin-transfer-dialog.js.map +1 -0
- 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/contact-info/contact-info.js +10 -4
- 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 +3 -3
- package/dist/collection/components/ChatUIComponent/shared/forward-message/forward-message.js +2 -2
- package/dist/collection/components/ChatUIComponent/shared/image-message/image-message.js +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/index.js +1 -0
- package/dist/collection/components/ChatUIComponent/shared/index.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/link-preview/link-preview.js +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 +6 -2
- package/dist/collection/components/ChatUIComponent/shared/message-info/message-info.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/message-search/message-search.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-info/profile-info.js +2 -2
- 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 +1 -1
- package/dist/collection/components/ChatUIComponent/shared/share-popup/share-popup.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/video-message/video-message.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/event-handlers.js +5 -0
- package/dist/collection/components/my-component/web-chat/event-handlers.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/mqtt-host.js +9 -9
- package/dist/collection/components/my-component/web-chat/mqtt-host.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/offline-host.js +7 -6
- 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 +3 -3
- package/dist/collection/components/my-component/web-chat/public-send.js.map +1 -1
- package/dist/collection/lib/chat/index.js +2 -2
- package/dist/collection/lib/chat/index.js.map +1 -1
- package/dist/collection/lib/chat/messages.js +36 -0
- package/dist/collection/lib/chat/messages.js.map +1 -1
- package/dist/collection/lib/chat/send-media.js +30 -5
- package/dist/collection/lib/chat/send-media.js.map +1 -1
- package/dist/collection/lib/drawer.js +3 -0
- package/dist/collection/lib/drawer.js.map +1 -1
- package/dist/collection/lib/group-admin-leave.js +47 -0
- package/dist/collection/lib/group-admin-leave.js.map +1 -0
- package/dist/collection/lib/prompt-exit-group.js +59 -0
- package/dist/collection/lib/prompt-exit-group.js.map +1 -0
- package/dist/collection/sdk/headless-api.js +3 -1
- package/dist/collection/sdk/headless-api.js.map +1 -1
- package/dist/components/AudioBubble.js +3 -3
- package/dist/components/BlockChatList.js +1 -1
- package/dist/components/ChatFooter.js +15 -16
- package/dist/components/ChatFooter.js.map +1 -1
- package/dist/components/ChatSidebar.js +46 -18
- package/dist/components/ChatSidebar.js.map +1 -1
- package/dist/components/WebChat.js +27 -21
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/WebChatBody.js +39 -18
- package/dist/components/WebChatBody.js.map +1 -1
- package/dist/components/WebChatHeader.js +23 -8
- package/dist/components/WebChatHeader.js.map +1 -1
- package/dist/components/WebchatRightSide.js +4 -35
- package/dist/components/WebchatRightSide.js.map +1 -1
- package/dist/components/admin-transfer-dialog.d.ts +11 -0
- package/dist/components/admin-transfer-dialog.js +69 -0
- package/dist/components/admin-transfer-dialog.js.map +1 -0
- package/dist/components/attachment-preview2.js +1 -1
- package/dist/components/chat-app.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-video-message-bubble.js +1 -1
- package/dist/components/client.js +1 -121
- package/dist/components/client.js.map +1 -1
- package/dist/components/contact-info2.js +11 -5
- package/dist/components/contact-info2.js.map +1 -1
- package/dist/components/conversation.js +2 -283
- package/dist/components/conversation.js.map +1 -1
- package/dist/components/delete-message.js +1 -1
- package/dist/components/document-message2.js +3 -3
- package/dist/components/drawer.js +2 -0
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/forward-memebers.js +2 -2
- package/dist/components/forward-message.js +2 -2
- package/dist/components/group-admin-leave.js +50 -0
- package/dist/components/group-admin-leave.js.map +1 -0
- package/dist/components/group-members.js +298 -26
- package/dist/components/group-members.js.map +1 -1
- package/dist/components/group-members2.js +37 -0
- package/dist/components/group-members2.js.map +1 -0
- package/dist/components/image-message2.js +1 -1
- package/dist/components/incoming-text-message-bubble2.js +1 -1
- package/dist/components/index.js +6 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/link-preview2.js +1 -1
- package/dist/components/member-add.js +4 -4
- package/dist/components/message-bubble2.js +2 -2
- package/dist/components/message-date-pill2.js +1 -1
- package/dist/components/message-info2.js +6 -2
- package/dist/components/message-info2.js.map +1 -1
- package/dist/components/message-search2.js +1 -1
- package/dist/components/messages.js +37 -1
- package/dist/components/messages.js.map +1 -1
- package/dist/components/my-component.js +1 -1
- package/dist/components/outgoing-text-message-bubble2.js +1 -1
- package/dist/components/profile-info2.js +2 -2
- package/dist/components/profile-sidebar2.js +1 -1
- package/dist/components/prompt-exit-group.js +73 -0
- package/dist/components/prompt-exit-group.js.map +1 -0
- package/dist/components/reaction-container.js +2 -2
- package/dist/components/reply-block2.js +1 -1
- package/dist/components/reply-message-container2.js +1 -1
- package/dist/components/send-media.js +150 -0
- package/dist/components/send-media.js.map +1 -0
- package/dist/components/share-popup.js +1 -1
- package/dist/components/video-message2.js +2 -2
- package/dist/esm/admin-transfer-dialog.entry.js +40 -0
- package/dist/esm/admin-transfer-dialog.entry.js.map +1 -0
- package/dist/esm/{app-globals-2beecb81.js → app-globals-dfce8a5b.js} +3 -3
- package/dist/esm/{app-globals-2beecb81.js.map → app-globals-dfce8a5b.js.map} +1 -1
- package/dist/esm/attachment-preview_22.entry.js +209 -88
- package/dist/esm/attachment-preview_22.entry.js.map +1 -1
- package/dist/esm/audio-bubble_4.entry.js +9 -9
- 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-video-message-bubble.entry.js +1 -1
- package/dist/esm/delete-message.entry.js +1 -1
- package/dist/esm/{drawer-74c188f1.js → drawer-d54c2f10.js} +3 -1
- package/dist/esm/drawer-d54c2f10.js.map +1 -0
- package/dist/esm/forward-memebers.entry.js +3 -3
- package/dist/esm/forward-message.entry.js +2 -2
- package/dist/esm/group-admin-leave-a60b9b1a.js +50 -0
- package/dist/esm/group-admin-leave-a60b9b1a.js.map +1 -0
- package/dist/esm/{send-media-917dcc2f.js → groupcast-58a59d64.js} +2 -122
- package/dist/esm/groupcast-58a59d64.js.map +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/isometrik-webchat.js +5 -5
- package/dist/esm/link-preview.entry.js +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/login-page_3.entry.js +24 -19
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/esm/member-add.entry.js +4 -4
- package/dist/esm/message-bubble.entry.js +2 -2
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/{profile-avatar_2.entry.js → profile-avatar.entry.js} +2 -25
- package/dist/esm/profile-avatar.entry.js.map +1 -0
- package/dist/esm/reaction-container.entry.js +2 -2
- package/dist/esm/{runtime-controls-cf599fe2.js → runtime-controls-ec6d5c75.js} +5 -3
- package/dist/esm/runtime-controls-ec6d5c75.js.map +1 -0
- package/dist/esm/send-media-a946c6dd.js +332 -0
- package/dist/esm/send-media-a946c6dd.js.map +1 -0
- package/dist/esm/share-popup.entry.js +1 -1
- package/dist/esm/spinner-loader.entry.js +28 -0
- package/dist/esm/spinner-loader.entry.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-a876991d.entry.js → p-0ccfbe90.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-1854b156.entry.js → p-161fcb35.entry.js} +2 -2
- package/dist/isometrik-webchat/p-1953573d.js +2 -0
- package/dist/isometrik-webchat/p-1953573d.js.map +1 -0
- package/dist/isometrik-webchat/{p-a43ad157.entry.js → p-1eecc7c5.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-fdd327f5.entry.js → p-2195b0c0.entry.js} +2 -2
- package/dist/isometrik-webchat/p-2e9974e1.entry.js +2 -0
- package/dist/isometrik-webchat/p-30dc94e0.js +2 -0
- package/dist/isometrik-webchat/p-30dc94e0.js.map +1 -0
- package/dist/isometrik-webchat/{p-c1e8c38e.entry.js → p-3664e0ad.entry.js} +2 -2
- package/dist/isometrik-webchat/p-3f355f9e.js +2 -0
- package/dist/isometrik-webchat/p-3f355f9e.js.map +1 -0
- package/dist/isometrik-webchat/p-46dcd38f.js +2 -0
- package/dist/isometrik-webchat/p-46dcd38f.js.map +1 -0
- package/dist/isometrik-webchat/p-46e0048e.js +2 -0
- package/dist/isometrik-webchat/p-46e0048e.js.map +1 -0
- package/dist/isometrik-webchat/p-48ce4dca.entry.js +2 -0
- package/dist/isometrik-webchat/{p-d720cf14.entry.js → p-76341adb.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-2d3e8cd4.entry.js → p-7af9a7f3.entry.js} +2 -2
- package/dist/isometrik-webchat/p-7b25f234.entry.js +2 -0
- package/dist/isometrik-webchat/p-7b25f234.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-84424caa.entry.js +2 -0
- package/dist/isometrik-webchat/p-84424caa.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-86be30fe.js +2 -0
- package/dist/isometrik-webchat/p-9db196a4.entry.js +2 -0
- package/dist/isometrik-webchat/p-9db196a4.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-ad02a8ca.entry.js +2 -0
- package/dist/isometrik-webchat/p-c5bff6a1.entry.js +2 -0
- package/dist/isometrik-webchat/p-c5bff6a1.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-c83e2d5d.entry.js +2 -0
- package/dist/isometrik-webchat/{p-fb705915.entry.js → p-cc5b86e6.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-f1fbf3be.entry.js → p-d8b65cf4.entry.js} +2 -2
- package/dist/isometrik-webchat/p-e48a1217.entry.js +2 -0
- package/dist/isometrik-webchat/p-ff023d39.entry.js +2 -0
- package/dist/isometrik-webchat/p-ff023d39.entry.js.map +1 -0
- package/dist/types/components/ChatUIComponent/Footer/ChatFooter.d.ts +2 -22
- package/dist/types/components/ChatUIComponent/shared/admin-transfer-dialog/admin-transfer-dialog.d.ts +13 -0
- package/dist/types/components/ChatUIComponent/shared/index.d.ts +1 -0
- package/dist/types/components.d.ts +27 -0
- package/dist/types/lib/chat/index.d.ts +2 -2
- package/dist/types/lib/chat/send-media.d.ts +8 -0
- package/dist/types/lib/drawer.d.ts +1 -0
- package/dist/types/lib/group-admin-leave.d.ts +20 -0
- package/dist/types/lib/prompt-exit-group.d.ts +9 -0
- package/dist/types/sdk/headless-api.d.ts +3 -1
- package/package.json +2 -1
- package/dist/cjs/drawer-811d2ce8.js.map +0 -1
- package/dist/cjs/media-limits-eba42629.js +0 -165
- package/dist/cjs/media-limits-eba42629.js.map +0 -1
- package/dist/cjs/profile-avatar_2.cjs.entry.js.map +0 -1
- package/dist/cjs/runtime-controls-201c71ba.js.map +0 -1
- package/dist/cjs/send-media-14908d4b.js.map +0 -1
- package/dist/esm/drawer-74c188f1.js.map +0 -1
- package/dist/esm/media-limits-3fa07c09.js +0 -152
- package/dist/esm/media-limits-3fa07c09.js.map +0 -1
- package/dist/esm/profile-avatar_2.entry.js.map +0 -1
- package/dist/esm/runtime-controls-cf599fe2.js.map +0 -1
- package/dist/esm/send-media-917dcc2f.js.map +0 -1
- package/dist/isometrik-webchat/p-0392c7be.entry.js +0 -2
- package/dist/isometrik-webchat/p-0731d488.js +0 -2
- package/dist/isometrik-webchat/p-0731d488.js.map +0 -1
- package/dist/isometrik-webchat/p-3c70c22c.entry.js +0 -2
- package/dist/isometrik-webchat/p-5d243250.entry.js +0 -2
- package/dist/isometrik-webchat/p-7d4cc4e3.entry.js +0 -2
- package/dist/isometrik-webchat/p-7d4cc4e3.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-7f415f28.js +0 -2
- package/dist/isometrik-webchat/p-b857775d.entry.js +0 -2
- package/dist/isometrik-webchat/p-bdcdf1c5.js +0 -2
- package/dist/isometrik-webchat/p-bdcdf1c5.js.map +0 -1
- package/dist/isometrik-webchat/p-c0c19621.entry.js +0 -2
- package/dist/isometrik-webchat/p-dc2bf17e.entry.js +0 -2
- package/dist/isometrik-webchat/p-dc2bf17e.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-dd62bd69.js +0 -2
- package/dist/isometrik-webchat/p-dd62bd69.js.map +0 -1
- package/dist/isometrik-webchat/p-eb54f75d.js +0 -2
- package/dist/isometrik-webchat/p-eb54f75d.js.map +0 -1
- package/dist/isometrik-webchat/p-ed4699a0.entry.js +0 -2
- package/dist/isometrik-webchat/p-ed4699a0.entry.js.map +0 -1
- /package/dist/isometrik-webchat/{p-a876991d.entry.js.map → p-0ccfbe90.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-1854b156.entry.js.map → p-161fcb35.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-a43ad157.entry.js.map → p-1eecc7c5.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-fdd327f5.entry.js.map → p-2195b0c0.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-3c70c22c.entry.js.map → p-2e9974e1.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-c1e8c38e.entry.js.map → p-3664e0ad.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-b857775d.entry.js.map → p-48ce4dca.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-d720cf14.entry.js.map → p-76341adb.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-2d3e8cd4.entry.js.map → p-7af9a7f3.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-7f415f28.js.map → p-86be30fe.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-5d243250.entry.js.map → p-ad02a8ca.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-c0c19621.entry.js.map → p-c83e2d5d.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-fb705915.entry.js.map → p-cc5b86e6.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-f1fbf3be.entry.js.map → p-d8b65cf4.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-0392c7be.entry.js.map → p-e48a1217.entry.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"send-media-a946c6dd.js","mappings":";;AAEO,eAAe,iBAAiB,CAAC,IAA+D;;IACrG,MAAM,GAAG,GAAG,MAAMA,CAAO,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC;QAC1D,cAAc,EAAE,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AAd,cAAc,uBAAd,cAAc,CAAE,SAAS,KAAI,IAAI,CAAC;AAC3C;;;;","names":["ChatSDK"],"sources":["src/lib/chat/messages.ts","src/lib/chat/media-limits.ts","src/lib/chat/send-media.ts"],"sourcesContent":["import ChatSDK from 'test-iso-chat-sdk';\n\nexport async function fetchMessagesPage(opts: { conversationId: string; skip?: number; limit?: number }) {\n const res = await ChatSDK.getInstance().message.getMessages({\n conversationId: opts.conversationId,\n limit: opts.limit ?? 20,\n skip: opts.skip ?? 0,\n });\n return (res?.messages || []).slice().reverse();\n}\n\n/** Mark an open conversation read on the server (idempotent). */\nexport async function markConversationRead(conversationId: string): Promise<void> {\n const id = String(conversationId || '').trim();\n if (!id) return;\n await ChatSDK.getInstance().message.putRead({ conversationId: id });\n}\n\nfunction messageIdOf(m: Record<string, unknown> | null | undefined): string {\n return String(m?.messageId ?? '').trim();\n}\n\nfunction sentAtOf(m: Record<string, unknown>): number {\n const n = Number(m.sentAt ?? m.updatedAt ?? 0);\n return Number.isFinite(n) ? n : 0;\n}\n\n/** Soft merge for gap-fill — keeps existing rows, upserts by messageId. */\nexport function mergeMessagesById(\n existing: Array<Record<string, unknown>>,\n incoming: Array<Record<string, unknown>>,\n): { next: Array<Record<string, unknown>>; added: number } {\n const byId = new Map<string, Record<string, unknown>>();\n for (const m of existing) {\n const id = messageIdOf(m);\n if (id) byId.set(id, m);\n }\n let added = 0;\n for (const m of incoming) {\n const id = messageIdOf(m);\n if (!id) continue;\n if (!byId.has(id)) added += 1;\n byId.set(id, m);\n }\n const next = Array.from(byId.values()).sort((a, b) => sentAtOf(a) - sentAtOf(b));\n return { next, added };\n}\n\nexport async function searchMessages(opts: { conversationId: string; searchTag: string; skip?: number; limit?: number }) {\n const res = await ChatSDK.getInstance().message.getMessages({\n conversationId: opts.conversationId,\n searchTag: opts.searchTag,\n skip: opts.skip ?? 0,\n limit: opts.limit ?? 20,\n });\n return res?.messages || [];\n}\n\nexport async function fetchLinkMessages(conversationId: string) {\n const res = await ChatSDK.getInstance().message.getMessages({\n conversationId,\n customTypes: 'AttachmentMessage:Link',\n });\n return res?.messages || [];\n}\n\nexport async function fetchMediaCount(conversationId: string) {\n const res = await ChatSDK.getInstance().message.getMessagesCount({\n conversationId,\n customTypes:\n 'AttachmentMessage:Link,AttachmentMessage:Multiple,AttachmentMessage:Image,AttachmentMessage:Video,AttachmentMessage:Audio,AttachmentMessage:File,AttachmentMessage:Doc',\n });\n return res?.messagesCount ?? 0;\n}\n\nconst RASTER = /\\.(jpe?g|png|gif|webp|bmp|avif)(\\?|#|$)/i;\n\n/** http(s) image first, then the local preview the chat bubble is already showing. */\nexport function mediaPreviewUrls(att: any): string[] {\n if (!att) return [];\n const all = [att.thumbnailUrl, att.mediaUrl, att.localUrl, att.url].map(u => String(u || '')).filter(Boolean);\n const raster = all.filter(u => /^https?:/i.test(u) && RASTER.test(u));\n const local = all.filter(u => u.startsWith('data:') || u.startsWith('blob:'));\n const rest = all.filter(u => !raster.includes(u) && !local.includes(u));\n return [...new Set([...raster, ...local, ...rest])];\n}\n\nexport function mediaPreviewUrl(att: any): string {\n return mediaPreviewUrls(att)[0] || '';\n}\n\n/** pdf / excel / rtf / txt from mime, extension, or file name. */\nexport function docIconKind(doc: any): 'excel' | 'pdf' | 'rtf' | 'txt' | 'file' {\n const t = `${doc?.mimeType || ''} ${doc?.extension || ''} ${doc?.name || ''} ${doc?.nameWithExtension || ''} ${doc?.fileName || ''}`.toLowerCase();\n if (/xlsx?|spreadsheet|excel|csv/.test(t)) return 'excel';\n if (t.includes('pdf')) return 'pdf';\n if (t.includes('rtf')) return 'rtf';\n if (t.includes('text/plain') || /(^|[^a-z])txt([^a-z]|$)/.test(t)) return 'txt';\n return 'file';\n}\n\n/** send-media.ts: 0 image, 1 video → media; 3 document → docs. */\nexport function attachmentBucket(att: any): 'media' | 'docs' | null {\n if (!att) return null;\n const mime = String(att.mimeType || '');\n if (mime.startsWith('image/') || mime.startsWith('video/')) return 'media';\n if (mime.startsWith('application/') || mime === 'text/plain' || mime.includes('rtf')) return 'docs';\n const type = att.mediaType == null || att.mediaType === '' ? NaN : Number(att.mediaType);\n if (type === 0 || type === 1) return 'media';\n if (type === 3) return 'docs';\n return null;\n}\n\nexport function splitSharedMessages(messages: any[]) {\n const media: any[] = [];\n const docs: any[] = [];\n const list = Array.isArray(messages) ? messages : [];\n list.forEach(message => {\n const atts = Array.isArray(message?.attachments)\n ? message.attachments\n : message?.mediaUrl || message?.thumbnailUrl\n ? [message]\n : [];\n atts.forEach((att: any) => {\n const item = {\n ...att,\n date: message?.sentAt || att?.date,\n sender: message?.senderInfo?.userName || att?.sender,\n };\n const bucket = attachmentBucket(att);\n if (bucket === 'docs') docs.push(item);\n else if (bucket === 'media') media.push(item);\n });\n });\n return { media, docs };\n}\n\n/** Keep messages that have non-document media attachments. */\nexport function filterMediaMessages(messages: any[]) {\n if (!Array.isArray(messages)) return [];\n return messages.filter(message => {\n if (!message.attachments || !Array.isArray(message.attachments)) return false;\n const valid = message.attachments.filter(\n (attachment: any) => attachment?.mimeType && !String(attachment.mimeType).startsWith('application'),\n );\n return valid.length > 0;\n });\n}\n\nexport async function fetchMediaAttachments(conversationId: string) {\n const customTypes =\n 'AttachmentMessage:Media,AttachmentMessage:Multiple,AttachmentMessage:Image,AttachmentMessage:Video,AttachmentMessage:Audio,AttachmentMessage:File,AttachmentMessage:Doc';\n const pageSize = 20;\n const all: any[] = [];\n for (let skip = 0; skip < 1000; skip += pageSize) {\n const res: any = await ChatSDK.getInstance().message.getMessages({\n conversationId,\n customTypes,\n limit: pageSize,\n skip,\n });\n const batch = Array.isArray(res?.messages) ? res.messages : [];\n all.push(...batch);\n if (batch.length < pageSize) break;\n }\n return all;\n}\n","/** One chat message may carry at most this many attachments. */\nexport const MAX_MEDIA_PER_MESSAGE = 5;\n\nexport type MediaTakeResult = {\n accepted: File[];\n rejected: number;\n atLimit: boolean;\n remaining: number;\n};\n\n/** Cap incoming files so total (existing + new) never exceeds MAX_MEDIA_PER_MESSAGE. */\nexport function takeMediaFiles(incoming: File[] | FileList | null | undefined, alreadyCount = 0): MediaTakeResult {\n const list = Array.from(incoming || []).filter(Boolean) as File[];\n const remaining = Math.max(0, MAX_MEDIA_PER_MESSAGE - Math.max(0, alreadyCount));\n const accepted = list.slice(0, remaining);\n const rejected = Math.max(0, list.length - accepted.length);\n return {\n accepted,\n rejected,\n atLimit: rejected > 0 || remaining === 0,\n remaining: Math.max(0, remaining - accepted.length),\n };\n}\n\nexport function mediaLimitToastMessage(rejected: number, max = MAX_MEDIA_PER_MESSAGE): string {\n if (rejected <= 0) return `You can attach up to ${max} files per message`;\n return `Only ${max} files per message — ${rejected} file${rejected === 1 ? '' : 's'} skipped`;\n}\n","/**\n * Shared media-send helpers for ChatFooter + public web-chat.sendMedia.\n * Conversation path only (groupcast keeps using ChatFooter).\n *\n * Attachment body contract (Flutter / Swift / web):\n * - API rejects empty body → use caption text, or 'AttachmentMessage:Multiple' when none\n * - Real caption for UI lives in metaData.caption (read captionMessage for older web sends)\n */\nimport ChatSDK from 'test-iso-chat-sdk';\nimport { takeMediaFiles } from './media-limits';\n\nexport const ATTACHMENT_BODY_PLACEHOLDER = 'AttachmentMessage:Multiple';\n\nexport function mediaTypeFromMime(mime: string): number {\n if (!mime) return 3;\n if (mime.startsWith('image/')) return 0;\n if (mime.startsWith('video/')) return 1;\n if (mime.startsWith('audio/')) return 2;\n return 3;\n}\n\nexport function customTypeFromMime(mime: string): string {\n if (!mime) return ATTACHMENT_BODY_PLACEHOLDER;\n if (mime.startsWith('image/')) return 'AttachmentMessage:Image';\n if (mime.startsWith('video/')) return 'AttachmentMessage:Video';\n if (mime.startsWith('audio/')) return 'AttachmentMessage:Audio';\n if (mime.startsWith('application/')) return 'AttachmentMessage:Doc';\n return ATTACHMENT_BODY_PLACEHOLDER;\n}\n\nexport function isAttachmentBodyPlaceholder(body?: string | null): boolean {\n const s = (body ?? '').toString().trim();\n return !s || s.startsWith('AttachmentMessage:');\n}\n\n/** Caption for UI — never treat AttachmentMessage:* body placeholders as caption. */\nexport function attachmentCaption(message?: { body?: string; metaData?: Record<string, any> } | null): string {\n const meta = message?.metaData;\n const fromMeta = String(meta?.caption ?? meta?.captionMessage ?? '').trim();\n if (fromMeta) return fromMeta;\n const body = String(message?.body ?? '').trim();\n if (isAttachmentBodyPlaceholder(body)) return '';\n return body;\n}\n\nexport function attachmentBodyForApi(caption?: string | null): string {\n return caption?.trim() || ATTACHMENT_BODY_PLACEHOLDER;\n}\n\nexport function buildReplyMetaData(replyMessage: any | null | undefined, caption?: string): Record<string, any> {\n if (!replyMessage && !caption?.trim()) return {};\n const trimmed = caption?.trim();\n return {\n ...(replyMessage && {\n parentMessageId: replyMessage.messageId,\n parentMessage: replyMessage.body,\n parentMessageTime: replyMessage.sentAt,\n parentMessageSenderId: replyMessage.senderInfo?.userId || replyMessage.senderId,\n parentMessageSenderName: replyMessage.senderInfo?.userName || replyMessage.userName,\n ...(replyMessage?.attachments?.[0] && {\n parentMessageName: replyMessage.attachments[0].name,\n parentMessageMediaUrl: replyMessage.attachments[0].mediaUrl,\n parentMessageType: replyMessage.attachments[0].mimeType,\n }),\n }),\n // `caption` matches Flutter/Swift; keep captionMessage for older web readers\n ...(trimmed && { caption: trimmed, captionMessage: trimmed }),\n };\n}\n\nexport type PreparedMediaAttachment = {\n nameWithExtension: string;\n mediaType: number;\n mediaId: string;\n mimeType: string;\n size: number;\n file: File;\n};\n\nexport function prepareMediaAttachments(files: File[]): PreparedMediaAttachment[] {\n // Hard-cap so public API / footer can't exceed one-message limit.\n const capped = takeMediaFiles(files, 0).accepted;\n return capped.map(file => ({\n nameWithExtension: file.name,\n mediaType: mediaTypeFromMime(file.type),\n mediaId: String(file.lastModified || Date.now()) + Math.random().toString(36).slice(2, 6),\n mimeType: file.type || 'application/octet-stream',\n size: file.size,\n file,\n }));\n}\n\nexport function buildLocalMediaAttachments(files: File[]) {\n return files.map(file => ({\n name: file.name,\n size: file.size,\n type: (file.type || '').split('/')[0] || 'file',\n mediaUrl: typeof URL !== 'undefined' ? URL.createObjectURL(file) : '',\n mimeType: file.type || 'application/octet-stream',\n }));\n}\n\nexport type UploadAndPostMediaArgs = {\n conversationId: string;\n deviceId: string;\n attachments: PreparedMediaAttachment[];\n replyMessage?: any | null;\n caption?: string;\n mentionedUsers?: any[];\n};\n\n/** Presign → PUT files → postMessages. Returns API messageId. */\nexport async function uploadAndPostMediaMessage(args: UploadAndPostMediaArgs): Promise<string | null> {\n const { conversationId, deviceId, attachments, replyMessage, caption, mentionedUsers } = args;\n if (!conversationId || !attachments?.length) return null;\n\n const resForPresignedUrl: any = await ChatSDK.getInstance().message.postMessagesPresignedurls({\n conversationId,\n attachments,\n });\n\n const presignedUrls = resForPresignedUrl?.presignedUrls\n ? resForPresignedUrl.presignedUrls\n : resForPresignedUrl?.presignedUrl\n ? [resForPresignedUrl]\n : null;\n\n if (!presignedUrls?.length) {\n throw new Error('No presigned URLs returned for media upload');\n }\n\n const allPayloads = [];\n await Promise.all(\n presignedUrls.map(async (urlDetails: any, index: number) => {\n const { mediaPresignedUrl, mediaId, mediaUrl, thumbnailUrl } = urlDetails;\n const attachmentPayload = attachments[index];\n if (!attachmentPayload || !mediaPresignedUrl) return;\n\n allPayloads.push({\n mediaId,\n mediaUrl,\n thumbnailUrl,\n mediaType: attachmentPayload.mediaType,\n nameWithExtension: attachmentPayload.nameWithExtension,\n name: attachmentPayload.nameWithExtension,\n mimeType: attachmentPayload.mimeType,\n extension: attachmentPayload.mimeType.split('/')[1] || '',\n size: attachmentPayload.size,\n attachmentType: 0,\n });\n\n await fetch(mediaPresignedUrl, {\n method: 'PUT',\n body: attachmentPayload.file,\n headers: { 'Content-Type': attachmentPayload.mimeType },\n });\n }),\n );\n\n const customType =\n attachments.length === 1 ? customTypeFromMime(attachments[0].mimeType) : ATTACHMENT_BODY_PLACEHOLDER;\n\n const payload: any = {\n showInConversation: true,\n messageType: replyMessage ? 2 : 0,\n parentMessageId: replyMessage?.messageId,\n encrypted: false,\n conversationId,\n body: attachmentBodyForApi(caption),\n customType,\n attachments: allPayloads,\n deviceId,\n metaData: buildReplyMetaData(replyMessage, caption),\n };\n if (mentionedUsers?.length) payload.mentionedUsers = mentionedUsers;\n\n const sendMessageRes = await ChatSDK.getInstance().message.postMessages(payload);\n return sendMessageRes?.messageId || null;\n}\n"],"version":3}
|
|
@@ -22,7 +22,7 @@ const SharePopup = class {
|
|
|
22
22
|
render() {
|
|
23
23
|
const d = this.dialogData || {};
|
|
24
24
|
const link = d.shareLink || d.link || '';
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'fb9815e9ce3b0f28d6f713e0e72e1a260847fa7e', class: "popup" }, h("h3", { key: 'db2fece9beec272cf9cc8fe761e947106a760e8d' }, d.title || 'Share'), h("div", { key: '342efc37161628cd938c37d29f23d280b23f3f5d', class: "link" }, link), h("div", { key: 'f050b92525774d4bd839ec595574c3121ad99534', class: "actions" }, h("button", { key: 'cd348fbd159b16cea703b308ac264a7ec9726a12', type: "button", class: "secondary", onClick: () => { var _a; return (_a = this.onClose) === null || _a === void 0 ? void 0 : _a.call(this); } }, "Close"), h("button", { key: '2b2d8182b4c37e3ff0cd0f01806f55ec9e2dafae', type: "button", onClick: this.copy }, this.copied ? 'Copied' : d.primaryActionText || 'Copy'))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
SharePopup.style = ":host { display: block; width: 100%; }\n .popup { text-align: left; }\n h3 { margin: 0 0 12px; }\n .link {\n word-break: break-all; padding: 10px; background: var(--bg-tertiary);\n border-radius: 8px; margin-bottom: 12px; font-size: 13px;\n }\n .actions { display: flex; gap: 8px; justify-content: flex-end; }\n button {\n border: none; border-radius: 16px; padding: 8px 16px; cursor: pointer;\n background: var(--brand); color: var(--text-on-brand);\n }\n button.secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); }";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-bc463197.js';
|
|
2
|
+
|
|
3
|
+
const SpinnerLoader = class {
|
|
4
|
+
constructor(hostRef) {
|
|
5
|
+
registerInstance(this, hostRef);
|
|
6
|
+
this.height = '20px';
|
|
7
|
+
this.width = '20px';
|
|
8
|
+
this.spinTime = '1s';
|
|
9
|
+
this.spinnerPrimaryColor = 'var(--text-primary)';
|
|
10
|
+
this.spinnerSecondaryColor = 'var(--bg-primary)';
|
|
11
|
+
this.spinnerBorderWidth = '2px';
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h("div", { key: '59d856d228cac16779fb427706a3b0fee8a2ef5e', class: "main-container" }, h("div", { key: 'bd2a4cd6e2c7d45f7fa7831a04314d3ed730c728', class: "spinner", style: {
|
|
15
|
+
height: this.height,
|
|
16
|
+
width: this.width,
|
|
17
|
+
borderWidth: this.spinnerBorderWidth,
|
|
18
|
+
borderColor: this.spinnerSecondaryColor,
|
|
19
|
+
borderTopColor: this.spinnerPrimaryColor,
|
|
20
|
+
animationDuration: this.spinTime,
|
|
21
|
+
} })));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
SpinnerLoader.style = ":host { display: inline-flex; }\n .main-container {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .spinner {\n border-radius: 50%;\n border-style: solid;\n animation-name: spin;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n box-sizing: border-box;\n }\n @keyframes spin {\n to { transform: rotate(360deg); }\n }";
|
|
25
|
+
|
|
26
|
+
export { SpinnerLoader as spinner_loader };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=spinner-loader.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"spinner-loader.entry.js","mappings":";;MA2Ba,aAAa;;;sBACC,MAAM;qBACP,MAAM;wBACH,IAAI;mCACO,qBAAqB;qCACnB,mBAAmB;kCACtB,KAAK;;IAE1C,MAAM;QACJ,QACE,4DAAK,KAAK,EAAC,gBAAgB,IACzB,4DACE,KAAK,EAAC,SAAS,EACf,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,WAAW,EAAE,IAAI,CAAC,kBAAkB;gBACpC,WAAW,EAAE,IAAI,CAAC,qBAAqB;gBACvC,cAAc,EAAE,IAAI,CAAC,mBAAmB;gBACxC,iBAAiB,EAAE,IAAI,CAAC,QAAQ;aACjC,GACD,CACE,EACN;KACH;;;;;;","names":[],"sources":["src/components/ChatUIComponent/shared/spinner-loader/spinner-loader.tsx"],"sourcesContent":["import { Component, Prop, h } from '@stencil/core';\n\n/** Pure Stencil spinner — no Lit. */\n@Component({\n tag: 'spinner-loader',\n shadow: true,\n styles: `\n :host { display: inline-flex; }\n .main-container {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .spinner {\n border-radius: 50%;\n border-style: solid;\n animation-name: spin;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n box-sizing: border-box;\n }\n @keyframes spin {\n to { transform: rotate(360deg); }\n }\n `,\n})\nexport class SpinnerLoader {\n @Prop() height: string = '20px';\n @Prop() width: string = '20px';\n @Prop() spinTime: string = '1s';\n @Prop() spinnerPrimaryColor: string = 'var(--text-primary)';\n @Prop() spinnerSecondaryColor: string = 'var(--bg-primary)';\n @Prop() spinnerBorderWidth: string = '2px';\n\n render() {\n return (\n <div class=\"main-container\">\n <div\n class=\"spinner\"\n style={{\n height: this.height,\n width: this.width,\n borderWidth: this.spinnerBorderWidth,\n borderColor: this.spinnerSecondaryColor,\n borderTopColor: this.spinnerPrimaryColor,\n animationDuration: this.spinTime,\n }}\n />\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{W as WEB_CHAT_SLOTS,a as applyCustomPartProps,f as findWebChatHost}from"./p-b1330793.js";export{f as format}from"./p-b07dd267.js";import{i as C,d as S,b as E,k as _,s as I,g as P,t as H}from"./p-
|
|
1
|
+
export{W as WEB_CHAT_SLOTS,a as applyCustomPartProps,f as findWebChatHost}from"./p-b1330793.js";export{f as format}from"./p-b07dd267.js";import{i as C,d as S,b as E,k as _,s as I,g as P,t as H}from"./p-3f355f9e.js";export{W as WEB_CHAT_PUBLIC_EVENTS,l as WEB_CHAT_PUBLIC_METHODS,g as applyCustomTheme,n as buildWebchatSessionKey,v as clearWebChatSlot,w as createSlotHost,c as createWebChatApi,k as customChatSidebar,f as defineReactCustomPart,p as destroyChat,d as destroyIsometrikWebchat,e as ensureIsometrikWebchat,y as getChatStore,o as initializeChat,i as initializeIsometrikWebchat,b as isometrikWebchatApi,m as mountReactInSlot,a as releaseIsometrikWebchat,h as resolveThemeProvider,j as resolveWebChat,r as retainIsometrikWebchat,q as setWebChatSlot,x as setWebChatSlots,s as switchChatTheme,t as toggleTheme,u as unmountReactSlot}from"./p-3f355f9e.js";export{d as deriveMessageStatus}from"./p-adc45831.js";export{T as THEME_TOKEN_NAMES,g as applyThemeObjectToElement,n as normalizeThemeObject,j as resolveProfileRailMode,h as resolveRegionMode,r as resolveShowProfileRailProp}from"./p-1953573d.js";export{c as canUseIndexedDb,g as getOfflineClient,i as isBrowserOnline,m as mergeMessagesById}from"./p-ae168135.js";import"./p-5162774c.js";import"./p-46dcd38f.js";import"./p-8f17345f.js";import"./p-7fd2c1ad.js";import"./p-5d98a8a0.js";function M(e,s,t){if(typeof customElements==="undefined"||customElements.get(e))return;class a extends HTMLElement{connectedCallback(){t(this)}}s.forEach((e=>{const s=`_${e}`;Object.defineProperty(a.prototype,e,{get(){return this[s]},set(e){if(this[s]===e)return;this[s]=e;if(this.isConnected)t(this)},configurable:true})}));a.prototype.render=function e(){t(this)};customElements.define(e,a)}if(typeof window!=="undefined"){window.initializeIsometrikWebchat=C;window.destroyIsometrikWebchat=S;window.initializeChat=C;window.destroyChat=S;window.isometrikWebchatApi=E;window.chatSidebarProps=_;window.switchChatTheme=I;window.applyCustomTheme=P;window.toggleTheme=H}export{M as defineReactiveCustomPart};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,B as o,c as a,d as t,N as i,H as r,b as n}from"./p-17a96a2a.js";export{s as setNonce}from"./p-17a96a2a.js";import{g as d}from"./p-7f415f28.js";import"./p-0731d488.js";import"./p-5162774c.js";import"./p-eb54f75d.js";import"./p-8f17345f.js";import"./p-7fd2c1ad.js";import"./p-5d98a8a0.js";import"./p-bdcdf1c5.js";import"./p-b1330793.js";var l=()=>{if(o.isDev&&!o.isTesting){a("Running in development mode.")}if(o.cloneNodeFix){c(r.prototype)}const s=o.scriptDataOpts?Array.from(t.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null;const n=import.meta.url;const d=o.scriptDataOpts?(s||{})["data-opts"]||{}:{};if(n!==""){d.resourcesUrl=new URL(".",n).href}return e(d)};var c=e=>{const o=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return o.call(this,e)}const a=o.call(this,false);const t=this.childNodes;if(e){for(let e=0;e<t.length;e++){if(t[e].nodeType!==2){a.appendChild(t[e].cloneNode(true))}}}return a}};l().then((async e=>{await d();return n(JSON.parse('[["p-1854b156",[[4,"chat-app",{"themePath":[1,"theme-path"],"mode":[1537],"themeObject":[16],"isLoggedIn":[32],"userToken":[32],"userId":[32],"demoCustomUi":[32],"changeTheme":[64],"toggleTheme":[64]}]]],["p-39b626ed",[[1,"new-chat-sidebar",{"label":[1],"closeNewChatSidebar":[16],"nonBlockedContacts":[16],"isNoContactsFound":[4,"is-no-contacts-found"],"isPaginationMember":[4,"is-pagination-member"],"isLoadingMember":[4,"is-loading-member"],"hasMoreMembers":[4,"has-more-members"],"showGroupChatContacts":[32],"showGroupCastContacts":[32],"searchText":[32]}]]],["p-3c70c22c",[[1,"chat-document-message-bubble"]]],["p-5d243250",[[1,"chat-image-message-bubble"]]],["p-c0c19621",[[1,"chat-video-message-bubble"]]],["p-2d3e8cd4",[[1,"forward-memebers",{"dialogData":[8,"dialog-data"],"onClose":[16],"nonBlockedContacts":[32],"skip":[32],"isNoContactsFound":[32],"hasMore":[32],"isLoading":[32],"paginationLoading":[32],"searchText":[32],"selected":[32]}]]],["p-d720cf14",[[1,"member-add",{"dialogData":[8,"dialog-data"],"onClose":[16],"eligibleMembers":[32],"membersListSkip":[32],"hasMore":[32],"isLoading":[32],"paginationLoading":[32],"searchText":[32],"selectedMembers":[32]}]]],["p-ca47d693",[[1,"media-gallery",{"allAttachments":[16],"mainImageIndex":[1026,"main-image-index"],"topbarBgColor":[8,"topbar-bg-color"],"iconColor":[8,"icon-color"],"galleryImageSize":[8,"gallery-image-size"],"isZoomed":[8,"is-zoomed"],"loadingMediaGallery":[4,"loading-media-gallery"],"zoomLevel":[1026,"zoom-level"],"isSharePopupOpen":[8,"is-share-popup-open"],"shareLink":[8,"share-link"],"index":[32]}]]],["p-2cf296e6",[[1,"confirm-dialog",{"dialogData":[8,"dialog-data"],"onClose":[16],"isMobile":[4,"is-mobile"]}]]],["p-c1e8c38e",[[1,"delete-message",{"dialogData":[8,"dialog-data"],"onClose":[16],"isMobile":[4,"is-mobile"]}]]],["p-a876991d",[[1,"forward-message",{"bgColor":[8,"bg-color"],"width":[8],"height":[8],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"color":[8],"fontSize":[8,"font-size"],"borderRadius":[8,"border-radius"],"fontWeight":[8,"font-weight"],"progressBarBg":[8,"progress-bar-bg"],"progressBarHeight":[8,"progress-bar-height"],"progressBarColor":[8,"progress-bar-color"],"progressBarBorderRadius":[8,"progress-bar-border-radius"],"messageBody":[8,"message-body"],"padding":[8],"isRead":[8,"is-read"],"isDelivered":[8,"is-delivered"],"time":[8],"messageBodyBg":[8,"message-body-bg"],"messageAttachment":[8,"message-attachment"],"isSelf":[8,"is-self"],"messageId":[8,"message-id"],"reactions":[8],"showConfirmationPopup":[8,"show-confirmation-popup"],"selectedEmojiToRemove":[8,"selected-emoji-to-remove"],"showAllReactionsPopup":[8,"show-all-reactions-popup"],"showReactionButton":[8,"show-reaction-button"],"showEmojiReactions":[8,"show-emoji-reactions"],"userMetaData":[8,"user-meta-data"]}]]],["p-b857775d",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["p-fdd327f5",[[1,"reaction-container",{"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"reactions":[16],"reactionUsers":[32],"selectedEmojiId":[32]}]]],["p-0392c7be",[[1,"share-popup",{"dialogData":[8,"dialog-data"],"onClose":[16],"isMobile":[4,"is-mobile"],"copied":[32]}]]],["p-586f6978",[[1,"signup-page",{"username":[32],"email":[32],"password":[32],"errorMessage":[32],"isLoading":[32],"profileImageUrl":[32]}]]],["p-e1d632b0",[[1,"toast-notification",{"bgColor":[1,"bg-color"],"width":[1],"height":[1],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"color":[1],"fontSize":[1,"font-size"],"borderRadius":[1,"border-radius"],"fontWeight":[1,"font-weight"],"progressBarBg":[1,"progress-bar-bg"],"progressBarHeight":[1,"progress-bar-height"],"progressBarColor":[1,"progress-bar-color"],"progressBarBorderRadius":[1,"progress-bar-border-radius"],"toastMessage":[1,"toast-message"],"padding":[1]}]]],["p-a43ad157",[[1,"link-preview",{"url":[1],"isRead":[4,"is-read"],"isDelivered":[1,"is-delivered"],"time":[1],"textColor":[1,"text-color"],"message":[1],"backgroundColor":[1,"background-color"],"isSelf":[4,"is-self"],"mentionedUsers":[16],"preview":[8],"isMessageInfo":[4,"is-message-info"],"isShowFooter":[4,"is-show-footer"],"showReactionButton":[4,"show-reaction-button"],"showEmojiReactions":[4,"show-emoji-reactions"],"messageId":[1,"message-id"],"reactions":[16],"showConfirmationPopup":[4,"show-confirmation-popup"],"selectedEmojiToRemove":[8,"selected-emoji-to-remove"],"showAllReactionsPopup":[4,"show-all-reactions-popup"],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"]}]]],["p-ed4699a0",[[1,"profile-avatar",{"src":[1],"name":[1],"alt":[1],"size":[1],"radius":[1],"isGroup":[4,"is-group"],"failed":[32]},null,{"src":["onSrcChange"]}],[1,"spinner-loader",{"height":[1],"width":[1],"spinTime":[1,"spin-time"],"spinnerPrimaryColor":[1,"spinner-primary-color"],"spinnerSecondaryColor":[1,"spinner-secondary-color"],"spinnerBorderWidth":[1,"spinner-border-width"]}]]],["p-fd6ce589",[[1,"searchable-list",{"bgColor":[8,"bg-color"],"padding":[8],"height":[8],"width":[8],"label":[8],"hideTopbar":[4,"hide-topbar"],"fontFamily":[8,"font-family"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"selectedContacts":[1040],"contactList":[16],"conversationList":[16],"isSearching":[4,"is-searching"],"getForwardMessageMemberList":[8,"get-forward-message-member-list"],"onSend":[8,"on-send"],"isLoading":[4,"is-loading"],"paginationLoading":[4,"pagination-loading"],"hasMore":[4,"has-more"],"skip":[2],"searchText":[32],"selectedIds":[32]}],[1,"chat-tile",{"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"imageHeight":[1,"image-height"],"imageWidth":[1,"image-width"],"imageRadius":[1,"image-radius"],"imageFillColor":[1,"image-fill-color"],"imageTextColor":[1,"image-text-color"],"username":[1],"userNameColor":[1,"user-name-color"],"userNameFontFamily":[1,"user-name-font-family"],"userNameFontWeight":[1,"user-name-font-weight"],"usernameFontSize":[1,"username-font-size"],"usernameFontStyle":[1,"username-font-style"],"chatPreview":[1,"chat-preview"],"chatPreviewColor":[1,"chat-preview-color"],"chatPreviewFontFamily":[1,"chat-preview-font-family"],"chatPreviewFontWeight":[1,"chat-preview-font-weight"],"chatPreviewFontSize":[1,"chat-preview-font-size"],"chatPreviewFontStyle":[1,"chat-preview-font-style"],"unreadCount":[2,"unread-count"],"unreadCountColor":[1,"unread-count-color"],"unreadCountFontSize":[1,"unread-count-font-size"],"unreadCountBgColor":[1,"unread-count-bg-color"],"unreadCountBorderRadius":[1,"unread-count-border-radius"],"unreadCountWidth":[1,"unread-count-width"],"unreadCountHeight":[1,"unread-count-height"],"messageDate":[1,"message-date"],"messageDateColor":[1,"message-date-color"],"messageDateFontFamily":[1,"message-date-font-family"],"messageDateFontWeight":[1,"message-date-font-weight"],"messageDateFontSize":[1,"message-date-font-size"],"messageDateFontStyle":[1,"message-date-font-style"],"padding":[1],"usernamePadding":[1,"username-padding"],"chatPreviewPadding":[1,"chat-preview-padding"],"messageDatePadding":[1,"message-date-padding"],"bgColor":[1,"bg-color"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"height":[1],"width":[1],"isSelected":[4,"is-selected"],"sidebarSelectedColor":[1,"sidebar-selected-color"],"suffix":[1],"suffixColor":[1,"suffix-color"],"suffixBgColor":[1,"suffix-bg-color"],"gap":[1],"isTyping":[4,"is-typing"],"typingUserName":[1,"typing-user-name"],"isRead":[4,"is-read"],"isPending":[4,"is-pending"],"isDelivered":[1,"is-delivered"],"isSelfMessage":[4,"is-self-message"],"mediaType":[2,"media-type"],"mediaLabel":[1,"media-label"],"isGroup":[4,"is-group"],"conversationId":[1,"conversation-id"],"onClick":[16],"onContextmenu":[16],"title":[1],"subtitle":[1],"time":[1],"menuOpen":[32],"menuPos":[32]},[[4,"click","onDocClick"]]],[1,"iso-group-info",{"label":[1],"selectedUserIds":[16],"selectedUsers":[16],"isGroupCast":[4,"is-group-cast"],"closeGroupInfo":[16],"afterCreate":[16],"groupTitle":[32],"imageSrc":[32],"imageFile":[32]}]]],["p-d892b4d4",[[1,"group-chat-contacts",{"label":[1],"closeGroupChatContacts":[16],"nonBlockedContacts":[1040],"isNoContactsFound":[4,"is-no-contacts-found"],"isPaginationMember":[4,"is-pagination-member"],"isLoadingMember":[4,"is-loading-member"],"hasMoreMembers":[4,"has-more-members"],"onCloseAll":[16],"isGroupCast":[4,"is-group-cast"],"selectedContacts":[32],"showGroupInfo":[32],"searchText":[32]}]]],["p-f1fbf3be",[[1,"message-bubble",{"isSelf":[4,"is-self"],"time":[1],"timeColor":[1,"time-color"],"isRead":[4,"is-read"],"isDelivered":[8,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"reactions":[16],"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"showReactionOnHover":[4,"show-reaction-on-hover"],"isForwarded":[4,"is-forwarded"],"backgroundColor":[1,"background-color"],"borderRadius":[1,"border-radius"],"padding":[1],"showReactionButton":[32],"showEmojiPicker":[32]}]]],["p-fb705915",[[1,"document-message",{"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"padding":[1],"docName":[1,"doc-name"],"width":[1],"height":[1],"documentNameBg":[1,"document-name-bg"],"documentNamePadding":[1,"document-name-padding"],"time":[1],"href":[1],"fileName":[1,"file-name"],"isRead":[4,"is-read"],"isSelf":[4,"is-self"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"docType":[1,"doc-type"],"textColor":[1,"text-color"],"message":[1],"mentionedUsers":[16],"messageId":[1,"message-id"],"reactions":[16],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"showPdfPreview":[32]}],[1,"image-message",{"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"padding":[1],"imageSrc":[1,"image-src"],"message":[1],"height":[1],"width":[1],"time":[1],"isRead":[4,"is-read"],"isSelf":[4,"is-self"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"textColor":[1,"text-color"],"allAttachments":[16],"isMediaGalleryOpen":[4,"is-media-gallery-open"],"onImageClick":[16],"mentionedUsers":[16],"totalMedia":[2,"total-media"],"mediaType":[2,"media-type"],"loadingMediaGallery":[4,"loading-media-gallery"],"messageId":[1,"message-id"],"reactions":[16],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"galleryOpen":[32]}],[1,"video-message",{"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"padding":[1],"videoSrc":[1,"video-src"],"videoType":[1,"video-type"],"time":[1],"height":[1],"width":[1],"playing":[4],"isRead":[4,"is-read"],"isSelf":[4,"is-self"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"textColor":[1,"text-color"],"message":[1],"mentionedUsers":[16],"messageId":[1,"message-id"],"reactions":[16],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"],"type":[1],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"isPlaying":[32]}],[1,"audio-bubble",{"audioUrl":[1,"audio-url"],"audioWaveColor":[1,"audio-wave-color"],"audioProgressColor":[1,"audio-progress-color"],"textColor":[1,"text-color"],"isSelf":[4,"is-self"],"borderRadius":[1,"border-radius"],"bgColor":[1,"bg-color"],"time":[1],"isRead":[16],"isDelivered":[16],"showFooter":[16],"messageId":[16],"timeColor":[16],"reactions":[8],"messageType":[2,"message-type"],"liveRecord":[4,"live-record"],"isPlaying":[32],"audioDuration":[32],"currentAudioId":[32],"waveformContainerReady":[32],"initializationAttempts":[32],"startLiveRecording":[64],"pauseLiveRecording":[64],"resumeLiveRecording":[64],"stopLiveRecording":[64],"cancelLiveRecording":[64]},null,{"audioUrl":["chatChanged"]}]]],["p-7d4cc4e3",[[1,"web-chat-body",{"skip":[2],"allMessages":[8,"all-messages"],"userMetaData":[8,"user-meta-data"],"isMessagesLoading":[4,"is-messages-loading"],"isMessageSending":[4,"is-message-sending"],"isMessageLimitEnd":[4,"is-message-limit-end"],"updateSkip":[16],"isScrollToBottom":[4,"is-scroll-to-bottom"],"isScrollToTop":[4,"is-scroll-to-top"],"deleteForAll":[16],"deleteForSelf":[16],"changeScrollToBottomState":[16],"changeScrollToTopState":[16],"updateAllMessages":[16],"isChatClosed":[4,"is-chat-closed"],"isChatMinimized":[4,"is-chat-minimized"],"selectedConversationId":[1,"selected-conversation-id"],"allAttachments":[8,"all-attachments"],"highlightedMessageId":[1,"highlighted-message-id"],"onMediaClick":[16],"conversationList":[8,"conversation-list"],"conversationDetails":[8,"conversation-details"],"newMessageNotification":[16],"loadingMediaGallery":[4,"loading-media-gallery"],"customParts":[1040],"previousTotalScrollHeight":[32],"deviceId":[32],"scrollTimeout":[32],"isDeletePopupOpen":[32],"isMessageActionOpen":[32],"actionMenuFlipUp":[32],"deletedMessages":[32],"isTabActive":[32],"isForwardPopupOpen":[32],"isSelf":[32],"isReplyBlockOpen":[32],"messageActionPopupElement":[32],"popupRef":[32],"messageInfoOpen":[32],"messagePreviewText":[32],"messageDate":[32],"messageDeliveryTime":[32],"messageReadTime":[32],"showScrollButton":[32],"isScrolling":[32],"unreadMessageCount":[32],"isChatBodyUnscrollable":[32],"virtualStart":[32],"virtualEnd":[32],"selectedMessage":[32],"readUserList":[32],"deliveryUserList":[32],"pendingDeliveryCount":[32],"pendingReadCount":[32],"isLoadingInfo":[32],"scrollToMessage":[64]},null,{"allMessages":["handleDataChange"],"userMetaData":["handleDataChange"],"selectedConversationId":["handleChnageChangeConversationId"]}],[1,"web-chat-right-sidebar",{"conversationMetaData":[8,"conversation-meta-data"],"selectedConversationId":[1,"selected-conversation-id"],"conversationIdFromContactinfo":[1,"conversation-id-from-contactinfo"],"hasMoreEligibleMembers":[4,"has-more-eligible-members"],"isContactInfoOpen":[4,"is-contact-info-open"],"isProfileInfoOpen":[4,"is-profile-info-open"],"eligibleMembers":[16],"allAttachments":[16],"userMetaData":[8,"user-meta-data"],"messageAction":[16],"searchedMessageDetails":[16],"onSearchHandler":[16],"onSearchResultClick":[16],"handleChatSelect":[16],"openOwnProfile":[16],"isOpenSearchBar":[4,"is-open-search-bar"],"isLoadingMessage":[4,"is-loading-message"],"chatBodyRef":[16],"allLinks":[8,"all-links"],"allLinksCount":[2,"all-links-count"],"isBlocked":[8,"is-blocked"],"groupcastMembers":[8,"groupcast-members"],"groupMembers":[32],"isLoading":[32]},[[0,"remove-admin-clicked","handleRemoveAdmin"],[0,"make-admin-clicked","handleMakeAdmin"],[0,"edit-title","handleEditTitle"],[0,"edit-image","handleEditImage"]],{"selectedConversationId":["updateConversation"]}],[1,"chat-side-bar",{"isMqttConnected":[4,"is-mqtt-connected"],"conversationList":[8,"conversation-list"],"isChatFilter":[4,"is-chat-filter"],"isAllChatButton":[4,"is-all-chat-button"],"customTypes":[8,"custom-types"],"filterTabsContainer":[8,"filter-tabs-container"],"filterTab":[8,"filter-tab"],"filterTabHover":[8,"filter-tab-hover"],"isSidebarHeaderLabel":[4,"is-sidebar-header-label"],"isSidebarHeaderSearch":[4,"is-sidebar-header-search"],"sidebarHeaderLabel":[1,"sidebar-header-label"],"sidebarColor":[1,"sidebar-color"],"sidebarSelectedColor":[1,"sidebar-selected-color"],"onDeleteConversation":[16],"handleSearchData":[16],"userMetaData":[8,"user-meta-data"],"isTyping":[4,"is-typing"],"typingUserName":[1,"typing-user-name"],"typingConversationId":[1,"typing-conversation-id"],"allMessages":[8,"all-messages"],"isConversationLoading":[16],"hasMoreConversations":[4,"has-more-conversations"],"unreadConversationsCount":[2,"unread-conversations-count"],"customParts":[1040],"groupcastEnabled":[4,"groupcast-enabled"],"conversationDetails":[1032,"conversation-details"],"sortedConversationList":[32],"numberOfConversations":[32],"unreadCounts":[32],"searchQuery":[32],"selectedConversationID":[32],"isLoading":[32],"nonBlockedContacts":[32],"skip":[32],"isNoContactsFound":[32],"isGroupChat":[32],"selectedGroupUserIds":[32],"groupInfo":[32],"isGroupCreationLoading":[32],"displayTitle":[32],"searchTagName":[32],"hasMoreMembers":[32],"isLoadingMember":[32],"isPaginationMember":[32],"showNewChat":[32],"showMemberPicker":[32],"showGroupInfo":[32],"memberPickerIsGroupCast":[32],"pendingGroupMembers":[32],"showMoreMenu":[32]},[[0,"group-contacts-input-changed","handleGroupContactsInputChange"],[0,"new-chat-input-changed","handleNewChatInputChange"],[0,"close-group-member-list","handleCloseGroupMemberList"],[0,"unreadMessageCountUpdated","handleUnreadMessageCountUpdate"],[0,"delete-conversation","handleDeleteConversation"],[0,"chat-tile-menu","handleChatTileMenu"],[0,"new-chat-contact-selected","handleNewChatContactSelected"],[0,"new-chat-clicked","handleNewChatClick"],[4,"click","handleDocumentClick"],[0,"new-chat-tile-list-scrolled-to-bottom","handleNewChatTileListScrolledToBottom"],[0,"group-contacts-scrolled-to-bottom","handleNewChatTileListScrolledToBottom"],[0,"create-group-clicked","handleCreateGroupClick"],[0,"create-groupcast-clicked","handleCreateGroupCastClick"],[0,"group-contacts-selected","handleGroupContactsSelected"],[0,"group-info-submitted","handleGroupInfoSubmitted"],[0,"create-group-submitted","handleGroupSubmitted"],[0,"create-group-cast-submitted","handleGroupSubmitted"],[0,"exit-group","handleExitGroup"],[16,"contact-action","handleContactAction"],[0,"message-read-status-updated","handleMessageReadStatusUpdate"]],{"conversationList":["handleConversationListChange"],"conversationDetails":["handleConversationDetailsChange"]}],[0,"group-cast",{"groupCastData":[16],"isLoadingMore":[4,"is-loading-more"],"userMetaData":[8,"user-meta-data"],"onCreated":[16],"selectedGroupcastId":[32],"contextMenuX":[32],"contextMenuY":[32],"isContextMenuOpen":[32],"selectedTileForMenu":[32],"showMemberPicker":[32],"showGroupInfo":[32],"pendingMembers":[32],"nonBlockedContacts":[32],"skip":[32],"hasMoreMembers":[32],"isLoadingMember":[32],"isPaginationMember":[32],"isCreating":[32]},[[0,"create-group-cast-submitted","handleCreateSubmitted"]]],[1,"chat-footer",{"userMetaData":[8,"user-meta-data"],"refetchMessages":[16],"changeMessageSendingState":[16],"changeScrollToBottomState":[16],"updateAllMessages":[16],"allMessages":[8,"all-messages"],"selectedConversationId":[1,"selected-conversation-id"],"replyMessage":[1032,"reply-message"],"handleremoveReplyMessage":[16],"sortConversationsByLatestMessage":[16],"conversationDetails":[1040],"allConversationList":[1032,"all-conversation-list"],"updateConversationListProp":[16],"messageBody":[32],"attachmentDetails":[32],"deviceId":[32],"mediaPreviews":[32],"inputKey":[32],"showCloseIcon":[32],"mentionUserList":[32],"showCamera":[32],"linkPreview":[32],"linkToPreview":[32],"detectLinks":[32],"isGroupcast":[32],"groupcastId":[32],"showEmojiPicker":[32],"emojiPanelStyle":[32],"attachMenuStyle":[32],"showAttachMenu":[32],"isRecording":[32],"isPaused":[32],"recordingSeconds":[32],"focusInput":[64]},[[0,"mention-user","handleMentionUser"]],{"messageBody":["onMessageBodyChange"],"selectedConversationId":["handleDataChange"],"replyMessage":["replyFocusHandler"]}],[1,"profile-page",{"name":[1025],"profilePhotoUrl":[1025,"profile-photo-url"],"conversationId":[1,"conversation-id"],"getUserDetails":[16],"closeDrawer":[16],"toggleTheme":[16],"defaultTheme":[1,"default-theme"],"isEditingName":[32],"newName":[32],"isLoading":[32],"selectedFile":[32],"tempProfilePhotoUrl":[32],"showBlocked":[32],"getPresignedUrl":[64],"updateUserProfile":[64]},null,{"name":["onNameChange"],"profilePhotoUrl":["onPhotoChange"]}],[1,"web-chat-header",{"conversationDetails":[16],"isTyping":[4,"is-typing"],"onClearConversation":[16],"onConversationCleared":[16],"headerBgColor":[1,"header-bg-color"],"headerUsernameColor":[1,"header-username-color"],"headerSvgColor":[1,"header-svg-color"],"headerLastSeenColor":[1,"header-last-seen-color"],"searchedMessageDetails":[8,"searched-message-details"],"onSearchResultClick":[16],"chatBodyRef":[16],"allAttachments":[8,"all-attachments"],"lastSeen":[1,"last-seen"],"userMetaData":[8,"user-meta-data"],"isLoadingMessage":[16],"messageAction":[16],"hasMoreEligibleMembers":[4,"has-more-eligible-members"],"typingConversationId":[1,"typing-conversation-id"],"isBlocked":[8,"is-blocked"],"onBackButtonClick":[16],"handleCloseChat":[16],"onSearchHandler":[16],"selectedConversationId":[1,"selected-conversation-id"],"eligibleMembers":[16],"typingUserName":[1,"typing-user-name"],"isLoading":[32],"groupMembers":[32],"displayTitle":[32],"menuOpen":[32]},[[4,"click","handleDocumentClick"]],{"conversationDetails":["handleConversationDetailsChange"]}],[1,"message-info",{"padding":[8],"margin":[8],"width":[8],"height":[8],"borderRadius":[8,"border-radius"],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"borderStyle":[8,"border-style"],"backgroundColor":[8,"background-color"],"messageBackgroundColor":[8,"message-background-color"],"statusBackgroundColor":[8,"status-background-color"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"fontWeight":[8,"font-weight"],"fontFamily":[8,"font-family"],"fontStyle":[8,"font-style"],"lineHeight":[8,"line-height"],"textAlign":[8,"text-align"],"contactImage":[8,"contact-image"],"contactName":[8,"contact-name"],"contactEmail":[8,"contact-email"],"isGroup":[8,"is-group"],"messageDate":[8,"message-date"],"messagePreviewText":[8,"message-preview-text"],"messageDeliveryTime":[8,"message-delivery-time"],"messageReadTime":[8,"message-read-time"],"pendingReadCount":[8,"pending-read-count"],"pendingDeliveryCount":[8,"pending-delivery-count"],"renderAttachmentMessage":[8,"render-attachment-message"],"selectedMessage":[8,"selected-message"],"onMediaClick":[8,"on-media-click"],"closePopup":[8,"close-popup"],"allAttachments":[8,"all-attachments"],"deliveryUserList":[16],"readUserList":[16]}],[1,"profile-sidebar",{"userMetaData":[8,"user-meta-data"],"openProfile":[8,"open-profile"],"openChat":[8,"open-chat"],"openGroupCast":[8,"open-group-cast"],"toggleTheme":[8,"toggle-theme"],"activeTab":[1,"active-tab"],"defaultTheme":[1,"default-theme"],"unreadConversationsCount":[2,"unread-conversations-count"]}],[1,"chat-loading-placeholder",{"progress":[2],"loadingStatus":[1,"loading-status"]}],[1,"contact-info",{"padding":[8],"margin":[8],"width":[8],"boxShadow":[8,"box-shadow"],"height":[8],"borderRadius":[8,"border-radius"],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"borderStyle":[8,"border-style"],"backgroundColor":[8,"background-color"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"fontWeight":[8,"font-weight"],"fontFamily":[8,"font-family"],"fontStyle":[8,"font-style"],"lineHeight":[8,"line-height"],"textAlign":[8,"text-align"],"contactImage":[8,"contact-image"],"contactName":[8,"contact-name"],"contactEmail":[8,"contact-email"],"messageAction":[8,"message-action"],"groupMembers":[16],"allAttachments":[16],"isGroup":[8,"is-group"],"showAllMembers":[8,"show-all-members"],"isPopupOpen":[8,"is-popup-open"],"showMediaList":[8,"show-media-list"],"isImageFullscreen":[8,"is-image-fullscreen"],"showConfirmationPopup":[8,"show-confirmation-popup"],"confirmationAction":[8,"confirmation-action"],"conversationId":[8,"conversation-id"],"oppenentId":[8,"oppenent-id"],"userMetaData":[8,"user-meta-data"],"onEditTitle":[8,"on-edit-title"],"onEditImage":[8,"on-edit-image"],"openOwnProfile":[8,"open-own-profile"],"editedName":[8,"edited-name"],"eligibleMembers":[8,"eligible-members"],"isEligibleMembersPopupOpen":[8,"is-eligible-members-popup-open"],"hasMoreEligibleMembers":[8,"has-more-eligible-members"],"isLoadingMembers":[8,"is-loading-members"],"activeTab":[8,"active-tab"],"docsAttachments":[8,"docs-attachments"],"linksAttachments":[8,"links-attachments"],"allLinks":[8,"all-links"],"allLinksCount":[8,"all-links-count"],"isBlocked":[8,"is-blocked"],"conversationMetaData":[8,"conversation-meta-data"],"isGroupcast":[8,"is-groupcast"],"groupcastId":[8,"groupcast-id"],"groupcastMembers":[8,"groupcast-members"],"closeContactInfo":[8,"close-contact-info"],"mediaListOpen":[32],"mediaTab":[32],"galleryIndex":[32],"mediaItems":[32],"docItems":[32],"previewTry":[32],"memberMenuUserId":[32]},null,{"allAttachments":["onAttachmentsChange"]}],[1,"block-chat-list",{"goBack":[16],"blockUsers":[32],"isLoading":[32],"skip":[32],"hasMore":[32],"paginationLoading":[32],"searchTerm":[32]}],[1,"new-chat",{"contactList":[16],"isLoading":[4,"is-loading"],"paginationLoading":[4,"pagination-loading"],"hasMore":[4,"has-more"],"skip":[2],"onSearch":[16],"onSelect":[16],"onClose":[16],"customParts":[16],"groupcastEnabled":[4,"groupcast-enabled"],"searchText":[32]}],[1,"incoming-text-message-bubble",{"bgColor":[1,"bg-color"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"padding":[1],"height":[1],"width":[1],"time":[1],"textContent":[1,"text-content"],"alignSelf":[1,"align-self"],"fontFamily":[1,"font-family"],"color":[1],"mentionedUsers":[16],"reactions":[16],"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"]}],[1,"message-search",{"searchedMessageDetails":[16],"onSearchResultClick":[8,"on-search-result-click"],"onSearchInput":[8,"on-search-input"],"isSearchOpen":[4,"is-search-open"],"isLoadingMessage":[4,"is-loading-message"],"chatBodyRef":[8,"chat-body-ref"],"onSearchHandler":[8,"on-search-handler"],"searchValue":[32]}],[1,"outgoing-text-message-bubble",{"bgColor":[1,"bg-color"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"padding":[1],"height":[1],"width":[1],"time":[1],"textContent":[1,"text-content"],"alignSelf":[1,"align-self"],"isRead":[4,"is-read"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"textColor":[1,"text-color"],"mentionedUsers":[16],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"reactions":[16],"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"fontFamily":[1,"font-family"]}],[1,"reply-message-container",{"color":[1],"fontSize":[1,"font-size"],"textAlign":[1,"text-align"],"fontWeight":[1,"font-weight"],"fontStyle":[1,"font-style"],"backgroundColor":[1,"background-color"],"borderColor":[1,"border-color"],"borderWidth":[1,"border-width"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"fontFamily":[1,"font-family"],"width":[1],"height":[1],"display":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"padding":[1],"messageBody":[1,"message-body"],"parentMessageBody":[1,"parent-message-body"],"parentmessageBody":[1,"parentmessage-body"],"senderName":[1,"sender-name"],"messageTime":[1,"message-time"],"icon1":[8,"icon-1"],"repliedMessage":[1,"replied-message"],"isRead":[4,"is-read"],"isDelivered":[1,"is-delivered"],"messageInfo":[8,"message-info"],"userMetaData":[8,"user-meta-data"],"parentMessageTime":[1,"parent-message-time"],"parentMessageMediaUrl":[1,"parent-message-media-url"],"parentMessageType":[1,"parent-message-type"],"parentMessageId":[1,"parent-message-id"],"parentMessageSenderIdentifier":[1,"parent-message-sender-identifier"],"parentMessageSenderName":[1,"parent-message-sender-name"],"isSelf":[4,"is-self"],"onMediaClick":[16],"allAttachments":[16],"showEmojiReactions":[4,"show-emoji-reactions"],"reactions":[16],"messageId":[1,"message-id"],"timeColor":[1,"time-color"],"showReactionButton":[4,"show-reaction-button"],"showConfirmationPopup":[4,"show-confirmation-popup"],"selectedEmojiToRemove":[8,"selected-emoji-to-remove"],"showAllReactionsPopup":[4,"show-all-reactions-popup"],"showReactionOnHover":[4,"show-reaction-on-hover"]}],[1,"attachment-preview",{"content":[16],"contentType":[16],"selectedIndex":[1026,"selected-index"],"caption":[8],"onClose":[8,"on-close"],"onSend":[8,"on-send"],"inputValue":[1025,"input-value"],"inputBorderColor":[8,"input-border-color"],"inputBorderWidth":[8,"input-border-width"],"inputBorderStyle":[8,"input-border-style"],"inputPlaceholder":[8,"input-placeholder"],"inputBgColor":[8,"input-bg-color"],"inputFontSize":[8,"input-font-size"],"inputFontColor":[8,"input-font-color"],"inputBorderRadius":[8,"input-border-radius"],"inputContainerBorderColor":[8,"input-container-border-color"],"inputContainerBorderWidth":[8,"input-container-border-width"],"inputContainerBorderRadius":[8,"input-container-border-radius"],"inputPlaceholderColor":[8,"input-placeholder-color"],"inputContainerPadding":[8,"input-container-padding"],"showCloseIcon":[8,"show-close-icon"],"sendButtonIconHeight":[8,"send-button-icon-height"],"sendButtonIconWidth":[8,"send-button-icon-width"],"conversationDetails":[8,"conversation-details"],"showMentionList":[8,"show-mention-list"],"mentionSearchQuery":[8,"mention-search-query"],"cursorPosition":[8,"cursor-position"],"userMetaData":[8,"user-meta-data"],"showCamera":[4,"show-camera"],"isOpen":[8,"is-open"],"localIndex":[32],"cameraError":[32],"cameraReady":[32],"facingMode":[32],"showEmojiPicker":[32]},null,{"content":["onContentChange"],"showCamera":["onShowCameraChange"]}],[1,"context-menu",{"x":[2],"y":[2],"isOpen":[4,"is-open"],"menuItems":[16],"onMenuItemSelected":[8,"on-menu-item-selected"],"onMenuClosed":[8,"on-menu-closed"]},[[4,"click","handleOutsideClick"]]],[1,"message-date-pill",{"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"width":[1],"padding":[1],"borderRadius":[1,"border-radius"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"fontFamily":[1,"font-family"],"content":[1]}],[1,"profile-info",{"padding":[8],"margin":[8],"width":[8],"boxShadow":[8,"box-shadow"],"height":[8],"borderRadius":[8,"border-radius"],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"borderStyle":[8,"border-style"],"backgroundColor":[8,"background-color"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"fontWeight":[8,"font-weight"],"fontFamily":[8,"font-family"],"fontStyle":[8,"font-style"],"lineHeight":[8,"line-height"],"textAlign":[8,"text-align"],"contactImage":[8,"contact-image"],"contactName":[8,"contact-name"],"contactEmail":[8,"contact-email"],"messageAction":[8,"message-action"],"groupMembers":[8,"group-members"],"allAttachments":[8,"all-attachments"],"isGroup":[8,"is-group"],"showAllMembers":[8,"show-all-members"],"isPopupOpen":[8,"is-popup-open"],"showMediaList":[8,"show-media-list"],"isImageFullscreen":[8,"is-image-fullscreen"],"showConfirmationPopup":[8,"show-confirmation-popup"],"confirmationAction":[8,"confirmation-action"],"conversationId":[8,"conversation-id"],"oppenentId":[8,"oppenent-id"],"userMetaData":[8,"user-meta-data"],"onEditTitle":[8,"on-edit-title"],"handleChatSelect":[8,"handle-chat-select"],"onEditImage":[8,"on-edit-image"],"isEditingName":[8,"is-editing-name"],"openOwnProfile":[8,"open-own-profile"],"editedName":[8,"edited-name"],"eligibleMembers":[8,"eligible-members"],"isEligibleMembersPopupOpen":[8,"is-eligible-members-popup-open"],"hasMoreEligibleMembers":[8,"has-more-eligible-members"],"isLoadingMembers":[8,"is-loading-members"],"activeTab":[8,"active-tab"],"docsAttachments":[8,"docs-attachments"],"linksAttachments":[8,"links-attachments"],"allLinks":[8,"all-links"],"allLinksCount":[8,"all-links-count"],"isBlocked":[8,"is-blocked"],"conversationMetaData":[8,"conversation-meta-data"],"closeContactInfo":[8,"close-contact-info"]}],[1,"reply-block",{"color":[1],"fontSize":[1,"font-size"],"textAlign":[1,"text-align"],"fontWeight":[1,"font-weight"],"fontStyle":[1,"font-style"],"backgroundColor":[1,"background-color"],"borderColor":[1,"border-color"],"borderWidth":[1,"border-width"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"fontFamily":[1,"font-family"],"width":[1],"height":[1],"display":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"padding":[1],"messageBody":[1,"message-body"],"senderName":[1,"sender-name"],"messageTime":[1,"message-time"],"icon1":[8,"icon-1"],"icon2":[8,"icon-2"],"onIconClick":[16],"messageInfo":[8,"message-info"]}]]],["p-dc2bf17e",[[1,"web-chat",{"customParts":[1040],"name":[1],"baseUrl":[1,"base-url"],"licenseKey":[1,"license-key"],"appSecret":[1,"app-secret"],"userSecret":[1,"user-secret"],"userToken":[1,"user-token"],"themeUrl":[1,"theme-url"],"defaultTheme":[1,"default-theme"],"isometrikUserId":[1,"isometrik-user-id"],"projectId":[1,"project-id"],"keysetId":[1,"keyset-id"],"accountId":[1,"account-id"],"conversationId":[1,"conversation-id"],"hostUrl":[1,"host-url"],"groupcastEnabled":[4,"groupcast-enabled"],"showProfileRail":[4,"show-profile-rail"],"showChatWallpaper":[4,"show-chat-wallpaper"],"showHeader":[4,"show-header"],"showComposer":[4,"show-composer"],"showEmptyState":[4,"show-empty-state"],"showConversationList":[4,"show-conversation-list"],"showRightPanel":[4,"show-right-panel"],"isChatFilter":[4,"is-chat-filter"],"isAllChatButton":[4,"is-all-chat-button"],"isSidebarHeaderLabel":[4,"is-sidebar-header-label"],"sidebarHeaderLabel":[1,"sidebar-header-label"],"isSidebarHeaderSearch":[4,"is-sidebar-header-search"],"sidebarColor":[1,"sidebar-color"],"sidebarSelectedColor":[1,"sidebar-selected-color"],"toggleTheme":[16],"unreadConversations":[32],"allLinks":[32],"allLinksCount":[32],"isInitialized":[32],"findUserId":[32],"mqttClient":[32],"mqttInitialized":[32],"isMqttConnected":[32],"allMessages":[32],"selectConversationMessages":[32],"userMetaData":[32],"allConversationList":[32],"conversationMetaData":[32],"selctConversationMetaData":[32],"isMessageLimitEnd":[32],"skip":[32],"isMessagesLoading":[32],"isMessageSending":[32],"deviceId":[32],"isScrollToBottom":[32],"isScrollToTop":[32],"isConversationLoading":[32],"isLoadingConversationList":[32],"unreadConversationsCount":[32],"isChatClosed":[32],"isChatMinimized":[32],"isSubscribedToTopic":[32],"isMessageListenerAttached":[32],"isInitialCallDone":[32],"isTyping":[32],"typingUserName":[32],"selectedConversationId":[32],"unreadMessageCount":[32],"unreadMessageCountFromApi":[32],"isLoading":[32],"loadingProgress":[32],"loadingStatus":[32],"isLoadingMessage":[32],"hasMoreConversations":[32],"eligibleMembers":[32],"membersListSkip":[32],"hasMoreEligibleMembers":[32],"isMobileView":[32],"showSidebar":[32],"isContactInfoOpen":[32],"isProfileInfoOpen":[32],"isOpenSearchBar":[32],"messageSearchText":[32],"searchedMessageDetails":[32],"initialConversationIdFromURL":[32],"allAttachments":[32],"selectConverSationAttachments":[32],"highlightedMessageId":[32],"messageAction":[32],"replyMessage":[32],"messageInfoPanel":[32],"loadingMediaGallery":[32],"activeTab":[32],"showRightSideBar":[32],"conversationIdFromContactinfo":[32],"exitedGroupIds":[32],"conversationCountSkip":[32],"typingConversationId":[32],"newMessageNotification":[32],"isBlocked":[32],"allGroupCastContacts":[32],"groupcastSkip":[32],"isLoadingMoreGroupcast":[32],"hasMoreGroupcast":[32],"groupcastMembers":[32],"setCustomParts":[64],"selectConversation":[64],"setReply":[64],"clearReply":[64],"sendText":[64],"sendMedia":[64],"loadMoreMessages":[64],"loadMoreConversations":[64],"getChatState":[64]},[[0,"remove-member-clicked","handleRemoveMemberClicked"],[0,"profile-clicked","onProfileClick"],[0,"members-list-scrolled-to-bottom","handleMembersListScrolledToBottom"],[0,"close-right-Sidebar","handleContactInfo"],[0,"close-contact-info","handleProfileInfo"],[0,"message-info-panel-change","handleMessageInfoPanelChange"],[0,"open-right-Sidebar","handleOpen"],[0,"get-links","handleGetLinks"],[0,"groupExited","handleGroupExited"],[0,"tagUserClick","handleTaguserClick"],[16,"contact-action","handleContactAction"],[0,"chat-tile-list-scrolled-to-bottom","handleChatTileScrolledToBottom"],[0,"conversation-updated","handleConversationUpdate"],[0,"groupcastScrolledToBottom","handleGroupcastScroll"],[0,"delete-groupcast","handleDeleteGroupcast"]],{"isLoading":["onLoadingChange"],"allConversationList":["onConversationListChange"],"allMessages":["onMessagesChange","handlemessageAction"],"replyMessage":["onReplyMessageChange"],"skip":["handleSkipChange"],"isTyping":["handleTypingChange"],"selectedConversationId":["handleSelectedConversationChange"],"initialConversationIdFromURL":["handleSelectedConversationChange"],"selectConversationMessages":["handlemessageAction"],"conversationMetaData":["watchPropHandler"]}],[1,"login-page",{"username":[32],"password":[32],"errorMessage":[32],"isLoading":[32],"showPassword":[32]}],[1,"theme-provider",{"themePath":[1,"theme-path"],"mode":[1537],"themeObject":[16],"mirrorToDocument":[4,"mirror-to-document"],"styleElement":[32],"toggleTheme":[64],"setTheme":[64],"setThemeObject":[64]},null,{"themePath":["handleThemePathChange"],"mode":["handleModeChange"],"themeObject":["handleThemeObjectChange"],"mirrorToDocument":["handleMirrorChange"]}]]]]'),e)}));
|
|
1
|
+
import{p as e,B as o,c as a,d as t,N as i,H as r,b as n}from"./p-17a96a2a.js";export{s as setNonce}from"./p-17a96a2a.js";import{g as l}from"./p-86be30fe.js";import"./p-3f355f9e.js";import"./p-5162774c.js";import"./p-1953573d.js";import"./p-8f17345f.js";import"./p-7fd2c1ad.js";import"./p-5d98a8a0.js";import"./p-46dcd38f.js";import"./p-b1330793.js";var d=()=>{if(o.isDev&&!o.isTesting){a("Running in development mode.")}if(o.cloneNodeFix){c(r.prototype)}const s=o.scriptDataOpts?Array.from(t.querySelectorAll("script")).find((e=>new RegExp(`/${i}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===i)):null;const n=import.meta.url;const l=o.scriptDataOpts?(s||{})["data-opts"]||{}:{};if(n!==""){l.resourcesUrl=new URL(".",n).href}return e(l)};var c=e=>{const o=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return o.call(this,e)}const a=o.call(this,false);const t=this.childNodes;if(e){for(let e=0;e<t.length;e++){if(t[e].nodeType!==2){a.appendChild(t[e].cloneNode(true))}}}return a}};d().then((async e=>{await l();return n(JSON.parse('[["p-161fcb35",[[4,"chat-app",{"themePath":[1,"theme-path"],"mode":[1537],"themeObject":[16],"isLoggedIn":[32],"userToken":[32],"userId":[32],"demoCustomUi":[32],"changeTheme":[64],"toggleTheme":[64]}]]],["p-39b626ed",[[1,"new-chat-sidebar",{"label":[1],"closeNewChatSidebar":[16],"nonBlockedContacts":[16],"isNoContactsFound":[4,"is-no-contacts-found"],"isPaginationMember":[4,"is-pagination-member"],"isLoadingMember":[4,"is-loading-member"],"hasMoreMembers":[4,"has-more-members"],"showGroupChatContacts":[32],"showGroupCastContacts":[32],"searchText":[32]}]]],["p-2e9974e1",[[1,"chat-document-message-bubble"]]],["p-ad02a8ca",[[1,"chat-image-message-bubble"]]],["p-c83e2d5d",[[1,"chat-video-message-bubble"]]],["p-7af9a7f3",[[1,"forward-memebers",{"dialogData":[8,"dialog-data"],"onClose":[16],"nonBlockedContacts":[32],"skip":[32],"isNoContactsFound":[32],"hasMore":[32],"isLoading":[32],"paginationLoading":[32],"searchText":[32],"selected":[32]}]]],["p-76341adb",[[1,"member-add",{"dialogData":[8,"dialog-data"],"onClose":[16],"eligibleMembers":[32],"membersListSkip":[32],"hasMore":[32],"isLoading":[32],"paginationLoading":[32],"searchText":[32],"selectedMembers":[32]}]]],["p-7b25f234",[[1,"admin-transfer-dialog",{"dialogData":[16],"onClose":[16],"isMobile":[4,"is-mobile"]}]]],["p-ca47d693",[[1,"media-gallery",{"allAttachments":[16],"mainImageIndex":[1026,"main-image-index"],"topbarBgColor":[8,"topbar-bg-color"],"iconColor":[8,"icon-color"],"galleryImageSize":[8,"gallery-image-size"],"isZoomed":[8,"is-zoomed"],"loadingMediaGallery":[4,"loading-media-gallery"],"zoomLevel":[1026,"zoom-level"],"isSharePopupOpen":[8,"is-share-popup-open"],"shareLink":[8,"share-link"],"index":[32]}]]],["p-2cf296e6",[[1,"confirm-dialog",{"dialogData":[8,"dialog-data"],"onClose":[16],"isMobile":[4,"is-mobile"]}]]],["p-3664e0ad",[[1,"delete-message",{"dialogData":[8,"dialog-data"],"onClose":[16],"isMobile":[4,"is-mobile"]}]]],["p-0ccfbe90",[[1,"forward-message",{"bgColor":[8,"bg-color"],"width":[8],"height":[8],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"color":[8],"fontSize":[8,"font-size"],"borderRadius":[8,"border-radius"],"fontWeight":[8,"font-weight"],"progressBarBg":[8,"progress-bar-bg"],"progressBarHeight":[8,"progress-bar-height"],"progressBarColor":[8,"progress-bar-color"],"progressBarBorderRadius":[8,"progress-bar-border-radius"],"messageBody":[8,"message-body"],"padding":[8],"isRead":[8,"is-read"],"isDelivered":[8,"is-delivered"],"time":[8],"messageBodyBg":[8,"message-body-bg"],"messageAttachment":[8,"message-attachment"],"isSelf":[8,"is-self"],"messageId":[8,"message-id"],"reactions":[8],"showConfirmationPopup":[8,"show-confirmation-popup"],"selectedEmojiToRemove":[8,"selected-emoji-to-remove"],"showAllReactionsPopup":[8,"show-all-reactions-popup"],"showReactionButton":[8,"show-reaction-button"],"showEmojiReactions":[8,"show-emoji-reactions"],"userMetaData":[8,"user-meta-data"]}]]],["p-48ce4dca",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["p-2195b0c0",[[1,"reaction-container",{"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"reactions":[16],"reactionUsers":[32],"selectedEmojiId":[32]}]]],["p-e48a1217",[[1,"share-popup",{"dialogData":[8,"dialog-data"],"onClose":[16],"isMobile":[4,"is-mobile"],"copied":[32]}]]],["p-586f6978",[[1,"signup-page",{"username":[32],"email":[32],"password":[32],"errorMessage":[32],"isLoading":[32],"profileImageUrl":[32]}]]],["p-e1d632b0",[[1,"toast-notification",{"bgColor":[1,"bg-color"],"width":[1],"height":[1],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"color":[1],"fontSize":[1,"font-size"],"borderRadius":[1,"border-radius"],"fontWeight":[1,"font-weight"],"progressBarBg":[1,"progress-bar-bg"],"progressBarHeight":[1,"progress-bar-height"],"progressBarColor":[1,"progress-bar-color"],"progressBarBorderRadius":[1,"progress-bar-border-radius"],"toastMessage":[1,"toast-message"],"padding":[1]}]]],["p-d8b65cf4",[[1,"message-bubble",{"isSelf":[4,"is-self"],"time":[1],"timeColor":[1,"time-color"],"isRead":[4,"is-read"],"isDelivered":[8,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"reactions":[16],"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"showReactionOnHover":[4,"show-reaction-on-hover"],"isForwarded":[4,"is-forwarded"],"backgroundColor":[1,"background-color"],"borderRadius":[1,"border-radius"],"padding":[1],"showReactionButton":[32],"showEmojiPicker":[32]}]]],["p-1eecc7c5",[[1,"link-preview",{"url":[1],"isRead":[4,"is-read"],"isDelivered":[1,"is-delivered"],"time":[1],"textColor":[1,"text-color"],"message":[1],"backgroundColor":[1,"background-color"],"isSelf":[4,"is-self"],"mentionedUsers":[16],"preview":[8],"isMessageInfo":[4,"is-message-info"],"isShowFooter":[4,"is-show-footer"],"showReactionButton":[4,"show-reaction-button"],"showEmojiReactions":[4,"show-emoji-reactions"],"messageId":[1,"message-id"],"reactions":[16],"showConfirmationPopup":[4,"show-confirmation-popup"],"selectedEmojiToRemove":[8,"selected-emoji-to-remove"],"showAllReactionsPopup":[4,"show-all-reactions-popup"],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"]}]]],["p-c5bff6a1",[[1,"profile-avatar",{"src":[1],"name":[1],"alt":[1],"size":[1],"radius":[1],"isGroup":[4,"is-group"],"failed":[32]},null,{"src":["onSrcChange"]}]]],["p-fd6ce589",[[1,"searchable-list",{"bgColor":[8,"bg-color"],"padding":[8],"height":[8],"width":[8],"label":[8],"hideTopbar":[4,"hide-topbar"],"fontFamily":[8,"font-family"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"selectedContacts":[1040],"contactList":[16],"conversationList":[16],"isSearching":[4,"is-searching"],"getForwardMessageMemberList":[8,"get-forward-message-member-list"],"onSend":[8,"on-send"],"isLoading":[4,"is-loading"],"paginationLoading":[4,"pagination-loading"],"hasMore":[4,"has-more"],"skip":[2],"searchText":[32],"selectedIds":[32]}],[1,"chat-tile",{"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"imageHeight":[1,"image-height"],"imageWidth":[1,"image-width"],"imageRadius":[1,"image-radius"],"imageFillColor":[1,"image-fill-color"],"imageTextColor":[1,"image-text-color"],"username":[1],"userNameColor":[1,"user-name-color"],"userNameFontFamily":[1,"user-name-font-family"],"userNameFontWeight":[1,"user-name-font-weight"],"usernameFontSize":[1,"username-font-size"],"usernameFontStyle":[1,"username-font-style"],"chatPreview":[1,"chat-preview"],"chatPreviewColor":[1,"chat-preview-color"],"chatPreviewFontFamily":[1,"chat-preview-font-family"],"chatPreviewFontWeight":[1,"chat-preview-font-weight"],"chatPreviewFontSize":[1,"chat-preview-font-size"],"chatPreviewFontStyle":[1,"chat-preview-font-style"],"unreadCount":[2,"unread-count"],"unreadCountColor":[1,"unread-count-color"],"unreadCountFontSize":[1,"unread-count-font-size"],"unreadCountBgColor":[1,"unread-count-bg-color"],"unreadCountBorderRadius":[1,"unread-count-border-radius"],"unreadCountWidth":[1,"unread-count-width"],"unreadCountHeight":[1,"unread-count-height"],"messageDate":[1,"message-date"],"messageDateColor":[1,"message-date-color"],"messageDateFontFamily":[1,"message-date-font-family"],"messageDateFontWeight":[1,"message-date-font-weight"],"messageDateFontSize":[1,"message-date-font-size"],"messageDateFontStyle":[1,"message-date-font-style"],"padding":[1],"usernamePadding":[1,"username-padding"],"chatPreviewPadding":[1,"chat-preview-padding"],"messageDatePadding":[1,"message-date-padding"],"bgColor":[1,"bg-color"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"height":[1],"width":[1],"isSelected":[4,"is-selected"],"sidebarSelectedColor":[1,"sidebar-selected-color"],"suffix":[1],"suffixColor":[1,"suffix-color"],"suffixBgColor":[1,"suffix-bg-color"],"gap":[1],"isTyping":[4,"is-typing"],"typingUserName":[1,"typing-user-name"],"isRead":[4,"is-read"],"isPending":[4,"is-pending"],"isDelivered":[1,"is-delivered"],"isSelfMessage":[4,"is-self-message"],"mediaType":[2,"media-type"],"mediaLabel":[1,"media-label"],"isGroup":[4,"is-group"],"conversationId":[1,"conversation-id"],"onClick":[16],"onContextmenu":[16],"title":[1],"subtitle":[1],"time":[1],"menuOpen":[32],"menuPos":[32]},[[4,"click","onDocClick"]]],[1,"iso-group-info",{"label":[1],"selectedUserIds":[16],"selectedUsers":[16],"isGroupCast":[4,"is-group-cast"],"closeGroupInfo":[16],"afterCreate":[16],"groupTitle":[32],"imageSrc":[32],"imageFile":[32]}]]],["p-d892b4d4",[[1,"group-chat-contacts",{"label":[1],"closeGroupChatContacts":[16],"nonBlockedContacts":[1040],"isNoContactsFound":[4,"is-no-contacts-found"],"isPaginationMember":[4,"is-pagination-member"],"isLoadingMember":[4,"is-loading-member"],"hasMoreMembers":[4,"has-more-members"],"onCloseAll":[16],"isGroupCast":[4,"is-group-cast"],"selectedContacts":[32],"showGroupInfo":[32],"searchText":[32]}]]],["p-cc5b86e6",[[1,"document-message",{"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"padding":[1],"docName":[1,"doc-name"],"width":[1],"height":[1],"documentNameBg":[1,"document-name-bg"],"documentNamePadding":[1,"document-name-padding"],"time":[1],"href":[1],"fileName":[1,"file-name"],"isRead":[4,"is-read"],"isSelf":[4,"is-self"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"docType":[1,"doc-type"],"textColor":[1,"text-color"],"message":[1],"mentionedUsers":[16],"messageId":[1,"message-id"],"reactions":[16],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"showPdfPreview":[32]}],[1,"image-message",{"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"padding":[1],"imageSrc":[1,"image-src"],"message":[1],"height":[1],"width":[1],"time":[1],"isRead":[4,"is-read"],"isSelf":[4,"is-self"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"textColor":[1,"text-color"],"allAttachments":[16],"isMediaGalleryOpen":[4,"is-media-gallery-open"],"onImageClick":[16],"mentionedUsers":[16],"totalMedia":[2,"total-media"],"mediaType":[2,"media-type"],"loadingMediaGallery":[4,"loading-media-gallery"],"messageId":[1,"message-id"],"reactions":[16],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"galleryOpen":[32]}],[1,"video-message",{"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"padding":[1],"videoSrc":[1,"video-src"],"videoType":[1,"video-type"],"time":[1],"height":[1],"width":[1],"playing":[4],"isRead":[4,"is-read"],"isSelf":[4,"is-self"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"textColor":[1,"text-color"],"message":[1],"mentionedUsers":[16],"messageId":[1,"message-id"],"reactions":[16],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"],"type":[1],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"isPlaying":[32]}],[1,"audio-bubble",{"audioUrl":[1,"audio-url"],"audioWaveColor":[1,"audio-wave-color"],"audioProgressColor":[1,"audio-progress-color"],"textColor":[1,"text-color"],"isSelf":[4,"is-self"],"borderRadius":[1,"border-radius"],"bgColor":[1,"bg-color"],"time":[1],"isRead":[16],"isDelivered":[16],"showFooter":[16],"messageId":[16],"timeColor":[16],"reactions":[8],"messageType":[2,"message-type"],"liveRecord":[4,"live-record"],"isPlaying":[32],"audioDuration":[32],"currentAudioId":[32],"waveformContainerReady":[32],"initializationAttempts":[32],"startLiveRecording":[64],"pauseLiveRecording":[64],"resumeLiveRecording":[64],"stopLiveRecording":[64],"cancelLiveRecording":[64]},null,{"audioUrl":["chatChanged"]}]]],["p-9db196a4",[[1,"spinner-loader",{"height":[1],"width":[1],"spinTime":[1,"spin-time"],"spinnerPrimaryColor":[1,"spinner-primary-color"],"spinnerSecondaryColor":[1,"spinner-secondary-color"],"spinnerBorderWidth":[1,"spinner-border-width"]}]]],["p-ff023d39",[[1,"web-chat-body",{"skip":[2],"allMessages":[8,"all-messages"],"userMetaData":[8,"user-meta-data"],"isMessagesLoading":[4,"is-messages-loading"],"isMessageSending":[4,"is-message-sending"],"isMessageLimitEnd":[4,"is-message-limit-end"],"updateSkip":[16],"isScrollToBottom":[4,"is-scroll-to-bottom"],"isScrollToTop":[4,"is-scroll-to-top"],"deleteForAll":[16],"deleteForSelf":[16],"changeScrollToBottomState":[16],"changeScrollToTopState":[16],"updateAllMessages":[16],"isChatClosed":[4,"is-chat-closed"],"isChatMinimized":[4,"is-chat-minimized"],"selectedConversationId":[1,"selected-conversation-id"],"allAttachments":[8,"all-attachments"],"highlightedMessageId":[1,"highlighted-message-id"],"onMediaClick":[16],"conversationList":[8,"conversation-list"],"conversationDetails":[8,"conversation-details"],"newMessageNotification":[16],"loadingMediaGallery":[4,"loading-media-gallery"],"customParts":[1040],"previousTotalScrollHeight":[32],"deviceId":[32],"scrollTimeout":[32],"isDeletePopupOpen":[32],"isMessageActionOpen":[32],"actionMenuFlipUp":[32],"deletedMessages":[32],"isTabActive":[32],"isForwardPopupOpen":[32],"isSelf":[32],"isReplyBlockOpen":[32],"messageActionPopupElement":[32],"popupRef":[32],"messageInfoOpen":[32],"messagePreviewText":[32],"messageDate":[32],"messageDeliveryTime":[32],"messageReadTime":[32],"showScrollButton":[32],"isScrolling":[32],"unreadMessageCount":[32],"isChatBodyUnscrollable":[32],"virtualStart":[32],"virtualEnd":[32],"selectedMessage":[32],"readUserList":[32],"deliveryUserList":[32],"pendingDeliveryCount":[32],"pendingReadCount":[32],"isLoadingInfo":[32],"scrollToMessage":[64]},null,{"allMessages":["handleDataChange"],"userMetaData":["handleDataChange"],"selectedConversationId":["handleChnageChangeConversationId"]}],[1,"web-chat-right-sidebar",{"conversationMetaData":[8,"conversation-meta-data"],"selectedConversationId":[1,"selected-conversation-id"],"conversationIdFromContactinfo":[1,"conversation-id-from-contactinfo"],"hasMoreEligibleMembers":[4,"has-more-eligible-members"],"isContactInfoOpen":[4,"is-contact-info-open"],"isProfileInfoOpen":[4,"is-profile-info-open"],"eligibleMembers":[16],"allAttachments":[16],"userMetaData":[8,"user-meta-data"],"messageAction":[16],"searchedMessageDetails":[16],"onSearchHandler":[16],"onSearchResultClick":[16],"handleChatSelect":[16],"openOwnProfile":[16],"isOpenSearchBar":[4,"is-open-search-bar"],"isLoadingMessage":[4,"is-loading-message"],"chatBodyRef":[16],"allLinks":[8,"all-links"],"allLinksCount":[2,"all-links-count"],"isBlocked":[8,"is-blocked"],"groupcastMembers":[8,"groupcast-members"],"groupMembers":[32],"isLoading":[32]},[[0,"remove-admin-clicked","handleRemoveAdmin"],[0,"make-admin-clicked","handleMakeAdmin"],[0,"edit-title","handleEditTitle"],[0,"edit-image","handleEditImage"]],{"selectedConversationId":["updateConversation"]}],[1,"chat-side-bar",{"isMqttConnected":[4,"is-mqtt-connected"],"conversationList":[8,"conversation-list"],"isChatFilter":[4,"is-chat-filter"],"isAllChatButton":[4,"is-all-chat-button"],"customTypes":[8,"custom-types"],"filterTabsContainer":[8,"filter-tabs-container"],"filterTab":[8,"filter-tab"],"filterTabHover":[8,"filter-tab-hover"],"isSidebarHeaderLabel":[4,"is-sidebar-header-label"],"isSidebarHeaderSearch":[4,"is-sidebar-header-search"],"sidebarHeaderLabel":[1,"sidebar-header-label"],"sidebarColor":[1,"sidebar-color"],"sidebarSelectedColor":[1,"sidebar-selected-color"],"onDeleteConversation":[16],"handleSearchData":[16],"userMetaData":[8,"user-meta-data"],"isTyping":[4,"is-typing"],"typingUserName":[1,"typing-user-name"],"typingConversationId":[1,"typing-conversation-id"],"allMessages":[8,"all-messages"],"isConversationLoading":[16],"hasMoreConversations":[4,"has-more-conversations"],"unreadConversationsCount":[2,"unread-conversations-count"],"customParts":[1040],"groupcastEnabled":[4,"groupcast-enabled"],"conversationDetails":[1032,"conversation-details"],"sortedConversationList":[32],"numberOfConversations":[32],"unreadCounts":[32],"searchQuery":[32],"selectedConversationID":[32],"isLoading":[32],"nonBlockedContacts":[32],"skip":[32],"isNoContactsFound":[32],"isGroupChat":[32],"selectedGroupUserIds":[32],"groupInfo":[32],"isGroupCreationLoading":[32],"displayTitle":[32],"searchTagName":[32],"hasMoreMembers":[32],"isLoadingMember":[32],"isPaginationMember":[32],"showNewChat":[32],"showMemberPicker":[32],"showGroupInfo":[32],"memberPickerIsGroupCast":[32],"pendingGroupMembers":[32],"showMoreMenu":[32]},[[0,"group-contacts-input-changed","handleGroupContactsInputChange"],[0,"new-chat-input-changed","handleNewChatInputChange"],[0,"close-group-member-list","handleCloseGroupMemberList"],[0,"unreadMessageCountUpdated","handleUnreadMessageCountUpdate"],[0,"delete-conversation","handleDeleteConversation"],[0,"chat-tile-menu","handleChatTileMenu"],[0,"new-chat-contact-selected","handleNewChatContactSelected"],[0,"new-chat-clicked","handleNewChatClick"],[4,"click","handleDocumentClick"],[0,"new-chat-tile-list-scrolled-to-bottom","handleNewChatTileListScrolledToBottom"],[0,"group-contacts-scrolled-to-bottom","handleNewChatTileListScrolledToBottom"],[0,"create-group-clicked","handleCreateGroupClick"],[0,"create-groupcast-clicked","handleCreateGroupCastClick"],[0,"group-contacts-selected","handleGroupContactsSelected"],[0,"group-info-submitted","handleGroupInfoSubmitted"],[0,"create-group-submitted","handleGroupSubmitted"],[0,"create-group-cast-submitted","handleGroupSubmitted"],[0,"exit-group","handleExitGroup"],[16,"contact-action","handleContactAction"],[0,"message-read-status-updated","handleMessageReadStatusUpdate"]],{"conversationList":["handleConversationListChange"],"conversationDetails":["handleConversationDetailsChange"]}],[0,"group-cast",{"groupCastData":[16],"isLoadingMore":[4,"is-loading-more"],"userMetaData":[8,"user-meta-data"],"onCreated":[16],"selectedGroupcastId":[32],"contextMenuX":[32],"contextMenuY":[32],"isContextMenuOpen":[32],"selectedTileForMenu":[32],"showMemberPicker":[32],"showGroupInfo":[32],"pendingMembers":[32],"nonBlockedContacts":[32],"skip":[32],"hasMoreMembers":[32],"isLoadingMember":[32],"isPaginationMember":[32],"isCreating":[32]},[[0,"create-group-cast-submitted","handleCreateSubmitted"]]],[1,"chat-footer",{"userMetaData":[8,"user-meta-data"],"refetchMessages":[16],"changeMessageSendingState":[16],"changeScrollToBottomState":[16],"updateAllMessages":[16],"allMessages":[8,"all-messages"],"selectedConversationId":[1,"selected-conversation-id"],"replyMessage":[1032,"reply-message"],"handleremoveReplyMessage":[16],"sortConversationsByLatestMessage":[16],"conversationDetails":[1040],"allConversationList":[1032,"all-conversation-list"],"updateConversationListProp":[16],"messageBody":[32],"attachmentDetails":[32],"deviceId":[32],"mediaPreviews":[32],"inputKey":[32],"showCloseIcon":[32],"mentionUserList":[32],"showCamera":[32],"linkPreview":[32],"linkToPreview":[32],"detectLinks":[32],"isGroupcast":[32],"groupcastId":[32],"showEmojiPicker":[32],"emojiPanelStyle":[32],"attachMenuStyle":[32],"showAttachMenu":[32],"isRecording":[32],"isPaused":[32],"recordingSeconds":[32],"focusInput":[64]},[[0,"mention-user","handleMentionUser"]],{"messageBody":["onMessageBodyChange"],"selectedConversationId":["handleDataChange"],"replyMessage":["replyFocusHandler"]}],[1,"profile-page",{"name":[1025],"profilePhotoUrl":[1025,"profile-photo-url"],"conversationId":[1,"conversation-id"],"getUserDetails":[16],"closeDrawer":[16],"toggleTheme":[16],"defaultTheme":[1,"default-theme"],"isEditingName":[32],"newName":[32],"isLoading":[32],"selectedFile":[32],"tempProfilePhotoUrl":[32],"showBlocked":[32],"getPresignedUrl":[64],"updateUserProfile":[64]},null,{"name":["onNameChange"],"profilePhotoUrl":["onPhotoChange"]}],[1,"web-chat-header",{"conversationDetails":[16],"isTyping":[4,"is-typing"],"onClearConversation":[16],"onConversationCleared":[16],"headerBgColor":[1,"header-bg-color"],"headerUsernameColor":[1,"header-username-color"],"headerSvgColor":[1,"header-svg-color"],"headerLastSeenColor":[1,"header-last-seen-color"],"searchedMessageDetails":[8,"searched-message-details"],"onSearchResultClick":[16],"chatBodyRef":[16],"allAttachments":[8,"all-attachments"],"lastSeen":[1,"last-seen"],"userMetaData":[8,"user-meta-data"],"isLoadingMessage":[16],"messageAction":[16],"hasMoreEligibleMembers":[4,"has-more-eligible-members"],"typingConversationId":[1,"typing-conversation-id"],"isBlocked":[8,"is-blocked"],"onBackButtonClick":[16],"handleCloseChat":[16],"onSearchHandler":[16],"selectedConversationId":[1,"selected-conversation-id"],"eligibleMembers":[16],"typingUserName":[1,"typing-user-name"],"isLoading":[32],"groupMembers":[32],"displayTitle":[32],"menuOpen":[32]},[[4,"click","handleDocumentClick"]],{"conversationDetails":["handleConversationDetailsChange"]}],[1,"message-info",{"padding":[8],"margin":[8],"width":[8],"height":[8],"borderRadius":[8,"border-radius"],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"borderStyle":[8,"border-style"],"backgroundColor":[8,"background-color"],"messageBackgroundColor":[8,"message-background-color"],"statusBackgroundColor":[8,"status-background-color"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"fontWeight":[8,"font-weight"],"fontFamily":[8,"font-family"],"fontStyle":[8,"font-style"],"lineHeight":[8,"line-height"],"textAlign":[8,"text-align"],"contactImage":[8,"contact-image"],"contactName":[8,"contact-name"],"contactEmail":[8,"contact-email"],"isGroup":[8,"is-group"],"messageDate":[8,"message-date"],"messagePreviewText":[8,"message-preview-text"],"messageDeliveryTime":[8,"message-delivery-time"],"messageReadTime":[8,"message-read-time"],"pendingReadCount":[8,"pending-read-count"],"pendingDeliveryCount":[8,"pending-delivery-count"],"renderAttachmentMessage":[8,"render-attachment-message"],"selectedMessage":[8,"selected-message"],"onMediaClick":[8,"on-media-click"],"closePopup":[8,"close-popup"],"allAttachments":[8,"all-attachments"],"deliveryUserList":[16],"readUserList":[16]}],[1,"profile-sidebar",{"userMetaData":[8,"user-meta-data"],"openProfile":[8,"open-profile"],"openChat":[8,"open-chat"],"openGroupCast":[8,"open-group-cast"],"toggleTheme":[8,"toggle-theme"],"activeTab":[1,"active-tab"],"defaultTheme":[1,"default-theme"],"unreadConversationsCount":[2,"unread-conversations-count"]}],[1,"chat-loading-placeholder",{"progress":[2],"loadingStatus":[1,"loading-status"]}],[1,"contact-info",{"padding":[8],"margin":[8],"width":[8],"boxShadow":[8,"box-shadow"],"height":[8],"borderRadius":[8,"border-radius"],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"borderStyle":[8,"border-style"],"backgroundColor":[8,"background-color"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"fontWeight":[8,"font-weight"],"fontFamily":[8,"font-family"],"fontStyle":[8,"font-style"],"lineHeight":[8,"line-height"],"textAlign":[8,"text-align"],"contactImage":[8,"contact-image"],"contactName":[8,"contact-name"],"contactEmail":[8,"contact-email"],"messageAction":[8,"message-action"],"groupMembers":[16],"allAttachments":[16],"isGroup":[8,"is-group"],"showAllMembers":[8,"show-all-members"],"isPopupOpen":[8,"is-popup-open"],"showMediaList":[8,"show-media-list"],"isImageFullscreen":[8,"is-image-fullscreen"],"showConfirmationPopup":[8,"show-confirmation-popup"],"confirmationAction":[8,"confirmation-action"],"conversationId":[8,"conversation-id"],"oppenentId":[8,"oppenent-id"],"userMetaData":[8,"user-meta-data"],"onEditTitle":[8,"on-edit-title"],"onEditImage":[8,"on-edit-image"],"openOwnProfile":[8,"open-own-profile"],"editedName":[8,"edited-name"],"eligibleMembers":[8,"eligible-members"],"isEligibleMembersPopupOpen":[8,"is-eligible-members-popup-open"],"hasMoreEligibleMembers":[8,"has-more-eligible-members"],"isLoadingMembers":[8,"is-loading-members"],"activeTab":[8,"active-tab"],"docsAttachments":[8,"docs-attachments"],"linksAttachments":[8,"links-attachments"],"allLinks":[8,"all-links"],"allLinksCount":[8,"all-links-count"],"isBlocked":[8,"is-blocked"],"conversationMetaData":[8,"conversation-meta-data"],"isGroupcast":[8,"is-groupcast"],"groupcastId":[8,"groupcast-id"],"groupcastMembers":[8,"groupcast-members"],"closeContactInfo":[8,"close-contact-info"],"mediaListOpen":[32],"mediaTab":[32],"galleryIndex":[32],"mediaItems":[32],"docItems":[32],"previewTry":[32],"memberMenuUserId":[32]},null,{"allAttachments":["onAttachmentsChange"]}],[1,"block-chat-list",{"goBack":[16],"blockUsers":[32],"isLoading":[32],"skip":[32],"hasMore":[32],"paginationLoading":[32],"searchTerm":[32]}],[1,"new-chat",{"contactList":[16],"isLoading":[4,"is-loading"],"paginationLoading":[4,"pagination-loading"],"hasMore":[4,"has-more"],"skip":[2],"onSearch":[16],"onSelect":[16],"onClose":[16],"customParts":[16],"groupcastEnabled":[4,"groupcast-enabled"],"searchText":[32]}],[1,"incoming-text-message-bubble",{"bgColor":[1,"bg-color"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"padding":[1],"height":[1],"width":[1],"time":[1],"textContent":[1,"text-content"],"alignSelf":[1,"align-self"],"fontFamily":[1,"font-family"],"color":[1],"mentionedUsers":[16],"reactions":[16],"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"showReactionOnHover":[4,"show-reaction-on-hover"]}],[1,"message-search",{"searchedMessageDetails":[16],"onSearchResultClick":[8,"on-search-result-click"],"onSearchInput":[8,"on-search-input"],"isSearchOpen":[4,"is-search-open"],"isLoadingMessage":[4,"is-loading-message"],"chatBodyRef":[8,"chat-body-ref"],"onSearchHandler":[8,"on-search-handler"],"searchValue":[32]}],[1,"outgoing-text-message-bubble",{"bgColor":[1,"bg-color"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"padding":[1],"height":[1],"width":[1],"time":[1],"textContent":[1,"text-content"],"alignSelf":[1,"align-self"],"isRead":[4,"is-read"],"isDelivered":[1,"is-delivered"],"deliveryStatus":[1,"delivery-status"],"textColor":[1,"text-color"],"mentionedUsers":[16],"messageType":[2,"message-type"],"timeColor":[1,"time-color"],"reactions":[16],"messageId":[1,"message-id"],"userMetaData":[8,"user-meta-data"],"fontFamily":[1,"font-family"]}],[1,"reply-message-container",{"color":[1],"fontSize":[1,"font-size"],"textAlign":[1,"text-align"],"fontWeight":[1,"font-weight"],"fontStyle":[1,"font-style"],"backgroundColor":[1,"background-color"],"borderColor":[1,"border-color"],"borderWidth":[1,"border-width"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"fontFamily":[1,"font-family"],"width":[1],"height":[1],"display":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"padding":[1],"messageBody":[1,"message-body"],"parentMessageBody":[1,"parent-message-body"],"parentmessageBody":[1,"parentmessage-body"],"senderName":[1,"sender-name"],"messageTime":[1,"message-time"],"icon1":[8,"icon-1"],"repliedMessage":[1,"replied-message"],"isRead":[4,"is-read"],"isDelivered":[1,"is-delivered"],"messageInfo":[8,"message-info"],"userMetaData":[8,"user-meta-data"],"parentMessageTime":[1,"parent-message-time"],"parentMessageMediaUrl":[1,"parent-message-media-url"],"parentMessageType":[1,"parent-message-type"],"parentMessageId":[1,"parent-message-id"],"parentMessageSenderIdentifier":[1,"parent-message-sender-identifier"],"parentMessageSenderName":[1,"parent-message-sender-name"],"isSelf":[4,"is-self"],"onMediaClick":[16],"allAttachments":[16],"showEmojiReactions":[4,"show-emoji-reactions"],"reactions":[16],"messageId":[1,"message-id"],"timeColor":[1,"time-color"],"showReactionButton":[4,"show-reaction-button"],"showConfirmationPopup":[4,"show-confirmation-popup"],"selectedEmojiToRemove":[8,"selected-emoji-to-remove"],"showAllReactionsPopup":[4,"show-all-reactions-popup"],"showReactionOnHover":[4,"show-reaction-on-hover"]}],[1,"attachment-preview",{"content":[16],"contentType":[16],"selectedIndex":[1026,"selected-index"],"caption":[8],"onClose":[8,"on-close"],"onSend":[8,"on-send"],"inputValue":[1025,"input-value"],"inputBorderColor":[8,"input-border-color"],"inputBorderWidth":[8,"input-border-width"],"inputBorderStyle":[8,"input-border-style"],"inputPlaceholder":[8,"input-placeholder"],"inputBgColor":[8,"input-bg-color"],"inputFontSize":[8,"input-font-size"],"inputFontColor":[8,"input-font-color"],"inputBorderRadius":[8,"input-border-radius"],"inputContainerBorderColor":[8,"input-container-border-color"],"inputContainerBorderWidth":[8,"input-container-border-width"],"inputContainerBorderRadius":[8,"input-container-border-radius"],"inputPlaceholderColor":[8,"input-placeholder-color"],"inputContainerPadding":[8,"input-container-padding"],"showCloseIcon":[8,"show-close-icon"],"sendButtonIconHeight":[8,"send-button-icon-height"],"sendButtonIconWidth":[8,"send-button-icon-width"],"conversationDetails":[8,"conversation-details"],"showMentionList":[8,"show-mention-list"],"mentionSearchQuery":[8,"mention-search-query"],"cursorPosition":[8,"cursor-position"],"userMetaData":[8,"user-meta-data"],"showCamera":[4,"show-camera"],"isOpen":[8,"is-open"],"localIndex":[32],"cameraError":[32],"cameraReady":[32],"facingMode":[32],"showEmojiPicker":[32]},null,{"content":["onContentChange"],"showCamera":["onShowCameraChange"]}],[1,"context-menu",{"x":[2],"y":[2],"isOpen":[4,"is-open"],"menuItems":[16],"onMenuItemSelected":[8,"on-menu-item-selected"],"onMenuClosed":[8,"on-menu-closed"]},[[4,"click","handleOutsideClick"]]],[1,"message-date-pill",{"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"width":[1],"padding":[1],"borderRadius":[1,"border-radius"],"borderWidth":[1,"border-width"],"borderColor":[1,"border-color"],"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"fontFamily":[1,"font-family"],"content":[1]}],[1,"profile-info",{"padding":[8],"margin":[8],"width":[8],"boxShadow":[8,"box-shadow"],"height":[8],"borderRadius":[8,"border-radius"],"borderWidth":[8,"border-width"],"borderColor":[8,"border-color"],"borderStyle":[8,"border-style"],"backgroundColor":[8,"background-color"],"textColor":[8,"text-color"],"fontSize":[8,"font-size"],"fontWeight":[8,"font-weight"],"fontFamily":[8,"font-family"],"fontStyle":[8,"font-style"],"lineHeight":[8,"line-height"],"textAlign":[8,"text-align"],"contactImage":[8,"contact-image"],"contactName":[8,"contact-name"],"contactEmail":[8,"contact-email"],"messageAction":[8,"message-action"],"groupMembers":[8,"group-members"],"allAttachments":[8,"all-attachments"],"isGroup":[8,"is-group"],"showAllMembers":[8,"show-all-members"],"isPopupOpen":[8,"is-popup-open"],"showMediaList":[8,"show-media-list"],"isImageFullscreen":[8,"is-image-fullscreen"],"showConfirmationPopup":[8,"show-confirmation-popup"],"confirmationAction":[8,"confirmation-action"],"conversationId":[8,"conversation-id"],"oppenentId":[8,"oppenent-id"],"userMetaData":[8,"user-meta-data"],"onEditTitle":[8,"on-edit-title"],"handleChatSelect":[8,"handle-chat-select"],"onEditImage":[8,"on-edit-image"],"isEditingName":[8,"is-editing-name"],"openOwnProfile":[8,"open-own-profile"],"editedName":[8,"edited-name"],"eligibleMembers":[8,"eligible-members"],"isEligibleMembersPopupOpen":[8,"is-eligible-members-popup-open"],"hasMoreEligibleMembers":[8,"has-more-eligible-members"],"isLoadingMembers":[8,"is-loading-members"],"activeTab":[8,"active-tab"],"docsAttachments":[8,"docs-attachments"],"linksAttachments":[8,"links-attachments"],"allLinks":[8,"all-links"],"allLinksCount":[8,"all-links-count"],"isBlocked":[8,"is-blocked"],"conversationMetaData":[8,"conversation-meta-data"],"closeContactInfo":[8,"close-contact-info"]}],[1,"reply-block",{"color":[1],"fontSize":[1,"font-size"],"textAlign":[1,"text-align"],"fontWeight":[1,"font-weight"],"fontStyle":[1,"font-style"],"backgroundColor":[1,"background-color"],"borderColor":[1,"border-color"],"borderWidth":[1,"border-width"],"borderStyle":[1,"border-style"],"borderRadius":[1,"border-radius"],"fontFamily":[1,"font-family"],"width":[1],"height":[1],"display":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"padding":[1],"messageBody":[1,"message-body"],"senderName":[1,"sender-name"],"messageTime":[1,"message-time"],"icon1":[8,"icon-1"],"icon2":[8,"icon-2"],"onIconClick":[16],"messageInfo":[8,"message-info"]}]]],["p-84424caa",[[1,"web-chat",{"customParts":[1040],"name":[1],"baseUrl":[1,"base-url"],"licenseKey":[1,"license-key"],"appSecret":[1,"app-secret"],"userSecret":[1,"user-secret"],"userToken":[1,"user-token"],"themeUrl":[1,"theme-url"],"defaultTheme":[1,"default-theme"],"isometrikUserId":[1,"isometrik-user-id"],"projectId":[1,"project-id"],"keysetId":[1,"keyset-id"],"accountId":[1,"account-id"],"conversationId":[1,"conversation-id"],"hostUrl":[1,"host-url"],"groupcastEnabled":[4,"groupcast-enabled"],"showProfileRail":[4,"show-profile-rail"],"showChatWallpaper":[4,"show-chat-wallpaper"],"showHeader":[4,"show-header"],"showComposer":[4,"show-composer"],"showEmptyState":[4,"show-empty-state"],"showConversationList":[4,"show-conversation-list"],"showRightPanel":[4,"show-right-panel"],"isChatFilter":[4,"is-chat-filter"],"isAllChatButton":[4,"is-all-chat-button"],"isSidebarHeaderLabel":[4,"is-sidebar-header-label"],"sidebarHeaderLabel":[1,"sidebar-header-label"],"isSidebarHeaderSearch":[4,"is-sidebar-header-search"],"sidebarColor":[1,"sidebar-color"],"sidebarSelectedColor":[1,"sidebar-selected-color"],"toggleTheme":[16],"unreadConversations":[32],"allLinks":[32],"allLinksCount":[32],"isInitialized":[32],"findUserId":[32],"mqttClient":[32],"mqttInitialized":[32],"isMqttConnected":[32],"allMessages":[32],"selectConversationMessages":[32],"userMetaData":[32],"allConversationList":[32],"conversationMetaData":[32],"selctConversationMetaData":[32],"isMessageLimitEnd":[32],"skip":[32],"isMessagesLoading":[32],"isMessageSending":[32],"deviceId":[32],"isScrollToBottom":[32],"isScrollToTop":[32],"isConversationLoading":[32],"isLoadingConversationList":[32],"unreadConversationsCount":[32],"isChatClosed":[32],"isChatMinimized":[32],"isSubscribedToTopic":[32],"isMessageListenerAttached":[32],"isInitialCallDone":[32],"isTyping":[32],"typingUserName":[32],"selectedConversationId":[32],"unreadMessageCount":[32],"unreadMessageCountFromApi":[32],"isLoading":[32],"loadingProgress":[32],"loadingStatus":[32],"isLoadingMessage":[32],"hasMoreConversations":[32],"eligibleMembers":[32],"membersListSkip":[32],"hasMoreEligibleMembers":[32],"isMobileView":[32],"showSidebar":[32],"isContactInfoOpen":[32],"isProfileInfoOpen":[32],"isOpenSearchBar":[32],"messageSearchText":[32],"searchedMessageDetails":[32],"initialConversationIdFromURL":[32],"allAttachments":[32],"selectConverSationAttachments":[32],"highlightedMessageId":[32],"messageAction":[32],"replyMessage":[32],"messageInfoPanel":[32],"loadingMediaGallery":[32],"activeTab":[32],"showRightSideBar":[32],"conversationIdFromContactinfo":[32],"exitedGroupIds":[32],"conversationCountSkip":[32],"typingConversationId":[32],"newMessageNotification":[32],"isBlocked":[32],"allGroupCastContacts":[32],"groupcastSkip":[32],"isLoadingMoreGroupcast":[32],"hasMoreGroupcast":[32],"groupcastMembers":[32],"setCustomParts":[64],"selectConversation":[64],"setReply":[64],"clearReply":[64],"sendText":[64],"sendMedia":[64],"loadMoreMessages":[64],"loadMoreConversations":[64],"getChatState":[64]},[[0,"remove-member-clicked","handleRemoveMemberClicked"],[0,"profile-clicked","onProfileClick"],[0,"members-list-scrolled-to-bottom","handleMembersListScrolledToBottom"],[0,"close-right-Sidebar","handleContactInfo"],[0,"close-contact-info","handleProfileInfo"],[0,"message-info-panel-change","handleMessageInfoPanelChange"],[0,"open-right-Sidebar","handleOpen"],[0,"get-links","handleGetLinks"],[0,"groupExited","handleGroupExited"],[0,"tagUserClick","handleTaguserClick"],[16,"contact-action","handleContactAction"],[0,"chat-tile-list-scrolled-to-bottom","handleChatTileScrolledToBottom"],[0,"conversation-updated","handleConversationUpdate"],[0,"groupcastScrolledToBottom","handleGroupcastScroll"],[0,"delete-groupcast","handleDeleteGroupcast"]],{"isLoading":["onLoadingChange"],"allConversationList":["onConversationListChange"],"allMessages":["onMessagesChange","handlemessageAction"],"replyMessage":["onReplyMessageChange"],"skip":["handleSkipChange"],"isTyping":["handleTypingChange"],"selectedConversationId":["handleSelectedConversationChange"],"initialConversationIdFromURL":["handleSelectedConversationChange"],"selectConversationMessages":["handlemessageAction"],"conversationMetaData":["watchPropHandler"]}],[1,"login-page",{"username":[32],"password":[32],"errorMessage":[32],"isLoading":[32],"showPassword":[32]}],[1,"theme-provider",{"themePath":[1,"theme-path"],"mode":[1537],"themeObject":[16],"mirrorToDocument":[4,"mirror-to-document"],"styleElement":[32],"toggleTheme":[64],"setTheme":[64],"setThemeObject":[64]},null,{"themePath":["handleThemePathChange"],"mode":["handleModeChange"],"themeObject":["handleThemeObjectChange"],"mirrorToDocument":["handleMirrorChange"]}]]]]'),e)}));
|
|
2
2
|
//# sourceMappingURL=isometrik-webchat.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","BUILD","isDev","isTesting","consoleDevInfo","cloneNodeFix","patchCloneNodeFix","H","prototype","scriptElm","scriptDataOpts","Array","from","doc","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","getAttribute","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.22.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"6VAOA,IAAIA,EAAe,KACjB,GAAIC,EAAMC,QAAUD,EAAME,UAAW,CACnCC,EAAe,+BACnB,CACE,GAAIH,EAAMI,aAAc,CACtBC,EAAkBC,EAAEC,UACxB,CACE,MAAMC,EAAYR,EAAMS,eAAiBC,MAAMC,KAAKC,EAAIC,iBAAiB,WAAWC,MACjFC,GAAM,IAAIC,OAAO,IAAIC,4BAAoCC,KAAKH,EAAEI,MAAQJ,EAAEK,aAAa,4BAA8BH,IACpH,KACJ,MAAMI,cAAyBC,IAC/B,MAAMC,EAAOvB,EAAMS,gBAAkBD,GAAa,IAAI,cAAgB,GAAK,GAC3E,GAAIa,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIlB,EAAqBuB,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHpC,IAAe2C,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,
|
|
1
|
+
{"version":3,"names":["patchBrowser","BUILD","isDev","isTesting","consoleDevInfo","cloneNodeFix","patchCloneNodeFix","H","prototype","scriptElm","scriptDataOpts","Array","from","doc","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","getAttribute","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.22.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"6VAOA,IAAIA,EAAe,KACjB,GAAIC,EAAMC,QAAUD,EAAME,UAAW,CACnCC,EAAe,+BACnB,CACE,GAAIH,EAAMI,aAAc,CACtBC,EAAkBC,EAAEC,UACxB,CACE,MAAMC,EAAYR,EAAMS,eAAiBC,MAAMC,KAAKC,EAAIC,iBAAiB,WAAWC,MACjFC,GAAM,IAAIC,OAAO,IAAIC,4BAAoCC,KAAKH,EAAEI,MAAQJ,EAAEK,aAAa,4BAA8BH,IACpH,KACJ,MAAMI,cAAyBC,IAC/B,MAAMC,EAAOvB,EAAMS,gBAAkBD,GAAa,IAAI,cAAgB,GAAK,GAC3E,GAAIa,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIlB,EAAqBuB,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHpC,IAAe2C,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,mhpCAAuCJ,EAAA","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h as i}from"./p-17a96a2a.js";const n=class{constructor(i){e(this,i);this.bgColor=undefined;this.width=undefined;this.height=undefined;this.borderWidth=undefined;this.borderColor=undefined;this.color=undefined;this.fontSize=undefined;this.borderRadius=undefined;this.fontWeight=undefined;this.progressBarBg=undefined;this.progressBarHeight=undefined;this.progressBarColor=undefined;this.progressBarBorderRadius=undefined;this.messageBody=undefined;this.padding=undefined;this.isRead=undefined;this.isDelivered=undefined;this.time=undefined;this.messageBodyBg=undefined;this.messageAttachment=undefined;this.isSelf=undefined;this.messageId=undefined;this.reactions=undefined;this.showConfirmationPopup=undefined;this.selectedEmojiToRemove=undefined;this.showAllReactionsPopup=undefined;this.showReactionButton=undefined;this.showEmojiReactions=undefined;this.userMetaData=undefined}render(){const e=Array.isArray(this.messageAttachment)?this.messageAttachment:[];return i("div",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h as i}from"./p-17a96a2a.js";const n=class{constructor(i){e(this,i);this.bgColor=undefined;this.width=undefined;this.height=undefined;this.borderWidth=undefined;this.borderColor=undefined;this.color=undefined;this.fontSize=undefined;this.borderRadius=undefined;this.fontWeight=undefined;this.progressBarBg=undefined;this.progressBarHeight=undefined;this.progressBarColor=undefined;this.progressBarBorderRadius=undefined;this.messageBody=undefined;this.padding=undefined;this.isRead=undefined;this.isDelivered=undefined;this.time=undefined;this.messageBodyBg=undefined;this.messageAttachment=undefined;this.isSelf=undefined;this.messageId=undefined;this.reactions=undefined;this.showConfirmationPopup=undefined;this.selectedEmojiToRemove=undefined;this.showAllReactionsPopup=undefined;this.showReactionButton=undefined;this.showEmojiReactions=undefined;this.userMetaData=undefined}render(){const e=Array.isArray(this.messageAttachment)?this.messageAttachment:[];return i("div",{key:"68f33029b38da69a7e00f68ea23cd382302188ef",class:"forward-message-container",style:{backgroundColor:this.bgColor||this.messageBodyBg||undefined,color:this.color,width:this.width,height:this.height,borderRadius:this.borderRadius||"8px",fontSize:this.fontSize,fontWeight:this.fontWeight,padding:this.padding||"8px 10px",alignSelf:this.isSelf?"flex-end":"flex-start"}},i("div",{key:"260c900688a75b08e154418c96bfef290565ede5",class:"forward-label"},"↪ Forwarded"),this.messageBody?i("div",{class:"body"},this.messageBody):null,e.length>0?i("div",{class:"attachment"},e.length," attachment",e.length>1?"s":""):null,i("div",{key:"a38595a28c0d23148c68a0ee1ffe14f3d6967567",class:"meta"},this.time?i("span",null,this.time):null,this.isSelf?i("span",null,this.isRead?"✓✓":this.isDelivered?"✓✓":"✓"):null))}};n.style=":host { display: block; max-width: 72%; }\n .forward-message-container {\n display: flex; flex-direction: column; position: relative; width: fit-content;\n border-radius: 8px; padding: 8px 10px; background: var(--bg-secondary);\n color: var(--text-primary);\n }\n .forward-label { font-size: 11px; opacity: 0.7; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }\n .body { white-space: pre-wrap; word-break: break-word; font-size: 14px; }\n .meta { display: flex; justify-content: flex-end; gap: 6px; font-size: 11px; opacity: 0.65; margin-top: 4px; }\n .attachment { font-size: 12px; opacity: 0.8; margin-top: 4px; }";export{n as forward_message};
|
|
2
|
+
//# sourceMappingURL=p-0ccfbe90.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-17a96a2a.js";function i(){if(typeof customElements==="undefined")return;const t=(t,e)=>{e.forEach((e=>{const i=`_${e}`;Object.defineProperty(t,e,{get(){return this[i]},set(t){if(this[i]===t)return;this[i]=t;if(this.isConnected&&typeof this.render==="function")this.render()},configurable:true})}))};if(!customElements.get("demo-chat-tile")){class e extends HTMLElement{connectedCallback(){this.render();this.onclick=()=>{const t=this.conversation||{};const e=t.conversationId||t.groupcastId;if(typeof this.onSelect==="function"&&e)this.onSelect(e)}}render(){var t,e,i,n;const o=this.conversation||{};const s=o.metaData||{};const r=o.isGroup?o.conversationTitle:o.groupcastTitle||((t=o.opponentDetails)===null||t===void 0?void 0:t.userName)||((e=o.lastMessageDetails)===null||e===void 0?void 0:e.userName)||"Chat";const a=this.previewText||((i=o.lastMessageDetails)===null||i===void 0?void 0:i.body)||((n=o.lastMessageDetails)===null||n===void 0?void 0:n.customType)||"";const l=this.unreadCount||o.unreadMessagesCount||"";const d=!!this.isSelected;const c=!!this.isTyping;const h=this.typingUserName;this.style.display="block";this.style.padding="12px 14px";this.style.margin="4px 8px";this.style.borderRadius="10px";this.style.cursor="pointer";this.style.border=d?"2px solid var(--bg-primary-light)":"1px solid var(--bg-secondary-color)";this.style.background=d?"var(--bg-primary-light)":"var(--bg-primary-color)";this.innerHTML=`\n <div style="display:flex;justify-content:space-between;gap:8px;align-items:flex-start">\n <div>\n <div style="font-weight:600;color:var(--text-primary-color)">${r||"Untitled"}</div>\n ${s.orderId?`<div style="font-size:11px;color:var(--text-info-color);margin-top:2px">Order #${s.orderId}</div>`:""}\n <div style="font-size:12px;color:var(--text-tertiary-color);margin-top:4px">\n ${c?`typing${h?`: ${h}`:"…"}`:`[demo tile] ${a||"No messages"}`}\n </div>\n </div>\n ${l?`<span style="background:var(--bg-primary-light);border-radius:999px;padding:2px 8px;font-size:11px">${l}</span>`:""}\n </div>`}}t(e.prototype,["conversation","isSelected","userMetaData","unreadCount","previewText","isTyping","typingUserName"]);customElements.define("demo-chat-tile",e)}if(!customElements.get("demo-message-bubble")){class e extends HTMLElement{connectedCallback(){this.render()}render(){var t;const e=this.message||{};const i=e.metaData||{};const n=!!this.isSelf;const o=this.status||"sent";const s=n?"flex-end":"flex-start";const r=n?"var(--bg-outgoing-message)":"var(--bg-incoming-message)";this.style.display="flex";this.style.justifyContent=s;this.style.width="100%";this.style.margin="6px 0";this.innerHTML=`\n <div class="demo-bubble" style="max-width:75%;padding:10px 12px;border-radius:12px;background:${r};color:var(--text-primary-color)">\n <div style="font-size:11px;opacity:.7;margin-bottom:4px">demo · ${o}${i.orderId?` · #${i.orderId}`:""}</div>\n <div style="cursor:pointer" data-action="tap">${e.body||e.customType||"[media/system]"}</div>\n <div style="margin-top:6px;display:flex;gap:8px;flex-wrap:wrap">\n <button type="button" data-action="reply" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Reply</button>\n <button type="button" data-action="forward" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Forward</button>\n <button type="button" data-action="delete" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Delete</button>\n ${n?`<button type="button" data-action="info" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Info</button>`:""}\n </div>\n </div>`;(t=this.querySelector(".demo-bubble"))===null||t===void 0?void 0:t.addEventListener("click",(t=>{var e,i,n,o,s,r,a;const l=t.target;const d=(e=l===null||l===void 0?void 0:l.dataset)===null||e===void 0?void 0:e.action;const c=this.message;if(d==="reply"){t.stopPropagation();(i=this.onReply)===null||i===void 0?void 0:i.call(this,c);return}if(d==="forward"){t.stopPropagation();(n=this.onForward)===null||n===void 0?void 0:n.call(this,c);return}if(d==="delete"){t.stopPropagation();(o=this.onDelete)===null||o===void 0?void 0:o.call(this,c);return}if(d==="info"){t.stopPropagation();(s=this.onInfo)===null||s===void 0?void 0:s.call(this,c);return}if(d==="tap"||((r=l===null||l===void 0?void 0:l.classList)===null||r===void 0?void 0:r.contains("demo-bubble"))){(a=this.onTap)===null||a===void 0?void 0:a.call(this,c)}}))}}t(e.prototype,["message","isSelf","status","userMetaData","conversationDetails","allAttachments"]);customElements.define("demo-message-bubble",e)}}function n(){const t=document.createElement("div");t.slot="empty";t.style.cssText="height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--bg-secondary-color);color:var(--text-primary-color);padding:24px;text-align:center";t.innerHTML=`<strong>Custom empty slot (layout-only)</strong><span style="opacity:.75">Tiles/bubbles use customParts props. Slots = panels.</span>`;return t}function o(t){const e=t=>e=>{const i=e.detail;console.log(`[web-chat:${t}]`,i)};["chatReady","conversationsChange","messagesChange","conversationSelect","replyChange","chatError"].forEach((i=>t.addEventListener(i,e(i))))}const s=class{constructor(e){t(this,e);this.handleLoginSuccess=t=>{this.userToken=t.detail;this.isLoggedIn=true;this.userId=this.getCookie("isometrikUserId")};this.themePath=undefined;this.mode="light";this.themeObject=undefined;this.isLoggedIn=false;this.userToken=null;this.userId=null;this.demoCustomUi=false;this.toggleTheme=this.toggleTheme.bind(this);this.changeTheme=this.changeTheme.bind(this)}componentWillLoad(){const t=localStorage.getItem("preferred-theme");if(t&&(t==="light"||t==="dark")){this.mode=t}const e=this.getCookie("userToken");const n=this.getCookie("isometrikUserId");if(e&&n){this.isLoggedIn=true;this.userToken=e;this.userId=n}if(typeof window!=="undefined"){this.demoCustomUi=new URLSearchParams(window.location.search).has("demoCustomUi");if(this.demoCustomUi){i()}}}getCookie(t){const e=`; ${document.cookie}`;const i=e.split(`; ${t}=`);if(i.length===2)return i.pop().split(";").shift();return null}async changeTheme(t){this.mode=t;localStorage.setItem("preferred-theme",t);if(this.themeProviderRef){await this.themeProviderRef.setTheme(t)}return this.mode}async toggleTheme(){const t=this.mode==="light"?"dark":"light";return this.changeTheme(t)}render(){return e("theme-provider",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as e}from"./p-17a96a2a.js";function i(){if(typeof customElements==="undefined")return;const t=(t,e)=>{e.forEach((e=>{const i=`_${e}`;Object.defineProperty(t,e,{get(){return this[i]},set(t){if(this[i]===t)return;this[i]=t;if(this.isConnected&&typeof this.render==="function")this.render()},configurable:true})}))};if(!customElements.get("demo-chat-tile")){class e extends HTMLElement{connectedCallback(){this.render();this.onclick=()=>{const t=this.conversation||{};const e=t.conversationId||t.groupcastId;if(typeof this.onSelect==="function"&&e)this.onSelect(e)}}render(){var t,e,i,n;const o=this.conversation||{};const s=o.metaData||{};const r=o.isGroup?o.conversationTitle:o.groupcastTitle||((t=o.opponentDetails)===null||t===void 0?void 0:t.userName)||((e=o.lastMessageDetails)===null||e===void 0?void 0:e.userName)||"Chat";const a=this.previewText||((i=o.lastMessageDetails)===null||i===void 0?void 0:i.body)||((n=o.lastMessageDetails)===null||n===void 0?void 0:n.customType)||"";const l=this.unreadCount||o.unreadMessagesCount||"";const d=!!this.isSelected;const c=!!this.isTyping;const h=this.typingUserName;this.style.display="block";this.style.padding="12px 14px";this.style.margin="4px 8px";this.style.borderRadius="10px";this.style.cursor="pointer";this.style.border=d?"2px solid var(--bg-primary-light)":"1px solid var(--bg-secondary-color)";this.style.background=d?"var(--bg-primary-light)":"var(--bg-primary-color)";this.innerHTML=`\n <div style="display:flex;justify-content:space-between;gap:8px;align-items:flex-start">\n <div>\n <div style="font-weight:600;color:var(--text-primary-color)">${r||"Untitled"}</div>\n ${s.orderId?`<div style="font-size:11px;color:var(--text-info-color);margin-top:2px">Order #${s.orderId}</div>`:""}\n <div style="font-size:12px;color:var(--text-tertiary-color);margin-top:4px">\n ${c?`typing${h?`: ${h}`:"…"}`:`[demo tile] ${a||"No messages"}`}\n </div>\n </div>\n ${l?`<span style="background:var(--bg-primary-light);border-radius:999px;padding:2px 8px;font-size:11px">${l}</span>`:""}\n </div>`}}t(e.prototype,["conversation","isSelected","userMetaData","unreadCount","previewText","isTyping","typingUserName"]);customElements.define("demo-chat-tile",e)}if(!customElements.get("demo-message-bubble")){class e extends HTMLElement{connectedCallback(){this.render()}render(){var t;const e=this.message||{};const i=e.metaData||{};const n=!!this.isSelf;const o=this.status||"sent";const s=n?"flex-end":"flex-start";const r=n?"var(--bg-outgoing-message)":"var(--bg-incoming-message)";this.style.display="flex";this.style.justifyContent=s;this.style.width="100%";this.style.margin="6px 0";this.innerHTML=`\n <div class="demo-bubble" style="max-width:75%;padding:10px 12px;border-radius:12px;background:${r};color:var(--text-primary-color)">\n <div style="font-size:11px;opacity:.7;margin-bottom:4px">demo · ${o}${i.orderId?` · #${i.orderId}`:""}</div>\n <div style="cursor:pointer" data-action="tap">${e.body||e.customType||"[media/system]"}</div>\n <div style="margin-top:6px;display:flex;gap:8px;flex-wrap:wrap">\n <button type="button" data-action="reply" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Reply</button>\n <button type="button" data-action="forward" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Forward</button>\n <button type="button" data-action="delete" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Delete</button>\n ${n?`<button type="button" data-action="info" style="font-size:11px;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer">Info</button>`:""}\n </div>\n </div>`;(t=this.querySelector(".demo-bubble"))===null||t===void 0?void 0:t.addEventListener("click",(t=>{var e,i,n,o,s,r,a;const l=t.target;const d=(e=l===null||l===void 0?void 0:l.dataset)===null||e===void 0?void 0:e.action;const c=this.message;if(d==="reply"){t.stopPropagation();(i=this.onReply)===null||i===void 0?void 0:i.call(this,c);return}if(d==="forward"){t.stopPropagation();(n=this.onForward)===null||n===void 0?void 0:n.call(this,c);return}if(d==="delete"){t.stopPropagation();(o=this.onDelete)===null||o===void 0?void 0:o.call(this,c);return}if(d==="info"){t.stopPropagation();(s=this.onInfo)===null||s===void 0?void 0:s.call(this,c);return}if(d==="tap"||((r=l===null||l===void 0?void 0:l.classList)===null||r===void 0?void 0:r.contains("demo-bubble"))){(a=this.onTap)===null||a===void 0?void 0:a.call(this,c)}}))}}t(e.prototype,["message","isSelf","status","userMetaData","conversationDetails","allAttachments"]);customElements.define("demo-message-bubble",e)}}function n(){const t=document.createElement("div");t.slot="empty";t.style.cssText="height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--bg-secondary-color);color:var(--text-primary-color);padding:24px;text-align:center";t.innerHTML=`<strong>Custom empty slot (layout-only)</strong><span style="opacity:.75">Tiles/bubbles use customParts props. Slots = panels.</span>`;return t}function o(t){const e=t=>e=>{const i=e.detail;console.log(`[web-chat:${t}]`,i)};["chatReady","conversationsChange","messagesChange","conversationSelect","replyChange","chatError"].forEach((i=>t.addEventListener(i,e(i))))}const s=class{constructor(e){t(this,e);this.handleLoginSuccess=t=>{this.userToken=t.detail;this.isLoggedIn=true;this.userId=this.getCookie("isometrikUserId")};this.themePath=undefined;this.mode="light";this.themeObject=undefined;this.isLoggedIn=false;this.userToken=null;this.userId=null;this.demoCustomUi=false;this.toggleTheme=this.toggleTheme.bind(this);this.changeTheme=this.changeTheme.bind(this)}componentWillLoad(){const t=localStorage.getItem("preferred-theme");if(t&&(t==="light"||t==="dark")){this.mode=t}const e=this.getCookie("userToken");const n=this.getCookie("isometrikUserId");if(e&&n){this.isLoggedIn=true;this.userToken=e;this.userId=n}if(typeof window!=="undefined"){this.demoCustomUi=new URLSearchParams(window.location.search).has("demoCustomUi");if(this.demoCustomUi){i()}}}getCookie(t){const e=`; ${document.cookie}`;const i=e.split(`; ${t}=`);if(i.length===2)return i.pop().split(";").shift();return null}async changeTheme(t){this.mode=t;localStorage.setItem("preferred-theme",t);if(this.themeProviderRef){await this.themeProviderRef.setTheme(t)}return this.mode}async toggleTheme(){const t=this.mode==="light"?"dark":"light";return this.changeTheme(t)}render(){return e("theme-provider",{key:"ccc80dfea2ef7de37d8fcc8ce9c728a8ff77c57e",ref:t=>this.themeProviderRef=t,themePath:this.themePath,mode:this.mode},!this.isLoggedIn?e("login-page",{onLoginSuccess:this.handleLoginSuccess}):e("web-chat",{toggleTheme:this.toggleTheme,defaultTheme:this.mode,customParts:this.demoCustomUi?{chatTile:"demo-chat-tile",messageBubble:"demo-message-bubble"}:undefined,ref:t=>{if(!t||!this.demoCustomUi)return;if(!t.querySelector('[slot="empty"]')){t.appendChild(n())}if(!t.__demoEventsAttached){o(t);t.__demoEventsAttached=true}}}))}};export{s as chat_app};
|
|
2
|
+
//# sourceMappingURL=p-161fcb35.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{M as o}from"./p-8f17345f.js";import{C as i,i as n}from"./p-7fd2c1ad.js";import{g as t,a as r}from"./p-5d98a8a0.js";const e=["--font-primary","--text-2","--text-4","--text-6","--text-8","--text-10","--text-12","--text-14","--text-16","--text-18","--text-20","--text-22","--text-24","--fw-400","--fw-500","--fw-600","--fw-700","--bg-primary","--bg-secondary","--bg-tertiary","--bg-input","--bg-row-hover","--text-primary","--text-secondary","--text-tertiary","--text-on-brand","--brand","--brand-soft","--brand-muted","--border","--border-subtle","--success","--danger","--hover-overlay","--overlay","--focus-ring","--icon","--svg-icon-filter","--rail-width","--control","--avatar","--rounded-8","--rounded-12","--rounded-full","--bg-primary-color","--bg-secondary-color","--bg-primary-light","--text-primary-color","--text-secondary-color","--text-tertiary-color","--text-success-color","--text-danger-color","--text-warning-color","--text-info-color","--text-last-seen"];function d(o){if(!o)return{};const i={};for(const[n,t]of Object.entries(o)){if(t==null||t==="")continue;const o=n.startsWith("--")?n:`--${n}`;i[o]=t}return i}function l(o,i){if(!o||!i)return;const n=d(i);for(const[i,t]of Object.entries(n)){o.style.setProperty(i,t)}}function u(o){if(o.show===false)return"hidden";if(o.hasCustomSlot)return"custom";return"default"}function a(o){return u({show:o.showProfileRail,hasCustomSlot:o.hasCustomSlot})}function s(o){if(o.showProfileSidebar!==undefined&&o.showProfileRail!==undefined){if(o.showProfileSidebar!==o.showProfileRail){console.warn("[isometrik-webchat] showProfileSidebar and showProfileRail disagree; using showProfileSidebar")}return o.showProfileSidebar}if(o.showProfileSidebar!==undefined)return o.showProfileSidebar;if(o.showProfileRail!==undefined)return o.showProfileRail;return undefined}function v(o){return[...o].sort(((o,i)=>{var n,t,r,e,d,l,u,a,s,v;if((((n=o===null||o===void 0?void 0:o.lastMessageDetails)===null||n===void 0?void 0:n.action)=="chatMessageSent"||((t=o===null||o===void 0?void 0:o.lastMessageDetails)===null||t===void 0?void 0:t.action)=="forward")&&(((r=o===null||o===void 0?void 0:o.lastMessageDetails)===null||r===void 0?void 0:r.body)===""||((e=o===null||o===void 0?void 0:o.lastMessageDetails)===null||e===void 0?void 0:e.action)==="clearConversation")){return 0}if((((d=i===null||i===void 0?void 0:i.lastMessageDetails)===null||d===void 0?void 0:d.action)=="chatMessageSent"||((l=i===null||i===void 0?void 0:i.lastMessageDetails)===null||l===void 0?void 0:l.action)=="forward")&&(((u=i===null||i===void 0?void 0:i.lastMessageDetails)===null||u===void 0?void 0:u.body)===""||((a=i===null||i===void 0?void 0:i.lastMessageDetails)===null||a===void 0?void 0:a.action)==="clearConversation")){return 0}const c=(s=o===null||o===void 0?void 0:o.lastMessageDetails)===null||s===void 0?void 0:s.updatedAt;const f=(v=i===null||i===void 0?void 0:i.lastMessageDetails)===null||v===void 0?void 0:v.updatedAt;return f-c}))}function c(o,i){const n=Array.isArray(o)?o:[];const t=Array.isArray(i)?i:[];return[...n,...t.filter((o=>!n.some((i=>i.conversationId===o.conversationId))))]}async function f(i){var n,t,r;const e={limit:(n=i.limit)!==null&&n!==void 0?n:20,skip:(t=i.skip)!==null&&t!==void 0?t:0,includeMembers:(r=i.includeMembers)!==null&&r!==void 0?r:true};if(i.searchTag)e.searchTag=i.searchTag;const d=await o.getInstance().Conversation.getConversations(e);return(d===null||d===void 0?void 0:d.conversations)||[]}async function m(i,n=true){const t=await o.getInstance().Conversation.getConversationDetails({conversationId:i,includeMembers:n},i);return t===null||t===void 0?void 0:t.conversationDetails}function x(t){o.initializeInstance({baseUrl:t.baseUrl||i.baseUrl,licenseKey:t.licenseKey||n.licenseKey,appSecret:t.appSecret||n.appSecret,userSecret:t.userSecret||n.userSecret,userToken:t.userToken})}async function b(){var i,n,t;const r=await o.getInstance().user.getUserDetails();return{userId:(r===null||r===void 0?void 0:r.userId)||"",userIdentifier:(r===null||r===void 0?void 0:r.userIdentifier)||"",firstName:((i=r===null||r===void 0?void 0:r.metaData)===null||i===void 0?void 0:i.firstName)||"",lastName:((n=r===null||r===void 0?void 0:r.metaData)===null||n===void 0?void 0:n.lastName)||"",updatedAt:(r===null||r===void 0?void 0:r.updatedAt)||"",userName:(r===null||r===void 0?void 0:r.userName)||"",online:(r===null||r===void 0?void 0:r.online)||"",userProfileImageUrl:(r===null||r===void 0?void 0:r.userProfileImageUrl)||"",profilePic:((t=r===null||r===void 0?void 0:r.metaData)===null||t===void 0?void 0:t.profilePic)||""}}async function y(o){var i;const n=await t({ids:o});return((i=n===null||n===void 0?void 0:n.groupcasts)===null||i===void 0?void 0:i[0])||null}async function g(o){const i=await r({groupcastId:o});return(i===null||i===void 0?void 0:i.members)||[]}async function p(o={}){var i,n;const r=await t({skip:(i=o.skip)!==null&&i!==void 0?i:0,limit:(n=o.limit)!==null&&n!==void 0?n:20});return(r===null||r===void 0?void 0:r.groupcasts)||[]}export{e as T,f as a,m as b,y as c,g as d,p as e,b as f,l as g,u as h,x as i,a as j,c as m,d as n,s as r,v as s};
|
|
2
|
+
//# sourceMappingURL=p-1953573d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["THEME_TOKEN_NAMES","normalizeThemeObject","input","out","rawKey","value","Object","entries","key","startsWith","applyThemeObjectToElement","el","theme","normalized","style","setProperty","resolveRegionMode","opts","show","hasCustomSlot","resolveProfileRailMode","showProfileRail","resolveShowProfileRailProp","showProfileSidebar","undefined","console","warn","sortConversationsByLatestMessage","conversations","sort","a","b","_a","lastMessageDetails","action","_b","_c","body","_d","_e","_f","_g","_h","timestampA","_j","updatedAt","timestampB","_k","mergeUniqueConversations","existing","incoming","list","Array","isArray","next","filter","newConv","some","existingConv","conversationId","async","fetchConversationsPage","query","limit","skip","includeMembers","searchTag","res","ChatSDK","getInstance","Conversation","getConversations","fetchConversationDetails","getConversationDetails","conversationDetails","initializeChatSdk","config","initializeInstance","baseUrl","CHAT_CREDS","licenseKey","isometrikFlutterAppSecrets","appSecret","userSecret","userToken","fetchUserDetails","user","getUserDetails","userId","userIdentifier","firstName","metaData","lastName","userName","online","userProfileImageUrl","profilePic","fetchGroupcastDetails","groupcastId","getGroupcast","ids","groupcasts","fetchGroupcastMembersPage","getGroupcastMembers","members","fetchGroupcastContactsPage"],"sources":["src/sdk/theme-tokens.ts","src/sdk/composition.ts","src/lib/chat/conversations.ts","src/lib/chat/session.ts","src/lib/chat/groupcast.ts"],"sourcesContent":["/**\n * Public theme token catalog for host apps.\n * Pass values via initializeIsometrikWebchat({ theme: { ... } }) or a CSS file (themeUrl).\n *\n * Apply order: package defaults → themeUrl stylesheet → theme object (wins).\n *\n * Legacy aliases (*-color) still appear in older UI; set both when overriding colors\n * if you need full coverage until those call sites are normalized.\n */\n\nexport const THEME_TOKEN_NAMES = [\n // Typography\n '--font-primary',\n '--text-2',\n '--text-4',\n '--text-6',\n '--text-8',\n '--text-10',\n '--text-12',\n '--text-14',\n '--text-16',\n '--text-18',\n '--text-20',\n '--text-22',\n '--text-24',\n '--fw-400',\n '--fw-500',\n '--fw-600',\n '--fw-700',\n\n // Surfaces\n '--bg-primary',\n '--bg-secondary',\n '--bg-tertiary',\n '--bg-input',\n '--bg-row-hover',\n\n // Text\n '--text-primary',\n '--text-secondary',\n '--text-tertiary',\n '--text-on-brand',\n\n // Brand\n '--brand',\n '--brand-soft',\n '--brand-muted',\n\n // Borders / status / chrome\n '--border',\n '--border-subtle',\n '--success',\n '--danger',\n '--hover-overlay',\n '--overlay',\n '--focus-ring',\n '--icon',\n '--svg-icon-filter',\n\n // Layout helpers hosts sometimes tweak\n '--rail-width',\n '--control',\n '--avatar',\n '--rounded-8',\n '--rounded-12',\n '--rounded-full',\n\n // Legacy aliases still referenced by some components\n '--bg-primary-color',\n '--bg-secondary-color',\n '--bg-primary-light',\n '--text-primary-color',\n '--text-secondary-color',\n '--text-tertiary-color',\n '--text-success-color',\n '--text-danger-color',\n '--text-warning-color',\n '--text-info-color',\n '--text-last-seen',\n] as const;\n\nexport type ThemeTokenName = (typeof THEME_TOKEN_NAMES)[number];\n\n/** Host-provided overrides. Keys should be CSS custom property names (with leading --). */\nexport type ThemeTokenMap = Partial<Record<ThemeTokenName, string>> & {\n [cssVar: `--${string}`]: string | undefined;\n};\n\n/** Map short keys → canonical CSS vars (hosts may omit the leading --). */\nexport function normalizeThemeObject(input?: Record<string, string> | null): Record<string, string> {\n if (!input) return {};\n const out: Record<string, string> = {};\n for (const [rawKey, value] of Object.entries(input)) {\n if (value == null || value === '') continue;\n const key = rawKey.startsWith('--') ? rawKey : `--${rawKey}`;\n out[key] = value;\n }\n return out;\n}\n\n/**\n * Apply theme object as inline CSS variables on a host element.\n * Scoped to the chat root so multiple embeds don't fight over <html>.\n */\nexport function applyThemeObjectToElement(\n el: HTMLElement | null | undefined,\n theme?: Record<string, string> | null,\n): void {\n if (!el || !theme) return;\n const normalized = normalizeThemeObject(theme);\n for (const [key, value] of Object.entries(normalized)) {\n el.style.setProperty(key, value);\n }\n}\n","/**\n * UI composition helpers for the shell.\n * Pure functions — easy to unit test, no Stencil.\n *\n * Matrix for every region:\n * show === false → hidden (wins over custom slot)\n * custom slot → custom\n * else → SDK default\n */\n\nexport type RegionMode = 'hidden' | 'custom' | 'default';\n\n/** @deprecated Use RegionMode */\nexport type ProfileRailMode = RegionMode;\n\nexport function resolveRegionMode(opts: {\n /** When false, region is not rendered. Undefined / true → visible. */\n show?: boolean;\n hasCustomSlot: boolean;\n}): RegionMode {\n if (opts.show === false) return 'hidden';\n if (opts.hasCustomSlot) return 'custom';\n return 'default';\n}\n\n/**\n * Profile icon rail resolution (same matrix as resolveRegionMode).\n */\nexport function resolveProfileRailMode(opts: {\n showProfileRail?: boolean;\n hasCustomSlot: boolean;\n}): RegionMode {\n return resolveRegionMode({\n show: opts.showProfileRail,\n hasCustomSlot: opts.hasCustomSlot,\n });\n}\n\n/**\n * Init prop alias: showProfileSidebar wins over showProfileRail when both set.\n * Returns undefined when neither is passed (component default applies).\n */\nexport function resolveShowProfileRailProp(opts: {\n showProfileSidebar?: boolean;\n showProfileRail?: boolean;\n}): boolean | undefined {\n if (opts.showProfileSidebar !== undefined && opts.showProfileRail !== undefined) {\n if (opts.showProfileSidebar !== opts.showProfileRail) {\n console.warn(\n '[isometrik-webchat] showProfileSidebar and showProfileRail disagree; using showProfileSidebar',\n );\n }\n return opts.showProfileSidebar;\n }\n if (opts.showProfileSidebar !== undefined) return opts.showProfileSidebar;\n if (opts.showProfileRail !== undefined) return opts.showProfileRail;\n return undefined;\n}\n","import ChatSDK from 'test-iso-chat-sdk';\n\n/** Newest last-message first. Skips empty/cleared last messages when sorting. */\nexport function sortConversationsByLatestMessage(conversations: any[]) {\n return [...conversations].sort((a, b) => {\n if (\n (a?.lastMessageDetails?.action == 'chatMessageSent' || a?.lastMessageDetails?.action == 'forward') &&\n (a?.lastMessageDetails?.body === '' || a?.lastMessageDetails?.action === 'clearConversation')\n ) {\n return 0;\n }\n if (\n (b?.lastMessageDetails?.action == 'chatMessageSent' || b?.lastMessageDetails?.action == 'forward') &&\n (b?.lastMessageDetails?.body === '' || b?.lastMessageDetails?.action === 'clearConversation')\n ) {\n return 0;\n }\n const timestampA = a?.lastMessageDetails?.updatedAt;\n const timestampB = b?.lastMessageDetails?.updatedAt;\n return timestampB - timestampA;\n });\n}\n\nexport function mergeUniqueConversations(existing: any[], incoming: any[]) {\n const list = Array.isArray(existing) ? existing : [];\n const next = Array.isArray(incoming) ? incoming : [];\n return [\n ...list,\n ...next.filter(newConv => !list.some(existingConv => existingConv.conversationId === newConv.conversationId)),\n ];\n}\n\nexport async function fetchConversationsPage(opts: {\n skip?: number;\n limit?: number;\n searchTag?: string | null;\n includeMembers?: boolean;\n}) {\n const query: any = {\n limit: opts.limit ?? 20,\n skip: opts.skip ?? 0,\n includeMembers: opts.includeMembers ?? true,\n };\n if (opts.searchTag) query.searchTag = opts.searchTag;\n const res = await ChatSDK.getInstance().Conversation.getConversations(query);\n return res?.conversations || [];\n}\n\nexport async function fetchConversationDetails(conversationId: string, includeMembers = true) {\n const res = await ChatSDK.getInstance().Conversation.getConversationDetails(\n { conversationId, includeMembers },\n conversationId,\n );\n return res?.conversationDetails;\n}\n","import ChatSDK from 'test-iso-chat-sdk';\nimport { CHAT_CREDS, isometrikFlutterAppSecrets } from '../../constants/chat-creds';\n\nexport type ChatSdkInitConfig = {\n baseUrl?: string;\n licenseKey?: string;\n appSecret?: string;\n userSecret?: string;\n userToken?: string;\n};\n\n/** Init ChatSDK singleton. Props win; chat-creds used as local-demo fallback. */\nexport function initializeChatSdk(config: ChatSdkInitConfig) {\n ChatSDK.initializeInstance({\n baseUrl: config.baseUrl || CHAT_CREDS.baseUrl,\n licenseKey: config.licenseKey || isometrikFlutterAppSecrets.licenseKey,\n appSecret: config.appSecret || isometrikFlutterAppSecrets.appSecret,\n userSecret: config.userSecret || isometrikFlutterAppSecrets.userSecret,\n userToken: config.userToken,\n });\n}\n\n/** Normalize getUserDetails API response into the shape WebChat stores. */\nexport async function fetchUserDetails() {\n const res: any = await ChatSDK.getInstance().user.getUserDetails();\n return {\n userId: res?.userId || '',\n userIdentifier: res?.userIdentifier || '',\n firstName: res?.metaData?.firstName || '',\n lastName: res?.metaData?.lastName || '',\n updatedAt: res?.updatedAt || '',\n userName: res?.userName || '',\n online: res?.online || '',\n userProfileImageUrl: res?.userProfileImageUrl || '',\n profilePic: res?.metaData?.profilePic || '',\n };\n}\n","import { getGroupcast, getGroupcastMembers } from '../../api/groupcast.js';\n\nexport async function fetchGroupcastDetails(groupcastId: string) {\n const res = await getGroupcast({ ids: groupcastId });\n return res?.groupcasts?.[0] || null;\n}\n\nexport async function fetchGroupcastMembersPage(groupcastId: string) {\n const res = await getGroupcastMembers({ groupcastId });\n return res?.members || [];\n}\n\nexport async function fetchGroupcastContactsPage(opts: { skip?: number; limit?: number } = {}) {\n const res = await getGroupcast({ skip: opts.skip ?? 0, limit: opts.limit ?? 20 });\n return res?.groupcasts || [];\n}\n"],"mappings":"gIAUaA,EAAoB,CAE/B,iBACA,WACA,WACA,WACA,WACA,YACA,YACA,YACA,YACA,YACA,YACA,YACA,YACA,WACA,WACA,WACA,WAGA,eACA,iBACA,gBACA,aACA,iBAGA,iBACA,mBACA,kBACA,kBAGA,UACA,eACA,gBAGA,WACA,kBACA,YACA,WACA,kBACA,YACA,eACA,SACA,oBAGA,eACA,YACA,WACA,cACA,eACA,iBAGA,qBACA,uBACA,qBACA,uBACA,yBACA,wBACA,uBACA,sBACA,uBACA,oBACA,oB,SAWcC,EAAqBC,GACnC,IAAKA,EAAO,MAAO,GACnB,MAAMC,EAA8B,GACpC,IAAK,MAAOC,EAAQC,KAAUC,OAAOC,QAAQL,GAAQ,CACnD,GAAIG,GAAS,MAAQA,IAAU,GAAI,SACnC,MAAMG,EAAMJ,EAAOK,WAAW,MAAQL,EAAS,KAAKA,IACpDD,EAAIK,GAAOH,C,CAEb,OAAOF,CACT,C,SAMgBO,EACdC,EACAC,GAEA,IAAKD,IAAOC,EAAO,OACnB,MAAMC,EAAaZ,EAAqBW,GACxC,IAAK,MAAOJ,EAAKH,KAAUC,OAAOC,QAAQM,GAAa,CACrDF,EAAGG,MAAMC,YAAYP,EAAKH,E,CAE9B,C,SClGgBW,EAAkBC,GAKhC,GAAIA,EAAKC,OAAS,MAAO,MAAO,SAChC,GAAID,EAAKE,cAAe,MAAO,SAC/B,MAAO,SACT,C,SAKgBC,EAAuBH,GAIrC,OAAOD,EAAk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,OAAOgC,IAAG,MAAHA,SAAG,SAAHA,EAAKkC,aAAc,EAC5B,Q","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,a as i,h as t}from"./p-17a96a2a.js";import{r,e as s}from"./p-d28c5548.js";const a=class{constructor(t){e(this,t);this.tagUserClick=i(this,"tagUserClick",7);this.openUrl=()=>{if(this.url)window.open(this.url,"_blank","noopener,noreferrer")};this.url="";this.isRead=undefined;this.isDelivered=undefined;this.time=undefined;this.textColor=undefined;this.message=undefined;this.backgroundColor=undefined;this.isSelf=undefined;this.mentionedUsers=[];this.preview=undefined;this.isMessageInfo=undefined;this.isShowFooter=true;this.showReactionButton=undefined;this.showEmojiReactions=undefined;this.messageId=undefined;this.reactions={};this.showConfirmationPopup=undefined;this.selectedEmojiToRemove=undefined;this.showAllReactionsPopup=undefined;this.userMetaData=undefined;this.messageType=undefined;this.timeColor=undefined;this.showReactionOnHover=false}render(){const e=this.preview||{};return t("message-bubble",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,a as i,h as t}from"./p-17a96a2a.js";import{r,e as s}from"./p-d28c5548.js";const a=class{constructor(t){e(this,t);this.tagUserClick=i(this,"tagUserClick",7);this.openUrl=()=>{if(this.url)window.open(this.url,"_blank","noopener,noreferrer")};this.url="";this.isRead=undefined;this.isDelivered=undefined;this.time=undefined;this.textColor=undefined;this.message=undefined;this.backgroundColor=undefined;this.isSelf=undefined;this.mentionedUsers=[];this.preview=undefined;this.isMessageInfo=undefined;this.isShowFooter=true;this.showReactionButton=undefined;this.showEmojiReactions=undefined;this.messageId=undefined;this.reactions={};this.showConfirmationPopup=undefined;this.selectedEmojiToRemove=undefined;this.showAllReactionsPopup=undefined;this.userMetaData=undefined;this.messageType=undefined;this.timeColor=undefined;this.showReactionOnHover=false}render(){const e=this.preview||{};return t("message-bubble",{key:"48c128646a5458d69fa774085483f40733f4d35d",isSelf:!!this.isSelf,time:this.time,timeColor:this.timeColor,isRead:this.isRead,isDelivered:this.isDelivered,reactions:this.reactions,messageId:this.messageId,userMetaData:this.userMetaData,isForwarded:this.messageType===1,backgroundColor:this.backgroundColor,showReactionOnHover:this.showReactionOnHover},(e.title||e.image||e.description)&&t("div",{key:"bb20defb7079443b02e4fbaba1a2e338f1cb09cf",class:"preview-card",onClick:this.openUrl},e.image?t("img",{src:e.image,alt:""}):null,t("div",{key:"31b91ed32d558725280eeeef4de083d57084c590",class:"preview-meta"},e.title?t("div",{class:"preview-title"},e.title):null,e.description?t("div",{class:"preview-desc"},e.description):null,t("div",{key:"64bba0979521cb2bf097c7174759870eacd94e2e",class:"preview-url"},this.url||e.url))),t("div",{key:"500fe81bc5ffa00cff64cc6dfe35a4edb4bffabe",style:{color:this.textColor,whiteSpace:"pre-wrap",wordBreak:"break-word"}},r(this.message||this.url,this.mentionedUsers,(e=>s(this.tagUserClick,e)),!!this.isSelf)))}};a.style=":host { display: block; font-family: var(--font-primary); }\n a { color: var(--brand) !important; }\n .preview-card {\n display: flex; gap: var(--gap-8); border-radius: var(--rounded-8); overflow: hidden;\n background: var(--bg-tertiary); cursor: pointer; margin-bottom: var(--gap-6);\n }\n .preview-card img { width: 4.5rem; height: 4.5rem; object-fit: cover; flex-shrink: 0; }\n .preview-meta { padding: var(--space-8); min-width: 0; color: var(--text-primary); }\n .preview-title { font-weight: var(--fw-600); font-size: var(--text-12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n .preview-desc { font-size: var(--text-12); color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }\n .preview-url { font-size: var(--text-10); color: var(--text-tertiary); margin-top: var(--gap-2); }";export{a as link_preview};
|
|
2
|
+
//# sourceMappingURL=p-1eecc7c5.entry.js.map
|