@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 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as a}from"./p-533ecbf2.js";import{a as e,c as o}from"./p-0d9929ac.js";import{S as r}from"./p-0218a56b.js";var n=function(t,i,s,a){var e,o=arguments.length,r=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(r=(o<3?e(r):o>3?e(i,s,r):e(i,s))||r);return o>3&&r&&Object.defineProperty(i,s,r),r};const c=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=o(),this.aiActive=!1}statesChanged(t){this.aiActive=t.activeAI}toggleAI(){var t;this.aiActive=!(null===(t=this.states)||void 0===t?void 0:t.activeAI),this.stateUpdate.emit({activeAI:this.aiActive,activeMoreMenu:!1,activeSidebar:!1})}render(){var t,i;const e=this.t("ai.meeting_ai");return(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions).transcriptionEnabled?s(a,{title:e},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.aiActive},onClick:()=>this.toggleAI(),icon:this.iconPack.meeting_ai,label:e,variant:this.variant,brandIcon:!0})):s(a,{"data-hidden":!0})}static get watchers(){return{states:["statesChanged"]}}};n([r()],c.prototype,"states",void 0),n([r()],c.prototype,"meeting",void 0),n([r()],c.prototype,"size",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],c.prototype,"t",void 0),c.style=":host{display:block}:host([data-hidden]){display:none}";export{c as rtk_ai_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as r,H as o}from"./p-533ecbf2.js";import{a}from"./p-0d9929ac.js";import{S as i}from"./p-0218a56b.js";var e=function(t,r,o,a){var i,e=arguments.length,n=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,o,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(n=(e<3?i(n):e>3?i(r,o,n):i(r,o))||n);return e>3&&n&&Object.defineProperty(r,o,n),n};const n=class{constructor(r){t(this,r),this.variant="button",this.showWarning=!1,this.disabled=!1,this.iconPack=a,this.brandIcon=!1}render(){return r(o,{key:"3170196be51638562b89397c6b7cfee143e36253"},r("button",{key:"a15f74dca82c8b5dce841cc9b7fabc1eff29f79b","aria-label":this.label,part:"button"},this.isLoading?r("rtk-spinner",{id:"icon",part:"spinner",iconPack:this.iconPack}):r("rtk-icon",{id:"icon",icon:this.icon,tabIndex:-1,"aria-hidden":!0,part:"icon"}),r("span",{key:"940ed7a610d8d5ac5fec7d6759d7b065f157f250",class:"label",part:"label"},this.label),this.showWarning&&r("rtk-icon",{key:"94efa90a82eedb5923bb539776744d4e91e45c0f",id:"warning-indicator",icon:this.iconPack.warning,part:"warning-indicator"})))}};e([i()],n.prototype,"size",void 0),e([i()],n.prototype,"iconPack",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{--background-color:var(\n --rtk-controlbar-button-background-color,\n rgb(var(--rtk-colors-background-1000, 8 8 8))\n );--icon-size:var(--rtk-controlbar-button-icon-size, var(--rtk-space-7, 28px));position:relative;box-sizing:border-box;display:inline-flex;height:100%;width:auto;min-width:var(--rtk-space-20, 80px);-webkit-user-select:none;-moz-user-select:none;user-select:none;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--background-color)}button{padding:var(--rtk-space-1, 4px)}:host(.red-icon) #icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([disabled]){color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}button{box-sizing:border-box;display:inline-flex;height:100%;width:100%;flex:1 1 0%;flex-direction:column;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);align-items:center;justify-content:center;cursor:pointer;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:inherit;outline-offset:-2px;border:var(--rtk-border-width-md, 2px) solid transparent}.label{text-align:center;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#warning-indicator{position:absolute;top:var(--rtk-space-1, 4px);right:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}:host([size='sm']) #warning-indicator{right:var(--rtk-space-0, 0px);top:var(--rtk-space-0, 0px);height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host(:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}#icon{width:var(--icon-size);height:var(--icon-size)}:host(.leave:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-danger, 255 45 45))}:host(.active) button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-brand-400, 53 110 253))}button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}:host(.active-livestream){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']){min-width:var(--rtk-space-14, 56px)}:host([size='sm']) .label{display:none}:host([variant='horizontal']){width:100%}:host([variant='horizontal']) button{border-radius:7px;height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);flex-direction:row;justify-content:flex-start;gap:var(--rtk-space-3, 12px)}:host([variant='horizontal']) #icon{width:var(--rtk-space-6, 24px)}:host([variant='horizontal']) .label{display:block;font-size:14px;line-height:1.25rem}:host([variant='horizontal']) #warning-indicator{right:auto;left:var(--rtk-space-4, 16px)}:host([brand-icon]) rtk-icon#icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host .label{display:none}:slotted(rtk-icon){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}}";export{n as rtk_controlbar_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as a}from"./p-533ecbf2.js";import{a as e,c as n}from"./p-0d9929ac.js";import{b as o}from"./p-1567a135.js";import{S as l}from"./p-0218a56b.js";var r=function(t,i,s,a){var e,n=arguments.length,o=n<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,a);else for(var l=t.length-1;l>=0;l--)(e=t[l])&&(o=(n<3?e(o):n>3?e(i,s,o):e(i,s))||o);return n>3&&o&&Object.defineProperty(i,s,o),o};const h=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=n(),this.pluginsActive=!1,this.canViewPlugins=!1,this.updateCanView=()=>{this.canViewPlugins=o(this.meeting)}}disconnectedCallback(){var t,i,s,a;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.updateCanView),null===(a=null===(s=this.meeting)||void 0===s?void 0:s.self)||void 0===a||a.permissions.removeListener("pluginsUpdate",this.updateCanView)}connectedCallback(){this.statesChanged(this.states),this.meetingChanged(this.meeting)}meetingChanged(t){var i,s;null!=t&&(this.canViewPlugins=o(t),null===(i=null==t?void 0:t.stage)||void 0===i||i.on("stageStatusUpdate",this.updateCanView),null===(s=null==t?void 0:t.self)||void 0===s||s.permissions.addListener("pluginsUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pluginsActive=!0===t.activeSidebar&&"plugins"===t.sidebar)}togglePlugins(){const t=this.states;this.pluginsActive=!((null==t?void 0:t.activeSidebar)&&"plugins"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pluginsActive,sidebar:this.pluginsActive?"plugins":void 0,activeMoreMenu:!1,activeAI:!1})}render(){if(!this.canViewPlugins)return s(a,{"data-hidden":!0});const t=this.t("plugins");return s(a,{title:t},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pluginsActive},onClick:()=>this.togglePlugins(),icon:this.iconPack.rocket,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"]}}};r([l()],h.prototype,"meeting",void 0),r([l()],h.prototype,"states",void 0),r([l()],h.prototype,"size",void 0),r([l()],h.prototype,"iconPack",void 0),r([l()],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_plugins_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as r}from"./p-533ecbf2.js";import{a as i,c as o}from"./p-0d9929ac.js";import{S as a}from"./p-0218a56b.js";var n=function(t,e,r,i){var o,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,i);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(e,r,n):o(e,r))||n);return a>3&&n&&Object.defineProperty(e,r,n),n};const s=class{constructor(e){t(this,e),this.iconPack=i,this.t=o()}render(){var t;const i=null===(t=this.meeting)||void 0===t?void 0:t.meta.meetingTitle;return null==i?null:e(r,{tabIndex:0,role:"banner","aria-label":i},e("rtk-tooltip",{label:i,part:"tooltip"},e("div",{class:"title",part:"title"},i)))}};n([a()],s.prototype,"meeting",void 0),n([a()],s.prototype,"iconPack",void 0),n([a()],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{margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:16px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.title{text-align:center;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']){font-size:12px}";export{s as rtk_meeting_title}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as a}from"./p-533ecbf2.js";import{c as e,a as r}from"./p-0d9929ac.js";import{S as n}from"./p-0218a56b.js";var s=function(t,i,a,e){var r,n=arguments.length,s=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,a,e);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(n<3?r(s):n>3?r(i,a,s):r(i,a))||s);return n>3&&s&&Object.defineProperty(i,a,s),s};const c=class{constructor(i){t(this,i),this.t=e(),this.iconPack=r,this.setIsRecording=t=>{this.isRecording="RECORDING"===t}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.updateRecordingStatus)}meetingChanged(t){null!=t&&(this.setIsRecording(t.recording.recordingState),this.updateRecordingStatus=t=>{this.setIsRecording(t)},t.recording.addListener("recordingUpdate",this.updateRecordingStatus))}render(){return i(a,{key:"b08cb38ca93d2db33679ac266e18063c4a2756cf"},this.isRecording&&i("div",{key:"5ba29ae19d2b338f32ec07ec2ef2662c61a7b5f9",class:"indicator","aria-label":this.t("recording.indicator"),part:"indicator"},i("rtk-icon",{key:"6ed9ed4a1191ee245f4d1315fcf9f9a6c958687e",icon:this.iconPack.recording,"aria-hidden":!0,tabIndex:-1,part:"icon"}),i("span",{key:"c7bb79757e0b9ce8b4637645efbef75fb22e2a33"},this.t("recording.label"))))}static get watchers(){return{meeting:["meetingChanged"]}}};s([n()],c.prototype,"meeting",void 0),s([n()],c.prototype,"size",void 0),s([n()],c.prototype,"t",void 0),s([n()],c.prototype,"iconPack",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{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);display:block}:host[size='sm']{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px)}.indicator{display:flex;flex-direction:row;align-items:center;font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);animation:blink 4s linear infinite}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='sm']) .indicator span{display:none}@keyframes blink{0%,10%{opacity:0}11%,100%{opacity:1}}";export{c as rtk_recording_indicator}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-533ecbf2.js";import{s as a,f as s}from"./p-338c7261.js";const o=(t,a)=>{const s=a.getTime()-t.getTime();return Math.round(Math.abs(s/1e3/60))},r=(t,a)=>{const s=o(t,a);if(s<2)return"just now";if(s<60)return`${s}m ago`;const r=Math.round(s/60);if(s<90)return`about ${r}h ago`;if(r<24)return`${r}h ago`;const e=Math.round(r/24);return e<7?`${e}d ago`:`${Math.round(e/7)}w ago`},e=t=>t.toDateString()+" "+t.toLocaleTimeString(),n=({name:o,time:n,now:i})=>t("div",{class:"head"},t("div",{class:"name"},a(s(o),20)),t("div",{class:"time",title:e(n)},r(n,i)));export{n as C,o as d,r as e,e as f}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as e,H as r}from"./p-533ecbf2.js";import{a as s,c as o}from"./p-0d9929ac.js";import{S as i}from"./p-0218a56b.js";var f=function(t,a,e,r){var s,o=arguments.length,i=o<3?a:null===r?r=Object.getOwnPropertyDescriptor(a,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,a,e,r);else for(var f=t.length-1;f>=0;f--)(s=t[f])&&(i=(o<3?s(i):o>3?s(a,e,i):s(a,e))||i);return o>3&&i&&Object.defineProperty(a,e,i),i};const n=class{constructor(e){t(this,e),this.stateUpdate=a(this,"rtkStateUpdate",7),this.iconPack=s,this.t=o()}render(){return e(r,{key:"f3dba7a49cfd4c051dfba4cef64430ec670512d8"},e("slot",{key:"6500537d6fb1f3da3ede35f4e9aa3f227c71323f"}))}};f([i()],n.prototype,"iconPack",void 0),f([i()],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{display:block;position:relative;overflow:hidden}";export{n as rtk_stage}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as a}from"./p-533ecbf2.js";import{d as r,a as e,c as o}from"./p-0d9929ac.js";import{c as h,d as n,a as d,b as l}from"./p-1567a135.js";import{S as p}from"./p-0218a56b.js";import{R as c}from"./p-1b0b0f2d.js";var v=function(t,i,s,a){var r,e=arguments.length,o=e<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,a);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(o=(e<3?r(o):e>3?r(i,s,o):r(i,s))||o);return e>3&&o&&Object.defineProperty(i,s,o),o};const b=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.enabledSections=[],this.defaultSection="chat",this.config=r,this.iconPack=e,this.t=o(),this.view="sidebar",this.currentTab=this.defaultSection,this.isFloating=!1,this.enablePinning=!0,this.getTabs=()=>this.meeting.self.config?this.enabledSections.filter((t=>this.meeting.self.config.controlBar.elements[t.id])):this.enabledSections,this.close=()=>{this.stateUpdate.emit({activeSidebar:!1,sidebar:this.defaultSection})},this.toggleFloating=()=>{this.isFloating=!this.isFloating}}connectedCallback(){var t;this.viewChanged(this.view),this.statesChanged(this.states),this.meetingChanged(this.meeting),this.isFloating=(null===(t=this.states)||void 0===t?void 0:t.sidebarFloating)||!1}disconnectedCallback(){var t,i;document.removeEventListener("keydown",this.keydownListener),null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.onStageStatusUpdate),this.onStageStatusUpdate=null}meetingChanged(t){var i,s;this.updateEnabledSections(t),this.onStageStatusUpdate=()=>{this.updateEnabledSections(this.meeting)},null===(s=null===(i=this.meeting)||void 0===i?void 0:i.stage)||void 0===s||s.on("stageStatusUpdate",this.onStageStatusUpdate)}statesChanged(t){(null==t?void 0:t.sidebar)&&(this.currentTab=t.sidebar)}viewChanged(t){"full-screen"===t?(this.enablePinning=!1,this.keydownListener=t=>{"Escape"===t.key&&this.close()},document.addEventListener("keydown",this.keydownListener)):this.enablePinning=!0}viewSection(t){this.currentTab=t,this.stateUpdate.emit({activeSidebar:!0,sidebar:this.currentTab})}updateEnabledSections(t=this.meeting){const i=[];h(t)&&i.push({id:"chat",name:this.t("chat")}),n(t)&&i.push({id:"polls",name:this.t("polls")}),d(t)&&i.push({id:"participants",name:this.t("participants")}),l(t)&&i.push({id:"plugins",name:this.t("plugins")}),this.enabledSections=i}render(){var t;const i={meeting:this.meeting,config:this.config,states:this.states,size:this.size,t:this.t,iconPack:this.iconPack};return!1!==(null===(t=i.states)||void 0===t?void 0:t.activeSidebar)&&this.currentTab?s(a,{class:this.enablePinning?this.isFloating?"floating":"":"floating"},s("rtk-sidebar-ui",{tabs:this.getTabs(),currentTab:this.currentTab,view:this.view,onTabChange:t=>{this.viewSection(t.detail)},onSidebarClose:this.close},this.enablePinning&&s("div",{class:"pinned-state",slot:"pinned-state"},s("rtk-button",{variant:"ghost",kind:"icon",onClick:this.toggleFloating,"aria-label":this.t(this.isFloating?"pin":"unpin")},s("rtk-icon",{icon:this.isFloating?this.iconPack.pin:this.iconPack.pin_off}))),"chat"===i.states.sidebar&&s(c,{element:"rtk-chat",defaults:i,props:{slot:"chat"}}),"polls"===i.states.sidebar&&s("rtk-polls",Object.assign({},i,{slot:"polls"})),"participants"===i.states.sidebar&&s(c,{element:"rtk-participants",defaults:i,props:{slot:"participants"}}),"plugins"===i.states.sidebar&&s("rtk-plugins",Object.assign({},i,{slot:"plugins"})))):null}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"],view:["viewChanged"]}}};v([p()],b.prototype,"meeting",void 0),v([p()],b.prototype,"states",void 0),v([p()],b.prototype,"iconPack",void 0),v([p()],b.prototype,"t",void 0),v([p()],b.prototype,"size",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)}:host{height:100%;width:100%;max-width:var(--rtk-space-96, 384px);box-sizing:border-box;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity))}:host([view='sidebar']){right:var(--rtk-space-2, 8px);overflow:clip;border-radius:var(--rtk-border-radius-lg, 12px);--tw-shadow:0 25px 50px -12px rgb(0 0 0 / 0.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-900, 26 26 26));--tw-shadow:var(--tw-shadow-colored)}:host([view='full-screen']){top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);max-width:100%}:host(.floating){position:absolute !important;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);left:auto;z-index:50}.pinned-state{position:absolute;right:var(--rtk-space-1, 4px);display:inline-flex;width:var(--rtk-space-2, 8px);justify-content:flex-end}";export{b as rtk_sidebar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as i}from"./p-533ecbf2.js";import{a}from"./p-0d9929ac.js";import{S as r}from"./p-0218a56b.js";var n=function(t,e,i,a){var r,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const s=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,a;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(a=t.meta)||void 0===a||a.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=`${s(t/3600)}:`),e+=`${s(t%3600/60)}:${s(t%60)}`,e}render(){return e(i,{key:"d831d119c2e44c4425a5177cc0638449bfc547c0",tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"ad15c7f2f8204d6677142b1d31e0a98fdac3130e",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"618dc61137349926d26c65664facbdbde01353e8",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:["meetingChanged"],startedTime:["startedTimeChanged"]}}};n([r()],o.prototype,"meeting",void 0),n([r()],o.prototype,"iconPack",void 0),o.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{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([size='sm']){margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px);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{o as rtk_clock}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,c as t,h as a,H as e}from"./p-533ecbf2.js";import{S as r}from"./p-0218a56b.js";import{a as o,c as i}from"./p-0d9929ac.js";const s=class{constructor(a){n(this,a),this.tabChange=t(this,"tabChange",7),this.sidebarClose=t(this,"sidebarClose",7),this.view="sidebar",this.tabs=[],this.hideHeader=!1,this.hideCloseAction=!1,this.iconPack=o,this.t=i(),this.onClose=()=>{this.sidebarClose.emit()}}render(){const n="full-screen"===this.view,t=this.tabs.find((n=>n.id===this.currentTab));return a(e,{key:"7e7b26b4e4ee46ca3a2736954dd696cfacf778fd",class:this.view},!this.hideCloseAction&&a("rtk-button",{key:"d8a79d17cefc4bb509545f42f1079e7a5827753d",variant:"ghost",kind:"icon",class:"close",onClick:this.onClose,"aria-label":this.t("close")},a("rtk-icon",{key:"b1d5af04e05834fbf8cc11632b16517712e7868a",icon:this.iconPack.dismiss})),t&&!this.hideHeader&&a("header",{key:"8b11b797a4dea3eb59f3f3840adb312cca5e9e60",class:"main-header"},a("h3",{key:"b242b4d75916bcdfbac23acfdc3c8576e362cc65"},t.name),a("slot",{key:"7484af9d5711eae12ab57bf186e6657f04098b29",name:"pinned-state"})),n&&a("header",{key:"71f70ff55b811ebe2f68ef3d8456ec0a686f292c",class:"mobile-tabs"},this.tabs.map((n=>a("button",{onClick:()=>{this.tabChange.emit(n.id)},class:{active:this.currentTab===n.id}},n.name)))),a("slot",{key:"095e9ef2c92879725c5d10d3e4583a10aad66911",name:this.currentTab}))}};(function(n,t,a,e){var r,o=arguments.length,i=o<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(n,t,a,e);else for(var s=n.length-1;s>=0;s--)(r=n[s])&&(i=(o<3?r(i):o>3?r(t,a,i):r(t,a))||i);o>3&&i&&Object.defineProperty(t,a,i)})([r()],s.prototype,"t",void 0),s.style=":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n\n:host {\n position: relative;\n height: 100%;\n width: 100%;\n font-family: var(--rtk-font-family, sans-serif);\n z-index: 50;\n display: flex;\n flex-direction: column;\n\n container-type: size;\n container-name: sidebarui;\n}\n\n@container sidebarui (height < 370px) {\n .main-header {\n height: var(--rtk-space-8, 32px) !important;\n }\n .close {\n top: var(--rtk-space-0\\.5, 2px) !important;\n left: var(--rtk-space-0, 0px) !important;\n color: rgba(var(--rtk-colors-danger, 255 45 45) / 0.6);\n }\n}\n\n:host([view='sidebar']) {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));\n}\n\n:host([view='full-screen']) {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n max-width: 100%;\n border: none;\n}\n\n::slotted(*) {\n flex-grow: 1;\n}\n\n.close {\n position: absolute;\n top: var(--rtk-space-2, 8px);\n left: var(--rtk-space-2, 8px);\n z-index: 10;\n}\n\n.main-header {\n position: relative;\n display: flex;\n height: var(--rtk-space-12, 48px);\n place-items: center;\n justify-content: center;\n}\n\n.main-header, \n.mobile-tabs {\n flex-shrink: 0;\n}\n\n.mobile-tabs {\n display: flex;\n place-items: center;\n justify-content: space-evenly;\n border-bottom: 1px solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.mobile-tabs button {\n margin: var(--rtk-space-0, 0px);\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n background-color: transparent;\n padding: var(--rtk-space-0, 0px);\n color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));\n height: var(--rtk-space-10, 40px);\n cursor: pointer;\n padding-left: var(--rtk-space-4, 16px);\n padding-right: var(--rtk-space-4, 16px);\n font-weight: 500;\n border-bottom: 1px solid transparent;\n}\n\n.mobile-tabs button.active {\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));\n}\n\nheader h3 {\n font-size: 14px;\n font-weight: 500;\n}\n\n@media only screen and (max-device-height: 480px) and (orientation: landscape) {\n .main-header {\n display: none !important;\n }\n}\n\n.tab-participant-count-badge {\n display: inline-block;\n padding: 2px 5px;\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));\n}\n\n.tab-participant-count-badge:not(.selected-tab) {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n}\n\n.tab-participant-count-badge.requests-pending{\n background-color: rgba(var(--rtk-colors-danger));\n}\n";export{s as rtk_sidebar_ui}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as a}from"./p-533ecbf2.js";import{a as e,c as o}from"./p-0d9929ac.js";import{d as r}from"./p-1567a135.js";import{S as n}from"./p-0218a56b.js";var l=function(t,s,i,a){var e,o=arguments.length,r=o<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(r=(o<3?e(r):o>3?e(s,i,r):e(s,i))||r);return o>3&&r&&Object.defineProperty(s,i,r),r};const c=class{constructor(i){t(this,i),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=o(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=r(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,s,i,a,e,o;null===(s=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===s||s.removeListener("pollsUpdate",this.onPollsUpdate),null===(a=null===(i=this.meeting)||void 0===i?void 0:i.self)||void 0===a||a.permissions.removeListener("pollsUpdate",this.updateCanView),null===(o=null===(e=this.meeting)||void 0===e?void 0:e.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var s,i;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(s=null==t?void 0:t.self)||void 0===s||s.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=r(t),null===(i=null==t?void 0:t.stage)||void 0===i||i.on("stageStatusUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pollsActive=!0===t.activeSidebar&&"polls"===t.sidebar)}togglePollsTab(){const t=this.states;this.unreadPollsCount=0,this.pollsActive=!((null==t?void 0:t.activeSidebar)&&"polls"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pollsActive,sidebar:this.pollsActive?"polls":void 0,activeMoreMenu:!1,activeAI:!1})}render(){if(!this.canViewPolls)return i(a,{"data-hidden":!0});const t=this.t("polls");return i(a,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&i("div",{class:"unread-count",part:"unread-count"},i("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),i("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pollsActive},onClick:()=>this.togglePollsTab(),icon:this.iconPack.poll,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"]}}};l([n()],c.prototype,"meeting",void 0),l([n()],c.prototype,"states",void 0),l([n()],c.prototype,"size",void 0),l([n()],c.prototype,"iconPack",void 0),l([n()],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}:host([data-hidden]){display:none}.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}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}";export{c as rtk_polls_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as e}from"./p-533ecbf2.js";import{a as s,c as a,q as r}from"./p-0d9929ac.js";import{S as n}from"./p-0218a56b.js";var o=function(t,i,e,s){var a,r=arguments.length,n=r<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 o=t.length-1;o>=0;o--)(a=t[o])&&(n=(r<3?a(n):r>3?a(i,e,n):a(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};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=r(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=r(this.meeting)},null==t||t.stage.addListener("stageStatusUpdate",this.stageUpdateListener)),t.self.addListener("roomJoined",this.countListener))}render(){return this.isViewer?null: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([n()],h.prototype,"meeting",void 0),o([n()],h.prototype,"iconPack",void 0),o([n()],h.prototype,"t",void 0),o([n()],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{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);display:inline-flex;height:var(--rtk-space-10, 40px);-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center}:host([size='sm']){margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px);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 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as a,H as s}from"./p-533ecbf2.js";import{a as e,c as r,j as o}from"./p-0d9929ac.js";import{c as n}from"./p-1567a135.js";import{S as l}from"./p-0218a56b.js";var c=function(t,i,a,s){var e,r=arguments.length,o=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,a,s);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(o=(r<3?e(o):r>3?e(i,a,o):e(i,a))||o);return r>3&&o&&Object.defineProperty(i,a,o),o};const d=class{constructor(a){t(this,a),this.stateUpdate=i(this,"rtkStateUpdate",7),this.unreadMessageCount=0,this.variant="button",this.iconPack=e,this.t=r(),this.chatActive=!1,this.canViewChat=!1,this.hasNewMessages=!1,this.onChatUpdate=({action:t,message:i})=>{var a;this.chatActive||"add"===t&&i.userId!==(null===(a=this.meeting)||void 0===a?void 0:a.self.userId)&&(this.hasNewMessages=!0,this.unreadMessageCount+=1)},this.toggleChat=()=>{const t=this.states;this.chatActive=!((null==t?void 0:t.activeSidebar)&&"chat"===(null==t?void 0:t.sidebar)),this.chatActive&&(this.unreadMessageCount=0,this.hasNewMessages=!1),this.stateUpdate.emit({activeSidebar:this.chatActive,sidebar:this.chatActive?"chat":void 0,activeMoreMenu:!1,activeAI:!1})},this.updateCanView=()=>{this.canViewChat=n(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,a,s,e,r;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.chat)||void 0===i||i.removeListener("chatUpdate",this.onChatUpdate),null===(s=null===(a=this.meeting)||void 0===a?void 0:a.stage)||void 0===s||s.removeListener("stageStatusUpdate",this.updateCanView),null===(r=null===(e=this.meeting)||void 0===e?void 0:e.self)||void 0===r||r.permissions.removeListener("chatUpdate",this.updateCanView)}meetingChanged(t){var i,a,s,e,r,l,c;if(null==t)return;o(t)&&(null===(i=t.chat)||void 0===i||i.getMessages((new Date).getTime(),1,!0).then((t=>{var i;(null===(i=null==t?void 0:t.messages)||void 0===i?void 0:i.length)&&(this.hasNewMessages=!0)})));const d=null!==(s=null===(a=t.meta)||void 0===a?void 0:a.meetingStartedTimestamp.getTime())&&void 0!==s?s:0,h=null===(e=t.chat)||void 0===e?void 0:e.messages.filter((t=>t.timeMs>d));this.unreadMessageCount=h.length||0,null===(r=t.chat)||void 0===r||r.addListener("chatUpdate",this.onChatUpdate),this.canViewChat=n(t),null===(l=null==t?void 0:t.stage)||void 0===l||l.on("stageStatusUpdate",this.updateCanView),null===(c=null==t?void 0:t.self)||void 0===c||c.permissions.on("chatUpdate",this.updateCanView)}statesChanged(t){null!=t&&(this.chatActive=!0===t.activeSidebar&&"chat"===t.sidebar)}render(){return this.canViewChat?a(s,{title:this.t("chat")},o(this.meeting)?this.hasNewMessages&&a("div",{class:"unread-count-dot",part:"unread-count-dot"}):0!==this.unreadMessageCount&&!this.chatActive&&a("div",{class:"unread-count",part:"unread-count"},a("span",null,this.unreadMessageCount<=100?this.unreadMessageCount:"99+")),a("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.chatActive},onClick:this.toggleChat,icon:this.iconPack.chat,label:this.t("chat"),variant:this.variant})):a(s,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"]}}};c([l()],d.prototype,"meeting",void 0),c([l()],d.prototype,"states",void 0),c([l()],d.prototype,"size",void 0),c([l()],d.prototype,"iconPack",void 0),c([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{position:relative;display:block}:host([data-hidden]){display:none}.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}.unread-count-dot{position:absolute;right:var(--rtk-space-3, 12px);z-index:10;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));border-radius:50%;display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}";export{d as rtk_chat_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as r,H as i}from"./p-533ecbf2.js";import{a,c as o}from"./p-0d9929ac.js";import{S as s}from"./p-0218a56b.js";import{d as e}from"./p-cbdd7a99.js";var n=function(t,r,i,a){var o,s=arguments.length,e=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(e=(s<3?o(e):s>3?o(r,i,e):o(r,i))||e);return s>3&&e&&Object.defineProperty(r,i,e),e};const c=class{constructor(r){t(this,r),this.variant="rounded",this.iconPack=a,this.t=o(),this.page=1,this.pageCount=0,this.activeCount=0,this.activeComputedCount=0,this.showPagination=!1,this.onPageChanged=({currentPage:t,pageCount:r})=>{this.pageCount=r,this.page=t},this.toggleGridPagination=e((()=>{var t;const{self:r,participants:i}=this.meeting,{mobile:a,desktop:o}=null===(t=r.config)||void 0===t?void 0:t.maxVideoStreams,s="sm"===this.size?a:o,e=i.joined.toArray().filter((t=>"ON_STAGE"===t.stageStatus)).length;this.showPagination=!(e<s)}),50),this.onParticipantJoin=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.prevPage=()=>{if(null==this.meeting)return;const{participants:t}=this.meeting;this.page>1?t.setPage(this.page-=1):"PAGINATED"===t.viewMode&&t.setViewMode("ACTIVE_GRID")},this.nextPage=()=>{if(null==this.meeting)return;const{participants:t}=this.meeting;this.page>0&&this.page<this.pageCount?t.setPage(this.page+=1):t.count>0&&0===this.pageCount&&t.setViewMode("PAGINATED")}}connectedCallback(){this.meetingChanged(this.meeting),this.sizeChanged()}disconnectedCallback(){if(null==this.meeting)return;const{participants:t,stage:r}=this.meeting;t.removeListener("pageChanged",this.onPageChanged),t.removeListener("viewModeChanged",this.onPageChanged),t.joined.removeListener("participantJoined",this.onParticipantJoin),t.joined.removeListener("participantLeft",this.onParticipantLeave),t.joined.removeListener("stageStatusUpdate",this.onStateStatusUpdate),r.removeListener("stageStatusUpdate",this.onStateStatusUpdate)}meetingChanged(t){if(null!=t){const{stage:r,participants:i}=t;this.page=i.currentPage,this.pageCount=i.pageCount,i.addListener("viewModeChanged",this.onPageChanged),i.addListener("pageChanged",this.onPageChanged),i.joined.addListener("participantJoined",this.onParticipantJoin),i.joined.addListener("participantLeft",this.onParticipantLeave),i.joined.addListener("stageStatusUpdate",this.onStateStatusUpdate),r.addListener("stageStatusUpdate",this.onStateStatusUpdate),this.activeCount=this.meeting.participants.joined.size,this.activeComputedCount=this.meeting.participants.joined.size,this.toggleGridPagination()}}sizeChanged(){this.toggleGridPagination()}render(){const{meta:t}=this.meeting;if("AUDIO_ROOM"!==(null==t?void 0:t.viewType)&&this.showPagination)return r(i,null,r("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},r("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&r("div",{class:"center"},r("span",{class:"page"},0===this.pageCount?r("rtk-tooltip",{label:this.t("layout.auto")},r("rtk-button",{kind:"icon",class:"auto"},r("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[r("span",{class:"slash"},"/"),r("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&r("div",{class:"dots"},[...Array(this.pageCount)].map(((t,i)=>r("div",{key:`dot-${i}`,class:{dot:!0,active:i+1===this.page}})))),r("rtk-button",{class:"next",variant:"secondary",kind:"icon",disabled:0!==this.page&&this.page===this.pageCount,onClick:this.nextPage,"aria-label":this.t("page.next")},r("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0})))}static get watchers(){return{meeting:["meetingChanged"],size:["sizeChanged"]}}};n([s()],c.prototype,"meeting",void 0),n([s()],c.prototype,"states",void 0),n([s()],c.prototype,"size",void 0),n([s()],c.prototype,"iconPack",void 0),n([s()],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{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;font-size:16px}:host([size='sm']){margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px);font-size:12px}:host([size='sm']) .center{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px)}:host([size='sm']) rtk-button{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) rtk-button rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}rtk-button{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.center{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.center .page{color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.center .slash{margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-0\\.5, 2px)}.center .pages{align-self:flex-end;font-size:12px}:host([variant='rounded']){overflow:hidden;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button{border-radius:9999px;border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='rounded']) rtk-button:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button:not([disabled]):focus{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='grid']){margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px)}:host([variant='grid']) rtk-button{position:absolute;top:50%;height:var(--rtk-space-20, 80px);width:var(--rtk-space-20, 80px);opacity:0.2;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='grid']) rtk-button:hover{opacity:1}:host([variant='grid']) rtk-button{transform:translateY(-50%)}:host([variant='grid']) rtk-button.prev{left:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) rtk-button.next{right:var(--rtk-space-0, 0px);border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host([variant='grid']) rtk-button.auto{left:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) .dots{position:absolute;left:50%;bottom:var(--rtk-space-3, 12px);display:flex;align-items:center;transform:translateX(-50%)}:host([variant='grid']) .dots .dot{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);cursor:pointer;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([variant='grid']) .dots .dot:last-child{margin-right:var(--rtk-space-0, 0px)}:host([variant='grid']) .dots .dot.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host([variant='grid'][size='sm']) rtk-button{height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);opacity:0.1}";export{c as rtk_grid_pagination}
|