@cloudflare/realtimekit-ui 1.1.0-staging.1 → 1.1.0-staging.3
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-1dc6f8b9.js} +1 -1
- package/dist/cjs/{chat-717e517d.js → chat-2ae6f058.js} +1 -1
- package/dist/cjs/{config-8c9ac89a.js → config-0a88d50b.js} +2 -2
- package/dist/cjs/{debounce-a3e0d9e7.js → debounce-b06b27ca.js} +1 -1
- package/dist/cjs/{index-8d07e125.js → index-e4244d7d.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-c46cfa17.js} +1 -1
- package/dist/cjs/{notification-567fe887.js → notification-f3750b61.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 +2 -2
- package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-avatar_24.cjs.entry.js +35 -16
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +2 -2
- 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-channel-creator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-details.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-header.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
- package/dist/cjs/rtk-notifications.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/{sidebar-2ad915b1.js → sidebar-0eb1e4ef.js} +1 -1
- package/dist/cjs/{ui-store-1cb28da8.js → ui-store-6c2d680f.js} +11 -2
- package/dist/collection/components/rtk-chat/rtk-chat.js +32 -2
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +37 -0
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +6 -1
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +23 -1
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +15 -4
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +23 -1
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +19 -21
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +2 -2
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +37 -1
- package/dist/collection/exports.js +2 -1
- package/dist/collection/lib/overrides.js +6 -0
- package/dist/collection/utils/flags.js +0 -1
- package/dist/collection/utils/sync-with-store/ui-store.js +4 -1
- package/dist/components/index.js +6 -6
- package/dist/components/{p-488d88a8.js → p-01c968b1.js} +2 -2
- package/dist/components/{p-6f340109.js → p-05df465d.js} +1 -1
- package/dist/components/{p-9e87b2c9.js → p-0a31ef52.js} +2 -2
- package/dist/components/{p-10ef077c.js → p-0c512fd1.js} +2 -2
- package/dist/components/{p-a6296b02.js → p-0e8ff1cc.js} +7 -4
- package/dist/components/{p-adf73364.js → p-1614fe8f.js} +4 -4
- package/dist/components/{p-5f26bba3.js → p-193d8051.js} +2 -2
- package/dist/components/{p-bb8f2597.js → p-1a8b46bb.js} +6 -6
- package/dist/components/{p-65cd2fe3.js → p-1da75fdd.js} +2 -2
- package/dist/components/{p-33a87325.js → p-2090b03d.js} +2 -2
- package/dist/components/{p-080acf18.js → p-222454dc.js} +7 -4
- package/dist/components/{p-2d08ab28.js → p-262671ff.js} +2 -2
- package/dist/components/{p-a4a5ff5a.js → p-2e6987aa.js} +3 -3
- package/dist/components/{p-121e073d.js → p-35e93724.js} +2 -2
- package/dist/components/{p-618864a0.js → p-3a3650bd.js} +2 -2
- package/dist/components/{p-dbfc9151.js → p-3b6af603.js} +2 -2
- package/dist/components/{p-f47894a6.js → p-3bc68ec4.js} +8 -8
- package/dist/components/{p-f7eb9c47.js → p-41224895.js} +4 -4
- package/dist/components/{p-63ef7ea4.js → p-471a529a.js} +3 -3
- package/dist/components/{p-a10b9faa.js → p-4b319158.js} +2 -2
- package/dist/components/{p-6756b222.js → p-4b375dfa.js} +2 -2
- package/dist/components/{p-914563e7.js → p-5248ee44.js} +4 -4
- package/dist/components/{p-f7430e46.js → p-58b56794.js} +5 -5
- package/dist/components/{p-e4a080a5.js → p-5ac9b786.js} +2 -2
- package/dist/components/{p-563c785d.js → p-5e67d672.js} +2 -2
- package/dist/components/{p-7481511c.js → p-6101a21c.js} +2 -2
- package/dist/components/{p-20290b0b.js → p-626c7a5f.js} +3 -3
- package/dist/components/{p-ee98bbaf.js → p-6366df1e.js} +10 -10
- package/dist/components/{p-188bfe87.js → p-6523d14b.js} +7 -7
- package/dist/components/{p-5c92df32.js → p-68af4225.js} +5 -5
- package/dist/components/{p-d06d1eac.js → p-695f0784.js} +2 -2
- package/dist/components/{p-b882f4a1.js → p-6c20da11.js} +4 -4
- package/dist/components/{p-c078ae06.js → p-6ec01673.js} +2 -2
- package/dist/components/{p-47c25f64.js → p-6f7c46d2.js} +1 -1
- package/dist/components/{p-84e5b453.js → p-6f8d2043.js} +2 -2
- package/dist/components/{p-cf503999.js → p-7834fd55.js} +2 -2
- package/dist/components/{p-2f82e0b0.js → p-7a04f0cc.js} +4 -4
- package/dist/components/{p-395d7140.js → p-7e8d976d.js} +2 -2
- package/dist/components/{p-c515acba.js → p-84b30573.js} +2 -2
- package/dist/components/{p-fe911889.js → p-8901c589.js} +10 -10
- package/dist/components/{p-244cbe7b.js → p-89eb65a9.js} +2 -2
- package/dist/components/{p-0a35a909.js → p-8b4e32b7.js} +2 -2
- package/dist/components/{p-a9540d93.js → p-8e160343.js} +3 -3
- package/dist/components/{p-f8f5cb31.js → p-93069a8c.js} +2 -2
- package/dist/components/{p-3da4880c.js → p-94ba6c49.js} +2 -2
- package/dist/components/{p-b011763d.js → p-94bd91b3.js} +2 -2
- package/dist/components/{p-a29c01fc.js → p-95e08256.js} +2 -2
- package/dist/components/{p-9889bee5.js → p-962c2e24.js} +2 -2
- package/dist/components/{p-6c2cfa0d.js → p-9c88019e.js} +3 -3
- package/dist/components/{p-6f272732.js → p-9f7b9764.js} +4 -4
- package/dist/components/{p-d107e9f4.js → p-9ff37f98.js} +2 -2
- package/dist/components/{p-c3621e10.js → p-a24156ce.js} +6 -6
- package/dist/components/{p-d4e2ac64.js → p-a48e2cf0.js} +4 -4
- package/dist/components/{p-55501201.js → p-a54ac879.js} +2 -2
- package/dist/components/{p-afe77b50.js → p-ad331530.js} +2 -2
- package/dist/components/{p-0d7bf41b.js → p-ad7cabcc.js} +2 -2
- package/dist/components/{p-78b61cce.js → p-ad873f2d.js} +1 -1
- package/dist/components/{p-82f8c924.js → p-b30d5f6b.js} +2 -2
- package/dist/components/{p-a6f2b402.js → p-b58a185f.js} +11 -11
- package/dist/components/{p-e6710b76.js → p-ba788f9e.js} +2 -2
- package/dist/components/{p-abe1dbe6.js → p-bb55fa0c.js} +2 -2
- package/dist/components/{p-102b6df8.js → p-c05530c8.js} +2 -2
- package/dist/components/{p-2e282643.js → p-c2b64e33.js} +2 -2
- package/dist/components/{p-b34865c7.js → p-c36a303c.js} +2 -2
- package/dist/components/{p-e8df7ac5.js → p-d0c5e808.js} +6 -6
- package/dist/components/{p-fd68a52b.js → p-d6146a96.js} +7 -7
- package/dist/components/{p-e675729a.js → p-d81ba93a.js} +2 -2
- package/dist/components/{p-2f08d7eb.js → p-d9845780.js} +27 -21
- package/dist/components/{p-d3de8b85.js → p-d9b1945a.js} +2 -2
- package/dist/components/{p-51de7af3.js → p-da87cc71.js} +1 -1
- package/dist/components/{p-8d25843a.js → p-e62d961a.js} +2 -2
- package/dist/components/{p-7fc0dc2f.js → p-e847fee9.js} +11 -3
- package/dist/components/{p-0b4e526c.js → p-ef493e1b.js} +2 -2
- package/dist/components/{p-190db142.js → p-f2a47b5b.js} +3 -3
- package/dist/components/{p-f4e75ea9.js → p-ff320cbb.js} +3 -3
- package/dist/components/{p-e81fc1e8.js → p-ff8753e8.js} +2 -2
- package/dist/components/{p-4d582a90.js → p-ffe562b1.js} +4 -4
- package/dist/components/rtk-ai-toggle.js +4 -4
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +3 -3
- package/dist/components/rtk-audio-grid.js +2 -2
- package/dist/components/rtk-audio-tile.js +5 -5
- 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 +4 -4
- 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 +4 -4
- package/dist/components/rtk-caption-toggle.js +4 -4
- package/dist/components/rtk-channel-creator.js +4 -4
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +6 -6
- package/dist/components/rtk-channel-selector-ui.js +4 -4
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +5 -5
- 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 +10 -10
- package/dist/components/rtk-chat-search-results.js +12 -12
- package/dist/components/rtk-chat-selector-ui.js +2 -2
- package/dist/components/rtk-chat-toggle.js +5 -5
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +2 -2
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +2 -2
- 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 +4 -4
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +21 -21
- 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 +3 -3
- package/dist/components/rtk-file-dropzone.js +2 -2
- 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 +2 -2
- package/dist/components/rtk-grid.js +8 -8
- package/dist/components/rtk-header.js +2 -2
- package/dist/components/rtk-idle-screen.js +4 -4
- 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 +2 -2
- package/dist/components/rtk-information-tooltip.js +2 -2
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +4 -4
- 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 +4 -4
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-meeting-title.js +2 -2
- package/dist/components/rtk-meeting.js +36 -24
- 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 +3 -3
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +4 -4
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +5 -5
- package/dist/components/rtk-more-toggle.js +4 -4
- package/dist/components/rtk-mute-all-button.js +4 -4
- 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 +2 -2
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +4 -4
- 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 +2 -2
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +3 -3
- 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 +5 -5
- 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 +12 -12
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +4 -4
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +5 -5
- 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 +5 -5
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +2 -2
- package/dist/components/rtk-recording-toggle.js +4 -4
- package/dist/components/rtk-screen-share-toggle.js +4 -4
- package/dist/components/rtk-screenshare-view.js +2 -2
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +4 -4
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +10 -10
- package/dist/components/rtk-setup-screen.js +6 -6
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +8 -8
- 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 +2 -2
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +4 -4
- package/dist/components/rtk-stage.js +2 -2
- 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.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-waiting-screen.js +3 -3
- package/dist/docs/docs-components.json +156 -1
- package/dist/docs/docs-vscode.json +26 -1
- package/dist/esm/{TextMessage-ca92045e.js → TextMessage-0d8be8c5.js} +1 -1
- package/dist/esm/{chat-ff185374.js → chat-b2bea75f.js} +1 -1
- package/dist/esm/{config-e684aa4d.js → config-325caca3.js} +2 -2
- package/dist/esm/{debounce-3ea4df36.js → debounce-3139f9e3.js} +1 -1
- package/dist/esm/{index-e65afca5.js → index-6eb882e7.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/loader.js +51 -14
- package/dist/esm/{merge-7ffc04b3.js → merge-bc2a0775.js} +1 -1
- package/dist/esm/{notification-78afaabf.js → notification-4beb1e0d.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 +2 -2
- package/dist/esm/rtk-ai.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
- package/dist/esm/rtk-avatar_24.entry.js +35 -16
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +2 -2
- 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-channel-creator.entry.js +2 -2
- package/dist/esm/rtk-channel-details.entry.js +2 -2
- package/dist/esm/rtk-channel-header.entry.js +2 -2
- package/dist/esm/rtk-channel-selector-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-message.entry.js +2 -2
- package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
- package/dist/esm/rtk-chat-search-results.entry.js +2 -2
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +3 -3
- package/dist/esm/rtk-clock.entry.js +2 -2
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/rtk-file-message_3.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/rtk-idle-screen.entry.js +2 -2
- package/dist/esm/rtk-image-viewer.entry.js +2 -2
- package/dist/esm/rtk-information-tooltip.entry.js +2 -2
- package/dist/esm/rtk-leave-button.entry.js +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +2 -2
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +4 -4
- package/dist/esm/rtk-notifications.entry.js +4 -4
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +3 -3
- package/dist/esm/rtk-participants-audio.entry.js +2 -2
- package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugins_2.entry.js +2 -2
- package/dist/esm/rtk-poll_2.entry.js +2 -2
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/rtk-transcript.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/{sidebar-030fff49.js → sidebar-376c9917.js} +1 -1
- package/dist/esm/{ui-store-9e486e1b.js → ui-store-12132d9c.js} +11 -3
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-50157a65.entry.js → p-02889d02.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1bf58a84.entry.js → p-0485834f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-74e1b5a6.entry.js → p-05d1b9d5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-12e4cb4a.js → p-11a469d9.js} +1 -1
- package/dist/realtimekit-ui/{p-4eee77b0.entry.js → p-132fca40.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8f512d69.entry.js → p-14569a57.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2b373e53.entry.js → p-1462cbd9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b387e9a1.entry.js → p-1834416c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-57277553.entry.js → p-190523f5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a1203856.entry.js → p-1a78c129.entry.js} +1 -1
- package/dist/realtimekit-ui/p-25c4d10f.js +1 -0
- package/dist/realtimekit-ui/{p-8b341608.entry.js → p-298befae.entry.js} +1 -1
- package/dist/realtimekit-ui/p-29c11bdb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-53ac3d30.entry.js → p-2b054928.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2f6fd6de.entry.js +1 -0
- package/dist/realtimekit-ui/{p-1666857d.entry.js → p-2f9211b9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-62e0a141.entry.js → p-30dcb4cc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7f76de48.entry.js → p-3482a231.entry.js} +1 -1
- package/dist/realtimekit-ui/p-369648b9.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b564d931.entry.js → p-3a4e302b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-31f58b98.entry.js → p-3d5ebc77.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4eba1baa.entry.js → p-3dd04263.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-60a29b69.entry.js → p-3f4120cc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3a325310.entry.js → p-426bf45e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2fc5ef84.entry.js → p-42989f41.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a9126c12.entry.js → p-43530cd3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-639ab9ad.entry.js → p-447ffea0.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4485414e.entry.js +1 -0
- package/dist/realtimekit-ui/p-45f90b95.js +1 -0
- package/dist/realtimekit-ui/{p-949b2b6a.entry.js → p-4b33b435.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8b189438.entry.js → p-4b638184.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7613857e.entry.js → p-503371f7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9ad2c746.entry.js → p-515a17ce.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7b999408.entry.js → p-532e1a53.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c7711712.entry.js → p-573187b4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-54a31e02.entry.js → p-5b00a8fa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5383fe87.entry.js → p-5ebc57f8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6adb2de4.entry.js → p-616dc312.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a9dd63ef.entry.js → p-639601b7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c638f666.entry.js → p-6437ff4e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-882d07c9.entry.js → p-685adc5f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-11c964cf.entry.js → p-6888b050.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-09869644.entry.js → p-6914a616.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d7f16f24.entry.js → p-6928aa8e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0b8c47d9.entry.js → p-6ba99cc3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9cbf286a.entry.js → p-701cdf1b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c1b81873.entry.js → p-73a56e4f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7a8ca3f2.entry.js → p-78968008.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3d0c4257.entry.js → p-7d01d588.entry.js} +1 -1
- package/dist/realtimekit-ui/p-844143f8.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f0f6c282.entry.js → p-85b45c3b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-93e9fb59.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c5c965b8.entry.js → p-94a37c73.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3369f405.entry.js → p-95fb25d6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-36c8dfa0.entry.js → p-9ac1b986.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-80c856cd.js → p-9b550ec4.js} +1 -1
- package/dist/realtimekit-ui/{p-a319e81f.entry.js → p-a031547c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-643194e4.entry.js → p-a0d39ea3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d0384d90.entry.js → p-a40cc665.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-084b6f30.js → p-a5900df2.js} +1 -1
- package/dist/realtimekit-ui/{p-91ea043c.js → p-a7e0277f.js} +1 -1
- package/dist/realtimekit-ui/{p-ba51770e.entry.js → p-a849f2b3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-930f0255.entry.js → p-a859d883.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ae7319ac.entry.js → p-a9190330.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a91a2e10.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f645b8bb.entry.js → p-a9cb6a16.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e7b83772.entry.js → p-ad5e9fdb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-98ee3341.entry.js → p-af58f450.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-95f05e26.entry.js → p-af6436dd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6a45f305.js → p-afa7211c.js} +1 -1
- package/dist/realtimekit-ui/{p-2a0ec1c6.entry.js → p-b4975a33.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-aa70de39.entry.js → p-b64eae39.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-61a16ccf.entry.js → p-b6cee65a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-38aec474.entry.js → p-be03944b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f5aa8af7.entry.js → p-beedd1b5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-50e861f9.entry.js → p-bf234650.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-38f4773b.entry.js → p-c43c2382.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-de75d48d.entry.js → p-c8773db0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5a2d8313.entry.js → p-cb54bd67.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-91fd286c.js → p-cd0c5440.js} +1 -1
- package/dist/realtimekit-ui/{p-e925ca8a.entry.js → p-cd56beb7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ce5a911d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-385fddbd.entry.js → p-d2a92f27.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-93b84c22.js → p-d3e520e5.js} +1 -1
- package/dist/realtimekit-ui/{p-a4e223e8.entry.js → p-d5144f9d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-db831ab6.entry.js +1 -0
- package/dist/realtimekit-ui/{p-e62593a2.entry.js → p-e5b426fa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-61d3f74f.entry.js → p-e78ba202.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7786e9a7.entry.js → p-ebfde234.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-77e04fb7.entry.js → p-ed34d8a1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-61a53713.entry.js → p-f19668ba.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9c1f42dd.entry.js → p-f266302c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d9cad67f.entry.js → p-f32aecbc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3eefefa3.entry.js → p-f6918dd7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-788f26c4.entry.js → p-fcb7a6e2.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +3 -0
- 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-ui-provider/rtk-ui-provider.d.ts +4 -1
- package/dist/types/components.d.ts +44 -2
- package/dist/types/exports.d.ts +2 -1
- package/dist/types/lib/overrides.d.ts +16 -0
- package/dist/types/utils/flags.d.ts +0 -1
- package/dist/types/utils/sync-with-store/ui-store.d.ts +4 -1
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-0689d68b.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-3e02ec0b.entry.js +0 -1
- package/dist/realtimekit-ui/p-481549ac.entry.js +0 -1
- package/dist/realtimekit-ui/p-5dc40f1a.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-e720b51e.js +0 -1
- package/dist/realtimekit-ui/p-e87928f7.js +0 -1
- package/dist/realtimekit-ui/p-f40a55e3.entry.js +0 -1
|
@@ -5,6 +5,7 @@ import { RtkI18n } from '../../lib/lang';
|
|
|
5
5
|
import { IconPack } from '../../lib/icons';
|
|
6
6
|
import { UIConfig } from '../../types/ui-config';
|
|
7
7
|
import { GridLayout } from '../rtk-grid/rtk-grid';
|
|
8
|
+
import { Overrides } from '../../lib/overrides';
|
|
8
9
|
export type MeetingMode = 'fixed' | 'fill';
|
|
9
10
|
/**
|
|
10
11
|
* A single component which renders an entire meeting UI.
|
|
@@ -49,6 +50,8 @@ export declare class RtkMeeting {
|
|
|
49
50
|
gridLayout: GridLayout;
|
|
50
51
|
/** Icon pack */
|
|
51
52
|
iconPack: IconPack;
|
|
53
|
+
/** UI Kit Overrides */
|
|
54
|
+
overrides: Overrides;
|
|
52
55
|
/**
|
|
53
56
|
* Emits `rtkStatesUpdate` so that developers can listen to onRtkStatesUpdate and update their own stores
|
|
54
57
|
* Do not confuse this with `rtkStateUpdate` that other components emit
|
|
@@ -65,6 +68,7 @@ export declare class RtkMeeting {
|
|
|
65
68
|
iconPackChanged(newIconPack: IconPack): void;
|
|
66
69
|
tChanged(newT: RtkI18n): void;
|
|
67
70
|
configChanged(config: UIConfig): void;
|
|
71
|
+
overridesChanged(overrides: Overrides): void;
|
|
68
72
|
private handleResize;
|
|
69
73
|
private updateStates;
|
|
70
74
|
render(): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { MeetingMode } from '../rtk-meeting/rtk-meeting';
|
|
3
3
|
import { Meeting } from '../../types/rtk-client';
|
|
4
|
-
import { RtkI18n, IconPack, States, UIConfig } from '../../exports';
|
|
4
|
+
import { RtkI18n, IconPack, States, UIConfig, Overrides } from '../../exports';
|
|
5
5
|
export declare class RtkUiProvider {
|
|
6
6
|
host: HTMLRtkUiProviderElement;
|
|
7
7
|
private peerStore;
|
|
@@ -20,6 +20,8 @@ export declare class RtkUiProvider {
|
|
|
20
20
|
mode: MeetingMode;
|
|
21
21
|
/** Whether to show setup screen or not */
|
|
22
22
|
showSetupScreen: boolean;
|
|
23
|
+
/** UI Kit Overrides */
|
|
24
|
+
overrides: Overrides;
|
|
23
25
|
/**
|
|
24
26
|
* Emits `rtkStatesUpdate` so that developers can listen to onRtkStatesUpdate and update their own stores
|
|
25
27
|
* Do not confuse this with `rtkStateUpdate` that other components emit
|
|
@@ -35,6 +37,7 @@ export declare class RtkUiProvider {
|
|
|
35
37
|
iconPackChanged(newIconPack: IconPack): void;
|
|
36
38
|
tChanged(newT: RtkI18n): void;
|
|
37
39
|
configChanged(config: UIConfig): void;
|
|
40
|
+
overridesChanged(overrides: Overrides): void;
|
|
38
41
|
private roomJoinedListener;
|
|
39
42
|
private waitlistedListener;
|
|
40
43
|
private roomLeftListener;
|
|
@@ -12,12 +12,13 @@ import { IconPack } from "./lib/icons";
|
|
|
12
12
|
import { RtkI18n } from "./lib/lang";
|
|
13
13
|
import { AIView } from "./components/rtk-ai/rtk-ai";
|
|
14
14
|
import { ControlBarVariant } from "./components/rtk-controlbar-button/rtk-controlbar-button";
|
|
15
|
-
import { IconPack as IconPack1, RtkI18n as RtkI18n1, Size as Size1, States as States1, UIConfig as UIConfig1 } from "./exports";
|
|
15
|
+
import { IconPack as IconPack1, Overrides as Overrides1, RtkI18n as RtkI18n1, Size as Size1, States as States1, UIConfig as UIConfig1 } from "./exports";
|
|
16
16
|
import { AudioVisualizerVariant } from "./components/rtk-audio-visualizer/rtk-audio-visualizer";
|
|
17
17
|
import { AvatarVariant } from "./components/rtk-avatar/rtk-avatar";
|
|
18
18
|
import { DraftMeeting } from "./utils/breakout-rooms-manager";
|
|
19
19
|
import { ButtonKind, ButtonVariant } from "./components/rtk-button/rtk-button";
|
|
20
20
|
import { FileMessage, ImageMessage, Message, RTKBasicParticipant, RTKPermissionsPreset, RTKPlugin, TextMessage } from "@cloudflare/realtimekit";
|
|
21
|
+
import { Overrides } from "./lib/overrides";
|
|
21
22
|
import { ChatFilter } from "./components/rtk-chat/rtk-chat";
|
|
22
23
|
import { RtkNewMessageEvent } from "./components/rtk-chat-composer-ui/rtk-chat-composer-ui";
|
|
23
24
|
import { NewMessageEvent } from "./components/rtk-chat-composer-view/rtk-chat-composer-view";
|
|
@@ -52,12 +53,13 @@ export { IconPack } from "./lib/icons";
|
|
|
52
53
|
export { RtkI18n } from "./lib/lang";
|
|
53
54
|
export { AIView } from "./components/rtk-ai/rtk-ai";
|
|
54
55
|
export { ControlBarVariant } from "./components/rtk-controlbar-button/rtk-controlbar-button";
|
|
55
|
-
export { IconPack as IconPack1, RtkI18n as RtkI18n1, Size as Size1, States as States1, UIConfig as UIConfig1 } from "./exports";
|
|
56
|
+
export { IconPack as IconPack1, Overrides as Overrides1, RtkI18n as RtkI18n1, Size as Size1, States as States1, UIConfig as UIConfig1 } from "./exports";
|
|
56
57
|
export { AudioVisualizerVariant } from "./components/rtk-audio-visualizer/rtk-audio-visualizer";
|
|
57
58
|
export { AvatarVariant } from "./components/rtk-avatar/rtk-avatar";
|
|
58
59
|
export { DraftMeeting } from "./utils/breakout-rooms-manager";
|
|
59
60
|
export { ButtonKind, ButtonVariant } from "./components/rtk-button/rtk-button";
|
|
60
61
|
export { FileMessage, ImageMessage, Message, RTKBasicParticipant, RTKPermissionsPreset, RTKPlugin, TextMessage } from "@cloudflare/realtimekit";
|
|
62
|
+
export { Overrides } from "./lib/overrides";
|
|
61
63
|
export { ChatFilter } from "./components/rtk-chat/rtk-chat";
|
|
62
64
|
export { RtkNewMessageEvent } from "./components/rtk-chat-composer-ui/rtk-chat-composer-ui";
|
|
63
65
|
export { NewMessageEvent } from "./components/rtk-chat-composer-view/rtk-chat-composer-view";
|
|
@@ -676,6 +678,10 @@ export namespace Components {
|
|
|
676
678
|
* Meeting object
|
|
677
679
|
*/
|
|
678
680
|
"meeting": Meeting;
|
|
681
|
+
/**
|
|
682
|
+
* UI Overrides
|
|
683
|
+
*/
|
|
684
|
+
"overrides": Overrides;
|
|
679
685
|
/**
|
|
680
686
|
* @deprecated Beta API, will change in future List of target presets allowed as private chat recipient
|
|
681
687
|
*/
|
|
@@ -1988,6 +1994,10 @@ export namespace Components {
|
|
|
1988
1994
|
* Fill type
|
|
1989
1995
|
*/
|
|
1990
1996
|
"mode": MeetingMode;
|
|
1997
|
+
/**
|
|
1998
|
+
* UI Kit Overrides
|
|
1999
|
+
*/
|
|
2000
|
+
"overrides": Overrides;
|
|
1991
2001
|
/**
|
|
1992
2002
|
* Whether to show setup screen or not
|
|
1993
2003
|
*/
|
|
@@ -2051,6 +2061,10 @@ export namespace Components {
|
|
|
2051
2061
|
* Icon pack
|
|
2052
2062
|
*/
|
|
2053
2063
|
"iconPack": IconPack;
|
|
2064
|
+
/**
|
|
2065
|
+
* Variant
|
|
2066
|
+
*/
|
|
2067
|
+
"menuVariant": 'primary' | 'secondary';
|
|
2054
2068
|
/**
|
|
2055
2069
|
* Size
|
|
2056
2070
|
*/
|
|
@@ -2068,6 +2082,10 @@ export namespace Components {
|
|
|
2068
2082
|
* Icon pack
|
|
2069
2083
|
*/
|
|
2070
2084
|
"iconPack": IconPack;
|
|
2085
|
+
/**
|
|
2086
|
+
* Variant
|
|
2087
|
+
*/
|
|
2088
|
+
"menuVariant": 'primary' | 'secondary';
|
|
2071
2089
|
/**
|
|
2072
2090
|
* Language
|
|
2073
2091
|
*/
|
|
@@ -3911,6 +3929,10 @@ export namespace Components {
|
|
|
3911
3929
|
* Fill type
|
|
3912
3930
|
*/
|
|
3913
3931
|
"mode": MeetingMode1;
|
|
3932
|
+
/**
|
|
3933
|
+
* UI Kit Overrides
|
|
3934
|
+
*/
|
|
3935
|
+
"overrides": Overrides1;
|
|
3914
3936
|
/**
|
|
3915
3937
|
* Whether to show setup screen or not
|
|
3916
3938
|
*/
|
|
@@ -7303,6 +7325,10 @@ declare namespace LocalJSX {
|
|
|
7303
7325
|
* Emits updated state data
|
|
7304
7326
|
*/
|
|
7305
7327
|
"onRtkStateUpdate"?: (event: RtkChatCustomEvent<States1>) => void;
|
|
7328
|
+
/**
|
|
7329
|
+
* UI Overrides
|
|
7330
|
+
*/
|
|
7331
|
+
"overrides"?: Overrides;
|
|
7306
7332
|
/**
|
|
7307
7333
|
* @deprecated Beta API, will change in future List of target presets allowed as private chat recipient
|
|
7308
7334
|
*/
|
|
@@ -8804,6 +8830,10 @@ declare namespace LocalJSX {
|
|
|
8804
8830
|
* Emits `rtkStatesUpdate` so that developers can listen to onRtkStatesUpdate and update their own stores Do not confuse this with `rtkStateUpdate` that other components emit
|
|
8805
8831
|
*/
|
|
8806
8832
|
"onRtkStatesUpdate"?: (event: RtkMeetingCustomEvent<States>) => void;
|
|
8833
|
+
/**
|
|
8834
|
+
* UI Kit Overrides
|
|
8835
|
+
*/
|
|
8836
|
+
"overrides"?: Overrides;
|
|
8807
8837
|
/**
|
|
8808
8838
|
* Whether to show setup screen or not
|
|
8809
8839
|
*/
|
|
@@ -8867,6 +8897,10 @@ declare namespace LocalJSX {
|
|
|
8867
8897
|
* Icon pack
|
|
8868
8898
|
*/
|
|
8869
8899
|
"iconPack"?: IconPack;
|
|
8900
|
+
/**
|
|
8901
|
+
* Variant
|
|
8902
|
+
*/
|
|
8903
|
+
"menuVariant"?: 'primary' | 'secondary';
|
|
8870
8904
|
/**
|
|
8871
8905
|
* Size
|
|
8872
8906
|
*/
|
|
@@ -8884,6 +8918,10 @@ declare namespace LocalJSX {
|
|
|
8884
8918
|
* Icon pack
|
|
8885
8919
|
*/
|
|
8886
8920
|
"iconPack"?: IconPack;
|
|
8921
|
+
/**
|
|
8922
|
+
* Variant
|
|
8923
|
+
*/
|
|
8924
|
+
"menuVariant"?: 'primary' | 'secondary';
|
|
8887
8925
|
/**
|
|
8888
8926
|
* Language
|
|
8889
8927
|
*/
|
|
@@ -10893,6 +10931,10 @@ declare namespace LocalJSX {
|
|
|
10893
10931
|
* Emits `rtkStatesUpdate` so that developers can listen to onRtkStatesUpdate and update their own stores Do not confuse this with `rtkStateUpdate` that other components emit
|
|
10894
10932
|
*/
|
|
10895
10933
|
"onRtkStatesUpdate"?: (event: RtkUiProviderCustomEvent<States1>) => void;
|
|
10934
|
+
/**
|
|
10935
|
+
* UI Kit Overrides
|
|
10936
|
+
*/
|
|
10937
|
+
"overrides"?: Overrides1;
|
|
10896
10938
|
/**
|
|
10897
10939
|
* Whether to show setup screen or not
|
|
10898
10940
|
*/
|
package/dist/types/exports.d.ts
CHANGED
|
@@ -4,13 +4,14 @@ export { provideRtkDesignSystem } from './utils/provide-design-system';
|
|
|
4
4
|
export { extendConfig, generateConfig } from './utils/config';
|
|
5
5
|
export { sendNotification } from './utils/notification';
|
|
6
6
|
export { RtkUiBuilder } from './lib/builder';
|
|
7
|
-
export { uiStore, uiState, getInitialStates, createPeerStore } from './utils/sync-with-store/ui-store';
|
|
7
|
+
export { uiStore, uiState, getInitialStates, createPeerStore, } from './utils/sync-with-store/ui-store';
|
|
8
8
|
export { registerAddons, Addon } from './lib/addons';
|
|
9
9
|
export { UIConfig } from './types/ui-config';
|
|
10
10
|
export { States, Notification, Size, UserPreferences, PollObject, PartialStateEvent, } from './types/props';
|
|
11
11
|
export { Peer } from './types/rtk-client';
|
|
12
12
|
export { defaultConfig, createDefaultConfig } from './lib/default-ui-config';
|
|
13
13
|
export { IconPack, defaultIconPack } from './lib/icons';
|
|
14
|
+
export { type Overrides, defaultOverrides } from './lib/overrides';
|
|
14
15
|
export { LangDict, defaultLanguage, RtkI18n, useLanguage } from './lib/lang';
|
|
15
16
|
export { Sound, default as RtkNotificationsAudio } from './lib/notification';
|
|
16
17
|
export { generateChatGroupKey, getChatGroups, getUnreadChatCounts, getParticipantUserId, } from './utils/chat';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initialisation overrides for UI component behavior.
|
|
3
|
+
* These values are passed through rtk-ui-provider or rtk-meeting
|
|
4
|
+
* and take effect across all child components.
|
|
5
|
+
*/
|
|
6
|
+
export interface Overrides {
|
|
7
|
+
/**
|
|
8
|
+
* Disables the emoji picker button in chat composer.
|
|
9
|
+
* When true, users cannot insert emojis into chat messages.
|
|
10
|
+
*/
|
|
11
|
+
disableEmojiPicker?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Default UI Kit Overrides
|
|
15
|
+
*/
|
|
16
|
+
export declare const defaultOverrides: Overrides;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import RealtimeKitClient from '@cloudflare/realtimekit';
|
|
2
2
|
export declare const FlagsmithFeatureFlags: {
|
|
3
3
|
PLAY_PARTICIPANT_TILE_VIDEO_ON_PAUSE: string;
|
|
4
|
-
DISABLE_EMOJI_PICKER: string;
|
|
5
4
|
FEAT_PAGINATED_CHAT: string;
|
|
6
5
|
LOG_PLAYING_FAILURES: string;
|
|
7
6
|
FEAT_CHANNEL_CHAT: string;
|
|
@@ -4,6 +4,7 @@ import { type RtkI18n } from '../../lib/lang';
|
|
|
4
4
|
import { type IconPack } from '../../lib/icons';
|
|
5
5
|
import { type States } from '../../types/props';
|
|
6
6
|
import { UIConfig } from '../../exports';
|
|
7
|
+
import { type Overrides } from '../../lib/overrides';
|
|
7
8
|
export declare const getInitialStates: (peerId?: string) => States;
|
|
8
9
|
export interface RtkUiStore {
|
|
9
10
|
meeting: Meeting | undefined | null;
|
|
@@ -14,6 +15,7 @@ export interface RtkUiStore {
|
|
|
14
15
|
peerId: string | null;
|
|
15
16
|
storeType: 'global' | 'peer';
|
|
16
17
|
storeId: string;
|
|
18
|
+
overrides: Overrides;
|
|
17
19
|
}
|
|
18
20
|
export type RtkUiStoreExtended = ObservableMap<RtkUiStore> & {
|
|
19
21
|
elementsMap: Map<string, HTMLElement[]>;
|
|
@@ -21,12 +23,13 @@ export type RtkUiStoreExtended = ObservableMap<RtkUiStore> & {
|
|
|
21
23
|
declare const uiStore: RtkUiStoreExtended;
|
|
22
24
|
declare const uiState: RtkUiStore;
|
|
23
25
|
export { uiStore, uiState };
|
|
24
|
-
export declare function createPeerStore({ meeting, config, providerId, iconPack, t }: {
|
|
26
|
+
export declare function createPeerStore({ meeting, config, providerId, iconPack, t, overrides, }: {
|
|
25
27
|
meeting: RealtimeKitClient;
|
|
26
28
|
config?: UIConfig;
|
|
27
29
|
providerId: string;
|
|
28
30
|
iconPack: IconPack;
|
|
29
31
|
t: RtkI18n;
|
|
32
|
+
overrides?: Overrides;
|
|
30
33
|
}): RtkUiStoreExtended;
|
|
31
34
|
declare function appendElement(propName: string, element: HTMLElement, targetStore?: RtkUiStoreExtended): void;
|
|
32
35
|
declare function removeElement(propName: string, element: HTMLElement, targetStore?: RtkUiStoreExtended): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/realtimekit-ui",
|
|
3
|
-
"version": "1.1.0-staging.
|
|
3
|
+
"version": "1.1.0-staging.3",
|
|
4
4
|
"description": "Pre-built, ready-to-use UI components and utilities for integrating with Cloudflare RealtimeKit",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as s,a as e}from"./p-0ee570cd.js";import{c as a,e as r,h}from"./p-e87928f7.js";import{d as n}from"./p-b13ddb7d.js";import{R as d}from"./p-c8eaa707.js";import{S as o}from"./p-80c856cd.js";var l=function(t,i,s,e){var a,r=arguments.length,h=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,i,s,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(h=(r<3?a(h):r>3?a(i,s,h):a(i,s))||h);return r>3&&h&&Object.defineProperty(i,s,h),h};const p=class{constructor(i){t(this,i),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.aspectRatio="16:9",this.gap=8,this.config=a(),this.iconPack=r,this.t=h(),this.gridSize=n}componentWillLoad(){this.initialised=!1,this.screenShareParticipantsChanged(this.screenShareParticipants),this.pluginsChanged(this.plugins),this.initialised=!0}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting.meta)||void 0===t||t.removeListener("activeTabUpdate",this.activeTabUpdateListener)}meetingChanged(t){var i,s,e,a;null!=t&&(null!=(null===(i=t.meta)||void 0===i?void 0:i.selfActiveTab)&&this.onActiveTabUpdate(null===(s=t.meta.selfActiveTab)||void 0===s?void 0:s.type,null===(e=t.meta.selfActiveTab)||void 0===e?void 0:e.id),this.activeTabUpdateListener=t=>{this.onActiveTabUpdate(null==t?void 0:t.type,null==t?void 0:t.id)},null===(a=t.meta)||void 0===a||a.addListener("activeTabUpdate",this.activeTabUpdateListener))}screenShareParticipantsChanged(t=[]){(this.initialised||null==this.activeTab)&&(null==this.activeTab&&t.length>0?this.setActiveTab({type:"screenshare",participant:t[0]}):this.revalidateActiveTab())}pluginsChanged(t){(this.initialised||null==this.activeTab)&&(t.length>0?this.setActiveTab({type:"plugin",plugin:t[t.length-1]}):this.revalidateActiveTab())}revalidateActiveTab(){if(null!=this.activeTab)if("screenshare"===this.activeTab.type){const{participant:t}=this.activeTab;this.screenShareParticipants.some((i=>i.id===t.id))||this.reassignActiveTab()}else{const{plugin:t}=this.activeTab;this.plugins.some((i=>i.id===t.id))||this.reassignActiveTab()}}setActiveTab(t,i=!0){var s;this.activeTab=t,i&&(null===(s=this.meeting.meta)||void 0===s||s.setSelfActiveTab({type:t.type,id:"screenshare"===t.type?t.participant.id:t.plugin.id},0))}reassignActiveTab(){this.screenShareParticipants.length>0?this.setActiveTab({type:"screenshare",participant:this.screenShareParticipants[0]}):this.plugins.length>0&&this.setActiveTab({type:"plugin",plugin:this.plugins[this.plugins.length-1]})}onActiveTabUpdate(t,i){if(null!=t&&null!=i)switch(t){case"plugin":const t=this.plugins.find((t=>t.id===i));null!=t&&this.setActiveTab({type:"plugin",plugin:t},!1);break;case"screenshare":const s=this.screenShareParticipants.find((t=>t.id===i));null!=s&&this.setActiveTab({type:"screenshare",participant:s},!1)}}getTabs(){const t=this.screenShareParticipants.map((t=>({type:"screenshare",participant:t}))),i=this.plugins.map((t=>({type:"plugin",plugin:t})));return t.concat(i)}render(){var t,e;if(!this.meeting)return null;const a={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t};return i(s,null,i("main",{id:"main-view",part:"main-view"},(null===(t=this.getTabs())||void 0===t?void 0:t.length)>1&&i("rtk-tab-bar",Object.assign({activeTab:this.activeTab,tabs:this.getTabs(),onTabChange:t=>this.setActiveTab(t.detail)},a)),i("div",{id:"tabs",key:"tabs"},this.screenShareParticipants.map((t=>{var s,e;return i(d,{element:"rtk-screenshare-view",defaults:a,props:{participant:t,key:t.id,style:{display:"screenshare"===(null===(s=this.activeTab)||void 0===s?void 0:s.type)&&(null===(e=this.activeTab)||void 0===e?void 0:e.participant.id)===t.id?"flex":"none"}},childProps:{participant:t,isScreenShare:!0},deepProps:!0})})),this.plugins.map((t=>{var s,e;return i("rtk-plugin-main",Object.assign({},a,{plugin:t,key:t.id,style:{display:"plugin"===(null===(s=this.activeTab)||void 0===s?void 0:s.type)&&(null===(e=this.activeTab)||void 0===e?void 0:e.plugin.id)===t.id?"flex":"none"}}))})))),i(d,{element:"rtk-mixed-grid",defaults:a,childProps:{part:"participants-grid",class:this.gridSize.mixed?`grid-width-${this.gridSize.mixed}`:"grid-width-lg",participants:this.participants,pinnedParticipants:this.pinnedParticipants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,aspectRatio:this.aspectRatio,gap:this.gap,size:"AUDIO_ROOM"===(null===(e=this.meeting.meta)||void 0===e?void 0:e.viewType)?"md":"sm",layout:"row"},onlyChildren:!0}))}get host(){return e(this)}static get watchers(){return{meeting:["meetingChanged"],screenShareParticipants:["screenShareParticipantsChanged"],plugins:["pluginsChanged"]}}};l([o()],p.prototype,"meeting",void 0),l([o()],p.prototype,"states",void 0),l([o()],p.prototype,"config",void 0),l([o()],p.prototype,"iconPack",void 0),l([o()],p.prototype,"t",void 0),p.style=":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:block;height:100%;width:100%;display:flex}main{display:flex;flex:1 1 0%;padding-left:var(--rtk-space-4, 16px)}:host([layout='column']) main{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}main rtk-tab-bar{margin-right:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;height:100%;width:var(--rtk-space-16, 64px);flex-direction:column}main #tabs{height:100%;flex:1 1 0%}rtk-button{z-index:10}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}.col{display:flex;flex-direction:column;align-items:center}.tab{display:flex;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);align-items:center;justify-content:center;margin-bottom:var(--rtk-space-2, 8px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.tab.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.tab img{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);border-radius:var(--rtk-border-radius-sm, 4px)}:host([size='sm']){flex-direction:column}:host([size='sm']) .grid-width-lg,:host([size='sm']) .grid-width-md{height:50%;width:100%;max-width:100%}:host([size='sm']) .grid-width-sm{height:33.333333%;width:100%;max-width:100%}:host([size='sm']) main{display:flex;flex:1 1 0%;flex-direction:column;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host([size='sm']) rtk-tab-bar{height:var(--rtk-space-12, 48px);width:100%;flex-direction:row}:host([size='sm']) #tabs{flex:1 1 0%}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-2, 8px)}:host([layout='column']){flex-direction:column}:host([layout='column']) main{display:flex;flex:1 1 0%}:host([layout='column']) .grid-width-lg,:host([layout='column']) .grid-width-md{height:50%;max-width:100%;width:100%}:host([layout='column']) .grid-width-sm{height:33.333333%;max-width:100%;width:100%}@media (orientation: portrait){:host{flex-direction:column}:host .grid-width-lg{height:50%;width:100%;max-width:100%}:host .grid-width-md{height:33.333333%;width:100%;max-width:100%}:host .grid-width-sm{height:25%;width:100%;max-width:100%}:host main{flex:1 1 0%;flex-direction:column;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host([size='md']) main{flex:1 1 0%;flex-direction:column;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host rtk-tab-bar{height:var(--rtk-space-16, 64px);width:100%;flex-direction:row}:host #tabs{flex:1 1 0%}:host .tab{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-2, 8px)}}@media (orientation: landscape){:host{flex-direction:row}:host([size='sm']){flex-direction:row}:host .grid-width-lg{height:50%;width:100%;max-width:100%}:host([size='sm']) .grid-width-sm{height:100%;max-height:100%;width:16.666667%}:host([size='sm']) main{flex:1 1 0%;flex-direction:row;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}:host([size='md']) main{flex:1 1 0%;flex-direction:row;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host([size='sm']) rtk-tab-bar{margin-right:var(--rtk-space-2, 8px);height:100%;width:var(--rtk-space-12, 48px);flex-direction:column}:host #tabs{flex:1 1 0%}:host .tab{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-2, 8px)}}";export{p as rtk_mixed_grid}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as a}from"./p-0ee570cd.js";import{e as s,h as i}from"./p-e87928f7.js";import{S as r}from"./p-80c856cd.js";var o=function(t,e,a,s){var i,r=arguments.length,o=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,s);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(o=(r<3?i(o):r>3?i(e,a,o):i(e,a))||o);return r>3&&o&&Object.defineProperty(e,a,o),o};const c=class{constructor(a){t(this,a),this.iconPack=s,this.t=i(),this.pageSize=50,this.searchMessages=async(t,e,a)=>this.meeting.chat.searchMessages(this.query,{channelId:this.channelId,timestamp:t,size:e,reversed:a}),this.nodeRenderer=t=>t.map((t=>e("rtk-chat-message",{key:t.id,message:t,disableControls:!0})))}render(){return e(a,{key:"226b9e52950fca3d296b041dbd93a6c060ad4abe"},e("rtk-paginated-list",{key:"102af9de7e52317a5f9a8272e9e8a302f99268da",pageSize:this.pageSize,pagesAllowed:3,fetchData:this.searchMessages,createNodes:this.nodeRenderer,selectedItemId:this.query}))}};o([r()],c.prototype,"meeting",void 0),o([r()],c.prototype,"iconPack",void 0),o([r()],c.prototype,"t",void 0),c.style=":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;height:100%;flex-direction:column;position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}";export{c as rtk_chat_search_results}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as r}from"./p-0ee570cd.js";import{e as o,h as i}from"./p-e87928f7.js";import{S as s}from"./p-80c856cd.js";var c=function(e,t,a,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,a,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(s=(i<3?o(s):i>3?o(t,a,s):o(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const n=class{constructor(a){e(this,a),this.onDropCallback=t(this,"dropCallback",7),this.iconPack=o,this.t=i(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(e=>{e.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(e=>{e.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(e)}))}render(){return a(r,{key:"d3fd9af2a148277b2481c94305104e43088a9b42"},a("div",{key:"f889ddc5635013ae7f364a6d36ef51936e179f7d",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},a("rtk-icon",{key:"ceb747a5fba7aa40ef108d404a7b8b02e6ab25b9",icon:this.iconPack.attach}),a("p",{key:"711b8a1ace2d73714f9abdbaba8c031e204fe07e"},this.t("chat.send_attachment"))))}};c([s()],n.prototype,"iconPack",void 0),c([s()],n.prototype,"t",void 0),n.style="#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}";export{n as rtk_file_dropzone}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,c as t,h as e,H as a}from"./p-0ee570cd.js";import{S as r}from"./p-80c856cd.js";import{e as o,h as i}from"./p-e87928f7.js";const s=class{constructor(e){n(this,e),this.tabChange=t(this,"tabChange",7),this.sidebarClose=t(this,"sidebarClose",7),this.view="sidebar",this.tabs=[],this.hideHeader=!1,this.hideCloseAction=!1,this.iconPack=o,this.focusCloseButton=!0,this.t=i(),this.onClose=()=>{var n;this.sidebarClose.emit(),document.activeElement instanceof HTMLElement&&(null===(n=document.activeElement.tagName)||void 0===n?void 0:n.includes("RTK-"))&&document.activeElement.blur instanceof Function&&document.activeElement.blur()}}componentDidLoad(){this.keydownListener=n=>{"Escape"===n.key&&this.onClose()},this.hostEl.addEventListener("keydown",this.keydownListener),this.handleFocusCloseButton()}handleFocusCloseButton(){"chat"===this.currentTab||this.hideCloseAction||this.closeButton.focus()}disconnectedCallback(){this.hostEl.removeEventListener("keydown",this.keydownListener)}render(){const n="full-screen"===this.view,t=this.tabs.find((n=>n.id===this.currentTab));return e(a,{key:"bc9969254516bb334f0bbc6216432121d675a83e",ref:n=>this.hostEl=n,class:this.view},!this.hideCloseAction&&e("rtk-button",{key:"ce9dabf448e0914fa516c717825ee00ad476d412",ref:n=>this.closeButton=n,variant:"ghost",kind:"icon",class:"close",onClick:this.onClose,"aria-label":this.t("close")},e("rtk-icon",{key:"5966e4c6a7bbdea25fa64e197c47fcded0625754",icon:this.iconPack.dismiss})),t&&!this.hideHeader&&e("header",{key:"3b7109ba37e019a3da3a0aeb07b54fcf28e869b4",class:"main-header"},e("h3",{key:"c57a8719fe6dca4ed092fbb21733c0d0ac074dc3"},t.name),e("slot",{key:"f95589b898e0b4a8001d45d5b4c833576fab4fd8",name:"pinned-state"})),n&&e("header",{key:"72cd52ea2a27caf4dc826d4222738325853281c8",class:"mobile-tabs"},this.tabs.map((n=>e("button",{onClick:()=>{this.tabChange.emit(n.id)},class:{active:this.currentTab===n.id}},n.name)))),e("slot",{key:"266ec59a2d04803b2d035f7929394e66e92aa542",name:this.currentTab}))}static get watchers(){return{currentTab:["handleFocusCloseButton"]}}};(function(n,t,e,a){var r,o=arguments.length,i=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(n,t,e,a);else for(var s=n.length-1;s>=0;s--)(r=n[s])&&(i=(o<3?r(i):o>3?r(t,e,i):r(t,e))||i);o>3&&i&&Object.defineProperty(t,e,i)})([r()],s.prototype,"t",void 0),s.style=":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n\n:host {\n position: relative;\n height: 100%;\n width: 100%;\n font-family: var(--rtk-font-family, sans-serif);\n z-index: 50;\n display: flex;\n flex-direction: column;\n\n container-type: size;\n container-name: sidebarui;\n}\n\n@container sidebarui (height < 370px) {\n .main-header {\n height: var(--rtk-space-8, 32px) !important;\n }\n .close {\n top: var(--rtk-space-0\\.5, 2px) !important;\n left: var(--rtk-space-0, 0px) !important;\n color: rgba(var(--rtk-colors-danger, 255 45 45) / 0.6);\n }\n}\n\n:host([view='sidebar']) {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));\n}\n\n:host([view='full-screen']) {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n max-width: 100%;\n border: none;\n}\n\n::slotted(*) {\n flex-grow: 1;\n}\n\n.close {\n position: absolute;\n top: var(--rtk-space-2, 8px);\n left: var(--rtk-space-2, 8px);\n z-index: 10;\n}\n\n.main-header {\n position: relative;\n display: flex;\n height: var(--rtk-space-12, 48px);\n place-items: center;\n justify-content: center;\n}\n\n.main-header, \n.mobile-tabs {\n flex-shrink: 0;\n}\n\n.mobile-tabs {\n display: flex;\n place-items: center;\n justify-content: space-evenly;\n border-bottom: 1px solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.mobile-tabs button {\n margin: var(--rtk-space-0, 0px);\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n background-color: transparent;\n padding: var(--rtk-space-0, 0px);\n color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));\n height: var(--rtk-space-10, 40px);\n cursor: pointer;\n padding-left: var(--rtk-space-4, 16px);\n padding-right: var(--rtk-space-4, 16px);\n font-weight: 500;\n border-bottom: 1px solid transparent;\n}\n\n.mobile-tabs button.active {\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));\n}\n\nheader h3 {\n font-size: 14px;\n font-weight: 500;\n}\n\n@media only screen and (max-device-height: 480px) and (orientation: landscape) {\n .main-header {\n display: none !important;\n }\n}\n\n.tab-participant-count-badge {\n display: inline-block;\n padding: 2px 5px;\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));\n}\n\n.tab-participant-count-badge:not(.selected-tab) {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n}\n\n.tab-participant-count-badge.requests-pending{\n background-color: rgba(var(--rtk-colors-danger));\n}\n";export{s as rtk_sidebar_ui}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as r}from"./p-0ee570cd.js";import{e as s,h as o}from"./p-e87928f7.js";import{S as i}from"./p-80c856cd.js";var n=function(t,e,a,r){var s,o=arguments.length,i=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,a,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(i=(o<3?s(i):o>3?s(e,a,i):s(e,a))||i);return o>3&&i&&Object.defineProperty(e,a,i),i};const c=class{constructor(a){t(this,a),this.stateUpdate=e(this,"rtkStateUpdate",7),this.iconPack=s,this.t=o()}render(){return a(r,{key:"a8869602eda342c0c2de8682ab0b68cf68b4883e"},a("slot",{key:"f2c477f44bed9ac574795d934db9f72920b73180"}))}};n([i()],c.prototype,"iconPack",void 0),n([i()],c.prototype,"t",void 0),c.style=":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:block;position:relative;overflow:hidden}";export{c as rtk_stage}
|