@cloudflare/realtimekit-ui 1.0.0-staging.6 → 1.0.0-staging.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{ChatHead-94cee2c7.js → ChatHead-d2f094ec.js} +1 -1
- package/dist/cjs/{TextMessage-4b80b4f5.js → TextMessage-e9ca06aa.js} +2 -2
- package/dist/cjs/{chat-7e13b43e.js → chat-46e7e4fe.js} +1 -1
- package/dist/cjs/{config-a123c409.js → config-dba24e25.js} +7 -1
- package/dist/cjs/{index-d3eba4b9.js → index-05554ce6.js} +5 -2
- package/dist/cjs/{index-333077f7.js → index-821d14b7.js} +1 -1
- package/dist/cjs/{index-2154d3c1.js → index-daae8cee.js} +2 -2
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{notification-30f14d01.js → notification-1948ed2f.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +2 -2
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -4
- package/dist/cjs/rtk-ai.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +11 -10
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +5 -5
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +13 -6
- package/dist/cjs/rtk-clock.cjs.entry.js +8 -7
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -4
- package/dist/cjs/rtk-controlbar.cjs.entry.js +4 -4
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +5 -5
- package/dist/cjs/rtk-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-header.cjs.entry.js +4 -4
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +7 -7
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +6 -6
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participant-count.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participant_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +13 -7
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +13 -6
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +13 -6
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +5 -5
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +4 -4
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +27 -5
- package/dist/cjs/rtk-sidebar.cjs.entry.js +5 -12
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcripts.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
- package/dist/cjs/{sidebar-864a0b7a.js → sidebar-a3c87828.js} +1 -1
- package/dist/cjs/{ui-store-790d3fec.js → ui-store-3ddce955.js} +7 -1
- package/dist/collection/components/rtk-button/rtk-button.js +2 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +10 -1
- package/dist/collection/components/rtk-clock/rtk-clock.css +5 -4
- package/dist/collection/components/rtk-clock/rtk-clock.js +4 -3
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -1
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +5 -9
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +5 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +5 -2
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +2 -2
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +5 -4
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +10 -2
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +10 -1
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +10 -1
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +5 -2
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +0 -7
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +47 -2
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +5 -4
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
- package/dist/collection/lib/default-ui-config.js +6 -0
- package/dist/collection/utils/config.js +6 -0
- package/dist/components/index.js +6 -6
- package/dist/components/{p-46ff9ad9.js → p-00649ab8.js} +9 -9
- package/dist/components/{p-da00b09a.js → p-00b13124.js} +15 -15
- package/dist/components/{p-f5e4f0bb.js → p-0a9d8224.js} +5 -5
- package/dist/components/{p-13ca3cc7.js → p-0c81aa9c.js} +10 -10
- package/dist/components/{p-df1632fd.js → p-0e13b6ee.js} +5 -5
- package/dist/components/{p-dca85942.js → p-0ea515b2.js} +5 -5
- package/dist/components/{p-4611af78.js → p-0eab3933.js} +6 -6
- package/dist/components/{p-ae1931dd.js → p-0f937441.js} +4 -4
- package/dist/components/{p-641ba920.js → p-10182034.js} +3 -3
- package/dist/components/{p-212ce4b8.js → p-10759cad.js} +3 -3
- package/dist/components/{p-906cb5bf.js → p-135d5d2f.js} +4 -4
- package/dist/components/{p-fd0abb3e.js → p-13bf25de.js} +7 -7
- package/dist/components/{p-746ae804.js → p-14aafb1d.js} +7 -7
- package/dist/components/{p-eb0fc611.js → p-168b17a0.js} +2 -2
- package/dist/components/{p-f9aece94.js → p-175b365f.js} +4 -4
- package/dist/components/{p-efc19d8d.js → p-1947c106.js} +4 -4
- package/dist/components/{p-cdfe8250.js → p-1bf54ab3.js} +11 -11
- package/dist/components/{p-aec1ab2d.js → p-20354866.js} +6 -6
- package/dist/components/{p-0646bdc7.js → p-24ffce5a.js} +3 -3
- package/dist/components/{p-bb4322af.js → p-260b86da.js} +7 -7
- package/dist/components/{p-51b56b52.js → p-2973e211.js} +1 -1
- package/dist/components/{p-3e2ba737.js → p-2ce92a24.js} +8 -8
- package/dist/components/{p-bed2e1b5.js → p-2f2fb96d.js} +2 -2
- package/dist/components/{p-da8491ef.js → p-2f7c0530.js} +55 -55
- package/dist/components/{p-5c0da120.js → p-31ce3b90.js} +3 -3
- package/dist/components/{p-174eea40.js → p-32d788e7.js} +4 -4
- package/dist/components/{p-971097d5.js → p-3358d7dc.js} +1 -1
- package/dist/components/{p-65bf60df.js → p-35d6211b.js} +6 -6
- package/dist/components/{p-57634012.js → p-3d845f44.js} +4 -4
- package/dist/components/{p-d978ca76.js → p-3dbc09e4.js} +5 -5
- package/dist/components/{p-63e92eda.js → p-4221b28d.js} +8 -8
- package/dist/components/{p-f22929f5.js → p-4608147b.js} +6 -6
- package/dist/components/{p-fb535f2c.js → p-46690510.js} +4 -4
- package/dist/components/{p-550aa089.js → p-4a436e2d.js} +7 -1
- package/dist/components/{p-915562c0.js → p-4ba64e96.js} +16 -16
- package/dist/components/{p-09e6eab9.js → p-4c4025de.js} +9 -9
- package/dist/components/{p-ba1a0ebf.js → p-4cc0e9a5.js} +5 -4
- package/dist/components/{p-82fbdbf4.js → p-4cedc9e8.js} +3 -3
- package/dist/components/{p-0d6af270.js → p-50ecaaf1.js} +1 -1
- package/dist/components/{p-87480646.js → p-54c8b684.js} +16 -16
- package/dist/components/{p-90bd27de.js → p-56586bc8.js} +11 -11
- package/dist/components/{p-158fc95d.js → p-594ed925.js} +6 -6
- package/dist/components/{p-1dcb723e.js → p-59ea0ce1.js} +32 -7
- package/dist/components/{p-ad50fcdc.js → p-5ffcbba3.js} +3 -3
- package/dist/components/{p-de7f1269.js → p-60fdbd75.js} +1 -1
- package/dist/components/{p-6453124f.js → p-619a7896.js} +7 -7
- package/dist/components/{p-64a6ea33.js → p-62a6b783.js} +3 -3
- package/dist/components/{p-12aa04c2.js → p-664f872d.js} +5 -5
- package/dist/components/{p-bc68e74e.js → p-66ff4a1a.js} +6 -6
- package/dist/components/{p-6fa3c2fa.js → p-7373cc7e.js} +5 -5
- package/dist/components/{p-c4482ff1.js → p-78444f97.js} +8 -8
- package/dist/components/{p-613b7d98.js → p-7d26c3e0.js} +6 -6
- package/dist/components/{p-5d2cf697.js → p-8227dcd2.js} +3 -3
- package/dist/components/{p-89bbfe71.js → p-87f1e5db.js} +8 -8
- package/dist/components/{p-baea3e90.js → p-8ca0d44f.js} +5 -5
- package/dist/components/{p-c8a6dfb8.js → p-8ca1fe4c.js} +14 -14
- package/dist/components/{p-22605d4a.js → p-8ceedb7f.js} +4 -4
- package/dist/components/{p-98ae3e41.js → p-91cb38a3.js} +4 -4
- package/dist/components/{p-1d8ecb94.js → p-935b5e0f.js} +6 -6
- package/dist/components/{p-1f633de4.js → p-965a4bd9.js} +5 -5
- package/dist/components/{p-483752a4.js → p-99b862b5.js} +7 -7
- package/dist/components/{p-a4182a97.js → p-a24309fd.js} +5 -5
- package/dist/components/{p-3b8741ca.js → p-a2f4f9e3.js} +1 -1
- package/dist/components/{p-2f01fa36.js → p-a41e1b94.js} +4 -4
- package/dist/components/{p-1ca992c5.js → p-a478e070.js} +3 -3
- package/dist/components/{p-2f0318c7.js → p-ae239151.js} +3 -3
- package/dist/components/{p-9217dbe9.js → p-b12e5011.js} +6 -6
- package/dist/components/{p-abbbb5f3.js → p-b3537ccc.js} +5 -5
- package/dist/components/{p-87d8706e.js → p-b39c779d.js} +6 -6
- package/dist/components/{p-71133697.js → p-bd9a0ef8.js} +5 -5
- package/dist/components/{p-46ab4375.js → p-c00de10a.js} +8 -8
- package/dist/components/{p-94443423.js → p-c11b2f37.js} +1 -1
- package/dist/components/{p-3bfd5b6d.js → p-c3592601.js} +5 -2
- package/dist/components/{p-1d055d3f.js → p-c7dcb441.js} +3 -3
- package/dist/components/{p-963d619f.js → p-caf8596c.js} +7 -7
- package/dist/components/{p-9c2796e3.js → p-cd66e89b.js} +5 -5
- package/dist/components/{p-eebae590.js → p-d262b31f.js} +10 -10
- package/dist/components/{p-d17beb97.js → p-d3ca55ba.js} +5 -5
- package/dist/components/{p-df6f9a3f.js → p-d5791958.js} +2 -2
- package/dist/components/{p-749efee6.js → p-d71db36f.js} +6 -6
- package/dist/components/{p-512c3bef.js → p-db1e56e8.js} +8 -8
- package/dist/components/{p-7ad5bf75.js → p-dc23e204.js} +8 -7
- package/dist/components/{p-25969351.js → p-e2b78972.js} +5 -5
- package/dist/components/{p-bffc1ba5.js → p-e3b59650.js} +2 -2
- package/dist/components/{p-77167e1b.js → p-e4376670.js} +9 -9
- package/dist/components/{p-53b020e2.js → p-e6d09c50.js} +7 -1
- package/dist/components/{p-460cebe9.js → p-e99f574d.js} +27 -27
- package/dist/components/{p-4b5caa33.js → p-eeea40dd.js} +6 -6
- package/dist/components/{p-028999b4.js → p-ef376a73.js} +6 -6
- package/dist/components/{p-78349933.js → p-f682505d.js} +13 -13
- package/dist/components/{p-60db99e3.js → p-fe278fba.js} +4 -4
- package/dist/components/{p-1cda12a9.js → p-febe3ebc.js} +1 -1
- package/dist/components/rtk-ai-toggle.js +6 -6
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +6 -6
- package/dist/components/rtk-audio-grid.js +4 -4
- package/dist/components/rtk-audio-tile.js +7 -7
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +6 -6
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-button.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +7 -7
- package/dist/components/rtk-caption-toggle.js +6 -6
- package/dist/components/rtk-channel-creator.js +1 -1
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +1 -1
- package/dist/components/rtk-channel-selector-ui.js +8 -8
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +9 -9
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector-ui.js +4 -4
- package/dist/components/rtk-chat-toggle.js +18 -10
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +9 -8
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +4 -4
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +6 -6
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +5 -5
- package/dist/components/rtk-file-dropzone.js +4 -4
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +8 -8
- package/dist/components/rtk-grid.js +12 -12
- package/dist/components/rtk-header.js +4 -4
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +6 -6
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +5 -5
- package/dist/components/rtk-information-tooltip.js +4 -4
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +6 -6
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +6 -6
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +7 -7
- package/dist/components/rtk-meeting.js +58 -58
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +5 -5
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +7 -7
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +10 -10
- package/dist/components/rtk-more-toggle.js +6 -6
- package/dist/components/rtk-mute-all-button.js +7 -7
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +4 -4
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +6 -6
- package/dist/components/rtk-participant-setup.js +3 -3
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +6 -6
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +18 -11
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +17 -17
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +6 -6
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +18 -10
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +18 -10
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +6 -6
- package/dist/components/rtk-recording-toggle.js +6 -6
- package/dist/components/rtk-screen-share-toggle.js +7 -7
- package/dist/components/rtk-screenshare-view.js +6 -6
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +6 -6
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +13 -13
- package/dist/components/rtk-setup-screen.js +10 -10
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +13 -20
- package/dist/components/rtk-simple-grid.js +4 -4
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +4 -4
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +7 -7
- package/dist/components/rtk-stage.js +3 -3
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +4 -4
- package/dist/components/rtk-ui-provider.js +3 -3
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +4 -4
- package/dist/docs/docs-components.json +25 -1
- package/dist/docs/docs-vscode.json +4 -0
- package/dist/esm/{ChatHead-4ef9f354.js → ChatHead-cf7a7e22.js} +1 -1
- package/dist/esm/{TextMessage-0683cfdd.js → TextMessage-efd224db.js} +2 -2
- package/dist/esm/{chat-d82f457b.js → chat-c25836b0.js} +1 -1
- package/dist/esm/{config-233d8f24.js → config-1ca1ba30.js} +7 -1
- package/dist/esm/{index-27e158ce.js → index-6aaa85ca.js} +2 -2
- package/dist/esm/{index-25a91036.js → index-c1fb98bb.js} +5 -2
- package/dist/esm/{index-3f9d8968.js → index-d31a2e33.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/loader.js +99 -39
- package/dist/esm/{notification-90f2d20b.js → notification-800f2bcd.js} +1 -1
- package/dist/esm/realtimekit-ui.js +3 -3
- package/dist/esm/rtk-ai-toggle.entry.js +3 -3
- package/dist/esm/rtk-ai-transcriptions.entry.js +4 -4
- package/dist/esm/rtk-ai.entry.js +3 -3
- package/dist/esm/rtk-audio-grid.entry.js +4 -4
- package/dist/esm/rtk-audio-tile.entry.js +3 -3
- package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
- package/dist/esm/rtk-avatar_54.entry.js +11 -10
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
- package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
- package/dist/esm/rtk-camera-toggle.entry.js +3 -3
- package/dist/esm/rtk-caption-toggle.entry.js +3 -3
- package/dist/esm/rtk-channel-selector-ui.entry.js +5 -5
- package/dist/esm/rtk-chat-composer-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-toggle.entry.js +13 -6
- package/dist/esm/rtk-clock.entry.js +8 -7
- package/dist/esm/rtk-controlbar-button.entry.js +5 -4
- package/dist/esm/rtk-controlbar.entry.js +4 -4
- package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
- package/dist/esm/rtk-ended-screen.entry.js +3 -3
- package/dist/esm/rtk-file-dropzone.entry.js +3 -3
- package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
- package/dist/esm/rtk-grid-pagination.entry.js +5 -5
- package/dist/esm/rtk-grid.entry.js +4 -4
- package/dist/esm/rtk-header.entry.js +4 -4
- package/dist/esm/rtk-idle-screen.entry.js +3 -3
- package/dist/esm/rtk-image-viewer.entry.js +3 -3
- package/dist/esm/rtk-information-tooltip.entry.js +3 -3
- package/dist/esm/rtk-leave-button.entry.js +3 -3
- package/dist/esm/rtk-livestream-indicator_3.entry.js +7 -7
- package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
- package/dist/esm/rtk-meeting-title.entry.js +6 -6
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-mic-toggle.entry.js +3 -3
- package/dist/esm/rtk-mixed-grid.entry.js +4 -4
- package/dist/esm/rtk-more-toggle.entry.js +3 -3
- package/dist/esm/rtk-mute-all-button.entry.js +3 -3
- package/dist/esm/rtk-name-tag.entry.js +3 -3
- package/dist/esm/rtk-network-indicator.entry.js +3 -3
- package/dist/esm/rtk-participant-count.entry.js +5 -5
- package/dist/esm/rtk-participant-setup.entry.js +3 -3
- package/dist/esm/rtk-participant_2.entry.js +4 -4
- package/dist/esm/rtk-participants-audio.entry.js +3 -3
- package/dist/esm/rtk-participants-stage-list_4.entry.js +4 -4
- package/dist/esm/rtk-participants-toggle.entry.js +13 -7
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
- package/dist/esm/rtk-plugins-toggle.entry.js +13 -6
- package/dist/esm/rtk-plugins_2.entry.js +3 -3
- package/dist/esm/rtk-poll_2.entry.js +3 -3
- package/dist/esm/rtk-polls-toggle.entry.js +13 -6
- package/dist/esm/rtk-recording-indicator.entry.js +5 -5
- package/dist/esm/rtk-recording-toggle.entry.js +3 -3
- package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
- package/dist/esm/rtk-screenshare-view.entry.js +3 -3
- package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
- package/dist/esm/rtk-settings-toggle.entry.js +3 -3
- package/dist/esm/rtk-settings.entry.js +3 -3
- package/dist/esm/rtk-setup-screen.entry.js +4 -4
- package/dist/esm/rtk-sidebar-ui.entry.js +27 -5
- package/dist/esm/rtk-sidebar.entry.js +5 -12
- package/dist/esm/rtk-simple-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
- package/dist/esm/rtk-stage-toggle.entry.js +3 -3
- package/dist/esm/rtk-stage.entry.js +3 -3
- package/dist/esm/rtk-transcript.entry.js +3 -3
- package/dist/esm/rtk-transcripts.entry.js +3 -3
- package/dist/esm/rtk-ui-provider.entry.js +3 -3
- package/dist/esm/rtk-waiting-screen.entry.js +3 -3
- package/dist/esm/{sidebar-aa5e43a2.js → sidebar-cafaa8d3.js} +1 -1
- package/dist/esm/{ui-store-5383d525.js → ui-store-b453cdf2.js} +7 -1
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-b7183272.entry.js → p-01f5aba6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6c894b6b.entry.js → p-03a04390.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7895b888.entry.js → p-050469f0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0f5a23ce.entry.js → p-050f0b1f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7d970fe1.entry.js → p-0a1d9e02.entry.js} +1 -1
- package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
- package/dist/realtimekit-ui/{p-7edbcd5e.entry.js → p-0d071b0c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b8ea8298.entry.js → p-0d4db84d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-533ecbf2.js → p-0ee570cd.js} +2 -2
- package/dist/realtimekit-ui/{p-e05e4c26.entry.js → p-131b1e94.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-24905c85.entry.js → p-139da463.entry.js} +1 -1
- package/dist/realtimekit-ui/p-238a19f8.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a268fabd.entry.js → p-25c7522f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-29802710.entry.js +1 -0
- package/dist/realtimekit-ui/p-2aa242f4.js +1 -0
- package/dist/realtimekit-ui/{p-2738468d.entry.js → p-3611c234.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-997830fd.entry.js → p-373ea59c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3d312beb.entry.js +1 -0
- package/dist/realtimekit-ui/p-3ed1c004.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b2ad78a0.entry.js → p-3fd79328.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-03ac511d.entry.js → p-4211ad5e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-42a64cbb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0c011730.entry.js → p-44915a3b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-457a0412.entry.js +1 -0
- package/dist/realtimekit-ui/{p-db9371e5.js → p-4b882b41.js} +1 -1
- package/dist/realtimekit-ui/{p-e9a4f3d2.entry.js → p-4d8ab9a5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1206b9a4.entry.js → p-4dc84daa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-15b14b92.entry.js → p-4f45e362.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4caa353f.entry.js → p-4ff47eb0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-646b89d6.entry.js → p-55503b00.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-46ea4a0d.entry.js → p-556db3a1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-5584d146.entry.js +1 -0
- package/dist/realtimekit-ui/{p-bfe04e6b.entry.js → p-560c3d93.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-63fabdb8.entry.js → p-5b15e3cf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-59f22e0a.entry.js → p-679bd218.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0336caf2.entry.js → p-6be9be47.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6c238609.entry.js +1 -0
- package/dist/realtimekit-ui/{p-faf1d40a.js → p-6ededa68.js} +1 -1
- package/dist/realtimekit-ui/{p-2573cda1.entry.js → p-7536cb87.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bac4d3cc.entry.js → p-7af0573f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-701e8cc1.entry.js → p-7dbd2a25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-46c3367c.entry.js → p-807dd186.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9c378706.entry.js → p-80a02bba.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fb2ddda7.entry.js → p-85ff4a34.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3207575b.entry.js → p-89f6a08a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-8fe6b03c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a467c711.entry.js → p-917f2951.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1fac5c7d.entry.js → p-93f881e2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6481cc88.entry.js → p-9435f236.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e4686e58.entry.js → p-94b739b4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f29be06c.entry.js → p-9946b484.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-533ce032.entry.js → p-9ca13287.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9ff45356.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0ec000c9.entry.js → p-a5d22edf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d4ad4027.entry.js → p-a6f03681.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a738a7b3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-3e83ff84.js → p-aaba206b.js} +1 -1
- package/dist/realtimekit-ui/{p-c9474ab6.entry.js → p-affaaf1a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b14563cb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-1567a135.js → p-b16cee89.js} +1 -1
- package/dist/realtimekit-ui/{p-36990601.entry.js → p-b62f9abb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6964a8f6.entry.js → p-bc17c582.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6a4fb57a.entry.js → p-bf56688f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5da1339e.entry.js → p-c7f14fd0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1b0b0f2d.js → p-c8eaa707.js} +1 -1
- package/dist/realtimekit-ui/{p-eb3c426f.entry.js → p-d013442a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cdb45819.entry.js → p-d075d673.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d7509ae5.entry.js → p-d1e6d6c4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d77f7f22.entry.js +1 -0
- package/dist/realtimekit-ui/{p-8d04a9a1.entry.js → p-d9217d24.entry.js} +1 -1
- package/dist/realtimekit-ui/p-dbb95589.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c5aabfb2.entry.js → p-dd9b1b30.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6b50f9b5.entry.js → p-e1091812.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e13b5128.entry.js +1 -0
- package/dist/realtimekit-ui/{p-ca1a26a8.entry.js → p-e171b1c4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ee167b96.js +1 -0
- package/dist/realtimekit-ui/{p-d9a0b571.entry.js → p-f5ad8c8f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8edd80c2.entry.js → p-fb67b669.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3cf531c1.js → p-fc36f92c.js} +1 -1
- package/dist/realtimekit-ui/p-fc704ef3.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +2 -0
- package/dist/types/components/rtk-participants-toggle/rtk-participants-toggle.d.ts +2 -0
- package/dist/types/components/rtk-plugins-toggle/rtk-plugins-toggle.d.ts +2 -0
- package/dist/types/components/rtk-polls-toggle/rtk-polls-toggle.d.ts +2 -0
- package/dist/types/components/rtk-sidebar/rtk-sidebar.d.ts +0 -1
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +8 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-0218a56b.js +0 -1
- package/dist/realtimekit-ui/p-06f1ed80.entry.js +0 -1
- package/dist/realtimekit-ui/p-0d9929ac.js +0 -1
- package/dist/realtimekit-ui/p-0e8213ad.entry.js +0 -1
- package/dist/realtimekit-ui/p-1be4070c.entry.js +0 -1
- package/dist/realtimekit-ui/p-458dfb31.entry.js +0 -1
- package/dist/realtimekit-ui/p-551b32ce.entry.js +0 -1
- package/dist/realtimekit-ui/p-5a7d71b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-6ad690e8.entry.js +0 -1
- package/dist/realtimekit-ui/p-6e0f9e5d.entry.js +0 -1
- package/dist/realtimekit-ui/p-93f69d20.entry.js +0 -1
- package/dist/realtimekit-ui/p-a7ec3e7f.js +0 -1
- package/dist/realtimekit-ui/p-badcfa98.entry.js +0 -1
- package/dist/realtimekit-ui/p-c1c88e62.entry.js +0 -1
- package/dist/realtimekit-ui/p-cadc29e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-cc0c49b8.entry.js +0 -1
- package/dist/realtimekit-ui/p-e6541a6b.entry.js +0 -1
- package/dist/realtimekit-ui/p-f0d98e40.entry.js +0 -1
- package/dist/realtimekit-ui/p-fc0241b5.entry.js +0 -1
- package/dist/realtimekit-ui/p-fdad06d2.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t,h as a,H as o}from"./p-533ecbf2.js";import{a as e,c as i}from"./p-0d9929ac.js";import{S as s}from"./p-0218a56b.js";import{s as l,f as c,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 l=r.length-1;l>=0;l--)(e=r[l])&&(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:"d37f42807d5e9ff32cd1a675d917a15ef38c1a50"},a("div",{key:"2defb5e6817c6e52ef9d174e9139106d9f971304",class:"ctr"},a("p",{key:"1f62d9493e4412fb8120dd6a1cdac8102d4bfd3f",class:"poll-title"},this.t("polls.by")," ",l(c(this.poll.createdBy),20)),a("div",{key:"75315b70802cd4040f3a9feafe424f329fd2b397",class:"poll"},a("p",{key:"562f274b9c9a37c181491ec2a10bc60dfb9b2f2e",class:"poll-question"},this.poll.question),a("div",{key:"b683a6f2d4f019f2abc0ede2db00559ee251601d",class:"poll-answers"},a("span",{key:"8470f3dfc7e3ae98af53264e395678bf4a1df7af"},this.t("polls.answers")),a("span",{key:"2a8bbbb9b06b5ae990b6076028c1305f7c8551b8"},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 l=r.length-1;l>=0;l--)(e=r[l])&&(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:"ce91372243197e68b2323889fe6768afcb13712d"},a("div",{key:"d7e688b9e924ed8677eea21f7ba7fde844d8127a",class:"create-poll"},a("p",{key:"c240dde8fc2e10b092990a24a4c48205927f6661"},this.t("polls.question")),a("textarea",{key:"52f17471f4e00db0f72aeaf5637b0d282170c905",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:"18b094e5ed57c3fc67719820c21e04ce5a322bf7",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),a("label",{key:"7466c849dbd7146fbc2e919ca240cf5b4ca87948"},a("input",{key:"3523addb0bef26dd203ff0ace9cbc5c8e438a4dc",id:"anonymous",type:"checkbox",onChange:r=>this.anonymous=r.target.checked}),this.t("polls.results.anon")),a("label",{key:"0948aeedab995e2807f65da59db206620e559677"},a("input",{key:"24c695b457b095f11ab25f2866dfdbad7e3445f3",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:"ed358c58d852a658d5a32681ac948b3bcdc06935",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&a("span",{key:"ff82ffba979eef3ed1e4c234e8a0656fa454d2c9",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{a as e,c as i}from"./p-ee167b96.js";import{S as s}from"./p-2aa242f4.js";import{s as l,f as c,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 l=r.length-1;l>=0;l--)(e=r[l])&&(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:"d37f42807d5e9ff32cd1a675d917a15ef38c1a50"},a("div",{key:"2defb5e6817c6e52ef9d174e9139106d9f971304",class:"ctr"},a("p",{key:"1f62d9493e4412fb8120dd6a1cdac8102d4bfd3f",class:"poll-title"},this.t("polls.by")," ",l(c(this.poll.createdBy),20)),a("div",{key:"75315b70802cd4040f3a9feafe424f329fd2b397",class:"poll"},a("p",{key:"562f274b9c9a37c181491ec2a10bc60dfb9b2f2e",class:"poll-question"},this.poll.question),a("div",{key:"b683a6f2d4f019f2abc0ede2db00559ee251601d",class:"poll-answers"},a("span",{key:"8470f3dfc7e3ae98af53264e395678bf4a1df7af"},this.t("polls.answers")),a("span",{key:"2a8bbbb9b06b5ae990b6076028c1305f7c8551b8"},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 l=r.length-1;l>=0;l--)(e=r[l])&&(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:"ce91372243197e68b2323889fe6768afcb13712d"},a("div",{key:"d7e688b9e924ed8677eea21f7ba7fde844d8127a",class:"create-poll"},a("p",{key:"c240dde8fc2e10b092990a24a4c48205927f6661"},this.t("polls.question")),a("textarea",{key:"52f17471f4e00db0f72aeaf5637b0d282170c905",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:"18b094e5ed57c3fc67719820c21e04ce5a322bf7",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),a("label",{key:"7466c849dbd7146fbc2e919ca240cf5b4ca87948"},a("input",{key:"3523addb0bef26dd203ff0ace9cbc5c8e438a4dc",id:"anonymous",type:"checkbox",onChange:r=>this.anonymous=r.target.checked}),this.t("polls.results.anon")),a("label",{key:"0948aeedab995e2807f65da59db206620e559677"},a("input",{key:"24c695b457b095f11ab25f2866dfdbad7e3445f3",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:"ed358c58d852a658d5a32681ac948b3bcdc06935",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&a("span",{key:"ff82ffba979eef3ed1e4c234e8a0656fa454d2c9",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
|
|
1
|
+
import{r as t,c as e,h as a,H as r}from"./p-0ee570cd.js";import{c as s}from"./p-ee167b96.js";import{S as o}from"./p-2aa242f4.js";const i=class{constructor(a){t(this,a),this.dismiss=e(this,"rtkTranscriptDismiss",7),this.t=s()}connectedCallback(){this.transcriptChanged(this.transcript)}transcriptChanged(t,e){if((null==e?void 0:e.renderedId)===t.renderedId&&(null==e?void 0:e.transcript)===t.transcript)return;if(clearTimeout(this.timeout),!(null==t?void 0:t.name)||!(null==t?void 0:t.transcript))return;const{id:a,renderedId:r}=t;this.timeout=setTimeout((()=>{this.dismiss.emit({id:a,renderedId:r})}),1e4)}render(){return a(r,{key:"12226276b5cd6bdc6f0dedf877a1f8829132b7e6"},a("div",{key:"0fc2f4aa3e5be3a0339e353e89a187c410b17c18",class:"ctr"},a("p",{key:"ce7a0b3d519770b0588c062c49a5187a0432702c",class:"message"},a("span",{key:"0a2cceb0e26b5aa2570f53a4651caf9fcd4971ed",class:"name"},this.transcript.name),": ",this.transcript.transcript)))}static get watchers(){return{transcript:["transcriptChanged"]}}};(function(t,e,a,r){var s,o=arguments.length,i=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,a,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(i=(o<3?s(i):o>3?s(e,a,i):s(e,a))||i);o>3&&i&&Object.defineProperty(e,a,i)})([o()],i.prototype,"t",void 0),i.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{pointer-events:none;display:block;color:rgb(var(--rtk-colors-text-1000, 255 255 255));display:flex;justify-content:center;vertical-align:middle;animation:show 0.4s ease;transition:0.4s;z-index:5;width:100%}.ctr{box-sizing:border-box;display:inline-flex;height:100%;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto;padding:var(--rtk-space-3, 12px);overflow:auto;max-width:50%}.message{margin:var(--rtk-space-0, 0px);display:inline-block;justify-content:center;max-width:100%;text-wrap:wrap;line-height:1.5rem}.message .name{font-weight:bold}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateY(120px)}100%{opacity:1;transform:translateY(0px)}}@keyframes exit{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-120px)}}:host([size='sm']){font-size:14px}";export{i as rtk_transcript}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as t}from"./p-
|
|
1
|
+
import{e as t}from"./p-ee167b96.js";import{l as o}from"./p-5605a420.js";const s={joined:"https://dyte-uploads.s3.ap-south-1.amazonaws.com/notification_join.mp3",left:"https://dyte-uploads.s3.ap-south-1.amazonaws.com/notification_join.mp3",message:"https://dyte-uploads.s3.ap-south-1.amazonaws.com/notification_message.mp3"};class i{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,i=3e3){var a;this.playing||(this.playing=!0,this.audio.src=s[t],this.audio.volume=.3,null===(a=this.audio.play())||void 0===a||a.catch((s=>{o.error("[rtk-notifications] play() failed\n",{sound:t,duration:i},s)})),setTimeout((()=>{this.playing=!1}),i))}async setDevice(s){var i,a,n;t(this.meeting)||await(null===(n=null===(a=null===(i=this.audio)||void 0===i?void 0:i.setSinkId)||void 0===a?void 0:a.call(i,s))||void 0===n?void 0:n.catch((t=>{o.error("[rtk-notifications] setSinkId() error\n",t)})))}}export{i as R}
|