@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,c as t,h as a,H as o}from"./p-0ee570cd.js";import{e,h as i}from"./p-eae4e83b.js";import{S as s}from"./p-52b25934.js";import{s as c,f as l,g as n}from"./p-338c7261.js";var p=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const d=class{constructor(a){r(this,a),this.onVote=t(this,"rtkVotePoll",7),this.iconPack=e,this.t=i(),this.MAX_VOTES_RENDER=10}vote(r,t){this.poll.voted.includes(this.self)?r.preventDefault():this.onVote.emit({id:this.poll.id,index:t})}render(){const r=this.poll.voted.includes(this.self);return a(o,{key:"2951e932453e7c58f3d2a1bc0952b02c7f231fe2"},a("div",{key:"fda1240df8d21e01df14e749593f00ca81a4c4a2",class:"ctr"},a("p",{key:"08459f706bdb922eddc7a3b7f3b2177293f18371",class:"poll-title"},this.t("polls.by")," ",c(l(this.poll.createdBy),20)),a("div",{key:"b8c1d0755a17862bf372c24c72b6ad5f9a774d81",class:"poll"},a("p",{key:"cd76bf5da75f3165eecac1c6845bbb5c0a69a99c",class:"poll-question"},this.poll.question),a("div",{key:"00c702b964872b7883bcd656e3b8e03a1986b28e",class:"poll-answers"},a("span",{key:"e51a233616f792e6bcbbb8376099a4a5e9e7dd02"},this.t("polls.answers")),a("span",{key:"f3fe545292f85870d11f334c211099bdab8694f0"},this.poll.voted.length)),this.poll.options.map(((t,o)=>a("div",{class:{active:t.votes.some((r=>r.id===this.self)),"open-vote":this.permissions.polls.canVote&&!r,"poll-option":!0}},a("div",{class:"poll-option-header","data-disabled":!this.permissions.polls.canVote},a("label",null,!r&&a("input",{disabled:!this.permissions.polls.canVote,readOnly:r,type:"radio",checked:t.votes.some((r=>r.id===this.self)),onClick:r=>this.vote(r,o)}),a("p",null,t.text)),a("span",{class:"counter"},t.count)),a("div",{class:"votes"},t.votes.slice(0,this.MAX_VOTES_RENDER).map((r=>{if(!this.poll.anonymous||this.self===this.poll.createdByUserId)return a("rtk-tooltip",{label:r.name},a("div",{class:"vote"},n(r.name)))})),t.votes.length>this.MAX_VOTES_RENDER&&a("rtk-tooltip",{label:`+${t.votes.length-this.MAX_VOTES_RENDER} more `},a("div",{class:"vote"},"+",t.votes.length-this.MAX_VOTES_RENDER)))))))))}};p([s()],d.prototype,"iconPack",void 0),p([s()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.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)))}.ctr{margin-bottom:var(--rtk-space-3, 12px);display:flex;width:100%;flex-direction:column;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.poll-title{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-4, 16px);font-size:12px}.poll{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));display:flex;flex-direction:column;padding:var(--rtk-space-4, 16px)}.poll-question{padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;overflow-wrap:break-word}.poll-answers{display:flex;flex-direction:row;justify-content:space-between;font-size:12px;margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-3, 12px)}.poll-option{display:flex;flex-direction:column;margin-top:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);word-break:break-word}.poll-option.open-vote:hover{cursor:pointer}.poll-option label{display:flex;flex-direction:row;cursor:inherit}.poll-option-header{display:flex;flex-direction:row;justify-content:space-between;padding:var(--rtk-space-1, 4px)}.poll-option-header[data-disabled='true']:hover{cursor:default}.poll-option-header input{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-2, 8px);cursor:inherit}.poll-option-header .counter{color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:12px}.votes{margin-top:var(--rtk-space-1, 4px);display:flex;flex-direction:row;flex-wrap:wrap}.vote{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);display:flex;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-none, 0);clip-path:circle()}.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.active .counter{color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}";var b=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const k=class{constructor(a){r(this,a),this.onCreate=t(this,"rtkCreatePoll",7),this.iconPack=e,this.t=i(),this.options=["",""],this.anonymous=!1,this.hideVotes=!0}removeOption(r){var t;this.options=this.options.filter(((t,a)=>a!==r)),1===(null===(t=this.error)||void 0===t?void 0:t.code)&&(this.error=void 0)}addOption(){this.options=[...this.options,""]}updateOption(r,t){var a;this.options[t]=r.target.value,1===(null===(a=this.error)||void 0===a?void 0:a.code)&&(this.error=void 0)}handleSubmit(){const r={question:this.question.value,options:this.options,anonymous:this.anonymous,hideVotes:!!this.anonymous||this.hideVotes};r.question?this.options.filter((r=>""===r.trim())).length>0?this.error={code:1,message:this.t("polls.errors.empty_option")}:this.onCreate.emit(r):this.error={code:0,message:this.t("polls.errors.question_required")}}render(){return a(o,{key:"3b0e105480e37261b64a99552f20f65b467deb5c"},a("div",{key:"8682faca7764a1669f589be097ccfee63d49e9b3",class:"create-poll"},a("p",{key:"723847f27d92eeac805b7c55692d61ce48476eb0"},this.t("polls.question")),a("textarea",{key:"e85b887af5077f79a0542aa256cbc1ee2e209c67",onInput:()=>{this.error&&0===this.error.code&&(this.error=void 0)},ref:r=>this.question=r,placeholder:this.t("polls.question.placeholder")}),this.options.map(((r,t)=>a("div",{class:"option"},a("input",{placeholder:this.t("polls.option.placeholder"),value:r,onInput:r=>this.updateOption(r,t)}),t>1&&a("rtk-button",{kind:"icon",class:"auto remove-option",variant:"secondary",onClick:()=>this.removeOption(t)},a("rtk-icon",{icon:this.iconPack.subtract}))))),a("rtk-button",{key:"4b1552030c268c7b9c67e63f47ca4decbaca549f",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),a("label",{key:"3af3d5e264c8acd9fd2348483489a02aaf9ac770"},a("input",{key:"39339af087cc40813d79a211fd12866ade71403c",id:"anonymous",type:"checkbox",onChange:r=>this.anonymous=r.target.checked}),this.t("polls.results.anon")),a("label",{key:"30a29efafcbd837057cfed7957d48c04d02e2570"},a("input",{key:"e5c949df6cfec33c4c31c14db9d2ff816211ca3f",id:"hideVotes",type:"checkbox",disabled:this.anonymous,checked:!!this.anonymous||this.hideVotes,onChange:r=>this.hideVotes=r.target.checked}),this.t("polls.results.hide")),a("rtk-button",{key:"994e07e64080cd4251202ac3090da2c4e71f8a02",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&a("span",{key:"27e0ab9385fe99ca5bab3a9ce4c756988dafbea4",class:"error-text"},this.error.message)))}};b([s()],k.prototype,"iconPack",void 0),b([s()],k.prototype,"t",void 0),k.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)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";export{d as rtk_poll,k as rtk_poll_form}
|
|
1
|
+
import{r,c as t,h as a,H as o}from"./p-0ee570cd.js";import{e,h as i}from"./p-912c0afc.js";import{S as s}from"./p-f243302d.js";import{s as c,f as l,g as n}from"./p-338c7261.js";var p=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const d=class{constructor(a){r(this,a),this.onVote=t(this,"rtkVotePoll",7),this.iconPack=e,this.t=i(),this.MAX_VOTES_RENDER=10}vote(r,t){this.poll.voted.includes(this.self)?r.preventDefault():this.onVote.emit({id:this.poll.id,index:t})}render(){const r=this.poll.voted.includes(this.self);return a(o,{key:"2951e932453e7c58f3d2a1bc0952b02c7f231fe2"},a("div",{key:"fda1240df8d21e01df14e749593f00ca81a4c4a2",class:"ctr"},a("p",{key:"08459f706bdb922eddc7a3b7f3b2177293f18371",class:"poll-title"},this.t("polls.by")," ",c(l(this.poll.createdBy),20)),a("div",{key:"b8c1d0755a17862bf372c24c72b6ad5f9a774d81",class:"poll"},a("p",{key:"cd76bf5da75f3165eecac1c6845bbb5c0a69a99c",class:"poll-question"},this.poll.question),a("div",{key:"00c702b964872b7883bcd656e3b8e03a1986b28e",class:"poll-answers"},a("span",{key:"e51a233616f792e6bcbbb8376099a4a5e9e7dd02"},this.t("polls.answers")),a("span",{key:"f3fe545292f85870d11f334c211099bdab8694f0"},this.poll.voted.length)),this.poll.options.map(((t,o)=>a("div",{class:{active:t.votes.some((r=>r.id===this.self)),"open-vote":this.permissions.polls.canVote&&!r,"poll-option":!0}},a("div",{class:"poll-option-header","data-disabled":!this.permissions.polls.canVote},a("label",null,!r&&a("input",{disabled:!this.permissions.polls.canVote,readOnly:r,type:"radio",checked:t.votes.some((r=>r.id===this.self)),onClick:r=>this.vote(r,o)}),a("p",null,t.text)),a("span",{class:"counter"},t.count)),a("div",{class:"votes"},t.votes.slice(0,this.MAX_VOTES_RENDER).map((r=>{if(!this.poll.anonymous||this.self===this.poll.createdByUserId)return a("rtk-tooltip",{label:r.name},a("div",{class:"vote"},n(r.name)))})),t.votes.length>this.MAX_VOTES_RENDER&&a("rtk-tooltip",{label:`+${t.votes.length-this.MAX_VOTES_RENDER} more `},a("div",{class:"vote"},"+",t.votes.length-this.MAX_VOTES_RENDER)))))))))}};p([s()],d.prototype,"iconPack",void 0),p([s()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.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)))}.ctr{margin-bottom:var(--rtk-space-3, 12px);display:flex;width:100%;flex-direction:column;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.poll-title{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-4, 16px);font-size:12px}.poll{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));display:flex;flex-direction:column;padding:var(--rtk-space-4, 16px)}.poll-question{padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;overflow-wrap:break-word}.poll-answers{display:flex;flex-direction:row;justify-content:space-between;font-size:12px;margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-3, 12px)}.poll-option{display:flex;flex-direction:column;margin-top:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);word-break:break-word}.poll-option.open-vote:hover{cursor:pointer}.poll-option label{display:flex;flex-direction:row;cursor:inherit}.poll-option-header{display:flex;flex-direction:row;justify-content:space-between;padding:var(--rtk-space-1, 4px)}.poll-option-header[data-disabled='true']:hover{cursor:default}.poll-option-header input{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-2, 8px);cursor:inherit}.poll-option-header .counter{color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:12px}.votes{margin-top:var(--rtk-space-1, 4px);display:flex;flex-direction:row;flex-wrap:wrap}.vote{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);display:flex;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-none, 0);clip-path:circle()}.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.active .counter{color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}";var b=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const k=class{constructor(a){r(this,a),this.onCreate=t(this,"rtkCreatePoll",7),this.iconPack=e,this.t=i(),this.options=["",""],this.anonymous=!1,this.hideVotes=!0}removeOption(r){var t;this.options=this.options.filter(((t,a)=>a!==r)),1===(null===(t=this.error)||void 0===t?void 0:t.code)&&(this.error=void 0)}addOption(){this.options=[...this.options,""]}updateOption(r,t){var a;this.options[t]=r.target.value,1===(null===(a=this.error)||void 0===a?void 0:a.code)&&(this.error=void 0)}handleSubmit(){const r={question:this.question.value,options:this.options,anonymous:this.anonymous,hideVotes:!!this.anonymous||this.hideVotes};r.question?this.options.filter((r=>""===r.trim())).length>0?this.error={code:1,message:this.t("polls.errors.empty_option")}:this.onCreate.emit(r):this.error={code:0,message:this.t("polls.errors.question_required")}}render(){return a(o,{key:"3b0e105480e37261b64a99552f20f65b467deb5c"},a("div",{key:"8682faca7764a1669f589be097ccfee63d49e9b3",class:"create-poll"},a("p",{key:"723847f27d92eeac805b7c55692d61ce48476eb0"},this.t("polls.question")),a("textarea",{key:"e85b887af5077f79a0542aa256cbc1ee2e209c67",onInput:()=>{this.error&&0===this.error.code&&(this.error=void 0)},ref:r=>this.question=r,placeholder:this.t("polls.question.placeholder")}),this.options.map(((r,t)=>a("div",{class:"option"},a("input",{placeholder:this.t("polls.option.placeholder"),value:r,onInput:r=>this.updateOption(r,t)}),t>1&&a("rtk-button",{kind:"icon",class:"auto remove-option",variant:"secondary",onClick:()=>this.removeOption(t)},a("rtk-icon",{icon:this.iconPack.subtract}))))),a("rtk-button",{key:"4b1552030c268c7b9c67e63f47ca4decbaca549f",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),a("label",{key:"3af3d5e264c8acd9fd2348483489a02aaf9ac770"},a("input",{key:"39339af087cc40813d79a211fd12866ade71403c",id:"anonymous",type:"checkbox",onChange:r=>this.anonymous=r.target.checked}),this.t("polls.results.anon")),a("label",{key:"30a29efafcbd837057cfed7957d48c04d02e2570"},a("input",{key:"e5c949df6cfec33c4c31c14db9d2ff816211ca3f",id:"hideVotes",type:"checkbox",disabled:this.anonymous,checked:!!this.anonymous||this.hideVotes,onChange:r=>this.hideVotes=r.target.checked}),this.t("polls.results.hide")),a("rtk-button",{key:"994e07e64080cd4251202ac3090da2c4e71f8a02",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&a("span",{key:"27e0ab9385fe99ca5bab3a9ce4c756988dafbea4",class:"error-text"},this.error.message)))}};b([s()],k.prototype,"iconPack",void 0),b([s()],k.prototype,"t",void 0),k.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)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";export{d as rtk_poll,k as rtk_poll_form}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as i}from"./p-0ee570cd.js";import{e as s,h as o}from"./p-
|
|
1
|
+
import{r as t,c as e,h as a,H as i}from"./p-0ee570cd.js";import{e as s,h as o}from"./p-912c0afc.js";import{S as r}from"./p-f243302d.js";var n=function(t,e,a,i){var s,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,i);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(o<3?s(r):o>3?s(e,a,r):s(e,a))||r);return o>3&&r&&Object.defineProperty(e,a,r),r};const c=class{constructor(a){t(this,a),this.stateUpdate=e(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=s,this.t=o(),this.leave=()=>{this.stateUpdate.emit({activeLeaveConfirmation:!0})}}render(){const t=this.t("leave");return a(i,{key:"90606f784dc8305e5d7754f5442f644476ab24c6",label:t},a("rtk-controlbar-button",{key:"5c3363d98a12c65ce2feba1b53ddc09d1654582c",size:this.size,iconPack:this.iconPack,class:"leave red-icon",onClick:this.leave,icon:this.iconPack.call_end,label:t,variant:this.variant,part:"controlbar-button"}))}};n([r()],c.prototype,"size",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],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{display:block}";export{c as rtk_leave_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as r,H as e}from"./p-0ee570cd.js";import{c as a,e as s,h as o}from"./p-
|
|
1
|
+
import{r as t,c as i,h as r,H as e}from"./p-0ee570cd.js";import{c as a,e as s,h as o}from"./p-912c0afc.js";import{S as n}from"./p-f243302d.js";var c=function(t,i,r,e){var a,s=arguments.length,o=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(s<3?a(o):s>3?a(i,r,o):a(i,r))||o);return s>3&&o&&Object.defineProperty(i,r,o),o};const l=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=a(),this.iconPack=s,this.t=o(),this.view="sidebar",this.close=()=>{this.stateUpdate.emit({activeAI:!1})}}connectedCallback(){this.viewChanged(this.view)}disconnectedCallback(){this.keydownListener&&document.removeEventListener("keydown",this.keydownListener)}viewChanged(t){"full-screen"===t&&(this.keydownListener=t=>{"Escape"===t.key&&this.close()},document.addEventListener("keydown",this.keydownListener))}render(){var t,i,a;if(!this.meeting)return null;if(!(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions).transcriptionEnabled||!(null===(a=this.states)||void 0===a?void 0:a.activeAI))return null;const s={meeting:this.meeting,config:this.config,states:this.states,size:this.size,t:this.t,iconPack:this.iconPack};return r(e,null,r("h3",{class:"title"},this.t("ai.transcriptions")),r("rtk-button",{variant:"ghost",kind:"icon",class:"close",onClick:this.close,"aria-label":this.t("close")},r("rtk-icon",{icon:this.iconPack.dismiss})),r("rtk-ai-transcriptions",Object.assign({},s)))}static get watchers(){return{view:["viewChanged"]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"states",void 0),c([n()],l.prototype,"config",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],l.prototype,"t",void 0),c([n()],l.prototype,"size",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;box-sizing:border-box;display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden}.close{position:absolute;top:var(--rtk-space-3, 12px);left:var(--rtk-space-3, 12px)}.title{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:var(--rtk-space-0, 0px);text-align:center;font-size:14px;font-weight:400}rtk-ai-transcriptions{flex:1}:host([view='sidebar']){margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host([view='full-screen']){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:50;max-width:100%;border:none}";export{l as rtk_ai}
|