@cloudflare/realtimekit-ui 0.0.0 → 1.0.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/README.md +62 -0
- package/dist/browser.js +1 -0
- package/dist/cjs/ChatHead-d2f094ec.js +46 -0
- package/dist/cjs/ResizeObserver.es-ba961f16.js +930 -0
- package/dist/cjs/TextMessage-e9ca06aa.js +69 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/chat-46e7e4fe.js +217 -0
- package/dist/cjs/clone-2e9a4cae.js +754 -0
- package/dist/cjs/config-dba24e25.js +1183 -0
- package/dist/cjs/debounce-6080cc73.js +544 -0
- package/dist/cjs/debounce-6dabb441.js +331 -0
- package/dist/cjs/file-33e9ed90.js +61 -0
- package/dist/cjs/floating-ui.dom.esm-c3c35b98.js +1900 -0
- package/dist/cjs/full-screen-de3e9caf.js +55 -0
- package/dist/cjs/grid-edc342a7.js +99 -0
- package/dist/cjs/hark-c97d0a59.js +301 -0
- package/dist/cjs/index-05554ce6.js +2191 -0
- package/dist/cjs/index-821d14b7.js +227 -0
- package/dist/cjs/index-daae8cee.js +26 -0
- package/dist/cjs/index.cjs.js +268 -0
- package/dist/cjs/isObjectLike-73d13a39.js +171 -0
- package/dist/cjs/keysIn-8bdbe83d.js +1438 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/logger-3df9c75d.js +5 -0
- package/dist/cjs/notification-1948ed2f.js +44 -0
- package/dist/cjs/realtimekit-ui.cjs.js +25 -0
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +76 -0
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +138 -0
- package/dist/cjs/rtk-ai.cjs.entry.js +91 -0
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +116 -0
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +130 -0
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +501 -0
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +6378 -0
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +86 -0
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +281 -0
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +186 -0
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +84 -0
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +147 -0
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +315 -0
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +78 -0
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +138 -0
- package/dist/cjs/rtk-clock.cjs.entry.js +98 -0
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +49 -0
- package/dist/cjs/rtk-controlbar.cjs.entry.js +66 -0
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +61 -0
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +109 -0
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +60 -0
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +86 -0
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +159 -0
- package/dist/cjs/rtk-grid.cjs.entry.js +362 -0
- package/dist/cjs/rtk-header.cjs.entry.js +66 -0
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +47 -0
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +62 -0
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +37 -0
- package/dist/cjs/rtk-leave-button.cjs.entry.js +52 -0
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +29148 -0
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +142 -0
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +49 -0
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +285 -0
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +184 -0
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +226 -0
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +77 -0
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +79 -0
- package/dist/cjs/rtk-name-tag.cjs.entry.js +72 -0
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +86 -0
- package/dist/cjs/rtk-participant-count.cjs.entry.js +91 -0
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +118 -0
- package/dist/cjs/rtk-participant_2.cjs.entry.js +419 -0
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +207 -0
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +467 -0
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +150 -0
- package/dist/cjs/rtk-participants.cjs.entry.js +190 -0
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +88 -0
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +196 -0
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +106 -0
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +181 -0
- package/dist/cjs/rtk-poll_2.cjs.entry.js +142 -0
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +117 -0
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +70 -0
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +162 -0
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +266 -0
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +149 -0
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +150 -0
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +57 -0
- package/dist/cjs/rtk-settings.cjs.entry.js +124 -0
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +120 -0
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +80 -0
- package/dist/cjs/rtk-sidebar.cjs.entry.js +151 -0
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +118 -0
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +107 -0
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +85 -0
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +147 -0
- package/dist/cjs/rtk-stage.cjs.entry.js +43 -0
- package/dist/cjs/rtk-transcript.cjs.entry.js +58 -0
- package/dist/cjs/rtk-transcripts.cjs.entry.js +167 -0
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +168 -0
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +47 -0
- package/dist/cjs/scroll-c6404609.js +15 -0
- package/dist/cjs/sidebar-a3c87828.js +50 -0
- package/dist/cjs/size-2a406e36.js +28 -0
- package/dist/cjs/string-a410fab6.js +64 -0
- package/dist/cjs/ui-store-3ddce955.js +1608 -0
- package/dist/collection/collection-manifest.json +149 -0
- package/dist/collection/components/rtk-ai/rtk-ai.css +69 -0
- package/dist/collection/components/rtk-ai/rtk-ai.js +292 -0
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.css +8 -0
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +257 -0
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.css +139 -0
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +221 -0
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.css +102 -0
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +292 -0
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.css +118 -0
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +308 -0
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.css +46 -0
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +324 -0
- package/dist/collection/components/rtk-avatar/rtk-avatar.css +117 -0
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +202 -0
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.css +272 -0
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +509 -0
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.css +269 -0
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +305 -0
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.css +17 -0
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +273 -0
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.css +379 -0
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +481 -0
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.css +111 -0
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +198 -0
- package/dist/collection/components/rtk-button/rtk-button.css +185 -0
- package/dist/collection/components/rtk-button/rtk-button.js +198 -0
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.css +146 -0
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +263 -0
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.css +22 -0
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +350 -0
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.css +17 -0
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +289 -0
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +210 -0
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +287 -0
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +93 -0
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +148 -0
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +99 -0
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +255 -0
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +330 -0
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +283 -0
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +306 -0
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +341 -0
- package/dist/collection/components/rtk-chat/components/ChatHead.js +6 -0
- package/dist/collection/components/rtk-chat/rtk-chat.css +224 -0
- package/dist/collection/components/rtk-chat/rtk-chat.js +866 -0
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.css +304 -0
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +583 -0
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.css +111 -0
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +535 -0
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +428 -0
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +569 -0
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +191 -0
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +420 -0
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.css +7 -0
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +465 -0
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.css +22 -0
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +170 -0
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.css +219 -0
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +245 -0
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +65 -0
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +338 -0
- package/dist/collection/components/rtk-clock/rtk-clock.css +46 -0
- package/dist/collection/components/rtk-clock/rtk-clock.js +163 -0
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +68 -0
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +198 -0
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.css +32 -0
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +259 -0
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.css +188 -0
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +248 -0
- package/dist/collection/components/rtk-counter/rtk-counter.css +64 -0
- package/dist/collection/components/rtk-counter/rtk-counter.js +219 -0
- package/dist/collection/components/rtk-debugger/rtk-debugger.css +262 -0
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +271 -0
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.css +180 -0
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +294 -0
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.css +175 -0
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +339 -0
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.css +176 -0
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +260 -0
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.css +17 -0
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +234 -0
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.css +180 -0
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +306 -0
- package/dist/collection/components/rtk-dialog/rtk-dialog.css +47 -0
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +322 -0
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.css +17 -0
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +343 -0
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.css +81 -0
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +180 -0
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +141 -0
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +192 -0
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.css +3 -0
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +113 -0
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.css +80 -0
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +270 -0
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.css +20 -0
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +162 -0
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +186 -0
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.css +76 -0
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +127 -0
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.css +3 -0
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +206 -0
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.css +22 -0
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +268 -0
- package/dist/collection/components/rtk-grid/rtk-grid.css +122 -0
- package/dist/collection/components/rtk-grid/rtk-grid.js +678 -0
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +174 -0
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +327 -0
- package/dist/collection/components/rtk-header/rtk-header.css +35 -0
- package/dist/collection/components/rtk-header/rtk-header.js +259 -0
- package/dist/collection/components/rtk-icon/rtk-icon.css +73 -0
- package/dist/collection/components/rtk-icon/rtk-icon.js +124 -0
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +40 -0
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +152 -0
- package/dist/collection/components/rtk-image-message/rtk-image-message.css +21 -0
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +235 -0
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.css +117 -0
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +152 -0
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.css +99 -0
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +183 -0
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.css +41 -0
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +65 -0
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.css +131 -0
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +310 -0
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.css +17 -0
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +182 -0
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.css +75 -0
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +239 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +65 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +180 -0
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.css +177 -0
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +485 -0
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.css +22 -0
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +315 -0
- package/dist/collection/components/rtk-logo/rtk-logo.css +34 -0
- package/dist/collection/components/rtk-logo/rtk-logo.js +177 -0
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +44 -0
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +136 -0
- package/dist/collection/components/rtk-meeting/rtk-meeting.css +43 -0
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +520 -0
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +38 -0
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +128 -0
- package/dist/collection/components/rtk-menu/rtk-menu.css +25 -0
- package/dist/collection/components/rtk-menu/rtk-menu.js +217 -0
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +46 -0
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +130 -0
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +30 -0
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +100 -0
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.css +68 -0
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +439 -0
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +169 -0
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +283 -0
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.css +27 -0
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +348 -0
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.css +146 -0
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +276 -0
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.css +257 -0
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +577 -0
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.css +61 -0
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +210 -0
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.css +17 -0
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +237 -0
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.css +74 -0
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +185 -0
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.css +55 -0
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +253 -0
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.css +68 -0
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +213 -0
- package/dist/collection/components/rtk-notification/rtk-notification.css +161 -0
- package/dist/collection/components/rtk-notification/rtk-notification.js +226 -0
- package/dist/collection/components/rtk-notifications/rtk-notifications.css +30 -0
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +736 -0
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.css +41 -0
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +181 -0
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +337 -0
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +591 -0
- package/dist/collection/components/rtk-participant/rtk-participant.css +91 -0
- package/dist/collection/components/rtk-participant/rtk-participant.js +503 -0
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +42 -0
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +205 -0
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.css +111 -0
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +338 -0
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.css +283 -0
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +464 -0
- package/dist/collection/components/rtk-participants/rtk-participants.css +127 -0
- package/dist/collection/components/rtk-participants/rtk-participants.js +404 -0
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.css +46 -0
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +282 -0
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.css +61 -0
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +364 -0
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.css +116 -0
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +286 -0
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.css +50 -0
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +348 -0
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.css +58 -0
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +326 -0
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.css +107 -0
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +263 -0
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.css +110 -0
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +325 -0
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.css +22 -0
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +293 -0
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.css +89 -0
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +232 -0
- package/dist/collection/components/rtk-plugins/rtk-plugins.css +105 -0
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +251 -0
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.css +22 -0
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +301 -0
- package/dist/collection/components/rtk-poll/rtk-poll.css +153 -0
- package/dist/collection/components/rtk-poll/rtk-poll.js +202 -0
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.css +121 -0
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +175 -0
- package/dist/collection/components/rtk-polls/rtk-polls.css +69 -0
- package/dist/collection/components/rtk-polls/rtk-polls.js +242 -0
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.css +51 -0
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +315 -0
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +63 -0
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +184 -0
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.css +17 -0
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +342 -0
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.css +22 -0
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +470 -0
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +294 -0
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +394 -0
- package/dist/collection/components/rtk-settings/rtk-settings.css +241 -0
- package/dist/collection/components/rtk-settings/rtk-settings.js +286 -0
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.css +59 -0
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +230 -0
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.css +17 -0
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +216 -0
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.css +135 -0
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +256 -0
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +175 -0
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +309 -0
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +65 -0
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +417 -0
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.css +135 -0
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +289 -0
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.css +20 -0
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +343 -0
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.css +144 -0
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +299 -0
- package/dist/collection/components/rtk-spinner/rtk-spinner.css +52 -0
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +99 -0
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.css +88 -0
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +402 -0
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.css +102 -0
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +195 -0
- package/dist/collection/components/rtk-stage/rtk-stage.css +19 -0
- package/dist/collection/components/rtk-stage/rtk-stage.js +125 -0
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.css +22 -0
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +321 -0
- package/dist/collection/components/rtk-switch/rtk-switch.css +51 -0
- package/dist/collection/components/rtk-switch/rtk-switch.js +211 -0
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.css +194 -0
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +330 -0
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.css +81 -0
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +316 -0
- package/dist/collection/components/rtk-text-message/components/TextMessage.js +62 -0
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +185 -0
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.css +25 -0
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +68 -0
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.css +67 -0
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +349 -0
- package/dist/collection/components/rtk-transcript/rtk-transcript.css +96 -0
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +140 -0
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.css +32 -0
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +281 -0
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +5 -0
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +374 -0
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +61 -0
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +191 -0
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.css +4 -0
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +264 -0
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.css +45 -0
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +148 -0
- package/dist/collection/exports.js +16 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/lib/addons/index.js +19 -0
- package/dist/collection/lib/audio.js +54 -0
- package/dist/collection/lib/builder/index.js +203 -0
- package/dist/collection/lib/default-ui-config.js +324 -0
- package/dist/collection/lib/grid.js +94 -0
- package/dist/collection/lib/icons/default-icon-pack.js +87 -0
- package/dist/collection/lib/icons/index.js +20 -0
- package/dist/collection/lib/lang/default-language.js +415 -0
- package/dist/collection/lib/lang/index.js +17 -0
- package/dist/collection/lib/notification.js +39 -0
- package/dist/collection/lib/render/index.js +97 -0
- package/dist/collection/lib/render/utils.js +115 -0
- package/dist/collection/lib/visualizer.js +42 -0
- package/dist/collection/theme/colors.js +130 -0
- package/dist/collection/theme/index.js +65 -0
- package/dist/collection/theme/presets/border.js +46 -0
- package/dist/collection/theme/presets/themes.js +35 -0
- package/dist/collection/theme/space.js +17 -0
- package/dist/collection/theme/tests/space.spec.js +17 -0
- package/dist/collection/types/floating-ui.js +1 -0
- package/dist/collection/types/props.js +1 -0
- package/dist/collection/types/rtk-ai.js +1 -0
- package/dist/collection/types/rtk-client.js +10 -0
- package/dist/collection/types/ui-config/config.js +35 -0
- package/dist/collection/types/ui-config/design-tokens.js +1 -0
- package/dist/collection/types/ui-config/index.js +1 -0
- package/dist/collection/types/ui-config/root.js +1 -0
- package/dist/collection/utils/assets.js +13 -0
- package/dist/collection/utils/breakout-rooms-manager.js +299 -0
- package/dist/collection/utils/breakout-rooms.js +69 -0
- package/dist/collection/utils/chat.js +198 -0
- package/dist/collection/utils/clone.js +7 -0
- package/dist/collection/utils/color.js +175 -0
- package/dist/collection/utils/config.js +359 -0
- package/dist/collection/utils/date.js +30 -0
- package/dist/collection/utils/debugger-utils.js +83 -0
- package/dist/collection/utils/file.js +54 -0
- package/dist/collection/utils/flags.js +24 -0
- package/dist/collection/utils/full-screen.js +48 -0
- package/dist/collection/utils/graceful-storage.js +18 -0
- package/dist/collection/utils/livestream.js +100 -0
- package/dist/collection/utils/logger.js +1 -0
- package/dist/collection/utils/notification.js +15 -0
- package/dist/collection/utils/provide-design-system.js +114 -0
- package/dist/collection/utils/scroll.js +11 -0
- package/dist/collection/utils/sidebar.js +42 -0
- package/dist/collection/utils/size.js +14 -0
- package/dist/collection/utils/stage.js +9 -0
- package/dist/collection/utils/string.js +56 -0
- package/dist/collection/utils/sync-with-store/index.js +21 -0
- package/dist/collection/utils/sync-with-store/ui-store.js +56 -0
- package/dist/collection/utils/time.js +9 -0
- package/dist/collection/utils/troubleshooter.js +469 -0
- package/dist/collection/utils/user-prefs.js +20 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +246 -0
- package/dist/components/p-02f19345.js +50 -0
- package/dist/components/p-0752f2ba.js +13 -0
- package/dist/components/p-0a9d8224.js +168 -0
- package/dist/components/p-0abe4b8a.js +200 -0
- package/dist/components/p-0c4a1808.js +305 -0
- package/dist/components/p-0c94b402.js +309 -0
- package/dist/components/p-0e02697c.js +85 -0
- package/dist/components/p-0ea515b2.js +108 -0
- package/dist/components/p-0eab3933.js +97 -0
- package/dist/components/p-10182034.js +61 -0
- package/dist/components/p-10759cad.js +95 -0
- package/dist/components/p-135d5d2f.js +82 -0
- package/dist/components/p-1a546cf4.js +628 -0
- package/dist/components/p-24e9b37b.js +157 -0
- package/dist/components/p-24ffce5a.js +227 -0
- package/dist/components/p-260b86da.js +131 -0
- package/dist/components/p-2c3cda13.js +164 -0
- package/dist/components/p-2ecf028f.js +168 -0
- package/dist/components/p-2f2fb96d.js +62 -0
- package/dist/components/p-31964573.js +1892 -0
- package/dist/components/p-31a1dc4d.js +159 -0
- package/dist/components/p-31ce3b90.js +182 -0
- package/dist/components/p-32d788e7.js +149 -0
- package/dist/components/p-3358d7dc.js +108 -0
- package/dist/components/p-338c7261.js +58 -0
- package/dist/components/p-35d6211b.js +81 -0
- package/dist/components/p-382270d8.js +32 -0
- package/dist/components/p-3d845f44.js +131 -0
- package/dist/components/p-3f882e7c.js +299 -0
- package/dist/components/p-406292be.js +68 -0
- package/dist/components/p-4096426e.js +92 -0
- package/dist/components/p-4307888c.js +96 -0
- package/dist/components/p-4608147b.js +105 -0
- package/dist/components/p-46690510.js +157 -0
- package/dist/components/p-46923b34.js +1409 -0
- package/dist/components/p-4880c342.js +148 -0
- package/dist/components/p-4a436e2d.js +1178 -0
- package/dist/components/p-4cc0e9a5.js +64 -0
- package/dist/components/p-4cedc9e8.js +105 -0
- package/dist/components/p-4e3d7f9d.js +95 -0
- package/dist/components/p-50ecaaf1.js +42 -0
- package/dist/components/p-5279fae9.js +125 -0
- package/dist/components/p-55598b38.js +76 -0
- package/dist/components/p-5605a420.js +3 -0
- package/dist/components/p-563bc723.js +156 -0
- package/dist/components/p-56919690.js +29080 -0
- package/dist/components/p-59ea0ce1.js +116 -0
- package/dist/components/p-59fb6900.js +204 -0
- package/dist/components/p-5c3d1c4f.js +148 -0
- package/dist/components/p-5ffcbba3.js +95 -0
- package/dist/components/p-606ca241.js +119 -0
- package/dist/components/p-60fdbd75.js +224 -0
- package/dist/components/p-62a6b783.js +194 -0
- package/dist/components/p-68b6f23b.js +223 -0
- package/dist/components/p-71e0f6f2.js +79 -0
- package/dist/components/p-734a10e4.js +86 -0
- package/dist/components/p-7a7d1710.js +134 -0
- package/dist/components/p-81f4e985.js +63 -0
- package/dist/components/p-898da6ae.js +307 -0
- package/dist/components/p-8f99c783.js +316 -0
- package/dist/components/p-922f201f.js +103 -0
- package/dist/components/p-935b5e0f.js +77 -0
- package/dist/components/p-965a4bd9.js +101 -0
- package/dist/components/p-96be234f.js +26 -0
- package/dist/components/p-9c17c7ce.js +93 -0
- package/dist/components/p-9cace38c.js +203 -0
- package/dist/components/p-9cfe5c7c.js +353 -0
- package/dist/components/p-9da5b9d0.js +211 -0
- package/dist/components/p-9fc565cf.js +57 -0
- package/dist/components/p-a08b5a59.js +329 -0
- package/dist/components/p-a24309fd.js +118 -0
- package/dist/components/p-a2f4f9e3.js +67 -0
- package/dist/components/p-a41e1b94.js +161 -0
- package/dist/components/p-a83ccdbd.js +40 -0
- package/dist/components/p-aa9ee9a5.js +180 -0
- package/dist/components/p-ab87c5be.js +178 -0
- package/dist/components/p-ae239151.js +150 -0
- package/dist/components/p-b12e5011.js +115 -0
- package/dist/components/p-b13ddb7d.js +96 -0
- package/dist/components/p-b3537ccc.js +69 -0
- package/dist/components/p-b373da43.js +357 -0
- package/dist/components/p-b39c779d.js +114 -0
- package/dist/components/p-bcb91396.js +43 -0
- package/dist/components/p-bdbaa65b.js +83 -0
- package/dist/components/p-c11b2f37.js +45 -0
- package/dist/components/p-c15d924f.js +752 -0
- package/dist/components/p-c2723ebb.js +213 -0
- package/dist/components/p-c27c353f.js +128 -0
- package/dist/components/p-c3592601.js +1641 -0
- package/dist/components/p-c7dcb441.js +57 -0
- package/dist/components/p-c939f92d.js +114 -0
- package/dist/components/p-cbdd7a99.js +542 -0
- package/dist/components/p-cd50770d.js +127 -0
- package/dist/components/p-d5791958.js +24 -0
- package/dist/components/p-dba3cdd1.js +951 -0
- package/dist/components/p-ddf6148a.js +125 -0
- package/dist/components/p-e2b78972.js +153 -0
- package/dist/components/p-e3b59650.js +155 -0
- package/dist/components/p-e3ffbf6c.js +124 -0
- package/dist/components/p-e4376670.js +162 -0
- package/dist/components/p-e542eda6.js +264 -0
- package/dist/components/p-e6d09c50.js +1544 -0
- package/dist/components/p-eb10c563.js +390 -0
- package/dist/components/p-ece96324.js +107 -0
- package/dist/components/p-ef376a73.js +103 -0
- package/dist/components/p-f0dfdfea.js +120 -0
- package/dist/components/p-f33bb583.js +199 -0
- package/dist/components/p-f47d4fe8.js +928 -0
- package/dist/components/p-f6046472.js +85 -0
- package/dist/components/p-fe278fba.js +215 -0
- package/dist/components/p-febe3ebc.js +11 -0
- package/dist/components/rtk-ai-toggle.d.ts +11 -0
- package/dist/components/rtk-ai-toggle.js +119 -0
- package/dist/components/rtk-ai-transcriptions.d.ts +11 -0
- package/dist/components/rtk-ai-transcriptions.js +6 -0
- package/dist/components/rtk-ai.d.ts +11 -0
- package/dist/components/rtk-ai.js +134 -0
- package/dist/components/rtk-audio-grid.d.ts +11 -0
- package/dist/components/rtk-audio-grid.js +145 -0
- package/dist/components/rtk-audio-tile.d.ts +11 -0
- package/dist/components/rtk-audio-tile.js +182 -0
- package/dist/components/rtk-audio-visualizer.d.ts +11 -0
- package/dist/components/rtk-audio-visualizer.js +6 -0
- package/dist/components/rtk-avatar.d.ts +11 -0
- package/dist/components/rtk-avatar.js +6 -0
- package/dist/components/rtk-breakout-room-manager.d.ts +11 -0
- package/dist/components/rtk-breakout-room-manager.js +6 -0
- package/dist/components/rtk-breakout-room-participants.d.ts +11 -0
- package/dist/components/rtk-breakout-room-participants.js +6 -0
- package/dist/components/rtk-breakout-rooms-manager.d.ts +11 -0
- package/dist/components/rtk-breakout-rooms-manager.js +6 -0
- package/dist/components/rtk-breakout-rooms-toggle.d.ts +11 -0
- package/dist/components/rtk-breakout-rooms-toggle.js +129 -0
- package/dist/components/rtk-broadcast-message-modal.d.ts +11 -0
- package/dist/components/rtk-broadcast-message-modal.js +6 -0
- package/dist/components/rtk-button.d.ts +11 -0
- package/dist/components/rtk-button.js +6 -0
- package/dist/components/rtk-camera-selector.d.ts +11 -0
- package/dist/components/rtk-camera-selector.js +6 -0
- package/dist/components/rtk-camera-toggle.d.ts +11 -0
- package/dist/components/rtk-camera-toggle.js +237 -0
- package/dist/components/rtk-caption-toggle.d.ts +11 -0
- package/dist/components/rtk-caption-toggle.js +129 -0
- package/dist/components/rtk-channel-creator.d.ts +11 -0
- package/dist/components/rtk-channel-creator.js +6 -0
- package/dist/components/rtk-channel-details.d.ts +11 -0
- package/dist/components/rtk-channel-details.js +6 -0
- package/dist/components/rtk-channel-header.d.ts +11 -0
- package/dist/components/rtk-channel-header.js +6 -0
- package/dist/components/rtk-channel-selector-ui.d.ts +11 -0
- package/dist/components/rtk-channel-selector-ui.js +194 -0
- package/dist/components/rtk-channel-selector-view.d.ts +11 -0
- package/dist/components/rtk-channel-selector-view.js +6 -0
- package/dist/components/rtk-chat-composer-ui.d.ts +11 -0
- package/dist/components/rtk-chat-composer-ui.js +383 -0
- package/dist/components/rtk-chat-composer-view.d.ts +11 -0
- package/dist/components/rtk-chat-composer-view.js +6 -0
- package/dist/components/rtk-chat-message.d.ts +11 -0
- package/dist/components/rtk-chat-message.js +6 -0
- package/dist/components/rtk-chat-messages-ui-paginated.d.ts +11 -0
- package/dist/components/rtk-chat-messages-ui-paginated.js +6 -0
- package/dist/components/rtk-chat-messages-ui.d.ts +11 -0
- package/dist/components/rtk-chat-messages-ui.js +6 -0
- package/dist/components/rtk-chat-search-results.d.ts +11 -0
- package/dist/components/rtk-chat-search-results.js +6 -0
- package/dist/components/rtk-chat-selector-ui.d.ts +11 -0
- package/dist/components/rtk-chat-selector-ui.js +108 -0
- package/dist/components/rtk-chat-toggle.d.ts +11 -0
- package/dist/components/rtk-chat-toggle.js +186 -0
- package/dist/components/rtk-chat.d.ts +11 -0
- package/dist/components/rtk-chat.js +6 -0
- package/dist/components/rtk-clock.d.ts +11 -0
- package/dist/components/rtk-clock.js +127 -0
- package/dist/components/rtk-confirmation-modal.d.ts +11 -0
- package/dist/components/rtk-confirmation-modal.js +6 -0
- package/dist/components/rtk-controlbar-button.d.ts +11 -0
- package/dist/components/rtk-controlbar-button.js +6 -0
- package/dist/components/rtk-controlbar.d.ts +11 -0
- package/dist/components/rtk-controlbar.js +91 -0
- package/dist/components/rtk-counter.d.ts +11 -0
- package/dist/components/rtk-counter.js +6 -0
- package/dist/components/rtk-debugger-audio.d.ts +11 -0
- package/dist/components/rtk-debugger-audio.js +6 -0
- package/dist/components/rtk-debugger-screenshare.d.ts +11 -0
- package/dist/components/rtk-debugger-screenshare.js +6 -0
- package/dist/components/rtk-debugger-system.d.ts +11 -0
- package/dist/components/rtk-debugger-system.js +6 -0
- package/dist/components/rtk-debugger-toggle.d.ts +11 -0
- package/dist/components/rtk-debugger-toggle.js +101 -0
- package/dist/components/rtk-debugger-video.d.ts +11 -0
- package/dist/components/rtk-debugger-video.js +6 -0
- package/dist/components/rtk-debugger.d.ts +11 -0
- package/dist/components/rtk-debugger.js +6 -0
- package/dist/components/rtk-dialog-manager.d.ts +11 -0
- package/dist/components/rtk-dialog-manager.js +6 -0
- package/dist/components/rtk-dialog.d.ts +11 -0
- package/dist/components/rtk-dialog.js +6 -0
- package/dist/components/rtk-draft-attachment-view.d.ts +11 -0
- package/dist/components/rtk-draft-attachment-view.js +6 -0
- package/dist/components/rtk-emoji-picker-button.d.ts +11 -0
- package/dist/components/rtk-emoji-picker-button.js +6 -0
- package/dist/components/rtk-emoji-picker.d.ts +11 -0
- package/dist/components/rtk-emoji-picker.js +6 -0
- package/dist/components/rtk-ended-screen.d.ts +11 -0
- package/dist/components/rtk-ended-screen.js +148 -0
- package/dist/components/rtk-file-dropzone.d.ts +11 -0
- package/dist/components/rtk-file-dropzone.js +87 -0
- package/dist/components/rtk-file-message-view.d.ts +11 -0
- package/dist/components/rtk-file-message-view.js +6 -0
- package/dist/components/rtk-file-message.d.ts +11 -0
- package/dist/components/rtk-file-message.js +6 -0
- package/dist/components/rtk-file-picker-button.d.ts +11 -0
- package/dist/components/rtk-file-picker-button.js +6 -0
- package/dist/components/rtk-fullscreen-toggle.d.ts +11 -0
- package/dist/components/rtk-fullscreen-toggle.js +6 -0
- package/dist/components/rtk-grid-pagination.d.ts +11 -0
- package/dist/components/rtk-grid-pagination.js +207 -0
- package/dist/components/rtk-grid.d.ts +11 -0
- package/dist/components/rtk-grid.js +454 -0
- package/dist/components/rtk-header.d.ts +11 -0
- package/dist/components/rtk-header.js +91 -0
- package/dist/components/rtk-icon.d.ts +11 -0
- package/dist/components/rtk-icon.js +6 -0
- package/dist/components/rtk-idle-screen.d.ts +11 -0
- package/dist/components/rtk-idle-screen.js +86 -0
- package/dist/components/rtk-image-message-view.d.ts +11 -0
- package/dist/components/rtk-image-message-view.js +6 -0
- package/dist/components/rtk-image-message.d.ts +11 -0
- package/dist/components/rtk-image-message.js +6 -0
- package/dist/components/rtk-image-viewer.d.ts +11 -0
- package/dist/components/rtk-image-viewer.js +94 -0
- package/dist/components/rtk-information-tooltip.d.ts +11 -0
- package/dist/components/rtk-information-tooltip.js +61 -0
- package/dist/components/rtk-join-stage.d.ts +11 -0
- package/dist/components/rtk-join-stage.js +6 -0
- package/dist/components/rtk-leave-button.d.ts +11 -0
- package/dist/components/rtk-leave-button.js +90 -0
- package/dist/components/rtk-leave-meeting.d.ts +11 -0
- package/dist/components/rtk-leave-meeting.js +6 -0
- package/dist/components/rtk-livestream-indicator.d.ts +11 -0
- package/dist/components/rtk-livestream-indicator.js +6 -0
- package/dist/components/rtk-livestream-player.d.ts +11 -0
- package/dist/components/rtk-livestream-player.js +6 -0
- package/dist/components/rtk-livestream-toggle.d.ts +11 -0
- package/dist/components/rtk-livestream-toggle.js +184 -0
- package/dist/components/rtk-logo.d.ts +11 -0
- package/dist/components/rtk-logo.js +6 -0
- package/dist/components/rtk-markdown-view.d.ts +11 -0
- package/dist/components/rtk-markdown-view.js +6 -0
- package/dist/components/rtk-meeting-title.d.ts +11 -0
- package/dist/components/rtk-meeting-title.js +74 -0
- package/dist/components/rtk-meeting.d.ts +11 -0
- package/dist/components/rtk-meeting.js +566 -0
- package/dist/components/rtk-menu-item.d.ts +11 -0
- package/dist/components/rtk-menu-item.js +6 -0
- package/dist/components/rtk-menu-list.d.ts +11 -0
- package/dist/components/rtk-menu-list.js +6 -0
- package/dist/components/rtk-menu.d.ts +11 -0
- package/dist/components/rtk-menu.js +6 -0
- package/dist/components/rtk-message-list-view.d.ts +11 -0
- package/dist/components/rtk-message-list-view.js +324 -0
- package/dist/components/rtk-message-view.d.ts +11 -0
- package/dist/components/rtk-message-view.js +6 -0
- package/dist/components/rtk-mic-toggle.d.ts +11 -0
- package/dist/components/rtk-mic-toggle.js +235 -0
- package/dist/components/rtk-microphone-selector.d.ts +11 -0
- package/dist/components/rtk-microphone-selector.js +6 -0
- package/dist/components/rtk-mixed-grid.d.ts +11 -0
- package/dist/components/rtk-mixed-grid.js +298 -0
- package/dist/components/rtk-more-toggle.d.ts +11 -0
- package/dist/components/rtk-more-toggle.js +115 -0
- package/dist/components/rtk-mute-all-button.d.ts +11 -0
- package/dist/components/rtk-mute-all-button.js +128 -0
- package/dist/components/rtk-mute-all-confirmation.d.ts +11 -0
- package/dist/components/rtk-mute-all-confirmation.js +6 -0
- package/dist/components/rtk-name-tag.d.ts +11 -0
- package/dist/components/rtk-name-tag.js +6 -0
- package/dist/components/rtk-network-indicator.d.ts +11 -0
- package/dist/components/rtk-network-indicator.js +117 -0
- package/dist/components/rtk-notification.d.ts +11 -0
- package/dist/components/rtk-notification.js +6 -0
- package/dist/components/rtk-notifications.d.ts +11 -0
- package/dist/components/rtk-notifications.js +6 -0
- package/dist/components/rtk-overlay-modal.d.ts +11 -0
- package/dist/components/rtk-overlay-modal.js +6 -0
- package/dist/components/rtk-paginated-list.d.ts +11 -0
- package/dist/components/rtk-paginated-list.js +6 -0
- package/dist/components/rtk-participant-count.d.ts +11 -0
- package/dist/components/rtk-participant-count.js +121 -0
- package/dist/components/rtk-participant-setup.d.ts +11 -0
- package/dist/components/rtk-participant-setup.js +149 -0
- package/dist/components/rtk-participant-tile.d.ts +11 -0
- package/dist/components/rtk-participant-tile.js +6 -0
- package/dist/components/rtk-participant.d.ts +11 -0
- package/dist/components/rtk-participant.js +6 -0
- package/dist/components/rtk-participants-audio.d.ts +11 -0
- package/dist/components/rtk-participants-audio.js +248 -0
- package/dist/components/rtk-participants-stage-list.d.ts +11 -0
- package/dist/components/rtk-participants-stage-list.js +6 -0
- package/dist/components/rtk-participants-stage-queue.d.ts +11 -0
- package/dist/components/rtk-participants-stage-queue.js +6 -0
- package/dist/components/rtk-participants-toggle.d.ts +11 -0
- package/dist/components/rtk-participants-toggle.js +199 -0
- package/dist/components/rtk-participants-viewer-list.d.ts +11 -0
- package/dist/components/rtk-participants-viewer-list.js +6 -0
- package/dist/components/rtk-participants-waiting-list.d.ts +11 -0
- package/dist/components/rtk-participants-waiting-list.js +6 -0
- package/dist/components/rtk-participants.d.ts +11 -0
- package/dist/components/rtk-participants.js +304 -0
- package/dist/components/rtk-permissions-message.d.ts +11 -0
- package/dist/components/rtk-permissions-message.js +6 -0
- package/dist/components/rtk-pip-toggle.d.ts +11 -0
- package/dist/components/rtk-pip-toggle.js +133 -0
- package/dist/components/rtk-plugin-main.d.ts +11 -0
- package/dist/components/rtk-plugin-main.js +6 -0
- package/dist/components/rtk-plugins-toggle.d.ts +11 -0
- package/dist/components/rtk-plugins-toggle.js +152 -0
- package/dist/components/rtk-plugins.d.ts +11 -0
- package/dist/components/rtk-plugins.js +6 -0
- package/dist/components/rtk-poll-form.d.ts +11 -0
- package/dist/components/rtk-poll-form.js +6 -0
- package/dist/components/rtk-poll.d.ts +11 -0
- package/dist/components/rtk-poll.js +6 -0
- package/dist/components/rtk-polls-toggle.d.ts +11 -0
- package/dist/components/rtk-polls-toggle.js +164 -0
- package/dist/components/rtk-polls.d.ts +11 -0
- package/dist/components/rtk-polls.js +6 -0
- package/dist/components/rtk-recording-indicator.d.ts +11 -0
- package/dist/components/rtk-recording-indicator.js +99 -0
- package/dist/components/rtk-recording-toggle.d.ts +11 -0
- package/dist/components/rtk-recording-toggle.js +206 -0
- package/dist/components/rtk-screen-share-toggle.d.ts +11 -0
- package/dist/components/rtk-screen-share-toggle.js +321 -0
- package/dist/components/rtk-screenshare-view.d.ts +11 -0
- package/dist/components/rtk-screenshare-view.js +197 -0
- package/dist/components/rtk-settings-audio.d.ts +11 -0
- package/dist/components/rtk-settings-audio.js +6 -0
- package/dist/components/rtk-settings-toggle.d.ts +11 -0
- package/dist/components/rtk-settings-toggle.js +96 -0
- package/dist/components/rtk-settings-video.d.ts +11 -0
- package/dist/components/rtk-settings-video.js +6 -0
- package/dist/components/rtk-settings.d.ts +11 -0
- package/dist/components/rtk-settings.js +211 -0
- package/dist/components/rtk-setup-screen.d.ts +11 -0
- package/dist/components/rtk-setup-screen.js +186 -0
- package/dist/components/rtk-sidebar-ui.d.ts +11 -0
- package/dist/components/rtk-sidebar-ui.js +6 -0
- package/dist/components/rtk-sidebar.d.ts +11 -0
- package/dist/components/rtk-sidebar.js +231 -0
- package/dist/components/rtk-simple-grid.d.ts +11 -0
- package/dist/components/rtk-simple-grid.js +147 -0
- package/dist/components/rtk-speaker-selector.d.ts +11 -0
- package/dist/components/rtk-speaker-selector.js +6 -0
- package/dist/components/rtk-spinner.d.ts +11 -0
- package/dist/components/rtk-spinner.js +6 -0
- package/dist/components/rtk-spotlight-grid.d.ts +11 -0
- package/dist/components/rtk-spotlight-grid.js +135 -0
- package/dist/components/rtk-spotlight-indicator.d.ts +11 -0
- package/dist/components/rtk-spotlight-indicator.js +6 -0
- package/dist/components/rtk-stage-toggle.d.ts +11 -0
- package/dist/components/rtk-stage-toggle.js +198 -0
- package/dist/components/rtk-stage.d.ts +11 -0
- package/dist/components/rtk-stage.js +61 -0
- package/dist/components/rtk-switch.d.ts +11 -0
- package/dist/components/rtk-switch.js +6 -0
- package/dist/components/rtk-tab-bar.d.ts +11 -0
- package/dist/components/rtk-tab-bar.js +6 -0
- package/dist/components/rtk-text-composer-view.d.ts +11 -0
- package/dist/components/rtk-text-composer-view.js +6 -0
- package/dist/components/rtk-text-message-view.d.ts +11 -0
- package/dist/components/rtk-text-message-view.js +6 -0
- package/dist/components/rtk-text-message.d.ts +11 -0
- package/dist/components/rtk-text-message.js +6 -0
- package/dist/components/rtk-tooltip.d.ts +11 -0
- package/dist/components/rtk-tooltip.js +6 -0
- package/dist/components/rtk-transcript.d.ts +11 -0
- package/dist/components/rtk-transcript.js +6 -0
- package/dist/components/rtk-transcripts.d.ts +11 -0
- package/dist/components/rtk-transcripts.js +197 -0
- package/dist/components/rtk-ui-provider.d.ts +11 -0
- package/dist/components/rtk-ui-provider.js +195 -0
- package/dist/components/rtk-viewer-count.d.ts +11 -0
- package/dist/components/rtk-viewer-count.js +6 -0
- package/dist/components/rtk-virtualized-participant-list.d.ts +11 -0
- package/dist/components/rtk-virtualized-participant-list.js +6 -0
- package/dist/components/rtk-waiting-screen.d.ts +11 -0
- package/dist/components/rtk-waiting-screen.js +74 -0
- package/dist/docs/docs-components.d.ts +443 -0
- package/dist/docs/docs-components.json +239263 -0
- package/dist/docs/docs-vscode.json +4429 -0
- package/dist/esm/ChatHead-cf7a7e22.js +41 -0
- package/dist/esm/ResizeObserver.es-02979d4e.js +928 -0
- package/dist/esm/TextMessage-efd224db.js +67 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/chat-c25836b0.js +200 -0
- package/dist/esm/clone-acd4af50.js +752 -0
- package/dist/esm/config-1ca1ba30.js +1178 -0
- package/dist/esm/debounce-0169a54d.js +542 -0
- package/dist/esm/debounce-ea0579b2.js +329 -0
- package/dist/esm/file-1d408324.js +57 -0
- package/dist/esm/floating-ui.dom.esm-cf1488a2.js +1892 -0
- package/dist/esm/full-screen-1f58c594.js +50 -0
- package/dist/esm/grid-a3ca5a3e.js +96 -0
- package/dist/esm/hark-6327d91e.js +299 -0
- package/dist/esm/index-6aaa85ca.js +24 -0
- package/dist/esm/index-c1fb98bb.js +2158 -0
- package/dist/esm/index-d31a2e33.js +224 -0
- package/dist/esm/index.js +249 -0
- package/dist/esm/isObjectLike-773b9473.js +164 -0
- package/dist/esm/keysIn-310f65c1.js +1409 -0
- package/dist/esm/loader.js +56266 -0
- package/dist/esm/logger-31448943.js +3 -0
- package/dist/esm/notification-800f2bcd.js +42 -0
- package/dist/esm/realtimekit-ui.js +20 -0
- package/dist/esm/rtk-ai-toggle.entry.js +72 -0
- package/dist/esm/rtk-ai-transcriptions.entry.js +134 -0
- package/dist/esm/rtk-ai.entry.js +87 -0
- package/dist/esm/rtk-audio-grid.entry.js +112 -0
- package/dist/esm/rtk-audio-tile.entry.js +126 -0
- package/dist/esm/rtk-audio-visualizer_4.entry.js +494 -0
- package/dist/esm/rtk-avatar_54.entry.js +6321 -0
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +82 -0
- package/dist/esm/rtk-camera-selector_2.entry.js +276 -0
- package/dist/esm/rtk-camera-toggle.entry.js +182 -0
- package/dist/esm/rtk-caption-toggle.entry.js +80 -0
- package/dist/esm/rtk-channel-selector-ui.entry.js +143 -0
- package/dist/esm/rtk-chat-composer-ui.entry.js +311 -0
- package/dist/esm/rtk-chat-selector-ui.entry.js +74 -0
- package/dist/esm/rtk-chat-toggle.entry.js +134 -0
- package/dist/esm/rtk-clock.entry.js +94 -0
- package/dist/esm/rtk-controlbar-button.entry.js +45 -0
- package/dist/esm/rtk-controlbar.entry.js +62 -0
- package/dist/esm/rtk-debugger-toggle.entry.js +57 -0
- package/dist/esm/rtk-ended-screen.entry.js +105 -0
- package/dist/esm/rtk-file-dropzone.entry.js +56 -0
- package/dist/esm/rtk-fullscreen-toggle.entry.js +82 -0
- package/dist/esm/rtk-grid-pagination.entry.js +155 -0
- package/dist/esm/rtk-grid.entry.js +358 -0
- package/dist/esm/rtk-header.entry.js +62 -0
- package/dist/esm/rtk-idle-screen.entry.js +43 -0
- package/dist/esm/rtk-image-viewer.entry.js +58 -0
- package/dist/esm/rtk-information-tooltip.entry.js +33 -0
- package/dist/esm/rtk-leave-button.entry.js +48 -0
- package/dist/esm/rtk-livestream-indicator_3.entry.js +29142 -0
- package/dist/esm/rtk-livestream-toggle.entry.js +138 -0
- package/dist/esm/rtk-meeting-title.entry.js +45 -0
- package/dist/esm/rtk-message-list-view.entry.js +281 -0
- package/dist/esm/rtk-mic-toggle.entry.js +180 -0
- package/dist/esm/rtk-mixed-grid.entry.js +222 -0
- package/dist/esm/rtk-more-toggle.entry.js +73 -0
- package/dist/esm/rtk-mute-all-button.entry.js +75 -0
- package/dist/esm/rtk-name-tag.entry.js +68 -0
- package/dist/esm/rtk-network-indicator.entry.js +82 -0
- package/dist/esm/rtk-participant-count.entry.js +87 -0
- package/dist/esm/rtk-participant-setup.entry.js +114 -0
- package/dist/esm/rtk-participant_2.entry.js +414 -0
- package/dist/esm/rtk-participants-audio.entry.js +203 -0
- package/dist/esm/rtk-participants-stage-list_4.entry.js +460 -0
- package/dist/esm/rtk-participants-toggle.entry.js +146 -0
- package/dist/esm/rtk-participants.entry.js +186 -0
- package/dist/esm/rtk-pip-toggle.entry.js +84 -0
- package/dist/esm/rtk-plugin-main_2.entry.js +191 -0
- package/dist/esm/rtk-plugins-toggle.entry.js +102 -0
- package/dist/esm/rtk-plugins_2.entry.js +176 -0
- package/dist/esm/rtk-poll_2.entry.js +137 -0
- package/dist/esm/rtk-polls-toggle.entry.js +113 -0
- package/dist/esm/rtk-recording-indicator.entry.js +66 -0
- package/dist/esm/rtk-recording-toggle.entry.js +158 -0
- package/dist/esm/rtk-screen-share-toggle.entry.js +262 -0
- package/dist/esm/rtk-screenshare-view.entry.js +145 -0
- package/dist/esm/rtk-settings-audio_2.entry.js +145 -0
- package/dist/esm/rtk-settings-toggle.entry.js +53 -0
- package/dist/esm/rtk-settings.entry.js +120 -0
- package/dist/esm/rtk-setup-screen.entry.js +116 -0
- package/dist/esm/rtk-sidebar-ui.entry.js +76 -0
- package/dist/esm/rtk-sidebar.entry.js +147 -0
- package/dist/esm/rtk-simple-grid.entry.js +114 -0
- package/dist/esm/rtk-spotlight-grid.entry.js +103 -0
- package/dist/esm/rtk-spotlight-indicator.entry.js +81 -0
- package/dist/esm/rtk-stage-toggle.entry.js +143 -0
- package/dist/esm/rtk-stage.entry.js +39 -0
- package/dist/esm/rtk-transcript.entry.js +54 -0
- package/dist/esm/rtk-transcripts.entry.js +163 -0
- package/dist/esm/rtk-ui-provider.entry.js +164 -0
- package/dist/esm/rtk-waiting-screen.entry.js +43 -0
- package/dist/esm/scroll-2d8e810c.js +13 -0
- package/dist/esm/sidebar-cafaa8d3.js +45 -0
- package/dist/esm/size-505ade24.js +26 -0
- package/dist/esm/string-ed1380fb.js +58 -0
- package/dist/esm/ui-store-b453cdf2.js +1582 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/realtimekit-ui/index.esm.js +1 -0
- package/dist/realtimekit-ui/p-01f5aba6.entry.js +1 -0
- package/dist/realtimekit-ui/p-02f19345.js +1 -0
- package/dist/realtimekit-ui/p-03a04390.entry.js +1 -0
- package/dist/realtimekit-ui/p-050f0b1f.entry.js +1 -0
- package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
- package/dist/realtimekit-ui/p-0a1d9e02.entry.js +1 -0
- package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
- package/dist/realtimekit-ui/p-0d4db84d.entry.js +1 -0
- package/dist/realtimekit-ui/p-0e777b3f.entry.js +1 -0
- package/dist/realtimekit-ui/p-0ee570cd.js +2 -0
- package/dist/realtimekit-ui/p-131b1e94.entry.js +1 -0
- package/dist/realtimekit-ui/p-139da463.entry.js +1 -0
- package/dist/realtimekit-ui/p-18fdb6bb.entry.js +1 -0
- package/dist/realtimekit-ui/p-235b7aa8.entry.js +1 -0
- package/dist/realtimekit-ui/p-238a19f8.entry.js +1 -0
- package/dist/realtimekit-ui/p-29802710.entry.js +1 -0
- package/dist/realtimekit-ui/p-2aa242f4.js +1 -0
- package/dist/realtimekit-ui/p-2bfa32da.entry.js +1 -0
- package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
- package/dist/realtimekit-ui/p-31964573.js +1 -0
- package/dist/realtimekit-ui/p-338c7261.js +1 -0
- package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
- package/dist/realtimekit-ui/p-3fd79328.entry.js +1 -0
- package/dist/realtimekit-ui/p-42a64cbb.entry.js +1 -0
- package/dist/realtimekit-ui/p-44915a3b.entry.js +1 -0
- package/dist/realtimekit-ui/p-457a0412.entry.js +1 -0
- package/dist/realtimekit-ui/p-46923b34.js +1 -0
- package/dist/realtimekit-ui/p-4b882b41.js +1 -0
- package/dist/realtimekit-ui/p-4d8ab9a5.entry.js +1 -0
- package/dist/realtimekit-ui/p-4f2ec64b.entry.js +1 -0
- package/dist/realtimekit-ui/p-4f45e362.entry.js +1 -0
- package/dist/realtimekit-ui/p-4ff47eb0.entry.js +1 -0
- package/dist/realtimekit-ui/p-5325b5e5.entry.js +1 -0
- package/dist/realtimekit-ui/p-55040827.entry.js +1 -0
- package/dist/realtimekit-ui/p-55503b00.entry.js +1 -0
- package/dist/realtimekit-ui/p-556db3a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-5605a420.js +1 -0
- package/dist/realtimekit-ui/p-560c3d93.entry.js +1 -0
- package/dist/realtimekit-ui/p-58e58de6.entry.js +1 -0
- package/dist/realtimekit-ui/p-5b15e3cf.entry.js +1 -0
- package/dist/realtimekit-ui/p-61c38e05.entry.js +1 -0
- package/dist/realtimekit-ui/p-621a7265.entry.js +1 -0
- package/dist/realtimekit-ui/p-679bd218.entry.js +1 -0
- package/dist/realtimekit-ui/p-6be9be47.entry.js +1 -0
- package/dist/realtimekit-ui/p-6c238609.entry.js +1 -0
- package/dist/realtimekit-ui/p-6ededa68.js +1 -0
- package/dist/realtimekit-ui/p-73bc3abd.entry.js +1 -0
- package/dist/realtimekit-ui/p-7536cb87.entry.js +1 -0
- package/dist/realtimekit-ui/p-7c1a2584.entry.js +1 -0
- package/dist/realtimekit-ui/p-7dbd2a25.entry.js +1 -0
- package/dist/realtimekit-ui/p-807dd186.entry.js +1 -0
- package/dist/realtimekit-ui/p-85ff4a34.entry.js +1 -0
- package/dist/realtimekit-ui/p-89f6a08a.entry.js +1 -0
- package/dist/realtimekit-ui/p-8cc2459d.entry.js +1 -0
- package/dist/realtimekit-ui/p-8fe6b03c.entry.js +1 -0
- package/dist/realtimekit-ui/p-917f2951.entry.js +1 -0
- package/dist/realtimekit-ui/p-93f881e2.entry.js +1 -0
- package/dist/realtimekit-ui/p-9435f236.entry.js +1 -0
- package/dist/realtimekit-ui/p-94b739b4.entry.js +1 -0
- package/dist/realtimekit-ui/p-96be234f.js +1 -0
- package/dist/realtimekit-ui/p-9946b484.entry.js +1 -0
- package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +1 -0
- package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
- package/dist/realtimekit-ui/p-9ff45356.entry.js +1 -0
- package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
- package/dist/realtimekit-ui/p-a5d22edf.entry.js +1 -0
- package/dist/realtimekit-ui/p-a6f03681.entry.js +1 -0
- package/dist/realtimekit-ui/p-a738a7b3.entry.js +1 -0
- package/dist/realtimekit-ui/p-aaba206b.js +1 -0
- package/dist/realtimekit-ui/p-ac91f9f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-affaaf1a.entry.js +1 -0
- package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
- package/dist/realtimekit-ui/p-b14563cb.entry.js +1 -0
- package/dist/realtimekit-ui/p-b16cee89.js +1 -0
- package/dist/realtimekit-ui/p-b62f9abb.entry.js +1 -0
- package/dist/realtimekit-ui/p-b80f1bed.entry.js +1 -0
- package/dist/realtimekit-ui/p-bc17c582.entry.js +1 -0
- package/dist/realtimekit-ui/p-bf56688f.entry.js +1 -0
- package/dist/realtimekit-ui/p-c15d924f.js +1 -0
- package/dist/realtimekit-ui/p-c6f7cd03.entry.js +1 -0
- package/dist/realtimekit-ui/p-c8eaa707.js +1 -0
- package/dist/realtimekit-ui/p-c8f8b690.entry.js +1 -0
- package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
- package/dist/realtimekit-ui/p-d013442a.entry.js +1 -0
- package/dist/realtimekit-ui/p-d075d673.entry.js +1 -0
- package/dist/realtimekit-ui/p-d77f7f22.entry.js +1 -0
- package/dist/realtimekit-ui/p-d9217d24.entry.js +1 -0
- package/dist/realtimekit-ui/p-d9e81b11.entry.js +1 -0
- package/dist/realtimekit-ui/p-dbb95589.entry.js +1 -0
- package/dist/realtimekit-ui/p-e1255160.js +1 -0
- package/dist/realtimekit-ui/p-e13b5128.entry.js +1 -0
- package/dist/realtimekit-ui/p-e171b1c4.entry.js +1 -0
- package/dist/realtimekit-ui/p-e80cf367.entry.js +1 -0
- package/dist/realtimekit-ui/p-ee167b96.js +1 -0
- package/dist/realtimekit-ui/p-f47d4fe8.js +1 -0
- package/dist/realtimekit-ui/p-f7c6931d.entry.js +1 -0
- package/dist/realtimekit-ui/p-fc36f92c.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -0
- package/dist/types/components/rtk-ai/rtk-ai.d.ts +31 -0
- package/dist/types/components/rtk-ai-toggle/rtk-ai-toggle.d.ts +26 -0
- package/dist/types/components/rtk-ai-transcriptions/rtk-ai-transcriptions.d.ts +26 -0
- package/dist/types/components/rtk-audio-grid/rtk-audio-grid.d.ts +29 -0
- package/dist/types/components/rtk-audio-tile/rtk-audio-tile.d.ts +33 -0
- package/dist/types/components/rtk-audio-visualizer/rtk-audio-visualizer.d.ts +42 -0
- package/dist/types/components/rtk-avatar/rtk-avatar.d.ts +26 -0
- package/dist/types/components/rtk-breakout-room-manager/rtk-breakout-room-manager.d.ts +70 -0
- package/dist/types/components/rtk-breakout-room-participants/rtk-breakout-room-participants.d.ts +46 -0
- package/dist/types/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.d.ts +34 -0
- package/dist/types/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.d.ts +82 -0
- package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +26 -0
- package/dist/types/components/rtk-button/rtk-button.d.ts +25 -0
- package/dist/types/components/rtk-camera-selector/rtk-camera-selector.d.ts +40 -0
- package/dist/types/components/rtk-camera-toggle/rtk-camera-toggle.d.ts +39 -0
- package/dist/types/components/rtk-caption-toggle/rtk-caption-toggle.d.ts +30 -0
- package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +34 -0
- package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +15 -0
- package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +31 -0
- package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +32 -0
- package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +62 -0
- package/dist/types/components/rtk-chat/components/ChatHead.d.ts +8 -0
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +122 -0
- package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +84 -0
- package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +73 -0
- package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +67 -0
- package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +46 -0
- package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +61 -0
- package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +18 -0
- package/dist/types/components/rtk-chat-selector-ui/rtk-chat-selector-ui.d.ts +29 -0
- package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +50 -0
- package/dist/types/components/rtk-clock/rtk-clock.d.ts +23 -0
- package/dist/types/components/rtk-confirmation-modal/rtk-confirmation-modal.d.ts +27 -0
- package/dist/types/components/rtk-controlbar/rtk-controlbar.d.ts +28 -0
- package/dist/types/components/rtk-controlbar-button/rtk-controlbar-button.d.ts +30 -0
- package/dist/types/components/rtk-counter/rtk-counter.d.ts +27 -0
- package/dist/types/components/rtk-debugger/rtk-debugger.d.ts +34 -0
- package/dist/types/components/rtk-debugger-audio/rtk-debugger-audio.d.ts +36 -0
- package/dist/types/components/rtk-debugger-screenshare/rtk-debugger-screenshare.d.ts +38 -0
- package/dist/types/components/rtk-debugger-system/rtk-debugger-system.d.ts +40 -0
- package/dist/types/components/rtk-debugger-toggle/rtk-debugger-toggle.d.ts +24 -0
- package/dist/types/components/rtk-debugger-video/rtk-debugger-video.d.ts +36 -0
- package/dist/types/components/rtk-dialog/rtk-dialog.d.ts +38 -0
- package/dist/types/components/rtk-dialog-manager/rtk-dialog-manager.d.ts +41 -0
- package/dist/types/components/rtk-draft-attachment-view/rtk-draft-attachment-view.d.ts +26 -0
- package/dist/types/components/rtk-emoji-picker/rtk-emoji-picker.d.ts +32 -0
- package/dist/types/components/rtk-emoji-picker-button/rtk-emoji-picker-button.d.ts +10 -0
- package/dist/types/components/rtk-ended-screen/rtk-ended-screen.d.ts +30 -0
- package/dist/types/components/rtk-file-dropzone/rtk-file-dropzone.d.ts +15 -0
- package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +21 -0
- package/dist/types/components/rtk-file-message-view/rtk-file-message-view.d.ts +15 -0
- package/dist/types/components/rtk-file-picker-button/rtk-file-picker-button.d.ts +21 -0
- package/dist/types/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.d.ts +32 -0
- package/dist/types/components/rtk-grid/rtk-grid.d.ts +83 -0
- package/dist/types/components/rtk-grid-pagination/rtk-grid-pagination.d.ts +40 -0
- package/dist/types/components/rtk-header/rtk-header.d.ts +28 -0
- package/dist/types/components/rtk-icon/rtk-icon.d.ts +14 -0
- package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +19 -0
- package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +26 -0
- package/dist/types/components/rtk-image-message-view/rtk-image-message-view.d.ts +17 -0
- package/dist/types/components/rtk-image-viewer/rtk-image-viewer.d.ts +25 -0
- package/dist/types/components/rtk-information-tooltip/rtk-information-tooltip.d.ts +6 -0
- package/dist/types/components/rtk-join-stage/rtk-join-stage.d.ts +38 -0
- package/dist/types/components/rtk-leave-button/rtk-leave-button.d.ts +22 -0
- package/dist/types/components/rtk-leave-meeting/rtk-leave-meeting.d.ts +35 -0
- package/dist/types/components/rtk-livestream-indicator/rtk-livestream-indicator.d.ts +18 -0
- package/dist/types/components/rtk-livestream-player/rtk-livestream-player.d.ts +60 -0
- package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +40 -0
- package/dist/types/components/rtk-logo/rtk-logo.d.ts +20 -0
- package/dist/types/components/rtk-markdown-view/rtk-markdown-view.d.ts +15 -0
- package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +59 -0
- package/dist/types/components/rtk-meeting-title/rtk-meeting-title.d.ts +15 -0
- package/dist/types/components/rtk-menu/rtk-menu.d.ts +30 -0
- package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +19 -0
- package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +14 -0
- package/dist/types/components/rtk-message-list-view/rtk-message-list-view.d.ts +62 -0
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +33 -0
- package/dist/types/components/rtk-mic-toggle/rtk-mic-toggle.d.ts +39 -0
- package/dist/types/components/rtk-microphone-selector/rtk-microphone-selector.d.ts +42 -0
- package/dist/types/components/rtk-mixed-grid/rtk-mixed-grid.d.ts +61 -0
- package/dist/types/components/rtk-more-toggle/rtk-more-toggle.d.ts +32 -0
- package/dist/types/components/rtk-mute-all-button/rtk-mute-all-button.d.ts +26 -0
- package/dist/types/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.d.ts +21 -0
- package/dist/types/components/rtk-name-tag/rtk-name-tag.d.ts +28 -0
- package/dist/types/components/rtk-network-indicator/rtk-network-indicator.d.ts +20 -0
- package/dist/types/components/rtk-notification/rtk-notification.d.ts +30 -0
- package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +69 -0
- package/dist/types/components/rtk-overlay-modal/rtk-overlay-modal.d.ts +22 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +91 -0
- package/dist/types/components/rtk-participant/rtk-participant.d.ts +62 -0
- package/dist/types/components/rtk-participant-count/rtk-participant-count.d.ts +26 -0
- package/dist/types/components/rtk-participant-setup/rtk-participant-setup.d.ts +37 -0
- package/dist/types/components/rtk-participant-tile/rtk-participant-tile.d.ts +55 -0
- package/dist/types/components/rtk-participants/rtk-participants.d.ts +48 -0
- package/dist/types/components/rtk-participants-audio/rtk-participants-audio.d.ts +34 -0
- package/dist/types/components/rtk-participants-stage-list/rtk-participants-stage-list.d.ts +42 -0
- package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +29 -0
- package/dist/types/components/rtk-participants-toggle/rtk-participants-toggle.d.ts +49 -0
- package/dist/types/components/rtk-participants-viewer-list/rtk-participants-viewer-list.d.ts +33 -0
- package/dist/types/components/rtk-participants-waiting-list/rtk-participants-waiting-list.d.ts +29 -0
- package/dist/types/components/rtk-permissions-message/rtk-permissions-message.d.ts +40 -0
- package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +28 -0
- package/dist/types/components/rtk-plugin-main/rtk-plugin-main.d.ts +28 -0
- package/dist/types/components/rtk-plugins/rtk-plugins.d.ts +35 -0
- package/dist/types/components/rtk-plugins-toggle/rtk-plugins-toggle.d.ts +42 -0
- package/dist/types/components/rtk-poll/rtk-poll.d.ts +30 -0
- package/dist/types/components/rtk-poll-form/rtk-poll-form.d.ts +30 -0
- package/dist/types/components/rtk-polls/rtk-polls.d.ts +38 -0
- package/dist/types/components/rtk-polls-toggle/rtk-polls-toggle.d.ts +46 -0
- package/dist/types/components/rtk-recording-indicator/rtk-recording-indicator.d.ts +26 -0
- package/dist/types/components/rtk-recording-toggle/rtk-recording-toggle.d.ts +47 -0
- package/dist/types/components/rtk-screen-share-toggle/rtk-screen-share-toggle.d.ts +67 -0
- package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +52 -0
- package/dist/types/components/rtk-settings/rtk-settings.d.ts +38 -0
- package/dist/types/components/rtk-settings-audio/rtk-settings-audio.d.ts +32 -0
- package/dist/types/components/rtk-settings-toggle/rtk-settings-toggle.d.ts +30 -0
- package/dist/types/components/rtk-settings-video/rtk-settings-video.d.ts +37 -0
- package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +40 -0
- package/dist/types/components/rtk-sidebar/rtk-sidebar.d.ts +49 -0
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +120 -0
- package/dist/types/components/rtk-simple-grid/rtk-simple-grid.d.ts +43 -0
- package/dist/types/components/rtk-speaker-selector/rtk-speaker-selector.d.ts +44 -0
- package/dist/types/components/rtk-spinner/rtk-spinner.d.ts +12 -0
- package/dist/types/components/rtk-spotlight-grid/rtk-spotlight-grid.d.ts +47 -0
- package/dist/types/components/rtk-spotlight-indicator/rtk-spotlight-indicator.d.ts +22 -0
- package/dist/types/components/rtk-stage/rtk-stage.d.ts +19 -0
- package/dist/types/components/rtk-stage-toggle/rtk-stage-toggle.d.ts +36 -0
- package/dist/types/components/rtk-switch/rtk-switch.d.ts +25 -0
- package/dist/types/components/rtk-tab-bar/rtk-tab-bar.d.ts +37 -0
- package/dist/types/components/rtk-text-composer-view/rtk-text-composer-view.d.ts +34 -0
- package/dist/types/components/rtk-text-message/components/TextMessage.d.ts +6 -0
- package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +21 -0
- package/dist/types/components/rtk-text-message-view/rtk-text-message-view.d.ts +10 -0
- package/dist/types/components/rtk-tooltip/rtk-tooltip.d.ts +42 -0
- package/dist/types/components/rtk-transcript/rtk-transcript.d.ts +30 -0
- package/dist/types/components/rtk-transcripts/rtk-transcripts.d.ts +39 -0
- package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +45 -0
- package/dist/types/components/rtk-viewer-count/rtk-viewer-count.d.ts +24 -0
- package/dist/types/components/rtk-virtualized-list/rtk-virtualized-participant-list.d.ts +30 -0
- package/dist/types/components/rtk-waiting-screen/rtk-waiting-screen.d.ts +15 -0
- package/dist/types/components.d.ts +11544 -0
- package/dist/types/exports.d.ts +20 -0
- package/dist/types/globals.d.ts +15 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/addons/index.d.ts +27 -0
- package/dist/types/lib/audio.d.ts +17 -0
- package/dist/types/lib/builder/index.d.ts +42 -0
- package/dist/types/lib/default-ui-config.d.ts +5 -0
- package/dist/types/lib/grid.d.ts +43 -0
- package/dist/types/lib/icons/default-icon-pack.d.ts +88 -0
- package/dist/types/lib/icons/index.d.ts +9 -0
- package/dist/types/lib/lang/default-language.d.ts +415 -0
- package/dist/types/lib/lang/index.d.ts +16 -0
- package/dist/types/lib/notification.d.ts +19 -0
- package/dist/types/lib/render/index.d.ts +45 -0
- package/dist/types/lib/render/utils.d.ts +31 -0
- package/dist/types/lib/visualizer.d.ts +6 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/theme/presets/border.d.ts +13 -0
- package/dist/types/theme/presets/themes.d.ts +2 -0
- package/dist/types/types/floating-ui.d.ts +1 -0
- package/dist/types/types/props.d.ts +175 -0
- package/dist/types/types/rtk-ai.d.ts +9 -0
- package/dist/types/types/rtk-client.d.ts +16 -0
- package/dist/types/types/ui-config/config.d.ts +25 -0
- package/dist/types/types/ui-config/design-tokens.d.ts +41 -0
- package/dist/types/types/ui-config/index.d.ts +15 -0
- package/dist/types/types/ui-config/root.d.ts +23 -0
- package/dist/types/types/web-core.d.ts +9 -0
- package/dist/types/utils/assets.d.ts +6 -0
- package/dist/types/utils/breakout-rooms-manager.d.ts +100 -0
- package/dist/types/utils/breakout-rooms.d.ts +24 -0
- package/dist/types/utils/chat.d.ts +49 -0
- package/dist/types/utils/clone.d.ts +1 -0
- package/dist/types/utils/color.d.ts +69 -0
- package/dist/types/utils/config.d.ts +28 -0
- package/dist/types/utils/date.d.ts +3 -0
- package/dist/types/utils/debugger-utils.d.ts +40 -0
- package/dist/types/utils/file.d.ts +23 -0
- package/dist/types/utils/full-screen.d.ts +4 -0
- package/dist/types/utils/graceful-storage.d.ts +2 -0
- package/dist/types/utils/logger.d.ts +1 -0
- package/dist/types/utils/notification.d.ts +9 -0
- package/dist/types/utils/provide-design-system.d.ts +7 -0
- package/dist/types/utils/scroll.d.ts +7 -0
- package/dist/types/utils/sidebar.d.ts +5 -0
- package/dist/types/utils/size.d.ts +7 -0
- package/dist/types/utils/stage.d.ts +3 -0
- package/dist/types/utils/string.d.ts +24 -0
- package/dist/types/utils/sync-with-store/index.d.ts +3 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +20 -0
- package/dist/types/utils/time.d.ts +1 -0
- package/dist/types/utils/troubleshooter.d.ts +151 -0
- package/dist/types/utils/user-prefs.d.ts +7 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +59 -3
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-c1fb98bb.js';
|
|
2
|
+
import { c as useLanguage, a as defaultIconPack } from './ui-store-b453cdf2.js';
|
|
3
|
+
import { S as SyncWithStore } from './index-6aaa85ca.js';
|
|
4
|
+
|
|
5
|
+
const rtkRecordingToggleCss = ":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}";
|
|
6
|
+
const RtkRecordingToggleStyle0 = rtkRecordingToggleCss;
|
|
7
|
+
|
|
8
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
11
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
12
|
+
else
|
|
13
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
14
|
+
if (d = decorators[i])
|
|
15
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
16
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
+
};
|
|
18
|
+
const RtkRecordingToggle = class {
|
|
19
|
+
constructor(hostRef) {
|
|
20
|
+
registerInstance(this, hostRef);
|
|
21
|
+
this.apiError = createEvent(this, "rtkApiError", 7);
|
|
22
|
+
/** Variant */
|
|
23
|
+
this.variant = 'button';
|
|
24
|
+
/** Language */
|
|
25
|
+
this.t = useLanguage();
|
|
26
|
+
/** Icon pack */
|
|
27
|
+
this.iconPack = defaultIconPack;
|
|
28
|
+
/** Disable the button */
|
|
29
|
+
this.disabled = false;
|
|
30
|
+
this.canRecord = false;
|
|
31
|
+
this.permissionsUpdateListener = () => {
|
|
32
|
+
this.canRecord = this.meeting.self.permissions.canRecord === true;
|
|
33
|
+
};
|
|
34
|
+
this.toggleRecording = async () => {
|
|
35
|
+
var _a, _b, _c;
|
|
36
|
+
if (this.isLoading() || this.disabled)
|
|
37
|
+
return;
|
|
38
|
+
switch (this.recordingState) {
|
|
39
|
+
case 'IDLE':
|
|
40
|
+
try {
|
|
41
|
+
await ((_a = this.meeting) === null || _a === void 0 ? void 0 : _a.recording.start());
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
catch (_d) {
|
|
45
|
+
this.apiError.emit({
|
|
46
|
+
trace: this.t('recording.start'),
|
|
47
|
+
message: this.t('recording.error.start'),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
return;
|
|
51
|
+
case 'RECORDING':
|
|
52
|
+
try {
|
|
53
|
+
await ((_b = this.meeting) === null || _b === void 0 ? void 0 : _b.recording.stop());
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
catch (_e) {
|
|
57
|
+
this.apiError.emit({
|
|
58
|
+
trace: this.t('recording.stop'),
|
|
59
|
+
message: this.t('recording.error.stop'),
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
return;
|
|
63
|
+
case 'PAUSED':
|
|
64
|
+
try {
|
|
65
|
+
await ((_c = this.meeting) === null || _c === void 0 ? void 0 : _c.recording.resume());
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
catch (_f) {
|
|
69
|
+
this.apiError.emit({
|
|
70
|
+
trace: this.t('recording.resume'),
|
|
71
|
+
message: this.t('recording.error.resume'),
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return;
|
|
75
|
+
case 'STARTING':
|
|
76
|
+
case 'STOPPING':
|
|
77
|
+
default:
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
this.isLoading = () => {
|
|
82
|
+
return (this.meeting == null ||
|
|
83
|
+
this.recordingState === 'STARTING' ||
|
|
84
|
+
this.recordingState === 'STOPPING');
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
connectedCallback() {
|
|
88
|
+
this.meetingChanged(this.meeting);
|
|
89
|
+
}
|
|
90
|
+
disconnectedCallback() {
|
|
91
|
+
var _a, _b;
|
|
92
|
+
this.recordingStateUpdateListener &&
|
|
93
|
+
((_a = this.meeting) === null || _a === void 0 ? void 0 : _a.recording.removeListener('recordingUpdate', this.recordingStateUpdateListener));
|
|
94
|
+
(_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.permissions.removeListener('permissionsUpdate', this.permissionsUpdateListener);
|
|
95
|
+
}
|
|
96
|
+
meetingChanged(meeting) {
|
|
97
|
+
if (meeting != null) {
|
|
98
|
+
this.recordingState = meeting.recording.recordingState;
|
|
99
|
+
this.permissionsUpdateListener();
|
|
100
|
+
this.recordingStateUpdateListener = (recordingState) => {
|
|
101
|
+
this.recordingState = recordingState;
|
|
102
|
+
};
|
|
103
|
+
meeting.recording.addListener('recordingUpdate', this.recordingStateUpdateListener);
|
|
104
|
+
meeting.self.permissions.addListener('permissionsUpdate', this.permissionsUpdateListener);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
getLabel() {
|
|
108
|
+
switch (this.recordingState) {
|
|
109
|
+
case 'IDLE':
|
|
110
|
+
return 'recording.idle';
|
|
111
|
+
case 'RECORDING':
|
|
112
|
+
return 'recording.stop';
|
|
113
|
+
case 'STARTING':
|
|
114
|
+
return 'recording.starting';
|
|
115
|
+
case 'STOPPING':
|
|
116
|
+
return 'recording.stopping';
|
|
117
|
+
case 'PAUSED':
|
|
118
|
+
return 'recording.resume';
|
|
119
|
+
default:
|
|
120
|
+
return 'recording.loading';
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
getIcon() {
|
|
124
|
+
switch (this.recordingState) {
|
|
125
|
+
case 'IDLE':
|
|
126
|
+
return this.iconPack.recording;
|
|
127
|
+
case 'RECORDING':
|
|
128
|
+
return this.iconPack.stop_recording;
|
|
129
|
+
case 'STARTING':
|
|
130
|
+
case 'STOPPING':
|
|
131
|
+
default:
|
|
132
|
+
return this.iconPack.recording;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
render() {
|
|
136
|
+
if (!this.canRecord)
|
|
137
|
+
return;
|
|
138
|
+
return (h(Host, { title: this.t(this.recordingState === 'RECORDING' ? 'recording.stop' : 'recording.idle') }, h("rtk-controlbar-button", { part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: this.toggleRecording, icon: this.getIcon(), isLoading: this.isLoading(), label: this.t(this.getLabel()), variant: this.variant, disabled: this.disabled })));
|
|
139
|
+
}
|
|
140
|
+
static get watchers() { return {
|
|
141
|
+
"meeting": ["meetingChanged"]
|
|
142
|
+
}; }
|
|
143
|
+
};
|
|
144
|
+
__decorate([
|
|
145
|
+
SyncWithStore()
|
|
146
|
+
], RtkRecordingToggle.prototype, "meeting", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
SyncWithStore()
|
|
149
|
+
], RtkRecordingToggle.prototype, "t", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
SyncWithStore()
|
|
152
|
+
], RtkRecordingToggle.prototype, "iconPack", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
SyncWithStore()
|
|
155
|
+
], RtkRecordingToggle.prototype, "size", void 0);
|
|
156
|
+
RtkRecordingToggle.style = RtkRecordingToggleStyle0;
|
|
157
|
+
|
|
158
|
+
export { RtkRecordingToggle as rtk_recording_toggle };
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-c1fb98bb.js';
|
|
2
|
+
import { a as defaultIconPack, c as useLanguage } from './ui-store-b453cdf2.js';
|
|
3
|
+
import { l as logger } from './logger-31448943.js';
|
|
4
|
+
import { S as SyncWithStore } from './index-6aaa85ca.js';
|
|
5
|
+
|
|
6
|
+
const rtkScreenShareToggleCss = ":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}:host([data-hidden]){display:none}";
|
|
7
|
+
const RtkScreenShareToggleStyle0 = rtkScreenShareToggleCss;
|
|
8
|
+
|
|
9
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
12
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
13
|
+
else
|
|
14
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
15
|
+
if (d = decorators[i])
|
|
16
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
const deviceCanScreenShare = () => {
|
|
20
|
+
return (typeof navigator !== 'undefined' &&
|
|
21
|
+
typeof navigator.mediaDevices !== 'undefined' &&
|
|
22
|
+
'getDisplayMedia' in navigator.mediaDevices);
|
|
23
|
+
};
|
|
24
|
+
const RtkScreenShareToggle = class {
|
|
25
|
+
constructor(hostRef) {
|
|
26
|
+
registerInstance(this, hostRef);
|
|
27
|
+
this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
|
|
28
|
+
this.apiError = createEvent(this, "rtkApiError", 7);
|
|
29
|
+
/** Variant */
|
|
30
|
+
this.variant = 'button';
|
|
31
|
+
/** Icon pack */
|
|
32
|
+
this.iconPack = defaultIconPack;
|
|
33
|
+
/** Language */
|
|
34
|
+
this.t = useLanguage();
|
|
35
|
+
/**
|
|
36
|
+
* Maximum screen share count (value from preset)
|
|
37
|
+
* -1 denotes there is no limit on maximum
|
|
38
|
+
*/
|
|
39
|
+
this.maxScreenShareCount = -1;
|
|
40
|
+
this.screenShareCount = 0;
|
|
41
|
+
this.screenShareEnabled = false;
|
|
42
|
+
this.canScreenShare = false;
|
|
43
|
+
this.shareScreenPermission = 'NOT_REQUESTED';
|
|
44
|
+
this.screenShareState = {
|
|
45
|
+
tooltipLabel: this.t('screenshare.start'),
|
|
46
|
+
label: this.t('screenshare.start'),
|
|
47
|
+
icon: this.iconPack.share_screen_start,
|
|
48
|
+
classList: {},
|
|
49
|
+
showWarning: false,
|
|
50
|
+
disable: false,
|
|
51
|
+
};
|
|
52
|
+
this.stageStatus = 'OFF_STAGE';
|
|
53
|
+
this.screenShareListener = () => {
|
|
54
|
+
const activeScreenShares = this.meeting.participants.active
|
|
55
|
+
.toArray()
|
|
56
|
+
.filter((p) => p.screenShareEnabled).length;
|
|
57
|
+
const selfScreenShare = this.meeting.self.screenShareEnabled ? 1 : 0;
|
|
58
|
+
this.screenShareCount = activeScreenShares + selfScreenShare;
|
|
59
|
+
this.screenShareEnabled = this.meeting.self.screenShareEnabled;
|
|
60
|
+
this.getState();
|
|
61
|
+
this.meeting.__internals__.logger.info('rtkScreenShare::screenShareUpdate', {
|
|
62
|
+
media: {
|
|
63
|
+
screenshare: {
|
|
64
|
+
enabled: this.screenShareEnabled,
|
|
65
|
+
count: this.screenShareCount,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
this.participantLeftListener = ({ screenShareEnabled }) => {
|
|
71
|
+
if (screenShareEnabled) {
|
|
72
|
+
// decrement count if participant who left had screenShareEnabled
|
|
73
|
+
// and don't let it go below 0 (just a failsafe)
|
|
74
|
+
this.screenShareCount = Math.max(this.screenShareCount - 1, 0);
|
|
75
|
+
this.getState();
|
|
76
|
+
this.meeting.__internals__.logger.info('rtkScreenShare::screenShareUpdate', {
|
|
77
|
+
media: {
|
|
78
|
+
screenshare: {
|
|
79
|
+
enabled: this.screenShareEnabled,
|
|
80
|
+
count: this.screenShareCount,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
this.stageStatusListener = () => {
|
|
87
|
+
this.stageStatus = this.meeting.stage.status;
|
|
88
|
+
this.canScreenShare = this.meeting.self.permissions.canProduceScreenshare === 'ALLOWED';
|
|
89
|
+
};
|
|
90
|
+
this.mediaPermissionUpdateListener = ({ kind, message }) => {
|
|
91
|
+
if (kind === 'screenshare') {
|
|
92
|
+
this.shareScreenPermission = message;
|
|
93
|
+
this.getState();
|
|
94
|
+
if (message === 'COULD_NOT_START') {
|
|
95
|
+
this.apiError.emit({
|
|
96
|
+
trace: this.t('screenshare.permissions'),
|
|
97
|
+
message: this.t('screenshare.error.unknown'),
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
if (this.hasPermissionError()) {
|
|
101
|
+
const permissionModalSettings = {
|
|
102
|
+
enabled: true,
|
|
103
|
+
kind: 'screenshare',
|
|
104
|
+
};
|
|
105
|
+
this.stateUpdate.emit({ activePermissionsMessage: permissionModalSettings });
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
this.reachedMaxScreenShares = () => {
|
|
110
|
+
// checks if a limit exists, and if limit is reached
|
|
111
|
+
return this.maxScreenShareCount > 0 && this.screenShareCount >= this.maxScreenShareCount;
|
|
112
|
+
};
|
|
113
|
+
this.toggleScreenShare = async () => {
|
|
114
|
+
var _a;
|
|
115
|
+
if (this.screenShareState.disable)
|
|
116
|
+
return;
|
|
117
|
+
if (this.hasPermissionError()) {
|
|
118
|
+
const permissionModalSettings = {
|
|
119
|
+
enabled: true,
|
|
120
|
+
kind: 'screenshare',
|
|
121
|
+
};
|
|
122
|
+
this.stateUpdate.emit({ activePermissionsMessage: permissionModalSettings });
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
const self = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self;
|
|
126
|
+
if (this.screenShareEnabled) {
|
|
127
|
+
self.disableScreenShare();
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
if (self == null ||
|
|
131
|
+
!this.canScreenShare ||
|
|
132
|
+
this.reachedMaxScreenShares() ||
|
|
133
|
+
this.hasPermissionError())
|
|
134
|
+
return;
|
|
135
|
+
this.screenShareState = Object.assign(Object.assign({}, this.screenShareState), { disable: true });
|
|
136
|
+
await self.enableScreenShare();
|
|
137
|
+
this.screenShareState = Object.assign(Object.assign({}, this.screenShareState), { disable: false });
|
|
138
|
+
this.stateUpdate.emit({ activeMoreMenu: false });
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
connectedCallback() {
|
|
142
|
+
if (!deviceCanScreenShare()) {
|
|
143
|
+
logger.error('[rtk-screenshare-toggle] Device does not support screensharing.');
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
this.meetingChanged(this.meeting);
|
|
147
|
+
}
|
|
148
|
+
disconnectedCallback() {
|
|
149
|
+
var _a, _b, _c, _d, _e, _f;
|
|
150
|
+
(_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.joined.removeListener('screenShareUpdate', this.screenShareListener);
|
|
151
|
+
(_b = this.meeting) === null || _b === void 0 ? void 0 : _b.participants.joined.removeListener('participantLeft', this.participantLeftListener);
|
|
152
|
+
(_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self.removeListener('screenShareUpdate', this.screenShareListener);
|
|
153
|
+
(_d = this.meeting) === null || _d === void 0 ? void 0 : _d.self.removeListener('mediaPermissionUpdate', this.mediaPermissionUpdateListener);
|
|
154
|
+
(_f = (_e = this.meeting) === null || _e === void 0 ? void 0 : _e.stage) === null || _f === void 0 ? void 0 : _f.removeListener('stageStatusUpdate', this.stageStatusListener);
|
|
155
|
+
}
|
|
156
|
+
meetingChanged(meeting) {
|
|
157
|
+
if (meeting != null) {
|
|
158
|
+
const { self, stage } = meeting;
|
|
159
|
+
this.canScreenShare = this.meeting.self.permissions.canProduceScreenshare === 'ALLOWED';
|
|
160
|
+
this.maxScreenShareCount = self.config.maxScreenShareCount;
|
|
161
|
+
this.screenShareEnabled = self.screenShareEnabled;
|
|
162
|
+
let screenShareCount = 0;
|
|
163
|
+
for (const participant of meeting.participants.joined.toArray()) {
|
|
164
|
+
if (participant.screenShareEnabled) {
|
|
165
|
+
screenShareCount++;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
this.screenShareCount = screenShareCount;
|
|
169
|
+
this.getState();
|
|
170
|
+
meeting.__internals__.logger.info('rtkScreenShare::initialise', {
|
|
171
|
+
media: {
|
|
172
|
+
screenshare: {
|
|
173
|
+
enabled: this.screenShareEnabled,
|
|
174
|
+
count: this.screenShareCount,
|
|
175
|
+
maxAllowedCount: this.maxScreenShareCount,
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
});
|
|
179
|
+
this.stageStatus = meeting.stage.status;
|
|
180
|
+
meeting.participants.joined.addListener('screenShareUpdate', this.screenShareListener);
|
|
181
|
+
meeting.participants.joined.addListener('participantLeft', this.participantLeftListener);
|
|
182
|
+
self.addListener('screenShareUpdate', this.screenShareListener);
|
|
183
|
+
self.addListener('mediaPermissionUpdate', this.mediaPermissionUpdateListener);
|
|
184
|
+
stage === null || stage === void 0 ? void 0 : stage.addListener('stageStatusUpdate', this.stageStatusListener);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
hasPermissionError() {
|
|
188
|
+
return (this.shareScreenPermission === 'SYSTEM_DENIED' || this.shareScreenPermission === 'DENIED');
|
|
189
|
+
}
|
|
190
|
+
getState() {
|
|
191
|
+
let tooltipLabel = '';
|
|
192
|
+
let label = '';
|
|
193
|
+
let icon = '';
|
|
194
|
+
let classList = {};
|
|
195
|
+
const hasError = this.hasPermissionError() && !this.screenShareEnabled;
|
|
196
|
+
const limitReached = this.reachedMaxScreenShares() && !this.screenShareEnabled;
|
|
197
|
+
const couldNotStart = this.shareScreenPermission === 'COULD_NOT_START';
|
|
198
|
+
if (this.screenShareEnabled && !hasError) {
|
|
199
|
+
label = this.t('screenshare.stop');
|
|
200
|
+
icon = this.iconPack.share_screen_stop;
|
|
201
|
+
classList['red-icon'] = true;
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
label = this.t('screenshare.start');
|
|
205
|
+
icon = this.iconPack.share_screen_start;
|
|
206
|
+
}
|
|
207
|
+
if (this.shareScreenPermission === 'SYSTEM_DENIED') {
|
|
208
|
+
tooltipLabel = this.t('perm_sys_denied.screenshare');
|
|
209
|
+
classList['red-icon'] = true;
|
|
210
|
+
}
|
|
211
|
+
else if (this.shareScreenPermission === 'DENIED') {
|
|
212
|
+
tooltipLabel = this.t('perm_denied.screenshare');
|
|
213
|
+
classList['red-icon'] = true;
|
|
214
|
+
}
|
|
215
|
+
else {
|
|
216
|
+
tooltipLabel = label;
|
|
217
|
+
}
|
|
218
|
+
if (limitReached) {
|
|
219
|
+
tooltipLabel = this.t('screenshare.error.max_count');
|
|
220
|
+
}
|
|
221
|
+
if (couldNotStart) {
|
|
222
|
+
tooltipLabel = this.t('screenshare.error.unknown');
|
|
223
|
+
}
|
|
224
|
+
this.screenShareState = {
|
|
225
|
+
tooltipLabel,
|
|
226
|
+
label,
|
|
227
|
+
icon,
|
|
228
|
+
classList,
|
|
229
|
+
disable: hasError || limitReached,
|
|
230
|
+
showWarning: hasError || limitReached || couldNotStart,
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
render() {
|
|
234
|
+
if (!deviceCanScreenShare() ||
|
|
235
|
+
!this.canScreenShare ||
|
|
236
|
+
['OFF_STAGE', 'REQUESTED_TO_JOIN_STAGE'].includes(this.stageStatus)) {
|
|
237
|
+
return h(Host, { "data-hidden": true });
|
|
238
|
+
}
|
|
239
|
+
return (h(Host, { title: this.screenShareState.label }, h("rtk-tooltip", { placement: "top", kind: "block", label: this.screenShareState.tooltipLabel, delay: 600, part: "tooltip" }, h("rtk-controlbar-button", { part: "controlbar-button", size: this.size, iconPack: this.iconPack, variant: this.variant, label: this.screenShareState.label, icon: this.screenShareState.icon, class: this.screenShareState.classList, onClick: this.toggleScreenShare, disabled: this.screenShareState.disable, showWarning: this.screenShareState.showWarning }))));
|
|
240
|
+
}
|
|
241
|
+
static get watchers() { return {
|
|
242
|
+
"meeting": ["meetingChanged"]
|
|
243
|
+
}; }
|
|
244
|
+
};
|
|
245
|
+
__decorate([
|
|
246
|
+
SyncWithStore()
|
|
247
|
+
], RtkScreenShareToggle.prototype, "states", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
SyncWithStore()
|
|
250
|
+
], RtkScreenShareToggle.prototype, "meeting", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
SyncWithStore()
|
|
253
|
+
], RtkScreenShareToggle.prototype, "size", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
SyncWithStore()
|
|
256
|
+
], RtkScreenShareToggle.prototype, "iconPack", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
SyncWithStore()
|
|
259
|
+
], RtkScreenShareToggle.prototype, "t", void 0);
|
|
260
|
+
RtkScreenShareToggle.style = RtkScreenShareToggleStyle0;
|
|
261
|
+
|
|
262
|
+
export { RtkScreenShareToggle as rtk_screen_share_toggle };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, w as writeTask, h, H as Host, a as getElement } from './index-c1fb98bb.js';
|
|
2
|
+
import { a as defaultIconPack, c as useLanguage } from './ui-store-b453cdf2.js';
|
|
3
|
+
import { i as isFullScreenEnabled, r as requestFullScreen, e as exitFullSreen, a as isFullScreenSupported } from './full-screen-1f58c594.js';
|
|
4
|
+
import { S as SyncWithStore } from './index-6aaa85ca.js';
|
|
5
|
+
|
|
6
|
+
const rtkScreenshareViewCss = ":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 height: 100%;\n width: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-lg, 12px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));\n container-type: inline-size;\n container-name: screentile;\n}\n\n::slotted(rtk-name-tag) {\n position: absolute;\n left: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n opacity: 0.8;\n}\n\n#video-container {\n position: absolute;\n display: block;\n height: 100%;\n width: 100%;\n}\n\n#video-container .fit-in-container {\n -o-object-fit: fill;\n object-fit: fill;\n}\n\nvideo {\n height: 100%;\n width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n:host([variant='gradient']) ::slotted(rtk-audio-visualizer) {\n position: absolute;\n top: var(--rtk-space-2, 8px);\n right: var(--rtk-space-2, 8px);\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 padding: var(--rtk-space-2, 8px);\n}\n\n:host([variant='gradient']) ::slotted(rtk-name-tag) {\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n text-align: center;\n background-color: transparent;\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n --tw-gradient-from: rgb(var(--rtk-colors-background-1000, 8 8 8));\n --tw-gradient-to: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n --tw-gradient-to: transparent;\n}\n\n:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer) {\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n}\n\nvideo.visible {\n animation: video-fadein 0.4s ease;\n}\n\n#controls {\n display: none;\n position: absolute;\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n align-items: center;\n justify-content: flex-end;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host(:hover) #controls, \n:host(:active) #controls, \n:host(:focus-visible) #controls {\n display: flex;\n}\n\n#full-screen-btn {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n}\n\n/** For self view */\n\nh3 {\n margin-top: var(--rtk-space-10, 40px);\n margin-bottom: var(--rtk-space-6, 24px);\n text-align: center;\n font-size: 20px;\n font-weight: 500;\n}\n\n:host([size='sm']) h3 {\n font-size: 16px;\n}\n\n#self-message {\n padding-left: var(--rtk-space-4, 16px);\n padding-right: var(--rtk-space-4, 16px);\n}\n\n:host(.isSelf) #self-view {\n flex: 1 1 0%;\n}\n\n:host(.isSelf) #video-container {\n position: static;\n aspect-ratio: auto;\n height: auto;\n width: 50%;\n max-width: var(--rtk-space-96, 384px);\n border-radius: var(--rtk-border-radius-md, 8px);\n transition: 0.6s ease;\n}\n\n:host(.isSelf) #video-container.expand {\n width: 60%;\n max-width: 100%;\n}\n\n.actions {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host([size='sm'].isSelf) #video-container,\n:host([size='md'].isSelf) #video-container,\n:host([size='sm'].isSelf) #expand-btn,\n:host([size='md'].isSelf) #expand-btn {\n /** Hide video, fullscreen buttons in sm and md breakpoints */\n display: none;\n}\n\n/** Remote control */\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n.remote-control {\n z-index: 10;\n height: 100%;\n max-height: 100%;\n flex: 0 1 auto;\n}\n\n#remote-control-self {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n left: 50%;\n z-index: 10;\n width: -moz-max-content;\n width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n display: flex;\n height: var(--rtk-space-8, 32px);\n align-items: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transform: translateX(-50%);\n}\n\n#remote-control-self p {\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n padding-top: var(--rtk-space-2, 8px);\n padding-bottom: var(--rtk-space-2, 8px);\n}\n\n#remote-control-self rtk-button {\n height: 100%;\n border-radius: var(--rtk-border-radius-none, 0);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));\n font-size: 12px;\n}\n\n:host([size='sm']) #remote-control-self {\n height: auto;\n flex-direction: column;\n}\n\n:host([size='sm']) #remote-control-self rtk-button {\n width: 100%;\n padding-top: var(--rtk-space-1, 4px);\n padding-bottom: var(--rtk-space-1, 4px);\n}\n\n/** Name tag positions */\n\n:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag) {\n left: auto;\n right: var(--rtk-space-3, 12px);\n}\n\n:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n}\n\n:host([name-tag-position='top-left']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n bottom: auto;\n}\n\n:host([name-tag-position='top-right']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n left: auto;\n bottom: auto;\n}\n\n:host([name-tag-position='top-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n bottom: auto;\n top: var(--rtk-space-3, 12px);\n}\n\n/** Keyframes */\n\n@keyframes video-fadein {\n 0% {\n opacity: 0;\n transform: scale(1.4) translateY(20px);\n }\n\n 100% {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n\n::slotted(rtk-network-indicator) {\n position: absolute;\n right: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n}\n\n@media only screen and (max-height: 480px) and (orientation: landscape) {\n :host([size='sm'][variant='solid']) ::slotted(rtk-name-tag), \n :host([size='sm'][variant='solid']) rtk-name-tag {\n left: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n border-radius: var(--rtk-border-radius-none, 0);\n transform-origin: 0% 110%;\n transform: scale(0.6);\n }\n}\n\n@container screentile (max-width: 400px) {\n ::slotted(rtk-name-tag) {\n transform-origin: 0 130%;\n transform: scale(0.7);\n }\n}\n";
|
|
7
|
+
const RtkScreenshareViewStyle0 = rtkScreenshareViewCss;
|
|
8
|
+
|
|
9
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
12
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
13
|
+
else
|
|
14
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
15
|
+
if (d = decorators[i])
|
|
16
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
const RtkScreenshareView = class {
|
|
20
|
+
constructor(hostRef) {
|
|
21
|
+
registerInstance(this, hostRef);
|
|
22
|
+
this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
|
|
23
|
+
this.play = createEvent(this, "screensharePlay", 7);
|
|
24
|
+
this.fullScreenListener = () => {
|
|
25
|
+
this.isFullScreen = isFullScreenEnabled();
|
|
26
|
+
};
|
|
27
|
+
this.participantScreenshareUpdate = (p) => {
|
|
28
|
+
if (p.id !== this.participant.id)
|
|
29
|
+
return;
|
|
30
|
+
this.screenShareListener(p);
|
|
31
|
+
};
|
|
32
|
+
/** Hide full screen button */
|
|
33
|
+
this.hideFullScreenButton = false;
|
|
34
|
+
/** Position of name tag */
|
|
35
|
+
this.nameTagPosition = 'bottom-left';
|
|
36
|
+
/** Variant */
|
|
37
|
+
this.variant = 'solid';
|
|
38
|
+
/** Icon pack */
|
|
39
|
+
this.iconPack = defaultIconPack;
|
|
40
|
+
/** Language */
|
|
41
|
+
this.t = useLanguage();
|
|
42
|
+
this.videoExpanded = false;
|
|
43
|
+
this.screenShareEnabled = false;
|
|
44
|
+
this.isFullScreen = false;
|
|
45
|
+
this.toggleFullScreen = () => {
|
|
46
|
+
if (!this.isFullScreen) {
|
|
47
|
+
requestFullScreen(this.host);
|
|
48
|
+
this.isFullScreen = true;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
exitFullSreen();
|
|
52
|
+
this.isFullScreen = false;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
connectedCallback() {
|
|
57
|
+
window === null || window === void 0 ? void 0 : window.addEventListener('fullscreenchange', this.fullScreenListener);
|
|
58
|
+
window === null || window === void 0 ? void 0 : window.addEventListener('webkitfullscreenchange', this.fullScreenListener);
|
|
59
|
+
}
|
|
60
|
+
componentDidLoad() {
|
|
61
|
+
this.participantChanged(this.participant);
|
|
62
|
+
}
|
|
63
|
+
disconnectedCallback() {
|
|
64
|
+
if (!this.meeting)
|
|
65
|
+
return;
|
|
66
|
+
const { self } = this.meeting;
|
|
67
|
+
if (this.participant.id === self.id && this.screenShareListener)
|
|
68
|
+
this.participant.removeListener('screenShareUpdate', this.screenShareListener);
|
|
69
|
+
else
|
|
70
|
+
this.meeting.participants.joined.removeListener('screenShareUpdate', this.participantScreenshareUpdate);
|
|
71
|
+
window === null || window === void 0 ? void 0 : window.removeEventListener('fullscreenchange', this.fullScreenListener);
|
|
72
|
+
window === null || window === void 0 ? void 0 : window.removeEventListener('webkitfullscreenchange', this.fullScreenListener);
|
|
73
|
+
}
|
|
74
|
+
participantChanged(participant) {
|
|
75
|
+
if (participant != null && this.meeting) {
|
|
76
|
+
const { self } = this.meeting;
|
|
77
|
+
this.screenShareListener = ({ screenShareEnabled, screenShareTracks }) => {
|
|
78
|
+
const enabled = screenShareEnabled && screenShareTracks.video != null;
|
|
79
|
+
writeTask(() => {
|
|
80
|
+
this.screenShareEnabled = enabled;
|
|
81
|
+
});
|
|
82
|
+
if (enabled) {
|
|
83
|
+
const stream = new MediaStream();
|
|
84
|
+
stream.addTrack(screenShareTracks.video);
|
|
85
|
+
if (this.videoEl != null) {
|
|
86
|
+
this.videoEl.srcObject = stream;
|
|
87
|
+
this.videoEl.play();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
else if (this.videoEl != null) {
|
|
91
|
+
this.videoEl.srcObject = undefined;
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
this.screenShareListener(participant);
|
|
95
|
+
if (participant.id === self.id)
|
|
96
|
+
participant.addListener('screenShareUpdate', this.screenShareListener);
|
|
97
|
+
else
|
|
98
|
+
this.meeting.participants.joined.addListener('screenShareUpdate', this.participantScreenshareUpdate);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
render() {
|
|
102
|
+
var _a, _b;
|
|
103
|
+
const isSelf = ((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.id);
|
|
104
|
+
const text = this.isFullScreen ? this.t('full_screen.exit') : this.t('full_screen');
|
|
105
|
+
const icon = this.isFullScreen
|
|
106
|
+
? this.iconPack.full_screen_minimize
|
|
107
|
+
: this.iconPack.full_screen_maximize;
|
|
108
|
+
return (h(Host, { key: 'c5fe06d9c1bfd2856b2eb93bb55b7c636256052f', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: '5bdd1b7bd0e28ecb4b551b30f6e623c7a1ece49a', ref: (el) => (this.videoEl = el), class: {
|
|
109
|
+
visible: this.screenShareEnabled,
|
|
110
|
+
'fit-in-container': this.participant.supportsRemoteControl,
|
|
111
|
+
}, playsInline: true, onPlay: () => {
|
|
112
|
+
this.play.emit({
|
|
113
|
+
screenshareParticipant: this.participant,
|
|
114
|
+
participant: this.meeting.self,
|
|
115
|
+
});
|
|
116
|
+
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: 'fdfd7c6b5468ef96bdb06d4f942a3e10cbee08cb', label: text }, h("rtk-button", { key: '99e0138257f6e0ec55ceee7f20318d78887f812b', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: '06e747a6af4a5b79445ffb63598afd2ac515d3a2', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '1ad96435977e90e6f0eff64a54507d106a4091be' }, this.t('screenshare.shared')), h("div", { key: '02f1e2a734d3f56157ab76c1de55517995d8f98d', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '4bc8344f8a829ff1a12552d9002d83032ec7277f', variant: "danger", onClick: () => {
|
|
117
|
+
this.meeting.self.disableScreenShare();
|
|
118
|
+
} }, h("rtk-icon", { key: 'c2412bb995c605f980859481200033a447147b91', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), h("rtk-button", { key: '0d513e8b6efa96b542d6bd163db81a179073ed45', variant: "secondary", id: "expand-btn", onClick: () => {
|
|
119
|
+
this.videoExpanded = !this.videoExpanded;
|
|
120
|
+
} }, h("rtk-icon", { key: 'bec9074447f55461239fc4c7c20b811dfe7db8bb', icon: this.videoExpanded
|
|
121
|
+
? this.iconPack.full_screen_minimize
|
|
122
|
+
: this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
|
|
123
|
+
? this.t('screenshare.min_preview')
|
|
124
|
+
: this.t('screenshare.max_preview'))))), h("slot", { key: '2858a3123887f964d6e8ea77fb871abddc4c6295' })));
|
|
125
|
+
}
|
|
126
|
+
get host() { return getElement(this); }
|
|
127
|
+
static get watchers() { return {
|
|
128
|
+
"participant": ["participantChanged"]
|
|
129
|
+
}; }
|
|
130
|
+
};
|
|
131
|
+
__decorate([
|
|
132
|
+
SyncWithStore()
|
|
133
|
+
], RtkScreenshareView.prototype, "meeting", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
SyncWithStore()
|
|
136
|
+
], RtkScreenshareView.prototype, "size", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
SyncWithStore()
|
|
139
|
+
], RtkScreenshareView.prototype, "iconPack", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
SyncWithStore()
|
|
142
|
+
], RtkScreenshareView.prototype, "t", void 0);
|
|
143
|
+
RtkScreenshareView.style = RtkScreenshareViewStyle0;
|
|
144
|
+
|
|
145
|
+
export { RtkScreenshareView as rtk_screenshare_view };
|