@cloudflare/realtimekit-ui 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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-5e193665.js +69 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/chat-926e8f05.js +217 -0
- package/dist/cjs/clone-2e9a4cae.js +754 -0
- package/dist/cjs/config-10bea2dc.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-e33a89b6.js +26 -0
- package/dist/cjs/index.cjs.js +267 -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/notification-a3fb0b56.js +39 -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 +6377 -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 +466 -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 +265 -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-7189b8fd.js +50 -0
- package/dist/cjs/size-2a406e36.js +28 -0
- package/dist/cjs/string-a410fab6.js +64 -0
- package/dist/cjs/ui-store-81ede08e.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 +285 -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 +469 -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 +34 -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/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-00905b54.js +108 -0
- package/dist/components/p-02f19345.js +50 -0
- package/dist/components/p-05d46a0e.js +307 -0
- package/dist/components/p-0752f2ba.js +13 -0
- package/dist/components/p-08020b3c.js +213 -0
- package/dist/components/p-0abe4b8a.js +200 -0
- package/dist/components/p-0b087be2.js +77 -0
- package/dist/components/p-0e02697c.js +85 -0
- package/dist/components/p-0e6f6af9.js +79 -0
- package/dist/components/p-0f77783d.js +951 -0
- package/dist/components/p-11a9a3ec.js +81 -0
- package/dist/components/p-132d39f6.js +131 -0
- package/dist/components/p-18164a2e.js +114 -0
- package/dist/components/p-190af711.js +125 -0
- package/dist/components/p-1b5e871d.js +199 -0
- package/dist/components/p-1ba98d57.js +628 -0
- package/dist/components/p-1edce9ef.js +68 -0
- package/dist/components/p-2134aa95.js +95 -0
- package/dist/components/p-2283539e.js +105 -0
- package/dist/components/p-24ac331b.js +83 -0
- package/dist/components/p-282cc869.js +128 -0
- package/dist/components/p-291cbe98.js +92 -0
- package/dist/components/p-2c3cda13.js +164 -0
- package/dist/components/p-2c95df3f.js +168 -0
- package/dist/components/p-2ca7a08a.js +95 -0
- package/dist/components/p-2f10ccec.js +93 -0
- package/dist/components/p-31964573.js +1892 -0
- package/dist/components/p-31a1dc4d.js +159 -0
- package/dist/components/p-3358d7dc.js +108 -0
- package/dist/components/p-338c7261.js +58 -0
- package/dist/components/p-34ee27d0.js +96 -0
- package/dist/components/p-3628bdcd.js +168 -0
- package/dist/components/p-382270d8.js +32 -0
- package/dist/components/p-39c19f58.js +103 -0
- package/dist/components/p-3d5ca4ac.js +156 -0
- package/dist/components/p-3d754c34.js +62 -0
- package/dist/components/p-3ed36ca2.js +161 -0
- package/dist/components/p-3f882e7c.js +299 -0
- package/dist/components/p-3fb24e88.js +264 -0
- package/dist/components/p-400d8f0d.js +85 -0
- package/dist/components/p-40b08033.js +86 -0
- package/dist/components/p-40b74b04.js +390 -0
- package/dist/components/p-43de959f.js +178 -0
- package/dist/components/p-46923b34.js +1409 -0
- package/dist/components/p-4ee52c16.js +37 -0
- package/dist/components/p-4f0299cf.js +155 -0
- package/dist/components/p-53d81684.js +194 -0
- package/dist/components/p-55910bec.js +116 -0
- package/dist/components/p-5cd5f7db.js +103 -0
- package/dist/components/p-60fdbd75.js +224 -0
- package/dist/components/p-62471047.js +204 -0
- package/dist/components/p-6a516f83.js +179 -0
- package/dist/components/p-736ab8a0.js +211 -0
- package/dist/components/p-74baedf6.js +309 -0
- package/dist/components/p-774b8b25.js +215 -0
- package/dist/components/p-7a0a4ea1.js +115 -0
- package/dist/components/p-7d3797ee.js +223 -0
- package/dist/components/p-80b25cac.js +305 -0
- package/dist/components/p-8149712f.js +105 -0
- package/dist/components/p-815a8bcc.js +97 -0
- package/dist/components/p-8198975c.js +124 -0
- package/dist/components/p-8302e30d.js +76 -0
- package/dist/components/p-838a4971.js +203 -0
- package/dist/components/p-8b197573.js +353 -0
- package/dist/components/p-8ec943fb.js +162 -0
- package/dist/components/p-8fd7ccbf.js +149 -0
- package/dist/components/p-92a1602c.js +64 -0
- package/dist/components/p-92e527ab.js +131 -0
- package/dist/components/p-96be234f.js +26 -0
- package/dist/components/p-96d5823f.js +57 -0
- package/dist/components/p-9bcf0d04.js +1544 -0
- package/dist/components/p-9fc565cf.js +57 -0
- package/dist/components/p-a08b5a59.js +329 -0
- package/dist/components/p-a262dd1a.js +227 -0
- package/dist/components/p-a2f4f9e3.js +67 -0
- package/dist/components/p-a53e3d25.js +316 -0
- package/dist/components/p-a5737efc.js +61 -0
- package/dist/components/p-a83ccdbd.js +40 -0
- package/dist/components/p-a96fd0a2.js +45 -0
- package/dist/components/p-ab98bb45.js +69 -0
- package/dist/components/p-afce90ce.js +150 -0
- package/dist/components/p-b13ddb7d.js +96 -0
- package/dist/components/p-b1f57d50.js +118 -0
- package/dist/components/p-b661e73e.js +24 -0
- package/dist/components/p-b7fe585f.js +134 -0
- package/dist/components/p-b9089444.js +119 -0
- package/dist/components/p-bcb91396.js +43 -0
- package/dist/components/p-bd20259b.js +63 -0
- package/dist/components/p-c15d924f.js +752 -0
- package/dist/components/p-c3592601.js +1641 -0
- package/dist/components/p-c746a8bd.js +357 -0
- package/dist/components/p-c9e399b4.js +29080 -0
- package/dist/components/p-cbdd7a99.js +542 -0
- package/dist/components/p-cf6253c5.js +127 -0
- package/dist/components/p-d80915fb.js +114 -0
- package/dist/components/p-de933b70.js +157 -0
- package/dist/components/p-dfd1dfed.js +101 -0
- package/dist/components/p-e36ef452.js +157 -0
- package/dist/components/p-e560b4b6.js +82 -0
- package/dist/components/p-e8385e2f.js +125 -0
- package/dist/components/p-e889cc60.js +95 -0
- package/dist/components/p-eae68017.js +107 -0
- package/dist/components/p-eb6e37e9.js +148 -0
- package/dist/components/p-ee449660.js +1178 -0
- package/dist/components/p-ee490919.js +148 -0
- package/dist/components/p-f0924403.js +120 -0
- package/dist/components/p-f1dd271e.js +182 -0
- package/dist/components/p-f47d4fe8.js +928 -0
- package/dist/components/p-febe3ebc.js +11 -0
- package/dist/components/p-ff033d49.js +153 -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 +320 -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-276a0abf.js +67 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/chat-d85cc211.js +200 -0
- package/dist/esm/clone-acd4af50.js +752 -0
- package/dist/esm/config-59d761c0.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-7c11af40.js +24 -0
- package/dist/esm/index-c1fb98bb.js +2158 -0
- package/dist/esm/index-d31a2e33.js +224 -0
- package/dist/esm/index.js +248 -0
- package/dist/esm/isObjectLike-773b9473.js +164 -0
- package/dist/esm/keysIn-310f65c1.js +1409 -0
- package/dist/esm/loader.js +56260 -0
- package/dist/esm/notification-c6d0d98f.js +37 -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 +6320 -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 +459 -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 +261 -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-5df37ae6.js +45 -0
- package/dist/esm/size-505ade24.js +26 -0
- package/dist/esm/string-ed1380fb.js +58 -0
- package/dist/esm/ui-store-9e11a7e4.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-02f19345.js +1 -0
- package/dist/realtimekit-ui/p-03f59c3d.entry.js +1 -0
- package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
- package/dist/realtimekit-ui/p-08bcc52f.js +1 -0
- package/dist/realtimekit-ui/p-096b684e.entry.js +1 -0
- package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
- package/dist/realtimekit-ui/p-0ee570cd.js +2 -0
- package/dist/realtimekit-ui/p-0fbab69a.entry.js +1 -0
- package/dist/realtimekit-ui/p-10d038f4.entry.js +1 -0
- package/dist/realtimekit-ui/p-135fecaf.entry.js +1 -0
- package/dist/realtimekit-ui/p-1489ae26.entry.js +1 -0
- package/dist/realtimekit-ui/p-16951364.entry.js +1 -0
- package/dist/realtimekit-ui/p-1d66185e.entry.js +1 -0
- package/dist/realtimekit-ui/p-1e624154.entry.js +1 -0
- package/dist/realtimekit-ui/p-1fdd6794.entry.js +1 -0
- package/dist/realtimekit-ui/p-21cbb4c2.entry.js +1 -0
- package/dist/realtimekit-ui/p-241230d3.entry.js +1 -0
- package/dist/realtimekit-ui/p-27478c0c.js +1 -0
- package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
- package/dist/realtimekit-ui/p-300dc0f3.entry.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-376ac678.entry.js +1 -0
- package/dist/realtimekit-ui/p-3b604624.entry.js +1 -0
- package/dist/realtimekit-ui/p-3ba364bd.entry.js +1 -0
- package/dist/realtimekit-ui/p-3e0b8db7.entry.js +1 -0
- package/dist/realtimekit-ui/p-3f42b7a8.entry.js +1 -0
- package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
- package/dist/realtimekit-ui/p-41382f52.js +1 -0
- package/dist/realtimekit-ui/p-454f1abe.entry.js +1 -0
- package/dist/realtimekit-ui/p-46923b34.js +1 -0
- package/dist/realtimekit-ui/p-473e3bff.entry.js +1 -0
- package/dist/realtimekit-ui/p-48b31e6c.entry.js +1 -0
- package/dist/realtimekit-ui/p-4ad4a43b.js +1 -0
- package/dist/realtimekit-ui/p-4c04f719.entry.js +1 -0
- package/dist/realtimekit-ui/p-4e0ceba3.entry.js +1 -0
- package/dist/realtimekit-ui/p-538fba61.entry.js +1 -0
- package/dist/realtimekit-ui/p-56dace60.entry.js +1 -0
- package/dist/realtimekit-ui/p-5d060b1e.entry.js +1 -0
- package/dist/realtimekit-ui/p-5d4e5a90.entry.js +1 -0
- package/dist/realtimekit-ui/p-60fd7733.entry.js +1 -0
- package/dist/realtimekit-ui/p-61f5c8a5.entry.js +1 -0
- package/dist/realtimekit-ui/p-64021a4b.entry.js +1 -0
- package/dist/realtimekit-ui/p-67a64842.entry.js +1 -0
- package/dist/realtimekit-ui/p-6c828edd.entry.js +1 -0
- package/dist/realtimekit-ui/p-6d9cd1bc.entry.js +1 -0
- package/dist/realtimekit-ui/p-705df137.entry.js +1 -0
- package/dist/realtimekit-ui/p-70973f56.entry.js +1 -0
- package/dist/realtimekit-ui/p-70e6c27d.entry.js +1 -0
- package/dist/realtimekit-ui/p-7463e3d7.entry.js +1 -0
- package/dist/realtimekit-ui/p-74828b25.entry.js +1 -0
- package/dist/realtimekit-ui/p-74f3ec2d.entry.js +1 -0
- package/dist/realtimekit-ui/p-7be381d1.entry.js +1 -0
- package/dist/realtimekit-ui/p-7df5df90.entry.js +1 -0
- package/dist/realtimekit-ui/p-7f175a9d.entry.js +1 -0
- package/dist/realtimekit-ui/p-80ad2db7.entry.js +1 -0
- package/dist/realtimekit-ui/p-845a7826.entry.js +1 -0
- package/dist/realtimekit-ui/p-87fe69f0.entry.js +1 -0
- package/dist/realtimekit-ui/p-8b34bfb4.entry.js +1 -0
- package/dist/realtimekit-ui/p-9170059f.entry.js +1 -0
- package/dist/realtimekit-ui/p-936d63a2.entry.js +1 -0
- package/dist/realtimekit-ui/p-93e6efcb.entry.js +1 -0
- package/dist/realtimekit-ui/p-93f49750.entry.js +1 -0
- package/dist/realtimekit-ui/p-96a11481.entry.js +1 -0
- package/dist/realtimekit-ui/p-96be234f.js +1 -0
- package/dist/realtimekit-ui/p-98366449.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c733fd3.js +1 -0
- package/dist/realtimekit-ui/p-9f6d4fd1.entry.js +1 -0
- package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
- package/dist/realtimekit-ui/p-a0652de1.entry.js +1 -0
- package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
- package/dist/realtimekit-ui/p-a85361b3.entry.js +1 -0
- package/dist/realtimekit-ui/p-aa62ab59.js +1 -0
- package/dist/realtimekit-ui/p-ac306160.entry.js +1 -0
- package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
- package/dist/realtimekit-ui/p-b241c54b.entry.js +1 -0
- package/dist/realtimekit-ui/p-b4eafb55.entry.js +1 -0
- package/dist/realtimekit-ui/p-b5486fed.entry.js +1 -0
- package/dist/realtimekit-ui/p-b748755c.entry.js +1 -0
- package/dist/realtimekit-ui/p-b797c190.entry.js +1 -0
- package/dist/realtimekit-ui/p-b7bb07db.entry.js +1 -0
- package/dist/realtimekit-ui/p-bb3beb04.entry.js +1 -0
- package/dist/realtimekit-ui/p-c15d924f.js +1 -0
- package/dist/realtimekit-ui/p-c3dc1858.entry.js +1 -0
- package/dist/realtimekit-ui/p-c8eaa707.js +1 -0
- package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
- package/dist/realtimekit-ui/p-cf98e0e6.entry.js +1 -0
- package/dist/realtimekit-ui/p-d2d6cd44.entry.js +1 -0
- package/dist/realtimekit-ui/p-ddd9ae08.entry.js +1 -0
- package/dist/realtimekit-ui/p-e1255160.js +1 -0
- package/dist/realtimekit-ui/p-e52c2a9c.entry.js +1 -0
- package/dist/realtimekit-ui/p-e6377f44.entry.js +1 -0
- package/dist/realtimekit-ui/p-e687f3c1.entry.js +1 -0
- package/dist/realtimekit-ui/p-ebc9cc63.entry.js +1 -0
- package/dist/realtimekit-ui/p-edee9b57.js +1 -0
- package/dist/realtimekit-ui/p-f47d4fe8.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 +18 -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/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,951 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host } from './p-c3592601.js';
|
|
2
|
+
import { d as defaultConfig, a as defaultIconPack, c as useLanguage, l as usePaginatedChat, F as FlagsmithFeatureFlags } from './p-9bcf0d04.js';
|
|
3
|
+
import { h as handleFilesDataTransfer, g as generateChatGroupKey, T as TEMPORARY_CHANNEL_PREFIX, i as isDirectMessageChannel, d as alphabeticalSorter, f as getDMComparator, s as stripOutReplyBlock, j as parseMessageForTarget } from './p-0abe4b8a.js';
|
|
4
|
+
import { c as chatUnreadTimestamps } from './p-a83ccdbd.js';
|
|
5
|
+
import { S as SyncWithStore } from './p-b661e73e.js';
|
|
6
|
+
import { d as defineCustomElement$Q } from './p-2f10ccec.js';
|
|
7
|
+
import { d as defineCustomElement$P } from './p-3fb24e88.js';
|
|
8
|
+
import { d as defineCustomElement$O } from './p-43de959f.js';
|
|
9
|
+
import { d as defineCustomElement$N } from './p-40b74b04.js';
|
|
10
|
+
import { d as defineCustomElement$M } from './p-dfd1dfed.js';
|
|
11
|
+
import { d as defineCustomElement$L } from './p-92a1602c.js';
|
|
12
|
+
import { d as defineCustomElement$K } from './p-736ab8a0.js';
|
|
13
|
+
import { d as defineCustomElement$J } from './p-400d8f0d.js';
|
|
14
|
+
import { d as defineCustomElement$I } from './p-ee490919.js';
|
|
15
|
+
import { d as defineCustomElement$H } from './p-838a4971.js';
|
|
16
|
+
import { d as defineCustomElement$G } from './p-80b25cac.js';
|
|
17
|
+
import { d as defineCustomElement$F } from './p-08020b3c.js';
|
|
18
|
+
import { d as defineCustomElement$E } from './p-05d46a0e.js';
|
|
19
|
+
import { d as defineCustomElement$D } from './p-74baedf6.js';
|
|
20
|
+
import { d as defineCustomElement$C } from './p-eb6e37e9.js';
|
|
21
|
+
import { d as defineCustomElement$B } from './p-34ee27d0.js';
|
|
22
|
+
import { d as defineCustomElement$A } from './p-00905b54.js';
|
|
23
|
+
import { d as defineCustomElement$z } from './p-8ec943fb.js';
|
|
24
|
+
import { d as defineCustomElement$y } from './p-f1dd271e.js';
|
|
25
|
+
import { d as defineCustomElement$x } from './p-a262dd1a.js';
|
|
26
|
+
import { d as defineCustomElement$w } from './p-afce90ce.js';
|
|
27
|
+
import { d as defineCustomElement$v } from './p-53d81684.js';
|
|
28
|
+
import { d as defineCustomElement$u } from './p-cf6253c5.js';
|
|
29
|
+
import { d as defineCustomElement$t } from './p-a53e3d25.js';
|
|
30
|
+
import { d as defineCustomElement$s } from './p-7a0a4ea1.js';
|
|
31
|
+
import { d as defineCustomElement$r } from './p-282cc869.js';
|
|
32
|
+
import { d as defineCustomElement$q } from './p-0b087be2.js';
|
|
33
|
+
import { d as defineCustomElement$p } from './p-11a9a3ec.js';
|
|
34
|
+
import { d as defineCustomElement$o } from './p-ab98bb45.js';
|
|
35
|
+
import { d as defineCustomElement$n } from './p-8149712f.js';
|
|
36
|
+
import { d as defineCustomElement$m } from './p-3d754c34.js';
|
|
37
|
+
import { d as defineCustomElement$l } from './p-5cd5f7db.js';
|
|
38
|
+
import { d as defineCustomElement$k } from './p-291cbe98.js';
|
|
39
|
+
import { d as defineCustomElement$j } from './p-d80915fb.js';
|
|
40
|
+
import { d as defineCustomElement$i } from './p-92e527ab.js';
|
|
41
|
+
import { d as defineCustomElement$h } from './p-e889cc60.js';
|
|
42
|
+
import { d as defineCustomElement$g } from './p-3358d7dc.js';
|
|
43
|
+
import { d as defineCustomElement$f } from './p-2283539e.js';
|
|
44
|
+
import { d as defineCustomElement$e } from './p-a5737efc.js';
|
|
45
|
+
import { d as defineCustomElement$d } from './p-96d5823f.js';
|
|
46
|
+
import { d as defineCustomElement$c } from './p-18164a2e.js';
|
|
47
|
+
import { d as defineCustomElement$b } from './p-e560b4b6.js';
|
|
48
|
+
import { d as defineCustomElement$a } from './p-eae68017.js';
|
|
49
|
+
import { d as defineCustomElement$9 } from './p-1ba98d57.js';
|
|
50
|
+
import { d as defineCustomElement$8 } from './p-0e6f6af9.js';
|
|
51
|
+
import { d as defineCustomElement$7 } from './p-8b197573.js';
|
|
52
|
+
import { d as defineCustomElement$6 } from './p-7d3797ee.js';
|
|
53
|
+
import { d as defineCustomElement$5 } from './p-bd20259b.js';
|
|
54
|
+
import { d as defineCustomElement$4 } from './p-f0924403.js';
|
|
55
|
+
import { d as defineCustomElement$3 } from './p-1edce9ef.js';
|
|
56
|
+
import { d as defineCustomElement$2 } from './p-bcb91396.js';
|
|
57
|
+
import { d as defineCustomElement$1 } from './p-4f0299cf.js';
|
|
58
|
+
|
|
59
|
+
const rtkChatCss = ":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.scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: column;\n font-size: 14px;\n position: relative;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\nh3 {\n margin: var(--rtk-space-0, 0px);\n display: flex;\n height: var(--rtk-space-12, 48px);\n align-items: center;\n justify-content: center;\n font-size: 16px;\n font-weight: 400;\n color: rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));\n text-align: center;\n}\n\n#dropzone {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n z-index: 10;\n display: none;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));\n}\n\n#dropzone.active {\n display: flex;\n animation: 0.2s slide-up ease-in;\n}\n\nrtk-chat-messages-ui,\nrtk-chat-messages-ui-paginated {\n flex: 1 0 0;\n}\n\nrtk-chat-composer-view {\n margin: var(--rtk-space-2, 8px);\n}\n\n.chat-container {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: row;\n container-type: size;\n container-name: chatcontainer;\n}\n\n@container chatcontainer (height < 360px) {\n rtk-channel-selector-view {\n height: var(--rtk-space-8, 32px);\n min-height: 24px;\n }\n}\n\n.chat {\n display: flex;\n flex: 1 1 0%;\n flex-direction: column;\n}\n\n.banner {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.banner .welcome-new-channel {\n width: var(--rtk-space-48, 192px);\n}\n\n.banner .create-channel-illustration {\n height: var(--rtk-space-40, 160px);\n width: var(--rtk-space-40, 160px);\n}\n\n.channel-selector-header {\n box-sizing: border-box;\n height: var(--rtk-space-16, 64px);\n padding: var(--rtk-space-4, 16px);\n display: flex;\n justify-content: space-between;\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.channel-selector-header .channel-create-btn {\n width: var(--rtk-space-8, 32px);\n justify-content: center;\n}\n\n.channel-selector-header .channel-create-btn:hover {\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));\n}\n\n.view-chats-btn {\n margin-top: var(--rtk-space-4, 16px);\n}\n\n.selector-container {\n z-index: 50;\n width: 100%;\n max-width: var(--rtk-space-80, 320px);\n border-right: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.selector-container.hide {\n display: none;\n}\n\n.mobile-close-btn {\n display: none;\n}\n\n.selector-container.mobile {\n height: 100%;\n width: 100%;\n max-width: 100%;\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0.6);\n display: flex;\n}\n\n.selector-container.mobile rtk-channel-selector-view {\n max-width: var(--rtk-space-96, 384px);\n animation: 0.3s swipe-in;\n}\n\n.selector-container.mobile .mobile-close-btn {\n margin-top: var(--rtk-space-4, 16px);\n margin-bottom: var(--rtk-space-4, 16px);\n margin-left: var(--rtk-space-6, 24px);\n margin-right: var(--rtk-space-6, 24px);\n display: block;\n}\n\n.pinned-messages-header {\n display: flex;\n align-items: center;\n gap: var(--rtk-space-2, 8px);\n padding: var(--rtk-space-2, 8px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n font-size: 12px;\n cursor: pointer;\n}\n\n.pinned-messages-header rtk-icon {\n height: var(--rtk-space-3, 12px);\n width: var(--rtk-space-3, 12px);\n}\n\n.pinned-messages-header:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n.pinned-messages-header.active {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n@keyframes swipe-in {\n from {\n transform: translateX(-100%);\n }\n to {\n transform: translateX(0);\n }\n}\n";
|
|
60
|
+
const RtkChatStyle0 = rtkChatCss;
|
|
61
|
+
|
|
62
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
63
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
64
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
65
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
66
|
+
else
|
|
67
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
68
|
+
if (d = decorators[i])
|
|
69
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
70
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
71
|
+
};
|
|
72
|
+
const RtkChat = /*@__PURE__*/ proxyCustomElement(class RtkChat extends H {
|
|
73
|
+
constructor() {
|
|
74
|
+
super();
|
|
75
|
+
this.__registerHost();
|
|
76
|
+
this.__attachShadow();
|
|
77
|
+
this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
|
|
78
|
+
this.chatUpdateListener = ({ message }) => {
|
|
79
|
+
if (message.channelId)
|
|
80
|
+
return;
|
|
81
|
+
if (!this.displayFilter || this.displayFilter(message)) {
|
|
82
|
+
this.addToChatGroup(message);
|
|
83
|
+
// shallow copy to trigger render
|
|
84
|
+
this.chatGroups = Object.assign({}, this.chatGroups);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
this.chatPermissionUpdateListener = () => {
|
|
88
|
+
this.canSend = this.meeting.self.permissions.chatPublic.canSend;
|
|
89
|
+
this.canSendTextMessage = this.meeting.self.permissions.chatPublic.text;
|
|
90
|
+
this.canSendFiles = this.meeting.self.permissions.chatPublic.files;
|
|
91
|
+
};
|
|
92
|
+
/** Config */
|
|
93
|
+
this.config = defaultConfig;
|
|
94
|
+
/** Icon pack */
|
|
95
|
+
this.iconPack = defaultIconPack;
|
|
96
|
+
/** Language */
|
|
97
|
+
this.t = useLanguage();
|
|
98
|
+
/** disables private chat */
|
|
99
|
+
this.disablePrivateChat = false;
|
|
100
|
+
/** Can current user pin/unpin messages */
|
|
101
|
+
this.canPinMessages = false;
|
|
102
|
+
/**
|
|
103
|
+
* @deprecated
|
|
104
|
+
* Beta API, will change in future
|
|
105
|
+
* List of target presets allowed as private chat recipient
|
|
106
|
+
*/
|
|
107
|
+
this.privatePresetFilter = [];
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated
|
|
110
|
+
* Beta API, will change in future
|
|
111
|
+
* A filter function for messages to be displayed
|
|
112
|
+
*/
|
|
113
|
+
this.displayFilter = undefined;
|
|
114
|
+
this.unreadCountGroups = {};
|
|
115
|
+
this.chatGroups = { everyone: [] };
|
|
116
|
+
this.selectedGroup = 'everyone';
|
|
117
|
+
this.now = new Date();
|
|
118
|
+
this.dropzoneActivated = false;
|
|
119
|
+
this.showLatestMessageButton = false;
|
|
120
|
+
this.canSend = false;
|
|
121
|
+
this.canSendTextMessage = false;
|
|
122
|
+
this.canSendFiles = false;
|
|
123
|
+
this.canPrivateMessage = false;
|
|
124
|
+
this.canSendPrivateTexts = false;
|
|
125
|
+
this.canSendPrivateFiles = false;
|
|
126
|
+
this.emojiPickerEnabled = false;
|
|
127
|
+
this.chatRecipientId = 'everyone';
|
|
128
|
+
this.participants = [];
|
|
129
|
+
this.channels = [];
|
|
130
|
+
this.editingMessage = null;
|
|
131
|
+
this.replyMessage = null;
|
|
132
|
+
this.searchQuery = '';
|
|
133
|
+
this.selectorState = 'hide';
|
|
134
|
+
this.creatingChannel = false;
|
|
135
|
+
this.showPinnedMessages = false;
|
|
136
|
+
this.channelMap = new Map();
|
|
137
|
+
this.onDragOver = (e) => {
|
|
138
|
+
e.preventDefault();
|
|
139
|
+
this.dropzoneActivated = true;
|
|
140
|
+
};
|
|
141
|
+
this.onDragLeave = () => {
|
|
142
|
+
this.dropzoneActivated = false;
|
|
143
|
+
};
|
|
144
|
+
this.onDrop = (e) => {
|
|
145
|
+
e.preventDefault();
|
|
146
|
+
this.dropzoneActivated = false;
|
|
147
|
+
handleFilesDataTransfer(e.dataTransfer.items, (type, file) => {
|
|
148
|
+
var _a, _b, _c, _d;
|
|
149
|
+
switch (type) {
|
|
150
|
+
case 'image':
|
|
151
|
+
if (this.isFileMessagingAllowed()) {
|
|
152
|
+
(_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.chat) === null || _b === void 0 ? void 0 : _b.sendImageMessage(file, this.getRecipientPeerIds());
|
|
153
|
+
}
|
|
154
|
+
break;
|
|
155
|
+
case 'file':
|
|
156
|
+
if (this.isFileMessagingAllowed()) {
|
|
157
|
+
(_d = (_c = this.meeting) === null || _c === void 0 ? void 0 : _c.chat) === null || _d === void 0 ? void 0 : _d.sendFileMessage(file, this.getRecipientPeerIds());
|
|
158
|
+
}
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
this.disconnectMeeting = (meeting) => {
|
|
164
|
+
var _a, _b, _c, _d, _e, _f;
|
|
165
|
+
if (this.isPrivateChatSupported()) {
|
|
166
|
+
meeting === null || meeting === void 0 ? void 0 : meeting.participants.joined.removeListener('participantJoined', this.onParticipantUpdate);
|
|
167
|
+
meeting === null || meeting === void 0 ? void 0 : meeting.participants.joined.removeListener('participantLeft', this.onParticipantUpdate);
|
|
168
|
+
}
|
|
169
|
+
(_a = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _a === void 0 ? void 0 : _a.removeListener('chatUpdate', this.chatUpdateListener);
|
|
170
|
+
(_b = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _b === void 0 ? void 0 : _b.removeListener('channelCreate', this.onChannelCreateOrUpdate);
|
|
171
|
+
(_c = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _c === void 0 ? void 0 : _c.removeListener('channelUpdate', this.onChannelCreateOrUpdate);
|
|
172
|
+
(_d = meeting === null || meeting === void 0 ? void 0 : meeting.chat) === null || _d === void 0 ? void 0 : _d.removeListener('channelMessageUpdate', this.onChannelCreateOrUpdate);
|
|
173
|
+
(_f = (_e = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _e === void 0 ? void 0 : _e.all) === null || _f === void 0 ? void 0 : _f.removeListener('participantsUpdate', this.onChannelCreateOrUpdate);
|
|
174
|
+
meeting.self.permissions.removeListener('*', this.chatPermissionUpdateListener);
|
|
175
|
+
};
|
|
176
|
+
this.getFilteredParticipants = () => {
|
|
177
|
+
if (this.privatePresetFilter.length === 0)
|
|
178
|
+
return this.participants;
|
|
179
|
+
return this.participants.filter((p) => this.privatePresetFilter.includes(p.presetName));
|
|
180
|
+
};
|
|
181
|
+
this.onParticipantUpdate = () => {
|
|
182
|
+
this.participants = this.meeting.participants.joined
|
|
183
|
+
.toArray()
|
|
184
|
+
.filter((p) => this.privatePresetFilter.length === 0 || this.privatePresetFilter.includes(p.presetName));
|
|
185
|
+
// if selected participant leaves, reset state to everyone
|
|
186
|
+
if (this.selectedParticipant && !this.participants.includes(this.selectedParticipant)) {
|
|
187
|
+
this.selectedParticipant = null;
|
|
188
|
+
this.chatRecipientId = this.selectedGroup = 'everyone';
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
this.usePaginatedChat = () => {
|
|
192
|
+
if (this.isGroupCall && this.showPinnedMessages)
|
|
193
|
+
return false;
|
|
194
|
+
return this.selectedGroup === 'everyone' && usePaginatedChat(this.meeting);
|
|
195
|
+
};
|
|
196
|
+
this.updateUnreadCountGroups = (obj) => {
|
|
197
|
+
this.unreadCountGroups = Object.assign(Object.assign({}, this.unreadCountGroups), obj);
|
|
198
|
+
};
|
|
199
|
+
this.isPrivateChatSupported = () => {
|
|
200
|
+
return this.canPrivateMessage && !this.disablePrivateChat;
|
|
201
|
+
};
|
|
202
|
+
this.updateRecipients = (event) => {
|
|
203
|
+
const { id } = event.detail;
|
|
204
|
+
this.chatRecipientId = id;
|
|
205
|
+
this.selectedParticipant = this.participants.find((p) => p.userId === id);
|
|
206
|
+
if (this.chatRecipientId !== 'everyone') {
|
|
207
|
+
const allParticipants = [this.chatRecipientId, this.meeting.self.userId];
|
|
208
|
+
const targetKey = generateChatGroupKey(allParticipants);
|
|
209
|
+
this.selectedGroup = targetKey;
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
this.selectedGroup = 'everyone';
|
|
213
|
+
}
|
|
214
|
+
this.updateUnreadCountGroups({ [this.selectedGroup]: 0 });
|
|
215
|
+
};
|
|
216
|
+
this.isTextMessagingAllowed = () => {
|
|
217
|
+
if (this.chatRecipientId === 'everyone') {
|
|
218
|
+
// public chat
|
|
219
|
+
return this.canSend && this.canSendTextMessage;
|
|
220
|
+
}
|
|
221
|
+
// private chat
|
|
222
|
+
return this.canPrivateMessage && this.canSendPrivateTexts;
|
|
223
|
+
};
|
|
224
|
+
this.isFileMessagingAllowed = () => {
|
|
225
|
+
if (this.chatRecipientId === 'everyone') {
|
|
226
|
+
// public chat
|
|
227
|
+
return this.canSend && this.canSendFiles;
|
|
228
|
+
}
|
|
229
|
+
// private chat
|
|
230
|
+
return this.canPrivateMessage && this.canSendPrivateFiles;
|
|
231
|
+
};
|
|
232
|
+
this.onChannelChanged = (e) => {
|
|
233
|
+
const channel = e.detail;
|
|
234
|
+
if (channel.id.includes(TEMPORARY_CHANNEL_PREFIX)) {
|
|
235
|
+
this.createDMChannel(channel.id.replace(TEMPORARY_CHANNEL_PREFIX, ''));
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
this.selectedChannelId = channel.id;
|
|
239
|
+
}
|
|
240
|
+
this.cleanup();
|
|
241
|
+
if (this.selectorState !== 'desktop') {
|
|
242
|
+
this.selectorState = 'hide';
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
this.createDMChannel = async (memberId) => {
|
|
246
|
+
this.creatingChannel = true;
|
|
247
|
+
const newChannel = await this.meeting.chat.createChannel('Direct Message', [memberId], {
|
|
248
|
+
visibility: 'private',
|
|
249
|
+
isDirectMessage: true,
|
|
250
|
+
});
|
|
251
|
+
this.creatingChannel = false;
|
|
252
|
+
this.selectedChannelId = newChannel.id;
|
|
253
|
+
};
|
|
254
|
+
this.cleanup = () => {
|
|
255
|
+
this.editingMessage = null;
|
|
256
|
+
this.replyMessage = null;
|
|
257
|
+
this.searchQuery = '';
|
|
258
|
+
};
|
|
259
|
+
this.onQuotedMessageDismiss = () => {
|
|
260
|
+
this.replyMessage = null;
|
|
261
|
+
};
|
|
262
|
+
this.onChannelCreateOrUpdate = (channel) => {
|
|
263
|
+
if (channel) {
|
|
264
|
+
this.channelMap.set(channel.id, channel);
|
|
265
|
+
}
|
|
266
|
+
else {
|
|
267
|
+
this.meeting.chat.channels.forEach((chan) => this.channelMap.set(chan.id, chan));
|
|
268
|
+
}
|
|
269
|
+
const allChannels = Array.from(this.channelMap.values());
|
|
270
|
+
const channels = allChannels
|
|
271
|
+
.filter((channel) => !isDirectMessageChannel(channel))
|
|
272
|
+
.sort((a, b) => alphabeticalSorter(a.displayName, b.displayName));
|
|
273
|
+
const membersWithChannel = allChannels.filter(isDirectMessageChannel).map((channel) => {
|
|
274
|
+
return Object.assign(Object.assign({}, channel), { displayName: this.getMemberDisplayName(channel) });
|
|
275
|
+
});
|
|
276
|
+
const membersWithoutChannel = this.meeting.participants.all
|
|
277
|
+
.toArray()
|
|
278
|
+
.filter((member) => {
|
|
279
|
+
if (member.userId === this.meeting.self.userId)
|
|
280
|
+
return false;
|
|
281
|
+
const matcher = getDMComparator([this.meeting.self.userId, member.userId]);
|
|
282
|
+
return membersWithChannel.every((channel) => getDMComparator(channel.memberIds) !== matcher);
|
|
283
|
+
})
|
|
284
|
+
.map((member) => {
|
|
285
|
+
return {
|
|
286
|
+
id: `${TEMPORARY_CHANNEL_PREFIX}${member.userId}`,
|
|
287
|
+
displayName: member.name,
|
|
288
|
+
displayPictureUrl: member.picture,
|
|
289
|
+
isDirectMessage: true,
|
|
290
|
+
unreadCount: 0,
|
|
291
|
+
};
|
|
292
|
+
});
|
|
293
|
+
const dms = [...membersWithChannel, ...membersWithoutChannel].sort((a, b) => alphabeticalSorter(a.displayName, b.displayName));
|
|
294
|
+
this.channels = [...channels, ...dms];
|
|
295
|
+
// select channel only if it is created in db
|
|
296
|
+
const nonTemporaryChannel = [...channels, ...membersWithChannel];
|
|
297
|
+
if (!this.selectedChannelId && nonTemporaryChannel.length !== 0) {
|
|
298
|
+
this.selectedChannelId = nonTemporaryChannel[0].id;
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
this.getMemberDisplayName = (channel) => {
|
|
302
|
+
var _a;
|
|
303
|
+
let id;
|
|
304
|
+
if (channel.memberIds.length === 1) {
|
|
305
|
+
// channel with self
|
|
306
|
+
id = channel.memberIds[0];
|
|
307
|
+
}
|
|
308
|
+
else {
|
|
309
|
+
id =
|
|
310
|
+
channel.memberIds[0] === this.meeting.self.userId
|
|
311
|
+
? channel.memberIds[1]
|
|
312
|
+
: channel.memberIds[0];
|
|
313
|
+
}
|
|
314
|
+
const member = this.meeting.participants.all.toArray().find((member) => member.userId === id);
|
|
315
|
+
return (_a = member === null || member === void 0 ? void 0 : member.name) !== null && _a !== void 0 ? _a : id;
|
|
316
|
+
};
|
|
317
|
+
this.onNewMessageHandler = async (e) => {
|
|
318
|
+
const message = e.detail;
|
|
319
|
+
if (this.isChatViewType) {
|
|
320
|
+
await this.meeting.chat.sendMessageToChannel(message, this.selectedChannelId, this.replyMessage
|
|
321
|
+
? {
|
|
322
|
+
replyTo: this.replyMessage,
|
|
323
|
+
}
|
|
324
|
+
: {});
|
|
325
|
+
this.replyMessage = null;
|
|
326
|
+
}
|
|
327
|
+
else {
|
|
328
|
+
this.meeting.chat.sendMessage(message, this.getRecipientPeerIds());
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
this.onEditMessageHandler = async (e) => {
|
|
332
|
+
var _a, _b;
|
|
333
|
+
await ((_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.chat) === null || _b === void 0 ? void 0 : _b.editTextMessage(this.editingMessage.id, e.detail, this.editingMessage.channelId));
|
|
334
|
+
this.editingMessage = null;
|
|
335
|
+
};
|
|
336
|
+
this.onEditCancel = () => {
|
|
337
|
+
this.editingMessage = null;
|
|
338
|
+
};
|
|
339
|
+
this.onSearchHandler = async (e) => {
|
|
340
|
+
this.searchQuery = e.detail;
|
|
341
|
+
};
|
|
342
|
+
this.onSearchDismissed = () => {
|
|
343
|
+
this.searchQuery = '';
|
|
344
|
+
};
|
|
345
|
+
this.onChannelCreateClicked = () => {
|
|
346
|
+
this.stateUpdate.emit({ activeChannelCreator: true });
|
|
347
|
+
};
|
|
348
|
+
this.onPinMessage = (event) => {
|
|
349
|
+
const message = event.detail;
|
|
350
|
+
if (message.pinned) {
|
|
351
|
+
this.meeting.chat.unpin(message.id);
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
this.meeting.chat.pin(message.id);
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
this.onDeleteMessage = (event) => {
|
|
358
|
+
const message = event.detail;
|
|
359
|
+
this.meeting.chat.deleteMessage(message.id);
|
|
360
|
+
};
|
|
361
|
+
this.getChannelItems = () => {
|
|
362
|
+
return this.channels.map((channel) => {
|
|
363
|
+
const result = {
|
|
364
|
+
id: channel.id,
|
|
365
|
+
name: channel.displayName,
|
|
366
|
+
avatarUrl: channel.displayPictureUrl,
|
|
367
|
+
};
|
|
368
|
+
if (channel.latestMessage) {
|
|
369
|
+
result.latestMessage =
|
|
370
|
+
channel.latestMessage.type === 'text'
|
|
371
|
+
? stripOutReplyBlock(channel.latestMessage.message)
|
|
372
|
+
: '';
|
|
373
|
+
result.latestMessageTime = channel.latestMessage.time;
|
|
374
|
+
}
|
|
375
|
+
return result;
|
|
376
|
+
});
|
|
377
|
+
};
|
|
378
|
+
this.getPrivateChatRecipients = () => {
|
|
379
|
+
const participants = this.getFilteredParticipants().map((participant) => {
|
|
380
|
+
const key = generateChatGroupKey([participant.userId, this.meeting.self.userId]);
|
|
381
|
+
const result = {
|
|
382
|
+
id: participant.userId,
|
|
383
|
+
name: participant.name,
|
|
384
|
+
avatarUrl: participant.picture,
|
|
385
|
+
unreadCount: this.unreadCountGroups[key],
|
|
386
|
+
};
|
|
387
|
+
return result;
|
|
388
|
+
});
|
|
389
|
+
const everyone = {
|
|
390
|
+
id: 'everyone',
|
|
391
|
+
name: this.t('chat.everyone'),
|
|
392
|
+
icon: 'participants',
|
|
393
|
+
unreadCount: this.unreadCountGroups['everyone'],
|
|
394
|
+
};
|
|
395
|
+
return [everyone, ...participants];
|
|
396
|
+
};
|
|
397
|
+
this.onTogglePinnedMessages = () => {
|
|
398
|
+
this.showPinnedMessages = !this.showPinnedMessages;
|
|
399
|
+
};
|
|
400
|
+
this.renderPinnedMessagesHeader = () => {
|
|
401
|
+
if (this.meeting.chat.pinned.length === 0)
|
|
402
|
+
return null;
|
|
403
|
+
return (h("rtk-tooltip", { label: this.t('chat.toggle_pinned_msgs') }, h("div", { class: { 'pinned-messages-header': true, active: this.showPinnedMessages }, onClick: this.onTogglePinnedMessages }, h("rtk-icon", { icon: this.iconPack.pin }), this.t('chat.pinned_msgs'), ` (${this.meeting.chat.pinned.length})`)));
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
connectedCallback() {
|
|
407
|
+
if (!this.meeting)
|
|
408
|
+
return;
|
|
409
|
+
this.meetingChanged(this.meeting);
|
|
410
|
+
if (this.meeting && !this.meeting.chat) {
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
413
|
+
if (this.isFileMessagingAllowed()) {
|
|
414
|
+
this.host.addEventListener('dragover', this.onDragOver);
|
|
415
|
+
this.host.addEventListener('dragleave', this.onDragLeave);
|
|
416
|
+
this.host.addEventListener('drop', this.onDrop);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
onEditMessageInit(event) {
|
|
420
|
+
if (event.detail.flags.isReply) {
|
|
421
|
+
this.replyMessage = event.detail.payload;
|
|
422
|
+
}
|
|
423
|
+
else if (event.detail.flags.isEdit) {
|
|
424
|
+
this.editingMessage = event.detail.payload;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
disconnectedCallback() {
|
|
428
|
+
var _a;
|
|
429
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
430
|
+
this.disconnectMeeting(this.meeting);
|
|
431
|
+
this.host.removeEventListener('dragover', this.onDragOver);
|
|
432
|
+
this.host.removeEventListener('dragleave', this.onDragLeave);
|
|
433
|
+
this.host.removeEventListener('drop', this.onDrop);
|
|
434
|
+
}
|
|
435
|
+
meetingChanged(meeting, oldMeeting) {
|
|
436
|
+
var _a, _b, _c, _d, _e, _f;
|
|
437
|
+
if (oldMeeting != undefined)
|
|
438
|
+
this.disconnectMeeting(oldMeeting);
|
|
439
|
+
if (meeting && !meeting.chat)
|
|
440
|
+
return;
|
|
441
|
+
if (meeting != null) {
|
|
442
|
+
this.canSend = meeting.self.permissions.chatPublic.canSend;
|
|
443
|
+
this.canSendTextMessage = meeting.self.permissions.chatPublic.text;
|
|
444
|
+
this.canSendFiles = meeting.self.permissions.chatPublic.files;
|
|
445
|
+
this.canPrivateMessage = !!(((_a = meeting.self.permissions.chatPrivate) === null || _a === void 0 ? void 0 : _a.canSend) ||
|
|
446
|
+
((_b = meeting.self.permissions.chatPrivate) === null || _b === void 0 ? void 0 : _b.canReceive));
|
|
447
|
+
this.canSendPrivateTexts = !!((_c = meeting.self.permissions.chatPrivate) === null || _c === void 0 ? void 0 : _c.text);
|
|
448
|
+
this.canSendPrivateFiles = !!((_d = meeting.self.permissions.chatPrivate) === null || _d === void 0 ? void 0 : _d.files);
|
|
449
|
+
this.canPinMessages =
|
|
450
|
+
((_e = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _e === void 0 ? void 0 : _e.features.hasFeature(FlagsmithFeatureFlags.PINNED_MESSAGES)) &&
|
|
451
|
+
meeting.self.permissions.pinParticipant;
|
|
452
|
+
this.isGroupCall = meeting.meta.viewType === 'GROUP_CALL';
|
|
453
|
+
this.isChatViewType = meeting.meta.viewType === 'CHAT';
|
|
454
|
+
if (this.isChatViewType) {
|
|
455
|
+
this.onChannelCreateOrUpdate();
|
|
456
|
+
const validChannels = this.channels.filter((channel) => !channel.id.includes(TEMPORARY_CHANNEL_PREFIX));
|
|
457
|
+
if (validChannels.length) {
|
|
458
|
+
this.selectedChannelId = this.channels[0].id;
|
|
459
|
+
}
|
|
460
|
+
if (this.resizeObserver) {
|
|
461
|
+
this.resizeObserver.disconnect();
|
|
462
|
+
}
|
|
463
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
464
|
+
for (const entry of entries) {
|
|
465
|
+
if (entry.contentBoxSize[0].inlineSize < 758) {
|
|
466
|
+
this.selectorState = 'hide';
|
|
467
|
+
}
|
|
468
|
+
else {
|
|
469
|
+
this.selectorState = 'desktop';
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
if (this.isChatViewType) {
|
|
474
|
+
this.resizeObserver.observe(this.host);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
this.initializeChatGroups();
|
|
478
|
+
// shallow copy to trigger render
|
|
479
|
+
this.chatGroups = Object.assign({}, this.chatGroups);
|
|
480
|
+
meeting.self.permissions.on('*', this.chatPermissionUpdateListener);
|
|
481
|
+
this.onParticipantUpdate();
|
|
482
|
+
(_f = meeting.chat) === null || _f === void 0 ? void 0 : _f.addListener('chatUpdate', this.chatUpdateListener);
|
|
483
|
+
if (this.isPrivateChatSupported()) {
|
|
484
|
+
meeting.participants.joined.addListener('participantJoined', this.onParticipantUpdate);
|
|
485
|
+
meeting.participants.joined.addListener('participantLeft', this.onParticipantUpdate);
|
|
486
|
+
}
|
|
487
|
+
if (this.isChatViewType) {
|
|
488
|
+
meeting.chat.addListener('channelCreate', this.onChannelCreateOrUpdate);
|
|
489
|
+
meeting.chat.addListener('channelUpdate', this.onChannelCreateOrUpdate);
|
|
490
|
+
meeting.chat.addListener('channelMessageUpdate', this.onChannelCreateOrUpdate);
|
|
491
|
+
meeting.participants.all.addListener('participantsUpdate', this.onChannelCreateOrUpdate);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
chatGroupsChanged(chatGroups) {
|
|
496
|
+
var _a, _b;
|
|
497
|
+
if (!this.isPrivateChatSupported()) {
|
|
498
|
+
return;
|
|
499
|
+
}
|
|
500
|
+
const unreadCounts = {};
|
|
501
|
+
for (const key in chatGroups) {
|
|
502
|
+
const lastReadTimestamp = (_a = chatUnreadTimestamps[key]) !== null && _a !== void 0 ? _a : 0;
|
|
503
|
+
unreadCounts[key] = chatGroups[key].filter((c) => c.type == 'chat' &&
|
|
504
|
+
c.message.time > lastReadTimestamp &&
|
|
505
|
+
c.message.userId !== this.meeting.self.userId).length;
|
|
506
|
+
if (key ===
|
|
507
|
+
generateChatGroupKey([this.meeting.self.userId, (_b = this.selectedParticipant) === null || _b === void 0 ? void 0 : _b.userId]) ||
|
|
508
|
+
(key === 'everyone' && this.selectedParticipant === null)) {
|
|
509
|
+
unreadCounts[key] = 0;
|
|
510
|
+
chatUnreadTimestamps[key] = new Date();
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
this.updateUnreadCountGroups(unreadCounts);
|
|
514
|
+
}
|
|
515
|
+
initializeChatGroups() {
|
|
516
|
+
var _a;
|
|
517
|
+
(_a = this.meeting.chat) === null || _a === void 0 ? void 0 : _a.messages.forEach((message) => {
|
|
518
|
+
if (!this.displayFilter || this.displayFilter(message)) {
|
|
519
|
+
this.addToChatGroup(message);
|
|
520
|
+
}
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
onDisplayFilterChanged(newFilter, oldFilter) {
|
|
524
|
+
if (newFilter !== oldFilter) {
|
|
525
|
+
this.chatGroups = {};
|
|
526
|
+
this.initializeChatGroups();
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
addToChatGroup(message) {
|
|
530
|
+
var _a;
|
|
531
|
+
const parsedMessage = parseMessageForTarget(message);
|
|
532
|
+
let key = 'everyone';
|
|
533
|
+
if (((_a = parsedMessage.targetUserIds) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
534
|
+
const allParticipants = new Set([
|
|
535
|
+
parsedMessage.userId,
|
|
536
|
+
...parsedMessage.targetUserIds,
|
|
537
|
+
]);
|
|
538
|
+
key = generateChatGroupKey(Array.from(allParticipants));
|
|
539
|
+
}
|
|
540
|
+
if (this.chatGroups[key] === undefined)
|
|
541
|
+
this.chatGroups[key] = [];
|
|
542
|
+
let isEditedMessage = false;
|
|
543
|
+
let messages = [];
|
|
544
|
+
this.chatGroups[key].forEach((chat) => {
|
|
545
|
+
if (chat.type === 'chat' && chat.message.id === message.id) {
|
|
546
|
+
isEditedMessage = true;
|
|
547
|
+
messages.push({ type: 'chat', message: parsedMessage });
|
|
548
|
+
}
|
|
549
|
+
else {
|
|
550
|
+
messages.push(chat);
|
|
551
|
+
}
|
|
552
|
+
});
|
|
553
|
+
if (!isEditedMessage) {
|
|
554
|
+
messages.push({ type: 'chat', message: parsedMessage });
|
|
555
|
+
}
|
|
556
|
+
this.chatGroups[key] = messages;
|
|
557
|
+
}
|
|
558
|
+
getRecipientPeerIds() {
|
|
559
|
+
let peerIds = [];
|
|
560
|
+
if (this.chatRecipientId !== 'everyone') {
|
|
561
|
+
peerIds = [this.selectedParticipant.id];
|
|
562
|
+
}
|
|
563
|
+
return peerIds;
|
|
564
|
+
}
|
|
565
|
+
channelSwitchListener(e) {
|
|
566
|
+
this.onChannelChanged(e);
|
|
567
|
+
}
|
|
568
|
+
renderHeadlessComponents() {
|
|
569
|
+
return (h(Fragment, null, h("rtk-dialog-manager", { meeting: this.meeting }), h("rtk-notifications", { meeting: this.meeting })));
|
|
570
|
+
}
|
|
571
|
+
renderComposerUI() {
|
|
572
|
+
var _a, _b, _c;
|
|
573
|
+
if (this.isChatViewType && this.channels.length === 0)
|
|
574
|
+
return null;
|
|
575
|
+
if (this.isChatViewType && this.searchQuery !== '')
|
|
576
|
+
return null;
|
|
577
|
+
if (this.isChatViewType && !this.selectedChannelId)
|
|
578
|
+
return null;
|
|
579
|
+
if (this.chatRecipientId === 'everyone') {
|
|
580
|
+
if (!this.canSendTextMessage && !this.canSendFiles)
|
|
581
|
+
return null;
|
|
582
|
+
}
|
|
583
|
+
else {
|
|
584
|
+
if (!this.canSendPrivateTexts && !this.canSendPrivateFiles)
|
|
585
|
+
return null;
|
|
586
|
+
}
|
|
587
|
+
const uiProps = { iconPack: this.iconPack, t: this.t, size: this.size };
|
|
588
|
+
const message = this.editingMessage ? this.editingMessage.message : '';
|
|
589
|
+
const quotedMessage = this.replyMessage ? this.replyMessage.message : '';
|
|
590
|
+
return (h("rtk-chat-composer-view", Object.assign({ message: message, storageKey: (_a = this.selectedChannelId) !== null && _a !== void 0 ? _a : `draft-${this.selectedChannelId}`, quotedMessage: quotedMessage, isEditing: !!this.editingMessage, canSendTextMessage: this.isTextMessagingAllowed(), canSendFiles: this.isFileMessagingAllowed(), disableEmojiPicker: !!((_c = (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.__internals__) === null || _c === void 0 ? void 0 : _c.features.hasFeature(FlagsmithFeatureFlags.DISABLE_EMOJI_PICKER)), maxLength: this.meeting.chat.maxTextLimit, rateLimits: this.meeting.chat.rateLimits, inputTextPlaceholder: this.t('chat.message_placeholder'), onNewMessage: this.onNewMessageHandler, onEditMessage: this.onEditMessageHandler, onEditCancel: this.onEditCancel, onQuotedMessageDismiss: this.onQuotedMessageDismiss }, uiProps), h("slot", { name: "chat-addon", slot: "chat-addon" })));
|
|
591
|
+
}
|
|
592
|
+
renderFullChat() {
|
|
593
|
+
if (this.creatingChannel) {
|
|
594
|
+
return (h("div", { class: "banner" }, h("rtk-spinner", { size: "lg" })));
|
|
595
|
+
}
|
|
596
|
+
if (this.channels.length === 0 || !this.selectedChannelId) {
|
|
597
|
+
return (h("div", { class: "banner" }, h("rtk-icon", { icon: this.iconPack.create_channel_illustration, slot: "start", class: 'create-channel-illustration' }), h("rtk-button", { kind: "wide", variant: "primary", size: "md", onClick: this.onChannelCreateClicked, class: "welcome-new-channel" }, h("rtk-icon", { icon: this.iconPack.add, slot: "start" }), h("span", null, this.t('chat.new_channel'))), (this.selectorState === 'mobile' || this.selectorState === 'hide') && (h("rtk-button", { kind: "button", variant: "secondary", size: "md", class: "view-chats-btn", onClick: () => {
|
|
598
|
+
this.selectorState = 'mobile';
|
|
599
|
+
} }, h("rtk-icon", { icon: this.iconPack.chat, slot: "start" }), h("span", null, this.t('chat.view_chats'))))));
|
|
600
|
+
}
|
|
601
|
+
const selectedChannel = this.channels.find((channel) => channel.id === this.selectedChannelId);
|
|
602
|
+
return (h("div", { class: "chat" }, h("rtk-channel-header", { slot: "header", meeting: this.meeting, channel: selectedChannel, onSearch: this.onSearchHandler, onSearchDismissed: this.onSearchDismissed, showBackButton: this.selectorState === 'mobile' || this.selectorState === 'hide', onBack: () => {
|
|
603
|
+
this.selectorState = 'mobile';
|
|
604
|
+
} }), this.searchQuery !== '' && (h("rtk-chat-search-results", { meeting: this.meeting, query: this.searchQuery, channelId: this.selectedChannelId })), this.searchQuery === '' && (h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, size: this.size, iconPack: this.iconPack, t: this.t, selectedChannelId: this.selectedChannelId, selectedChannel: selectedChannel }))));
|
|
605
|
+
}
|
|
606
|
+
render() {
|
|
607
|
+
var _a, _b;
|
|
608
|
+
if (!this.meeting)
|
|
609
|
+
return null;
|
|
610
|
+
const uiProps = { iconPack: this.iconPack, t: this.t, size: this.size };
|
|
611
|
+
const selfUserId = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId;
|
|
612
|
+
let chatMessages = this.chatGroups[this.selectedGroup] || [];
|
|
613
|
+
if (this.showPinnedMessages && this.meeting.chat.pinned.length !== 0) {
|
|
614
|
+
chatMessages = chatMessages.filter((chat) => chat.type === 'chat' && chat.message.pinned);
|
|
615
|
+
}
|
|
616
|
+
return (h(Host, null, this.isChatViewType && this.renderHeadlessComponents(), h("div", { class: "chat-container" }, this.isChatViewType && (h("div", { class: { 'selector-container': true, [this.selectorState]: true } }, h("rtk-channel-selector-view", { channels: this.getChannelItems(), selectedChannelId: this.selectedChannelId, onChannelChange: this.onChannelChanged, t: this.t }, h("div", { class: "channel-selector-header", slot: "header" }, h("rtk-logo", { meeting: this.meeting, config: this.config, t: this.t }), h("rtk-tooltip", { label: this.t('chat.new_channel') }, h("rtk-button", { kind: "button", variant: "ghost", size: "md", onClick: this.onChannelCreateClicked, class: "channel-create-btn" }, h("rtk-icon", { icon: this.iconPack.add }))))), h("rtk-button", { kind: "icon", variant: "ghost", class: "mobile-close-btn", onClick: () => (this.selectorState = 'hide') }, h("rtk-icon", { icon: this.iconPack.dismiss })))), h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), this.isPrivateChatSupported() && (h("rtk-channel-selector-view", { channels: this.getPrivateChatRecipients(), selectedChannelId: ((_b = this.selectedParticipant) === null || _b === void 0 ? void 0 : _b.userId) || 'everyone', onChannelChange: this.updateRecipients, t: this.t, viewAs: "dropdown" })), this.isChatViewType ? (this.renderFullChat()) : this.usePaginatedChat() ? (h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t })) : (h("rtk-chat-messages-ui", Object.assign({ messages: chatMessages, selfUserId: selfUserId, selectedGroup: this.selectedGroup, onPinMessage: this.onPinMessage, canPinMessages: this.canPinMessages }, uiProps))), this.renderComposerUI()))));
|
|
617
|
+
}
|
|
618
|
+
get host() { return this; }
|
|
619
|
+
static get watchers() { return {
|
|
620
|
+
"meeting": ["meetingChanged"],
|
|
621
|
+
"chatGroups": ["chatGroupsChanged"],
|
|
622
|
+
"displayFilter": ["onDisplayFilterChanged"]
|
|
623
|
+
}; }
|
|
624
|
+
static get style() { return RtkChatStyle0; }
|
|
625
|
+
}, [1, "rtk-chat", {
|
|
626
|
+
"meeting": [16],
|
|
627
|
+
"config": [16],
|
|
628
|
+
"size": [513],
|
|
629
|
+
"iconPack": [16],
|
|
630
|
+
"t": [16],
|
|
631
|
+
"disablePrivateChat": [4, "disable-private-chat"],
|
|
632
|
+
"privatePresetFilter": [16],
|
|
633
|
+
"displayFilter": [16],
|
|
634
|
+
"canPinMessages": [32],
|
|
635
|
+
"unreadCountGroups": [32],
|
|
636
|
+
"chatGroups": [32],
|
|
637
|
+
"selectedGroup": [32],
|
|
638
|
+
"now": [32],
|
|
639
|
+
"dropzoneActivated": [32],
|
|
640
|
+
"showLatestMessageButton": [32],
|
|
641
|
+
"canSend": [32],
|
|
642
|
+
"canSendTextMessage": [32],
|
|
643
|
+
"canSendFiles": [32],
|
|
644
|
+
"canPrivateMessage": [32],
|
|
645
|
+
"canSendPrivateTexts": [32],
|
|
646
|
+
"canSendPrivateFiles": [32],
|
|
647
|
+
"emojiPickerEnabled": [32],
|
|
648
|
+
"chatRecipientId": [32],
|
|
649
|
+
"participants": [32],
|
|
650
|
+
"selectedParticipant": [32],
|
|
651
|
+
"channels": [32],
|
|
652
|
+
"selectedChannelId": [32],
|
|
653
|
+
"editingMessage": [32],
|
|
654
|
+
"replyMessage": [32],
|
|
655
|
+
"searchQuery": [32],
|
|
656
|
+
"selectorState": [32],
|
|
657
|
+
"creatingChannel": [32],
|
|
658
|
+
"showPinnedMessages": [32]
|
|
659
|
+
}, [[8, "editMessageInit", "onEditMessageInit"], [0, "switchChannel", "channelSwitchListener"]], {
|
|
660
|
+
"meeting": ["meetingChanged"],
|
|
661
|
+
"chatGroups": ["chatGroupsChanged"],
|
|
662
|
+
"displayFilter": ["onDisplayFilterChanged"]
|
|
663
|
+
}]);
|
|
664
|
+
__decorate([
|
|
665
|
+
SyncWithStore()
|
|
666
|
+
], RtkChat.prototype, "meeting", void 0);
|
|
667
|
+
__decorate([
|
|
668
|
+
SyncWithStore()
|
|
669
|
+
], RtkChat.prototype, "size", void 0);
|
|
670
|
+
__decorate([
|
|
671
|
+
SyncWithStore()
|
|
672
|
+
], RtkChat.prototype, "iconPack", void 0);
|
|
673
|
+
__decorate([
|
|
674
|
+
SyncWithStore()
|
|
675
|
+
], RtkChat.prototype, "t", void 0);
|
|
676
|
+
function defineCustomElement() {
|
|
677
|
+
if (typeof customElements === "undefined") {
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
680
|
+
const components = ["rtk-chat", "rtk-avatar", "rtk-breakout-room-manager", "rtk-breakout-room-participants", "rtk-breakout-rooms-manager", "rtk-broadcast-message-modal", "rtk-button", "rtk-channel-creator", "rtk-channel-details", "rtk-channel-header", "rtk-channel-selector-view", "rtk-chat-composer-view", "rtk-chat-message", "rtk-chat-messages-ui", "rtk-chat-messages-ui-paginated", "rtk-chat-search-results", "rtk-confirmation-modal", "rtk-counter", "rtk-debugger", "rtk-debugger-audio", "rtk-debugger-screenshare", "rtk-debugger-system", "rtk-debugger-video", "rtk-dialog", "rtk-dialog-manager", "rtk-draft-attachment-view", "rtk-emoji-picker", "rtk-emoji-picker-button", "rtk-file-message", "rtk-file-message-view", "rtk-file-picker-button", "rtk-icon", "rtk-image-message", "rtk-image-message-view", "rtk-join-stage", "rtk-leave-meeting", "rtk-logo", "rtk-markdown-view", "rtk-menu", "rtk-menu-item", "rtk-menu-list", "rtk-message-view", "rtk-mute-all-confirmation", "rtk-notification", "rtk-notifications", "rtk-overlay-modal", "rtk-paginated-list", "rtk-permissions-message", "rtk-spinner", "rtk-text-composer-view", "rtk-text-message", "rtk-text-message-view", "rtk-tooltip"];
|
|
681
|
+
components.forEach(tagName => { switch (tagName) {
|
|
682
|
+
case "rtk-chat":
|
|
683
|
+
if (!customElements.get(tagName)) {
|
|
684
|
+
customElements.define(tagName, RtkChat);
|
|
685
|
+
}
|
|
686
|
+
break;
|
|
687
|
+
case "rtk-avatar":
|
|
688
|
+
if (!customElements.get(tagName)) {
|
|
689
|
+
defineCustomElement$Q();
|
|
690
|
+
}
|
|
691
|
+
break;
|
|
692
|
+
case "rtk-breakout-room-manager":
|
|
693
|
+
if (!customElements.get(tagName)) {
|
|
694
|
+
defineCustomElement$P();
|
|
695
|
+
}
|
|
696
|
+
break;
|
|
697
|
+
case "rtk-breakout-room-participants":
|
|
698
|
+
if (!customElements.get(tagName)) {
|
|
699
|
+
defineCustomElement$O();
|
|
700
|
+
}
|
|
701
|
+
break;
|
|
702
|
+
case "rtk-breakout-rooms-manager":
|
|
703
|
+
if (!customElements.get(tagName)) {
|
|
704
|
+
defineCustomElement$N();
|
|
705
|
+
}
|
|
706
|
+
break;
|
|
707
|
+
case "rtk-broadcast-message-modal":
|
|
708
|
+
if (!customElements.get(tagName)) {
|
|
709
|
+
defineCustomElement$M();
|
|
710
|
+
}
|
|
711
|
+
break;
|
|
712
|
+
case "rtk-button":
|
|
713
|
+
if (!customElements.get(tagName)) {
|
|
714
|
+
defineCustomElement$L();
|
|
715
|
+
}
|
|
716
|
+
break;
|
|
717
|
+
case "rtk-channel-creator":
|
|
718
|
+
if (!customElements.get(tagName)) {
|
|
719
|
+
defineCustomElement$K();
|
|
720
|
+
}
|
|
721
|
+
break;
|
|
722
|
+
case "rtk-channel-details":
|
|
723
|
+
if (!customElements.get(tagName)) {
|
|
724
|
+
defineCustomElement$J();
|
|
725
|
+
}
|
|
726
|
+
break;
|
|
727
|
+
case "rtk-channel-header":
|
|
728
|
+
if (!customElements.get(tagName)) {
|
|
729
|
+
defineCustomElement$I();
|
|
730
|
+
}
|
|
731
|
+
break;
|
|
732
|
+
case "rtk-channel-selector-view":
|
|
733
|
+
if (!customElements.get(tagName)) {
|
|
734
|
+
defineCustomElement$H();
|
|
735
|
+
}
|
|
736
|
+
break;
|
|
737
|
+
case "rtk-chat-composer-view":
|
|
738
|
+
if (!customElements.get(tagName)) {
|
|
739
|
+
defineCustomElement$G();
|
|
740
|
+
}
|
|
741
|
+
break;
|
|
742
|
+
case "rtk-chat-message":
|
|
743
|
+
if (!customElements.get(tagName)) {
|
|
744
|
+
defineCustomElement$F();
|
|
745
|
+
}
|
|
746
|
+
break;
|
|
747
|
+
case "rtk-chat-messages-ui":
|
|
748
|
+
if (!customElements.get(tagName)) {
|
|
749
|
+
defineCustomElement$E();
|
|
750
|
+
}
|
|
751
|
+
break;
|
|
752
|
+
case "rtk-chat-messages-ui-paginated":
|
|
753
|
+
if (!customElements.get(tagName)) {
|
|
754
|
+
defineCustomElement$D();
|
|
755
|
+
}
|
|
756
|
+
break;
|
|
757
|
+
case "rtk-chat-search-results":
|
|
758
|
+
if (!customElements.get(tagName)) {
|
|
759
|
+
defineCustomElement$C();
|
|
760
|
+
}
|
|
761
|
+
break;
|
|
762
|
+
case "rtk-confirmation-modal":
|
|
763
|
+
if (!customElements.get(tagName)) {
|
|
764
|
+
defineCustomElement$B();
|
|
765
|
+
}
|
|
766
|
+
break;
|
|
767
|
+
case "rtk-counter":
|
|
768
|
+
if (!customElements.get(tagName)) {
|
|
769
|
+
defineCustomElement$A();
|
|
770
|
+
}
|
|
771
|
+
break;
|
|
772
|
+
case "rtk-debugger":
|
|
773
|
+
if (!customElements.get(tagName)) {
|
|
774
|
+
defineCustomElement$z();
|
|
775
|
+
}
|
|
776
|
+
break;
|
|
777
|
+
case "rtk-debugger-audio":
|
|
778
|
+
if (!customElements.get(tagName)) {
|
|
779
|
+
defineCustomElement$y();
|
|
780
|
+
}
|
|
781
|
+
break;
|
|
782
|
+
case "rtk-debugger-screenshare":
|
|
783
|
+
if (!customElements.get(tagName)) {
|
|
784
|
+
defineCustomElement$x();
|
|
785
|
+
}
|
|
786
|
+
break;
|
|
787
|
+
case "rtk-debugger-system":
|
|
788
|
+
if (!customElements.get(tagName)) {
|
|
789
|
+
defineCustomElement$w();
|
|
790
|
+
}
|
|
791
|
+
break;
|
|
792
|
+
case "rtk-debugger-video":
|
|
793
|
+
if (!customElements.get(tagName)) {
|
|
794
|
+
defineCustomElement$v();
|
|
795
|
+
}
|
|
796
|
+
break;
|
|
797
|
+
case "rtk-dialog":
|
|
798
|
+
if (!customElements.get(tagName)) {
|
|
799
|
+
defineCustomElement$u();
|
|
800
|
+
}
|
|
801
|
+
break;
|
|
802
|
+
case "rtk-dialog-manager":
|
|
803
|
+
if (!customElements.get(tagName)) {
|
|
804
|
+
defineCustomElement$t();
|
|
805
|
+
}
|
|
806
|
+
break;
|
|
807
|
+
case "rtk-draft-attachment-view":
|
|
808
|
+
if (!customElements.get(tagName)) {
|
|
809
|
+
defineCustomElement$s();
|
|
810
|
+
}
|
|
811
|
+
break;
|
|
812
|
+
case "rtk-emoji-picker":
|
|
813
|
+
if (!customElements.get(tagName)) {
|
|
814
|
+
defineCustomElement$r();
|
|
815
|
+
}
|
|
816
|
+
break;
|
|
817
|
+
case "rtk-emoji-picker-button":
|
|
818
|
+
if (!customElements.get(tagName)) {
|
|
819
|
+
defineCustomElement$q();
|
|
820
|
+
}
|
|
821
|
+
break;
|
|
822
|
+
case "rtk-file-message":
|
|
823
|
+
if (!customElements.get(tagName)) {
|
|
824
|
+
defineCustomElement$p();
|
|
825
|
+
}
|
|
826
|
+
break;
|
|
827
|
+
case "rtk-file-message-view":
|
|
828
|
+
if (!customElements.get(tagName)) {
|
|
829
|
+
defineCustomElement$o();
|
|
830
|
+
}
|
|
831
|
+
break;
|
|
832
|
+
case "rtk-file-picker-button":
|
|
833
|
+
if (!customElements.get(tagName)) {
|
|
834
|
+
defineCustomElement$n();
|
|
835
|
+
}
|
|
836
|
+
break;
|
|
837
|
+
case "rtk-icon":
|
|
838
|
+
if (!customElements.get(tagName)) {
|
|
839
|
+
defineCustomElement$m();
|
|
840
|
+
}
|
|
841
|
+
break;
|
|
842
|
+
case "rtk-image-message":
|
|
843
|
+
if (!customElements.get(tagName)) {
|
|
844
|
+
defineCustomElement$l();
|
|
845
|
+
}
|
|
846
|
+
break;
|
|
847
|
+
case "rtk-image-message-view":
|
|
848
|
+
if (!customElements.get(tagName)) {
|
|
849
|
+
defineCustomElement$k();
|
|
850
|
+
}
|
|
851
|
+
break;
|
|
852
|
+
case "rtk-join-stage":
|
|
853
|
+
if (!customElements.get(tagName)) {
|
|
854
|
+
defineCustomElement$j();
|
|
855
|
+
}
|
|
856
|
+
break;
|
|
857
|
+
case "rtk-leave-meeting":
|
|
858
|
+
if (!customElements.get(tagName)) {
|
|
859
|
+
defineCustomElement$i();
|
|
860
|
+
}
|
|
861
|
+
break;
|
|
862
|
+
case "rtk-logo":
|
|
863
|
+
if (!customElements.get(tagName)) {
|
|
864
|
+
defineCustomElement$h();
|
|
865
|
+
}
|
|
866
|
+
break;
|
|
867
|
+
case "rtk-markdown-view":
|
|
868
|
+
if (!customElements.get(tagName)) {
|
|
869
|
+
defineCustomElement$g();
|
|
870
|
+
}
|
|
871
|
+
break;
|
|
872
|
+
case "rtk-menu":
|
|
873
|
+
if (!customElements.get(tagName)) {
|
|
874
|
+
defineCustomElement$f();
|
|
875
|
+
}
|
|
876
|
+
break;
|
|
877
|
+
case "rtk-menu-item":
|
|
878
|
+
if (!customElements.get(tagName)) {
|
|
879
|
+
defineCustomElement$e();
|
|
880
|
+
}
|
|
881
|
+
break;
|
|
882
|
+
case "rtk-menu-list":
|
|
883
|
+
if (!customElements.get(tagName)) {
|
|
884
|
+
defineCustomElement$d();
|
|
885
|
+
}
|
|
886
|
+
break;
|
|
887
|
+
case "rtk-message-view":
|
|
888
|
+
if (!customElements.get(tagName)) {
|
|
889
|
+
defineCustomElement$c();
|
|
890
|
+
}
|
|
891
|
+
break;
|
|
892
|
+
case "rtk-mute-all-confirmation":
|
|
893
|
+
if (!customElements.get(tagName)) {
|
|
894
|
+
defineCustomElement$b();
|
|
895
|
+
}
|
|
896
|
+
break;
|
|
897
|
+
case "rtk-notification":
|
|
898
|
+
if (!customElements.get(tagName)) {
|
|
899
|
+
defineCustomElement$a();
|
|
900
|
+
}
|
|
901
|
+
break;
|
|
902
|
+
case "rtk-notifications":
|
|
903
|
+
if (!customElements.get(tagName)) {
|
|
904
|
+
defineCustomElement$9();
|
|
905
|
+
}
|
|
906
|
+
break;
|
|
907
|
+
case "rtk-overlay-modal":
|
|
908
|
+
if (!customElements.get(tagName)) {
|
|
909
|
+
defineCustomElement$8();
|
|
910
|
+
}
|
|
911
|
+
break;
|
|
912
|
+
case "rtk-paginated-list":
|
|
913
|
+
if (!customElements.get(tagName)) {
|
|
914
|
+
defineCustomElement$7();
|
|
915
|
+
}
|
|
916
|
+
break;
|
|
917
|
+
case "rtk-permissions-message":
|
|
918
|
+
if (!customElements.get(tagName)) {
|
|
919
|
+
defineCustomElement$6();
|
|
920
|
+
}
|
|
921
|
+
break;
|
|
922
|
+
case "rtk-spinner":
|
|
923
|
+
if (!customElements.get(tagName)) {
|
|
924
|
+
defineCustomElement$5();
|
|
925
|
+
}
|
|
926
|
+
break;
|
|
927
|
+
case "rtk-text-composer-view":
|
|
928
|
+
if (!customElements.get(tagName)) {
|
|
929
|
+
defineCustomElement$4();
|
|
930
|
+
}
|
|
931
|
+
break;
|
|
932
|
+
case "rtk-text-message":
|
|
933
|
+
if (!customElements.get(tagName)) {
|
|
934
|
+
defineCustomElement$3();
|
|
935
|
+
}
|
|
936
|
+
break;
|
|
937
|
+
case "rtk-text-message-view":
|
|
938
|
+
if (!customElements.get(tagName)) {
|
|
939
|
+
defineCustomElement$2();
|
|
940
|
+
}
|
|
941
|
+
break;
|
|
942
|
+
case "rtk-tooltip":
|
|
943
|
+
if (!customElements.get(tagName)) {
|
|
944
|
+
defineCustomElement$1();
|
|
945
|
+
}
|
|
946
|
+
break;
|
|
947
|
+
} });
|
|
948
|
+
}
|
|
949
|
+
defineCustomElement();
|
|
950
|
+
|
|
951
|
+
export { RtkChat as R, defineCustomElement as d };
|