@cloudflare/realtimekit-ui 0.0.0 → 1.0.0-staging.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -0
- package/dist/browser.js +1 -0
- package/dist/cjs/ChatHead-94cee2c7.js +46 -0
- package/dist/cjs/ResizeObserver.es-ba961f16.js +930 -0
- package/dist/cjs/TextMessage-4b80b4f5.js +69 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/chat-7e13b43e.js +217 -0
- package/dist/cjs/clone-2e9a4cae.js +754 -0
- package/dist/cjs/config-a123c409.js +1177 -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-2154d3c1.js +26 -0
- package/dist/cjs/index-333077f7.js +227 -0
- package/dist/cjs/index-d3eba4b9.js +2188 -0
- package/dist/cjs/index.cjs.js +268 -0
- package/dist/cjs/isObjectLike-73d13a39.js +171 -0
- package/dist/cjs/keysIn-8bdbe83d.js +1438 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/logger-3df9c75d.js +5 -0
- package/dist/cjs/notification-30f14d01.js +44 -0
- package/dist/cjs/realtimekit-ui.cjs.js +25 -0
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +76 -0
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +138 -0
- package/dist/cjs/rtk-ai.cjs.entry.js +91 -0
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +116 -0
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +130 -0
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +501 -0
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +6355 -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 +131 -0
- package/dist/cjs/rtk-clock.cjs.entry.js +97 -0
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +48 -0
- package/dist/cjs/rtk-controlbar.cjs.entry.js +66 -0
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +61 -0
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +109 -0
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +60 -0
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +86 -0
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +159 -0
- package/dist/cjs/rtk-grid.cjs.entry.js +362 -0
- package/dist/cjs/rtk-header.cjs.entry.js +66 -0
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +47 -0
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +62 -0
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +37 -0
- package/dist/cjs/rtk-leave-button.cjs.entry.js +52 -0
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +29148 -0
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +142 -0
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +49 -0
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +285 -0
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +184 -0
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +226 -0
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +77 -0
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +79 -0
- package/dist/cjs/rtk-name-tag.cjs.entry.js +72 -0
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +86 -0
- package/dist/cjs/rtk-participant-count.cjs.entry.js +91 -0
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +118 -0
- package/dist/cjs/rtk-participant_2.cjs.entry.js +419 -0
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +207 -0
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +467 -0
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +144 -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 +99 -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 +110 -0
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +70 -0
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +162 -0
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +266 -0
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +149 -0
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +150 -0
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +57 -0
- package/dist/cjs/rtk-settings.cjs.entry.js +124 -0
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +120 -0
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +58 -0
- package/dist/cjs/rtk-sidebar.cjs.entry.js +158 -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-864a0b7a.js +50 -0
- package/dist/cjs/size-2a406e36.js +28 -0
- package/dist/cjs/string-a410fab6.js +64 -0
- package/dist/cjs/ui-store-790d3fec.js +1602 -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 +197 -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 +63 -0
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +329 -0
- package/dist/collection/components/rtk-clock/rtk-clock.css +45 -0
- package/dist/collection/components/rtk-clock/rtk-clock.js +162 -0
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +72 -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 +187 -0
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +247 -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 +76 -0
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +307 -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 +178 -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 +242 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +60 -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 +35 -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 +153 -0
- package/dist/collection/components/rtk-notification/rtk-notification.js +196 -0
- package/dist/collection/components/rtk-notifications/rtk-notifications.css +30 -0
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +734 -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 +41 -0
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +205 -0
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.css +111 -0
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +338 -0
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.css +283 -0
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +464 -0
- package/dist/collection/components/rtk-participants/rtk-participants.css +127 -0
- package/dist/collection/components/rtk-participants/rtk-participants.js +404 -0
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.css +46 -0
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +282 -0
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.css +61 -0
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +364 -0
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.css +116 -0
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +286 -0
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.css +48 -0
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +340 -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 +292 -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 +49 -0
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +306 -0
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +60 -0
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +184 -0
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.css +17 -0
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +342 -0
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.css +22 -0
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +470 -0
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +294 -0
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +394 -0
- package/dist/collection/components/rtk-settings/rtk-settings.css +241 -0
- package/dist/collection/components/rtk-settings/rtk-settings.js +286 -0
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.css +59 -0
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +230 -0
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.css +17 -0
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +216 -0
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.css +135 -0
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +256 -0
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +175 -0
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +309 -0
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +65 -0
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +424 -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 +244 -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 +60 -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 +318 -0
- package/dist/collection/lib/grid.js +94 -0
- package/dist/collection/lib/icons/default-icon-pack.js +87 -0
- package/dist/collection/lib/icons/index.js +20 -0
- package/dist/collection/lib/lang/default-language.js +415 -0
- package/dist/collection/lib/lang/index.js +17 -0
- package/dist/collection/lib/notification.js +39 -0
- package/dist/collection/lib/render/index.js +97 -0
- package/dist/collection/lib/render/utils.js +115 -0
- package/dist/collection/lib/visualizer.js +42 -0
- package/dist/collection/theme/colors.js +130 -0
- package/dist/collection/theme/index.js +65 -0
- package/dist/collection/theme/presets/border.js +46 -0
- package/dist/collection/theme/presets/themes.js +35 -0
- package/dist/collection/theme/space.js +17 -0
- package/dist/collection/theme/tests/space.spec.js +17 -0
- package/dist/collection/types/floating-ui.js +1 -0
- package/dist/collection/types/props.js +1 -0
- package/dist/collection/types/rtk-ai.js +1 -0
- package/dist/collection/types/rtk-client.js +10 -0
- package/dist/collection/types/ui-config/config.js +35 -0
- package/dist/collection/types/ui-config/design-tokens.js +1 -0
- package/dist/collection/types/ui-config/index.js +1 -0
- package/dist/collection/types/ui-config/root.js +1 -0
- package/dist/collection/utils/assets.js +13 -0
- package/dist/collection/utils/breakout-rooms-manager.js +299 -0
- package/dist/collection/utils/breakout-rooms.js +69 -0
- package/dist/collection/utils/chat.js +198 -0
- package/dist/collection/utils/clone.js +7 -0
- package/dist/collection/utils/color.js +175 -0
- package/dist/collection/utils/config.js +353 -0
- package/dist/collection/utils/date.js +30 -0
- package/dist/collection/utils/debugger-utils.js +83 -0
- package/dist/collection/utils/file.js +54 -0
- package/dist/collection/utils/flags.js +24 -0
- package/dist/collection/utils/full-screen.js +48 -0
- package/dist/collection/utils/graceful-storage.js +18 -0
- package/dist/collection/utils/livestream.js +100 -0
- package/dist/collection/utils/logger.js +1 -0
- package/dist/collection/utils/notification.js +15 -0
- package/dist/collection/utils/provide-design-system.js +114 -0
- package/dist/collection/utils/scroll.js +11 -0
- package/dist/collection/utils/sidebar.js +42 -0
- package/dist/collection/utils/size.js +14 -0
- package/dist/collection/utils/stage.js +9 -0
- package/dist/collection/utils/string.js +56 -0
- package/dist/collection/utils/sync-with-store/index.js +21 -0
- package/dist/collection/utils/sync-with-store/ui-store.js +56 -0
- package/dist/collection/utils/time.js +9 -0
- package/dist/collection/utils/troubleshooter.js +469 -0
- package/dist/collection/utils/user-prefs.js +20 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +246 -0
- package/dist/components/p-028999b4.js +103 -0
- package/dist/components/p-02f19345.js +50 -0
- package/dist/components/p-0646bdc7.js +227 -0
- package/dist/components/p-0752f2ba.js +13 -0
- package/dist/components/p-09e6eab9.js +125 -0
- package/dist/components/p-0abe4b8a.js +200 -0
- package/dist/components/p-0d6af270.js +42 -0
- package/dist/components/p-0e02697c.js +85 -0
- package/dist/components/p-12aa04c2.js +168 -0
- package/dist/components/p-13ca3cc7.js +148 -0
- package/dist/components/p-158fc95d.js +92 -0
- package/dist/components/p-174eea40.js +149 -0
- package/dist/components/p-1ca992c5.js +95 -0
- package/dist/components/p-1cda12a9.js +11 -0
- package/dist/components/p-1d055d3f.js +57 -0
- package/dist/components/p-1d8ecb94.js +77 -0
- package/dist/components/p-1dcb723e.js +91 -0
- package/dist/components/p-1f633de4.js +101 -0
- package/dist/components/p-212ce4b8.js +95 -0
- package/dist/components/p-22605d4a.js +120 -0
- package/dist/components/p-25969351.js +153 -0
- package/dist/components/p-2c3cda13.js +164 -0
- package/dist/components/p-2f01fa36.js +161 -0
- package/dist/components/p-2f0318c7.js +150 -0
- package/dist/components/p-31964573.js +1892 -0
- package/dist/components/p-338c7261.js +58 -0
- package/dist/components/p-382270d8.js +32 -0
- package/dist/components/p-39af1790.js +316 -0
- package/dist/components/p-3b8741ca.js +67 -0
- package/dist/components/p-3bfd5b6d.js +1638 -0
- package/dist/components/p-3e2ba737.js +29080 -0
- package/dist/components/p-3f882e7c.js +299 -0
- package/dist/components/p-4611af78.js +97 -0
- package/dist/components/p-46923b34.js +1409 -0
- package/dist/components/p-46ab4375.js +180 -0
- package/dist/components/p-46ff9ad9.js +114 -0
- package/dist/components/p-483752a4.js +178 -0
- package/dist/components/p-4b5caa33.js +125 -0
- package/dist/components/p-512c3bef.js +156 -0
- package/dist/components/p-51b56b52.js +159 -0
- package/dist/components/p-53b020e2.js +1538 -0
- package/dist/components/p-550aa089.js +1172 -0
- package/dist/components/p-5605a420.js +3 -0
- package/dist/components/p-5c0da120.js +182 -0
- package/dist/components/p-5d2cf697.js +76 -0
- package/dist/components/p-60db99e3.js +215 -0
- package/dist/components/p-613b7d98.js +353 -0
- package/dist/components/p-624f14ef.js +951 -0
- package/dist/components/p-63e92eda.js +264 -0
- package/dist/components/p-641ba920.js +61 -0
- package/dist/components/p-6453124f.js +211 -0
- package/dist/components/p-64a6ea33.js +194 -0
- package/dist/components/p-65bf60df.js +81 -0
- package/dist/components/p-6fa3c2fa.js +93 -0
- package/dist/components/p-71133697.js +112 -0
- package/dist/components/p-746ae804.js +103 -0
- package/dist/components/p-749efee6.js +85 -0
- package/dist/components/p-77167e1b.js +162 -0
- package/dist/components/p-78349933.js +213 -0
- package/dist/components/p-7ad5bf75.js +82 -0
- package/dist/components/p-82fbdbf4.js +105 -0
- package/dist/components/p-87480646.js +309 -0
- package/dist/components/p-87d8706e.js +114 -0
- package/dist/components/p-89bbfe71.js +203 -0
- package/dist/components/p-906cb5bf.js +82 -0
- package/dist/components/p-90bd27de.js +199 -0
- package/dist/components/p-915562c0.js +307 -0
- package/dist/components/p-9217dbe9.js +115 -0
- package/dist/components/p-94443423.js +45 -0
- package/dist/components/p-963d619f.js +626 -0
- package/dist/components/p-96be234f.js +26 -0
- package/dist/components/p-971097d5.js +108 -0
- package/dist/components/p-98ae3e41.js +86 -0
- package/dist/components/p-9c2796e3.js +68 -0
- package/dist/components/p-9fc565cf.js +57 -0
- package/dist/components/p-a08b5a59.js +329 -0
- package/dist/components/p-a4182a97.js +118 -0
- package/dist/components/p-a83ccdbd.js +40 -0
- package/dist/components/p-abbbb5f3.js +69 -0
- package/dist/components/p-ad50fcdc.js +95 -0
- package/dist/components/p-ae1931dd.js +79 -0
- package/dist/components/p-aec1ab2d.js +96 -0
- package/dist/components/p-b13ddb7d.js +96 -0
- package/dist/components/p-ba1a0ebf.js +63 -0
- package/dist/components/p-baea3e90.js +119 -0
- package/dist/components/p-bb4322af.js +131 -0
- package/dist/components/p-bb7c5e38.js +134 -0
- package/dist/components/p-bc68e74e.js +128 -0
- package/dist/components/p-bed2e1b5.js +62 -0
- package/dist/components/p-bffc1ba5.js +155 -0
- package/dist/components/p-c15d924f.js +752 -0
- package/dist/components/p-c4482ff1.js +157 -0
- package/dist/components/p-c8a6dfb8.js +305 -0
- package/dist/components/p-cbdd7a99.js +542 -0
- package/dist/components/p-cdfe8250.js +390 -0
- package/dist/components/p-d17beb97.js +223 -0
- package/dist/components/p-d978ca76.js +124 -0
- package/dist/components/p-da00b09a.js +148 -0
- package/dist/components/p-dca85942.js +108 -0
- package/dist/components/p-de7f1269.js +224 -0
- package/dist/components/p-df1632fd.js +204 -0
- package/dist/components/p-df6f9a3f.js +24 -0
- package/dist/components/p-eb0fc611.js +43 -0
- package/dist/components/p-eebae590.js +357 -0
- package/dist/components/p-efc19d8d.js +63 -0
- package/dist/components/p-f22929f5.js +105 -0
- package/dist/components/p-f47d4fe8.js +928 -0
- package/dist/components/p-f5e4f0bb.js +168 -0
- package/dist/components/p-f9aece94.js +96 -0
- package/dist/components/p-fb535f2c.js +157 -0
- package/dist/components/p-fd0abb3e.js +134 -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 +178 -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 +126 -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 +192 -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 +144 -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 +156 -0
- package/dist/components/rtk-polls.d.ts +11 -0
- package/dist/components/rtk-polls.js +6 -0
- package/dist/components/rtk-recording-indicator.d.ts +11 -0
- package/dist/components/rtk-recording-indicator.js +99 -0
- package/dist/components/rtk-recording-toggle.d.ts +11 -0
- package/dist/components/rtk-recording-toggle.js +206 -0
- package/dist/components/rtk-screen-share-toggle.d.ts +11 -0
- package/dist/components/rtk-screen-share-toggle.js +321 -0
- package/dist/components/rtk-screenshare-view.d.ts +11 -0
- package/dist/components/rtk-screenshare-view.js +197 -0
- package/dist/components/rtk-settings-audio.d.ts +11 -0
- package/dist/components/rtk-settings-audio.js +6 -0
- package/dist/components/rtk-settings-toggle.d.ts +11 -0
- package/dist/components/rtk-settings-toggle.js +96 -0
- package/dist/components/rtk-settings-video.d.ts +11 -0
- package/dist/components/rtk-settings-video.js +6 -0
- package/dist/components/rtk-settings.d.ts +11 -0
- package/dist/components/rtk-settings.js +211 -0
- package/dist/components/rtk-setup-screen.d.ts +11 -0
- package/dist/components/rtk-setup-screen.js +186 -0
- package/dist/components/rtk-sidebar-ui.d.ts +11 -0
- package/dist/components/rtk-sidebar-ui.js +6 -0
- package/dist/components/rtk-sidebar.d.ts +11 -0
- package/dist/components/rtk-sidebar.js +238 -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 +239216 -0
- package/dist/docs/docs-vscode.json +4421 -0
- package/dist/esm/ChatHead-4ef9f354.js +41 -0
- package/dist/esm/ResizeObserver.es-02979d4e.js +928 -0
- package/dist/esm/TextMessage-0683cfdd.js +67 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/chat-d82f457b.js +200 -0
- package/dist/esm/clone-acd4af50.js +752 -0
- package/dist/esm/config-233d8f24.js +1172 -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-25a91036.js +2155 -0
- package/dist/esm/index-27e158ce.js +24 -0
- package/dist/esm/index-3f9d8968.js +224 -0
- package/dist/esm/index.js +249 -0
- package/dist/esm/isObjectLike-773b9473.js +164 -0
- package/dist/esm/keysIn-310f65c1.js +1409 -0
- package/dist/esm/loader.js +56184 -0
- package/dist/esm/logger-31448943.js +3 -0
- package/dist/esm/notification-90f2d20b.js +42 -0
- package/dist/esm/realtimekit-ui.js +20 -0
- package/dist/esm/rtk-ai-toggle.entry.js +72 -0
- package/dist/esm/rtk-ai-transcriptions.entry.js +134 -0
- package/dist/esm/rtk-ai.entry.js +87 -0
- package/dist/esm/rtk-audio-grid.entry.js +112 -0
- package/dist/esm/rtk-audio-tile.entry.js +126 -0
- package/dist/esm/rtk-audio-visualizer_4.entry.js +494 -0
- package/dist/esm/rtk-avatar_54.entry.js +6298 -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 +127 -0
- package/dist/esm/rtk-clock.entry.js +93 -0
- package/dist/esm/rtk-controlbar-button.entry.js +44 -0
- package/dist/esm/rtk-controlbar.entry.js +62 -0
- package/dist/esm/rtk-debugger-toggle.entry.js +57 -0
- package/dist/esm/rtk-ended-screen.entry.js +105 -0
- package/dist/esm/rtk-file-dropzone.entry.js +56 -0
- package/dist/esm/rtk-fullscreen-toggle.entry.js +82 -0
- package/dist/esm/rtk-grid-pagination.entry.js +155 -0
- package/dist/esm/rtk-grid.entry.js +358 -0
- package/dist/esm/rtk-header.entry.js +62 -0
- package/dist/esm/rtk-idle-screen.entry.js +43 -0
- package/dist/esm/rtk-image-viewer.entry.js +58 -0
- package/dist/esm/rtk-information-tooltip.entry.js +33 -0
- package/dist/esm/rtk-leave-button.entry.js +48 -0
- package/dist/esm/rtk-livestream-indicator_3.entry.js +29142 -0
- package/dist/esm/rtk-livestream-toggle.entry.js +138 -0
- package/dist/esm/rtk-meeting-title.entry.js +45 -0
- package/dist/esm/rtk-message-list-view.entry.js +281 -0
- package/dist/esm/rtk-mic-toggle.entry.js +180 -0
- package/dist/esm/rtk-mixed-grid.entry.js +222 -0
- package/dist/esm/rtk-more-toggle.entry.js +73 -0
- package/dist/esm/rtk-mute-all-button.entry.js +75 -0
- package/dist/esm/rtk-name-tag.entry.js +68 -0
- package/dist/esm/rtk-network-indicator.entry.js +82 -0
- package/dist/esm/rtk-participant-count.entry.js +87 -0
- package/dist/esm/rtk-participant-setup.entry.js +114 -0
- package/dist/esm/rtk-participant_2.entry.js +414 -0
- package/dist/esm/rtk-participants-audio.entry.js +203 -0
- package/dist/esm/rtk-participants-stage-list_4.entry.js +460 -0
- package/dist/esm/rtk-participants-toggle.entry.js +140 -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 +95 -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 +106 -0
- package/dist/esm/rtk-recording-indicator.entry.js +66 -0
- package/dist/esm/rtk-recording-toggle.entry.js +158 -0
- package/dist/esm/rtk-screen-share-toggle.entry.js +262 -0
- package/dist/esm/rtk-screenshare-view.entry.js +145 -0
- package/dist/esm/rtk-settings-audio_2.entry.js +145 -0
- package/dist/esm/rtk-settings-toggle.entry.js +53 -0
- package/dist/esm/rtk-settings.entry.js +120 -0
- package/dist/esm/rtk-setup-screen.entry.js +116 -0
- package/dist/esm/rtk-sidebar-ui.entry.js +54 -0
- package/dist/esm/rtk-sidebar.entry.js +154 -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-aa5e43a2.js +45 -0
- package/dist/esm/size-505ade24.js +26 -0
- package/dist/esm/string-ed1380fb.js +58 -0
- package/dist/esm/ui-store-5383d525.js +1576 -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-0218a56b.js +1 -0
- package/dist/realtimekit-ui/p-02f19345.js +1 -0
- package/dist/realtimekit-ui/p-0336caf2.entry.js +1 -0
- package/dist/realtimekit-ui/p-03ac511d.entry.js +1 -0
- package/dist/realtimekit-ui/p-06f1ed80.entry.js +1 -0
- package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
- package/dist/realtimekit-ui/p-0c011730.entry.js +1 -0
- package/dist/realtimekit-ui/p-0d9929ac.js +1 -0
- package/dist/realtimekit-ui/p-0e8213ad.entry.js +1 -0
- package/dist/realtimekit-ui/p-0ec000c9.entry.js +1 -0
- package/dist/realtimekit-ui/p-0f5a23ce.entry.js +1 -0
- package/dist/realtimekit-ui/p-1206b9a4.entry.js +1 -0
- package/dist/realtimekit-ui/p-1567a135.js +1 -0
- package/dist/realtimekit-ui/p-15b14b92.entry.js +1 -0
- package/dist/realtimekit-ui/p-1b0b0f2d.js +1 -0
- package/dist/realtimekit-ui/p-1be4070c.entry.js +1 -0
- package/dist/realtimekit-ui/p-1fac5c7d.entry.js +1 -0
- package/dist/realtimekit-ui/p-24905c85.entry.js +1 -0
- package/dist/realtimekit-ui/p-2573cda1.entry.js +1 -0
- package/dist/realtimekit-ui/p-2738468d.entry.js +1 -0
- package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
- package/dist/realtimekit-ui/p-31964573.js +1 -0
- package/dist/realtimekit-ui/p-31cb9664.entry.js +1 -0
- package/dist/realtimekit-ui/p-3207575b.entry.js +1 -0
- package/dist/realtimekit-ui/p-338c7261.js +1 -0
- package/dist/realtimekit-ui/p-36990601.entry.js +1 -0
- package/dist/realtimekit-ui/p-3cf531c1.js +1 -0
- package/dist/realtimekit-ui/p-3e83ff84.js +1 -0
- package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
- package/dist/realtimekit-ui/p-46923b34.js +1 -0
- package/dist/realtimekit-ui/p-46c3367c.entry.js +1 -0
- package/dist/realtimekit-ui/p-46ea4a0d.entry.js +1 -0
- package/dist/realtimekit-ui/p-4caa353f.entry.js +1 -0
- package/dist/realtimekit-ui/p-533ce032.entry.js +1 -0
- package/dist/realtimekit-ui/p-533ecbf2.js +2 -0
- package/dist/realtimekit-ui/p-5359c5bf.entry.js +1 -0
- package/dist/realtimekit-ui/p-551b32ce.entry.js +1 -0
- package/dist/realtimekit-ui/p-5605a420.js +1 -0
- package/dist/realtimekit-ui/p-59f22e0a.entry.js +1 -0
- package/dist/realtimekit-ui/p-5a7d71b0.entry.js +1 -0
- package/dist/realtimekit-ui/p-5da1339e.entry.js +1 -0
- package/dist/realtimekit-ui/p-61f4443f.entry.js +1 -0
- package/dist/realtimekit-ui/p-63fabdb8.entry.js +1 -0
- package/dist/realtimekit-ui/p-646b89d6.entry.js +1 -0
- package/dist/realtimekit-ui/p-6481cc88.entry.js +1 -0
- package/dist/realtimekit-ui/p-6964a8f6.entry.js +1 -0
- package/dist/realtimekit-ui/p-6a4fb57a.entry.js +1 -0
- package/dist/realtimekit-ui/p-6ad690e8.entry.js +1 -0
- package/dist/realtimekit-ui/p-6b50f9b5.entry.js +1 -0
- package/dist/realtimekit-ui/p-6c894b6b.entry.js +1 -0
- package/dist/realtimekit-ui/p-6e0f9e5d.entry.js +1 -0
- package/dist/realtimekit-ui/p-701e8cc1.entry.js +1 -0
- package/dist/realtimekit-ui/p-7895b888.entry.js +1 -0
- package/dist/realtimekit-ui/p-7d970fe1.entry.js +1 -0
- package/dist/realtimekit-ui/p-7edbcd5e.entry.js +1 -0
- package/dist/realtimekit-ui/p-8d04a9a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-8edd80c2.entry.js +1 -0
- package/dist/realtimekit-ui/p-93f69d20.entry.js +1 -0
- package/dist/realtimekit-ui/p-96be234f.js +1 -0
- package/dist/realtimekit-ui/p-997830fd.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c378706.entry.js +1 -0
- package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
- package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
- package/dist/realtimekit-ui/p-a268fabd.entry.js +1 -0
- package/dist/realtimekit-ui/p-a467c711.entry.js +1 -0
- package/dist/realtimekit-ui/p-a7ec3e7f.js +1 -0
- package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
- package/dist/realtimekit-ui/p-b2ad78a0.entry.js +1 -0
- package/dist/realtimekit-ui/p-b7183272.entry.js +1 -0
- package/dist/realtimekit-ui/p-b8ea8298.entry.js +1 -0
- package/dist/realtimekit-ui/p-bac4d3cc.entry.js +1 -0
- package/dist/realtimekit-ui/p-badcfa98.entry.js +1 -0
- package/dist/realtimekit-ui/p-bfe04e6b.entry.js +1 -0
- package/dist/realtimekit-ui/p-c15d924f.js +1 -0
- package/dist/realtimekit-ui/p-c1c88e62.entry.js +1 -0
- package/dist/realtimekit-ui/p-c5aabfb2.entry.js +1 -0
- package/dist/realtimekit-ui/p-c9474ab6.entry.js +1 -0
- package/dist/realtimekit-ui/p-ca1a26a8.entry.js +1 -0
- package/dist/realtimekit-ui/p-cadc29e0.entry.js +1 -0
- package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
- package/dist/realtimekit-ui/p-cc0c49b8.entry.js +1 -0
- package/dist/realtimekit-ui/p-cdb45819.entry.js +1 -0
- package/dist/realtimekit-ui/p-d4ad4027.entry.js +1 -0
- package/dist/realtimekit-ui/p-d7509ae5.entry.js +1 -0
- package/dist/realtimekit-ui/p-d9a0b571.entry.js +1 -0
- package/dist/realtimekit-ui/p-db9371e5.js +1 -0
- package/dist/realtimekit-ui/p-e05e4c26.entry.js +1 -0
- package/dist/realtimekit-ui/p-e1255160.js +1 -0
- package/dist/realtimekit-ui/p-e1b5df5c.entry.js +1 -0
- package/dist/realtimekit-ui/p-e4686e58.entry.js +1 -0
- package/dist/realtimekit-ui/p-e9a4f3d2.entry.js +1 -0
- package/dist/realtimekit-ui/p-eb3c426f.entry.js +1 -0
- package/dist/realtimekit-ui/p-f0d98e40.entry.js +1 -0
- package/dist/realtimekit-ui/p-f47d4fe8.js +1 -0
- package/dist/realtimekit-ui/p-faf1d40a.js +1 -0
- package/dist/realtimekit-ui/p-fb2ddda7.entry.js +1 -0
- package/dist/realtimekit-ui/p-fdad06d2.entry.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 +48 -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 +36 -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 +26 -0
- package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +68 -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 +47 -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 +40 -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 +44 -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 +50 -0
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +112 -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 +11528 -0
- package/dist/types/exports.d.ts +20 -0
- package/dist/types/globals.d.ts +15 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/addons/index.d.ts +27 -0
- package/dist/types/lib/audio.d.ts +17 -0
- package/dist/types/lib/builder/index.d.ts +42 -0
- package/dist/types/lib/default-ui-config.d.ts +5 -0
- package/dist/types/lib/grid.d.ts +43 -0
- package/dist/types/lib/icons/default-icon-pack.d.ts +88 -0
- package/dist/types/lib/icons/index.d.ts +9 -0
- package/dist/types/lib/lang/default-language.d.ts +415 -0
- package/dist/types/lib/lang/index.d.ts +16 -0
- package/dist/types/lib/notification.d.ts +19 -0
- package/dist/types/lib/render/index.d.ts +45 -0
- package/dist/types/lib/render/utils.d.ts +31 -0
- package/dist/types/lib/visualizer.d.ts +6 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/theme/presets/border.d.ts +13 -0
- package/dist/types/theme/presets/themes.d.ts +2 -0
- package/dist/types/types/floating-ui.d.ts +1 -0
- package/dist/types/types/props.d.ts +175 -0
- package/dist/types/types/rtk-ai.d.ts +9 -0
- package/dist/types/types/rtk-client.d.ts +16 -0
- package/dist/types/types/ui-config/config.d.ts +25 -0
- package/dist/types/types/ui-config/design-tokens.d.ts +41 -0
- package/dist/types/types/ui-config/index.d.ts +15 -0
- package/dist/types/types/ui-config/root.d.ts +23 -0
- package/dist/types/types/web-core.d.ts +9 -0
- package/dist/types/utils/assets.d.ts +6 -0
- package/dist/types/utils/breakout-rooms-manager.d.ts +100 -0
- package/dist/types/utils/breakout-rooms.d.ts +24 -0
- package/dist/types/utils/chat.d.ts +49 -0
- package/dist/types/utils/clone.d.ts +1 -0
- package/dist/types/utils/color.d.ts +69 -0
- package/dist/types/utils/config.d.ts +28 -0
- package/dist/types/utils/date.d.ts +3 -0
- package/dist/types/utils/debugger-utils.d.ts +40 -0
- package/dist/types/utils/file.d.ts +23 -0
- package/dist/types/utils/full-screen.d.ts +4 -0
- package/dist/types/utils/graceful-storage.d.ts +2 -0
- package/dist/types/utils/logger.d.ts +1 -0
- package/dist/types/utils/notification.d.ts +9 -0
- package/dist/types/utils/provide-design-system.d.ts +7 -0
- package/dist/types/utils/scroll.d.ts +7 -0
- package/dist/types/utils/sidebar.d.ts +5 -0
- package/dist/types/utils/size.d.ts +7 -0
- package/dist/types/utils/stage.d.ts +3 -0
- package/dist/types/utils/string.d.ts +24 -0
- package/dist/types/utils/sync-with-store/index.d.ts +3 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +20 -0
- package/dist/types/utils/time.d.ts +1 -0
- package/dist/types/utils/troubleshooter.d.ts +151 -0
- package/dist/types/utils/user-prefs.d.ts +7 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +58 -3
|
@@ -0,0 +1,1177 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const uiStore = require('./ui-store-790d3fec.js');
|
|
4
|
+
const keysIn = require('./keysIn-8bdbe83d.js');
|
|
5
|
+
const isObjectLike = require('./isObjectLike-73d13a39.js');
|
|
6
|
+
|
|
7
|
+
const spacingScale = [
|
|
8
|
+
0,
|
|
9
|
+
0.5,
|
|
10
|
+
1,
|
|
11
|
+
1.5,
|
|
12
|
+
2,
|
|
13
|
+
3,
|
|
14
|
+
4,
|
|
15
|
+
5,
|
|
16
|
+
6,
|
|
17
|
+
7,
|
|
18
|
+
8,
|
|
19
|
+
9,
|
|
20
|
+
10,
|
|
21
|
+
12,
|
|
22
|
+
14,
|
|
23
|
+
16,
|
|
24
|
+
20,
|
|
25
|
+
24,
|
|
26
|
+
28,
|
|
27
|
+
32,
|
|
28
|
+
36,
|
|
29
|
+
40,
|
|
30
|
+
44,
|
|
31
|
+
48,
|
|
32
|
+
52,
|
|
33
|
+
56,
|
|
34
|
+
60,
|
|
35
|
+
64,
|
|
36
|
+
72,
|
|
37
|
+
80,
|
|
38
|
+
96
|
|
39
|
+
];
|
|
40
|
+
|
|
41
|
+
const THEMES = {
|
|
42
|
+
darkest: {
|
|
43
|
+
background: {
|
|
44
|
+
1000: '#080808',
|
|
45
|
+
900: '#1A1A1A',
|
|
46
|
+
800: '#1E1E1E',
|
|
47
|
+
700: '#2C2C2C',
|
|
48
|
+
600: '#393939',
|
|
49
|
+
},
|
|
50
|
+
text: '#FFFFFF',
|
|
51
|
+
},
|
|
52
|
+
dark: {
|
|
53
|
+
background: {
|
|
54
|
+
1000: '#252525',
|
|
55
|
+
900: '#2F2F2F',
|
|
56
|
+
800: '#323232',
|
|
57
|
+
700: '#3E3E3E',
|
|
58
|
+
600: '#4A4A4A',
|
|
59
|
+
},
|
|
60
|
+
text: '#F5F5F5',
|
|
61
|
+
'video-bg': '#1C1C1C',
|
|
62
|
+
},
|
|
63
|
+
light: {
|
|
64
|
+
background: {
|
|
65
|
+
1000: '#FFFFFF',
|
|
66
|
+
900: '#F5F5F5',
|
|
67
|
+
800: '#EBEBEB',
|
|
68
|
+
700: '#E0E0E0',
|
|
69
|
+
600: '#D6D6D6',
|
|
70
|
+
},
|
|
71
|
+
text: '#111111',
|
|
72
|
+
'text-on-brand': '#ffffff',
|
|
73
|
+
'video-bg': '#DADADA',
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const BORDER_WIDTHS = {
|
|
78
|
+
none: {
|
|
79
|
+
none: 0,
|
|
80
|
+
sm: 0,
|
|
81
|
+
md: 0,
|
|
82
|
+
lg: 0,
|
|
83
|
+
},
|
|
84
|
+
thin: {
|
|
85
|
+
none: 0,
|
|
86
|
+
sm: 1,
|
|
87
|
+
md: 2,
|
|
88
|
+
lg: 4,
|
|
89
|
+
},
|
|
90
|
+
fat: {
|
|
91
|
+
none: 0,
|
|
92
|
+
sm: 2,
|
|
93
|
+
md: 4,
|
|
94
|
+
lg: 8,
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
const BORDER_RADII = {
|
|
98
|
+
sharp: {
|
|
99
|
+
none: 0,
|
|
100
|
+
sm: 0,
|
|
101
|
+
md: 0,
|
|
102
|
+
lg: 0,
|
|
103
|
+
},
|
|
104
|
+
rounded: {
|
|
105
|
+
none: 0,
|
|
106
|
+
sm: 4,
|
|
107
|
+
md: 8,
|
|
108
|
+
lg: 12,
|
|
109
|
+
},
|
|
110
|
+
'extra-rounded': {
|
|
111
|
+
none: 0,
|
|
112
|
+
sm: 8,
|
|
113
|
+
md: 16,
|
|
114
|
+
lg: 24,
|
|
115
|
+
},
|
|
116
|
+
circular: {
|
|
117
|
+
none: 9999,
|
|
118
|
+
sm: 9999,
|
|
119
|
+
md: 9999,
|
|
120
|
+
lg: 9999,
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
function hexToRGB(h) {
|
|
125
|
+
h = h.trim();
|
|
126
|
+
let r = '0', g = '0', b = '0';
|
|
127
|
+
if (h.length == 4) {
|
|
128
|
+
r = '0x' + h[1] + h[1];
|
|
129
|
+
g = '0x' + h[2] + h[2];
|
|
130
|
+
b = '0x' + h[3] + h[3];
|
|
131
|
+
}
|
|
132
|
+
else if (h.length > 6) {
|
|
133
|
+
r = '0x' + h[1] + h[2];
|
|
134
|
+
g = '0x' + h[3] + h[4];
|
|
135
|
+
b = '0x' + h[5] + h[6];
|
|
136
|
+
}
|
|
137
|
+
return [+r, +g, +b];
|
|
138
|
+
}
|
|
139
|
+
const isValidHexColor = (color) => {
|
|
140
|
+
return typeof color === 'string' && color.length === 7 && color.startsWith('#');
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
const DEFAULT_CSS_TOKEN_PREFIX = '--rtk-';
|
|
144
|
+
function getToken(token, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) {
|
|
145
|
+
return tokenPrefix + token;
|
|
146
|
+
}
|
|
147
|
+
const provideGoogleFont = (fontFamily) => {
|
|
148
|
+
const weights = [400, 500, 700];
|
|
149
|
+
const links = [];
|
|
150
|
+
if (document.querySelector('link[data-rtk-font]') == null) {
|
|
151
|
+
/**
|
|
152
|
+
* Adds the following preconnect link tags for faster google font loading
|
|
153
|
+
* <link rel="preconnect" href="https://fonts.googleapis.com">
|
|
154
|
+
* <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
155
|
+
*/
|
|
156
|
+
const p1 = document.createElement('link');
|
|
157
|
+
p1.rel = 'preconnect';
|
|
158
|
+
p1.setAttribute('data-rtk-font', 'true');
|
|
159
|
+
p1.href = 'https://fonts.googleapis.com';
|
|
160
|
+
const p2 = p1.cloneNode(true);
|
|
161
|
+
p2.href = 'https://fonts.gstatic.com';
|
|
162
|
+
p2.crossOrigin = '';
|
|
163
|
+
links.push(p1, p2);
|
|
164
|
+
}
|
|
165
|
+
const link = document.createElement('link');
|
|
166
|
+
link.rel = 'stylesheet';
|
|
167
|
+
link.setAttribute('data-rtk-font', fontFamily);
|
|
168
|
+
link.href = encodeURI(`https://fonts.googleapis.com/css2?family=${fontFamily}:wght@${weights.join(';')}&display=swap`);
|
|
169
|
+
links.push(link);
|
|
170
|
+
document.head.append(...links);
|
|
171
|
+
};
|
|
172
|
+
const provideSpacing = (el, spacingBase, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
173
|
+
spacingScale.forEach((space) => {
|
|
174
|
+
el.style.setProperty(getToken(`space-${space}`, tokenPrefix), `${space * spacingBase}px`);
|
|
175
|
+
});
|
|
176
|
+
};
|
|
177
|
+
const provideBorderWidth = (el, borderWidth, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
178
|
+
if (borderWidth in BORDER_WIDTHS) {
|
|
179
|
+
const widths = BORDER_WIDTHS[borderWidth];
|
|
180
|
+
Object.keys(widths).forEach((type) => {
|
|
181
|
+
el.style.setProperty(getToken(`border-width-${type}`, tokenPrefix), `${widths[type]}px`);
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
const provideBorderRadius = (el, borderRadius, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
186
|
+
if (borderRadius in BORDER_RADII) {
|
|
187
|
+
const radii = BORDER_RADII[borderRadius];
|
|
188
|
+
Object.keys(radii).forEach((type) => {
|
|
189
|
+
el.style.setProperty(getToken(`border-radius-${type}`, tokenPrefix), `${radii[type]}px`);
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
const provideColors = (el, colors, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
194
|
+
Object.keys(colors).forEach((color) => {
|
|
195
|
+
const colorValue = colors[color];
|
|
196
|
+
if (typeof colorValue === 'string') {
|
|
197
|
+
if (color === 'text' || color === 'text-on-brand') {
|
|
198
|
+
const rgb = hexToRGB(colorValue).join(' ');
|
|
199
|
+
el.style.setProperty(getToken(`colors-${color}-1000`, tokenPrefix), `${rgb}`);
|
|
200
|
+
el.style.setProperty(getToken(`colors-${color}-900`, tokenPrefix), `${rgb} / 0.88`);
|
|
201
|
+
el.style.setProperty(getToken(`colors-${color}-800`, tokenPrefix), `${rgb} / 0.76`);
|
|
202
|
+
el.style.setProperty(getToken(`colors-${color}-700`, tokenPrefix), `${rgb} / 0.64`);
|
|
203
|
+
el.style.setProperty(getToken(`colors-${color}-600`, tokenPrefix), `${rgb} / 0.52`);
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
const rgb = hexToRGB(colorValue).join(' ');
|
|
207
|
+
el.style.setProperty(getToken(`colors-${color}`, tokenPrefix), rgb);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
else if (typeof colorValue === 'object') {
|
|
211
|
+
Object.keys(colorValue).forEach((shade) => {
|
|
212
|
+
const shadeValue = colorValue[shade];
|
|
213
|
+
const rgb = hexToRGB(shadeValue).join(' ');
|
|
214
|
+
el.style.setProperty(getToken(`colors-${color}-${shade}`, tokenPrefix), rgb);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Provides the design system new tokens to consume values from for styling the RealtimeKit UI components.
|
|
221
|
+
* @param el The element/node you want to _provide_ RTK Design system.
|
|
222
|
+
* @param tokens The design tokens you want to updated.
|
|
223
|
+
*/
|
|
224
|
+
const provideRtkDesignSystem = (el, { spacingBase, borderRadius, borderWidth, colors, fontFamily, googleFont, theme, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX, }) => {
|
|
225
|
+
if (typeof el !== 'object') {
|
|
226
|
+
throw new Error('[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element');
|
|
227
|
+
}
|
|
228
|
+
if (typeof googleFont === 'string') {
|
|
229
|
+
provideGoogleFont(googleFont);
|
|
230
|
+
el.style.setProperty(getToken('font-family', tokenPrefix), googleFont);
|
|
231
|
+
}
|
|
232
|
+
if (typeof fontFamily === 'string') {
|
|
233
|
+
el.style.setProperty(getToken('font-family', tokenPrefix), fontFamily);
|
|
234
|
+
}
|
|
235
|
+
if (typeof spacingBase === 'number') {
|
|
236
|
+
provideSpacing(el, spacingBase, tokenPrefix);
|
|
237
|
+
}
|
|
238
|
+
if (typeof borderWidth === 'string') {
|
|
239
|
+
provideBorderWidth(el, borderWidth, tokenPrefix);
|
|
240
|
+
}
|
|
241
|
+
if (typeof borderRadius === 'string') {
|
|
242
|
+
provideBorderRadius(el, borderRadius, tokenPrefix);
|
|
243
|
+
}
|
|
244
|
+
if (typeof theme === 'string') {
|
|
245
|
+
const colors = THEMES[theme];
|
|
246
|
+
if (colors != null)
|
|
247
|
+
provideColors(el, colors, tokenPrefix);
|
|
248
|
+
}
|
|
249
|
+
if (typeof colors === 'object') {
|
|
250
|
+
provideColors(el, colors, tokenPrefix);
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* This function is like `assignValue` except that it doesn't assign
|
|
256
|
+
* `undefined` values.
|
|
257
|
+
*
|
|
258
|
+
* @private
|
|
259
|
+
* @param {Object} object The object to modify.
|
|
260
|
+
* @param {string} key The key of the property to assign.
|
|
261
|
+
* @param {*} value The value to assign.
|
|
262
|
+
*/
|
|
263
|
+
function assignMergeValue(object, key, value) {
|
|
264
|
+
if ((value !== undefined && !keysIn.eq(object[key], value)) ||
|
|
265
|
+
(value === undefined && !(key in object))) {
|
|
266
|
+
keysIn.baseAssignValue(object, key, value);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
|
272
|
+
*
|
|
273
|
+
* @private
|
|
274
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
275
|
+
* @returns {Function} Returns the new base function.
|
|
276
|
+
*/
|
|
277
|
+
function createBaseFor(fromRight) {
|
|
278
|
+
return function(object, iteratee, keysFunc) {
|
|
279
|
+
var index = -1,
|
|
280
|
+
iterable = Object(object),
|
|
281
|
+
props = keysFunc(object),
|
|
282
|
+
length = props.length;
|
|
283
|
+
|
|
284
|
+
while (length--) {
|
|
285
|
+
var key = props[fromRight ? length : ++index];
|
|
286
|
+
if (iteratee(iterable[key], key, iterable) === false) {
|
|
287
|
+
break;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return object;
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* The base implementation of `baseForOwn` which iterates over `object`
|
|
296
|
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
|
297
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
298
|
+
*
|
|
299
|
+
* @private
|
|
300
|
+
* @param {Object} object The object to iterate over.
|
|
301
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
302
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
303
|
+
* @returns {Object} Returns `object`.
|
|
304
|
+
*/
|
|
305
|
+
var baseFor = createBaseFor();
|
|
306
|
+
|
|
307
|
+
const baseFor$1 = baseFor;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
311
|
+
* is an object.
|
|
312
|
+
*
|
|
313
|
+
* @static
|
|
314
|
+
* @memberOf _
|
|
315
|
+
* @since 4.0.0
|
|
316
|
+
* @category Lang
|
|
317
|
+
* @param {*} value The value to check.
|
|
318
|
+
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
319
|
+
* else `false`.
|
|
320
|
+
* @example
|
|
321
|
+
*
|
|
322
|
+
* _.isArrayLikeObject([1, 2, 3]);
|
|
323
|
+
* // => true
|
|
324
|
+
*
|
|
325
|
+
* _.isArrayLikeObject(document.body.children);
|
|
326
|
+
* // => true
|
|
327
|
+
*
|
|
328
|
+
* _.isArrayLikeObject('abc');
|
|
329
|
+
* // => false
|
|
330
|
+
*
|
|
331
|
+
* _.isArrayLikeObject(_.noop);
|
|
332
|
+
* // => false
|
|
333
|
+
*/
|
|
334
|
+
function isArrayLikeObject(value) {
|
|
335
|
+
return isObjectLike.isObjectLike(value) && keysIn.isArrayLike(value);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/** `Object#toString` result references. */
|
|
339
|
+
var objectTag = '[object Object]';
|
|
340
|
+
|
|
341
|
+
/** Used for built-in method references. */
|
|
342
|
+
var funcProto = Function.prototype,
|
|
343
|
+
objectProto = Object.prototype;
|
|
344
|
+
|
|
345
|
+
/** Used to resolve the decompiled source of functions. */
|
|
346
|
+
var funcToString = funcProto.toString;
|
|
347
|
+
|
|
348
|
+
/** Used to check objects for own properties. */
|
|
349
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
350
|
+
|
|
351
|
+
/** Used to infer the `Object` constructor. */
|
|
352
|
+
var objectCtorString = funcToString.call(Object);
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Checks if `value` is a plain object, that is, an object created by the
|
|
356
|
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
357
|
+
*
|
|
358
|
+
* @static
|
|
359
|
+
* @memberOf _
|
|
360
|
+
* @since 0.8.0
|
|
361
|
+
* @category Lang
|
|
362
|
+
* @param {*} value The value to check.
|
|
363
|
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
364
|
+
* @example
|
|
365
|
+
*
|
|
366
|
+
* function Foo() {
|
|
367
|
+
* this.a = 1;
|
|
368
|
+
* }
|
|
369
|
+
*
|
|
370
|
+
* _.isPlainObject(new Foo);
|
|
371
|
+
* // => false
|
|
372
|
+
*
|
|
373
|
+
* _.isPlainObject([1, 2, 3]);
|
|
374
|
+
* // => false
|
|
375
|
+
*
|
|
376
|
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
377
|
+
* // => true
|
|
378
|
+
*
|
|
379
|
+
* _.isPlainObject(Object.create(null));
|
|
380
|
+
* // => true
|
|
381
|
+
*/
|
|
382
|
+
function isPlainObject(value) {
|
|
383
|
+
if (!isObjectLike.isObjectLike(value) || isObjectLike.baseGetTag(value) != objectTag) {
|
|
384
|
+
return false;
|
|
385
|
+
}
|
|
386
|
+
var proto = keysIn.getPrototype(value);
|
|
387
|
+
if (proto === null) {
|
|
388
|
+
return true;
|
|
389
|
+
}
|
|
390
|
+
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
|
391
|
+
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
|
392
|
+
funcToString.call(Ctor) == objectCtorString;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Gets the value at `key`, unless `key` is "__proto__" or "constructor".
|
|
397
|
+
*
|
|
398
|
+
* @private
|
|
399
|
+
* @param {Object} object The object to query.
|
|
400
|
+
* @param {string} key The key of the property to get.
|
|
401
|
+
* @returns {*} Returns the property value.
|
|
402
|
+
*/
|
|
403
|
+
function safeGet(object, key) {
|
|
404
|
+
if (key === 'constructor' && typeof object[key] === 'function') {
|
|
405
|
+
return;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
if (key == '__proto__') {
|
|
409
|
+
return;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
return object[key];
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Converts `value` to a plain object flattening inherited enumerable string
|
|
417
|
+
* keyed properties of `value` to own properties of the plain object.
|
|
418
|
+
*
|
|
419
|
+
* @static
|
|
420
|
+
* @memberOf _
|
|
421
|
+
* @since 3.0.0
|
|
422
|
+
* @category Lang
|
|
423
|
+
* @param {*} value The value to convert.
|
|
424
|
+
* @returns {Object} Returns the converted plain object.
|
|
425
|
+
* @example
|
|
426
|
+
*
|
|
427
|
+
* function Foo() {
|
|
428
|
+
* this.b = 2;
|
|
429
|
+
* }
|
|
430
|
+
*
|
|
431
|
+
* Foo.prototype.c = 3;
|
|
432
|
+
*
|
|
433
|
+
* _.assign({ 'a': 1 }, new Foo);
|
|
434
|
+
* // => { 'a': 1, 'b': 2 }
|
|
435
|
+
*
|
|
436
|
+
* _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
|
|
437
|
+
* // => { 'a': 1, 'b': 2, 'c': 3 }
|
|
438
|
+
*/
|
|
439
|
+
function toPlainObject(value) {
|
|
440
|
+
return keysIn.copyObject(value, keysIn.keysIn(value));
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* A specialized version of `baseMerge` for arrays and objects which performs
|
|
445
|
+
* deep merges and tracks traversed objects enabling objects with circular
|
|
446
|
+
* references to be merged.
|
|
447
|
+
*
|
|
448
|
+
* @private
|
|
449
|
+
* @param {Object} object The destination object.
|
|
450
|
+
* @param {Object} source The source object.
|
|
451
|
+
* @param {string} key The key of the value to merge.
|
|
452
|
+
* @param {number} srcIndex The index of `source`.
|
|
453
|
+
* @param {Function} mergeFunc The function to merge values.
|
|
454
|
+
* @param {Function} [customizer] The function to customize assigned values.
|
|
455
|
+
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
456
|
+
* counterparts.
|
|
457
|
+
*/
|
|
458
|
+
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
459
|
+
var objValue = safeGet(object, key),
|
|
460
|
+
srcValue = safeGet(source, key),
|
|
461
|
+
stacked = stack.get(srcValue);
|
|
462
|
+
|
|
463
|
+
if (stacked) {
|
|
464
|
+
assignMergeValue(object, key, stacked);
|
|
465
|
+
return;
|
|
466
|
+
}
|
|
467
|
+
var newValue = customizer
|
|
468
|
+
? customizer(objValue, srcValue, (key + ''), object, source, stack)
|
|
469
|
+
: undefined;
|
|
470
|
+
|
|
471
|
+
var isCommon = newValue === undefined;
|
|
472
|
+
|
|
473
|
+
if (isCommon) {
|
|
474
|
+
var isArr = keysIn.isArray(srcValue),
|
|
475
|
+
isBuff = !isArr && keysIn.isBuffer(srcValue),
|
|
476
|
+
isTyped = !isArr && !isBuff && keysIn.isTypedArray(srcValue);
|
|
477
|
+
|
|
478
|
+
newValue = srcValue;
|
|
479
|
+
if (isArr || isBuff || isTyped) {
|
|
480
|
+
if (keysIn.isArray(objValue)) {
|
|
481
|
+
newValue = objValue;
|
|
482
|
+
}
|
|
483
|
+
else if (isArrayLikeObject(objValue)) {
|
|
484
|
+
newValue = keysIn.copyArray(objValue);
|
|
485
|
+
}
|
|
486
|
+
else if (isBuff) {
|
|
487
|
+
isCommon = false;
|
|
488
|
+
newValue = keysIn.cloneBuffer(srcValue, true);
|
|
489
|
+
}
|
|
490
|
+
else if (isTyped) {
|
|
491
|
+
isCommon = false;
|
|
492
|
+
newValue = keysIn.cloneTypedArray(srcValue, true);
|
|
493
|
+
}
|
|
494
|
+
else {
|
|
495
|
+
newValue = [];
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
else if (isPlainObject(srcValue) || keysIn.isArguments(srcValue)) {
|
|
499
|
+
newValue = objValue;
|
|
500
|
+
if (keysIn.isArguments(objValue)) {
|
|
501
|
+
newValue = toPlainObject(objValue);
|
|
502
|
+
}
|
|
503
|
+
else if (!isObjectLike.isObject(objValue) || keysIn.isFunction(objValue)) {
|
|
504
|
+
newValue = keysIn.initCloneObject(srcValue);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
isCommon = false;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
if (isCommon) {
|
|
512
|
+
// Recursively merge objects and arrays (susceptible to call stack limits).
|
|
513
|
+
stack.set(srcValue, newValue);
|
|
514
|
+
mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
|
|
515
|
+
stack['delete'](srcValue);
|
|
516
|
+
}
|
|
517
|
+
assignMergeValue(object, key, newValue);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* The base implementation of `_.merge` without support for multiple sources.
|
|
522
|
+
*
|
|
523
|
+
* @private
|
|
524
|
+
* @param {Object} object The destination object.
|
|
525
|
+
* @param {Object} source The source object.
|
|
526
|
+
* @param {number} srcIndex The index of `source`.
|
|
527
|
+
* @param {Function} [customizer] The function to customize merged values.
|
|
528
|
+
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
529
|
+
* counterparts.
|
|
530
|
+
*/
|
|
531
|
+
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
532
|
+
if (object === source) {
|
|
533
|
+
return;
|
|
534
|
+
}
|
|
535
|
+
baseFor$1(source, function(srcValue, key) {
|
|
536
|
+
stack || (stack = new keysIn.Stack);
|
|
537
|
+
if (isObjectLike.isObject(srcValue)) {
|
|
538
|
+
baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
|
|
539
|
+
}
|
|
540
|
+
else {
|
|
541
|
+
var newValue = customizer
|
|
542
|
+
? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)
|
|
543
|
+
: undefined;
|
|
544
|
+
|
|
545
|
+
if (newValue === undefined) {
|
|
546
|
+
newValue = srcValue;
|
|
547
|
+
}
|
|
548
|
+
assignMergeValue(object, key, newValue);
|
|
549
|
+
}
|
|
550
|
+
}, keysIn.keysIn);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* This method returns the first argument it receives.
|
|
555
|
+
*
|
|
556
|
+
* @static
|
|
557
|
+
* @since 0.1.0
|
|
558
|
+
* @memberOf _
|
|
559
|
+
* @category Util
|
|
560
|
+
* @param {*} value Any value.
|
|
561
|
+
* @returns {*} Returns `value`.
|
|
562
|
+
* @example
|
|
563
|
+
*
|
|
564
|
+
* var object = { 'a': 1 };
|
|
565
|
+
*
|
|
566
|
+
* console.log(_.identity(object) === object);
|
|
567
|
+
* // => true
|
|
568
|
+
*/
|
|
569
|
+
function identity(value) {
|
|
570
|
+
return value;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
575
|
+
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
576
|
+
*
|
|
577
|
+
* @private
|
|
578
|
+
* @param {Function} func The function to invoke.
|
|
579
|
+
* @param {*} thisArg The `this` binding of `func`.
|
|
580
|
+
* @param {Array} args The arguments to invoke `func` with.
|
|
581
|
+
* @returns {*} Returns the result of `func`.
|
|
582
|
+
*/
|
|
583
|
+
function apply(func, thisArg, args) {
|
|
584
|
+
switch (args.length) {
|
|
585
|
+
case 0: return func.call(thisArg);
|
|
586
|
+
case 1: return func.call(thisArg, args[0]);
|
|
587
|
+
case 2: return func.call(thisArg, args[0], args[1]);
|
|
588
|
+
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
|
589
|
+
}
|
|
590
|
+
return func.apply(thisArg, args);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
594
|
+
var nativeMax = Math.max;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* A specialized version of `baseRest` which transforms the rest array.
|
|
598
|
+
*
|
|
599
|
+
* @private
|
|
600
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
601
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
602
|
+
* @param {Function} transform The rest array transform.
|
|
603
|
+
* @returns {Function} Returns the new function.
|
|
604
|
+
*/
|
|
605
|
+
function overRest(func, start, transform) {
|
|
606
|
+
start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
|
|
607
|
+
return function() {
|
|
608
|
+
var args = arguments,
|
|
609
|
+
index = -1,
|
|
610
|
+
length = nativeMax(args.length - start, 0),
|
|
611
|
+
array = Array(length);
|
|
612
|
+
|
|
613
|
+
while (++index < length) {
|
|
614
|
+
array[index] = args[start + index];
|
|
615
|
+
}
|
|
616
|
+
index = -1;
|
|
617
|
+
var otherArgs = Array(start + 1);
|
|
618
|
+
while (++index < start) {
|
|
619
|
+
otherArgs[index] = args[index];
|
|
620
|
+
}
|
|
621
|
+
otherArgs[start] = transform(array);
|
|
622
|
+
return apply(func, this, otherArgs);
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Creates a function that returns `value`.
|
|
628
|
+
*
|
|
629
|
+
* @static
|
|
630
|
+
* @memberOf _
|
|
631
|
+
* @since 2.4.0
|
|
632
|
+
* @category Util
|
|
633
|
+
* @param {*} value The value to return from the new function.
|
|
634
|
+
* @returns {Function} Returns the new constant function.
|
|
635
|
+
* @example
|
|
636
|
+
*
|
|
637
|
+
* var objects = _.times(2, _.constant({ 'a': 1 }));
|
|
638
|
+
*
|
|
639
|
+
* console.log(objects);
|
|
640
|
+
* // => [{ 'a': 1 }, { 'a': 1 }]
|
|
641
|
+
*
|
|
642
|
+
* console.log(objects[0] === objects[1]);
|
|
643
|
+
* // => true
|
|
644
|
+
*/
|
|
645
|
+
function constant(value) {
|
|
646
|
+
return function() {
|
|
647
|
+
return value;
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* The base implementation of `setToString` without support for hot loop shorting.
|
|
653
|
+
*
|
|
654
|
+
* @private
|
|
655
|
+
* @param {Function} func The function to modify.
|
|
656
|
+
* @param {Function} string The `toString` result.
|
|
657
|
+
* @returns {Function} Returns `func`.
|
|
658
|
+
*/
|
|
659
|
+
var baseSetToString = !keysIn.defineProperty ? identity : function(func, string) {
|
|
660
|
+
return keysIn.defineProperty(func, 'toString', {
|
|
661
|
+
'configurable': true,
|
|
662
|
+
'enumerable': false,
|
|
663
|
+
'value': constant(string),
|
|
664
|
+
'writable': true
|
|
665
|
+
});
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
const baseSetToString$1 = baseSetToString;
|
|
669
|
+
|
|
670
|
+
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
671
|
+
var HOT_COUNT = 800,
|
|
672
|
+
HOT_SPAN = 16;
|
|
673
|
+
|
|
674
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
675
|
+
var nativeNow = Date.now;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Creates a function that'll short out and invoke `identity` instead
|
|
679
|
+
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
|
|
680
|
+
* milliseconds.
|
|
681
|
+
*
|
|
682
|
+
* @private
|
|
683
|
+
* @param {Function} func The function to restrict.
|
|
684
|
+
* @returns {Function} Returns the new shortable function.
|
|
685
|
+
*/
|
|
686
|
+
function shortOut(func) {
|
|
687
|
+
var count = 0,
|
|
688
|
+
lastCalled = 0;
|
|
689
|
+
|
|
690
|
+
return function() {
|
|
691
|
+
var stamp = nativeNow(),
|
|
692
|
+
remaining = HOT_SPAN - (stamp - lastCalled);
|
|
693
|
+
|
|
694
|
+
lastCalled = stamp;
|
|
695
|
+
if (remaining > 0) {
|
|
696
|
+
if (++count >= HOT_COUNT) {
|
|
697
|
+
return arguments[0];
|
|
698
|
+
}
|
|
699
|
+
} else {
|
|
700
|
+
count = 0;
|
|
701
|
+
}
|
|
702
|
+
return func.apply(undefined, arguments);
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Sets the `toString` method of `func` to return `string`.
|
|
708
|
+
*
|
|
709
|
+
* @private
|
|
710
|
+
* @param {Function} func The function to modify.
|
|
711
|
+
* @param {Function} string The `toString` result.
|
|
712
|
+
* @returns {Function} Returns `func`.
|
|
713
|
+
*/
|
|
714
|
+
var setToString = shortOut(baseSetToString$1);
|
|
715
|
+
|
|
716
|
+
const setToString$1 = setToString;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
|
720
|
+
*
|
|
721
|
+
* @private
|
|
722
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
723
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
724
|
+
* @returns {Function} Returns the new function.
|
|
725
|
+
*/
|
|
726
|
+
function baseRest(func, start) {
|
|
727
|
+
return setToString$1(overRest(func, start, identity), func + '');
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Checks if the given arguments are from an iteratee call.
|
|
732
|
+
*
|
|
733
|
+
* @private
|
|
734
|
+
* @param {*} value The potential iteratee value argument.
|
|
735
|
+
* @param {*} index The potential iteratee index or key argument.
|
|
736
|
+
* @param {*} object The potential iteratee object argument.
|
|
737
|
+
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
738
|
+
* else `false`.
|
|
739
|
+
*/
|
|
740
|
+
function isIterateeCall(value, index, object) {
|
|
741
|
+
if (!isObjectLike.isObject(object)) {
|
|
742
|
+
return false;
|
|
743
|
+
}
|
|
744
|
+
var type = typeof index;
|
|
745
|
+
if (type == 'number'
|
|
746
|
+
? (keysIn.isArrayLike(object) && keysIn.isIndex(index, object.length))
|
|
747
|
+
: (type == 'string' && index in object)
|
|
748
|
+
) {
|
|
749
|
+
return keysIn.eq(object[index], value);
|
|
750
|
+
}
|
|
751
|
+
return false;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Creates a function like `_.assign`.
|
|
756
|
+
*
|
|
757
|
+
* @private
|
|
758
|
+
* @param {Function} assigner The function to assign values.
|
|
759
|
+
* @returns {Function} Returns the new assigner function.
|
|
760
|
+
*/
|
|
761
|
+
function createAssigner(assigner) {
|
|
762
|
+
return baseRest(function(object, sources) {
|
|
763
|
+
var index = -1,
|
|
764
|
+
length = sources.length,
|
|
765
|
+
customizer = length > 1 ? sources[length - 1] : undefined,
|
|
766
|
+
guard = length > 2 ? sources[2] : undefined;
|
|
767
|
+
|
|
768
|
+
customizer = (assigner.length > 3 && typeof customizer == 'function')
|
|
769
|
+
? (length--, customizer)
|
|
770
|
+
: undefined;
|
|
771
|
+
|
|
772
|
+
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
773
|
+
customizer = length < 3 ? undefined : customizer;
|
|
774
|
+
length = 1;
|
|
775
|
+
}
|
|
776
|
+
object = Object(object);
|
|
777
|
+
while (++index < length) {
|
|
778
|
+
var source = sources[index];
|
|
779
|
+
if (source) {
|
|
780
|
+
assigner(object, source, index, customizer);
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
return object;
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* This method is like `_.assign` except that it recursively merges own and
|
|
789
|
+
* inherited enumerable string keyed properties of source objects into the
|
|
790
|
+
* destination object. Source properties that resolve to `undefined` are
|
|
791
|
+
* skipped if a destination value exists. Array and plain object properties
|
|
792
|
+
* are merged recursively. Other objects and value types are overridden by
|
|
793
|
+
* assignment. Source objects are applied from left to right. Subsequent
|
|
794
|
+
* sources overwrite property assignments of previous sources.
|
|
795
|
+
*
|
|
796
|
+
* **Note:** This method mutates `object`.
|
|
797
|
+
*
|
|
798
|
+
* @static
|
|
799
|
+
* @memberOf _
|
|
800
|
+
* @since 0.5.0
|
|
801
|
+
* @category Object
|
|
802
|
+
* @param {Object} object The destination object.
|
|
803
|
+
* @param {...Object} [sources] The source objects.
|
|
804
|
+
* @returns {Object} Returns `object`.
|
|
805
|
+
* @example
|
|
806
|
+
*
|
|
807
|
+
* var object = {
|
|
808
|
+
* 'a': [{ 'b': 2 }, { 'd': 4 }]
|
|
809
|
+
* };
|
|
810
|
+
*
|
|
811
|
+
* var other = {
|
|
812
|
+
* 'a': [{ 'c': 3 }, { 'e': 5 }]
|
|
813
|
+
* };
|
|
814
|
+
*
|
|
815
|
+
* _.merge(object, other);
|
|
816
|
+
* // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
|
|
817
|
+
*/
|
|
818
|
+
var merge = createAssigner(function(object, source, srcIndex) {
|
|
819
|
+
baseMerge(object, source, srcIndex);
|
|
820
|
+
});
|
|
821
|
+
|
|
822
|
+
const deepMerge = merge;
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Extend the default UI Config with your own
|
|
826
|
+
* @param config Your extended UI Config
|
|
827
|
+
* @returns New extended UI Config object
|
|
828
|
+
*/
|
|
829
|
+
const extendConfig = (config, baseConfig = uiStore.defaultConfig) => {
|
|
830
|
+
let newConfig = Object.assign({}, baseConfig);
|
|
831
|
+
deepMerge(newConfig, config);
|
|
832
|
+
return newConfig;
|
|
833
|
+
};
|
|
834
|
+
/**
|
|
835
|
+
* Generates a config with older theme value.
|
|
836
|
+
* @param oldConfig Theme object
|
|
837
|
+
* @param toExtend UI Config object to extend the generated config
|
|
838
|
+
* @param options Options for toggling components
|
|
839
|
+
* @returns
|
|
840
|
+
*/
|
|
841
|
+
const generateConfig = (oldConfig, meeting, toExtend = {}, options = { grid_pagination: true, settings_toggle: true }) => {
|
|
842
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
843
|
+
const data = { showSetupScreen: true };
|
|
844
|
+
let logo;
|
|
845
|
+
let meetingElements = ['rtk-stage'];
|
|
846
|
+
let headerChildren = {}, controlBarChildren = {};
|
|
847
|
+
const showSettingsToggle = (options === null || options === void 0 ? void 0 : options.settings_toggle) !== false;
|
|
848
|
+
const showGridPagination = (options === null || options === void 0 ? void 0 : options.grid_pagination) !== false;
|
|
849
|
+
if ((_a = oldConfig.controlBar) === null || _a === void 0 ? void 0 : _a.isEnabled) {
|
|
850
|
+
meetingElements.push('rtk-controlbar');
|
|
851
|
+
const { elements } = oldConfig.controlBar;
|
|
852
|
+
const leftElements = [
|
|
853
|
+
...(elements.fullscreen ? ['rtk-fullscreen-toggle'] : []),
|
|
854
|
+
...(showSettingsToggle ? ['rtk-settings-toggle'] : []),
|
|
855
|
+
];
|
|
856
|
+
const rightElements = [];
|
|
857
|
+
const moreElements = [];
|
|
858
|
+
if (((_b = meeting.participants.pip) === null || _b === void 0 ? void 0 : _b.isSupported()) &&
|
|
859
|
+
((_d = (_c = meeting.self) === null || _c === void 0 ? void 0 : _c.config) === null || _d === void 0 ? void 0 : _d.pipMode) &&
|
|
860
|
+
((_e = meeting.self.config) === null || _e === void 0 ? void 0 : _e.viewType) !== 'LIVESTREAM') {
|
|
861
|
+
moreElements.push('rtk-pip-toggle');
|
|
862
|
+
}
|
|
863
|
+
if (meeting === null || meeting === void 0 ? void 0 : meeting.self.permissions.canDisableParticipantAudio) {
|
|
864
|
+
moreElements.push('rtk-mute-all-button');
|
|
865
|
+
}
|
|
866
|
+
moreElements.push('rtk-breakout-rooms-toggle');
|
|
867
|
+
if ((_f = meeting.self) === null || _f === void 0 ? void 0 : _f.permissions.canRecord) {
|
|
868
|
+
moreElements.push('rtk-recording-toggle');
|
|
869
|
+
}
|
|
870
|
+
if ((_g = meeting.self.permissions.transcriptionEnabled) !== null && _g !== void 0 ? _g : false) {
|
|
871
|
+
moreElements.push('rtk-caption-toggle');
|
|
872
|
+
}
|
|
873
|
+
if (navigator.product !== 'ReactNative')
|
|
874
|
+
moreElements.push('rtk-debugger-toggle');
|
|
875
|
+
if (uiStore.isLiveStreamHost(meeting)) {
|
|
876
|
+
leftElements.push('rtk-livestream-toggle');
|
|
877
|
+
}
|
|
878
|
+
if (elements.screenshare) {
|
|
879
|
+
leftElements.push('rtk-screen-share-toggle');
|
|
880
|
+
}
|
|
881
|
+
if (elements.chat) {
|
|
882
|
+
rightElements.push('rtk-chat-toggle');
|
|
883
|
+
}
|
|
884
|
+
if (elements.polls) {
|
|
885
|
+
rightElements.push('rtk-polls-toggle');
|
|
886
|
+
}
|
|
887
|
+
if (elements.participants) {
|
|
888
|
+
rightElements.push('rtk-participants-toggle');
|
|
889
|
+
}
|
|
890
|
+
if (elements.plugins) {
|
|
891
|
+
rightElements.push('rtk-plugins-toggle');
|
|
892
|
+
}
|
|
893
|
+
rightElements.push('rtk-ai-toggle');
|
|
894
|
+
// NOTE(ishita1805): No condition as permission check happens within component
|
|
895
|
+
const centerElements = [
|
|
896
|
+
'rtk-mic-toggle',
|
|
897
|
+
'rtk-camera-toggle',
|
|
898
|
+
'rtk-stage-toggle',
|
|
899
|
+
'rtk-leave-button',
|
|
900
|
+
];
|
|
901
|
+
if (moreElements.length > 0)
|
|
902
|
+
centerElements.push('rtk-more-toggle');
|
|
903
|
+
const allSideElements = leftElements.concat(rightElements).concat(moreElements);
|
|
904
|
+
let hasMobileDrawer = false;
|
|
905
|
+
if (allSideElements.length > 0) {
|
|
906
|
+
hasMobileDrawer = true;
|
|
907
|
+
}
|
|
908
|
+
controlBarChildren = {
|
|
909
|
+
'rtk-controlbar': {
|
|
910
|
+
states: ['activeMoreMenu'],
|
|
911
|
+
children: ['div#controlbar-left', 'div#controlbar-center', 'div#controlbar-right'],
|
|
912
|
+
},
|
|
913
|
+
'div#controlbar-left': leftElements,
|
|
914
|
+
'div#controlbar-center': centerElements,
|
|
915
|
+
'div#controlbar-right': rightElements,
|
|
916
|
+
'rtk-more-toggle': {
|
|
917
|
+
states: ['activeMoreMenu'],
|
|
918
|
+
children: [],
|
|
919
|
+
},
|
|
920
|
+
'rtk-more-toggle.activeMoreMenu': moreElements.map((el) => [
|
|
921
|
+
el,
|
|
922
|
+
{ variant: 'horizontal', slot: 'more-elements' },
|
|
923
|
+
]),
|
|
924
|
+
'rtk-controlbar.sm': ['div#controlbar-mobile'],
|
|
925
|
+
'rtk-controlbar.md': ['div#controlbar-mobile'],
|
|
926
|
+
'rtk-more-toggle.activeMoreMenu.md': allSideElements.map((el) => [
|
|
927
|
+
el,
|
|
928
|
+
{ variant: 'horizontal', slot: 'more-elements' },
|
|
929
|
+
]),
|
|
930
|
+
'rtk-more-toggle.activeMoreMenu.sm': allSideElements.map((el) => [
|
|
931
|
+
el,
|
|
932
|
+
{ variant: 'horizontal', slot: 'more-elements' },
|
|
933
|
+
]),
|
|
934
|
+
'div#controlbar-mobile': [
|
|
935
|
+
'rtk-mic-toggle',
|
|
936
|
+
'rtk-camera-toggle',
|
|
937
|
+
'rtk-stage-toggle',
|
|
938
|
+
...[hasMobileDrawer && 'rtk-more-toggle'],
|
|
939
|
+
'rtk-leave-button',
|
|
940
|
+
],
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
if ((_h = oldConfig.header) === null || _h === void 0 ? void 0 : _h.isEnabled) {
|
|
944
|
+
meetingElements.unshift('rtk-header');
|
|
945
|
+
const { elements } = oldConfig.header;
|
|
946
|
+
let leftElements = ['rtk-recording-indicator', 'rtk-livestream-indicator'], centerElements = [], rightElements = [];
|
|
947
|
+
if (showGridPagination) {
|
|
948
|
+
rightElements.push('rtk-grid-pagination');
|
|
949
|
+
}
|
|
950
|
+
if (elements.title) {
|
|
951
|
+
centerElements.push('rtk-meeting-title');
|
|
952
|
+
}
|
|
953
|
+
if (typeof elements.logo === 'string' && elements.logo.length > 0) {
|
|
954
|
+
logo = elements.logo;
|
|
955
|
+
leftElements.unshift('rtk-logo');
|
|
956
|
+
}
|
|
957
|
+
if (elements.participantCount) {
|
|
958
|
+
rightElements.push('rtk-participant-count', 'rtk-viewer-count');
|
|
959
|
+
}
|
|
960
|
+
if (elements.timer) {
|
|
961
|
+
rightElements.push('rtk-clock');
|
|
962
|
+
}
|
|
963
|
+
headerChildren = {
|
|
964
|
+
'rtk-header': ['div#header-left', 'div#header-center', 'div#header-right'],
|
|
965
|
+
'rtk-header.sm': { remove: ['div#header-center'] },
|
|
966
|
+
'div#header-left': leftElements,
|
|
967
|
+
'div#header-center': centerElements,
|
|
968
|
+
'div#header-right': rightElements,
|
|
969
|
+
'div#header-left.sm': {
|
|
970
|
+
remove: ['rtk-logo'],
|
|
971
|
+
prepend: ['rtk-meeting-title'],
|
|
972
|
+
},
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
meetingElements.push('rtk-participants-audio', 'rtk-dialog-manager');
|
|
976
|
+
let designTokens = {
|
|
977
|
+
logo,
|
|
978
|
+
};
|
|
979
|
+
designTokens = oldConfig.designTokens;
|
|
980
|
+
if (isValidHexColor((_k = (_j = oldConfig === null || oldConfig === void 0 ? void 0 : oldConfig.designTokens) === null || _j === void 0 ? void 0 : _j.colors) === null || _k === void 0 ? void 0 : _k.textOnBrand)) {
|
|
981
|
+
designTokens.colors['text-on-brand'] = (_m = (_l = oldConfig === null || oldConfig === void 0 ? void 0 : oldConfig.designTokens) === null || _l === void 0 ? void 0 : _l.colors) === null || _m === void 0 ? void 0 : _m.textOnBrand;
|
|
982
|
+
}
|
|
983
|
+
if (isValidHexColor((_p = (_o = oldConfig === null || oldConfig === void 0 ? void 0 : oldConfig.designTokens) === null || _o === void 0 ? void 0 : _o.colors) === null || _p === void 0 ? void 0 : _p.videoBg)) {
|
|
984
|
+
designTokens.colors['video-bg'] = (_r = (_q = oldConfig === null || oldConfig === void 0 ? void 0 : oldConfig.designTokens) === null || _q === void 0 ? void 0 : _q.colors) === null || _r === void 0 ? void 0 : _r.videoBg;
|
|
985
|
+
}
|
|
986
|
+
let config = {
|
|
987
|
+
designTokens,
|
|
988
|
+
styles: {
|
|
989
|
+
'rtk-header': {
|
|
990
|
+
display: 'grid',
|
|
991
|
+
height: '48px',
|
|
992
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
993
|
+
gridTemplateRows: '1fr',
|
|
994
|
+
alignItems: 'center',
|
|
995
|
+
},
|
|
996
|
+
'rtk-header.sm': {
|
|
997
|
+
display: 'grid',
|
|
998
|
+
gridArea: 'header',
|
|
999
|
+
gridTemplateColumns: 'repeat(2, 1fr)',
|
|
1000
|
+
gridTemplateRows: '1fr',
|
|
1001
|
+
alignItems: 'center',
|
|
1002
|
+
},
|
|
1003
|
+
'div#header-left': {
|
|
1004
|
+
display: 'flex',
|
|
1005
|
+
alignItems: 'center',
|
|
1006
|
+
height: '48px',
|
|
1007
|
+
wordBreak: 'break-all',
|
|
1008
|
+
},
|
|
1009
|
+
'rtk-logo': {
|
|
1010
|
+
height: '26px',
|
|
1011
|
+
},
|
|
1012
|
+
'div#header-center': {
|
|
1013
|
+
display: 'flex',
|
|
1014
|
+
alignItems: 'center',
|
|
1015
|
+
justifyContent: 'center',
|
|
1016
|
+
wordBreak: 'break-all',
|
|
1017
|
+
},
|
|
1018
|
+
'div#header-right': {
|
|
1019
|
+
display: 'flex',
|
|
1020
|
+
alignItems: 'center',
|
|
1021
|
+
justifyContent: 'flex-end',
|
|
1022
|
+
},
|
|
1023
|
+
'rtk-stage': {
|
|
1024
|
+
display: 'flex',
|
|
1025
|
+
flex: '1',
|
|
1026
|
+
},
|
|
1027
|
+
'rtk-grid': {
|
|
1028
|
+
flex: '1',
|
|
1029
|
+
height: 'auto',
|
|
1030
|
+
},
|
|
1031
|
+
'rtk-controlbar': {
|
|
1032
|
+
display: 'grid',
|
|
1033
|
+
gridTemplateColumns: 'repeat(3,1fr)',
|
|
1034
|
+
gridTemplateRows: '1fr',
|
|
1035
|
+
alignItems: 'center',
|
|
1036
|
+
padding: '8px',
|
|
1037
|
+
},
|
|
1038
|
+
'rtk-controlbar.sm': {
|
|
1039
|
+
display: 'flex',
|
|
1040
|
+
position: 'relative',
|
|
1041
|
+
backgroundColor: 'var(--rtk-colors-background-1000, #000)',
|
|
1042
|
+
},
|
|
1043
|
+
'rtk-controlbar.md': {
|
|
1044
|
+
display: 'flex',
|
|
1045
|
+
position: 'relative',
|
|
1046
|
+
backgroundColor: 'var(--rtk-colors-background-1000, #000)',
|
|
1047
|
+
},
|
|
1048
|
+
'div#controlbar-left': {
|
|
1049
|
+
display: 'flex',
|
|
1050
|
+
alignItems: 'center',
|
|
1051
|
+
gap: 'var(--rtk-space-1, 4px)',
|
|
1052
|
+
},
|
|
1053
|
+
'div#controlbar-center': {
|
|
1054
|
+
display: 'flex',
|
|
1055
|
+
alignItems: 'center',
|
|
1056
|
+
position: 'relative',
|
|
1057
|
+
overflow: 'visible',
|
|
1058
|
+
justifyContent: 'center',
|
|
1059
|
+
gap: 'var(--rtk-space-1, 4px)',
|
|
1060
|
+
},
|
|
1061
|
+
'div#controlbar-mobile': {
|
|
1062
|
+
display: 'flex',
|
|
1063
|
+
flex: '1',
|
|
1064
|
+
alignItems: 'center',
|
|
1065
|
+
justifyContent: 'center',
|
|
1066
|
+
zIndex: '10000',
|
|
1067
|
+
gap: 'var(--rtk-space-1, 4px)',
|
|
1068
|
+
},
|
|
1069
|
+
'div#controlbar-right': {
|
|
1070
|
+
display: 'flex',
|
|
1071
|
+
alignItems: 'center',
|
|
1072
|
+
justifyContent: 'flex-end',
|
|
1073
|
+
gap: 'var(--rtk-space-1, 4px)',
|
|
1074
|
+
},
|
|
1075
|
+
'rtk-settings': {
|
|
1076
|
+
width: '720px',
|
|
1077
|
+
height: '480px',
|
|
1078
|
+
},
|
|
1079
|
+
'rtk-debugger': {
|
|
1080
|
+
width: '720px',
|
|
1081
|
+
height: '480px',
|
|
1082
|
+
},
|
|
1083
|
+
'div#setupcontrols-indicator': {
|
|
1084
|
+
position: 'absolute',
|
|
1085
|
+
bottom: '12px',
|
|
1086
|
+
left: '12px',
|
|
1087
|
+
display: 'flex',
|
|
1088
|
+
gap: '6px',
|
|
1089
|
+
background: 'rgb(var(--rtk-colors-background-800, 0 0 0))',
|
|
1090
|
+
borderRadius: '100%',
|
|
1091
|
+
},
|
|
1092
|
+
'div#setupcontrols-media': {
|
|
1093
|
+
position: 'absolute',
|
|
1094
|
+
bottom: '8px',
|
|
1095
|
+
right: '8px',
|
|
1096
|
+
display: 'flex',
|
|
1097
|
+
gap: '6px',
|
|
1098
|
+
},
|
|
1099
|
+
'div#setupcontrols-settings': {
|
|
1100
|
+
position: 'absolute',
|
|
1101
|
+
top: '8px',
|
|
1102
|
+
right: '8px',
|
|
1103
|
+
display: 'flex',
|
|
1104
|
+
flexDirection: 'column',
|
|
1105
|
+
gap: '6px',
|
|
1106
|
+
},
|
|
1107
|
+
'rtk-meeting-title.sm': {
|
|
1108
|
+
marginLeft: '0',
|
|
1109
|
+
},
|
|
1110
|
+
'rtk-clock': {
|
|
1111
|
+
marginRight: '0',
|
|
1112
|
+
},
|
|
1113
|
+
},
|
|
1114
|
+
root: Object.assign(Object.assign(Object.assign({ 'rtk-meeting': {
|
|
1115
|
+
// if using key value pair, provide the key in `state`
|
|
1116
|
+
// else provide array of states in `states`
|
|
1117
|
+
state: 'meeting',
|
|
1118
|
+
states: ['activeSidebar', 'activeAI'],
|
|
1119
|
+
}, 'rtk-meeting[meeting=idle]': ['rtk-idle-screen'], 'rtk-meeting[meeting=waiting]': ['rtk-waiting-screen'], 'rtk-meeting[meeting=setup]': ['rtk-setup-screen', 'rtk-dialog-manager'], 'rtk-meeting[meeting=joined]': meetingElements, 'rtk-meeting[meeting=joined].activeSidebar.sm': {
|
|
1120
|
+
add: [['rtk-sidebar', { view: 'full-screen' }]],
|
|
1121
|
+
}, 'rtk-meeting[meeting=joined].activeSidebar.md': {
|
|
1122
|
+
add: [['rtk-sidebar', { view: 'full-screen' }]],
|
|
1123
|
+
}, 'rtk-meeting[meeting=joined].activeAI.sm': {
|
|
1124
|
+
add: [['rtk-ai', { view: 'full-screen' }]],
|
|
1125
|
+
}, 'rtk-meeting[meeting=joined].activeAI.md': {
|
|
1126
|
+
add: [['rtk-ai', { view: 'full-screen' }]],
|
|
1127
|
+
}, 'rtk-meeting[meeting=ended]': ['rtk-ended-screen'] }, headerChildren), controlBarChildren), { 'rtk-stage': {
|
|
1128
|
+
states: ['activeSidebar', 'activeAI'],
|
|
1129
|
+
children: ['rtk-grid', 'rtk-notifications', 'rtk-transcripts'],
|
|
1130
|
+
}, 'rtk-stage.activeSidebar': {
|
|
1131
|
+
add: [['rtk-sidebar', { view: 'sidebar' }]],
|
|
1132
|
+
},
|
|
1133
|
+
// hide sidebar for smaller screens
|
|
1134
|
+
'rtk-stage.activeSidebar.sm': { remove: ['rtk-sidebar'] }, 'rtk-stage.activeAI': {
|
|
1135
|
+
add: [['rtk-ai', { view: 'sidebar' }]],
|
|
1136
|
+
},
|
|
1137
|
+
// hide sidebar for smaller screens
|
|
1138
|
+
'rtk-stage.activeAI.sm': { remove: ['rtk-ai'] }, 'rtk-grid': {
|
|
1139
|
+
states: ['activeScreenShare', 'activePlugin', 'activeSpotlight'],
|
|
1140
|
+
state: 'viewType',
|
|
1141
|
+
children: ['rtk-simple-grid'],
|
|
1142
|
+
}, 'rtk-grid[viewType=AUDIO_ROOM]': ['rtk-audio-grid'], 'rtk-grid[viewType=AUDIO_ROOM].activePlugin': ['rtk-mixed-grid'], 'rtk-grid[viewType=AUDIO_ROOM].activeScreenshare': ['rtk-mixed-grid'], 'rtk-grid[viewType=AUDIO_ROOM].activeScreenShare.activeSpotlight': ['rtk-mixed-grid'], 'rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeSpotlight': ['rtk-mixed-grid'], 'rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeScreenShare.activeSpotlight': [
|
|
1143
|
+
'rtk-mixed-grid',
|
|
1144
|
+
], 'rtk-grid.activeSpotlight': ['rtk-spotlight-grid'], 'rtk-grid.activeScreenShare': ['rtk-mixed-grid'], 'rtk-grid.activePlugin': ['rtk-mixed-grid'], 'rtk-grid.activeScreenShare.activeSpotlight': ['rtk-mixed-grid'], 'rtk-grid.activePlugin.activeSpotlight': ['rtk-mixed-grid'], 'rtk-grid.activePlugin.activeScreenShare.activeSpotlight': ['rtk-mixed-grid'], 'rtk-mixed-grid': {
|
|
1145
|
+
states: ['activeSpotlight'],
|
|
1146
|
+
state: 'viewType',
|
|
1147
|
+
children: ['rtk-simple-grid'],
|
|
1148
|
+
}, 'rtk-mixed-grid[viewType=AUDIO_ROOM]': ['rtk-audio-grid'], 'rtk-mixed-grid.activeSpotlight': ['rtk-spotlight-grid'], 'rtk-participant-tile': {
|
|
1149
|
+
state: 'meeting',
|
|
1150
|
+
children: ['rtk-name-tag', 'rtk-avatar', 'rtk-network-indicator'],
|
|
1151
|
+
}, 'rtk-participant-setup': ['rtk-avatar', 'div#setupcontrols-media'], 'rtk-participant-tile[meeting=setup]': [
|
|
1152
|
+
'rtk-avatar',
|
|
1153
|
+
'div#setupcontrols-indicator',
|
|
1154
|
+
'div#setupcontrols-media',
|
|
1155
|
+
...(showSettingsToggle ? ['div#setupcontrols-settings'] : []),
|
|
1156
|
+
], 'div#setupcontrols-indicator': [['rtk-audio-visualizer', { slot: 'start', hideMuted: true }]], 'div#setupcontrols-media': [
|
|
1157
|
+
['rtk-mic-toggle', { size: 'sm' }],
|
|
1158
|
+
['rtk-camera-toggle', { size: 'sm' }],
|
|
1159
|
+
], 'div#setupcontrols-settings': [['rtk-settings-toggle', { size: 'sm' }]], 'rtk-screenshare-view': ['rtk-name-tag', 'rtk-network-indicator'], 'rtk-name-tag': [['rtk-audio-visualizer', { slot: 'start' }]] }),
|
|
1160
|
+
config: {
|
|
1161
|
+
notification_sounds: {
|
|
1162
|
+
participant_left: false,
|
|
1163
|
+
},
|
|
1164
|
+
participant_joined_sound_notification_limit: 3,
|
|
1165
|
+
participant_chat_message_sound_notification_limit: 10,
|
|
1166
|
+
videoFit: 'cover',
|
|
1167
|
+
},
|
|
1168
|
+
};
|
|
1169
|
+
config = extendConfig(toExtend, config);
|
|
1170
|
+
data.showSetupScreen = (_t = (_s = oldConfig.setupScreen) === null || _s === void 0 ? void 0 : _s.isEnabled) !== null && _t !== void 0 ? _t : true;
|
|
1171
|
+
return { config, data };
|
|
1172
|
+
};
|
|
1173
|
+
|
|
1174
|
+
exports.deepMerge = deepMerge;
|
|
1175
|
+
exports.extendConfig = extendConfig;
|
|
1176
|
+
exports.generateConfig = generateConfig;
|
|
1177
|
+
exports.provideRtkDesignSystem = provideRtkDesignSystem;
|