@cloudflare/realtimekit-ui 1.0.0-staging.6 → 1.0.0-staging.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{ChatHead-94cee2c7.js → ChatHead-d2f094ec.js} +1 -1
- package/dist/cjs/{TextMessage-4b80b4f5.js → TextMessage-e9ca06aa.js} +2 -2
- package/dist/cjs/{chat-7e13b43e.js → chat-46e7e4fe.js} +1 -1
- package/dist/cjs/{config-a123c409.js → config-dba24e25.js} +7 -1
- package/dist/cjs/{index-d3eba4b9.js → index-05554ce6.js} +5 -2
- package/dist/cjs/{index-333077f7.js → index-821d14b7.js} +1 -1
- package/dist/cjs/{index-2154d3c1.js → index-daae8cee.js} +2 -2
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{notification-30f14d01.js → notification-1948ed2f.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +2 -2
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -4
- package/dist/cjs/rtk-ai.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +11 -10
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +5 -5
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +13 -6
- package/dist/cjs/rtk-clock.cjs.entry.js +8 -7
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -4
- package/dist/cjs/rtk-controlbar.cjs.entry.js +4 -4
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +5 -5
- package/dist/cjs/rtk-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-header.cjs.entry.js +4 -4
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +7 -7
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +6 -6
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participant-count.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participant_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +13 -7
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +13 -6
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +13 -6
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +5 -5
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +4 -4
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +27 -5
- package/dist/cjs/rtk-sidebar.cjs.entry.js +5 -12
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcripts.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
- package/dist/cjs/{sidebar-864a0b7a.js → sidebar-a3c87828.js} +1 -1
- package/dist/cjs/{ui-store-790d3fec.js → ui-store-3ddce955.js} +7 -1
- package/dist/collection/components/rtk-button/rtk-button.js +2 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +10 -1
- package/dist/collection/components/rtk-clock/rtk-clock.css +5 -4
- package/dist/collection/components/rtk-clock/rtk-clock.js +4 -3
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -1
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +5 -9
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +5 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +5 -2
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +2 -2
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +5 -4
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +10 -2
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +10 -1
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +10 -1
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +5 -2
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +0 -7
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +47 -2
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +5 -4
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
- package/dist/collection/lib/default-ui-config.js +6 -0
- package/dist/collection/utils/config.js +6 -0
- package/dist/components/index.js +6 -6
- package/dist/components/{p-46ff9ad9.js → p-00649ab8.js} +9 -9
- package/dist/components/{p-da00b09a.js → p-00b13124.js} +15 -15
- package/dist/components/{p-f5e4f0bb.js → p-0a9d8224.js} +5 -5
- package/dist/components/{p-13ca3cc7.js → p-0c81aa9c.js} +10 -10
- package/dist/components/{p-df1632fd.js → p-0e13b6ee.js} +5 -5
- package/dist/components/{p-dca85942.js → p-0ea515b2.js} +5 -5
- package/dist/components/{p-4611af78.js → p-0eab3933.js} +6 -6
- package/dist/components/{p-ae1931dd.js → p-0f937441.js} +4 -4
- package/dist/components/{p-641ba920.js → p-10182034.js} +3 -3
- package/dist/components/{p-212ce4b8.js → p-10759cad.js} +3 -3
- package/dist/components/{p-906cb5bf.js → p-135d5d2f.js} +4 -4
- package/dist/components/{p-fd0abb3e.js → p-13bf25de.js} +7 -7
- package/dist/components/{p-746ae804.js → p-14aafb1d.js} +7 -7
- package/dist/components/{p-eb0fc611.js → p-168b17a0.js} +2 -2
- package/dist/components/{p-f9aece94.js → p-175b365f.js} +4 -4
- package/dist/components/{p-efc19d8d.js → p-1947c106.js} +4 -4
- package/dist/components/{p-cdfe8250.js → p-1bf54ab3.js} +11 -11
- package/dist/components/{p-aec1ab2d.js → p-20354866.js} +6 -6
- package/dist/components/{p-0646bdc7.js → p-24ffce5a.js} +3 -3
- package/dist/components/{p-bb4322af.js → p-260b86da.js} +7 -7
- package/dist/components/{p-51b56b52.js → p-2973e211.js} +1 -1
- package/dist/components/{p-3e2ba737.js → p-2ce92a24.js} +8 -8
- package/dist/components/{p-bed2e1b5.js → p-2f2fb96d.js} +2 -2
- package/dist/components/{p-da8491ef.js → p-2f7c0530.js} +55 -55
- package/dist/components/{p-5c0da120.js → p-31ce3b90.js} +3 -3
- package/dist/components/{p-174eea40.js → p-32d788e7.js} +4 -4
- package/dist/components/{p-971097d5.js → p-3358d7dc.js} +1 -1
- package/dist/components/{p-65bf60df.js → p-35d6211b.js} +6 -6
- package/dist/components/{p-57634012.js → p-3d845f44.js} +4 -4
- package/dist/components/{p-d978ca76.js → p-3dbc09e4.js} +5 -5
- package/dist/components/{p-63e92eda.js → p-4221b28d.js} +8 -8
- package/dist/components/{p-f22929f5.js → p-4608147b.js} +6 -6
- package/dist/components/{p-fb535f2c.js → p-46690510.js} +4 -4
- package/dist/components/{p-550aa089.js → p-4a436e2d.js} +7 -1
- package/dist/components/{p-915562c0.js → p-4ba64e96.js} +16 -16
- package/dist/components/{p-09e6eab9.js → p-4c4025de.js} +9 -9
- package/dist/components/{p-ba1a0ebf.js → p-4cc0e9a5.js} +5 -4
- package/dist/components/{p-82fbdbf4.js → p-4cedc9e8.js} +3 -3
- package/dist/components/{p-0d6af270.js → p-50ecaaf1.js} +1 -1
- package/dist/components/{p-87480646.js → p-54c8b684.js} +16 -16
- package/dist/components/{p-90bd27de.js → p-56586bc8.js} +11 -11
- package/dist/components/{p-158fc95d.js → p-594ed925.js} +6 -6
- package/dist/components/{p-1dcb723e.js → p-59ea0ce1.js} +32 -7
- package/dist/components/{p-ad50fcdc.js → p-5ffcbba3.js} +3 -3
- package/dist/components/{p-de7f1269.js → p-60fdbd75.js} +1 -1
- package/dist/components/{p-6453124f.js → p-619a7896.js} +7 -7
- package/dist/components/{p-64a6ea33.js → p-62a6b783.js} +3 -3
- package/dist/components/{p-12aa04c2.js → p-664f872d.js} +5 -5
- package/dist/components/{p-bc68e74e.js → p-66ff4a1a.js} +6 -6
- package/dist/components/{p-6fa3c2fa.js → p-7373cc7e.js} +5 -5
- package/dist/components/{p-c4482ff1.js → p-78444f97.js} +8 -8
- package/dist/components/{p-613b7d98.js → p-7d26c3e0.js} +6 -6
- package/dist/components/{p-5d2cf697.js → p-8227dcd2.js} +3 -3
- package/dist/components/{p-89bbfe71.js → p-87f1e5db.js} +8 -8
- package/dist/components/{p-baea3e90.js → p-8ca0d44f.js} +5 -5
- package/dist/components/{p-c8a6dfb8.js → p-8ca1fe4c.js} +14 -14
- package/dist/components/{p-22605d4a.js → p-8ceedb7f.js} +4 -4
- package/dist/components/{p-98ae3e41.js → p-91cb38a3.js} +4 -4
- package/dist/components/{p-1d8ecb94.js → p-935b5e0f.js} +6 -6
- package/dist/components/{p-1f633de4.js → p-965a4bd9.js} +5 -5
- package/dist/components/{p-483752a4.js → p-99b862b5.js} +7 -7
- package/dist/components/{p-a4182a97.js → p-a24309fd.js} +5 -5
- package/dist/components/{p-3b8741ca.js → p-a2f4f9e3.js} +1 -1
- package/dist/components/{p-2f01fa36.js → p-a41e1b94.js} +4 -4
- package/dist/components/{p-1ca992c5.js → p-a478e070.js} +3 -3
- package/dist/components/{p-2f0318c7.js → p-ae239151.js} +3 -3
- package/dist/components/{p-9217dbe9.js → p-b12e5011.js} +6 -6
- package/dist/components/{p-abbbb5f3.js → p-b3537ccc.js} +5 -5
- package/dist/components/{p-87d8706e.js → p-b39c779d.js} +6 -6
- package/dist/components/{p-71133697.js → p-bd9a0ef8.js} +5 -5
- package/dist/components/{p-46ab4375.js → p-c00de10a.js} +8 -8
- package/dist/components/{p-94443423.js → p-c11b2f37.js} +1 -1
- package/dist/components/{p-3bfd5b6d.js → p-c3592601.js} +5 -2
- package/dist/components/{p-1d055d3f.js → p-c7dcb441.js} +3 -3
- package/dist/components/{p-963d619f.js → p-caf8596c.js} +7 -7
- package/dist/components/{p-9c2796e3.js → p-cd66e89b.js} +5 -5
- package/dist/components/{p-eebae590.js → p-d262b31f.js} +10 -10
- package/dist/components/{p-d17beb97.js → p-d3ca55ba.js} +5 -5
- package/dist/components/{p-df6f9a3f.js → p-d5791958.js} +2 -2
- package/dist/components/{p-749efee6.js → p-d71db36f.js} +6 -6
- package/dist/components/{p-512c3bef.js → p-db1e56e8.js} +8 -8
- package/dist/components/{p-7ad5bf75.js → p-dc23e204.js} +8 -7
- package/dist/components/{p-25969351.js → p-e2b78972.js} +5 -5
- package/dist/components/{p-bffc1ba5.js → p-e3b59650.js} +2 -2
- package/dist/components/{p-77167e1b.js → p-e4376670.js} +9 -9
- package/dist/components/{p-53b020e2.js → p-e6d09c50.js} +7 -1
- package/dist/components/{p-460cebe9.js → p-e99f574d.js} +27 -27
- package/dist/components/{p-4b5caa33.js → p-eeea40dd.js} +6 -6
- package/dist/components/{p-028999b4.js → p-ef376a73.js} +6 -6
- package/dist/components/{p-78349933.js → p-f682505d.js} +13 -13
- package/dist/components/{p-60db99e3.js → p-fe278fba.js} +4 -4
- package/dist/components/{p-1cda12a9.js → p-febe3ebc.js} +1 -1
- package/dist/components/rtk-ai-toggle.js +6 -6
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +6 -6
- package/dist/components/rtk-audio-grid.js +4 -4
- package/dist/components/rtk-audio-tile.js +7 -7
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +6 -6
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-button.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +7 -7
- package/dist/components/rtk-caption-toggle.js +6 -6
- package/dist/components/rtk-channel-creator.js +1 -1
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +1 -1
- package/dist/components/rtk-channel-selector-ui.js +8 -8
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +9 -9
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector-ui.js +4 -4
- package/dist/components/rtk-chat-toggle.js +18 -10
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +9 -8
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +4 -4
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +6 -6
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +5 -5
- package/dist/components/rtk-file-dropzone.js +4 -4
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +8 -8
- package/dist/components/rtk-grid.js +12 -12
- package/dist/components/rtk-header.js +4 -4
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +6 -6
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +5 -5
- package/dist/components/rtk-information-tooltip.js +4 -4
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +6 -6
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +6 -6
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +7 -7
- package/dist/components/rtk-meeting.js +58 -58
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +5 -5
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +7 -7
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +10 -10
- package/dist/components/rtk-more-toggle.js +6 -6
- package/dist/components/rtk-mute-all-button.js +7 -7
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +4 -4
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +6 -6
- package/dist/components/rtk-participant-setup.js +3 -3
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +6 -6
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +18 -11
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +17 -17
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +6 -6
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +18 -10
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +18 -10
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +6 -6
- package/dist/components/rtk-recording-toggle.js +6 -6
- package/dist/components/rtk-screen-share-toggle.js +7 -7
- package/dist/components/rtk-screenshare-view.js +6 -6
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +6 -6
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +13 -13
- package/dist/components/rtk-setup-screen.js +10 -10
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +13 -20
- package/dist/components/rtk-simple-grid.js +4 -4
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +4 -4
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +7 -7
- package/dist/components/rtk-stage.js +3 -3
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +4 -4
- package/dist/components/rtk-ui-provider.js +3 -3
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +4 -4
- package/dist/docs/docs-components.json +25 -1
- package/dist/docs/docs-vscode.json +4 -0
- package/dist/esm/{ChatHead-4ef9f354.js → ChatHead-cf7a7e22.js} +1 -1
- package/dist/esm/{TextMessage-0683cfdd.js → TextMessage-efd224db.js} +2 -2
- package/dist/esm/{chat-d82f457b.js → chat-c25836b0.js} +1 -1
- package/dist/esm/{config-233d8f24.js → config-1ca1ba30.js} +7 -1
- package/dist/esm/{index-27e158ce.js → index-6aaa85ca.js} +2 -2
- package/dist/esm/{index-25a91036.js → index-c1fb98bb.js} +5 -2
- package/dist/esm/{index-3f9d8968.js → index-d31a2e33.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/loader.js +99 -39
- package/dist/esm/{notification-90f2d20b.js → notification-800f2bcd.js} +1 -1
- package/dist/esm/realtimekit-ui.js +3 -3
- package/dist/esm/rtk-ai-toggle.entry.js +3 -3
- package/dist/esm/rtk-ai-transcriptions.entry.js +4 -4
- package/dist/esm/rtk-ai.entry.js +3 -3
- package/dist/esm/rtk-audio-grid.entry.js +4 -4
- package/dist/esm/rtk-audio-tile.entry.js +3 -3
- package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
- package/dist/esm/rtk-avatar_54.entry.js +11 -10
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
- package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
- package/dist/esm/rtk-camera-toggle.entry.js +3 -3
- package/dist/esm/rtk-caption-toggle.entry.js +3 -3
- package/dist/esm/rtk-channel-selector-ui.entry.js +5 -5
- package/dist/esm/rtk-chat-composer-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-toggle.entry.js +13 -6
- package/dist/esm/rtk-clock.entry.js +8 -7
- package/dist/esm/rtk-controlbar-button.entry.js +5 -4
- package/dist/esm/rtk-controlbar.entry.js +4 -4
- package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
- package/dist/esm/rtk-ended-screen.entry.js +3 -3
- package/dist/esm/rtk-file-dropzone.entry.js +3 -3
- package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
- package/dist/esm/rtk-grid-pagination.entry.js +5 -5
- package/dist/esm/rtk-grid.entry.js +4 -4
- package/dist/esm/rtk-header.entry.js +4 -4
- package/dist/esm/rtk-idle-screen.entry.js +3 -3
- package/dist/esm/rtk-image-viewer.entry.js +3 -3
- package/dist/esm/rtk-information-tooltip.entry.js +3 -3
- package/dist/esm/rtk-leave-button.entry.js +3 -3
- package/dist/esm/rtk-livestream-indicator_3.entry.js +7 -7
- package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
- package/dist/esm/rtk-meeting-title.entry.js +6 -6
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-mic-toggle.entry.js +3 -3
- package/dist/esm/rtk-mixed-grid.entry.js +4 -4
- package/dist/esm/rtk-more-toggle.entry.js +3 -3
- package/dist/esm/rtk-mute-all-button.entry.js +3 -3
- package/dist/esm/rtk-name-tag.entry.js +3 -3
- package/dist/esm/rtk-network-indicator.entry.js +3 -3
- package/dist/esm/rtk-participant-count.entry.js +5 -5
- package/dist/esm/rtk-participant-setup.entry.js +3 -3
- package/dist/esm/rtk-participant_2.entry.js +4 -4
- package/dist/esm/rtk-participants-audio.entry.js +3 -3
- package/dist/esm/rtk-participants-stage-list_4.entry.js +4 -4
- package/dist/esm/rtk-participants-toggle.entry.js +13 -7
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
- package/dist/esm/rtk-plugins-toggle.entry.js +13 -6
- package/dist/esm/rtk-plugins_2.entry.js +3 -3
- package/dist/esm/rtk-poll_2.entry.js +3 -3
- package/dist/esm/rtk-polls-toggle.entry.js +13 -6
- package/dist/esm/rtk-recording-indicator.entry.js +5 -5
- package/dist/esm/rtk-recording-toggle.entry.js +3 -3
- package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
- package/dist/esm/rtk-screenshare-view.entry.js +3 -3
- package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
- package/dist/esm/rtk-settings-toggle.entry.js +3 -3
- package/dist/esm/rtk-settings.entry.js +3 -3
- package/dist/esm/rtk-setup-screen.entry.js +4 -4
- package/dist/esm/rtk-sidebar-ui.entry.js +27 -5
- package/dist/esm/rtk-sidebar.entry.js +5 -12
- package/dist/esm/rtk-simple-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
- package/dist/esm/rtk-stage-toggle.entry.js +3 -3
- package/dist/esm/rtk-stage.entry.js +3 -3
- package/dist/esm/rtk-transcript.entry.js +3 -3
- package/dist/esm/rtk-transcripts.entry.js +3 -3
- package/dist/esm/rtk-ui-provider.entry.js +3 -3
- package/dist/esm/rtk-waiting-screen.entry.js +3 -3
- package/dist/esm/{sidebar-aa5e43a2.js → sidebar-cafaa8d3.js} +1 -1
- package/dist/esm/{ui-store-5383d525.js → ui-store-b453cdf2.js} +7 -1
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-b7183272.entry.js → p-01f5aba6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6c894b6b.entry.js → p-03a04390.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7895b888.entry.js → p-050469f0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0f5a23ce.entry.js → p-050f0b1f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7d970fe1.entry.js → p-0a1d9e02.entry.js} +1 -1
- package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
- package/dist/realtimekit-ui/{p-7edbcd5e.entry.js → p-0d071b0c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b8ea8298.entry.js → p-0d4db84d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-533ecbf2.js → p-0ee570cd.js} +2 -2
- package/dist/realtimekit-ui/{p-e05e4c26.entry.js → p-131b1e94.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-24905c85.entry.js → p-139da463.entry.js} +1 -1
- package/dist/realtimekit-ui/p-238a19f8.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a268fabd.entry.js → p-25c7522f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-29802710.entry.js +1 -0
- package/dist/realtimekit-ui/p-2aa242f4.js +1 -0
- package/dist/realtimekit-ui/{p-2738468d.entry.js → p-3611c234.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-997830fd.entry.js → p-373ea59c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3d312beb.entry.js +1 -0
- package/dist/realtimekit-ui/p-3ed1c004.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b2ad78a0.entry.js → p-3fd79328.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-03ac511d.entry.js → p-4211ad5e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-42a64cbb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0c011730.entry.js → p-44915a3b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-457a0412.entry.js +1 -0
- package/dist/realtimekit-ui/{p-db9371e5.js → p-4b882b41.js} +1 -1
- package/dist/realtimekit-ui/{p-e9a4f3d2.entry.js → p-4d8ab9a5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1206b9a4.entry.js → p-4dc84daa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-15b14b92.entry.js → p-4f45e362.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4caa353f.entry.js → p-4ff47eb0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-646b89d6.entry.js → p-55503b00.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-46ea4a0d.entry.js → p-556db3a1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-5584d146.entry.js +1 -0
- package/dist/realtimekit-ui/{p-bfe04e6b.entry.js → p-560c3d93.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-63fabdb8.entry.js → p-5b15e3cf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-59f22e0a.entry.js → p-679bd218.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0336caf2.entry.js → p-6be9be47.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6c238609.entry.js +1 -0
- package/dist/realtimekit-ui/{p-faf1d40a.js → p-6ededa68.js} +1 -1
- package/dist/realtimekit-ui/{p-2573cda1.entry.js → p-7536cb87.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bac4d3cc.entry.js → p-7af0573f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-701e8cc1.entry.js → p-7dbd2a25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-46c3367c.entry.js → p-807dd186.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9c378706.entry.js → p-80a02bba.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fb2ddda7.entry.js → p-85ff4a34.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3207575b.entry.js → p-89f6a08a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-8fe6b03c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a467c711.entry.js → p-917f2951.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1fac5c7d.entry.js → p-93f881e2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6481cc88.entry.js → p-9435f236.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e4686e58.entry.js → p-94b739b4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f29be06c.entry.js → p-9946b484.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-533ce032.entry.js → p-9ca13287.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9ff45356.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0ec000c9.entry.js → p-a5d22edf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d4ad4027.entry.js → p-a6f03681.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a738a7b3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-3e83ff84.js → p-aaba206b.js} +1 -1
- package/dist/realtimekit-ui/{p-c9474ab6.entry.js → p-affaaf1a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b14563cb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-1567a135.js → p-b16cee89.js} +1 -1
- package/dist/realtimekit-ui/{p-36990601.entry.js → p-b62f9abb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6964a8f6.entry.js → p-bc17c582.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6a4fb57a.entry.js → p-bf56688f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5da1339e.entry.js → p-c7f14fd0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1b0b0f2d.js → p-c8eaa707.js} +1 -1
- package/dist/realtimekit-ui/{p-eb3c426f.entry.js → p-d013442a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cdb45819.entry.js → p-d075d673.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d7509ae5.entry.js → p-d1e6d6c4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d77f7f22.entry.js +1 -0
- package/dist/realtimekit-ui/{p-8d04a9a1.entry.js → p-d9217d24.entry.js} +1 -1
- package/dist/realtimekit-ui/p-dbb95589.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c5aabfb2.entry.js → p-dd9b1b30.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6b50f9b5.entry.js → p-e1091812.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e13b5128.entry.js +1 -0
- package/dist/realtimekit-ui/{p-ca1a26a8.entry.js → p-e171b1c4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ee167b96.js +1 -0
- package/dist/realtimekit-ui/{p-d9a0b571.entry.js → p-f5ad8c8f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8edd80c2.entry.js → p-fb67b669.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3cf531c1.js → p-fc36f92c.js} +1 -1
- package/dist/realtimekit-ui/p-fc704ef3.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +2 -0
- package/dist/types/components/rtk-participants-toggle/rtk-participants-toggle.d.ts +2 -0
- package/dist/types/components/rtk-plugins-toggle/rtk-plugins-toggle.d.ts +2 -0
- package/dist/types/components/rtk-polls-toggle/rtk-polls-toggle.d.ts +2 -0
- package/dist/types/components/rtk-sidebar/rtk-sidebar.d.ts +0 -1
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +8 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-0218a56b.js +0 -1
- package/dist/realtimekit-ui/p-06f1ed80.entry.js +0 -1
- package/dist/realtimekit-ui/p-0d9929ac.js +0 -1
- package/dist/realtimekit-ui/p-0e8213ad.entry.js +0 -1
- package/dist/realtimekit-ui/p-1be4070c.entry.js +0 -1
- package/dist/realtimekit-ui/p-458dfb31.entry.js +0 -1
- package/dist/realtimekit-ui/p-551b32ce.entry.js +0 -1
- package/dist/realtimekit-ui/p-5a7d71b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-6ad690e8.entry.js +0 -1
- package/dist/realtimekit-ui/p-6e0f9e5d.entry.js +0 -1
- package/dist/realtimekit-ui/p-93f69d20.entry.js +0 -1
- package/dist/realtimekit-ui/p-a7ec3e7f.js +0 -1
- package/dist/realtimekit-ui/p-badcfa98.entry.js +0 -1
- package/dist/realtimekit-ui/p-c1c88e62.entry.js +0 -1
- package/dist/realtimekit-ui/p-cadc29e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-cc0c49b8.entry.js +0 -1
- package/dist/realtimekit-ui/p-e6541a6b.entry.js +0 -1
- package/dist/realtimekit-ui/p-f0d98e40.entry.js +0 -1
- package/dist/realtimekit-ui/p-fc0241b5.entry.js +0 -1
- package/dist/realtimekit-ui/p-fdad06d2.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as r,H as a}from"./p-
|
|
1
|
+
import{r as t,h as r,H as a}from"./p-0ee570cd.js";import{a as o,c as e}from"./p-ee167b96.js";import{S as i}from"./p-2aa242f4.js";var s=function(t,r,a,o){var e,i=arguments.length,s=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,a,o);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(s=(i<3?e(s):i>3?e(r,a,s):e(r,a))||s);return i>3&&s&&Object.defineProperty(r,a,s),s};const c=class{constructor(r){t(this,r),this.iconPack=o,this.t=e(),this.isScreenShare=!1,this.score=10,this.onMediaScoreUpdate=({kind:t,isScreenshare:r,score:a})=>{("video"===t||this.isScreenShare&&r)&&(this.score=a)}}connectedCallback(){this.participantChanged(this.participant)}participantChanged(t){t&&t.addListener("mediaScoreUpdate",this.onMediaScoreUpdate)}disconnectedCallback(){var t;null===(t=this.participant)||void 0===t||t.removeListener("mediaScoreUpdate",this.onMediaScoreUpdate)}render(){let t=Math.round(this.score/2),o="good";if(t>3)return null;switch(t<1&&(t=1),t){case 3:case 2:o="poor";break;case 1:o="poorest"}return r(a,null,r("rtk-icon",{icon:this.iconPack[`signal_${t}`],class:o}),r("rtk-icon",{icon:this.iconPack.signal_5,class:"bg-signal"}))}static get watchers(){return{participant:["participantChanged"]}}};s([i()],c.prototype,"meeting",void 0),s([i()],c.prototype,"iconPack",void 0),s([i()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}rtk-icon{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;height:100%;width:100%;--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}rtk-icon.poor{--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}rtk-icon.poorest{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='md']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.bg-signal{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:0;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}";export{c as rtk_network_indicator}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as r,a}from"./p-
|
|
1
|
+
import{r as t,h as i,H as r,a}from"./p-0ee570cd.js";import{a as e,c as s}from"./p-ee167b96.js";import{S as o}from"./p-2aa242f4.js";import{R as c}from"./p-c8eaa707.js";var n=function(t,i,r,a){var e,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,a);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(o=(s<3?e(o):s>3?e(i,r,o):e(i,r))||o);return s>3&&o&&Object.defineProperty(i,r,o),o};const l=class{constructor(i){t(this,i),this.iconPack=e,this.t=s(),this.hideSelf=!1,this.activeParticipants=[],this.onStageParticipants=[],this.offStageParticipants=[],this.onParticipantListUpdate=()=>{if(!this.meeting)return;let t=this.meeting.participants.active.toArray();this.hideSelf||(t=[...t,this.meeting.self]);let i=this.meeting.participants.joined.toArray().filter((i=>!t.some((t=>t.id===i.id))));this.activeParticipants=t,this.onStageParticipants=i}}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){t&&"AUDIO_ROOM"===t.self.config.viewType&&(this.onParticipantListUpdate(),t.participants.active.addListener("participantJoined",this.onParticipantListUpdate),t.participants.active.addListener("participantLeft",this.onParticipantListUpdate),t.participants.joined.addListener("participantJoined",this.onParticipantListUpdate),t.participants.joined.addListener("participantLeft",this.onParticipantListUpdate))}disconnectedCallback(){this.resizeObserver.disconnect(),this.resizeObserver=void 0,this.meeting.participants.active.removeListener("participantJoined",this.onParticipantListUpdate),this.meeting.participants.active.removeListener("participantLeft",this.onParticipantListUpdate),this.meeting.participants.joined.removeListener("participantJoined",this.onParticipantListUpdate),this.meeting.participants.joined.removeListener("participantLeft",this.onParticipantListUpdate)}renderGrid(t=[]){const r={meeting:this.meeting,size:this.size,config:this.config,t:this.t,iconPack:this.iconPack,states:this.states};return t.map((t=>i(c,{element:"rtk-audio-tile",defaults:r,props:{key:t.id,participant:t},childProps:{participant:t},deepProps:!0})))}render(){const t=this.activeParticipants.concat(this.onStageParticipants);return i(r,{key:"0547c2c61b1c1b1fc4fcc5353b9094f8c118bd83"},i("div",{key:"46dd0248db3437461bd56bd507a2f42ce05af03a",class:"content scrollbar"},i("div",{key:"98a3dc4928c3062f3e5058b50d415f147c273c26",class:"stage grid"},this.renderGrid(t)),this.offStageParticipants.length>0&&i("div",{key:"18015fe551647048c990f107ba313c5e13ba7d47",class:"waitlist-area"},i("div",{key:"50a65d4f48d94426860d808ff6151d3e0d519f4e",class:"listening-title"},this.offStageParticipants.length," ",this.t("grid.listening")),i("div",{key:"173e4ebc97425b7298236673122f76ebfae59609",class:"waitlist-grid grid"},this.renderGrid(this.offStageParticipants)))),i("slot",{key:"c92a12329a9c4c456f3506cee2aa2d73dceaa0e0"}))}get host(){return a(this)}static get watchers(){return{meeting:["meetingChanged"]}}};n([o()],l.prototype,"meeting",void 0),n([o()],l.prototype,"states",void 0),n([o()],l.prototype,"iconPack",void 0),n([o()],l.prototype,"size",void 0),n([o()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;height:100%;width:100%;box-sizing:border-box}.content{position:relative;display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.waitlist-area{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.listening-title{text-align:center;margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-4, 16px)}.waitlist-grid{flex:1 1 0%}.grid{box-sizing:border-box;flex:1 1 0%;gap:var(--rtk-space-6, 24px);display:flex;align-content:center;justify-content:center;flex-wrap:wrap}:host([size='md']) .grid{gap:var(--rtk-space-4, 16px)}:host([size='sm']) .grid{gap:var(--rtk-space-3, 12px)}rtk-audio-tile{aspect-ratio:1 / 1;flex:none;width:calc(20%);max-width:var(--rtk-space-48, 192px);transition:all 0.3s}rtk-audio-tile[size='md']{width:100%;max-width:var(--rtk-space-36, 144px)}rtk-audio-tile[size='sm']{width:100%;max-width:var(--rtk-space-24, 96px)}";export{l as rtk_audio_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as s}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{d as o,a,c as n}from"./p-ee167b96.js";import{S as r}from"./p-2aa242f4.js";var c=function(t,i,e,s){var o,a=arguments.length,n=a<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(i,e,n):o(i,e))||n);return a>3&&n&&Object.defineProperty(i,e,n),n};const h=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=o,this.iconPack=a,this.t=n(),this.pipSupported=!1}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){var i,e,s;t&&(this.pipSupported=(null===(i=t.participants.pip)||void 0===i?void 0:i.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode)&&"LIVESTREAM"!==(null===(s=t.self.config)||void 0===s?void 0:s.viewType))}togglePip(){this.meeting.participants.pip&&(this.meeting.participants.pip.isActive?this.meeting.participants.pip.disable():this.meeting.participants.pip.enable(),this.stateUpdate.emit({activeMoreMenu:!1}))}render(){if(!this.pipSupported)return e(s,{"data-hidden":!0});const t=this.meeting.participants.pip.isActive;return e(s,{role:"log","aria-label":"Picture-in-Picture mode"},e("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.togglePip(),icon:t?this.iconPack.pip_on:this.iconPack.pip_off,label:this.t(t?"pip_off":"pip_on"),variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"]}}};c([r()],h.prototype,"meeting",void 0),c([r()],h.prototype,"states",void 0),c([r()],h.prototype,"iconPack",void 0),c([r()],h.prototype,"size",void 0),c([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{h as rtk_pip_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r,h as
|
|
1
|
+
import{r as t,c as r,h as e,H as o,a}from"./p-0ee570cd.js";import{a as i,c}from"./p-ee167b96.js";import{S as s}from"./p-2aa242f4.js";var n=function(t,r,e,o){var a,i=arguments.length,c=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,r,e,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(c=(i<3?a(c):i>3?a(r,e,c):a(r,e))||c);return i>3&&c&&Object.defineProperty(r,e,c),c};const d=class{constructor(e){t(this,e),this.stateUpdate=r(this,"rtkStateUpdate",7),this.iconPack=i,this.t=c(),this.handleKeyDown=({key:t})=>{"Escape"===t&&this.stateUpdate.emit({activeMoreMenu:!1})},this.handleOnClick=t=>{!t.composedPath().includes(this.host)&&this.states.activeMoreMenu&&this.stateUpdate.emit({activeMoreMenu:!1})},this.toggleMoreMenu=()=>{this.stateUpdate.emit({activeMoreMenu:!this.states.activeMoreMenu})}}connectedCallback(){window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("click",this.handleOnClick)}disconnectedCallback(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("click",this.handleOnClick)}render(){const t=this.t("more");return e(o,{key:"cc4c42c7e70920678ccd5504299cc2ea132ba082",title:t},this.states.activeMoreMenu&&e("div",{key:"4e15d624377561cc3bfac660822041079387d15c",class:"more-menu"},e("slot",{key:"83c8c81d94edbed4d30143fe4a0a9fc77f7c3883",name:"more-elements"})),e("rtk-controlbar-button",{key:"1b88da49b3bd62fc05f43e83743935cbe1848bdf",size:this.size,iconPack:this.iconPack,onClick:t=>{t.stopPropagation(),this.toggleMoreMenu()},icon:this.iconPack.horizontal_dots,label:t,part:"controlbar-button"}),e("slot",{key:"06155b80eabc3aa0c8495c5bc447af457acdd038",name:"expanded"}))}get host(){return a(this)}};n([s()],d.prototype,"states",void 0),n([s()],d.prototype,"size",void 0),n([s()],d.prototype,"iconPack",void 0),n([s()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:visible}.more-menu{position:absolute;right:calc(var(--rtk-space-24, 96px) * -1);bottom:var(--rtk-space-16, 64px);z-index:50;margin-bottom:var(--rtk-space-3, 12px);box-sizing:border-box;max-height:60vh;width:var(--rtk-space-64, 256px);overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;display:flex;flex-direction:column;align-items:stretch}:host([size='sm']) .more-menu{bottom:var(--rtk-space-10, 40px)}.more-menu::-webkit-scrollbar{height:var(--rtk-space-0, 0px);width:var(--rtk-space-1\\.5, 6px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.more-menu::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";export{d as rtk_more_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,H as e}from"./p-0ee570cd.js";import{a as s,c as a,q as n}from"./p-ee167b96.js";import{S as r}from"./p-2aa242f4.js";var o=function(t,i,e,s){var a,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,s);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(r=(n<3?a(r):n>3?a(i,e,r):a(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const h=class{constructor(i){t(this,i),this.iconPack=s,this.t=a(),this.participantCount=0,this.isViewer=!1,this.disconnectMeeting=t=>{null!=t&&null!=this.countListener&&(t.participants.joined.removeListener("participantJoined",this.countListener),t.participants.joined.removeListener("participantLeft",this.countListener),(null==t?void 0:t.stage)&&this.stageUpdateListener&&t.stage.removeListener("stageStatusUpdate",this.stageUpdateListener),t.self.removeListener("roomJoined",this.countListener))}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}meetingChanged(t,i){this.disconnectMeeting(i),null!=t&&(this.countListener=()=>{this.participantCount=t.participants.joined.size+(t.self.roomJoined?1:0)},this.countListener(),this.isViewer=n(this.meeting),t.participants.joined.addListener("participantJoined",this.countListener),t.participants.joined.addListener("participantLeft",this.countListener),(null==t?void 0:t.stage)&&(this.stageUpdateListener=()=>{this.isViewer=n(this.meeting)},null==t||t.stage.addListener("stageStatusUpdate",this.stageUpdateListener)),t.self.addListener("roomJoined",this.countListener))}render(){return this.isViewer?i(e,{"data-hidden":!0}):i(e,{tabIndex:0,role:"log","aria-label":`${this.participantCount} ${this.t("participants")}`},i("rtk-icon",{icon:this.iconPack.people,tabIndex:-1,"aria-hidden":!0,part:"icon"}),this.participantCount)}static get watchers(){return{meeting:["meetingChanged"]}}};o([r()],h.prototype,"meeting",void 0),o([r()],h.prototype,"iconPack",void 0),o([r()],h.prototype,"t",void 0),o([r()],h.prototype,"size",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;height:var(--rtk-space-10, 40px);-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{h as rtk_participant_count}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t,i as e}from"./p-0d9929ac.js";import{e as r,b as i,i as o,g as n,c as a,k as l,a as d,d as s,f as c,h as g,j as v,l as k,m as p,n as u,o as m,S as f,p as b,q as h}from"./p-46923b34.js";import{i as x,b as y,a as w}from"./p-2c3cda13.js";const S=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],O={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},A={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function I(t){let e="0",r="0",i="0";return 4==(t=t.trim()).length?(e="0x"+t[1]+t[1],r="0x"+t[2]+t[2],i="0x"+t[3]+t[3]):t.length>6&&(e="0x"+t[1]+t[2],r="0x"+t[3]+t[4],i="0x"+t[5]+t[6]),[+e,+r,+i]}const F=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),_="--rtk-";function M(t,e=_){return e+t}const $=(t,e,r=_)=>{Object.keys(e).forEach((i=>{const o=e[i];if("string"==typeof o)if("text"===i||"text-on-brand"===i){const e=I(o).join(" ");t.style.setProperty(M(`colors-${i}-1000`,r),`${e}`),t.style.setProperty(M(`colors-${i}-900`,r),`${e} / 0.88`),t.style.setProperty(M(`colors-${i}-800`,r),`${e} / 0.76`),t.style.setProperty(M(`colors-${i}-700`,r),`${e} / 0.64`),t.style.setProperty(M(`colors-${i}-600`,r),`${e} / 0.52`)}else{const e=I(o).join(" ");t.style.setProperty(M(`colors-${i}`,r),e)}else"object"==typeof o&&Object.keys(o).forEach((e=>{const n=I(o[e]).join(" ");t.style.setProperty(M(`colors-${i}-${e}`,r),n)}))}))},T=(t,{spacingBase:e,borderRadius:r,borderWidth:i,colors:o,fontFamily:n,googleFont:a,theme:l,tokenPrefix:d=_})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof a&&((t=>{const e=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",e.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),e.push(r),document.head.append(...e)})(a),t.style.setProperty(M("font-family",d),a)),"string"==typeof n&&t.style.setProperty(M("font-family",d),n),"number"==typeof e&&((t,e,r=_)=>{S.forEach((i=>{t.style.setProperty(M(`space-${i}`,r),i*e+"px")}))})(t,e,d),"string"==typeof i&&((t,e,r=_)=>{if(e in j){const i=j[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-width-${e}`,r),`${i[e]}px`)}))}})(t,i,d),"string"==typeof r&&((t,e,r=_)=>{if(e in A){const i=A[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-radius-${e}`,r),`${i[e]}px`)}))}})(t,r,d),"string"==typeof l){const e=O[l];null!=e&&$(t,e,d)}"object"==typeof o&&$(t,o,d)};function R(t,e,o){(void 0!==o&&!r(t[e],o)||void 0===o&&!(e in t))&&i(t,e,o)}var C="[object Object]",D=Function.prototype.toString,E=Object.prototype.hasOwnProperty,z=D.call(Object);function P(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function U(t,e,r,i,b){t!==e&&function(t,e,r){for(var i=-1,o=Object(t),n=r(t),a=n.length;a--;){var l=n[++i];if(!1===e(o[l],l,o))break}}(e,(function(h,S){if(b||(b=new f),w(h))!function(t,e,r,i,f,b,h){var S=P(t,r),O=P(e,r),j=h.get(O);if(j)R(t,r,j);else{var A,I=b?b(S,O,r+"",t,e,h):void 0,F=void 0===I;if(F){var _=d(O),M=!_&&s(O),$=!_&&!M&&c(O);I=O,_||M||$?d(S)?I=S:x(A=S)&&o(A)?I=g(S):M?(F=!1,I=v(O,!0)):$?(F=!1,I=k(O,!0)):I=[]:function(t){if(!x(t)||y(t)!=C)return!1;var e=n(t);if(null===e)return!0;var r=E.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&D.call(r)==z}(O)||p(O)?(I=S,p(S)?I=function(t){return a(t,l(t))}(S):w(S)&&!u(S)||(I=m(O))):F=!1}F&&(h.set(O,I),f(I,O,i,b,h),h.delete(O)),R(t,r,I)}}(t,e,S,r,U,i,b);else{var O=i?i(P(t,S),h,S+"",t,e,b):void 0;void 0===O&&(O=h),R(t,S,O)}}),l)}function B(t){return t}var L,q,H,N=Math.max,V=b?function(t,e){return b(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:B,W=Date.now;const G=(L=V,q=0,H=0,function(){var t=W(),e=16-(t-H);if(H=t,e>0){if(++q>=800)return arguments[0]}else q=0;return L.apply(void 0,arguments)});var J;const K=(J=function(t,e,r){U(t,e,r)},function(t,e){return G(function(t,e,r){return e=N(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,n=N(i.length-e,0),a=Array(n);++o<n;)a[o]=i[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=i[o];return l[e]=r(a),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,l)}}(t,e,B),t+"")}((function(t,e){var i=-1,n=e.length,a=n>1?e[n-1]:void 0,l=n>2?e[2]:void 0;for(a=J.length>3&&"function"==typeof a?(n--,a):void 0,l&&function(t,e,i){if(!w(i))return!1;var n=typeof e;return!!("number"==n?o(i)&&h(e,i.length):"string"==n&&e in i)&&r(i[e],t)}(e[0],e[1],l)&&(a=n<3?void 0:a,n=1),t=Object(t);++i<n;){var d=e[i];d&&J(t,d,i)}return t}))),Q=(e,r=t)=>{let i=Object.assign({},r);return K(i,e),i},X=(t,r,i={},o={grid_pagination:!0,settings_toggle:!0})=>{var n,a,l,d,s,c,g,v,k,p,u,m,f,b,h,x,y,w;const S={showSetupScreen:!0};let O,j=["rtk-stage"],A={},I={};const _=!1!==(null==o?void 0:o.settings_toggle),M=!1!==(null==o?void 0:o.grid_pagination);if(null===(n=t.controlBar)||void 0===n?void 0:n.isEnabled){j.push("rtk-controlbar");const{elements:i}=t.controlBar,o=[...i.fullscreen?["rtk-fullscreen-toggle"]:[],..._?["rtk-settings-toggle"]:[]],n=[],v=[];(null===(a=r.participants.pip)||void 0===a?void 0:a.isSupported())&&(null===(d=null===(l=r.self)||void 0===l?void 0:l.config)||void 0===d?void 0:d.pipMode)&&"LIVESTREAM"!==(null===(s=r.self.config)||void 0===s?void 0:s.viewType)&&v.push("rtk-pip-toggle"),(null==r?void 0:r.self.permissions.canDisableParticipantAudio)&&v.push("rtk-mute-all-button"),v.push("rtk-breakout-rooms-toggle"),(null===(c=r.self)||void 0===c?void 0:c.permissions.canRecord)&&v.push("rtk-recording-toggle"),null!==(g=r.self.permissions.transcriptionEnabled)&&void 0!==g&&g&&v.push("rtk-caption-toggle"),"ReactNative"!==navigator.product&&v.push("rtk-debugger-toggle"),e(r)&&o.push("rtk-livestream-toggle"),i.screenshare&&o.push("rtk-screen-share-toggle"),i.chat&&n.push("rtk-chat-toggle"),i.polls&&n.push("rtk-polls-toggle"),i.participants&&n.push("rtk-participants-toggle"),i.plugins&&n.push("rtk-plugins-toggle"),n.push("rtk-ai-toggle");const k=["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle","rtk-leave-button"];v.length>0&&k.push("rtk-more-toggle");const p=o.concat(n).concat(v);let u=!1;p.length>0&&(u=!0),I={"rtk-controlbar":{states:["activeMoreMenu"],children:["div#controlbar-left","div#controlbar-center","div#controlbar-right"]},"div#controlbar-left":o,"div#controlbar-center":k,"div#controlbar-right":n,"rtk-more-toggle":{states:["activeMoreMenu"],children:[]},"rtk-more-toggle.activeMoreMenu":v.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-controlbar.sm":["div#controlbar-mobile"],"rtk-controlbar.md":["div#controlbar-mobile"],"rtk-more-toggle.activeMoreMenu.md":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-more-toggle.activeMoreMenu.sm":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"div#controlbar-mobile":["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle",u&&"rtk-more-toggle","rtk-leave-button"]}}if(null===(v=t.header)||void 0===v?void 0:v.isEnabled){j.unshift("rtk-header");const{elements:e}=t.header;let r=["rtk-recording-indicator","rtk-livestream-indicator"],i=[],o=[];M&&o.push("rtk-grid-pagination"),e.title&&i.push("rtk-meeting-title"),"string"==typeof e.logo&&e.logo.length>0&&(O=e.logo,r.unshift("rtk-logo")),e.participantCount&&o.push("rtk-participant-count","rtk-viewer-count"),e.timer&&o.push("rtk-clock"),A={"rtk-header":["div#header-left","div#header-center","div#header-right"],"rtk-header.sm":{remove:["div#header-center"]},"div#header-left":r,"div#header-center":i,"div#header-right":o,"div#header-left.sm":{remove:["rtk-logo"],prepend:["rtk-meeting-title"]}}}j.push("rtk-participants-audio","rtk-dialog-manager");let $={logo:O};$=t.designTokens,F(null===(p=null===(k=null==t?void 0:t.designTokens)||void 0===k?void 0:k.colors)||void 0===p?void 0:p.textOnBrand)&&($.colors["text-on-brand"]=null===(m=null===(u=null==t?void 0:t.designTokens)||void 0===u?void 0:u.colors)||void 0===m?void 0:m.textOnBrand),F(null===(b=null===(f=null==t?void 0:t.designTokens)||void 0===f?void 0:f.colors)||void 0===b?void 0:b.videoBg)&&($.colors["video-bg"]=null===(x=null===(h=null==t?void 0:t.designTokens)||void 0===h?void 0:h.colors)||void 0===x?void 0:x.videoBg);let T={designTokens:$,styles:{"rtk-header":{display:"grid",height:"48px",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"1fr",alignItems:"center"},"rtk-header.sm":{display:"grid",gridArea:"header",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"1fr",alignItems:"center"},"div#header-left":{display:"flex",alignItems:"center",height:"48px",wordBreak:"break-all"},"rtk-logo":{height:"26px"},"div#header-center":{display:"flex",alignItems:"center",justifyContent:"center",wordBreak:"break-all"},"div#header-right":{display:"flex",alignItems:"center",justifyContent:"flex-end"},"rtk-stage":{display:"flex",flex:"1"},"rtk-grid":{flex:"1",height:"auto"},"rtk-controlbar":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"1fr",alignItems:"center",padding:"8px"},"rtk-controlbar.sm":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"rtk-controlbar.md":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"div#controlbar-left":{display:"flex",alignItems:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-center":{display:"flex",alignItems:"center",position:"relative",overflow:"visible",justifyContent:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-mobile":{display:"flex",flex:"1",alignItems:"center",justifyContent:"center",zIndex:"10000",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--rtk-space-1, 4px)"},"rtk-settings":{width:"720px",height:"480px"},"rtk-debugger":{width:"720px",height:"480px"},"div#setupcontrols-indicator":{position:"absolute",bottom:"12px",left:"12px",display:"flex",gap:"6px",background:"rgb(var(--rtk-colors-background-800, 0 0 0))",borderRadius:"100%"},"div#setupcontrols-media":{position:"absolute",bottom:"8px",right:"8px",display:"flex",gap:"6px"},"div#setupcontrols-settings":{position:"absolute",top:"8px",right:"8px",display:"flex",flexDirection:"column",gap:"6px"},"rtk-meeting-title.sm":{marginLeft:"0"},"rtk-clock":{marginRight:"0"}},root:Object.assign(Object.assign(Object.assign({"rtk-meeting":{state:"meeting",states:["activeSidebar","activeAI"]},"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]":j,"rtk-meeting[meeting=joined].activeSidebar.sm":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeSidebar.md":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.sm":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.md":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=ended]":["rtk-ended-screen"]},A),I),{"rtk-stage":{states:["activeSidebar","activeAI"],children:["rtk-grid","rtk-notifications","rtk-transcripts"]},"rtk-stage.activeSidebar":{add:[["rtk-sidebar",{view:"sidebar"}]]},"rtk-stage.activeSidebar.sm":{remove:["rtk-sidebar"]},"rtk-stage.activeAI":{add:[["rtk-ai",{view:"sidebar"}]]},"rtk-stage.activeAI.sm":{remove:["rtk-ai"]},"rtk-grid":{states:["activeScreenShare","activePlugin","activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"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":["rtk-mixed-grid"],"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":{states:["activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-mixed-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-mixed-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-participant-tile":{state:"meeting",children:["rtk-name-tag","rtk-avatar","rtk-network-indicator"]},"rtk-participant-setup":["rtk-avatar","div#setupcontrols-media"],"rtk-participant-tile[meeting=setup]":["rtk-avatar","div#setupcontrols-indicator","div#setupcontrols-media",..._?["div#setupcontrols-settings"]:[]],"div#setupcontrols-indicator":[["rtk-audio-visualizer",{slot:"start",hideMuted:!0}]],"div#setupcontrols-media":[["rtk-mic-toggle",{size:"sm"}],["rtk-camera-toggle",{size:"sm"}]],"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"}]]}),config:{notification_sounds:{participant_left:!1},participant_joined_sound_notification_limit:3,participant_chat_message_sound_notification_limit:10,videoFit:"cover"}};return T=Q(i,T),S.showSetupScreen=null===(w=null===(y=t.setupScreen)||void 0===y?void 0:y.isEnabled)||void 0===w||w,{config:T,data:S}};export{K as d,Q as e,X as g,T as p}
|
|
1
|
+
import{d as t,i as e}from"./p-ee167b96.js";import{e as r,b as i,i as o,g as n,c as a,k as l,a as d,d as s,f as c,h as g,j as v,l as p,m as k,n as u,o as m,S as f,p as b,q as h}from"./p-46923b34.js";import{i as x,b as y,a as w}from"./p-2c3cda13.js";const S=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],O={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},I={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function A(t){let e="0",r="0",i="0";return 4==(t=t.trim()).length?(e="0x"+t[1]+t[1],r="0x"+t[2]+t[2],i="0x"+t[3]+t[3]):t.length>6&&(e="0x"+t[1]+t[2],r="0x"+t[3]+t[4],i="0x"+t[5]+t[6]),[+e,+r,+i]}const F=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),_="--rtk-";function M(t,e=_){return e+t}const $=(t,e,r=_)=>{Object.keys(e).forEach((i=>{const o=e[i];if("string"==typeof o)if("text"===i||"text-on-brand"===i){const e=A(o).join(" ");t.style.setProperty(M(`colors-${i}-1000`,r),`${e}`),t.style.setProperty(M(`colors-${i}-900`,r),`${e} / 0.88`),t.style.setProperty(M(`colors-${i}-800`,r),`${e} / 0.76`),t.style.setProperty(M(`colors-${i}-700`,r),`${e} / 0.64`),t.style.setProperty(M(`colors-${i}-600`,r),`${e} / 0.52`)}else{const e=A(o).join(" ");t.style.setProperty(M(`colors-${i}`,r),e)}else"object"==typeof o&&Object.keys(o).forEach((e=>{const n=A(o[e]).join(" ");t.style.setProperty(M(`colors-${i}-${e}`,r),n)}))}))},T=(t,{spacingBase:e,borderRadius:r,borderWidth:i,colors:o,fontFamily:n,googleFont:a,theme:l,tokenPrefix:d=_})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof a&&((t=>{const e=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",e.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),e.push(r),document.head.append(...e)})(a),t.style.setProperty(M("font-family",d),a)),"string"==typeof n&&t.style.setProperty(M("font-family",d),n),"number"==typeof e&&((t,e,r=_)=>{S.forEach((i=>{t.style.setProperty(M(`space-${i}`,r),i*e+"px")}))})(t,e,d),"string"==typeof i&&((t,e,r=_)=>{if(e in j){const i=j[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-width-${e}`,r),`${i[e]}px`)}))}})(t,i,d),"string"==typeof r&&((t,e,r=_)=>{if(e in I){const i=I[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-radius-${e}`,r),`${i[e]}px`)}))}})(t,r,d),"string"==typeof l){const e=O[l];null!=e&&$(t,e,d)}"object"==typeof o&&$(t,o,d)};function R(t,e,o){(void 0!==o&&!r(t[e],o)||void 0===o&&!(e in t))&&i(t,e,o)}var C="[object Object]",D=Function.prototype.toString,E=Object.prototype.hasOwnProperty,z=D.call(Object);function P(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function U(t,e,r,i,b){t!==e&&function(t,e,r){for(var i=-1,o=Object(t),n=r(t),a=n.length;a--;){var l=n[++i];if(!1===e(o[l],l,o))break}}(e,(function(h,S){if(b||(b=new f),w(h))!function(t,e,r,i,f,b,h){var S=P(t,r),O=P(e,r),j=h.get(O);if(j)R(t,r,j);else{var I,A=b?b(S,O,r+"",t,e,h):void 0,F=void 0===A;if(F){var _=d(O),M=!_&&s(O),$=!_&&!M&&c(O);A=O,_||M||$?d(S)?A=S:x(I=S)&&o(I)?A=g(S):M?(F=!1,A=v(O,!0)):$?(F=!1,A=p(O,!0)):A=[]:function(t){if(!x(t)||y(t)!=C)return!1;var e=n(t);if(null===e)return!0;var r=E.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&D.call(r)==z}(O)||k(O)?(A=S,k(S)?A=function(t){return a(t,l(t))}(S):w(S)&&!u(S)||(A=m(O))):F=!1}F&&(h.set(O,A),f(A,O,i,b,h),h.delete(O)),R(t,r,A)}}(t,e,S,r,U,i,b);else{var O=i?i(P(t,S),h,S+"",t,e,b):void 0;void 0===O&&(O=h),R(t,S,O)}}),l)}function B(t){return t}var L,q,H,N=Math.max,V=b?function(t,e){return b(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:B,W=Date.now;const G=(L=V,q=0,H=0,function(){var t=W(),e=16-(t-H);if(H=t,e>0){if(++q>=800)return arguments[0]}else q=0;return L.apply(void 0,arguments)});var J;const K=(J=function(t,e,r){U(t,e,r)},function(t,e){return G(function(t,e,r){return e=N(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,n=N(i.length-e,0),a=Array(n);++o<n;)a[o]=i[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=i[o];return l[e]=r(a),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,l)}}(t,e,B),t+"")}((function(t,e){var i=-1,n=e.length,a=n>1?e[n-1]:void 0,l=n>2?e[2]:void 0;for(a=J.length>3&&"function"==typeof a?(n--,a):void 0,l&&function(t,e,i){if(!w(i))return!1;var n=typeof e;return!!("number"==n?o(i)&&h(e,i.length):"string"==n&&e in i)&&r(i[e],t)}(e[0],e[1],l)&&(a=n<3?void 0:a,n=1),t=Object(t);++i<n;){var d=e[i];d&&J(t,d,i)}return t}))),Q=(e,r=t)=>{let i=Object.assign({},r);return K(i,e),i},X=(t,r,i={},o={grid_pagination:!0,settings_toggle:!0})=>{var n,a,l,d,s,c,g,v,p,k,u,m,f,b,h,x,y,w;const S={showSetupScreen:!0};let O,j=["rtk-stage"],I={},A={};const _=!1!==(null==o?void 0:o.settings_toggle),M=!1!==(null==o?void 0:o.grid_pagination);if(null===(n=t.controlBar)||void 0===n?void 0:n.isEnabled){j.push("rtk-controlbar");const{elements:i}=t.controlBar,o=[...i.fullscreen?["rtk-fullscreen-toggle"]:[],..._?["rtk-settings-toggle"]:[]],n=[],v=[];(null===(a=r.participants.pip)||void 0===a?void 0:a.isSupported())&&(null===(d=null===(l=r.self)||void 0===l?void 0:l.config)||void 0===d?void 0:d.pipMode)&&"LIVESTREAM"!==(null===(s=r.self.config)||void 0===s?void 0:s.viewType)&&v.push("rtk-pip-toggle"),(null==r?void 0:r.self.permissions.canDisableParticipantAudio)&&v.push("rtk-mute-all-button"),v.push("rtk-breakout-rooms-toggle"),(null===(c=r.self)||void 0===c?void 0:c.permissions.canRecord)&&v.push("rtk-recording-toggle"),null!==(g=r.self.permissions.transcriptionEnabled)&&void 0!==g&&g&&v.push("rtk-caption-toggle"),"ReactNative"!==navigator.product&&v.push("rtk-debugger-toggle"),e(r)&&o.push("rtk-livestream-toggle"),i.screenshare&&o.push("rtk-screen-share-toggle"),i.chat&&n.push("rtk-chat-toggle"),i.polls&&n.push("rtk-polls-toggle"),i.participants&&n.push("rtk-participants-toggle"),i.plugins&&n.push("rtk-plugins-toggle"),n.push("rtk-ai-toggle");const p=["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle","rtk-leave-button"];v.length>0&&p.push("rtk-more-toggle");const k=o.concat(n).concat(v);let u=!1;k.length>0&&(u=!0),A={"rtk-controlbar":{states:["activeMoreMenu"],children:["div#controlbar-left","div#controlbar-center","div#controlbar-right"]},"div#controlbar-left":o,"div#controlbar-center":p,"div#controlbar-right":n,"rtk-more-toggle":{states:["activeMoreMenu"],children:[]},"rtk-more-toggle.activeMoreMenu":v.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-controlbar.sm":["div#controlbar-mobile"],"rtk-controlbar.md":["div#controlbar-mobile"],"rtk-more-toggle.activeMoreMenu.md":k.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-more-toggle.activeMoreMenu.sm":k.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"div#controlbar-mobile":["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle",u&&"rtk-more-toggle","rtk-leave-button"]}}if(null===(v=t.header)||void 0===v?void 0:v.isEnabled){j.unshift("rtk-header");const{elements:e}=t.header;let r=["rtk-recording-indicator","rtk-livestream-indicator"],i=[],o=[];M&&o.push("rtk-grid-pagination"),e.title&&i.push("rtk-meeting-title"),"string"==typeof e.logo&&e.logo.length>0&&(O=e.logo,r.unshift("rtk-logo")),e.participantCount&&o.push("rtk-participant-count","rtk-viewer-count"),e.timer&&o.push("rtk-clock"),I={"rtk-header":["div#header-left","div#header-center","div#header-right"],"rtk-header.sm":{remove:["div#header-center"]},"div#header-left":r,"div#header-center":i,"div#header-right":o,"div#header-left.sm":{remove:["rtk-logo"],prepend:["rtk-meeting-title"]}}}j.push("rtk-participants-audio","rtk-dialog-manager");let $={logo:O};$=t.designTokens,F(null===(k=null===(p=null==t?void 0:t.designTokens)||void 0===p?void 0:p.colors)||void 0===k?void 0:k.textOnBrand)&&($.colors["text-on-brand"]=null===(m=null===(u=null==t?void 0:t.designTokens)||void 0===u?void 0:u.colors)||void 0===m?void 0:m.textOnBrand),F(null===(b=null===(f=null==t?void 0:t.designTokens)||void 0===f?void 0:f.colors)||void 0===b?void 0:b.videoBg)&&($.colors["video-bg"]=null===(x=null===(h=null==t?void 0:t.designTokens)||void 0===h?void 0:h.colors)||void 0===x?void 0:x.videoBg);let T={designTokens:$,styles:{"rtk-header":{display:"grid",height:"48px",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--dyte-space-2, 8px)"},"rtk-header.sm":{display:"grid",gridArea:"header",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--dyte-space-1, 4px)"},"div#header-left":{display:"flex",alignItems:"center",height:"48px",wordBreak:"break-all",gap:"var(--header-section-gap)"},"rtk-logo":{height:"26px"},"div#header-center":{display:"flex",alignItems:"center",justifyContent:"center",wordBreak:"break-all",gap:"var(--header-section-gap)",paddingInline:"var(--dyte-space-3, 12px)"},"div#header-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--header-section-gap)"},"rtk-stage":{display:"flex",flex:"1"},"rtk-grid":{flex:"1",height:"auto"},"rtk-controlbar":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"1fr",alignItems:"center",padding:"8px"},"rtk-controlbar.sm":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"rtk-controlbar.md":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"div#controlbar-left":{display:"flex",alignItems:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-center":{display:"flex",alignItems:"center",position:"relative",overflow:"visible",justifyContent:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-mobile":{display:"flex",flex:"1",alignItems:"center",justifyContent:"center",zIndex:"10000",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--rtk-space-1, 4px)"},"rtk-settings":{width:"720px",height:"480px"},"rtk-debugger":{width:"720px",height:"480px"},"div#setupcontrols-indicator":{position:"absolute",bottom:"12px",left:"12px",display:"flex",gap:"6px",background:"rgb(var(--rtk-colors-background-800, 0 0 0))",borderRadius:"100%"},"div#setupcontrols-media":{position:"absolute",bottom:"8px",right:"8px",display:"flex",gap:"6px"},"div#setupcontrols-settings":{position:"absolute",top:"8px",right:"8px",display:"flex",flexDirection:"column",gap:"6px"},"rtk-meeting-title.sm":{marginLeft:"0"},"rtk-clock":{marginRight:"0"}},root:Object.assign(Object.assign(Object.assign({"rtk-meeting":{state:"meeting",states:["activeSidebar","activeAI"]},"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]":j,"rtk-meeting[meeting=joined].activeSidebar.sm":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeSidebar.md":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.sm":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.md":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=ended]":["rtk-ended-screen"]},I),A),{"rtk-stage":{states:["activeSidebar","activeAI"],children:["rtk-grid","rtk-notifications","rtk-transcripts"]},"rtk-stage.activeSidebar":{add:[["rtk-sidebar",{view:"sidebar"}]]},"rtk-stage.activeSidebar.sm":{remove:["rtk-sidebar"]},"rtk-stage.activeAI":{add:[["rtk-ai",{view:"sidebar"}]]},"rtk-stage.activeAI.sm":{remove:["rtk-ai"]},"rtk-grid":{states:["activeScreenShare","activePlugin","activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"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":["rtk-mixed-grid"],"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":{states:["activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-mixed-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-mixed-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-participant-tile":{state:"meeting",children:["rtk-name-tag","rtk-avatar","rtk-network-indicator"]},"rtk-participant-setup":["rtk-avatar","div#setupcontrols-media"],"rtk-participant-tile[meeting=setup]":["rtk-avatar","div#setupcontrols-indicator","div#setupcontrols-media",..._?["div#setupcontrols-settings"]:[]],"div#setupcontrols-indicator":[["rtk-audio-visualizer",{slot:"start",hideMuted:!0}]],"div#setupcontrols-media":[["rtk-mic-toggle",{size:"sm"}],["rtk-camera-toggle",{size:"sm"}]],"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"}]]}),config:{notification_sounds:{participant_left:!1},participant_joined_sound_notification_limit:3,participant_chat_message_sound_notification_limit:10,videoFit:"cover"}};return T=Q(i,T),S.showSetupScreen=null===(w=null===(y=t.setupScreen)||void 0===y?void 0:y.isEnabled)||void 0===w||w,{config:T,data:S}};export{K as d,Q as e,X as g,T as p}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t,h as
|
|
1
|
+
import{r,c as t,h as a,H as o}from"./p-0ee570cd.js";import{a as e,c as s}from"./p-ee167b96.js";import{g as c}from"./p-aaba206b.js";import{S as i}from"./p-2aa242f4.js";var n=function(r,t,a,o){var e,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(r,t,a,o);else for(var i=r.length-1;i>=0;i--)(e=r[i])&&(c=(s<3?e(c):s>3?e(t,a,c):e(t,a))||c);return s>3&&c&&Object.defineProperty(t,a,c),c};const p=class{constructor(a){r(this,a),this.groupChanged=t(this,"rtkChatGroupChanged",7),this.unreadCounts={},this.groups=[],this.iconPack=e,this.t=s(),this.showParticipantsPanel=!1,this.query="",this.onScopeClick=r=>{this.showParticipantsPanel=!1,this.groupChanged.emit(r)}}toggleParticipants(){this.showParticipantsPanel=!this.showParticipantsPanel}getGroups(){return this.groups.filter((r=>r.name.toLowerCase().includes(this.query.toLowerCase())))}getName(){if(!this.selectedGroupId||"everyone"===this.selectedGroupId)return this.t("everyone");const r=this.groups.find((r=>r.userId===this.selectedGroupId));return r?r.name:this.t("everyone")}render(){const r=Object.keys(this.unreadCounts).reduce(((r,t)=>r+this.unreadCounts[t]),0);return a(o,null,a("div",{class:"chat-scope-selector"},this.showParticipantsPanel&&a("div",{class:"participants-container"},a("div",{class:"search",part:"search"},a("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),a("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),value:this.query,onInput:r=>{this.query=r.target.value},part:"search-input"})),a("ul",{class:"scope-list scrollbar"},""===this.query&&a("li",{class:"scope scope-special",onClick:()=>this.onScopeClick("everyone")},a("div",{class:"everyone-icon"},a("rtk-icon",{icon:this.iconPack.participants})),this.t("everyone"),this.unreadCounts.everyone>0&&a("div",{class:"unread-count",part:"unread-count"},a("span",null,this.unreadCounts.everyone))),this.getGroups().map((r=>{const t=this.unreadCounts[c([this.selfUserId,r.userId])];return a("li",{class:"scope",onClick:()=>this.onScopeClick(r),key:r.userId},r.name,t>0&&a("div",{class:"unread-count",part:"unread-count"},a("span",null,t)))})))),a("button",{onClick:()=>this.toggleParticipants()},a("span",null,`${this.t("to")} ${this.getName()}`," ",r>0&&a("div",{class:"unread-count selector"},a("span",null,r))),a("rtk-icon",{icon:this.showParticipantsPanel?this.iconPack.chevron_up:this.iconPack.chevron_down}))))}};n([i()],p.prototype,"iconPack",void 0),n([i()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column}.chat-scope-selector{position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));z-index:10}.chat-scope-selector button{width:100%;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-4, 16px);display:flex;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:14px;cursor:pointer;height:var(--rtk-space-12, 48px)}.chat-scope-selector button span{display:flex;align-items:center;justify-content:flex-start}.chat-scope-selector button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-scope-selector .search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-0, 0px)}.chat-scope-selector .search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.chat-scope-selector .search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.chat-scope-selector .search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .participants-container{position:absolute;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));top:var(--rtk-space-12, 48px);animation:0.3s slide-down ease}@keyframes slide-down{from{transform:translateY(-50px)}to{transform:translateY(0%)}}.chat-scope-selector .scope-list{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);list-style-type:none;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);overflow:auto;max-height:375px}.chat-scope-selector .scope-list .scope{position:relative;display:flex;flex-direction:row;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px)}.chat-scope-selector .scope-list .scope:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.chat-scope-selector .scope-list .scope-special{margin-top:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat-scope-selector .scope-list .everyone-icon>rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.chat-scope-selector .scope-list .everyone-icon{display:flex;height:100%;width:100%;align-items:center;justify-content:center;margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px}.unread-count.selector{position:unset;margin-left:var(--rtk-space-2, 8px)}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px)}";export{p as rtk_chat_selector_ui}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as r}from"./p-
|
|
1
|
+
import{r as t,h as e,H as r}from"./p-0ee570cd.js";import{d as a,a as i,c as o}from"./p-ee167b96.js";import{S as c}from"./p-2aa242f4.js";var s=function(t,e,r,a){var i,o=arguments.length,c=o<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,r,a);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(c=(o<3?i(c):o>3?i(e,r,c):i(e,r))||c);return o>3&&c&&Object.defineProperty(e,r,c),c};const n=class{constructor(e){t(this,e),this.config=a,this.iconPack=i,this.t=o()}render(){return e(r,{key:"77f62eac2bfd382e325dbb6e1e2386c5eb3d13a6"},e("slot",{key:"efa083572c73db00e2db935fd44eefc85da2f22d"},e("div",{key:"f03cb8e9293d618bf17532ce139311998d6332f8",class:"centered",part:"content"},e("rtk-logo",{key:"4f80c7bd29784e0edcb069c5f8c90ea6662831d4",meeting:this.meeting,config:this.config,part:"logo",t:this.t}),e("p",{key:"d8a7bd5e11b2bec6e9a108c6c1c64d2b45df4a66"},this.t("waitlist.body_text")))))}};s([c()],n.prototype,"meeting",void 0),s([c()],n.prototype,"iconPack",void 0),s([c()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.centered{display:flex;flex-direction:column;align-items:center}rtk-logo{margin-bottom:var(--rtk-space-8, 32px);height:var(--rtk-space-12, 48px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}";export{n as rtk_waiting_screen}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as a}from"./p-
|
|
1
|
+
import{r as t,h as e,H as a}from"./p-0ee570cd.js";import{d as r,a as i,c}from"./p-ee167b96.js";import{S as n}from"./p-2aa242f4.js";var o=function(t,e,a,r){var i,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,r);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(n=(c<3?i(n):c>3?i(e,a,n):i(e,a))||n);return c>3&&n&&Object.defineProperty(e,a,n),n};const s=class{constructor(e){t(this,e),this.config=r,this.iconPack=i,this.t=c()}render(){return e(a,{key:"9f9d0064dfc52af63ae90921929b25c822cb4d8c"},e("slot",{key:"c1c5744d86e89b22fa5f5c1b623ea97c0a1d2731"},e("div",{key:"25e311957c411c61940fa1d51e350d466b0b2c92",class:"ctr",part:"container"},e("rtk-logo",{key:"daac0467ba4c3f5f9c7e23667c928e4ed40d6f96",meeting:this.meeting,config:this.config,t:this.t,part:"logo"}),e("rtk-spinner",{key:"c36f58219362cb8d6c31eb975004428439592d3f","aria-label":"Idle, waiting for meeting data",part:"spinner",iconPack:this.iconPack}))))}};o([n()],s.prototype,"meeting",void 0),o([n()],s.prototype,"iconPack",void 0),o([n()],s.prototype,"t",void 0),s.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}rtk-spinner{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";export{s as rtk_idle_screen}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,c as r,h as e,H as t}from"./p-
|
|
1
|
+
import{r as a,c as r,h as e,H as t}from"./p-0ee570cd.js";import{c as o,a as c}from"./p-ee167b96.js";import{d as i}from"./p-9fc565cf.js";import{S as s}from"./p-2aa242f4.js";import{f as d,s as n}from"./p-338c7261.js";var l=function(a,r,e,t){var o,c=arguments.length,i=c<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,r,e,t);else for(var s=a.length-1;s>=0;s--)(o=a[s])&&(i=(c<3?o(i):c>3?o(r,e,i):o(r,e))||i);return c>3&&i&&Object.defineProperty(r,e,i),i};const b=class{constructor(e){a(this,e),this.close=r(this,"close",7),this.t=o(),this.iconPack=c,this.keypressListener=a=>{"Escape"===a.key&&this.close.emit()},this.handleOutsideClick=()=>this.close.emit()}connectedCallback(){document.addEventListener("keydown",this.keypressListener),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){document.removeEventListener("keydown",this.keypressListener),document.removeEventListener("click",this.handleOutsideClick)}render(){return e(t,{key:"2bb235425497f7932f5cfd73ab7faa2c15d3691d",class:"scrollbar",onClick:a=>a.stopPropagation()},e("div",{key:"04dd5a250967f61e20b7b8fe559ca4ea1012f949",class:"header"},e("div",{key:"9f533863c5d32c7333c872333d7c6c14c02f5827",class:"shared-by-user"},this.t("chat.img.shared_by")," ",e("span",{key:"6e24710128bef29114ba0fa4f7c06561a7293a96",class:"displayName"},d(n(this.image.displayName)))),e("div",{key:"1d7e518f2b61c74634885518450a0364691205cb",class:"actions"},e("rtk-button",{key:"b9ca96cf9eef4dfe347412daeec77f6b5183e5c5",onClick:()=>i(this.image.link,{fallbackName:"image"})},e("rtk-icon",{key:"ee1326105412e04d113b35a8b1815f22c0699b87",icon:this.iconPack.download,slot:"start"}),"Download"),e("rtk-button",{key:"240d7f9f00f19031402bfca7c54d65a1f3bbef6d",kind:"icon",variant:"secondary",onClick:()=>this.close.emit()},e("rtk-icon",{key:"91e47a9b52baf9f28efda7b1d98f12d90724da1f",icon:this.iconPack.dismiss})))),e("div",{key:"e50deb0d992a18b49641ccfde023f256083d05c7",class:"image-ctr"},e("img",{key:"febe53b5401100dd4a7e9c46693302e4c8dd711c",src:this.image.link})))}};l([s()],b.prototype,"size",void 0),l([s()],b.prototype,"t",void 0),l([s()],b.prototype,"iconPack",void 0),b.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{width:1140px;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-6, 24px);padding-top:var(--rtk-space-5, 20px);overflow-y:auto;color:rgb(var(--rtk-colors-text-1000, 255 255 255));z-index:40;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.displayName{font-weight:700}.image-ctr{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;justify-content:center;overflow:hidden}.actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}img{box-sizing:border-box;display:block;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.header{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--rtk-space-4, 16px)}.shared-by-user{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']) .header{flex-direction:column}:host([size='sm']) .header .actions{margin-top:var(--rtk-space-4, 16px)}";export{b as rtk_image_viewer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as
|
|
1
|
+
import{r as t,h as i,H as e,a as s}from"./p-0ee570cd.js";import{d as a,a as o,c as n}from"./p-ee167b96.js";import{R as h}from"./p-c8eaa707.js";import{u as r}from"./p-b13ddb7d.js";import{i as c}from"./p-f47d4fe8.js";import{S as p}from"./p-2aa242f4.js";var d=function(t,i,e,s){var a,o=arguments.length,n=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(o<3?a(n):o>3?a(i,e,n):a(i,e))||n);return o>3&&n&&Object.defineProperty(i,e,n),n};const l=class{constructor(i){t(this,i),this.participants=[],this.aspectRatio="16:9",this.gap=8,this.config=a,this.iconPack=o,this.t=n(),this.dimensions={width:0,height:0},this.setHostDimensions=()=>{const{clientWidth:t,clientHeight:i}=this.host;this.dimensions={width:t,height:i}}}connectedCallback(){this.resizeObserver=new c(this.setHostDimensions),this.resizeObserver.observe(this.host),this.meetingChanged(this.meeting)}meetingChanged(t){const i=null==t?void 0:t.meta;i&&(this.mediaConnection=Object.assign({},i.mediaState))}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},{width:s,height:a,getPosition:o}=r({dimensions:this.dimensions,count:this.participants.length,aspectRatio:this.aspectRatio,gap:this.gap});return i(e,{key:"954285505c59c26020a13412683395dd80bfd0b9"},i("slot",{key:"5843e6f185d9e10a0e74b8f8e234b0e82e78c9fd"},this.participants.map(((e,n)=>{const{top:r,left:c}=o(n);return i(h,{element:"rtk-participant-tile",defaults:t,props:{participant:e,style:{position:"absolute",top:`${r}px`,left:`${c}px`,width:`${s}px`,height:`${a}px`},key:e.id,"data-participant":e.id,mediaConnection:this.mediaConnection},childProps:{participant:e},deepProps:!0})}))))}get host(){return s(this)}static get watchers(){return{meeting:["meetingChanged"]}}};d([p()],l.prototype,"size",void 0),d([p()],l.prototype,"meeting",void 0),d([p()],l.prototype,"states",void 0),d([p()],l.prototype,"iconPack",void 0),d([p()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:100%;width:100%}";export{l as rtk_simple_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a as o,c as a,o as r}from"./p-ee167b96.js";import{S as n}from"./p-2aa242f4.js";var c=function(t,i,s,e){var o,a=arguments.length,r=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(i,s,r):o(i,s))||r);return a>3&&r&&Object.defineProperty(i,s,r),r};const l=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=o,this.t=a(),this.canToggle=!1,this.permissionsUpdateListener=()=>{this.canToggle=r(this.meeting)},this.breakoutRoomToggle=()=>{var t,i;this.stateUpdate.emit({activeBreakoutRoomsManager:{active:!(null===(i=null===(t=this.states)||void 0===t?void 0:t.activeBreakoutRoomsManager)||void 0===i?void 0:i.active),mode:this.meeting.connectedMeetings.isActive?"view":"create"}})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,s;null===(s=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===s||s.off("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){t&&(this.canToggle=r(t),t.self.permissions.on("permissionsUpdate",this.permissionsUpdateListener))}render(){if(this.canToggle)return s(e,{title:this.t("breakout_rooms")},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.breakoutRoomToggle,icon:this.iconPack.breakout_rooms,label:this.t("breakout_rooms"),variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"states",void 0),c([n()],l.prototype,"size",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{l as rtk_breakout_rooms_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a,c as n}from"./p-ee167b96.js";import{i as o,r,e as c,a as h}from"./p-02f19345.js";import{S as l}from"./p-2aa242f4.js";var f=function(t,i,s,e){var a,n=arguments.length,o=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(o=(n<3?a(o):n>3?a(i,s,o):a(i,s))||o);return n>3&&o&&Object.defineProperty(i,s,o),o};const d=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=n(),this.fullScreenActive=!1,this.isFullScreenSupported=!0,this.onFullScreenchange=()=>{this.fullScreenActive=o()},this.toggleFullScreen=()=>{let t=this.targetElement||document.querySelector("rtk-meeting");t&&(this.fullScreenActive?(c(),this.fullScreenActive=!1):(r(t),this.fullScreenActive=!0),this.stateUpdate.emit({activeMoreMenu:!1}))}}connectedCallback(){this.isFullScreenSupported=h(),this.onFullScreenchange(),window.addEventListener("webkitfullscreenchange",this.onFullScreenchange),window.addEventListener("fullscreenchange",this.onFullScreenchange)}disconnectedCallback(){window.removeEventListener("webkitfullscreenchange",this.onFullScreenchange),window.removeEventListener("fullscreenchange",this.onFullScreenchange)}render(){return this.isFullScreenSupported?s(e,{title:this.t("full_screen")},s("rtk-controlbar-button",{size:this.size,iconPack:this.iconPack,onClick:this.toggleFullScreen,icon:this.fullScreenActive?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,label:this.t(this.fullScreenActive?"full_screen.exit":"full_screen"),variant:this.variant})):s(e,{"data-hidden":!0})}};f([l()],d.prototype,"states",void 0),f([l()],d.prototype,"size",void 0),f([l()],d.prototype,"iconPack",void 0),f([l()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{d as rtk_fullscreen_toggle}
|