@cloudflare/realtimekit-ui 1.1.0-staging.1 → 1.1.0-staging.11
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/browser.js +1 -1
- package/dist/cjs/{TextMessage-7bb3e1fd.js → TextMessage-75b55b60.js} +1 -1
- package/dist/cjs/{chat-717e517d.js → chat-90670f84.js} +1 -16
- package/dist/cjs/{config-8c9ac89a.js → config-60d594e2.js} +2 -2
- package/dist/cjs/{debounce-a3e0d9e7.js → debounce-677e65cb.js} +1 -1
- package/dist/cjs/index-05554ce6.js +6 -22
- package/dist/cjs/{index-8d07e125.js → index-5442bdba.js} +1 -1
- package/dist/cjs/index.cjs.js +6 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{merge-73e2770b.js → merge-7ce7986a.js} +1 -1
- package/dist/cjs/{notification-567fe887.js → notification-b9d42aa0.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
- package/dist/cjs/{rtk-avatar_24.cjs.entry.js → rtk-avatar_23.cjs.entry.js} +432 -599
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +11 -11
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +10 -24
- package/dist/cjs/rtk-chat-message.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +5 -5
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +30 -25
- package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-controlbar.cjs.entry.js +3 -3
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +12 -12
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-header.cjs.entry.js +3 -3
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -6
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-notification.cjs.entry.js +6 -6
- package/dist/cjs/rtk-notifications.cjs.entry.js +8 -5
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participant_2.cjs.entry.js +17 -17
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +6 -6
- package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +13 -3
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
- package/dist/cjs/{sidebar-2ad915b1.js → sidebar-e172c4ae.js} +1 -1
- package/dist/cjs/{ui-store-1cb28da8.js → ui-store-594688bf.js} +12 -9
- package/dist/collection/collection-manifest.json +0 -5
- package/dist/collection/components/rtk-ai/rtk-ai.js +2 -2
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +2 -2
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +2 -2
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +3 -3
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +2 -2
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +2 -2
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +3 -3
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +2 -2
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +4 -4
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +3 -3
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +3 -3
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +4 -4
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +2 -2
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +2 -2
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +2 -2
- package/dist/collection/components/rtk-chat/rtk-chat.css +47 -45
- package/dist/collection/components/rtk-chat/rtk-chat.js +98 -158
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +12 -48
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +30 -17
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +4 -4
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +5 -5
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +44 -87
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +3 -3
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +29 -28
- package/dist/collection/components/rtk-clock/rtk-clock.js +4 -4
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +3 -3
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +3 -3
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -2
- package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +2 -2
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +2 -2
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +2 -2
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +2 -2
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +3 -3
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +2 -2
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +2 -2
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +2 -2
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +2 -2
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +4 -4
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
- package/dist/collection/components/rtk-grid/rtk-grid.js +2 -2
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +2 -2
- package/dist/collection/components/rtk-header/rtk-header.js +3 -3
- package/dist/collection/components/rtk-icon/rtk-icon.js +1 -1
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +3 -3
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +6 -6
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +3 -3
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +3 -3
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +4 -4
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +2 -2
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +2 -2
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +2 -2
- package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +39 -2
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +2 -2
- package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +6 -1
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +25 -3
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +15 -4
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +25 -3
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +30 -22
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +73 -3
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +2 -2
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +2 -2
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +2 -2
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -2
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +3 -3
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +3 -3
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +2 -2
- package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +6 -3
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +3 -3
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +5 -5
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +329 -266
- package/dist/collection/components/rtk-participant/rtk-participant.js +14 -14
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +2 -2
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +4 -4
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
- package/dist/collection/components/rtk-participants/rtk-participants.js +2 -2
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +3 -3
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +3 -3
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +2 -2
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +2 -2
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +2 -2
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +3 -3
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +2 -2
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +2 -2
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +3 -3
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +2 -2
- package/dist/collection/components/rtk-poll/rtk-poll.js +3 -3
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
- package/dist/collection/components/rtk-polls/rtk-polls.js +5 -5
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +2 -2
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +3 -3
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +2 -2
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +2 -2
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +7 -7
- package/dist/collection/components/rtk-settings/rtk-settings.js +2 -2
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +2 -2
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +2 -2
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +2 -2
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +5 -5
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +2 -2
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +4 -4
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +2 -2
- package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -2
- package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +3 -3
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +4 -4
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +39 -3
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +2 -2
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +3 -3
- package/dist/collection/exports.js +2 -1
- package/dist/collection/lib/icons/default-icon-pack.js +0 -2
- package/dist/collection/lib/lang/default-language.js +1 -4
- package/dist/collection/lib/overrides.js +6 -0
- package/dist/collection/utils/chat.js +0 -4
- package/dist/collection/utils/flags.js +0 -2
- package/dist/collection/utils/sync-with-store/ui-store.js +4 -1
- package/dist/components/index.js +7 -7
- package/dist/components/{p-8d25843a.js → p-0899c09f.js} +3 -3
- package/dist/components/{p-0a35a909.js → p-19d83dd6.js} +4 -4
- package/dist/components/{p-6f340109.js → p-1c5cc842.js} +1 -1
- package/dist/components/{p-5c92df32.js → p-1c678eab.js} +6 -6
- package/dist/components/{p-dbfc9151.js → p-1e9999d7.js} +4 -4
- package/dist/components/{p-65cd2fe3.js → p-1ea0d406.js} +5 -5
- package/dist/components/{p-6c2cfa0d.js → p-206acdcd.js} +5 -5
- package/dist/components/{p-fd68a52b.js → p-21becaf3.js} +9 -9
- package/dist/components/{p-4d582a90.js → p-23d37f65.js} +6 -6
- package/dist/components/{p-3da4880c.js → p-24481cb4.js} +5 -5
- package/dist/components/{p-d3de8b85.js → p-2ec120cd.js} +4 -4
- package/dist/components/{p-20290b0b.js → p-3245ace2.js} +5 -5
- package/dist/components/p-33db910f.js +409 -0
- package/dist/components/{p-188bfe87.js → p-34654ffc.js} +9 -9
- package/dist/components/{p-d107e9f4.js → p-410cef02.js} +4 -4
- package/dist/components/{p-afe77b50.js → p-4c82be72.js} +3 -3
- package/dist/components/{p-b011763d.js → p-5194f4d6.js} +4 -4
- package/dist/components/{p-f7430e46.js → p-51ef5a21.js} +6 -6
- package/dist/components/{p-0b4e526c.js → p-52e95364.js} +4 -4
- package/dist/components/{p-10ef077c.js → p-541e6de7.js} +3 -3
- package/dist/components/{p-aae4c250.js → p-56134994.js} +1 -1
- package/dist/components/{p-395d7140.js → p-565c8389.js} +5 -5
- package/dist/components/{p-33a87325.js → p-5791a91d.js} +3 -3
- package/dist/components/{p-fa8f6b4a.js → p-63c79efa.js} +1 -1
- package/dist/components/{p-121e073d.js → p-63e06c50.js} +2 -2
- package/dist/components/{p-b34865c7.js → p-63e51be4.js} +5 -5
- package/dist/components/{p-2f82e0b0.js → p-645b761e.js} +8 -8
- package/dist/components/{p-914563e7.js → p-6614c9e7.js} +6 -6
- package/dist/components/{p-9e87b2c9.js → p-66ba4031.js} +2 -2
- package/dist/components/{p-488d88a8.js → p-66d10db2.js} +5 -5
- package/dist/components/{p-5f26bba3.js → p-6e10fc42.js} +2 -2
- package/dist/components/{p-0d7bf41b.js → p-71f12515.js} +4 -4
- package/dist/components/{p-3b29dda1.js → p-73baf5ba.js} +1 -1
- package/dist/components/{p-a6f2b402.js → p-770c0fd7.js} +38 -60
- package/dist/components/{p-e675729a.js → p-777aa628.js} +5 -5
- package/dist/components/{p-78b61cce.js → p-7a424d82.js} +1 -1
- package/dist/components/{p-2e282643.js → p-7c84212d.js} +6 -6
- package/dist/components/{p-a6296b02.js → p-7e6ca4af.js} +7 -4
- package/dist/components/{p-b882f4a1.js → p-7f790526.js} +5 -5
- package/dist/components/{p-88bef213.js → p-8222af8c.js} +2 -2
- package/dist/components/{p-0d582365.js → p-8e285a44.js} +2 -2
- package/dist/components/{p-c078ae06.js → p-901c2375.js} +3 -3
- package/dist/components/{p-cf503999.js → p-91bc86f4.js} +5 -5
- package/dist/components/{p-e81fc1e8.js → p-93947678.js} +3 -3
- package/dist/components/{p-7481511c.js → p-93db20a6.js} +3 -3
- package/dist/components/{p-f8f5cb31.js → p-951a67af.js} +4 -4
- package/dist/components/{p-f47894a6.js → p-97d1dcb7.js} +22 -28
- package/dist/components/{p-47c25f64.js → p-9c3c75a9.js} +1 -1
- package/dist/components/{p-a94b2e67.js → p-a6aea524.js} +2 -2
- package/dist/components/{p-51de7af3.js → p-a72d3d19.js} +1 -1
- package/dist/components/{p-ee98bbaf.js → p-a89ee2d2.js} +13 -13
- package/dist/components/{p-a4a5ff5a.js → p-a99b0889.js} +6 -6
- package/dist/components/{p-2f08d7eb.js → p-ac80e7fc.js} +99 -183
- package/dist/components/{p-dab9d3d6.js → p-addb4be5.js} +1 -12
- package/dist/components/{p-d06d1eac.js → p-aeba1c02.js} +3 -3
- package/dist/components/{p-55501201.js → p-b2904963.js} +5 -5
- package/dist/components/{p-bb8f2597.js → p-b37f2227.js} +7 -7
- package/dist/components/{p-c515acba.js → p-b4a37662.js} +3 -3
- package/dist/components/{p-244cbe7b.js → p-b65d1760.js} +2 -2
- package/dist/components/{p-563c785d.js → p-b69a05ad.js} +3 -3
- package/dist/components/{p-82f8c924.js → p-b92c53c7.js} +3 -3
- package/dist/components/{p-a29c01fc.js → p-bbffc0e1.js} +3 -3
- package/dist/components/{p-e6710b76.js → p-c0942317.js} +4 -4
- package/dist/components/{p-84e5b453.js → p-c402a1db.js} +2 -2
- package/dist/components/{p-190db142.js → p-c643c410.js} +8 -8
- package/dist/components/{p-a10b9faa.js → p-c66a52b7.js} +3 -3
- package/dist/components/{p-102b6df8.js → p-caaca684.js} +2 -2
- package/dist/components/{p-c3621e10.js → p-cd8f62c9.js} +7 -7
- package/dist/components/{p-f4e75ea9.js → p-cec4d080.js} +5 -5
- package/dist/components/{p-fe911889.js → p-d3414935.js} +20 -11
- package/dist/components/{p-7fc0dc2f.js → p-dc9dde66.js} +12 -10
- package/dist/components/{p-e8df7ac5.js → p-e09955f3.js} +19 -19
- package/dist/components/{p-6f272732.js → p-e583a838.js} +9 -9
- package/dist/components/{p-618864a0.js → p-e60aa036.js} +3 -3
- package/dist/components/{p-2d08ab28.js → p-efbfe5a0.js} +4 -4
- package/dist/components/{p-abe1dbe6.js → p-f247cacc.js} +4 -4
- package/dist/components/{p-63ef7ea4.js → p-f5101af9.js} +7 -7
- package/dist/components/{p-f7eb9c47.js → p-f5a3ee43.js} +6 -6
- package/dist/components/{p-e4a080a5.js → p-f7a8a2d8.js} +4 -4
- package/dist/components/{p-9889bee5.js → p-f8a13473.js} +5 -5
- package/dist/components/{p-6756b222.js → p-f95c314b.js} +3 -3
- package/dist/components/{p-080acf18.js → p-fe648db5.js} +7 -4
- package/dist/components/rtk-ai-toggle.js +5 -5
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +4 -4
- package/dist/components/rtk-audio-grid.js +3 -3
- package/dist/components/rtk-audio-tile.js +6 -6
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +5 -5
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +6 -6
- package/dist/components/rtk-caption-toggle.js +5 -5
- package/dist/components/rtk-chat-composer-ui.js +15 -32
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +17 -17
- package/dist/components/rtk-chat-search-results.js +14 -14
- package/dist/components/rtk-chat-selector-ui.js +4 -4
- package/dist/components/rtk-chat-toggle.js +34 -30
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +6 -6
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +3 -3
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +6 -6
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +23 -23
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +4 -4
- package/dist/components/rtk-file-dropzone.js +4 -4
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +4 -4
- package/dist/components/rtk-grid.js +9 -9
- package/dist/components/rtk-header.js +3 -3
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +6 -6
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +4 -4
- package/dist/components/rtk-information-tooltip.js +4 -4
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +6 -6
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +5 -5
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +3 -3
- package/dist/components/rtk-meeting.js +42 -36
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +7 -7
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +6 -6
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +7 -7
- package/dist/components/rtk-more-toggle.js +7 -7
- package/dist/components/rtk-mute-all-button.js +6 -6
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +3 -3
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +10 -7
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +3 -3
- package/dist/components/rtk-participant-setup.js +4 -4
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +5 -5
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +6 -6
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +15 -15
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +5 -5
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +6 -6
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +6 -6
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +4 -4
- package/dist/components/rtk-recording-toggle.js +5 -5
- package/dist/components/rtk-screen-share-toggle.js +6 -6
- package/dist/components/rtk-screenshare-view.js +9 -9
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +6 -6
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +11 -11
- package/dist/components/rtk-setup-screen.js +7 -7
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +10 -10
- package/dist/components/rtk-simple-grid.js +2 -2
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +4 -4
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +6 -6
- package/dist/components/rtk-stage.js +3 -3
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +3 -3
- package/dist/components/rtk-ui-provider.js +17 -5
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +4 -4
- package/dist/docs/docs-components.json +1429 -12236
- package/dist/docs/docs-vscode.json +42 -94
- package/dist/esm/{TextMessage-ca92045e.js → TextMessage-0aed30b2.js} +1 -1
- package/dist/esm/{chat-ff185374.js → chat-a170fc58.js} +2 -13
- package/dist/esm/{config-e684aa4d.js → config-cea9cd37.js} +2 -2
- package/dist/esm/{debounce-3ea4df36.js → debounce-b7ba967e.js} +1 -1
- package/dist/esm/index-c1fb98bb.js +6 -22
- package/dist/esm/{index-e65afca5.js → index-d08145ca.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/loader.js +1369 -1971
- package/dist/esm/{merge-7ffc04b3.js → merge-88832ad1.js} +1 -1
- package/dist/esm/{notification-78afaabf.js → notification-6fa40b68.js} +1 -1
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +3 -3
- package/dist/esm/rtk-ai.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +3 -3
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
- package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_23.entry.js} +433 -599
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +6 -6
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +11 -11
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/esm/rtk-chat-composer-ui.entry.js +10 -24
- package/dist/esm/rtk-chat-message.entry.js +4 -4
- package/dist/esm/rtk-chat-messages-ui.entry.js +5 -5
- package/dist/esm/rtk-chat-search-results.entry.js +3 -3
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +30 -25
- package/dist/esm/rtk-clock.entry.js +5 -5
- package/dist/esm/rtk-controlbar-button.entry.js +3 -3
- package/dist/esm/rtk-controlbar.entry.js +3 -3
- package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
- package/dist/esm/rtk-dialog-manager.entry.js +2 -2
- package/dist/esm/rtk-dialog.entry.js +2 -2
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +3 -3
- package/dist/esm/rtk-file-message_3.entry.js +12 -12
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +2 -2
- package/dist/esm/rtk-grid.entry.js +2 -2
- package/dist/esm/rtk-header.entry.js +3 -3
- package/dist/esm/rtk-idle-screen.entry.js +3 -3
- package/dist/esm/rtk-image-viewer.entry.js +3 -3
- package/dist/esm/rtk-information-tooltip.entry.js +3 -3
- package/dist/esm/rtk-leave-button.entry.js +3 -3
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-logo.entry.js +2 -2
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +6 -6
- package/dist/esm/rtk-mic-toggle.entry.js +2 -2
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +4 -4
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +3 -3
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +6 -6
- package/dist/esm/rtk-notifications.entry.js +8 -5
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +4 -4
- package/dist/esm/rtk-participant_2.entry.js +17 -17
- package/dist/esm/rtk-participants-audio.entry.js +3 -3
- package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
- package/dist/esm/rtk-participants-toggle.entry.js +3 -3
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
- package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugins_2.entry.js +6 -6
- package/dist/esm/rtk-poll_2.entry.js +5 -5
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +3 -3
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +7 -7
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +3 -3
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +2 -2
- package/dist/esm/rtk-sidebar-ui.entry.js +4 -4
- package/dist/esm/rtk-sidebar.entry.js +3 -3
- package/dist/esm/rtk-simple-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +3 -3
- package/dist/esm/rtk-transcript.entry.js +3 -3
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +13 -3
- package/dist/esm/rtk-waiting-screen.entry.js +3 -3
- package/dist/esm/{sidebar-030fff49.js → sidebar-dd9a38aa.js} +1 -1
- package/dist/esm/{ui-store-9e486e1b.js → ui-store-5a66fa71.js} +12 -10
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-a9dd63ef.entry.js → p-00fbc77d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-085b70ca.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f5aa8af7.entry.js → p-0a6840aa.entry.js} +1 -1
- package/dist/realtimekit-ui/p-0a9761b4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9c1f42dd.entry.js → p-0d173282.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8f512d69.entry.js → p-0d6b6c0d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-91fd286c.js → p-0e513482.js} +1 -1
- package/dist/realtimekit-ui/{p-74e1b5a6.entry.js → p-136d3fe2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-61d3f74f.entry.js → p-186d21ad.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7786e9a7.entry.js → p-194ca93a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e925ca8a.entry.js → p-1b6b75a7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-1d9ba38f.entry.js +1 -0
- package/dist/realtimekit-ui/p-1dbbb8cb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c1b81873.entry.js → p-1e8a9290.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-80c856cd.js → p-1ff96b0f.js} +1 -1
- package/dist/realtimekit-ui/{p-31f58b98.entry.js → p-245c5d74.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ba51770e.entry.js → p-25a5687a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-29c66766.entry.js +1 -0
- package/dist/realtimekit-ui/{p-77e04fb7.entry.js → p-2afa0984.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-62e0a141.entry.js → p-2be75f31.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-36c8dfa0.entry.js → p-2e996dd5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3a325310.entry.js → p-3229431b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-328d53bd.js +1 -0
- package/dist/realtimekit-ui/p-334f3f6d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-2a0ec1c6.entry.js → p-38fb340d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6a45f305.js → p-3a14da51.js} +1 -1
- package/dist/realtimekit-ui/p-3a309e80.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d0384d90.entry.js → p-3c003b71.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d7f16f24.entry.js → p-3cc15c7a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8b189438.entry.js → p-3eb5a72d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-423ff132.entry.js +1 -0
- package/dist/realtimekit-ui/p-55074d37.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9ad2c746.entry.js → p-574fa8db.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9cbf286a.entry.js → p-59ac307d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5a2d8313.entry.js → p-5cd2b5e0.entry.js} +1 -1
- package/dist/realtimekit-ui/p-605e418e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-882d07c9.entry.js → p-63c32e2d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-95f05e26.entry.js → p-6407dc7e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6560e903.entry.js +1 -0
- package/dist/realtimekit-ui/{p-de75d48d.entry.js → p-6acda400.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6f8f175b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-61a16ccf.entry.js → p-731bcf94.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2b373e53.entry.js → p-740444e7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6adb2de4.entry.js → p-75087c10.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-93b84c22.js → p-79731cb6.js} +1 -1
- package/dist/realtimekit-ui/{p-e7b83772.entry.js → p-7aa48099.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-11c964cf.entry.js → p-7c9ac5df.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3369f405.entry.js → p-8000d8de.entry.js} +1 -1
- package/dist/realtimekit-ui/p-81beeff4.entry.js +1 -0
- package/dist/realtimekit-ui/p-872a05b0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4eee77b0.entry.js → p-8bd79e77.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b387e9a1.entry.js → p-904119a0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-12e4cb4a.js → p-91d15089.js} +1 -1
- package/dist/realtimekit-ui/p-91efc377.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d9cad67f.entry.js → p-9b206390.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0b8c47d9.entry.js → p-9b35d38b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a1203856.entry.js → p-9b5c6928.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ae7319ac.entry.js → p-9c7449a0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-38aec474.entry.js → p-a37a936c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a417984b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-643194e4.entry.js → p-a6bccc60.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4eba1baa.entry.js → p-a71320ec.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ab5b09f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-ae9de69a.js +1 -0
- package/dist/realtimekit-ui/{p-3eefefa3.entry.js → p-aef75bbb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7f76de48.entry.js → p-b89736c6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a4e223e8.entry.js → p-bf87c56f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c5c965b8.entry.js → p-c09f774c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c638f666.entry.js → p-c0b75ca2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f0f6c282.entry.js → p-c33b0b90.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a9126c12.entry.js → p-c4fada74.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-98ee3341.entry.js → p-c77d9110.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7613857e.entry.js → p-cb72ae59.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7b999408.entry.js → p-d543f03a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-949b2b6a.entry.js → p-d6071b1d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1666857d.entry.js → p-d644eed7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-788f26c4.entry.js → p-d679ea25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-91ea043c.js → p-d7b92a52.js} +1 -1
- package/dist/realtimekit-ui/p-d7c040f0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-09869644.entry.js → p-d9117aa2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c7711712.entry.js → p-dfd41e7d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2fc5ef84.entry.js → p-e16f5890.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e1f2d163.entry.js +1 -0
- package/dist/realtimekit-ui/p-e829a20f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-3d0c4257.entry.js → p-f0054be9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-61a53713.entry.js → p-f19fe2c3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f39b89a3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a319e81f.entry.js → p-f4025c97.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-54a31e02.entry.js → p-f6cd4525.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f89bb70f.js +1 -0
- package/dist/realtimekit-ui/{p-385fddbd.entry.js → p-fa39a651.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +7 -15
- package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +0 -4
- package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
- package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +4 -12
- package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +4 -6
- package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +4 -0
- package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +2 -0
- package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +2 -0
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +7 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +55 -54
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +0 -2
- package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +4 -1
- package/dist/types/components.d.ts +90 -467
- package/dist/types/exports.d.ts +2 -1
- package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
- package/dist/types/lib/lang/default-language.d.ts +1 -4
- package/dist/types/lib/overrides.d.ts +16 -0
- package/dist/types/types/props.d.ts +0 -4
- package/dist/types/utils/chat.d.ts +1 -3
- package/dist/types/utils/flags.d.ts +0 -2
- package/dist/types/utils/sync-with-store/ui-store.d.ts +4 -1
- package/package.json +1 -1
- package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
- package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
- package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +0 -93
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +0 -256
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
- package/dist/components/p-a9540d93.js +0 -357
- package/dist/components/p-adf73364.js +0 -85
- package/dist/components/p-d4e2ac64.js +0 -203
- package/dist/components/rtk-channel-creator.d.ts +0 -11
- package/dist/components/rtk-channel-creator.js +0 -214
- package/dist/components/rtk-channel-details.d.ts +0 -11
- package/dist/components/rtk-channel-details.js +0 -6
- package/dist/components/rtk-channel-header.d.ts +0 -11
- package/dist/components/rtk-channel-header.js +0 -151
- package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
- package/dist/components/rtk-channel-selector-ui.js +0 -194
- package/dist/components/rtk-channel-selector-view.d.ts +0 -11
- package/dist/components/rtk-channel-selector-view.js +0 -6
- package/dist/esm/rtk-channel-creator.entry.js +0 -159
- package/dist/esm/rtk-channel-details.entry.js +0 -45
- package/dist/esm/rtk-channel-header.entry.js +0 -79
- package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
- package/dist/realtimekit-ui/p-0689d68b.entry.js +0 -1
- package/dist/realtimekit-ui/p-084b6f30.js +0 -1
- package/dist/realtimekit-ui/p-1bf58a84.entry.js +0 -1
- package/dist/realtimekit-ui/p-2f641bfa.entry.js +0 -1
- package/dist/realtimekit-ui/p-33228f0a.entry.js +0 -1
- package/dist/realtimekit-ui/p-38f4773b.entry.js +0 -1
- package/dist/realtimekit-ui/p-3e02ec0b.entry.js +0 -1
- package/dist/realtimekit-ui/p-481549ac.entry.js +0 -1
- package/dist/realtimekit-ui/p-50157a65.entry.js +0 -1
- package/dist/realtimekit-ui/p-50e861f9.entry.js +0 -1
- package/dist/realtimekit-ui/p-5383fe87.entry.js +0 -1
- package/dist/realtimekit-ui/p-53ac3d30.entry.js +0 -1
- package/dist/realtimekit-ui/p-57277553.entry.js +0 -1
- package/dist/realtimekit-ui/p-5dc40f1a.entry.js +0 -1
- package/dist/realtimekit-ui/p-60a29b69.entry.js +0 -1
- package/dist/realtimekit-ui/p-639ab9ad.entry.js +0 -1
- package/dist/realtimekit-ui/p-7a8ca3f2.entry.js +0 -1
- package/dist/realtimekit-ui/p-8b341608.entry.js +0 -1
- package/dist/realtimekit-ui/p-930f0255.entry.js +0 -1
- package/dist/realtimekit-ui/p-941f159e.entry.js +0 -1
- package/dist/realtimekit-ui/p-951a7b06.entry.js +0 -1
- package/dist/realtimekit-ui/p-aa70de39.entry.js +0 -1
- package/dist/realtimekit-ui/p-b564d931.entry.js +0 -1
- package/dist/realtimekit-ui/p-e62593a2.entry.js +0 -1
- package/dist/realtimekit-ui/p-e720b51e.js +0 -1
- package/dist/realtimekit-ui/p-e87928f7.js +0 -1
- package/dist/realtimekit-ui/p-f40a55e3.entry.js +0 -1
- package/dist/realtimekit-ui/p-f645b8bb.entry.js +0 -1
- package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
- package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
- package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
- package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
- package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { c as createDefaultConfig, e as defaultIconPack,
|
|
3
|
-
import { h as handleFilesDataTransfer, g as generateChatGroupKey,
|
|
2
|
+
import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage, f as defaultOverrides, L as FlagsmithFeatureFlags } from './p-dc9dde66.js';
|
|
3
|
+
import { h as handleFilesDataTransfer, g as generateChatGroupKey, p as parseMessageForTarget } from './p-addb4be5.js';
|
|
4
4
|
import { c as chatUnreadTimestamps } from './p-a83ccdbd.js';
|
|
5
|
-
import { S as SyncWithStore } from './p-
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$1 } from './p-fa8f6b4a.js';
|
|
5
|
+
import { S as SyncWithStore } from './p-9c3c75a9.js';
|
|
6
|
+
import { d as defineCustomElement$l } from './p-cec4d080.js';
|
|
7
|
+
import { d as defineCustomElement$k } from './p-1391bef0.js';
|
|
8
|
+
import { d as defineCustomElement$j } from './p-97d1dcb7.js';
|
|
9
|
+
import { d as defineCustomElement$i } from './p-770c0fd7.js';
|
|
10
|
+
import { d as defineCustomElement$h } from './p-1ea0d406.js';
|
|
11
|
+
import { d as defineCustomElement$g } from './p-3245ace2.js';
|
|
12
|
+
import { d as defineCustomElement$f } from './p-24481cb4.js';
|
|
13
|
+
import { d as defineCustomElement$e } from './p-52e95364.js';
|
|
14
|
+
import { d as defineCustomElement$d } from './p-777aa628.js';
|
|
15
|
+
import { d as defineCustomElement$c } from './p-73baf5ba.js';
|
|
16
|
+
import { d as defineCustomElement$b } from './p-f5101af9.js';
|
|
17
|
+
import { d as defineCustomElement$a } from './p-8222af8c.js';
|
|
18
|
+
import { d as defineCustomElement$9 } from './p-951a67af.js';
|
|
19
|
+
import { d as defineCustomElement$8 } from './p-7e6ca4af.js';
|
|
20
|
+
import { d as defineCustomElement$7 } from './p-fe648db5.js';
|
|
21
|
+
import { d as defineCustomElement$6 } from './p-d3414935.js';
|
|
22
|
+
import { d as defineCustomElement$5 } from './p-33db910f.js';
|
|
23
|
+
import { d as defineCustomElement$4 } from './p-19d83dd6.js';
|
|
24
|
+
import { d as defineCustomElement$3 } from './p-2ec120cd.js';
|
|
25
|
+
import { d as defineCustomElement$2 } from './p-a6aea524.js';
|
|
26
|
+
import { d as defineCustomElement$1 } from './p-63c79efa.js';
|
|
28
27
|
|
|
29
|
-
const rtkChatCss = ":host
|
|
28
|
+
const rtkChatCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px;position:relative;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}h3{margin:var(--rtk-space-0, 0px);display:flex;height:var(--rtk-space-12, 48px);align-items:center;justify-content:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}rtk-chat-messages-ui,rtk-chat-messages-ui-paginated{flex:1 0 0}rtk-chat-composer-view{margin:var(--rtk-space-2, 8px)}.chat-container{display:flex;height:100%;width:100%;flex-direction:row;container-type:size;container-name:chatcontainer}.chat{display:flex;flex:1 1 0%;flex-direction:column}.banner{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.view-chats-btn{margin-top:var(--rtk-space-4, 16px)}.selector-container{z-index:50;width:100%;max-width:var(--rtk-space-80, 320px);border-right:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.selector-container.hide{display:none}.mobile-close-btn{display:none}.selector-container.mobile{height:100%;width:100%;max-width:100%;position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0.6);display:flex}.selector-container.mobile .mobile-close-btn{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);margin-left:var(--rtk-space-6, 24px);margin-right:var(--rtk-space-6, 24px);display:block}.pinned-messages{position:relative;display:flex;flex-direction:column}.pinned-messages-header{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-4, 16px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));font-size:14px;cursor:pointer}.pinned-messages-header div{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px)}.pinned-messages-header rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}.pinned-messages-content{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));position:absolute;left:var(--rtk-space-0, 0px);top:100%;z-index:50;max-height:30vh;width:100%;overflow:auto}.pinned-message{display:flex;cursor:pointer;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px);--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));padding:var(--rtk-space-4, 16px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-right-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-top-width:var(--rtk-border-width-none, 0);border-style:solid}.pinned-message-avatar{height:var(--rtk-space-6, 24px) !important;width:var(--rtk-space-6, 24px) !important}@keyframes swipe-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}";
|
|
30
29
|
const RtkChatStyle0 = rtkChatCss;
|
|
31
30
|
|
|
32
31
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -46,8 +45,6 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
46
45
|
this.__attachShadow();
|
|
47
46
|
this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
|
|
48
47
|
this.chatUpdateListener = ({ message }) => {
|
|
49
|
-
if (message.channelId)
|
|
50
|
-
return;
|
|
51
48
|
if (!this.displayFilter || this.displayFilter(message)) {
|
|
52
49
|
this.addToChatGroup(message);
|
|
53
50
|
// shallow copy to trigger render
|
|
@@ -65,6 +62,8 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
65
62
|
this.iconPack = defaultIconPack;
|
|
66
63
|
/** Language */
|
|
67
64
|
this.t = useLanguage();
|
|
65
|
+
/** UI Overrides */
|
|
66
|
+
this.overrides = defaultOverrides;
|
|
68
67
|
/** disables private chat */
|
|
69
68
|
this.disablePrivateChat = false;
|
|
70
69
|
/** Can current user pin/unpin messages */
|
|
@@ -96,14 +95,12 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
96
95
|
this.emojiPickerEnabled = false;
|
|
97
96
|
this.chatRecipientId = 'everyone';
|
|
98
97
|
this.participants = [];
|
|
99
|
-
this.channels = [];
|
|
100
98
|
this.editingMessage = null;
|
|
101
99
|
this.replyMessage = null;
|
|
102
100
|
this.searchQuery = '';
|
|
103
101
|
this.selectorState = 'hide';
|
|
104
|
-
this.
|
|
102
|
+
this.isSendingMessage = false;
|
|
105
103
|
this.showPinnedMessages = false;
|
|
106
|
-
this.channelMap = new Map();
|
|
107
104
|
this.onDragOver = (e) => {
|
|
108
105
|
e.preventDefault();
|
|
109
106
|
this.dropzoneActivated = true;
|
|
@@ -131,23 +128,14 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
131
128
|
});
|
|
132
129
|
};
|
|
133
130
|
this.disconnectMeeting = (meeting) => {
|
|
134
|
-
var _a
|
|
131
|
+
var _a;
|
|
135
132
|
if (this.isPrivateChatSupported()) {
|
|
136
133
|
meeting === null || meeting === void 0 ? void 0 : meeting.participants.joined.removeListener('participantJoined', this.onParticipantUpdate);
|
|
137
134
|
meeting === null || meeting === void 0 ? void 0 : meeting.participants.joined.removeListener('participantLeft', this.onParticipantUpdate);
|
|
138
135
|
}
|
|
139
136
|
(_a = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _a === void 0 ? void 0 : _a.removeListener('chatUpdate', this.chatUpdateListener);
|
|
140
|
-
(_b = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _b === void 0 ? void 0 : _b.removeListener('channelCreate', this.onChannelCreateOrUpdate);
|
|
141
|
-
(_c = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _c === void 0 ? void 0 : _c.removeListener('channelUpdate', this.onChannelCreateOrUpdate);
|
|
142
|
-
(_d = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _d === void 0 ? void 0 : _d.removeListener('channelMessageUpdate', this.onChannelCreateOrUpdate);
|
|
143
|
-
(_f = (_e = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _e === void 0 ? void 0 : _e.all) === null || _f === void 0 ? void 0 : _f.removeListener('participantsUpdate', this.onChannelCreateOrUpdate);
|
|
144
137
|
meeting.self.permissions.removeListener('*', this.chatPermissionUpdateListener);
|
|
145
138
|
};
|
|
146
|
-
this.getFilteredParticipants = () => {
|
|
147
|
-
if (this.privatePresetFilter.length === 0)
|
|
148
|
-
return this.participants;
|
|
149
|
-
return this.participants.filter((p) => this.privatePresetFilter.includes(p.presetName));
|
|
150
|
-
};
|
|
151
139
|
this.onParticipantUpdate = () => {
|
|
152
140
|
this.participants = this.meeting.participants.joined
|
|
153
141
|
.toArray()
|
|
@@ -164,20 +152,6 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
164
152
|
this.isPrivateChatSupported = () => {
|
|
165
153
|
return this.canPrivateMessage && !this.disablePrivateChat;
|
|
166
154
|
};
|
|
167
|
-
this.updateRecipients = (event) => {
|
|
168
|
-
const { id } = event.detail;
|
|
169
|
-
this.chatRecipientId = id;
|
|
170
|
-
this.selectedParticipant = this.participants.find((p) => p.userId === id);
|
|
171
|
-
if (this.chatRecipientId !== 'everyone') {
|
|
172
|
-
const allParticipants = [this.chatRecipientId, this.meeting.self.userId];
|
|
173
|
-
const targetKey = generateChatGroupKey(allParticipants);
|
|
174
|
-
this.selectedGroup = targetKey;
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
this.selectedGroup = 'everyone';
|
|
178
|
-
}
|
|
179
|
-
this.updateUnreadCountGroups({ [this.selectedGroup]: 0 });
|
|
180
|
-
};
|
|
181
155
|
this.isTextMessagingAllowed = () => {
|
|
182
156
|
if (this.chatRecipientId === 'everyone') {
|
|
183
157
|
// public chat
|
|
@@ -194,99 +168,29 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
194
168
|
// private chat
|
|
195
169
|
return this.canPrivateMessage && this.canSendPrivateFiles;
|
|
196
170
|
};
|
|
197
|
-
this.onChannelChanged = (e) => {
|
|
198
|
-
const channel = e.detail;
|
|
199
|
-
if (channel.id.includes(TEMPORARY_CHANNEL_PREFIX)) {
|
|
200
|
-
this.createDMChannel(channel.id.replace(TEMPORARY_CHANNEL_PREFIX, ''));
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
this.selectedChannelId = channel.id;
|
|
204
|
-
}
|
|
205
|
-
this.cleanup();
|
|
206
|
-
if (this.selectorState !== 'desktop') {
|
|
207
|
-
this.selectorState = 'hide';
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
this.createDMChannel = async (memberId) => {
|
|
211
|
-
this.creatingChannel = true;
|
|
212
|
-
const newChannel = await this.meeting.chat.createChannel('Direct Message', [memberId], {
|
|
213
|
-
visibility: 'private',
|
|
214
|
-
isDirectMessage: true,
|
|
215
|
-
});
|
|
216
|
-
this.creatingChannel = false;
|
|
217
|
-
this.selectedChannelId = newChannel.id;
|
|
218
|
-
};
|
|
219
|
-
this.cleanup = () => {
|
|
220
|
-
this.editingMessage = null;
|
|
221
|
-
this.replyMessage = null;
|
|
222
|
-
this.searchQuery = '';
|
|
223
|
-
};
|
|
224
171
|
this.onQuotedMessageDismiss = () => {
|
|
225
172
|
this.replyMessage = null;
|
|
226
173
|
};
|
|
227
|
-
this.onChannelCreateOrUpdate = (channel) => {
|
|
228
|
-
if (channel) {
|
|
229
|
-
this.channelMap.set(channel.id, channel);
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
this.meeting.chat.channels.forEach((chan) => this.channelMap.set(chan.id, chan));
|
|
233
|
-
}
|
|
234
|
-
const allChannels = Array.from(this.channelMap.values());
|
|
235
|
-
const channels = allChannels
|
|
236
|
-
.filter((channel) => !isDirectMessageChannel(channel))
|
|
237
|
-
.sort((a, b) => alphabeticalSorter(a.displayName, b.displayName));
|
|
238
|
-
const membersWithChannel = allChannels.filter(isDirectMessageChannel).map((channel) => {
|
|
239
|
-
return Object.assign(Object.assign({}, channel), { displayName: this.getMemberDisplayName(channel) });
|
|
240
|
-
});
|
|
241
|
-
const membersWithoutChannel = this.meeting.participants.all
|
|
242
|
-
.toArray()
|
|
243
|
-
.filter((member) => {
|
|
244
|
-
if (member.userId === this.meeting.self.userId)
|
|
245
|
-
return false;
|
|
246
|
-
const matcher = getDMComparator([this.meeting.self.userId, member.userId]);
|
|
247
|
-
return membersWithChannel.every((channel) => getDMComparator(channel.memberIds) !== matcher);
|
|
248
|
-
})
|
|
249
|
-
.map((member) => {
|
|
250
|
-
return {
|
|
251
|
-
id: `${TEMPORARY_CHANNEL_PREFIX}${member.userId}`,
|
|
252
|
-
displayName: member.name,
|
|
253
|
-
displayPictureUrl: member.picture,
|
|
254
|
-
isDirectMessage: true,
|
|
255
|
-
unreadCount: 0,
|
|
256
|
-
};
|
|
257
|
-
});
|
|
258
|
-
const dms = [...membersWithChannel, ...membersWithoutChannel].sort((a, b) => alphabeticalSorter(a.displayName, b.displayName));
|
|
259
|
-
this.channels = [...channels, ...dms];
|
|
260
|
-
// select channel only if it is created in db
|
|
261
|
-
const nonTemporaryChannel = [...channels, ...membersWithChannel];
|
|
262
|
-
if (!this.selectedChannelId && nonTemporaryChannel.length !== 0) {
|
|
263
|
-
this.selectedChannelId = nonTemporaryChannel[0].id;
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
this.getMemberDisplayName = (channel) => {
|
|
267
|
-
var _a;
|
|
268
|
-
let id;
|
|
269
|
-
if (channel.memberIds.length === 1) {
|
|
270
|
-
// channel with self
|
|
271
|
-
id = channel.memberIds[0];
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
id =
|
|
275
|
-
channel.memberIds[0] === this.meeting.self.userId
|
|
276
|
-
? channel.memberIds[1]
|
|
277
|
-
: channel.memberIds[0];
|
|
278
|
-
}
|
|
279
|
-
const member = this.meeting.participants.all.toArray().find((member) => member.userId === id);
|
|
280
|
-
return (_a = member === null || member === void 0 ? void 0 : member.name) !== null && _a !== void 0 ? _a : id;
|
|
281
|
-
};
|
|
282
174
|
this.onNewMessageHandler = async (e) => {
|
|
283
175
|
const message = e.detail;
|
|
284
|
-
this.
|
|
176
|
+
this.isSendingMessage = true;
|
|
177
|
+
try {
|
|
178
|
+
await this.meeting.chat.sendMessage(message, this.getRecipientPeerIds());
|
|
179
|
+
}
|
|
180
|
+
finally {
|
|
181
|
+
this.isSendingMessage = false;
|
|
182
|
+
}
|
|
285
183
|
};
|
|
286
184
|
this.onEditMessageHandler = async (e) => {
|
|
287
185
|
var _a, _b;
|
|
288
|
-
|
|
289
|
-
|
|
186
|
+
this.isSendingMessage = true;
|
|
187
|
+
try {
|
|
188
|
+
await ((_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.chat) === null || _b === void 0 ? void 0 : _b.editTextMessage(this.editingMessage.id, e.detail));
|
|
189
|
+
}
|
|
190
|
+
finally {
|
|
191
|
+
this.isSendingMessage = false;
|
|
192
|
+
this.editingMessage = null;
|
|
193
|
+
}
|
|
290
194
|
};
|
|
291
195
|
this.onEditCancel = () => {
|
|
292
196
|
this.editingMessage = null;
|
|
@@ -301,35 +205,54 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
301
205
|
}
|
|
302
206
|
};
|
|
303
207
|
this.onDeleteMessage = (event) => {
|
|
208
|
+
var _a;
|
|
304
209
|
const message = event.detail;
|
|
210
|
+
if (((_a = this.editingMessage) === null || _a === void 0 ? void 0 : _a.id) === message.id) {
|
|
211
|
+
this.editingMessage = null;
|
|
212
|
+
}
|
|
213
|
+
try {
|
|
214
|
+
if (typeof localStorage !== 'undefined') {
|
|
215
|
+
const keysToRemove = [];
|
|
216
|
+
for (let i = 0; i < localStorage.length; i++) {
|
|
217
|
+
const key = localStorage.key(i);
|
|
218
|
+
if (key && key.startsWith('rtk-chat-edit-') && key.endsWith(`-${message.id}`)) {
|
|
219
|
+
keysToRemove.push(key);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
keysToRemove.forEach((key) => localStorage.removeItem(key));
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
catch (_b) {
|
|
226
|
+
// ignore storage access errors
|
|
227
|
+
}
|
|
305
228
|
this.meeting.chat.deleteMessage(message.id);
|
|
306
229
|
};
|
|
307
|
-
this.
|
|
308
|
-
const
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
avatarUrl: participant.picture,
|
|
314
|
-
unreadCount: this.unreadCountGroups[key],
|
|
315
|
-
};
|
|
316
|
-
return result;
|
|
317
|
-
});
|
|
318
|
-
const everyone = {
|
|
319
|
-
id: 'everyone',
|
|
320
|
-
name: this.t('chat.everyone'),
|
|
321
|
-
icon: 'participants',
|
|
322
|
-
unreadCount: this.unreadCountGroups['everyone'],
|
|
323
|
-
};
|
|
324
|
-
return [everyone, ...participants];
|
|
230
|
+
this.onMessageEdit = (event) => {
|
|
231
|
+
const message = event.detail;
|
|
232
|
+
if (message.type !== 'text')
|
|
233
|
+
return;
|
|
234
|
+
this.replyMessage = null;
|
|
235
|
+
this.editingMessage = message;
|
|
325
236
|
};
|
|
326
|
-
this.
|
|
327
|
-
|
|
237
|
+
this.getPinnedMessageLabel = (message) => {
|
|
238
|
+
if (message.type === 'text')
|
|
239
|
+
return message.message;
|
|
240
|
+
if (message.type === 'image')
|
|
241
|
+
return 'Image';
|
|
242
|
+
if (message.type === 'file')
|
|
243
|
+
return 'File';
|
|
244
|
+
return '';
|
|
328
245
|
};
|
|
329
246
|
this.renderPinnedMessagesHeader = () => {
|
|
330
247
|
if (this.meeting.chat.pinned.length === 0)
|
|
331
248
|
return null;
|
|
332
|
-
|
|
249
|
+
/**
|
|
250
|
+
* We do not display a picture against the avatar because the chatMessage API does not provide it.
|
|
251
|
+
*/
|
|
252
|
+
return (h("div", { class: "pinned-messages" }, h("div", { class: "pinned-messages-header", onClick: () => (this.showPinnedMessages = !this.showPinnedMessages) }, h("div", null, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }), this.t('chat.pinned_msgs'), ` (${this.meeting.chat.pinned.length})`), h("rtk-icon", { icon: this.showPinnedMessages ? this.iconPack.chevron_up : this.iconPack.chevron_down, size: "sm" })), this.showPinnedMessages && (h("div", { class: "pinned-messages-content scrollbar" }, this.meeting.chat.pinned.map((message) => {
|
|
253
|
+
const label = this.getPinnedMessageLabel(message);
|
|
254
|
+
return (h("div", { class: "pinned-message" }, h("rtk-avatar", { class: "pinned-message-avatar", participant: { name: message.displayName, picture: '' }, size: "sm" }), h("span", null, label.length > 20 ? `${label.substring(0, 20)}...` : label)));
|
|
255
|
+
})))));
|
|
333
256
|
};
|
|
334
257
|
}
|
|
335
258
|
connectedCallback() {
|
|
@@ -460,11 +383,7 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
460
383
|
}
|
|
461
384
|
return peerIds;
|
|
462
385
|
}
|
|
463
|
-
channelSwitchListener(e) {
|
|
464
|
-
this.onChannelChanged(e);
|
|
465
|
-
}
|
|
466
386
|
renderComposerUI() {
|
|
467
|
-
var _a, _b, _c;
|
|
468
387
|
if (this.chatRecipientId === 'everyone') {
|
|
469
388
|
if (!this.canSendTextMessage && !this.canSendFiles)
|
|
470
389
|
return null;
|
|
@@ -476,18 +395,18 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
476
395
|
const uiProps = { iconPack: this.iconPack, t: this.t, size: this.size };
|
|
477
396
|
const message = this.editingMessage ? this.editingMessage.message : '';
|
|
478
397
|
const quotedMessage = this.replyMessage ? this.replyMessage.message : '';
|
|
479
|
-
|
|
398
|
+
const draftStorageKey = 'rtk-chat-draft';
|
|
399
|
+
const editStorageKey = this.editingMessage
|
|
400
|
+
? `rtk-chat-edit-${'no-channel'}-${this.editingMessage.id}`
|
|
401
|
+
: 'rtk-chat-edit';
|
|
402
|
+
const storageKey = this.editingMessage ? editStorageKey : draftStorageKey;
|
|
403
|
+
return (h("rtk-chat-composer-view", Object.assign({ message: message, storageKey: storageKey, quotedMessage: quotedMessage, isEditing: !!this.editingMessage, isSending: this.isSendingMessage, canSendTextMessage: this.isTextMessagingAllowed(), canSendFiles: this.isFileMessagingAllowed(), disableEmojiPicker: this.overrides.disableEmojiPicker, maxLength: this.meeting.chat.maxTextLimit, rateLimits: this.meeting.chat.rateLimits, inputTextPlaceholder: this.t('chat.message_placeholder'), onNewMessage: this.onNewMessageHandler, onEditMessage: this.onEditMessageHandler, onEditCancel: this.onEditCancel, onQuotedMessageDismiss: this.onQuotedMessageDismiss }, uiProps), h("slot", { name: "chat-addon", slot: "chat-addon" })));
|
|
480
404
|
}
|
|
481
405
|
render() {
|
|
482
|
-
var _a;
|
|
483
406
|
if (!this.meeting) {
|
|
484
407
|
return null;
|
|
485
408
|
}
|
|
486
|
-
|
|
487
|
-
if (this.showPinnedMessages && this.meeting.chat.pinned.length !== 0) {
|
|
488
|
-
chatMessages = chatMessages.filter((chat) => chat.type === 'chat' && chat.message.pinned);
|
|
489
|
-
}
|
|
490
|
-
return (h(Host, null, h("div", { class: "chat-container" }, h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), this.isPrivateChatSupported() && (h("rtk-channel-selector-view", { channels: this.getPrivateChatRecipients(), selectedChannelId: ((_a = this.selectedParticipant) === null || _a === void 0 ? void 0 : _a.userId) || 'everyone', onChannelChange: this.updateRecipients, t: this.t, viewAs: "dropdown" })), h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t }), this.renderComposerUI()))));
|
|
409
|
+
return (h(Host, null, h("div", { class: "chat-container" }, h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onEditMessage: this.onMessageEdit, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t }), this.renderComposerUI()))));
|
|
491
410
|
}
|
|
492
411
|
get host() { return this; }
|
|
493
412
|
static get watchers() { return {
|
|
@@ -502,6 +421,7 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
502
421
|
"size": [513],
|
|
503
422
|
"iconPack": [16],
|
|
504
423
|
"t": [16],
|
|
424
|
+
"overrides": [16],
|
|
505
425
|
"disablePrivateChat": [4, "disable-private-chat"],
|
|
506
426
|
"privatePresetFilter": [16],
|
|
507
427
|
"displayFilter": [16],
|
|
@@ -522,15 +442,13 @@ const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
|
522
442
|
"chatRecipientId": [32],
|
|
523
443
|
"participants": [32],
|
|
524
444
|
"selectedParticipant": [32],
|
|
525
|
-
"channels": [32],
|
|
526
|
-
"selectedChannelId": [32],
|
|
527
445
|
"editingMessage": [32],
|
|
528
446
|
"replyMessage": [32],
|
|
529
447
|
"searchQuery": [32],
|
|
530
448
|
"selectorState": [32],
|
|
531
|
-
"
|
|
449
|
+
"isSendingMessage": [32],
|
|
532
450
|
"showPinnedMessages": [32]
|
|
533
|
-
}, [[8, "editMessageInit", "onEditMessageInit"]
|
|
451
|
+
}, [[8, "editMessageInit", "onEditMessageInit"]], {
|
|
534
452
|
"meeting": ["meetingChanged"],
|
|
535
453
|
"chatGroups": ["chatGroupsChanged"],
|
|
536
454
|
"displayFilter": ["onDisplayFilterChanged"]
|
|
@@ -547,11 +465,14 @@ __decorate([
|
|
|
547
465
|
__decorate([
|
|
548
466
|
SyncWithStore()
|
|
549
467
|
], RtkChat.prototype, "t", void 0);
|
|
468
|
+
__decorate([
|
|
469
|
+
SyncWithStore()
|
|
470
|
+
], RtkChat.prototype, "overrides", void 0);
|
|
550
471
|
function defineCustomElement() {
|
|
551
472
|
if (typeof customElements === "undefined") {
|
|
552
473
|
return;
|
|
553
474
|
}
|
|
554
|
-
const components = ["rtk-chat", "rtk-avatar", "rtk-button", "rtk-
|
|
475
|
+
const components = ["rtk-chat", "rtk-avatar", "rtk-button", "rtk-chat-composer-view", "rtk-chat-messages-ui-paginated", "rtk-draft-attachment-view", "rtk-emoji-picker", "rtk-emoji-picker-button", "rtk-file-message-view", "rtk-file-picker-button", "rtk-icon", "rtk-image-message-view", "rtk-markdown-view", "rtk-menu", "rtk-menu-item", "rtk-menu-list", "rtk-message-view", "rtk-paginated-list", "rtk-spinner", "rtk-text-composer-view", "rtk-text-message-view", "rtk-tooltip"];
|
|
555
476
|
components.forEach(tagName => { switch (tagName) {
|
|
556
477
|
case "rtk-chat":
|
|
557
478
|
if (!customElements.get(tagName)) {
|
|
@@ -559,16 +480,11 @@ function defineCustomElement() {
|
|
|
559
480
|
}
|
|
560
481
|
break;
|
|
561
482
|
case "rtk-avatar":
|
|
562
|
-
if (!customElements.get(tagName)) {
|
|
563
|
-
defineCustomElement$m();
|
|
564
|
-
}
|
|
565
|
-
break;
|
|
566
|
-
case "rtk-button":
|
|
567
483
|
if (!customElements.get(tagName)) {
|
|
568
484
|
defineCustomElement$l();
|
|
569
485
|
}
|
|
570
486
|
break;
|
|
571
|
-
case "rtk-
|
|
487
|
+
case "rtk-button":
|
|
572
488
|
if (!customElements.get(tagName)) {
|
|
573
489
|
defineCustomElement$k();
|
|
574
490
|
}
|
|
@@ -17,9 +17,6 @@ const parseMessageForTarget = (message) => {
|
|
|
17
17
|
}
|
|
18
18
|
return parsedMessage;
|
|
19
19
|
};
|
|
20
|
-
function alphabeticalSorter(a, b) {
|
|
21
|
-
return a.localeCompare(b);
|
|
22
|
-
}
|
|
23
20
|
/**
|
|
24
21
|
* Generate a unique chat group key used in `<rtk-chat /> and <rtk-chat-selector-ui />`
|
|
25
22
|
* @param ids An array of user ids
|
|
@@ -93,14 +90,6 @@ function getUnreadChatCounts({ messages, selfUserId, selectedGroupId, participan
|
|
|
93
90
|
function getParticipantUserId({ groupId, selfUserId, }) {
|
|
94
91
|
return groupId.split('_').find((id) => id != selfUserId);
|
|
95
92
|
}
|
|
96
|
-
const TEMPORARY_CHANNEL_PREFIX = 'dm__';
|
|
97
|
-
function isDirectMessageChannel(channel) {
|
|
98
|
-
return channel.isDirectMessage;
|
|
99
|
-
}
|
|
100
|
-
function getDMComparator(memberIds) {
|
|
101
|
-
const uniqueMemberIds = [...new Set(memberIds)];
|
|
102
|
-
return uniqueMemberIds.sort(alphabeticalSorter).join('<>');
|
|
103
|
-
}
|
|
104
93
|
function reverse(str) {
|
|
105
94
|
return str.split('').reverse().join('');
|
|
106
95
|
}
|
|
@@ -197,4 +186,4 @@ function tokenizeRichText(text, endTag = '') {
|
|
|
197
186
|
return [tokens, i];
|
|
198
187
|
}
|
|
199
188
|
|
|
200
|
-
export { MAX_TEXT_LENGTH as M,
|
|
189
|
+
export { MAX_TEXT_LENGTH as M, getChatGroups as a, getUnreadChatCounts as b, getParticipantUserId as c, parseRichText as d, extractReplyBlock as e, replyBlockPattern as f, generateChatGroupKey as g, handleFilesDataTransfer as h, parseMessageForTarget as p, reverse as r, stripOutReplyBlock as s };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, w as writeTask, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { e as defaultIconPack,
|
|
3
|
-
import { S as SyncWithStore } from './p-
|
|
2
|
+
import { e as defaultIconPack, i as useLanguage, D as disableSettingSinkId } from './p-dc9dde66.js';
|
|
3
|
+
import { S as SyncWithStore } from './p-9c3c75a9.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './p-1391bef0.js';
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-73baf5ba.js';
|
|
6
6
|
|
|
7
7
|
const rtkSpeakerSelectorCss = ".rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5);width:100%;max-width:100%;text-overflow:ellipsis}.inline .rtk-select{margin-top:var(--rtk-space-1, 4px);width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-8, 32px);font-size:14px}.row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.inline.group{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0\\.5, 2px)}.inline.group>*{margin-bottom:var(--rtk-space-0, 0px)}label{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px}.inline .container{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}";
|
|
8
8
|
const RtkSpeakerSelectorStyle0 = rtkSpeakerSelectorCss;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { e as defaultIconPack,
|
|
3
|
-
import { S as SyncWithStore } from './p-
|
|
2
|
+
import { e as defaultIconPack, i as useLanguage } from './p-dc9dde66.js';
|
|
3
|
+
import { S as SyncWithStore } from './p-9c3c75a9.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './p-1391bef0.js';
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-73baf5ba.js';
|
|
6
6
|
|
|
7
7
|
const rtkPollFormCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";
|
|
8
8
|
const RtkPollFormStyle0 = rtkPollFormCss;
|
|
@@ -71,10 +71,10 @@ const RtkPoll = /*@__PURE__*/ proxyCustomElement(class RtkPoll extends H {
|
|
|
71
71
|
this.onCreate.emit(pollObject);
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '291ea84e0c3246a1ce1ac0aefdeec3c2917a9579' }, h("div", { key: 'e08cc25c50b03d1560bf0c662c4e2b2cab7455b3', class: "create-poll" }, h("p", { key: '9fb8e5e925bf9cfb14ebc2b73c46b83d53252c81' }, this.t('polls.question')), h("textarea", { key: 'd48738ada9dc4bc9d2eae2237a2a1f6ac13525b1', onInput: () => {
|
|
75
75
|
if (this.error && this.error.code === 0)
|
|
76
76
|
this.error = undefined;
|
|
77
|
-
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: '
|
|
77
|
+
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: 'ceb6a530ce5b007507e9f4d2285f1abc18c76330', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '64db0851844bb605a55ccb4bf4e1f18477d0244b' }, h("input", { key: 'bcad7270ece59a833fb516aed75f6d8dfa53e230', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: 'aa067a3f691993b58eb01f12c89d4e21b3f27c76' }, h("input", { key: '882bc0373e4b6965fd304c92c067cf8c8f58c40b', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), h("rtk-button", { key: '955b5aa163a4cdd030b4280ecc2a12d375526dfc', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: '01e8359f27c43a67966a27d22ab1673d0a64465a', class: "error-text" }, this.error.message))));
|
|
78
78
|
}
|
|
79
79
|
static get style() { return RtkPollFormStyle0; }
|
|
80
80
|
}, [1, "rtk-poll-form", {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { e as defaultIconPack,
|
|
3
|
-
import { S as SyncWithStore } from './p-
|
|
2
|
+
import { e as defaultIconPack, i as useLanguage } from './p-dc9dde66.js';
|
|
3
|
+
import { S as SyncWithStore } from './p-9c3c75a9.js';
|
|
4
4
|
import { d as defineCustomElement$6 } from './p-1391bef0.js';
|
|
5
|
-
import { d as defineCustomElement$5 } from './p-
|
|
6
|
-
import { d as defineCustomElement$4 } from './p-
|
|
7
|
-
import { d as defineCustomElement$3 } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$5 } from './p-c402a1db.js';
|
|
6
|
+
import { d as defineCustomElement$4 } from './p-6e10fc42.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './p-caaca684.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-66ba4031.js';
|
|
9
|
+
import { d as defineCustomElement$1 } from './p-73baf5ba.js';
|
|
10
10
|
|
|
11
11
|
const rtkDebuggerCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{margin-right:var(--rtk-space-2, 8px);display:flex;align-items:center;justify-content:space-between;padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}header h3{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.back-btn{border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.back-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;max-width:var(--rtk-space-56, 224px) !important;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:14px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside button[type='button']{cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.hidden{display:none}main{position:relative;box-sizing:border-box;display:flex;height:100%;width:100%;flex-direction:column}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));width:100% !important;max-width:100% !important;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside button.hidden{display:none}:host([size='sm']) aside.hide{display:none}aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;height:100%;width:100%;padding:var(--rtk-space-0, 0px)}aside button:host([size='sm']) main{display:none}:host([size='sm']) aside button:host([size='sm']) main{display:none}:host([size='sm']) main.active{display:block}:host([size='sm']) header{margin:var(--rtk-space-0, 0px);justify-content:center}:host([size='sm']) header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb:hover{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.progress-bar{height:var(--rtk-space-1, 4px);width:100%;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.progress-indicator{height:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}";
|
|
12
12
|
const RtkDebuggerStyle0 = rtkDebuggerCss;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { c as createDefaultConfig, e as defaultIconPack,
|
|
3
|
-
import { S as SyncWithStore } from './p-
|
|
2
|
+
import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './p-dc9dde66.js';
|
|
3
|
+
import { S as SyncWithStore } from './p-9c3c75a9.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './p-1391bef0.js';
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-73baf5ba.js';
|
|
6
6
|
|
|
7
7
|
const rtkDialogCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{word-wrap:break-word;overflow-wrap:break-word}#dialog{position:relative;max-height:100%;max-width:100%;padding:var(--rtk-space-0, 0px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#dialog::backdrop{background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / 0.5);-webkit-backdrop-filter:blur(12px) saturate(180%);backdrop-filter:blur(12px) saturate(180%)}#dismiss-btn{position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);z-index:50}::slotted(*){max-width:100%;height:auto;min-height:-moz-fit-content;min-height:fit-content}";
|
|
8
8
|
const RtkDialogStyle0 = rtkDialogCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
|
|
2
|
-
import { c as createDefaultConfig,
|
|
3
|
-
import { S as SyncWithStore } from './p-
|
|
2
|
+
import { c as createDefaultConfig, i as useLanguage } from './p-dc9dde66.js';
|
|
3
|
+
import { S as SyncWithStore } from './p-9c3c75a9.js';
|
|
4
4
|
import './p-a83ccdbd.js';
|
|
5
5
|
|
|
6
6
|
const rtkLogoCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;flex-direction:column;align-items:center;justify-content:center;color:rgb(var(--rtk-colors-text-1000, 255 255 255));height:100%;width:auto}svg,img{height:100%;width:auto}.brand-color{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";
|