@cloudflare/realtimekit-ui 1.0.4-staging.1 → 1.0.4-staging.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{TextMessage-b9599251.js → TextMessage-87a57af2.js} +1 -1
- package/dist/cjs/{chat-aac81e73.js → chat-5f3ed9c3.js} +1 -1
- package/dist/cjs/{debounce-8ebb7833.js → debounce-d5375a75.js} +1 -1
- package/dist/cjs/{index-2ae99c70.js → index-618e08d7.js} +10 -2
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/{merge-ee976be5.js → merge-b6b71419.js} +250 -1
- package/dist/cjs/{notification-541b7cfa.js → notification-bc9915bb.js} +4 -252
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +9 -9
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-header.cjs.entry.js +2 -2
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +7 -2
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
- package/dist/cjs/{sidebar-8b82a470.js → sidebar-d8acee5c.js} +1 -1
- package/dist/cjs/{ui-store-af000a8e.js → ui-store-e94b055c.js} +4 -4
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +6 -1
- package/dist/collection/utils/sync-with-store/index.js +9 -1
- package/dist/collection/utils/sync-with-store/ui-store.js +4 -4
- package/dist/components/index.js +6 -5
- package/dist/components/{p-99303d10.js → p-00525429.js} +1 -1
- package/dist/components/{p-b8baba9f.js → p-0321cc25.js} +52 -52
- package/dist/components/{p-24c3ffc2.js → p-0748e03c.js} +3 -3
- package/dist/components/{p-0c855484.js → p-0b4e9e8e.js} +5 -5
- package/dist/components/{p-bf72bb45.js → p-167d8f4f.js} +10 -10
- package/dist/components/{p-557d4076.js → p-16e69e08.js} +7 -7
- package/dist/components/{p-4bb5e9bb.js → p-1813d589.js} +12 -12
- package/dist/components/{p-6b4eccd6.js → p-186d395c.js} +5 -5
- package/dist/components/{p-fc56c6ea.js → p-186daafc.js} +4 -4
- package/dist/components/{p-0a0515d9.js → p-191793b5.js} +3 -3
- package/dist/components/{p-a10339f4.js → p-1c0cb465.js} +3 -3
- package/dist/components/{p-96362151.js → p-1fe1a8f3.js} +5 -5
- package/dist/components/{p-52628938.js → p-22ea80c5.js} +3 -3
- package/dist/components/{p-0b9cf1da.js → p-26dd55cb.js} +4 -4
- package/dist/components/{p-388b17ad.js → p-288c22bd.js} +3 -3
- package/dist/components/{p-c65aaf73.js → p-2942a50f.js} +13 -13
- package/dist/components/{p-2d58e36e.js → p-385b713f.js} +5 -5
- package/dist/components/{p-93355c43.js → p-3a795fe6.js} +1 -1
- package/dist/components/{p-310a03ac.js → p-3ce582b1.js} +13 -13
- package/dist/components/{p-3081fabf.js → p-4093562b.js} +4 -4
- package/dist/components/{p-f1a781b0.js → p-4151f04e.js} +3 -3
- package/dist/components/{p-c254f63b.js → p-41c98037.js} +4 -4
- package/dist/components/{p-2ee6390c.js → p-49481600.js} +2 -2
- package/dist/components/{p-938ee31c.js → p-4a0b3b5c.js} +3 -3
- package/dist/components/{p-f8594d8e.js → p-52511dc3.js} +2 -2
- package/dist/components/{p-96e2ff79.js → p-52ab94d1.js} +7 -7
- package/dist/components/{p-bee7d918.js → p-589a900d.js} +8 -8
- package/dist/components/{p-acbb932e.js → p-5c2b1ba2.js} +1 -1
- package/dist/components/{p-384919de.js → p-5c7742d3.js} +14 -14
- package/dist/components/{p-12e64755.js → p-60981c2e.js} +3 -3
- package/dist/components/{p-7ac93e47.js → p-65f8f581.js} +2 -2
- package/dist/components/{p-04dc0331.js → p-69488ced.js} +9 -9
- package/dist/components/{p-17ac0da7.js → p-6eba9a98.js} +2 -2
- package/dist/components/{p-7f4b9092.js → p-6efe5771.js} +8 -8
- package/dist/components/{p-4f585ec2.js → p-6f9489ac.js} +11 -11
- package/dist/components/{p-54de25c6.js → p-74f9ac6e.js} +2 -2
- package/dist/components/{p-7764b66b.js → p-779cbb7f.js} +25 -25
- package/dist/components/{p-87ae32cb.js → p-853eb11a.js} +9 -9
- package/dist/components/{p-1035acb6.js → p-863cd01a.js} +2 -2
- package/dist/components/{p-fbe523dc.js → p-8a617c86.js} +6 -6
- package/dist/components/{p-3968315b.js → p-8bbaf6c2.js} +10 -2
- package/dist/components/{p-8320939f.js → p-8dbab1d8.js} +8 -8
- package/dist/components/{p-09ec425b.js → p-8e257589.js} +4 -4
- package/dist/components/{p-36b8529e.js → p-9115e02b.js} +4 -4
- package/dist/components/{p-792de3bc.js → p-928df9d1.js} +2 -2
- package/dist/components/{p-8d93417e.js → p-932be1f6.js} +6 -6
- package/dist/components/{p-0f10661d.js → p-93907842.js} +2 -2
- package/dist/components/{p-32584f88.js → p-94df3a16.js} +4 -4
- package/dist/components/{p-80efd900.js → p-9b702bd2.js} +6 -6
- package/dist/components/{p-5677f439.js → p-9fdacb6b.js} +3 -3
- package/dist/components/{p-d1084f45.js → p-a8f83ab1.js} +2 -2
- package/dist/components/{p-57973e22.js → p-a9755f31.js} +4 -4
- package/dist/components/{p-2f9525bf.js → p-ac30ed19.js} +2 -2
- package/dist/components/{p-47f6fdfa.js → p-adafaabb.js} +3 -3
- package/dist/components/{p-f3fbe2fb.js → p-b2a9a468.js} +4 -4
- package/dist/components/{p-ea160150.js → p-b38b3c28.js} +2 -2
- package/dist/components/{p-483894c7.js → p-b6951b1c.js} +4 -4
- package/dist/components/{p-616cfbd8.js → p-b6b43c4a.js} +7 -7
- package/dist/components/{p-b8fe19b6.js → p-ba0e5882.js} +249 -2
- package/dist/components/{p-f44a0212.js → p-bb54487e.js} +3 -3
- package/dist/components/{p-7d95084a.js → p-bb69bba9.js} +5 -5
- package/dist/components/{p-8afd3f68.js → p-bb8050bc.js} +4 -4
- package/dist/components/{p-37f70cfb.js → p-bdae67ed.js} +4 -4
- package/dist/components/{p-f31839f4.js → p-bfc8d680.js} +4 -4
- package/dist/components/{p-9f86929b.js → p-c21c02e9.js} +5 -5
- package/dist/components/{p-cadee920.js → p-c722ac0b.js} +1 -1
- package/dist/components/{p-1f5e21d0.js → p-cc23c4f1.js} +6 -6
- package/dist/components/{p-e10e8a56.js → p-cc39d855.js} +5 -5
- package/dist/components/{p-65980189.js → p-cccd3ae4.js} +7 -7
- package/dist/components/{p-4c2acc5c.js → p-ce2007d7.js} +1 -1
- package/dist/components/{p-9f843e5a.js → p-cecf2f70.js} +8 -8
- package/dist/components/{p-7525d343.js → p-cfbca110.js} +2 -2
- package/dist/components/{p-d4f3d3d2.js → p-d40480b3.js} +3 -3
- package/dist/components/{p-885dad3e.js → p-e381240e.js} +3 -3
- package/dist/components/{p-c5fd7cc6.js → p-e595c078.js} +3 -250
- package/dist/components/{p-f3f1b0c0.js → p-e956f8f7.js} +2 -2
- package/dist/components/{p-5255d2f8.js → p-eb71b424.js} +6 -6
- package/dist/components/{p-fb038bd0.js → p-efa4bd9d.js} +4 -4
- package/dist/components/{p-2b523e10.js → p-f367f8a7.js} +5 -5
- package/dist/components/{p-81a13bf2.js → p-f40dc5a5.js} +4 -4
- package/dist/components/{p-889bc7b9.js → p-f5f209ef.js} +5 -5
- package/dist/components/{p-47a6f5a0.js → p-fa52dc04.js} +2 -2
- package/dist/components/{p-6c351e40.js → p-fa82d418.js} +7 -7
- package/dist/components/{p-b53c309c.js → p-faac8c00.js} +5 -5
- package/dist/components/{p-40870ba7.js → p-fc7e870e.js} +5 -5
- package/dist/components/{p-ab84cfbb.js → p-fd370f5f.js} +4 -4
- package/dist/components/rtk-ai-toggle.js +5 -5
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +5 -5
- package/dist/components/rtk-audio-grid.js +2 -2
- package/dist/components/rtk-audio-tile.js +6 -6
- 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 +5 -5
- 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 +6 -6
- package/dist/components/rtk-caption-toggle.js +5 -5
- 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 +6 -6
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +8 -8
- 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 +3 -3
- package/dist/components/rtk-chat-toggle.js +6 -6
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +3 -3
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +2 -2
- 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 +5 -5
- 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 +4 -4
- package/dist/components/rtk-file-dropzone.js +3 -3
- 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 +5 -5
- package/dist/components/rtk-grid.js +10 -10
- package/dist/components/rtk-header.js +2 -2
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +5 -5
- 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 +4 -4
- package/dist/components/rtk-information-tooltip.js +3 -3
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +5 -5
- 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 +5 -5
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-meeting-title.js +3 -3
- package/dist/components/rtk-meeting.js +54 -54
- 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 +4 -4
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +6 -6
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +8 -8
- package/dist/components/rtk-more-toggle.js +5 -5
- package/dist/components/rtk-mute-all-button.js +6 -6
- 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 +3 -3
- 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 +3 -3
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +5 -5
- 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 +6 -6
- 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 +15 -15
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +5 -5
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +6 -6
- 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 +6 -6
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +3 -3
- package/dist/components/rtk-recording-toggle.js +5 -5
- package/dist/components/rtk-screen-share-toggle.js +6 -6
- package/dist/components/rtk-screenshare-view.js +5 -5
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +5 -5
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +12 -12
- package/dist/components/rtk-setup-screen.js +8 -8
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +11 -11
- package/dist/components/rtk-simple-grid.js +2 -2
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +2 -2
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +6 -6
- package/dist/components/rtk-stage.js +2 -2
- 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.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 +3 -3
- package/dist/components/rtk-ui-provider.js +7 -2
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-waiting-screen.js +3 -3
- package/dist/docs/docs-components.json +1 -1
- package/dist/esm/{TextMessage-a699d8da.js → TextMessage-8f228811.js} +1 -1
- package/dist/esm/{chat-0fec85e9.js → chat-923c5f59.js} +1 -1
- package/dist/esm/{debounce-29e3a983.js → debounce-5b758f09.js} +1 -1
- package/dist/esm/{index-21637ec2.js → index-02905f52.js} +10 -2
- package/dist/esm/index.js +6 -6
- package/dist/esm/loader.js +265 -252
- package/dist/esm/{merge-ef938315.js → merge-1a2358a4.js} +249 -2
- package/dist/esm/{notification-deef1123.js → notification-c1e1a387.js} +3 -250
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
- package/dist/esm/rtk-ai.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
- package/dist/esm/rtk-avatar_54.entry.js +7 -7
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/esm/rtk-channel-selector-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +3 -3
- package/dist/esm/rtk-clock.entry.js +2 -2
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +2 -2
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +2 -2
- package/dist/esm/rtk-grid.entry.js +2 -2
- package/dist/esm/rtk-header.entry.js +2 -2
- package/dist/esm/rtk-idle-screen.entry.js +2 -2
- package/dist/esm/rtk-image-viewer.entry.js +2 -2
- package/dist/esm/rtk-information-tooltip.entry.js +2 -2
- package/dist/esm/rtk-leave-button.entry.js +2 -2
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-mic-toggle.entry.js +2 -2
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +2 -2
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +3 -3
- package/dist/esm/rtk-participants-audio.entry.js +2 -2
- package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
- package/dist/esm/rtk-participants-toggle.entry.js +3 -3
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
- package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugins_2.entry.js +2 -2
- package/dist/esm/rtk-poll_2.entry.js +2 -2
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +2 -2
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +2 -2
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +2 -2
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +2 -2
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +3 -3
- package/dist/esm/rtk-simple-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +2 -2
- package/dist/esm/rtk-transcript.entry.js +2 -2
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +7 -2
- package/dist/esm/rtk-waiting-screen.entry.js +2 -2
- package/dist/esm/{sidebar-c47b86b4.js → sidebar-c1c11b00.js} +1 -1
- package/dist/esm/{ui-store-fabf2b32.js → ui-store-51db54bf.js} +5 -5
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-3b14c478.entry.js → p-031768d2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fdc0d8cc.entry.js → p-032bc8ec.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-de42b31f.entry.js → p-041ccf2d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f7cc7f81.entry.js → p-044d1450.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-59cd209a.entry.js → p-0f0395d8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3956d569.js → p-1109b664.js} +1 -1
- package/dist/realtimekit-ui/{p-ef3ac9e9.entry.js → p-12a74bef.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f2af9690.entry.js → p-14b02cf2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-82520fc0.entry.js → p-16740763.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-af95d40e.entry.js → p-19519e2f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-86d3632a.entry.js → p-19d80239.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-30fe4bbf.entry.js → p-19fc2b31.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-309def3e.entry.js → p-1d10833d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-33c173a8.entry.js → p-222314de.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e8e68c22.entry.js → p-23ed9798.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ad5fc6df.entry.js → p-250f499c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9b8a0f9b.entry.js → p-2e4037c8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e48166db.entry.js → p-2e7f8a0f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3146a35e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-af81e9cf.entry.js → p-38491702.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2d0676a9.entry.js → p-388e2f79.entry.js} +1 -1
- package/dist/realtimekit-ui/p-390dc08f.js +1 -0
- package/dist/realtimekit-ui/{p-a02141f1.entry.js → p-395391d7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-59837fe1.entry.js → p-3d2ef042.entry.js} +1 -1
- package/dist/realtimekit-ui/p-449677c1.entry.js +1 -0
- package/dist/realtimekit-ui/{p-67ff2615.entry.js → p-4f2175a1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-05b3a3fa.entry.js → p-51a4f593.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e77e5cef.entry.js → p-5ab26b36.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f16ed5c8.entry.js → p-5ea5ea4c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-375c10a2.entry.js → p-60d7e2c8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a29ad4d8.entry.js → p-63636a8d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cde200c4.entry.js → p-699eb823.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-23893740.entry.js → p-6c8231d7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1f3bfcdb.js → p-6cfb6e51.js} +1 -1
- package/dist/realtimekit-ui/p-6f182ec9.js +1 -0
- package/dist/realtimekit-ui/{p-e872d214.entry.js → p-6f507413.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-881f7e61.entry.js → p-70aaf146.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-542f52e9.entry.js → p-71224b79.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-199f622a.entry.js → p-7137eecf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-37a218a8.entry.js → p-75800b61.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-458b4f23.entry.js → p-767e2042.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9c5cb84c.entry.js → p-7909526f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-87a8cbc2.entry.js → p-7e5c5598.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-17c4a39a.entry.js → p-8434ab99.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-08628c03.entry.js → p-857772f2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a80ce945.entry.js → p-8dc49c21.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-eae4e83b.js → p-912c0afc.js} +1 -1
- package/dist/realtimekit-ui/{p-0f5681eb.entry.js → p-9253e9de.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-393ff18f.entry.js → p-94e84860.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4265c450.entry.js → p-9c6b98e6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ff4f156f.entry.js → p-a4897c11.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6cd96b58.js → p-a72b4dcc.js} +1 -1
- package/dist/realtimekit-ui/p-aa3acda3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-116eabc9.entry.js → p-ab5dff6b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a5512788.entry.js → p-ab63d245.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-18ca0ccd.entry.js → p-afa01352.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-76bcc78d.entry.js → p-b213af17.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d2998b1e.entry.js → p-b2e11d64.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-18618102.entry.js → p-b54302a9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-28ac7dfd.entry.js → p-b5e5e509.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0303097.entry.js → p-baebb0a9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-586b8e78.entry.js → p-c0b19188.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e368f30f.entry.js → p-c3d7db06.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c31bcf97.entry.js → p-c8f43c80.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d0ec8218.entry.js → p-c9462f98.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-420629b1.entry.js → p-cba3e470.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c2f35fc7.entry.js → p-cceb1491.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4a2d51d2.entry.js → p-d123b26e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a6802383.entry.js → p-d26b4447.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b616deb3.entry.js → p-d3807280.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d7d8af87.js +1 -0
- package/dist/realtimekit-ui/{p-bd103adc.entry.js → p-d7f0ac1e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6f24d78f.entry.js → p-dbabfce1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a33714b1.entry.js → p-e3f333c8.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f243302d.js +1 -0
- package/dist/realtimekit-ui/{p-5d60f101.entry.js → p-f422cd58.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3eb310d3.entry.js → p-f71f017f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-efc9cddb.entry.js → p-f851a5e5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-38c18a6b.entry.js → p-fbe67582.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-2bd5be73.js +0 -1
- package/dist/realtimekit-ui/p-51fd9745.js +0 -1
- package/dist/realtimekit-ui/p-526f1a76.js +0 -1
- package/dist/realtimekit-ui/p-52b25934.js +0 -1
- package/dist/realtimekit-ui/p-716f90a3.entry.js +0 -1
- package/dist/realtimekit-ui/p-7bae9d05.entry.js +0 -1
- package/dist/realtimekit-ui/p-fdec3315.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as a,H as e}from"./p-0ee570cd.js";import{c as i,e as r,h as o}from"./p-
|
|
1
|
+
import{r as t,h as a,H as e}from"./p-0ee570cd.js";import{c as i,e as r,h as o}from"./p-912c0afc.js";import{R as s}from"./p-c8eaa707.js";import{S as n}from"./p-f243302d.js";var c=function(t,a,e,i){var r,o=arguments.length,s=o<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,a,e,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(o<3?r(s):o>3?r(a,e,s):r(a,e))||s);return o>3&&s&&Object.defineProperty(a,e,s),s};const p=class{constructor(a){t(this,a),this.variant="solid",this.disableRender=!1,this.config=i(),this.iconPack=r,this.t=o()}render(){return a(e,{key:"3821bcb1a2328652bcf259d55c96f0adbb3c4ab6"},!this.disableRender&&a(s,{key:"9cdaf23eb3616d6ed4b725a289399b29b86e8c36",element:"rtk-controlbar",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),a("slot",{key:"a7c56a8ab40766012c4a2ba32592e90f3051b293"}))}};c([n()],p.prototype,"meeting",void 0),c([n()],p.prototype,"config",void 0),c([n()],p.prototype,"states",void 0),c([n()],p.prototype,"iconPack",void 0),c([n()],p.prototype,"t",void 0),c([n()],p.prototype,"size",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)}:host{box-sizing:border-box;display:flex;align-items:center;gap:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);position:relative;z-index:10}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{padding-top:var(--rtk-space-0, 0px) !important}}";export{p as rtk_controlbar}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as a}from"./p-0ee570cd.js";import{s as r,f as s}from"./p-338c7261.js";import{e as i,h as o}from"./p-
|
|
1
|
+
import{r as t,h as e,H as a}from"./p-0ee570cd.js";import{s as r,f as s}from"./p-338c7261.js";import{e as i,h as o}from"./p-912c0afc.js";import{S as n}from"./p-f243302d.js";var c=function(t,e,a,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(e,a,o):s(e,a))||o);return i>3&&o&&Object.defineProperty(e,a,o),o};const d=class{constructor(e){t(this,e),this.isScreenShare=!1,this.variant="default",this.iconPack=i,this.t=o(),this.length=13}sizeChanged(t){this.length="sm"===t?8:13}formatNameTag(t,e){return this.isScreenShare?e?`${this.t("screen")} - ${r(t,this.length-3)} (${this.t("you")})`:`${this.t("screen")} - ${r(t,this.length)}`:e?`${r(t,this.length-3)} (${this.t("you")})`:r(t,this.length)}render(){var t,r,i;const o=s((null===(t=this.participant)||void 0===t?void 0:t.name)||""),n=(null===(r=this.participant)||void 0===r?void 0:r.id)===(null===(i=this.meeting)||void 0===i?void 0:i.self.id);return e(a,{key:"aa14d4fdc9c5f2779653e3b4cff1cbaace353918",title:o},e("slot",{key:"42d6da9d977a53c1955e4849cb4f2a91e5bd390c",name:"start"}),e("span",{key:"415345071c1e605ebb7f6399a56ab5469c4b10a3",class:"name"},this.formatNameTag(o,n)),e("slot",{key:"aa2a92758c73819b9c940865390c73d3feb3925a",name:"end"}))}static get watchers(){return{size:["sizeChanged"]}}};c([n()],d.prototype,"meeting",void 0),c([n()],d.prototype,"size",void 0),c([n()],d.prototype,"iconPack",void 0),c([n()],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:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1\\.5, 6px);padding-right:var(--rtk-space-1\\.5, 6px);font-size:14px;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));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}span.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}::slotted(rtk-audio-visualizer[slot='start']){margin-right:var(--rtk-space-1\\.5, 6px)}::slotted(rtk-audio-visualizer[slot='end']){margin-left:var(--rtk-space-1\\.5, 6px)}:host([size='sm']){font-size:12px;--tw-bg-opacity:0.6}:host([variant='text']){background-color:transparent;padding:var(--rtk-space-0, 0px)}";export{d as rtk_name_tag}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{c as o,e as n,h as a}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{c as o,e as n,h as a}from"./p-912c0afc.js";import{S as r}from"./p-f243302d.js";var c=function(t,i,e,s){var o,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(i,e,a):o(i,e))||a);return n>3&&a&&Object.defineProperty(i,e,a),a};const h=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=o(),this.iconPack=n,this.t=a(),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.meeting)return null;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,"config",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,h as e,H as i}from"./p-0ee570cd.js";import{e as a}from"./p-
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-0ee570cd.js";import{e as a}from"./p-912c0afc.js";import{S as n}from"./p-f243302d.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=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=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"f9d97a2d88a418623011aa33839e3262cb106419","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"c1b4cb9b3859d6523529c5590f84a571f245330b",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"af7242035fc017d49aa0f21c3da844b37dd87277",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:["meetingChanged"],startedTime:["startedTimeChanged"]}}};s([n()],o.prototype,"meeting",void 0),s([n()],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{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([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{o as rtk_clock}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{T as r}from"./p-
|
|
1
|
+
import{T as r}from"./p-912c0afc.js";const t=r=>{if(r&&!r.chat)return!1;const{chatPublic:t,chatPrivate:n}=r.self.permissions;return t.canSend||t.canReceive||t.text||t.files||n.canSend||n.canReceive||n.files||n.text},n=r=>{if(r&&!r.polls)return!1;const{polls:t}=r.self.permissions;return t.canCreate||t.canView||t.canVote},u=r=>{var t;if(!(null===(t=r.self.permissions)||void 0===t?void 0:t.showParticipantList))return!1;if(r&&!r.participants)return!1;const n=null==r?void 0:r.self.config;return!(n&&!n.controlBar.elements.participants)},i=t=>{if(r(t))return!1;if(t&&!t.plugins)return!1;if("LIVESTREAM"===t.meta.viewType)return"ON_STAGE"===t.stage.status;const{plugins:n}=t.self.permissions;return n.canClose||n.canStart};export{u as a,i as b,t as c,n as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as r,H as a}from"./p-0ee570cd.js";import{e as o,h as e}from"./p-912c0afc.js";import{S as i}from"./p-f243302d.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,c as i,h as r,H as s}from"./p-0ee570cd.js";import{h as e,e as n}from"./p-
|
|
1
|
+
import{r as t,c as i,h as r,H as s}from"./p-0ee570cd.js";import{h as e,e as n}from"./p-912c0afc.js";import{S as a}from"./p-f243302d.js";var o=function(t,i,r,s){var e,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,r,s);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(n<3?e(a):n>3?e(i,r,a):e(i,r))||a);return n>3&&a&&Object.defineProperty(i,r,a),a};const c=class{constructor(r){t(this,r),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.t=e(),this.iconPack=n,this.disabled=!1,this.canRecord=!1,this.permissionsUpdateListener=()=>{this.canRecord=!0===this.meeting.self.permissions.canRecord},this.toggleRecording=async()=>{var t,i,r;if(!this.isLoading()&&!this.disabled)switch(this.recordingState){case"IDLE":try{return void await(null===(t=this.meeting)||void 0===t?void 0:t.recording.start())}catch(t){this.apiError.emit({trace:this.t("recording.start"),message:this.t("recording.error.start")})}return;case"RECORDING":try{return void await(null===(i=this.meeting)||void 0===i?void 0:i.recording.stop())}catch(t){this.apiError.emit({trace:this.t("recording.stop"),message:this.t("recording.error.stop")})}return;case"PAUSED":try{return void await(null===(r=this.meeting)||void 0===r?void 0:r.recording.resume())}catch(t){this.apiError.emit({trace:this.t("recording.resume"),message:this.t("recording.error.resume")})}return;default:return}},this.isLoading=()=>!this.meeting||"STARTING"===this.recordingState||"STOPPING"===this.recordingState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i;this.recordingStateUpdateListener&&(null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.recordingStateUpdateListener)),null===(i=this.meeting)||void 0===i||i.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){null!=t&&(this.recordingState=t.recording.recordingState,this.permissionsUpdateListener(),this.recordingStateUpdateListener=t=>{this.recordingState=t},t.recording.addListener("recordingUpdate",this.recordingStateUpdateListener),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}getLabel(){switch(this.recordingState){case"IDLE":return"recording.idle";case"RECORDING":return"recording.stop";case"STARTING":return"recording.starting";case"STOPPING":return"recording.stopping";case"PAUSED":return"recording.resume";default:return"recording.loading"}}getIcon(){switch(this.recordingState){case"IDLE":case"STARTING":case"STOPPING":default:return this.iconPack.recording;case"RECORDING":return this.iconPack.stop_recording}}render(){return this.meeting?this.canRecord?r(s,{title:this.t("RECORDING"===this.recordingState?"recording.stop":"recording.idle")},r("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.toggleRecording,icon:this.getIcon(),isLoading:this.isLoading(),label:this.t(this.getLabel()),variant:this.variant,disabled:this.disabled})):void 0:null}static get watchers(){return{meeting:["meetingChanged"]}}};o([a()],c.prototype,"meeting",void 0),o([a()],c.prototype,"t",void 0),o([a()],c.prototype,"iconPack",void 0),o([a()],c.prototype,"size",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{display:block}";export{c as rtk_recording_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,F as r,H as o}from"./p-0ee570cd.js";import{s as a}from"./p-338c7261.js";import{c as n,e as s,h as c,M as l}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,F as r,H as o}from"./p-0ee570cd.js";import{s as a}from"./p-338c7261.js";import{c as n,e as s,h as c,M as l}from"./p-912c0afc.js";import{R as d}from"./p-c8eaa707.js";import{S as p}from"./p-f243302d.js";var h=function(t,i,e,r){var o,a=arguments.length,n=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(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 v=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=n(),this.iconPack=s,this.t=c(),this.isJoining=!1,this.canEditName=!0,this.canProduceAudio=!0,this.socketStateUpdate=({state:t})=>{this.connectionState=t,"failed"===t&&(this.isJoining=!1)},this.join=async()=>{var t,i,e;if(""!==(null===(t=this.displayName)||void 0===t?void 0:t.trim())&&!this.isJoining){this.isJoining=!0,null===(i=this.meeting)||void 0===i||i.self.setName(this.displayName),l.setItem("rtk-display-name",this.displayName);try{await(null===(e=this.meeting)||void 0===e?void 0:e.joinRoom())}catch(t){this.isJoining=!1}}}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting.meta.removeListener("socketConnectionUpdate",this.socketStateUpdate)}componentDidLoad(){var t;null===(t=this.inputEl)||void 0===t||t.focus()}meetingChanged(t){var i,e,r;t&&(this.connectionState=null===(i=t.meta.socketState)||void 0===i?void 0:i.state,this.canEditName=null===(e=t.self.permissions.canEditDisplayName)||void 0===e||e,this.displayName=(null===(r=t.self.name)||void 0===r?void 0:r.trim())||(this.canEditName?"":"Participant"),t.meta.addListener("socketConnectionUpdate",this.socketStateUpdate))}render(){var t,i,n,s,c,l;if(!this.meeting)return;const p=""===(null===(t=this.displayName)||void 0===t?void 0:t.trim())||"connected"!==this.connectionState||this.isJoining,h={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},v=null===(s=null===(n=null===(i=this.meeting)||void 0===i?void 0:i.meta)||void 0===n?void 0:n.meetingTitle)||void 0===s?void 0:s.trim();return e(o,null,e("div",{class:"container"},e("div",{class:"container-tile"},e(d,{element:"rtk-participant-tile",defaults:h,props:{participant:null===(c=this.meeting)||void 0===c?void 0:c.self,size:"md",isPreview:!0},childProps:{participant:null===(l=this.meeting)||void 0===l?void 0:l.self,size:"md"},deepProps:!0}),e("div",{class:"media-selectors"},e("rtk-microphone-selector",Object.assign({},h,{variant:"inline"})),e("rtk-camera-selector",Object.assign({},h,{variant:"inline"})),e("rtk-speaker-selector",Object.assign({},h,{variant:"inline"})))),e("div",{class:"metadata"},v&&""!==v&&e("div",{class:"meeting-title"},v),this.canEditName?e(r,null,e("div",{class:"join-as"},this.t("setup_screen.join_in_as")),e("input",{placeholder:this.t("setup_screen.your_name"),value:this.displayName,spellcheck:!1,autoFocus:!0,ref:t=>{this.inputEl=t},onInput:t=>{this.displayName=t.target.value},onKeyDown:t=>{"Enter"===t.key&&this.join()}})):e("div",{class:"uneditable-name"},e("span",{class:"text"},this.t("setup_screen.join_in_as")," ")," ",e("div",{class:"name"},a(this.displayName,20))),e("rtk-button",{size:"lg",kind:"wide",onClick:this.join,disabled:p},this.isJoining?e("rtk-spinner",{iconPack:this.iconPack}):this.t("join")),"connected"!==this.connectionState&&e("div",{class:"no-network-badge"},e("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected}),this.t("failed"===this.connectionState?"network.lost_extended":"network.lost")))))}static get watchers(){return{meeting:["meetingChanged"]}}};h([p()],v.prototype,"meeting",void 0),h([p()],v.prototype,"states",void 0),h([p()],v.prototype,"size",void 0),h([p()],v.prototype,"config",void 0),h([p()],v.prototype,"iconPack",void 0),h([p()],v.prototype,"t",void 0),v.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{box-sizing:border-box;padding:var(--rtk-space-4, 16px);height:100%;min-height:100%;width:100%;display:flex;place-items:center;justify-content:center;--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-700, 44 44 44))}.container{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-evenly;gap:var(--rtk-space-4, 16px)}.container-tile{display:flex;height:100%;width:100%;max-width:584px;flex-direction:column;gap:var(--rtk-space-2, 8px)}.metadata{display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;align-items:center;text-align:center}.meeting-title{margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:24px;font-weight:500}.join-as{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:16px;letter-spacing:-0.025em;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.uneditable-name{margin-bottom:var(--rtk-space-6, 24px)}.uneditable-name .text,.uneditable-name .name{display:inline-block}.uneditable-name .name{font-size:16px;font-weight:500}input{margin-bottom:var(--rtk-space-6, 24px);display:block;height:var(--rtk-space-10, 40px);width:100%;max-width:var(--rtk-space-80, 320px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));box-sizing:border-box;font-size:16px;outline:2px solid transparent;outline-offset:2px;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}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}rtk-spinner{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--icon-size:var(--rtk-space-8, 32px)}:host([size='sm']) .container,:host([size='md']) .container{height:100%;flex-direction:column;justify-content:space-evenly}:host([size='sm']) .container-tile,:host([size='md']) .container-tile{height:-moz-min-content;height:min-content;flex-direction:column;justify-content:center}rtk-participant-tile{height:auto;width:100%;max-width:584px}.media-selectors{display:flex;flex-direction:column;justify-content:space-between}.media-selectors .row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}";export{v as rtk_setup_screen}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t,H as s,a as e}from"./p-0ee570cd.js";import{c as d,e as h,h as a}from"./p-
|
|
1
|
+
import{r as i,h as t,H as s,a as e}from"./p-0ee570cd.js";import{c as d,e as h,h as a}from"./p-912c0afc.js";import{d as r}from"./p-b13ddb7d.js";import{R as o}from"./p-c8eaa707.js";import{S as m}from"./p-f243302d.js";var c=function(i,t,s,e){var d,h=arguments.length,a=h<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(i,t,s,e);else for(var r=i.length-1;r>=0;r--)(d=i[r])&&(a=(h<3?d(a):h>3?d(t,s,a):d(t,s))||a);return h>3&&a&&Object.defineProperty(t,s,a),a};const f=class{constructor(t){i(this,t),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.aspectRatio="16:9",this.gap=8,this.config=d(),this.iconPack=h,this.t=a(),this.gridSize=r,this.getAdaptiveSize=i=>"sm"===this.size||i>3||"md"===this.size?"sm":"md"}render(){const i={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},e=this.participants.filter((i=>this.pinnedParticipants.some((t=>t.id!=i.id))));return t(s,{key:"fe2e120c0c1f470d5a0fdfb6fdbb44fd140107bc"},t("main",{key:"c39da6b382cdf4cc1420f98e39e69d7113859ad0",part:"main"},t(o,{key:"bc3d575d85416389c525af7b15848be00ef890e1",element:"rtk-simple-grid",defaults:i,props:{part:"main-grid",participants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(this.pinnedParticipants.length)}})),e.length>0&&t("aside",{key:"51abe4bf1ca7de9bf5f9dc713865b195091406f1",part:"aside",class:this.gridSize.spotlight?`grid-width-${this.gridSize.spotlight}`:"grid-width-md"},t(o,{key:"20826029b56895974ca36ccda99b9d1dffaadacb",element:"rtk-simple-grid",defaults:i,props:{part:"aside-grid",participants:e,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(e.length)}})))}get host(){return e(this)}};c([m()],f.prototype,"size",void 0),c([m()],f.prototype,"meeting",void 0),c([m()],f.prototype,"states",void 0),c([m()],f.prototype,"config",void 0),c([m()],f.prototype,"iconPack",void 0),c([m()],f.prototype,"t",void 0),f.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:flex;height:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";export{f as rtk_spotlight_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,c as e,h as r,H as t}from"./p-0ee570cd.js";import{h as o,e as
|
|
1
|
+
import{r as a,c as e,h as r,H as t}from"./p-0ee570cd.js";import{h as o,e as c}from"./p-912c0afc.js";import{d as i}from"./p-9fc565cf.js";import{S as s}from"./p-f243302d.js";import{f as d,s as n}from"./p-338c7261.js";var l=function(a,e,r,t){var o,c=arguments.length,i=c<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,e,r,t);else for(var s=a.length-1;s>=0;s--)(o=a[s])&&(i=(c<3?o(i):c>3?o(e,r,i):o(e,r))||i);return c>3&&i&&Object.defineProperty(e,r,i),i};const b=class{constructor(r){a(this,r),this.close=e(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 r(t,{key:"b8fc805f0987197ddcd03f10e90e6a91150d3a3f",class:"scrollbar",onClick:a=>a.stopPropagation()},r("div",{key:"59d56e6174e4aaa6e5dc04f6a061fece48bf6a9a",class:"header"},r("div",{key:"d212463748bd8e3300ee745d3ef3ce10954a5fda",class:"shared-by-user"},this.t("chat.img.shared_by")," ",r("span",{key:"140150887c27d5d45ee782e960304d1e2db38348",class:"displayName"},d(n(this.image.displayName)))),r("div",{key:"d9b1ef781318f0cc910905a77f9da6e9234c68e9",class:"actions"},r("rtk-button",{key:"3e155e29b6e4d045f19d142b2935e1670be22c9a",onClick:()=>i(this.image.link,{fallbackName:"image"})},r("rtk-icon",{key:"ed310a1ad5a00321806f0cee1ac078332ea8587f",icon:this.iconPack.download,slot:"start"}),"Download"),r("rtk-button",{key:"bb8a9c255580dcd624d80684f64fa107f74d4485",kind:"icon",variant:"secondary",onClick:()=>this.close.emit()},r("rtk-icon",{key:"d408bb24110614f4e33aba1892d9b05625e4d830",icon:this.iconPack.dismiss})))),r("div",{key:"177d1b3bdfe5a6b805721a7440ddedeca30f44fb",class:"image-ctr"},r("img",{key:"21a491e7b8a513a547b996d5d2f1fd23c851a29d",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}
|