isometrik-plugin-chat-sdk 1.3.19 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-61a8bfde.js +38 -0
- package/dist/cjs/app-globals-61a8bfde.js.map +1 -0
- package/dist/cjs/attachment-preview_22.cjs.entry.js +122 -44
- package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
- package/dist/cjs/audio-bubble_4.cjs.entry.js +38 -8
- package/dist/cjs/audio-bubble_4.cjs.entry.js.map +1 -1
- package/dist/cjs/chat-app.cjs.entry.js +2 -2
- package/dist/cjs/chat-app.cjs.entry.js.map +1 -1
- package/dist/cjs/{chat-creds-cf537d4b.js → chat-creds-2dbc4087.js} +3 -3
- package/dist/cjs/chat-creds-2dbc4087.js.map +1 -0
- 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/client-80851676.js +482 -0
- package/dist/cjs/client-80851676.js.map +1 -0
- package/dist/cjs/{contracts-31632812.js → contracts-dfc84075.js} +2 -2
- package/dist/cjs/contracts-dfc84075.js.map +1 -0
- package/dist/cjs/destroy-chat-7ae8fc99.js +24 -0
- package/dist/cjs/destroy-chat-7ae8fc99.js.map +1 -0
- package/dist/cjs/doublecheck-c2461adc.js +36 -0
- package/dist/cjs/doublecheck-c2461adc.js.map +1 -0
- package/dist/cjs/{drawer-28cc94a4.js → drawer-811d2ce8.js} +2 -2
- package/dist/cjs/{drawer-28cc94a4.js.map → drawer-811d2ce8.js.map} +1 -1
- package/dist/cjs/forward-memebers.cjs.entry.js +2 -2
- package/dist/cjs/forward-message.cjs.entry.js +2 -2
- package/dist/cjs/group-chat-contacts.cjs.entry.js +2 -2
- package/dist/cjs/{group-members-73ad1074.js → group-members-5a82ec8a.js} +1 -125
- package/dist/cjs/group-members-5a82ec8a.js.map +1 -0
- package/dist/cjs/{helpers-8061ec7d.js → helpers-154861e9.js} +2 -2
- package/dist/cjs/{helpers-8061ec7d.js.map → helpers-154861e9.js.map} +1 -1
- package/dist/cjs/{index-1a26d11d.js → index-66f98408.js} +2 -2
- package/dist/cjs/index-66f98408.js.map +1 -0
- package/dist/cjs/index.cjs.js +55 -182
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/isometrik-webchat.cjs.js +10 -2
- package/dist/cjs/isometrik-webchat.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +10 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/login-page_3.cjs.entry.js +689 -369
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/cjs/media-gallery.cjs.entry.js +1 -1
- package/dist/cjs/media-limits-eba42629.js +165 -0
- package/dist/cjs/media-limits-eba42629.js.map +1 -0
- package/dist/cjs/member-add.cjs.entry.js +3 -3
- package/dist/cjs/message-bubble.cjs.entry.js +30 -8
- package/dist/cjs/message-bubble.cjs.entry.js.map +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/new-chat-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/reaction-container.cjs.entry.js +4 -4
- package/dist/cjs/runtime-controls-201c71ba.js +650 -0
- package/dist/cjs/runtime-controls-201c71ba.js.map +1 -0
- package/dist/cjs/send-media-14908d4b.js +375 -0
- package/dist/cjs/send-media-14908d4b.js.map +1 -0
- package/dist/cjs/signup-page.cjs.entry.js +1 -1
- package/dist/cjs/{toast-0bf1e688.js → toast-f810e550.js} +8 -8
- package/dist/cjs/toast-f810e550.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ChatUIComponent/ChatDocumentMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/ChatImageMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/ChatVideoMessageBubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js +61 -14
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/ReactionContainer.js +2 -2
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js +7 -6
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/attachment-preview/attachment-preview.js +39 -8
- package/dist/collection/components/ChatUIComponent/shared/attachment-preview/attachment-preview.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/document-message/document-message.js +53 -3
- package/dist/collection/components/ChatUIComponent/shared/document-message/document-message.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/forward-message/forward-message.js +2 -2
- package/dist/collection/components/ChatUIComponent/shared/image-message/image-message.js +19 -1
- package/dist/collection/components/ChatUIComponent/shared/image-message/image-message.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/incoming-text-message-bubble/incoming-text-message-bubble.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/message-bubble/message-bubble.js +47 -7
- package/dist/collection/components/ChatUIComponent/shared/message-bubble/message-bubble.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/message-date-pill/message-date-pill.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/new chat/new-chat.stories.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/outgoing-text-message-bubble/outgoing-text-message-bubble.js +19 -1
- package/dist/collection/components/ChatUIComponent/shared/outgoing-text-message-bubble/outgoing-text-message-bubble.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/reply-message-container/reply-message-container.js +1 -1
- package/dist/collection/components/ChatUIComponent/shared/video-message/video-message.js +20 -2
- package/dist/collection/components/ChatUIComponent/shared/video-message/video-message.js.map +1 -1
- package/dist/collection/components/my-component/my-component.js +1 -1
- package/dist/collection/components/my-component/web-chat/FLOW.js +1 -1
- package/dist/collection/components/my-component/web-chat/FLOW.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/WebChat.js +113 -12
- package/dist/collection/components/my-component/web-chat/WebChat.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/bootstrap.js +7 -0
- package/dist/collection/components/my-component/web-chat/bootstrap.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/data-fetch.js +14 -5
- package/dist/collection/components/my-component/web-chat/data-fetch.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/mqtt-host.js +133 -34
- 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 +212 -0
- package/dist/collection/components/my-component/web-chat/offline-host.js.map +1 -0
- package/dist/collection/components/my-component/web-chat/public-send.js +96 -21
- package/dist/collection/components/my-component/web-chat/public-send.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js +47 -28
- package/dist/collection/components/my-component/web-chat/shell-render.js.map +1 -1
- package/dist/collection/components/theme-provider.js +114 -45
- package/dist/collection/components/theme-provider.js.map +1 -1
- package/dist/collection/constants/chat-creds.js +2 -2
- package/dist/collection/demos/custom-ui-demo-elements.js +2 -2
- package/dist/collection/demos/custom-ui-demo-elements.js.map +1 -1
- package/dist/collection/global/expose-sdk.js +29 -0
- package/dist/collection/global/expose-sdk.js.map +1 -0
- package/dist/collection/index.js +10 -141
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/lib/chat/index.js +3 -0
- package/dist/collection/lib/chat/index.js.map +1 -1
- package/dist/collection/lib/chat/media-limits.js +21 -0
- package/dist/collection/lib/chat/media-limits.js.map +1 -0
- package/dist/collection/lib/chat/media-outbox.js +43 -0
- package/dist/collection/lib/chat/media-outbox.js.map +1 -0
- package/dist/collection/lib/chat/preview-kind.js +41 -0
- package/dist/collection/lib/chat/preview-kind.js.map +1 -0
- package/dist/collection/lib/chat/send-media.js +5 -2
- package/dist/collection/lib/chat/send-media.js.map +1 -1
- package/dist/collection/lib/custom-ui/contracts.js +1 -1
- package/dist/collection/lib/custom-ui/contracts.js.map +1 -1
- package/dist/collection/lib/custom-ui/index.js +1 -1
- package/dist/collection/lib/custom-ui/index.js.map +1 -1
- package/dist/collection/lib/custom-ui/public-api.js +1 -0
- package/dist/collection/lib/custom-ui/public-api.js.map +1 -1
- package/dist/collection/lib/destroy-chat.js +15 -16
- package/dist/collection/lib/destroy-chat.js.map +1 -0
- package/dist/collection/lib/mqtt/inbound-queue.js +17 -0
- package/dist/collection/lib/mqtt/inbound-queue.js.map +1 -0
- package/dist/collection/lib/mqtt/index.js +2 -1
- package/dist/collection/lib/mqtt/index.js.map +1 -1
- package/dist/collection/lib/mqtt/session.js +50 -6
- package/dist/collection/lib/mqtt/session.js.map +1 -1
- package/dist/collection/lib/offline/client.js +167 -0
- package/dist/collection/lib/offline/client.js.map +1 -0
- package/dist/collection/lib/offline/idb.js +181 -0
- package/dist/collection/lib/offline/idb.js.map +1 -0
- package/dist/collection/lib/offline/index.js +10 -0
- package/dist/collection/lib/offline/index.js.map +1 -0
- package/dist/collection/lib/offline/memory-db.js +64 -0
- package/dist/collection/lib/offline/memory-db.js.map +1 -0
- package/dist/collection/lib/offline/merge.js +24 -0
- package/dist/collection/lib/offline/merge.js.map +1 -0
- package/dist/collection/lib/offline/multitab.js +47 -0
- package/dist/collection/lib/offline/multitab.js.map +1 -0
- package/dist/collection/lib/offline/types.js +2 -0
- package/dist/collection/lib/offline/types.js.map +1 -0
- package/dist/collection/lib/toast.js +6 -6
- package/dist/collection/lib/toast.js.map +1 -1
- package/dist/collection/sdk/api.js +4 -0
- package/dist/collection/sdk/api.js.map +1 -0
- package/dist/collection/sdk/composition.js +43 -0
- package/dist/collection/sdk/composition.js.map +1 -0
- package/dist/collection/sdk/headless-api.js +37 -0
- package/dist/collection/sdk/headless-api.js.map +1 -0
- package/dist/collection/sdk/index.js +11 -0
- package/dist/collection/sdk/index.js.map +1 -0
- package/dist/collection/sdk/init.js +207 -0
- package/dist/collection/sdk/init.js.map +1 -0
- package/dist/collection/sdk/instance.js +63 -0
- package/dist/collection/sdk/instance.js.map +1 -0
- package/dist/collection/sdk/react-bridge.js +145 -0
- package/dist/collection/sdk/react-bridge.js.map +1 -0
- package/dist/collection/sdk/runtime-controls.js +54 -0
- package/dist/collection/sdk/runtime-controls.js.map +1 -0
- package/dist/collection/sdk/slots.js +57 -0
- package/dist/collection/sdk/slots.js.map +1 -0
- package/dist/collection/sdk/theme-tokens.js +99 -0
- package/dist/collection/sdk/theme-tokens.js.map +1 -0
- package/dist/collection/sdk/webchat-api.js +36 -0
- package/dist/collection/sdk/webchat-api.js.map +1 -0
- package/dist/collection/testing/chat-assets-mock.js +45 -0
- package/dist/collection/testing/chat-creds-mock.js +18 -0
- package/dist/collection/testing/emoji-picker-mock.js +2 -0
- package/dist/collection/testing/file-mock.js +1 -0
- package/dist/collection/testing/groupcast-mock.js +7 -0
- package/dist/collection/testing/helpers-mock.js +4 -0
- package/dist/collection/testing/iso-chat-sdk-mock.js +19 -0
- package/dist/collection/testing/toast-mock.js +2 -0
- package/dist/components/ChatFooter.js +62 -15
- package/dist/components/ChatFooter.js.map +1 -1
- package/dist/components/ChatSidebar.js +1 -1
- package/dist/components/{GroupCast.js → GroupCast2.js} +2 -2
- package/dist/components/GroupCast2.js.map +1 -0
- package/dist/components/WebChat.js +624 -305
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/WebChatBody.js +8 -7
- package/dist/components/WebChatBody.js.map +1 -1
- package/dist/components/attachment-preview2.js +40 -9
- package/dist/components/attachment-preview2.js.map +1 -1
- package/dist/components/chat-app.js +3 -3
- package/dist/components/chat-app.js.map +1 -1
- package/dist/components/chat-assets.js +1 -1
- package/dist/components/chat-creds.js +2 -2
- package/dist/components/chat-creds.js.map +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-tile2.js +1 -1
- package/dist/components/chat-video-message-bubble.js +1 -1
- package/dist/components/client.js +728 -0
- package/dist/components/client.js.map +1 -0
- package/dist/components/contact-info2.js +2 -117
- package/dist/components/contact-info2.js.map +1 -1
- package/dist/components/contracts.js +1 -1
- package/dist/components/contracts.js.map +1 -1
- package/dist/components/destroy-chat.js +14 -16
- package/dist/components/destroy-chat.js.map +1 -1
- package/dist/components/document-message2.js +35 -5
- package/dist/components/document-message2.js.map +1 -1
- package/dist/components/forward-message.js +2 -2
- package/dist/components/group-cast.js +1 -1
- package/dist/components/{groupcast2.js → groupcast.js} +1 -1
- package/dist/components/groupcast.js.map +1 -0
- package/dist/components/image-message2.js +3 -1
- package/dist/components/image-message2.js.map +1 -1
- package/dist/components/incoming-text-message-bubble2.js +1 -1
- package/dist/components/index.js +551 -60
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/media-limits.js +24 -0
- package/dist/components/media-limits.js.map +1 -0
- package/dist/components/member-add.js +1 -1
- package/dist/components/message-bubble2.js +31 -7
- package/dist/components/message-bubble2.js.map +1 -1
- package/dist/components/message-date-pill2.js +1 -1
- package/dist/components/messages.js +131 -0
- package/dist/components/messages.js.map +1 -0
- package/dist/components/my-component.js +1 -1
- package/dist/components/outgoing-text-message-bubble2.js +3 -1
- package/dist/components/outgoing-text-message-bubble2.js.map +1 -1
- package/dist/components/preview-kind.js +30 -0
- package/dist/components/preview-kind.js.map +1 -0
- package/dist/components/reaction-container.js +2 -2
- package/dist/components/reply-message-container2.js +1 -1
- package/dist/components/theme-provider2.js +56 -44
- package/dist/components/theme-provider2.js.map +1 -1
- package/dist/components/theme-tokens.js +102 -0
- package/dist/components/theme-tokens.js.map +1 -0
- package/dist/components/toast.js +6 -6
- package/dist/components/toast.js.map +1 -1
- package/dist/components/video-message2.js +4 -2
- package/dist/components/video-message2.js.map +1 -1
- package/dist/esm/app-globals-2beecb81.js +36 -0
- package/dist/esm/app-globals-2beecb81.js.map +1 -0
- package/dist/esm/attachment-preview_22.entry.js +120 -42
- package/dist/esm/attachment-preview_22.entry.js.map +1 -1
- package/dist/esm/audio-bubble_4.entry.js +39 -9
- package/dist/esm/audio-bubble_4.entry.js.map +1 -1
- package/dist/esm/chat-app.entry.js +2 -2
- package/dist/esm/chat-app.entry.js.map +1 -1
- package/dist/esm/{chat-assets-e3173222.js → chat-assets-bb056958.js} +2 -2
- package/dist/esm/{chat-assets-e3173222.js.map → chat-assets-bb056958.js.map} +1 -1
- package/dist/esm/{chat-creds-5d0982fc.js → chat-creds-aafad4d0.js} +3 -3
- package/dist/esm/chat-creds-aafad4d0.js.map +1 -0
- package/dist/esm/chat-document-message-bubble.entry.js +1 -1
- package/dist/esm/chat-image-message-bubble.entry.js +1 -1
- package/dist/esm/chat-tile_3.entry.js +1 -1
- package/dist/esm/chat-video-message-bubble.entry.js +1 -1
- package/dist/esm/client-4a3e00da.js +477 -0
- package/dist/esm/client-4a3e00da.js.map +1 -0
- package/dist/esm/{contracts-614be4db.js → contracts-50f4ddae.js} +2 -2
- package/dist/esm/contracts-50f4ddae.js.map +1 -0
- package/dist/esm/destroy-chat-d0ee28d6.js +22 -0
- package/dist/esm/destroy-chat-d0ee28d6.js.map +1 -0
- package/dist/esm/doublecheck-261763ef.js +32 -0
- package/dist/esm/doublecheck-261763ef.js.map +1 -0
- package/dist/esm/{drawer-8f721119.js → drawer-74c188f1.js} +2 -2
- package/dist/esm/{drawer-8f721119.js.map → drawer-74c188f1.js.map} +1 -1
- package/dist/esm/forward-memebers.entry.js +3 -3
- package/dist/esm/forward-message.entry.js +2 -2
- package/dist/esm/group-chat-contacts.entry.js +2 -2
- package/dist/esm/{group-members-806fd7a2.js → group-members-05414da2.js} +2 -118
- package/dist/esm/group-members-05414da2.js.map +1 -0
- package/dist/esm/{groupcast-2ce7187f.js → groupcast-9c7d2a32.js} +2 -2
- package/dist/esm/{groupcast-2ce7187f.js.map → groupcast-9c7d2a32.js.map} +1 -1
- package/dist/esm/{helpers-4c6d09a7.js → helpers-f33b895c.js} +2 -2
- package/dist/esm/{helpers-4c6d09a7.js.map → helpers-f33b895c.js.map} +1 -1
- package/dist/esm/{index-beb184c6.js → index-4c865e34.js} +2 -2
- package/dist/esm/index-4c865e34.js.map +1 -0
- package/dist/esm/index.js +17 -171
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isometrik-webchat.js +10 -2
- package/dist/esm/isometrik-webchat.js.map +1 -1
- package/dist/esm/loader.js +10 -2
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/login-page_3.entry.js +672 -352
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/esm/media-gallery.entry.js +1 -1
- package/dist/esm/media-limits-3fa07c09.js +152 -0
- package/dist/esm/media-limits-3fa07c09.js.map +1 -0
- package/dist/esm/member-add.entry.js +5 -5
- package/dist/esm/message-bubble.entry.js +30 -8
- package/dist/esm/message-bubble.entry.js.map +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/new-chat-sidebar.entry.js +3 -3
- package/dist/esm/reaction-container.entry.js +4 -4
- package/dist/esm/runtime-controls-cf599fe2.js +623 -0
- package/dist/esm/runtime-controls-cf599fe2.js.map +1 -0
- package/dist/esm/send-media-917dcc2f.js +353 -0
- package/dist/esm/send-media-917dcc2f.js.map +1 -0
- package/dist/esm/signup-page.entry.js +1 -1
- package/dist/esm/{toast-d8ea763c.js → toast-533dd183.js} +8 -8
- package/dist/esm/toast-533dd183.js.map +1 -0
- package/dist/isometrik-webchat/index.esm.js +1 -1
- package/dist/isometrik-webchat/index.esm.js.map +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.css +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-0731d488.js +2 -0
- package/dist/isometrik-webchat/p-0731d488.js.map +1 -0
- package/dist/isometrik-webchat/{p-a15092d9.entry.js → p-1854b156.entry.js} +2 -2
- package/dist/isometrik-webchat/p-1854b156.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-5fea3fd2.entry.js → p-2d3e8cd4.entry.js} +2 -2
- package/dist/isometrik-webchat/p-315eee9a.js +2 -0
- package/dist/isometrik-webchat/p-315eee9a.js.map +1 -0
- package/dist/isometrik-webchat/{p-e7f58d3f.entry.js → p-39b626ed.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-eb1f3118.entry.js → p-3c70c22c.entry.js} +2 -2
- package/dist/isometrik-webchat/p-4cb54460.js +2 -0
- package/dist/isometrik-webchat/p-4cb54460.js.map +1 -0
- package/dist/isometrik-webchat/{p-f24cdbbb.js → p-5162774c.js} +1 -1
- package/dist/isometrik-webchat/p-5162774c.js.map +1 -0
- package/dist/isometrik-webchat/p-53ee98a7.entry.js +2 -0
- package/dist/isometrik-webchat/p-53ee98a7.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-5cbc1a16.entry.js → p-586f6978.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-5f7eebbf.entry.js → p-5d243250.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-23df1c24.js → p-5d98a8a0.js} +2 -2
- package/dist/isometrik-webchat/p-7f415f28.js +2 -0
- package/dist/isometrik-webchat/p-7f415f28.js.map +1 -0
- package/dist/isometrik-webchat/{p-d386acfe.js → p-7fd2c1ad.js} +1 -1
- package/dist/isometrik-webchat/p-7fd2c1ad.js.map +1 -0
- package/dist/isometrik-webchat/{p-e5884258.js → p-9982fa21.js} +2 -2
- package/dist/isometrik-webchat/{p-4db39c93.js → p-a5707f12.js} +2 -2
- package/dist/isometrik-webchat/{p-af775c83.entry.js → p-a876991d.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-7b80b0b2.js → p-adc45831.js} +1 -1
- package/dist/isometrik-webchat/p-adc45831.js.map +1 -0
- package/dist/isometrik-webchat/p-ae168135.js +2 -0
- package/dist/isometrik-webchat/p-ae168135.js.map +1 -0
- package/dist/isometrik-webchat/{p-a6897edc.js → p-b1330793.js} +1 -1
- package/dist/isometrik-webchat/p-b1330793.js.map +1 -0
- package/dist/isometrik-webchat/p-b61d6c0c.entry.js +2 -0
- package/dist/isometrik-webchat/p-b61d6c0c.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-b667a9fc.js +2 -0
- package/dist/isometrik-webchat/p-b667a9fc.js.map +1 -0
- package/dist/isometrik-webchat/p-b857775d.entry.js +2 -0
- package/dist/isometrik-webchat/p-bdcdf1c5.js +2 -0
- package/dist/isometrik-webchat/p-bdcdf1c5.js.map +1 -0
- package/dist/isometrik-webchat/p-c0c19621.entry.js +2 -0
- package/dist/isometrik-webchat/{p-064d6200.entry.js → p-ca47d693.entry.js} +2 -2
- package/dist/isometrik-webchat/p-d720cf14.entry.js +2 -0
- package/dist/isometrik-webchat/{p-53695fc6.entry.js.map → p-d720cf14.entry.js.map} +1 -1
- package/dist/isometrik-webchat/{p-5c22ee37.entry.js → p-d892b4d4.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-7eb12da3.js → p-dd62bd69.js} +2 -2
- package/dist/isometrik-webchat/p-eb54f75d.js +2 -0
- package/dist/isometrik-webchat/p-eb54f75d.js.map +1 -0
- package/dist/isometrik-webchat/p-f1fbf3be.entry.js +2 -0
- package/dist/isometrik-webchat/p-f1fbf3be.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-fb705915.entry.js +2 -0
- package/dist/isometrik-webchat/p-fb705915.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-2f6bb0a4.entry.js → p-fd6ce589.entry.js} +2 -2
- package/dist/isometrik-webchat/p-fdd327f5.entry.js +2 -0
- package/dist/types/components/ChatUIComponent/Footer/ChatFooter.d.ts +1 -0
- package/dist/types/components/ChatUIComponent/shared/attachment-preview/attachment-preview.d.ts +2 -0
- package/dist/types/components/ChatUIComponent/shared/document-message/document-message.d.ts +5 -0
- package/dist/types/components/ChatUIComponent/shared/image-message/image-message.d.ts +1 -0
- package/dist/types/components/ChatUIComponent/shared/message-bubble/message-bubble.d.ts +3 -0
- package/dist/types/components/ChatUIComponent/shared/outgoing-text-message-bubble/outgoing-text-message-bubble.d.ts +1 -0
- package/dist/types/components/ChatUIComponent/shared/video-message/video-message.d.ts +1 -0
- package/dist/types/components/my-component/web-chat/FLOW.d.ts +1 -1
- package/dist/types/components/my-component/web-chat/mqtt-host.d.ts +5 -0
- package/dist/types/components/my-component/web-chat/offline-host.d.ts +22 -0
- package/dist/types/components/theme-provider.d.ts +22 -27
- package/dist/types/components.d.ts +84 -11
- package/dist/types/demos/custom-ui-demo-elements.d.ts +1 -1
- package/dist/types/global/expose-sdk.d.ts +1 -0
- package/dist/types/index.d.ts +3 -44
- package/dist/types/lib/chat/index.d.ts +3 -0
- package/dist/types/lib/chat/media-limits.d.ts +11 -0
- package/dist/types/lib/chat/media-outbox.d.ts +8 -0
- package/dist/types/lib/chat/preview-kind.d.ts +30 -0
- package/dist/types/lib/custom-ui/contracts.d.ts +1 -1
- package/dist/types/lib/custom-ui/index.d.ts +1 -1
- package/dist/types/lib/custom-ui/public-api.d.ts +1 -1
- package/dist/types/lib/destroy-chat.d.ts +2 -0
- package/dist/types/lib/mqtt/inbound-queue.d.ts +7 -0
- package/dist/types/lib/mqtt/index.d.ts +2 -1
- package/dist/types/lib/mqtt/session.d.ts +22 -0
- package/dist/types/lib/offline/client.d.ts +44 -0
- package/dist/types/lib/offline/idb.d.ts +36 -0
- package/dist/types/lib/offline/index.d.ts +10 -0
- package/dist/types/lib/offline/memory-db.d.ts +20 -0
- package/dist/types/lib/offline/merge.d.ts +3 -0
- package/dist/types/lib/offline/multitab.d.ts +13 -0
- package/dist/types/lib/offline/types.d.ts +63 -0
- package/dist/types/sdk/api.d.ts +3 -0
- package/dist/types/sdk/composition.d.ts +32 -0
- package/dist/types/sdk/headless-api.d.ts +37 -0
- package/dist/types/sdk/index.d.ts +10 -0
- package/dist/types/sdk/init.d.ts +87 -0
- package/dist/types/sdk/instance.d.ts +15 -0
- package/dist/types/sdk/react-bridge.d.ts +64 -0
- package/dist/types/sdk/runtime-controls.d.ts +14 -0
- package/dist/types/sdk/slots.d.ts +15 -0
- package/dist/types/sdk/theme-tokens.d.ts +22 -0
- package/dist/types/sdk/webchat-api.d.ts +22 -0
- package/docs/ARCHITECTURE.md +272 -0
- package/docs/CUSTOMIZATION.md +236 -0
- package/docs/INTEGRATION.md +286 -0
- package/docs/RELIABILITY.md +51 -0
- package/docs/theme-tokens.template.css +72 -0
- package/package.json +8 -2
- package/readme.md +38 -17
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/chat-creds-cf537d4b.js.map +0 -1
- package/dist/cjs/contracts-31632812.js.map +0 -1
- package/dist/cjs/destroy-chat-be25dec7.js +0 -26
- package/dist/cjs/destroy-chat-be25dec7.js.map +0 -1
- package/dist/cjs/doublecheck-997afc94.js +0 -7
- package/dist/cjs/doublecheck-997afc94.js.map +0 -1
- package/dist/cjs/group-members-73ad1074.js.map +0 -1
- package/dist/cjs/index-1a26d11d.js.map +0 -1
- package/dist/cjs/toast-0bf1e688.js.map +0 -1
- package/dist/components/GroupCast.js.map +0 -1
- package/dist/components/groupcast2.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/chat-creds-5d0982fc.js.map +0 -1
- package/dist/esm/contracts-614be4db.js.map +0 -1
- package/dist/esm/destroy-chat-e2ebe165.js +0 -24
- package/dist/esm/destroy-chat-e2ebe165.js.map +0 -1
- package/dist/esm/doublecheck-5e208ef0.js +0 -5
- package/dist/esm/doublecheck-5e208ef0.js.map +0 -1
- package/dist/esm/group-members-806fd7a2.js.map +0 -1
- package/dist/esm/index-beb184c6.js.map +0 -1
- package/dist/esm/toast-d8ea763c.js.map +0 -1
- package/dist/isometrik-webchat/p-01fd0eb4.entry.js +0 -2
- package/dist/isometrik-webchat/p-01fd0eb4.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-0f9c3f95.entry.js +0 -2
- package/dist/isometrik-webchat/p-0f9c3f95.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-1c53e658.js +0 -2
- package/dist/isometrik-webchat/p-1c53e658.js.map +0 -1
- package/dist/isometrik-webchat/p-1df58381.entry.js +0 -2
- package/dist/isometrik-webchat/p-1df58381.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-3c690532.entry.js +0 -2
- package/dist/isometrik-webchat/p-3c690532.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-3c8cbd5f.js +0 -2
- package/dist/isometrik-webchat/p-3c8cbd5f.js.map +0 -1
- package/dist/isometrik-webchat/p-4e762019.js +0 -2
- package/dist/isometrik-webchat/p-4e762019.js.map +0 -1
- package/dist/isometrik-webchat/p-53695fc6.entry.js +0 -2
- package/dist/isometrik-webchat/p-7b80b0b2.js.map +0 -1
- package/dist/isometrik-webchat/p-9924b1bf.entry.js +0 -2
- package/dist/isometrik-webchat/p-a15092d9.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-a6897edc.js.map +0 -1
- package/dist/isometrik-webchat/p-b2bf55b1.entry.js +0 -2
- package/dist/isometrik-webchat/p-bfecfa97.entry.js +0 -2
- package/dist/isometrik-webchat/p-d386acfe.js.map +0 -1
- package/dist/isometrik-webchat/p-e1255160.js +0 -2
- package/dist/isometrik-webchat/p-e1255160.js.map +0 -1
- package/dist/isometrik-webchat/p-f24cdbbb.js.map +0 -1
- /package/dist/isometrik-webchat/{p-5fea3fd2.entry.js.map → p-2d3e8cd4.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-e7f58d3f.entry.js.map → p-39b626ed.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-eb1f3118.entry.js.map → p-3c70c22c.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-5cbc1a16.entry.js.map → p-586f6978.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-5f7eebbf.entry.js.map → p-5d243250.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-23df1c24.js.map → p-5d98a8a0.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-e5884258.js.map → p-9982fa21.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-4db39c93.js.map → p-a5707f12.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-af775c83.entry.js.map → p-a876991d.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-bfecfa97.entry.js.map → p-b857775d.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-9924b1bf.entry.js.map → p-c0c19621.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-064d6200.entry.js.map → p-ca47d693.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-5c22ee37.entry.js.map → p-d892b4d4.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-7eb12da3.js.map → p-dd62bd69.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-2f6bb0a4.entry.js.map → p-fd6ce589.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-b2bf55b1.entry.js.map → p-fdd327f5.entry.js.map} +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
2
|
-
import { I as
|
|
2
|
+
import { I as Icon_Doc, a as Icon_Excel, b as Icon_Rtf, c as Icon_Txt, S as Smile, d as Send } from './chat-assets.js';
|
|
3
3
|
import { C as CancelIcon } from './cancel.js';
|
|
4
|
+
import { M as MAX_MEDIA_PER_MESSAGE } from './media-limits.js';
|
|
5
|
+
import { i as isPdfAttachment } from './preview-kind.js';
|
|
4
6
|
|
|
5
7
|
function assertNonEmptyString (str) {
|
|
6
8
|
if (typeof str !== 'string' || !str) {
|
|
@@ -2938,10 +2940,18 @@ const AttachmentPreview = /*@__PURE__*/ proxyCustomElement(class AttachmentPrevi
|
|
|
2938
2940
|
const files = Array.from(input.files || []);
|
|
2939
2941
|
if (!files.length)
|
|
2940
2942
|
return;
|
|
2943
|
+
const room = Math.max(0, MAX_MEDIA_PER_MESSAGE - this.items().length);
|
|
2944
|
+
const accepted = files.slice(0, room);
|
|
2945
|
+
if (!accepted.length) {
|
|
2946
|
+
input.value = '';
|
|
2947
|
+
return;
|
|
2948
|
+
}
|
|
2941
2949
|
this.fileUploaded.emit({
|
|
2942
|
-
files,
|
|
2943
|
-
fileTypes:
|
|
2944
|
-
totalFiles:
|
|
2950
|
+
files: accepted,
|
|
2951
|
+
fileTypes: accepted.map(f => f.type.split('/')[0]),
|
|
2952
|
+
totalFiles: accepted.length,
|
|
2953
|
+
rejected: Math.max(0, files.length - accepted.length),
|
|
2954
|
+
maxPerMessage: MAX_MEDIA_PER_MESSAGE,
|
|
2945
2955
|
});
|
|
2946
2956
|
input.value = '';
|
|
2947
2957
|
};
|
|
@@ -3056,10 +3066,19 @@ const AttachmentPreview = /*@__PURE__*/ proxyCustomElement(class AttachmentPrevi
|
|
|
3056
3066
|
var _a;
|
|
3057
3067
|
return ((_a = item === null || item === void 0 ? void 0 : item.file) === null || _a === void 0 ? void 0 : _a.name) || (item === null || item === void 0 ? void 0 : item.name) || 'Document';
|
|
3058
3068
|
}
|
|
3069
|
+
isPdf(item) {
|
|
3070
|
+
return isPdfAttachment({
|
|
3071
|
+
mimeType: item === null || item === void 0 ? void 0 : item.mimeType,
|
|
3072
|
+
name: this.fileName(item),
|
|
3073
|
+
file: item === null || item === void 0 ? void 0 : item.file,
|
|
3074
|
+
});
|
|
3075
|
+
}
|
|
3059
3076
|
fileIconSrc(item) {
|
|
3060
3077
|
var _a;
|
|
3061
3078
|
const mime = (((_a = item === null || item === void 0 ? void 0 : item.file) === null || _a === void 0 ? void 0 : _a.type) || (item === null || item === void 0 ? void 0 : item.mimeType) || '').toLowerCase();
|
|
3062
3079
|
const name = this.fileName(item).toLowerCase();
|
|
3080
|
+
if (mime.includes('pdf') || name.endsWith('.pdf'))
|
|
3081
|
+
return Icon_Doc;
|
|
3063
3082
|
if (mime.includes('spreadsheet') || mime.includes('excel') || /\.xlsx?$/.test(name) || name.endsWith('.csv'))
|
|
3064
3083
|
return Icon_Excel;
|
|
3065
3084
|
if (mime.includes('rtf') || name.endsWith('.rtf'))
|
|
@@ -3074,9 +3093,20 @@ const AttachmentPreview = /*@__PURE__*/ proxyCustomElement(class AttachmentPrevi
|
|
|
3074
3093
|
const name = this.fileName(item);
|
|
3075
3094
|
if (mime.includes('pdf') || /\.pdf$/i.test(name))
|
|
3076
3095
|
return 'PDF';
|
|
3096
|
+
if (mime.includes('presentation') || /\.pptx?$/i.test(name))
|
|
3097
|
+
return 'PPT';
|
|
3098
|
+
if (mime.includes('word') || /\.docx?$/i.test(name))
|
|
3099
|
+
return 'DOC';
|
|
3100
|
+
if (mime.includes('sheet') || mime.includes('excel') || /\.xlsx?$/i.test(name))
|
|
3101
|
+
return 'XLS';
|
|
3077
3102
|
const ext = name.includes('.') ? name.split('.').pop() : '';
|
|
3078
3103
|
return (ext || 'File').toUpperCase();
|
|
3079
3104
|
}
|
|
3105
|
+
openInNewTab(src) {
|
|
3106
|
+
if (!src)
|
|
3107
|
+
return;
|
|
3108
|
+
window.open(src, '_blank', 'noopener,noreferrer');
|
|
3109
|
+
}
|
|
3080
3110
|
formatSize(bytes) {
|
|
3081
3111
|
if (bytes == null || Number.isNaN(bytes))
|
|
3082
3112
|
return '';
|
|
@@ -3096,31 +3126,32 @@ const AttachmentPreview = /*@__PURE__*/ proxyCustomElement(class AttachmentPrevi
|
|
|
3096
3126
|
this.onSend();
|
|
3097
3127
|
}
|
|
3098
3128
|
render() {
|
|
3099
|
-
var _a, _b, _c;
|
|
3129
|
+
var _a, _b, _c, _d, _e;
|
|
3100
3130
|
const list = this.items();
|
|
3101
3131
|
const cur = this.current();
|
|
3102
3132
|
const type = this.typeOf(cur, this.localIndex);
|
|
3103
3133
|
const fileMode = this.isFilePreview(type);
|
|
3104
3134
|
const fileTitle = this.fileName(cur);
|
|
3105
|
-
return (h("div", { key: '
|
|
3135
|
+
return (h("div", { key: '14aeef8e84f9f619b43fe5749e6d6d061d4ba13b', class: "preview-container" }, h("div", { key: '7a6eb4eb7db969281b6b6342224774771370a535', class: "topbar" }, fileMode && !this.showCamera ? (h(Fragment, null, h("button", { class: "icon-btn", type: "button", "aria-label": "Close", onClick: () => this.close() }, h("img", { class: "theme-icon", src: CancelIcon, alt: "" })), h("span", { class: "topbar-title centered" }, fileTitle), h("span", { class: "topbar-spacer" }))) : (h("button", { class: "icon-btn", type: "button", "aria-label": "Close", onClick: () => this.close() }, h("img", { class: "theme-icon", src: CancelIcon, alt: "" })))), h("div", { key: 'fba60287d74ec7a96ef6bef3bedd1076aec2336f', class: "main" }, this.showCamera ? (h("div", { class: "camera-view" }, this.cameraError ? h("p", { class: "camera-error" }, this.cameraError) : null, !this.cameraReady && !this.cameraError ? h("p", { class: "camera-loading" }, "Opening camera\u2026") : null, h("video", { class: this.cameraReady ? 'is-ready' : '', ref: this.bindVideo, autoplay: true, playsinline: true, muted: true, style: { transform: this.facingMode === 'user' ? 'scaleX(-1)' : 'none' } }), this.cameraReady ? (h("button", { class: "snap-btn", type: "button", title: "Take photo", onClick: this.snap })) : null)) : !cur ? (h("div", null, "No attachment")) : type === 'video' ? (h("video", { class: "preview-media", src: this.srcOf(cur), controls: true, preload: "metadata" })) : type === 'audio' ? (h("div", { class: "audio-stage" }, h("p", { class: "audio-title" }, fileTitle), h("audio", { src: this.srcOf(cur), controls: true, preload: "metadata" }), h("p", { class: "file-preview-meta" }, this.formatSize((_b = (_a = cur === null || cur === void 0 ? void 0 : cur.file) === null || _a === void 0 ? void 0 : _a.size) !== null && _b !== void 0 ? _b : cur === null || cur === void 0 ? void 0 : cur.size)))) : type === 'image' || (!type && !fileMode) ? (h("img", { src: this.srcOf(cur), alt: fileTitle })) : this.isPdf(cur) && this.srcOf(cur) ? (h("div", { class: "pdf-stage" }, h("iframe", { class: "pdf-frame", src: `${this.srcOf(cur)}#toolbar=1&navpanes=0`, title: fileTitle }))) : fileMode ? (h("div", { class: "file-preview" }, h("div", { class: "file-preview-icon-wrap" }, h("img", { src: this.fileIconSrc(cur), alt: "" })), h("h3", { class: "file-preview-title" }, fileTitle), h("p", { class: "file-preview-meta" }, [this.formatSize((_d = (_c = cur === null || cur === void 0 ? void 0 : cur.file) === null || _c === void 0 ? void 0 : _c.size) !== null && _d !== void 0 ? _d : cur === null || cur === void 0 ? void 0 : cur.size), this.fileKind(cur)].filter(Boolean).join(' · ')), h("div", { class: "file-preview-actions" }, this.srcOf(cur) ? (h("button", { type: "button", onClick: () => this.openInNewTab(this.srcOf(cur)) }, "Open")) : null, this.srcOf(cur) ? (h("a", { class: "secondary", href: this.srcOf(cur), download: fileTitle }, "Download")) : null))) : (h("div", { class: "file-chip" }, ((_e = cur === null || cur === void 0 ? void 0 : cur.file) === null || _e === void 0 ? void 0 : _e.name) || (cur === null || cur === void 0 ? void 0 : cur.name) || type || 'File'))), !this.showCamera ? (h("div", { class: "footer" }, h("div", { class: "composer" }, this.showEmojiPicker ? (h("div", { class: "emoji-panel" }, h("emoji-picker", { class: "emoji-picker light", ref: this.bindEmojiPicker }))) : null, h("div", { class: "composer-pill" }, h("input", { type: "text", placeholder: this.inputPlaceholder || 'Type a message', value: this.inputValue || '', onInput: this.onCaption, ref: el => (this.captionInputRef = el) }), h("button", { class: "icon-btn smile-btn", type: "button", title: "Emoji", "aria-label": "Emoji", onClick: this.toggleEmoji }, h("img", { src: Smile, alt: "" }))), h("button", { class: "send-btn", type: "button", title: "Send", onClick: () => this.send() }, h("img", { src: Send, alt: "" }), list.length > 1 ? h("span", { class: "send-badge" }, list.length) : null)), h("div", { class: "action-row" }, h("div", { class: "thumbs" }, list.map((item, i) => {
|
|
3106
3136
|
const t = this.typeOf(item, i);
|
|
3107
3137
|
const isFile = this.isFilePreview(t);
|
|
3138
|
+
const pdf = this.isPdf(item);
|
|
3108
3139
|
const select = () => {
|
|
3109
3140
|
this.localIndex = i;
|
|
3110
3141
|
this.selectedIndex = i;
|
|
3111
3142
|
};
|
|
3112
|
-
return (h("div", { class: "thumb-wrap" }, isFile ? (h("div", { class: `thumb file-thumb ${i === this.localIndex ? 'active' : ''}`, onClick: select }, h("img", { src: this.fileIconSrc(item), alt: "" }))) : t === 'video' ? (h("video", { class: `thumb ${i === this.localIndex ? 'active' : ''}`, src: this.srcOf(item), muted: true, playsInline: true, preload: "metadata", onClick: select })) : (h("img", { class: `thumb ${i === this.localIndex ? 'active' : ''}`, src: this.srcOf(item), alt: "", onClick: select })), h("button", { class: "thumb-x", type: "button", "aria-label": "Remove", onClick: e => {
|
|
3143
|
+
return (h("div", { class: "thumb-wrap", key: `thumb-${i}-${this.fileName(item)}` }, pdf ? (h("div", { class: `thumb file-thumb pdf-thumb ${i === this.localIndex ? 'active' : ''}`, onClick: select }, h("span", null, "PDF"))) : isFile ? (h("div", { class: `thumb file-thumb ${i === this.localIndex ? 'active' : ''}`, onClick: select }, h("img", { src: this.fileIconSrc(item), alt: "" }))) : t === 'video' ? (h("video", { class: `thumb ${i === this.localIndex ? 'active' : ''}`, src: this.srcOf(item), muted: true, playsInline: true, preload: "metadata", onClick: select })) : t === 'audio' ? (h("div", { class: `thumb file-thumb ${i === this.localIndex ? 'active' : ''}`, onClick: select }, "\u266A")) : (h("img", { class: `thumb ${i === this.localIndex ? 'active' : ''}`, src: this.srcOf(item), alt: "", onClick: select })), h("button", { class: "thumb-x", type: "button", "aria-label": "Remove", onClick: e => {
|
|
3113
3144
|
e.stopPropagation();
|
|
3114
3145
|
this.attachmentRemoved.emit(i);
|
|
3115
3146
|
} }, "\u00D7")));
|
|
3116
|
-
}), h("button", { class: "thumb add-thumb", type: "button", title:
|
|
3147
|
+
}), list.length < MAX_MEDIA_PER_MESSAGE ? (h("button", { class: "thumb add-thumb", type: "button", title: `Add (max ${MAX_MEDIA_PER_MESSAGE})`, "aria-label": "Add", onClick: this.openAddFiles }, "+")) : null, h("input", { class: "add-input", type: "file", multiple: true, accept: ".jpg,.jpeg,.png,.gif,.webp,.bmp,.heic,.mp4,.mov,.webm,.mkv,.mp3,.wav,.m4a,.aac,.ogg,.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.csv,.rtf", ref: el => (this.addInputRef = el), onChange: this.onAddFiles }))), h("p", { class: "limit-hint" }, list.length, "/", MAX_MEDIA_PER_MESSAGE, " files \u00B7 send together as one message"))) : null));
|
|
3117
3148
|
}
|
|
3118
3149
|
get el() { return this; }
|
|
3119
3150
|
static get watchers() { return {
|
|
3120
3151
|
"content": ["onContentChange"],
|
|
3121
3152
|
"showCamera": ["onShowCameraChange"]
|
|
3122
3153
|
}; }
|
|
3123
|
-
static get style() { return ":host {\n display: block;\n width: var(--w-full);\n height: var(--h-full);\n background: var(--bg-primary);\n color: var(--text-primary);\n font-family: var(--font-primary);\n }\n .preview-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n box-sizing: border-box;\n padding-bottom: var(--space-16, 1rem);\n }\n .topbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: var(--space-12) var(--space-16);\n flex-shrink: 0;\n }\n .topbar-left {\n display: flex;\n align-items: center;\n gap: var(--gap-10);\n min-width: 0;\n }\n .topbar-title {\n font-size: var(--text-16);\n font-weight: var(--fw-400);\n color: var(--text-primary);\n }\n .icon-btn {\n border: none;\n background: transparent;\n cursor: pointer;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--icon);\n }\n .icon-btn img {\n width: var(--icon-md);\n height: var(--icon-md);\n object-fit: contain;\n display: block;\n }\n .main {\n flex: 1;\n min-height: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--space-8) var(--space-16);\n overflow: hidden;\n }\n .main img,\n .main video.preview-media {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n border-radius: var(--rounded-4);\n box-shadow: 0 2px 12px var(--overlay);\n background: var(--text-primary);\n }\n .file-chip {\n padding: var(--space-16) var(--space-16);\n border-radius: var(--rounded-8);\n background: var(--bg-primary);\n max-width: 80%;\n color: var(--text-primary);\n }\n .file-preview {\n width: 100%;\n max-width: 36rem;\n background: color-mix(in srgb, var(--bg-secondary, #f1f5f9) 70%, transparent);\n border-radius: var(--rounded-16, 1rem);\n border: 1px solid color-mix(in srgb, var(--border, #e2e8f0) 50%, transparent);\n box-shadow: 0 1px 2px var(--overlay, rgba(0,0,0,0.05));\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 4rem var(--space-24, 1.5rem);\n box-sizing: border-box;\n text-align: center;\n }\n .file-preview-icon-wrap {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: var(--space-24, 1.5rem);\n }\n .file-preview-icon-wrap img,\n .file-preview-icon-wrap svg {\n width: 5.5rem;\n height: 5.5rem;\n max-width: none;\n max-height: none;\n object-fit: contain;\n display: block;\n background: transparent;\n box-shadow: none;\n border-radius: 0;\n }\n .file-preview-title {\n margin: 0 0 var(--gap-4, 0.25rem);\n font-size: var(--text-20, 1.25rem);\n font-weight: var(--fw-600, 600);\n color: var(--text-tertiary, #94a3b8);\n }\n .file-preview-meta {\n margin: 0;\n font-size: var(--text-12, 0.75rem);\n font-weight: 500;\n color: var(--text-tertiary, #94a3b8);\n }\n .thumb.file-thumb {\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--bg-primary);\n object-fit: contain;\n padding: var(--gap-6, 0.375rem);\n box-sizing: border-box;\n border-color: color-mix(in srgb, var(--brand) 40%, transparent);\n }\n .thumb.file-thumb.active {\n border-color: var(--brand);\n }\n .thumb.file-thumb img,\n .thumb.file-thumb svg {\n width: var(--icon-lg, 1.5rem);\n height: var(--icon-lg, 1.5rem);\n object-fit: contain;\n display: block;\n }\n .topbar-title.centered {\n flex: 1;\n text-align: center;\n font-weight: var(--fw-500, 500);\n font-size: var(--text-14, 0.875rem);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0 var(--space-16);\n }\n .topbar-spacer {\n width: var(--control, 2.25rem);\n flex-shrink: 0;\n }\n .thumbs {\n display: flex;\n gap: var(--gap-12);\n overflow-x: auto;\n flex: 1;\n justify-content: center;\n align-items: center;\n min-width: 0;\n padding: 0;\n }\n .thumb {\n width: 3rem;\n height: 3rem;\n border-radius: var(--rounded-8);\n object-fit: cover;\n cursor: pointer;\n border: 2px solid var(--border);\n flex-shrink: 0;\n background: var(--bg-primary);\n box-sizing: border-box;\n }\n .thumb.active {\n border-color: var(--brand);\n }\n .thumb.add-thumb {\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid var(--border);\n background: var(--bg-primary);\n color: var(--text-secondary);\n font-size: var(--text-20);\n line-height: 1;\n padding: 0;\n }\n .thumb.add-thumb:hover {\n border-color: var(--text-tertiary);\n background: var(--hover-overlay);\n }\n .thumb-wrap {\n position: relative;\n width: 3rem;\n height: 3rem;\n flex-shrink: 0;\n }\n .thumb-wrap > .thumb {\n width: 100%;\n height: 100%;\n }\n .thumb-x {\n display: none;\n position: absolute;\n top: 0.125rem;\n right: 0.125rem;\n width: 0.875rem;\n height: 0.875rem;\n border: none;\n border-radius: 999px;\n background: var(--text-primary);\n color: var(--bg-primary);\n font-size: 0.65rem;\n line-height: 1;\n padding: 0;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n z-index: 1;\n }\n .thumb-wrap:hover .thumb-x {\n display: flex;\n }\n .footer {\n display: flex;\n flex-direction: column;\n gap: var(--gap-8);\n padding: var(--space-16) var(--space-24) var(--space-24, 1.5rem);\n flex-shrink: 0;\n width: 100%;\n max-width: 48rem;\n margin: 0 auto;\n box-sizing: border-box;\n position: relative;\n }\n .composer {\n position: relative;\n display: flex;\n align-items: center;\n gap: var(--gap-12);\n width: 100%;\n padding: 0;\n margin: 0;\n max-width: none;\n }\n .emoji-panel {\n position: absolute;\n bottom: calc(100% + var(--gap-8));\n right: calc(3.5rem + var(--gap-12));\n width: min(360px, calc(100vw - 32px));\n background: var(--bg-primary);\n border-radius: var(--rounded-12);\n box-shadow: 0 8px 32px var(--overlay);\n overflow: hidden;\n z-index: 20;\n }\n emoji-picker.emoji-picker {\n --background: var(--bg-primary);\n --border-color: transparent;\n --border-size: 0;\n --indicator-color: var(--brand);\n --indicator-height: 3px;\n --input-border-radius: var(--rounded-8);\n --input-border-color: var(--brand);\n --num-columns: 8;\n --emoji-size: 1.5rem;\n width: 100%;\n height: 320px;\n }\n .composer-pill {\n flex: 1;\n width: auto;\n display: flex;\n align-items: center;\n gap: var(--gap-8);\n background: var(--bg-input);\n border-radius: var(--rounded-12);\n padding: var(--space-12) var(--space-16);\n min-width: 0;\n box-sizing: border-box;\n }\n .composer-pill input {\n flex: 1;\n border: none;\n outline: none;\n background: transparent;\n color: var(--text-primary);\n font-size: var(--text-14);\n font-family: inherit;\n min-width: 0;\n }\n .composer-pill input::placeholder {\n color: var(--text-tertiary);\n }\n .composer-pill .smile-btn img {\n width: var(--icon-sm);\n height: var(--icon-sm);\n }\n .action-row {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--gap-12);\n width: 100%;\n padding-bottom: var(--space-16, 1rem);\n box-sizing: border-box;\n }\n .send-btn {\n position: relative;\n width: 3.5rem;\n height: 3.5rem;\n border-radius: 50%;\n border: none;\n background: var(--brand);\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n padding: 0;\n box-shadow: 0 2px 8px var(--overlay);\n }\n .send-btn img {\n width: var(--icon-md);\n height: var(--icon-md);\n filter: brightness(0) invert(1);\n display: block;\n }\n .send-btn:hover {\n opacity: 0.92;\n }\n .send-btn:hover img {\n filter: brightness(0) invert(1);\n }\n .send-badge {\n position: absolute;\n top: -0.25rem;\n right: -0.25rem;\n min-width: 1.125rem;\n height: 1.125rem;\n padding: 0 0.25rem;\n border-radius: var(--rounded-full);\n background: var(--brand);\n color: var(--text-on-brand);\n font-size: var(--text-10);\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n border: 2px solid var(--bg-primary);\n line-height: 1;\n }\n .add-input {\n display: none;\n }\n .camera-view {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--space-16);\n width: 100%;\n height: 100%;\n min-height: 0;\n }\n .camera-view video {\n width: 100%;\n max-width: 720px;\n max-height: calc(100% - 88px);\n object-fit: cover;\n border-radius: var(--rounded-12);\n background: var(--bg-primary);\n transform: scaleX(-1);\n box-shadow: 0 2px 12px var(--overlay);\n }\n .camera-view video:not(.is-ready) {\n visibility: hidden;\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n pointer-events: none;\n }\n .camera-loading {\n color: var(--text-secondary);\n font-size: var(--text-14);\n }\n .snap-btn {\n width: 72px;\n height: 72px;\n border-radius: 50%;\n border: 3px solid var(--danger);\n background: var(--bg-primary);\n padding: 0;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n box-sizing: border-box;\n }\n .snap-btn::after {\n content: '';\n width: 56px;\n height: 56px;\n border-radius: 50%;\n background: var(--danger);\n display: block;\n }\n .camera-error {\n color: var(--danger);\n font-size: var(--text-14);\n text-align: center;\n padding: 0 var(--space-16);\n }\n .theme-icon { filter: var(--svg-icon-filter); }"; }
|
|
3154
|
+
static get style() { return ":host {\n display: block;\n width: var(--w-full);\n height: var(--h-full);\n background: var(--bg-primary);\n color: var(--text-primary);\n font-family: var(--font-primary);\n }\n .preview-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n box-sizing: border-box;\n padding-bottom: var(--space-16, 1rem);\n }\n .topbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: var(--space-12) var(--space-16);\n flex-shrink: 0;\n }\n .topbar-left {\n display: flex;\n align-items: center;\n gap: var(--gap-10);\n min-width: 0;\n }\n .topbar-title {\n font-size: var(--text-16);\n font-weight: var(--fw-400);\n color: var(--text-primary);\n }\n .icon-btn {\n border: none;\n background: transparent;\n cursor: pointer;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--icon);\n }\n .icon-btn img {\n width: var(--icon-md);\n height: var(--icon-md);\n object-fit: contain;\n display: block;\n }\n .main {\n flex: 1;\n min-height: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--space-8) var(--space-16);\n overflow: hidden;\n }\n .main img,\n .main video.preview-media {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n border-radius: var(--rounded-4);\n box-shadow: 0 2px 12px var(--overlay);\n background: var(--text-primary);\n }\n .pdf-stage {\n width: 100%;\n height: 100%;\n min-height: 0;\n display: flex;\n flex-direction: column;\n border-radius: var(--rounded-12, 0.75rem);\n overflow: hidden;\n background: var(--bg-secondary, #0f172a);\n box-shadow: 0 2px 16px var(--overlay, rgba(0,0,0,0.12));\n border: 1px solid color-mix(in srgb, var(--border, #e2e8f0) 40%, transparent);\n }\n .pdf-frame {\n flex: 1;\n width: 100%;\n min-height: 18rem;\n border: 0;\n background: #525659;\n }\n .pdf-fallback {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--gap-12, 0.75rem);\n padding: var(--space-24, 1.5rem);\n color: var(--text-secondary);\n text-align: center;\n }\n .pdf-fallback a,\n .file-preview-actions a,\n .file-preview-actions button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.35rem;\n padding: 0.55rem 1rem;\n border-radius: var(--rounded-8, 0.5rem);\n background: var(--brand);\n color: var(--text-on-brand, #fff);\n text-decoration: none;\n border: none;\n cursor: pointer;\n font-size: var(--text-13, 0.8125rem);\n font-weight: 600;\n font-family: inherit;\n }\n .file-preview-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--gap-8, 0.5rem);\n justify-content: center;\n margin-top: var(--space-16, 1rem);\n }\n .file-preview-actions a.secondary,\n .file-preview-actions button.secondary {\n background: transparent;\n color: var(--text-primary);\n border: 1px solid var(--border, #e2e8f0);\n }\n .audio-stage {\n width: min(100%, 28rem);\n padding: var(--space-24, 1.5rem);\n border-radius: var(--rounded-16, 1rem);\n background: color-mix(in srgb, var(--bg-secondary, #f1f5f9) 80%, transparent);\n border: 1px solid color-mix(in srgb, var(--border, #e2e8f0) 50%, transparent);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--gap-16, 1rem);\n box-sizing: border-box;\n }\n .audio-stage audio {\n width: 100%;\n }\n .audio-stage .audio-title {\n margin: 0;\n font-size: var(--text-16, 1rem);\n font-weight: 600;\n color: var(--text-primary);\n text-align: center;\n word-break: break-word;\n }\n .thumb.pdf-thumb {\n position: relative;\n background: #b91c1c;\n color: #fff;\n font-size: 0.55rem;\n font-weight: 800;\n letter-spacing: 0.02em;\n }\n .thumb.pdf-thumb span {\n pointer-events: none;\n }\n .thumb.add-thumb:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n }\n .limit-hint {\n width: 100%;\n text-align: center;\n font-size: var(--text-11, 0.6875rem);\n color: var(--text-tertiary, #94a3b8);\n margin: 0;\n }\n .file-chip {\n padding: var(--space-16) var(--space-16);\n border-radius: var(--rounded-8);\n background: var(--bg-primary);\n max-width: 80%;\n color: var(--text-primary);\n }\n .file-preview {\n width: 100%;\n max-width: 36rem;\n background: color-mix(in srgb, var(--bg-secondary, #f1f5f9) 70%, transparent);\n border-radius: var(--rounded-16, 1rem);\n border: 1px solid color-mix(in srgb, var(--border, #e2e8f0) 50%, transparent);\n box-shadow: 0 1px 2px var(--overlay, rgba(0,0,0,0.05));\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 4rem var(--space-24, 1.5rem);\n box-sizing: border-box;\n text-align: center;\n }\n .file-preview-icon-wrap {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: var(--space-24, 1.5rem);\n }\n .file-preview-icon-wrap img,\n .file-preview-icon-wrap svg {\n width: 5.5rem;\n height: 5.5rem;\n max-width: none;\n max-height: none;\n object-fit: contain;\n display: block;\n background: transparent;\n box-shadow: none;\n border-radius: 0;\n }\n .file-preview-title {\n margin: 0 0 var(--gap-4, 0.25rem);\n font-size: var(--text-20, 1.25rem);\n font-weight: var(--fw-600, 600);\n color: var(--text-tertiary, #94a3b8);\n }\n .file-preview-meta {\n margin: 0;\n font-size: var(--text-12, 0.75rem);\n font-weight: 500;\n color: var(--text-tertiary, #94a3b8);\n }\n .thumb.file-thumb {\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--bg-primary);\n object-fit: contain;\n padding: var(--gap-6, 0.375rem);\n box-sizing: border-box;\n border-color: color-mix(in srgb, var(--brand) 40%, transparent);\n }\n .thumb.file-thumb.active {\n border-color: var(--brand);\n }\n .thumb.file-thumb img,\n .thumb.file-thumb svg {\n width: var(--icon-lg, 1.5rem);\n height: var(--icon-lg, 1.5rem);\n object-fit: contain;\n display: block;\n }\n .topbar-title.centered {\n flex: 1;\n text-align: center;\n font-weight: var(--fw-500, 500);\n font-size: var(--text-14, 0.875rem);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0 var(--space-16);\n }\n .topbar-spacer {\n width: var(--control, 2.25rem);\n flex-shrink: 0;\n }\n .thumbs {\n display: flex;\n gap: var(--gap-12);\n overflow-x: auto;\n flex: 1;\n justify-content: center;\n align-items: center;\n min-width: 0;\n padding: 0;\n }\n .thumb {\n width: 3rem;\n height: 3rem;\n border-radius: var(--rounded-8);\n object-fit: cover;\n cursor: pointer;\n border: 2px solid var(--border);\n flex-shrink: 0;\n background: var(--bg-primary);\n box-sizing: border-box;\n }\n .thumb.active {\n border-color: var(--brand);\n }\n .thumb.add-thumb {\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid var(--border);\n background: var(--bg-primary);\n color: var(--text-secondary);\n font-size: var(--text-20);\n line-height: 1;\n padding: 0;\n }\n .thumb.add-thumb:hover {\n border-color: var(--text-tertiary);\n background: var(--hover-overlay);\n }\n .thumb-wrap {\n position: relative;\n width: 3rem;\n height: 3rem;\n flex-shrink: 0;\n }\n .thumb-wrap > .thumb {\n width: 100%;\n height: 100%;\n }\n .thumb-x {\n display: none;\n position: absolute;\n top: 0.125rem;\n right: 0.125rem;\n width: 0.875rem;\n height: 0.875rem;\n border: none;\n border-radius: 999px;\n background: var(--text-primary);\n color: var(--bg-primary);\n font-size: 0.65rem;\n line-height: 1;\n padding: 0;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n z-index: 1;\n }\n .thumb-wrap:hover .thumb-x {\n display: flex;\n }\n .footer {\n display: flex;\n flex-direction: column;\n gap: var(--gap-8);\n padding: var(--space-16) var(--space-24) var(--space-24, 1.5rem);\n flex-shrink: 0;\n width: 100%;\n max-width: 48rem;\n margin: 0 auto;\n box-sizing: border-box;\n position: relative;\n }\n .composer {\n position: relative;\n display: flex;\n align-items: center;\n gap: var(--gap-12);\n width: 100%;\n padding: 0;\n margin: 0;\n max-width: none;\n }\n .emoji-panel {\n position: absolute;\n bottom: calc(100% + var(--gap-8));\n right: calc(3.5rem + var(--gap-12));\n width: min(360px, calc(100vw - 32px));\n background: var(--bg-primary);\n border-radius: var(--rounded-12);\n box-shadow: 0 8px 32px var(--overlay);\n overflow: hidden;\n z-index: 20;\n }\n emoji-picker.emoji-picker {\n --background: var(--bg-primary);\n --border-color: transparent;\n --border-size: 0;\n --indicator-color: var(--brand);\n --indicator-height: 3px;\n --input-border-radius: var(--rounded-8);\n --input-border-color: var(--brand);\n --num-columns: 8;\n --emoji-size: 1.5rem;\n width: 100%;\n height: 320px;\n }\n .composer-pill {\n flex: 1;\n width: auto;\n display: flex;\n align-items: center;\n gap: var(--gap-8);\n background: var(--bg-input);\n border-radius: var(--rounded-12);\n padding: var(--space-12) var(--space-16);\n min-width: 0;\n box-sizing: border-box;\n }\n .composer-pill input {\n flex: 1;\n border: none;\n outline: none;\n background: transparent;\n color: var(--text-primary);\n font-size: var(--text-14);\n font-family: inherit;\n min-width: 0;\n }\n .composer-pill input::placeholder {\n color: var(--text-tertiary);\n }\n .composer-pill .smile-btn img {\n width: var(--icon-sm);\n height: var(--icon-sm);\n }\n .action-row {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--gap-12);\n width: 100%;\n padding-bottom: var(--space-16, 1rem);\n box-sizing: border-box;\n }\n .send-btn {\n position: relative;\n width: 3.5rem;\n height: 3.5rem;\n border-radius: 50%;\n border: none;\n background: var(--brand);\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n padding: 0;\n box-shadow: 0 2px 8px var(--overlay);\n }\n .send-btn img {\n width: var(--icon-md);\n height: var(--icon-md);\n filter: brightness(0) invert(1);\n display: block;\n }\n .send-btn:hover {\n opacity: 0.92;\n }\n .send-btn:hover img {\n filter: brightness(0) invert(1);\n }\n .send-badge {\n position: absolute;\n top: -0.25rem;\n right: -0.25rem;\n min-width: 1.125rem;\n height: 1.125rem;\n padding: 0 0.25rem;\n border-radius: var(--rounded-full);\n background: var(--brand);\n color: var(--text-on-brand);\n font-size: var(--text-10);\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n border: 2px solid var(--bg-primary);\n line-height: 1;\n }\n .add-input {\n display: none;\n }\n .camera-view {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--space-16);\n width: 100%;\n height: 100%;\n min-height: 0;\n }\n .camera-view video {\n width: 100%;\n max-width: 720px;\n max-height: calc(100% - 88px);\n object-fit: cover;\n border-radius: var(--rounded-12);\n background: var(--bg-primary);\n transform: scaleX(-1);\n box-shadow: 0 2px 12px var(--overlay);\n }\n .camera-view video:not(.is-ready) {\n visibility: hidden;\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n pointer-events: none;\n }\n .camera-loading {\n color: var(--text-secondary);\n font-size: var(--text-14);\n }\n .snap-btn {\n width: 72px;\n height: 72px;\n border-radius: 50%;\n border: 3px solid var(--danger);\n background: var(--bg-primary);\n padding: 0;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n box-sizing: border-box;\n }\n .snap-btn::after {\n content: '';\n width: 56px;\n height: 56px;\n border-radius: 50%;\n background: var(--danger);\n display: block;\n }\n .camera-error {\n color: var(--danger);\n font-size: var(--text-14);\n text-align: center;\n padding: 0 var(--space-16);\n }\n .theme-icon { filter: var(--svg-icon-filter); }"; }
|
|
3124
3155
|
}, [1, "attachment-preview", {
|
|
3125
3156
|
"content": [16],
|
|
3126
3157
|
"contentType": [16],
|