@cloudflare/realtimekit-ui 1.0.3-staging.4 → 1.0.4-staging.1
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-87c1e5a0.js → TextMessage-b9599251.js} +1 -1
- package/dist/cjs/{chat-6d305b71.js → chat-aac81e73.js} +1 -1
- package/dist/cjs/{debounce-6dabb441.js → debounce-8ebb7833.js} +6 -6
- package/dist/cjs/index-2ae99c70.js +88 -0
- package/dist/cjs/index.cjs.js +17 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/merge-ee976be5.js +575 -0
- package/dist/cjs/{config-9632c81a.js → notification-541b7cfa.js} +39 -576
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -7
- package/dist/cjs/rtk-ai.cjs.entry.js +8 -3
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +6 -3
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +8 -3
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +11 -11
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +385 -297
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +12 -7
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +8 -3
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +6 -6
- 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 +6 -4
- package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-controlbar.cjs.entry.js +7 -4
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +8 -3
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +7 -5
- package/dist/cjs/rtk-grid.cjs.entry.js +14 -11
- package/dist/cjs/rtk-header.cjs.entry.js +7 -4
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +7 -4
- 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 +4 -4
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +6 -6
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -7
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +4 -2
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +10 -5
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +4 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
- 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 +8 -5
- package/dist/cjs/rtk-participant_2.cjs.entry.js +21 -19
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +29 -13
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participants.cjs.entry.js +13 -9
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +8 -3
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +7 -4
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +15 -9
- package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +5 -5
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +5 -5
- 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 +11 -5
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +13 -4
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +9 -4
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +8 -5
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +4 -4
- 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 +10 -10
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +127 -57
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +7 -4
- package/dist/cjs/{sidebar-8256d60e.js → sidebar-8b82a470.js} +1 -1
- package/dist/cjs/{ui-store-7807fa2a.js → ui-store-af000a8e.js} +2419 -13
- package/dist/collection/components/rtk-ai/rtk-ai.js +8 -3
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +2 -0
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -1
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +6 -1
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +11 -9
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +4 -4
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -0
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +2 -2
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +2 -0
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +8 -3
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -2
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +4 -4
- package/dist/collection/components/rtk-chat/rtk-chat.js +8 -4
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +2 -2
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +7 -7
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +4 -4
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -4
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +3 -1
- package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +7 -4
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +6 -3
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +9 -3
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +8 -3
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +3 -3
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
- package/dist/collection/components/rtk-grid/rtk-grid.js +14 -12
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +5 -3
- package/dist/collection/components/rtk-header/rtk-header.js +7 -4
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +7 -4
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -5
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +2 -2
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +7 -4
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +4 -4
- package/dist/collection/components/rtk-logo/rtk-logo.js +6 -3
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +119 -64
- package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +1 -1
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +2 -0
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +11 -6
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -0
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
- package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +13 -7
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
- package/dist/collection/components/rtk-participant/rtk-participant.js +18 -15
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +8 -5
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +10 -5
- package/dist/collection/components/rtk-participants/rtk-participants.js +12 -7
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +3 -3
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +10 -7
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +9 -4
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +9 -4
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +7 -4
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +8 -3
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +7 -4
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +2 -2
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
- package/dist/collection/components/rtk-polls/rtk-polls.js +10 -7
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
- package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +11 -5
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +12 -3
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +9 -4
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +8 -5
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -3
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +7 -4
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -6
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +41 -3
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +162 -93
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +7 -4
- package/dist/collection/exports.js +2 -2
- package/dist/collection/lib/builder/index.js +2 -2
- package/dist/collection/lib/default-ui-config.js +4 -0
- package/dist/collection/utils/config.js +2 -2
- package/dist/collection/utils/sync-with-store/index.js +66 -4
- package/dist/collection/utils/sync-with-store/ui-store.js +77 -15
- package/dist/components/index.js +6 -6
- package/dist/components/{p-cc6ff913.js → p-04dc0331.js} +17 -12
- package/dist/components/{p-a09473cb.js → p-095e6b83.js} +2 -2
- package/dist/components/{p-01788fc5.js → p-09ec425b.js} +6 -6
- package/dist/components/{p-79534847.js → p-0a0515d9.js} +4 -4
- package/dist/components/{p-cfbb9bd9.js → p-0b9cf1da.js} +4 -4
- package/dist/components/{p-de567bdf.js → p-0c855484.js} +6 -6
- package/dist/components/{p-6631e984.js → p-0f10661d.js} +3 -3
- package/dist/components/{p-20c74379.js → p-1035acb6.js} +3 -3
- package/dist/components/{p-afc2ce7b.js → p-12e64755.js} +3 -3
- package/dist/components/{p-7916d083.js → p-17ac0da7.js} +6 -3
- package/dist/components/{p-a08b5a59.js → p-1dca17d1.js} +1 -1
- package/dist/components/{p-a0000935.js → p-1f5e21d0.js} +11 -8
- package/dist/components/{p-23d64784.js → p-24c3ffc2.js} +4 -4
- package/dist/components/{p-fc4484ae.js → p-2b523e10.js} +2233 -14
- package/dist/components/{p-1f0c5462.js → p-2d58e36e.js} +6 -6
- package/dist/components/{p-77338347.js → p-2ee6390c.js} +11 -8
- package/dist/components/{p-c1f57f6b.js → p-2f9525bf.js} +4 -4
- package/dist/components/{p-ff6d9602.js → p-3081fabf.js} +5 -5
- package/dist/components/{p-eab1b7c1.js → p-310a03ac.js} +16 -16
- package/dist/components/{p-9b7dc3b2.js → p-32584f88.js} +6 -6
- package/dist/components/{p-153e1ac6.js → p-36b8529e.js} +6 -6
- package/dist/components/{p-efda30dd.js → p-37f70cfb.js} +4 -4
- package/dist/components/{p-b76deed8.js → p-384919de.js} +15 -15
- package/dist/components/{p-9007d4aa.js → p-388b17ad.js} +6 -6
- package/dist/components/p-3968315b.js +86 -0
- package/dist/components/{p-c86a0f9e.js → p-40870ba7.js} +9 -9
- package/dist/components/{p-8804314e.js → p-47a6f5a0.js} +3 -4
- package/dist/components/{p-cac807c5.js → p-47f6fdfa.js} +4 -4
- package/dist/components/{p-14c496c6.js → p-483894c7.js} +9 -6
- package/dist/components/{p-8c391f68.js → p-4bb5e9bb.js} +14 -14
- package/dist/components/{p-2507c6c8.js → p-4c2acc5c.js} +1 -1
- package/dist/components/{p-d8be719c.js → p-4f585ec2.js} +13 -13
- package/dist/components/{p-6d3c8a73.js → p-5255d2f8.js} +10 -10
- package/dist/components/{p-65e9c741.js → p-52628938.js} +6 -6
- package/dist/components/{p-b1161cb8.js → p-54de25c6.js} +3 -3
- package/dist/components/{p-97ce630d.js → p-557d4076.js} +15 -12
- package/dist/components/{p-22f2908e.js → p-5677f439.js} +4 -4
- package/dist/components/{p-ed0df5b1.js → p-57973e22.js} +4 -4
- package/dist/components/{p-2e9c3dd2.js → p-616cfbd8.js} +12 -9
- package/dist/components/{p-2c3cda13.js → p-632cbbe7.js} +25 -25
- package/dist/components/{p-11048ea8.js → p-65980189.js} +18 -16
- package/dist/components/{p-4b89a5d6.js → p-6b4eccd6.js} +6 -6
- package/dist/components/{p-b29a58cd.js → p-6c351e40.js} +14 -9
- package/dist/components/{p-f0df8c15.js → p-7525d343.js} +4 -4
- package/dist/components/{p-eba76ab4.js → p-7764b66b.js} +32 -26
- package/dist/components/{p-2df5f773.js → p-792de3bc.js} +3 -3
- package/dist/components/{p-7afb8f24.js → p-7ac93e47.js} +2 -2
- package/dist/components/{p-40a18d12.js → p-7d95084a.js} +7 -7
- package/dist/components/{p-9b675f4f.js → p-7f4b9092.js} +24 -21
- package/dist/components/{p-07c5a2da.js → p-80efd900.js} +17 -11
- package/dist/components/{p-cbc8e449.js → p-81a13bf2.js} +5 -5
- package/dist/components/{p-8d07e4b3.js → p-8320939f.js} +9 -9
- package/dist/components/{p-01b76741.js → p-87ae32cb.js} +9 -9
- package/dist/components/{p-1cc409c6.js → p-885dad3e.js} +5 -5
- package/dist/components/{p-1590eea9.js → p-889bc7b9.js} +5 -5
- package/dist/components/{p-ba8208ac.js → p-8afd3f68.js} +5 -5
- package/dist/components/{p-f77fe02e.js → p-8d93417e.js} +8 -8
- package/dist/components/{p-a575deb5.js → p-93355c43.js} +1 -1
- package/dist/components/{p-f634f020.js → p-938ee31c.js} +4 -4
- package/dist/components/{p-e9c999f4.js → p-96362151.js} +6 -6
- package/dist/components/{p-783ab170.js → p-96e2ff79.js} +8 -8
- package/dist/components/{p-7a1b0433.js → p-99303d10.js} +1 -1
- package/dist/components/{p-eaa808b7.js → p-9f843e5a.js} +9 -9
- package/dist/components/{p-3d5214b4.js → p-9f86929b.js} +8 -8
- package/dist/components/{p-60b29ed0.js → p-a10339f4.js} +5 -5
- package/dist/components/{p-ebb19a87.js → p-ab84cfbb.js} +8 -5
- package/dist/components/{p-b2b2e917.js → p-acbb932e.js} +2 -2
- package/dist/components/{p-11b00854.js → p-b53c309c.js} +6 -6
- package/dist/components/{p-c1a12313.js → p-b8baba9f.js} +60 -56
- package/dist/components/p-b8fe19b6.js +574 -0
- package/dist/components/{p-3358d7dc.js → p-b9e78c21.js} +1 -1
- package/dist/components/{p-5597fe9f.js → p-bee7d918.js} +9 -9
- package/dist/components/{p-1c22a3a0.js → p-bf72bb45.js} +10 -10
- package/dist/components/{p-85665c03.js → p-c254f63b.js} +9 -6
- package/dist/{esm/config-407ad80b.js → components/p-c5fd7cc6.js} +4 -575
- package/dist/components/{p-e902ab68.js → p-c65aaf73.js} +18 -18
- package/dist/components/{p-a73161da.js → p-cadee920.js} +1 -1
- package/dist/components/{p-b1030316.js → p-d1084f45.js} +2 -2
- package/dist/components/{p-8eea1b4d.js → p-d4f3d3d2.js} +11 -6
- package/dist/components/{p-9e5b47ea.js → p-dc3143c0.js} +3 -3
- package/dist/components/{p-b5dc3971.js → p-e10e8a56.js} +12 -12
- package/dist/components/{p-a59e060b.js → p-ea160150.js} +2 -2
- package/dist/components/{p-7dcce90b.js → p-f1a781b0.js} +4 -4
- package/dist/components/{p-65da3d17.js → p-f31839f4.js} +5 -5
- package/dist/components/{p-7d76715d.js → p-f3f1b0c0.js} +3 -3
- package/dist/components/{p-287eadbd.js → p-f3fbe2fb.js} +6 -6
- package/dist/components/{p-fab54b49.js → p-f44a0212.js} +4 -4
- package/dist/components/{p-f4158e29.js → p-f8594d8e.js} +2 -2
- package/dist/components/{p-d5ce79e0.js → p-fb038bd0.js} +6 -6
- package/dist/components/{p-0daa472f.js → p-fbe523dc.js} +8 -8
- package/dist/components/{p-273196ec.js → p-fc56c6ea.js} +6 -6
- package/dist/components/rtk-ai-toggle.js +7 -5
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +11 -6
- package/dist/components/rtk-audio-grid.js +6 -3
- package/dist/components/rtk-audio-tile.js +12 -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 +7 -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 +8 -6
- package/dist/components/rtk-caption-toggle.js +11 -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 +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 +9 -7
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +6 -6
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +7 -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 +10 -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 +10 -8
- package/dist/components/rtk-grid.js +22 -19
- package/dist/components/rtk-header.js +7 -4
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +10 -7
- 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 +9 -9
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +3 -3
- package/dist/components/rtk-meeting.js +173 -109
- 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 +8 -8
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +8 -6
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +16 -11
- package/dist/components/rtk-more-toggle.js +7 -7
- package/dist/components/rtk-mute-all-button.js +8 -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 +8 -5
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +8 -8
- 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 +8 -8
- 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 +27 -22
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +11 -6
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +7 -7
- 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 +4 -4
- package/dist/components/rtk-recording-toggle.js +8 -8
- package/dist/components/rtk-screen-share-toggle.js +6 -6
- package/dist/components/rtk-screenshare-view.js +10 -10
- 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 +17 -11
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +21 -12
- package/dist/components/rtk-simple-grid.js +9 -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 +8 -5
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +8 -8
- 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 +10 -8
- package/dist/components/rtk-ui-provider.js +130 -58
- 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 +8 -5
- package/dist/docs/docs-components.json +84 -122
- package/dist/docs/docs-vscode.json +10 -2
- package/dist/esm/{TextMessage-3e08c5e1.js → TextMessage-a699d8da.js} +1 -1
- package/dist/esm/{chat-927074dc.js → chat-0fec85e9.js} +1 -1
- package/dist/esm/{debounce-ea0579b2.js → debounce-29e3a983.js} +1 -1
- package/dist/esm/index-21637ec2.js +86 -0
- package/dist/esm/index.js +7 -9
- package/dist/esm/loader.js +18560 -18143
- package/dist/esm/merge-ef938315.js +573 -0
- package/dist/{components/p-31f1e8e5.js → esm/notification-deef1123.js} +38 -575
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +4 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +3 -6
- package/dist/esm/rtk-ai.entry.js +8 -3
- package/dist/esm/rtk-audio-grid.entry.js +6 -3
- package/dist/esm/rtk-audio-tile.entry.js +8 -3
- package/dist/esm/rtk-audio-visualizer_4.entry.js +11 -11
- package/dist/esm/rtk-avatar_54.entry.js +382 -294
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +4 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +12 -7
- package/dist/esm/rtk-camera-toggle.entry.js +4 -2
- package/dist/esm/rtk-caption-toggle.entry.js +8 -3
- package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
- 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 +6 -4
- package/dist/esm/rtk-clock.entry.js +5 -5
- package/dist/esm/rtk-controlbar-button.entry.js +3 -3
- package/dist/esm/rtk-controlbar.entry.js +7 -4
- package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
- package/dist/esm/rtk-ended-screen.entry.js +8 -3
- package/dist/esm/rtk-file-dropzone.entry.js +3 -3
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +7 -5
- package/dist/esm/rtk-grid.entry.js +14 -11
- package/dist/esm/rtk-header.entry.js +7 -4
- package/dist/esm/rtk-idle-screen.entry.js +7 -4
- 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 +4 -4
- package/dist/esm/rtk-livestream-toggle.entry.js +6 -6
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +6 -7
- package/dist/esm/rtk-mic-toggle.entry.js +4 -2
- package/dist/esm/rtk-mixed-grid.entry.js +10 -5
- package/dist/esm/rtk-more-toggle.entry.js +4 -4
- package/dist/esm/rtk-mute-all-button.entry.js +4 -2
- package/dist/esm/rtk-name-tag.entry.js +3 -3
- 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 +8 -5
- package/dist/esm/rtk-participant_2.entry.js +21 -19
- package/dist/esm/rtk-participants-audio.entry.js +5 -5
- package/dist/esm/rtk-participants-stage-list_4.entry.js +29 -13
- package/dist/esm/rtk-participants-toggle.entry.js +5 -5
- package/dist/esm/rtk-participants.entry.js +13 -9
- package/dist/esm/rtk-pip-toggle.entry.js +8 -3
- package/dist/esm/rtk-plugin-main_2.entry.js +7 -4
- package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
- package/dist/esm/rtk-plugins_2.entry.js +15 -9
- package/dist/esm/rtk-poll_2.entry.js +5 -5
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +3 -3
- package/dist/esm/rtk-recording-toggle.entry.js +5 -5
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +7 -7
- package/dist/esm/rtk-settings-audio_2.entry.js +5 -5
- 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 +11 -5
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +13 -4
- package/dist/esm/rtk-simple-grid.entry.js +9 -4
- package/dist/esm/rtk-spotlight-grid.entry.js +8 -5
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +4 -4
- 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 +9 -9
- package/dist/esm/rtk-ui-provider.entry.js +127 -57
- package/dist/esm/rtk-waiting-screen.entry.js +7 -4
- package/dist/esm/{sidebar-50d89918.js → sidebar-c47b86b4.js} +1 -1
- package/dist/esm/{ui-store-1b477153.js → ui-store-fabf2b32.js} +2395 -14
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-05b3a3fa.entry.js +1 -0
- package/dist/realtimekit-ui/p-08628c03.entry.js +1 -0
- package/dist/realtimekit-ui/p-0f5681eb.entry.js +1 -0
- package/dist/realtimekit-ui/p-116eabc9.entry.js +1 -0
- package/dist/realtimekit-ui/p-17c4a39a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-fa03ab98.entry.js → p-18618102.entry.js} +1 -1
- package/dist/realtimekit-ui/p-18ca0ccd.entry.js +1 -0
- package/dist/realtimekit-ui/p-199f622a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c203aff3.js → p-1f3bfcdb.js} +1 -1
- package/dist/realtimekit-ui/p-23893740.entry.js +1 -0
- package/dist/realtimekit-ui/{p-da56f340.entry.js → p-28ac7dfd.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2bd5be73.js +1 -0
- package/dist/realtimekit-ui/p-2d0676a9.entry.js +1 -0
- package/dist/realtimekit-ui/p-309def3e.entry.js +1 -0
- package/dist/realtimekit-ui/p-30fe4bbf.entry.js +1 -0
- package/dist/realtimekit-ui/p-33c173a8.entry.js +1 -0
- package/dist/realtimekit-ui/p-375c10a2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9a2536ed.entry.js → p-37a218a8.entry.js} +1 -1
- package/dist/realtimekit-ui/p-38c18a6b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-efbe07a6.entry.js → p-393ff18f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a08b5a59.js → p-3956d569.js} +1 -1
- package/dist/realtimekit-ui/p-3b14c478.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0787a8a4.entry.js → p-3eb310d3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6f487b93.entry.js → p-420629b1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4265c450.entry.js +1 -0
- package/dist/realtimekit-ui/p-458b4f23.entry.js +1 -0
- package/dist/realtimekit-ui/p-4a2d51d2.entry.js +1 -0
- package/dist/realtimekit-ui/p-51fd9745.js +1 -0
- package/dist/realtimekit-ui/p-526f1a76.js +1 -0
- package/dist/realtimekit-ui/p-52b25934.js +1 -0
- package/dist/realtimekit-ui/p-542f52e9.entry.js +1 -0
- package/dist/realtimekit-ui/p-586b8e78.entry.js +1 -0
- package/dist/realtimekit-ui/p-59837fe1.entry.js +1 -0
- package/dist/realtimekit-ui/p-59cd209a.entry.js +1 -0
- package/dist/realtimekit-ui/p-5d60f101.entry.js +1 -0
- package/dist/realtimekit-ui/{p-221efc53.entry.js → p-67ff2615.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bf5ecc7c.js → p-6cd96b58.js} +1 -1
- package/dist/realtimekit-ui/p-6f24d78f.entry.js +1 -0
- package/dist/realtimekit-ui/p-716f90a3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d9138a0d.entry.js → p-76bcc78d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-7bae9d05.entry.js +1 -0
- package/dist/realtimekit-ui/p-82520fc0.entry.js +1 -0
- package/dist/realtimekit-ui/p-86d3632a.entry.js +1 -0
- package/dist/realtimekit-ui/p-87a8cbc2.entry.js +1 -0
- package/dist/realtimekit-ui/p-881f7e61.entry.js +1 -0
- package/dist/realtimekit-ui/p-9b8a0f9b.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c5cb84c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-7965a765.entry.js → p-a02141f1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a29ad4d8.entry.js +1 -0
- package/dist/realtimekit-ui/p-a33714b1.entry.js +1 -0
- package/dist/realtimekit-ui/p-a5512788.entry.js +1 -0
- package/dist/realtimekit-ui/p-a6802383.entry.js +1 -0
- package/dist/realtimekit-ui/p-a80ce945.entry.js +1 -0
- package/dist/realtimekit-ui/p-ad5fc6df.entry.js +1 -0
- package/dist/realtimekit-ui/p-af81e9cf.entry.js +1 -0
- package/dist/realtimekit-ui/p-af95d40e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4bace64f.entry.js → p-b616deb3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-bd103adc.entry.js +1 -0
- package/dist/realtimekit-ui/p-c2f35fc7.entry.js +1 -0
- package/dist/realtimekit-ui/p-c31bcf97.entry.js +1 -0
- package/dist/realtimekit-ui/p-cde200c4.entry.js +1 -0
- package/dist/realtimekit-ui/p-d0ec8218.entry.js +1 -0
- package/dist/realtimekit-ui/p-d2998b1e.entry.js +1 -0
- package/dist/realtimekit-ui/p-de42b31f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c4fc57c1.entry.js → p-e0303097.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e368f30f.entry.js +1 -0
- package/dist/realtimekit-ui/p-e48166db.entry.js +1 -0
- package/dist/realtimekit-ui/p-e77e5cef.entry.js +1 -0
- package/dist/realtimekit-ui/p-e872d214.entry.js +1 -0
- package/dist/realtimekit-ui/p-e8e68c22.entry.js +1 -0
- package/dist/realtimekit-ui/p-eae4e83b.js +1 -0
- package/dist/realtimekit-ui/p-ef3ac9e9.entry.js +1 -0
- package/dist/realtimekit-ui/{p-629258de.entry.js → p-efc9cddb.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f16ed5c8.entry.js +1 -0
- package/dist/realtimekit-ui/p-f2af9690.entry.js +1 -0
- package/dist/realtimekit-ui/p-f7cc7f81.entry.js +1 -0
- package/dist/realtimekit-ui/p-fdc0d8cc.entry.js +1 -0
- package/dist/realtimekit-ui/p-fdec3315.entry.js +1 -0
- package/dist/realtimekit-ui/p-ff4f156f.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +13 -3
- package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +13 -8
- package/dist/types/components.d.ts +10 -10
- package/dist/types/exports.d.ts +2 -2
- package/dist/types/lib/default-ui-config.d.ts +1 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +23 -7
- package/package.json +1 -1
- package/dist/cjs/clone-2e9a4cae.js +0 -754
- package/dist/cjs/index-49c92728.js +0 -26
- package/dist/cjs/isObjectLike-73d13a39.js +0 -171
- package/dist/cjs/keysIn-8bdbe83d.js +0 -1438
- package/dist/cjs/notification-6d70e3a8.js +0 -39
- package/dist/components/p-46923b34.js +0 -1409
- package/dist/components/p-989a34c9.js +0 -24
- package/dist/components/p-c15d924f.js +0 -752
- package/dist/esm/clone-acd4af50.js +0 -752
- package/dist/esm/index-3481d5b2.js +0 -24
- package/dist/esm/isObjectLike-773b9473.js +0 -164
- package/dist/esm/keysIn-310f65c1.js +0 -1409
- package/dist/esm/notification-2ab22a76.js +0 -37
- package/dist/realtimekit-ui/p-0215809e.entry.js +0 -1
- package/dist/realtimekit-ui/p-076d6fb1.entry.js +0 -1
- package/dist/realtimekit-ui/p-0df0bc3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-0f91e886.entry.js +0 -1
- package/dist/realtimekit-ui/p-11a81411.entry.js +0 -1
- package/dist/realtimekit-ui/p-14284891.entry.js +0 -1
- package/dist/realtimekit-ui/p-14350b0d.entry.js +0 -1
- package/dist/realtimekit-ui/p-15e0e0fc.entry.js +0 -1
- package/dist/realtimekit-ui/p-17588509.entry.js +0 -1
- package/dist/realtimekit-ui/p-1abb4841.entry.js +0 -1
- package/dist/realtimekit-ui/p-293547d1.entry.js +0 -1
- package/dist/realtimekit-ui/p-2c3cda13.js +0 -1
- package/dist/realtimekit-ui/p-2ed8953f.entry.js +0 -1
- package/dist/realtimekit-ui/p-3c46bebb.entry.js +0 -1
- package/dist/realtimekit-ui/p-3e54f3e8.entry.js +0 -1
- package/dist/realtimekit-ui/p-4023c083.js +0 -1
- package/dist/realtimekit-ui/p-44c22bd9.entry.js +0 -1
- package/dist/realtimekit-ui/p-46923b34.js +0 -1
- package/dist/realtimekit-ui/p-49602b35.entry.js +0 -1
- package/dist/realtimekit-ui/p-4bcf9db7.entry.js +0 -1
- package/dist/realtimekit-ui/p-5444d39b.entry.js +0 -1
- package/dist/realtimekit-ui/p-546ff22a.entry.js +0 -1
- package/dist/realtimekit-ui/p-5b277ae0.entry.js +0 -1
- package/dist/realtimekit-ui/p-63064c88.entry.js +0 -1
- package/dist/realtimekit-ui/p-64514c63.entry.js +0 -1
- package/dist/realtimekit-ui/p-67a1126f.entry.js +0 -1
- package/dist/realtimekit-ui/p-67dcfbf3.entry.js +0 -1
- package/dist/realtimekit-ui/p-6f56ad30.entry.js +0 -1
- package/dist/realtimekit-ui/p-6fd65de6.entry.js +0 -1
- package/dist/realtimekit-ui/p-7597f3ea.entry.js +0 -1
- package/dist/realtimekit-ui/p-7ade6183.entry.js +0 -1
- package/dist/realtimekit-ui/p-7e96fb7b.entry.js +0 -1
- package/dist/realtimekit-ui/p-86afa8c3.entry.js +0 -1
- package/dist/realtimekit-ui/p-8819f726.entry.js +0 -1
- package/dist/realtimekit-ui/p-89543b39.entry.js +0 -1
- package/dist/realtimekit-ui/p-8e869d13.entry.js +0 -1
- package/dist/realtimekit-ui/p-9274e173.entry.js +0 -1
- package/dist/realtimekit-ui/p-9d038c16.entry.js +0 -1
- package/dist/realtimekit-ui/p-9d8e8a27.entry.js +0 -1
- package/dist/realtimekit-ui/p-9de3f942.entry.js +0 -1
- package/dist/realtimekit-ui/p-a42c0e83.entry.js +0 -1
- package/dist/realtimekit-ui/p-a4922241.js +0 -1
- package/dist/realtimekit-ui/p-a845c29f.entry.js +0 -1
- package/dist/realtimekit-ui/p-a8b7c6a2.entry.js +0 -1
- package/dist/realtimekit-ui/p-ac8a0151.entry.js +0 -1
- package/dist/realtimekit-ui/p-acd86770.entry.js +0 -1
- package/dist/realtimekit-ui/p-b15377a2.entry.js +0 -1
- package/dist/realtimekit-ui/p-b5af8a86.entry.js +0 -1
- package/dist/realtimekit-ui/p-b965ac1d.entry.js +0 -1
- package/dist/realtimekit-ui/p-c15d924f.js +0 -1
- package/dist/realtimekit-ui/p-c1db5ef9.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6837853.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6eb9963.entry.js +0 -1
- package/dist/realtimekit-ui/p-d3bf4348.js +0 -1
- package/dist/realtimekit-ui/p-d560f5c8.entry.js +0 -1
- package/dist/realtimekit-ui/p-d8c2b553.entry.js +0 -1
- package/dist/realtimekit-ui/p-da59b75c.js +0 -1
- package/dist/realtimekit-ui/p-dac97779.js +0 -1
- package/dist/realtimekit-ui/p-dd6d2ca9.entry.js +0 -1
- package/dist/realtimekit-ui/p-e0450660.entry.js +0 -1
- package/dist/realtimekit-ui/p-e0a80608.entry.js +0 -1
- package/dist/realtimekit-ui/p-ea1736c3.entry.js +0 -1
- package/dist/realtimekit-ui/p-eb4025c0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ed87ad1f.entry.js +0 -1
- package/dist/realtimekit-ui/p-f2ba56ec.entry.js +0 -1
- package/dist/realtimekit-ui/p-f3d02201.entry.js +0 -1
- package/dist/realtimekit-ui/p-f78cecba.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s,H as o}from"./p-0ee570cd.js";import{a as e,c as a}from"./p-d3bf4348.js";import{S as l}from"./p-dac97779.js";var n=function(i,t,s,o){var e,a=arguments.length,l=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(i,t,s,o);else for(var n=i.length-1;n>=0;n--)(e=i[n])&&(l=(a<3?e(l):a>3?e(t,s,l):e(t,s))||l);return a>3&&l&&Object.defineProperty(t,s,l),l};const d=class{constructor(s){i(this,s),this.stateUpdate=t(this,"rtkStateUpdate",7),this.audioUpdateListener=({audioEnabled:i})=>{this.audioEnabled=i},this.stageStatusListener=()=>{this.stageStatus=this.meeting.stage.status,this.canProduceAudio="ALLOWED"===this.meeting.self.permissions.canProduceAudio},this.mediaPermissionUpdateListener=({kind:i,message:t})=>{"audio"===i&&(this.micPermission=t)},this.meetingPermissionsUpdateListener=i=>{var t;(null===(t=null==i?void 0:i.media)||void 0===t?void 0:t.audio)&&(this.canProduceAudio="ALLOWED"===this.meeting.self.permissions.canProduceAudio)},this.variant="button",this.iconPack=e,this.t=a(),this.audioEnabled=!1,this.canProduceAudio=!1,this.micPermission="NOT_REQUESTED",this.stageStatus="OFF_STAGE",this.toggleMic=()=>{var i,t,s,o,e,a,l,n,d,h,r,c;if(null===(i=this.meeting)||void 0===i||i.__internals__.logger.info("rtkMicToggle::toggleMic",{media:{audio:{enabled:Boolean(null===(s=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===s?void 0:s.audioEnabled),permission:this.micPermission,canProduce:null===(a=null===(e=null===(o=this.meeting)||void 0===o?void 0:o.self)||void 0===e?void 0:e.permissions)||void 0===a?void 0:a.canProduceAudio}},webinar:{stageStatus:null===(n=null===(l=this.meeting)||void 0===l?void 0:l.stage)||void 0===n?void 0:n.status},livestream:{stageStatus:null===(h=null===(d=this.meeting)||void 0===d?void 0:d.stage)||void 0===h?void 0:h.status},moduleExists:{self:Boolean(null===(r=this.meeting)||void 0===r?void 0:r.self)}}),this.hasPermissionError())return this.stateUpdate.emit({activePermissionsMessage:{enabled:!0,kind:"audio"}}),!1;const v=null===(c=this.meeting)||void 0===c?void 0:c.self;null!=v&&this.canProduceAudio&&(v.audioEnabled?v.disableAudio():v.enableAudio())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var i,t,s,o,e,a,l;null===(i=this.meeting)||void 0===i||i.self.removeListener("audioUpdate",this.audioUpdateListener),null===(t=this.meeting)||void 0===t||t.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null===(o=null===(s=this.meeting)||void 0===s?void 0:s.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.stageStatusListener),null===(l=null===(a=null===(e=this.meeting)||void 0===e?void 0:e.self)||void 0===a?void 0:a.permissions)||void 0===l||l.removeListener("permissionsUpdate",this.meetingPermissionsUpdateListener)}meetingChanged(i){var t,s;if(null!=i){const{self:o,stage:e}=i;this.canProduceAudio="ALLOWED"===this.meeting.self.permissions.canProduceAudio,this.micPermission=i.self.mediaPermissions.audio||"NOT_REQUESTED",this.audioEnabled=o.audioEnabled,this.stageStatus=i.stage.status,o.addListener("audioUpdate",this.audioUpdateListener),o.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null==e||e.addListener("stageStatusUpdate",this.stageStatusListener),null===(s=null===(t=i.self)||void 0===t?void 0:t.permissions)||void 0===s||s.addListener("permissionsUpdate",this.meetingPermissionsUpdateListener)}}hasPermissionError(){return"DENIED"===this.micPermission||"SYSTEM_DENIED"===this.micPermission}getState(){let i="",t="",s="",o={},e=this.hasPermissionError(),a="COULD_NOT_START"===this.micPermission;return this.audioEnabled&&!e?(t=this.t("mic_on"),s=this.iconPack.mic_on):(t=this.t("mic_off"),s=this.iconPack.mic_off,o["red-icon"]=!0),i=this.t(a?"perm_could_not_start.audio":"SYSTEM_DENIED"===this.micPermission?"perm_sys_denied.audio":"DENIED"===this.micPermission?"perm_denied.audio":this.audioEnabled?"disable_mic":"enable_mic"),{tooltipLabel:i,label:t,icon:s,classList:o,showWarning:e||a,disable:e}}render(){if(!this.canProduceAudio||["OFF_STAGE","REQUESTED_TO_JOIN_STAGE"].includes(this.stageStatus))return s(o,{"data-hidden":!0});const{tooltipLabel:i,label:t,icon:e,classList:a,showWarning:l,disable:n}=this.getState();return s(o,{title:t},s("rtk-tooltip",{kind:"block",label:i,part:"tooltip"},s("rtk-controlbar-button",{part:"controlbar-button",icon:e,label:t,size:this.size,iconPack:this.iconPack,variant:this.variant,class:a,onClick:this.toggleMic,showWarning:l,disabled:n})))}static get watchers(){return{meeting:["meetingChanged"]}}};n([l()],d.prototype,"meeting",void 0),n([l()],d.prototype,"size",void 0),n([l()],d.prototype,"iconPack",void 0),n([l()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}:host(.audioDisabled) :slotted(rtk-icon){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";export{d as rtk_mic_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s}from"./p-d3bf4348.js";const t={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 o{constructor(s){this.meeting=s,this.audio=document.createElement("audio"),this.audio.volume=.3}play(s,o=3e3){var i;this.playing||(this.playing=!0,this.audio.src=t[s],this.audio.volume=.3,null===(i=this.audio.play())||void 0===i||i.catch((()=>{})),setTimeout((()=>{this.playing=!1}),o))}async setDevice(t){var o,i,a;s(this.meeting)||await(null===(a=null===(i=null===(o=this.audio)||void 0===o?void 0:o.setSinkId)||void 0===i?void 0:i.call(o,t))||void 0===a?void 0:a.catch((()=>{})))}}export{o as R}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as t,H as a}from"./p-0ee570cd.js";import{c as e}from"./p-d3bf4348.js";import{C as o}from"./p-0b1fabf5.js";import{s}from"./p-0752f2ba.js";import{S as i}from"./p-dac97779.js";import{c}from"./p-c15d924f.js";import"./p-338c7261.js";import"./p-46923b34.js";import"./p-2c3cda13.js";var n=function(r,t,a,e){var o,s=arguments.length,i=s<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(r,t,a,e);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(i=(s<3?o(i):s>3?o(t,a,i):o(t,a))||i);return s>3&&i&&Object.defineProperty(t,a,i),i};const d=class{constructor(t){r(this,t),this.participantQuery="",this.isProcessing=!1,this.t=e(),this.transcriptions=[],this.autoScrollEnabled=!0,this.onScroll=r=>{const{scrollTop:t,clientHeight:a,scrollHeight:e}=r.target;this.autoScrollEnabled=t+a+10>=e},this.onTranscriptHandler=r=>{this.transcriptions=this.transcriptionsReducer(this.transcriptions,r)}}transcriptionsReducer(r,t){if(!r.length||r[r.length-1].peerId!==t.peerId)return r.concat(t);const a=r[r.length-1];return a.id===t.id?(a.transcript=t.transcript,r.pop(),r.concat(a)):r.concat(t)}connectedCallback(){this.meeting&&this.meetingChanged(this.meeting)}componentDidLoad(){var r;null===(r=this.contentContainer)||void 0===r||r.addEventListener("scroll",this.onScroll)}disconnectedCallback(){var r,t,a;null===(t=null===(r=this.meeting)||void 0===r?void 0:r.ai)||void 0===t||t.off("transcript",this.onTranscriptHandler),null===(a=this.contentContainer)||void 0===a||a.removeEventListener("scroll",this.onScroll)}meetingChanged(r){var t,a;this.transcriptions=c(null===(t=null==r?void 0:r.ai)||void 0===t?void 0:t.transcripts),this.transcriptions=this.transcriptions.reduce(this.transcriptionsReducer,[]),null===(a=null==r?void 0:r.ai)||void 0===a||a.on("transcript",this.onTranscriptHandler)}transcriptionsChanged(){this.autoScrollEnabled&&setTimeout((()=>{s(this.contentContainer,!1)}),100)}renderTranscripts(){const r=this.transcriptions.filter((r=>!this.participantQuery||r.name.toLowerCase().includes(this.participantQuery.toLowerCase()))),a=[];return r.forEach((r=>{const t={name:r.name,date:r.date,peerId:r.peerId,transcript:r.transcript};if(!a.length)return void a.push(t);const e=a[a.length-1];r.peerId===e.peerId?e.transcript+=" "+r.transcript:a.push(t)})),a.map((r=>t("div",{class:"message"},t(o,{name:r.name,time:new Date(r.date),now:new Date}),t("div",{class:"body"},r.transcript))))}render(){return t(a,{key:"12573001a05a586495a63ecd420f99ad04ce780f"},t("div",{key:"2a51f65ba7cd339aee33291c77cdf9f5d69b8f07",class:"search-bar"},t("input",{key:"6cb5505e84ddff6e39c29012752a7309f715505c",type:"text",placeholder:"Search Participant",value:this.participantQuery,onInput:r=>this.participantQuery=r.target.value})),this.isProcessing&&t("div",{key:"b7f1c33aae0d2613e28dc328e5ccfd92ad067576",class:"processing"},t("p",{key:"ae8dc349ff7017a92b9c15e8c8ab051313c07e67"},"Processing audio....")),!this.isProcessing&&t("div",{key:"f5d9e637661b2b10dd323c6b9d6fa7381fd7768c",class:"content scrollbar",ref:r=>this.contentContainer=r},t("div",{key:"a029f8903f82deab573e2372f1c645de98fbc417",class:"started-message"},"Transcription started"),this.renderTranscripts()))}static get watchers(){return{meeting:["meetingChanged"],transcriptions:["transcriptionsChanged"]}}};n([i()],d.prototype,"t",void 0),n([i()],d.prototype,"meeting",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)}.head{display:flex;align-items:center}.head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.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)))}*{box-sizing:border-box;border-width:0;border-style:solid}:host{width:100%;display:flex;flex-direction:column}.processing{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center}.content{box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-3, 12px);flex:1 0 0px;overflow-y:scroll}.started-message{margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-5, 20px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.search-bar{height:var(--rtk-space-14, 56px);width:100%;border-bottom-width:var(--rtk-border-width-sm, 1px);--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));padding:var(--rtk-space-3, 12px)}input{height:100%;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-size:14px;border-radius:var(--rtk-border-radius-sm, 4px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.caption-view{height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));display:flex;align-items:center;justify-content:space-between;font-size:14px}.message .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);font-size:14px;word-break:break-word}.message{margin-bottom:var(--rtk-space-3, 12px)}.message:last-child{margin-bottom:var(--rtk-space-0, 0px)}";export{d as rtk_ai_transcriptions}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t,b as n,r,i as o,f as e}from"./p-2c3cda13.js";function u(t,n){return t===n||t!=t&&n!=n}function i(t,n){for(var r=t.length;r--;)if(u(t[r][0],n))return r;return-1}var c=Array.prototype.splice;function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(t){var n=this.__data__,r=i(n,t);return!(r<0||(r==n.length-1?n.pop():c.call(n,r,1),--this.size,0))},a.prototype.get=function(t){var n=this.__data__,r=i(n,t);return r<0?void 0:n[r][1]},a.prototype.has=function(t){return i(this.__data__,t)>-1},a.prototype.set=function(t,n){var r=this.__data__,o=i(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this};var s="[object AsyncFunction]",f="[object Function]",v="[object GeneratorFunction]",h="[object Proxy]";function l(r){if(!t(r))return!1;var o=n(r);return o==f||o==v||o==s||o==h}var b,d=r["__core-js_shared__"],p=(b=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",y=Function.prototype.toString;function j(t){if(null!=t){try{return y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var m=/^\[object .+?Constructor\]$/,_=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function x(n,r){var o=function(t,n){return null==t?void 0:t[n]}(n,r);return function(n){return!(!t(n)||(r=n,p&&p in r))&&(l(n)?_:m).test(j(n));var r}(o)?o:void 0}const O=x(r,"Map"),w=x(Object,"create");var g=Object.prototype.hasOwnProperty,$=Object.prototype.hasOwnProperty;function A(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}function F(t,n){var r,o,e=t.__data__;return("string"==(o=typeof(r=n))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?e["string"==typeof n?"string":"hash"]:e.map}function P(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}function S(t){var n=this.__data__=new a(t);this.size=n.size}A.prototype.clear=function(){this.__data__=w?w(null):{},this.size=0},A.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},A.prototype.get=function(t){var n=this.__data__;if(w){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return g.call(n,t)?n[t]:void 0},A.prototype.has=function(t){var n=this.__data__;return w?void 0!==n[t]:$.call(n,t)},A.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=w&&void 0===n?"__lodash_hash_undefined__":n,this},P.prototype.clear=function(){this.size=0,this.__data__={hash:new A,map:new(O||a),string:new A}},P.prototype.delete=function(t){var n=F(this,t).delete(t);return this.size-=n?1:0,n},P.prototype.get=function(t){return F(this,t).get(t)},P.prototype.has=function(t){return F(this,t).has(t)},P.prototype.set=function(t,n){var r=F(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this},S.prototype.clear=function(){this.__data__=new a,this.size=0},S.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},S.prototype.get=function(t){return this.__data__.get(t)},S.prototype.has=function(t){return this.__data__.has(t)},S.prototype.set=function(t,n){var r=this.__data__;if(r instanceof a){var o=r.__data__;if(!O||o.length<199)return o.push([t,n]),this.size=++r.size,this;r=this.__data__=new P(o)}return r.set(t,n),this.size=r.size,this};const M=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function k(t,n,r){"__proto__"==n&&M?M(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}var q="object"==typeof exports&&exports&&!exports.nodeType&&exports,z=q&&"object"==typeof module&&module&&!module.nodeType&&module,C=z&&z.exports===q?r.Buffer:void 0,E=C?C.allocUnsafe:void 0;function G(t,n){if(n)return t.slice();var r=t.length,o=E?E(r):new t.constructor(r);return t.copy(o),o}const L=r.Uint8Array;function R(t){var n=new t.constructor(t.byteLength);return new L(n).set(new L(t)),n}function B(t,n){var r=n?R(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function D(t,n){var r=-1,o=t.length;for(n||(n=Array(o));++r<o;)n[r]=t[r];return n}var H=Object.create;const I=function(){function n(){}return function(r){if(!t(r))return{};if(H)return H(r);n.prototype=r;var o=new n;return n.prototype=void 0,o}}();function J(t,n){return function(r){return t(n(r))}}const K=J(Object.getPrototypeOf,Object);var N=Object.prototype;function Q(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||N)}function T(t){return"function"!=typeof t.constructor||Q(t)?{}:I(K(t))}function U(t){return o(t)&&"[object Arguments]"==n(t)}var V=Object.prototype,W=V.hasOwnProperty,X=V.propertyIsEnumerable;const Y=U(function(){return arguments}())?U:function(t){return o(t)&&W.call(t,"callee")&&!X.call(t,"callee")},Z=Array.isArray;var tt=9007199254740991;function nt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=tt}function rt(t){return null!=t&&nt(t.length)&&!l(t)}var ot="object"==typeof exports&&exports&&!exports.nodeType&&exports,et=ot&&"object"==typeof module&&module&&!module.nodeType&&module,ut=et&&et.exports===ot?r.Buffer:void 0;const it=(ut?ut.isBuffer:void 0)||function(){return!1};var ct={};function at(t){return function(n){return t(n)}}ct["[object Float32Array]"]=ct["[object Float64Array]"]=ct["[object Int8Array]"]=ct["[object Int16Array]"]=ct["[object Int32Array]"]=ct["[object Uint8Array]"]=ct["[object Uint8ClampedArray]"]=ct["[object Uint16Array]"]=ct["[object Uint32Array]"]=!0,ct["[object Arguments]"]=ct["[object Array]"]=ct["[object ArrayBuffer]"]=ct["[object Boolean]"]=ct["[object DataView]"]=ct["[object Date]"]=ct["[object Error]"]=ct["[object Function]"]=ct["[object Map]"]=ct["[object Number]"]=ct["[object Object]"]=ct["[object RegExp]"]=ct["[object Set]"]=ct["[object String]"]=ct["[object WeakMap]"]=!1;var st="object"==typeof exports&&exports&&!exports.nodeType&&exports,ft=st&&"object"==typeof module&&module&&!module.nodeType&&module,vt=ft&&ft.exports===st&&e.process;const ht=function(){try{return ft&&ft.require&&ft.require("util").types||vt&&vt.binding&&vt.binding("util")}catch(t){}}();var lt=ht&&ht.isTypedArray;const bt=lt?at(lt):function(t){return o(t)&&nt(t.length)&&!!ct[n(t)]};var dt=Object.prototype.hasOwnProperty;function pt(t,n,r){var o=t[n];dt.call(t,n)&&u(o,r)&&(void 0!==r||n in t)||k(t,n,r)}function yt(t,n,r,o){var e=!r;r||(r={});for(var u=-1,i=n.length;++u<i;){var c=n[u],a=o?o(r[c],t[c],c,r,t):void 0;void 0===a&&(a=t[c]),e?k(r,c,a):pt(r,c,a)}return r}var jt=9007199254740991,mt=/^(?:0|[1-9]\d*)$/;function _t(t,n){var r=typeof t;return!!(n=null==n?jt:n)&&("number"==r||"symbol"!=r&&mt.test(t))&&t>-1&&t%1==0&&t<n}var xt=Object.prototype.hasOwnProperty;function Ot(t,n){var r=Z(t),o=!r&&Y(t),e=!r&&!o&&it(t),u=!r&&!o&&!e&&bt(t),i=r||o||e||u,c=i?function(t,n){for(var r=-1,o=Array(t);++r<t;)o[r]=n(r);return o}(t.length,String):[],a=c.length;for(var s in t)!n&&!xt.call(t,s)||i&&("length"==s||e&&("offset"==s||"parent"==s)||u&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||_t(s,a))||c.push(s);return c}var wt=Object.prototype.hasOwnProperty;function gt(n){return rt(n)?Ot(n,!0):function(n){if(!t(n))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(n);var r=Q(n),o=[];for(var e in n)("constructor"!=e||!r&&wt.call(n,e))&&o.push(e);return o}(n)}export{O as M,S,Z as a,k as b,yt as c,it as d,u as e,bt as f,K as g,D as h,rt as i,G as j,gt as k,B as l,Y as m,l as n,T as o,M as p,_t as q,x as r,J as s,Q as t,Ot as u,j as v,R as w,at as x,ht as y,pt as z}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,w as s,h as i}from"./p-0ee570cd.js";import{a as r}from"./p-d3bf4348.js";import{S as e}from"./p-dac97779.js";import{d as h}from"./p-a08b5a59.js";import"./p-2c3cda13.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"0bd9791d55b2c7b17e0f2165815d592e400612b6",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"b255bce421935f065862a6a3a34e9ae588c936cd",class:"scroller"},i("div",{key:"3eab5b317790b234f1a5c1935d7b8bf4d48620eb",style:{height:`${this.totalHeight}px`}}),i("div",{key:"47d070acc6cdd5e5cdd146594dbcb53906e5fc37",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"348ec8b65c0f76146f6ab65cbda80057dde6d93d",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"100d528dae04469574a6c908ba4e0159d61a928f",class:"loader"},i("rtk-spinner",{key:"a3a7cc932bd40b71bf67d9bb95cb7cdd8e36696f",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:["messagesUpdated"]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.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)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a,c as o,l}from"./p-d3bf4348.js";import{S as n}from"./p-dac97779.js";var d=function(t,i,s,e){var a,o=arguments.length,l=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,i,s,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(l=(o<3?a(l):o>3?a(i,s,l):a(i,s))||l);return o>3&&l&&Object.defineProperty(i,s,l),l};const r=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.stageStatus="OFF_STAGE",this.state={label:"",disabled:!1,icon:""},this.stageCallback=async()=>{var t,i,s,e,a,o,n;const d=null===(t=this.meeting.stage)||void 0===t?void 0:t.status;"ON_STAGE"===d&&await(null===(s=null===(i=null==this?void 0:this.meeting)||void 0===i?void 0:i.stage)||void 0===s?void 0:s.leave()),"OFF_STAGE"===d&&(null===(a=null===(e=null==this?void 0:this.meeting)||void 0===e?void 0:e.stage)||void 0===a||a.requestAccess(),(t=>{var i,s;return(null===(i=null==t?void 0:t.self)||void 0===i?void 0:i.permissions.stageEnabled)&&"ALLOWED"===(null===(s=null==t?void 0:t.self)||void 0===s?void 0:s.permissions.stageAccess)})(this.meeting)&&(l.states.activeJoinStage=!0,this.stateUpdate.emit({activeJoinStage:!0}))),"REQUESTED_TO_JOIN_STAGE"===d&&(null===(n=null===(o=null==this?void 0:this.meeting)||void 0===o?void 0:o.stage)||void 0===n||n.cancelRequestAccess())}}connectedCallback(){this.meetingChanged(this.meeting)}stageStatusHandler(t,i){this.stageStatus=i,"ACCEPTED_TO_JOIN_STAGE"===i&&(t.self.setupTracks({audio:!1,video:!1}),this.stateUpdate.emit({activeJoinStage:!0})),this.state=this.getState()}disconnectedCallback(){var t,i;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",(t=>this.stageStatusHandler(this.meeting,t)))}meetingChanged(t){var i,s,e,a;null!=t&&(this.stageStatus=null===(i=t.stage)||void 0===i?void 0:i.status,this.stageStatusHandler(t,null===(s=t.stage)||void 0===s?void 0:s.status),null===(a=null===(e=this.meeting)||void 0===e?void 0:e.stage)||void 0===a||a.on("stageStatusUpdate",(i=>this.stageStatusHandler(t,i))))}getState(){let t="",i="",s=!1;switch(this.stageStatus){case"ON_STAGE":i=this.iconPack.leave_stage,t=this.t("stage_request.leave_stage"),s=!1;break;case"ACCEPTED_TO_JOIN_STAGE":i=this.iconPack.join_stage,t=this.t("stage_request.request"),s=!0;break;case"REQUESTED_TO_JOIN_STAGE":i=this.iconPack.join_stage,t=this.t("stage_request.requested"),s=!1;break;default:i=this.iconPack.join_stage,t=this.t("stage_request.request"),s=!1}return{label:t,disabled:s,icon:i}}render(){return(null===(i=null==(t=this.meeting)?void 0:t.self)||void 0===i?void 0:i.permissions.stageEnabled)&&"NOT_ALLOWED"!==(null===(a=null==t?void 0:t.self)||void 0===a?void 0:a.permissions.stageAccess)?s(e,{title:this.state.label},s("rtk-tooltip",{placement:"top",kind:"block",label:this.state.label,delay:600,part:"tooltip"},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,variant:this.variant,label:this.state.label,icon:this.state.icon,onClick:this.stageCallback,disabled:this.state.disabled,showWarning:!1}))):s(e,{"data-hidden":!0});var t,i,a}static get watchers(){return{meeting:["meetingChanged"]}}};d([n()],r.prototype,"meeting",void 0),d([n()],r.prototype,"size",void 0),d([n()],r.prototype,"iconPack",void 0),d([n()],r.prototype,"states",void 0),d([n()],r.prototype,"t",void 0),r.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{r as rtk_stage_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as r,H as s}from"./p-0ee570cd.js";import{c as e,a as n}from"./p-d3bf4348.js";import{S as a}from"./p-dac97779.js";var o=function(t,i,r,s){var e,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,r,s);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(n<3?e(a):n>3?e(i,r,a):e(i,r))||a);return n>3&&a&&Object.defineProperty(i,r,a),a};const c=class{constructor(r){t(this,r),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.t=e(),this.iconPack=n,this.disabled=!1,this.canRecord=!1,this.permissionsUpdateListener=()=>{this.canRecord=!0===this.meeting.self.permissions.canRecord},this.toggleRecording=async()=>{var t,i,r;if(!this.isLoading()&&!this.disabled)switch(this.recordingState){case"IDLE":try{return void await(null===(t=this.meeting)||void 0===t?void 0:t.recording.start())}catch(t){this.apiError.emit({trace:this.t("recording.start"),message:this.t("recording.error.start")})}return;case"RECORDING":try{return void await(null===(i=this.meeting)||void 0===i?void 0:i.recording.stop())}catch(t){this.apiError.emit({trace:this.t("recording.stop"),message:this.t("recording.error.stop")})}return;case"PAUSED":try{return void await(null===(r=this.meeting)||void 0===r?void 0:r.recording.resume())}catch(t){this.apiError.emit({trace:this.t("recording.resume"),message:this.t("recording.error.resume")})}return;default:return}},this.isLoading=()=>null==this.meeting||"STARTING"===this.recordingState||"STOPPING"===this.recordingState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i;this.recordingStateUpdateListener&&(null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.recordingStateUpdateListener)),null===(i=this.meeting)||void 0===i||i.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){null!=t&&(this.recordingState=t.recording.recordingState,this.permissionsUpdateListener(),this.recordingStateUpdateListener=t=>{this.recordingState=t},t.recording.addListener("recordingUpdate",this.recordingStateUpdateListener),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}getLabel(){switch(this.recordingState){case"IDLE":return"recording.idle";case"RECORDING":return"recording.stop";case"STARTING":return"recording.starting";case"STOPPING":return"recording.stopping";case"PAUSED":return"recording.resume";default:return"recording.loading"}}getIcon(){switch(this.recordingState){case"IDLE":case"STARTING":case"STOPPING":default:return this.iconPack.recording;case"RECORDING":return this.iconPack.stop_recording}}render(){if(this.canRecord)return r(s,{title:this.t("RECORDING"===this.recordingState?"recording.stop":"recording.idle")},r("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.toggleRecording,icon:this.getIcon(),isLoading:this.isLoading(),label:this.t(this.getLabel()),variant:this.variant,disabled:this.disabled}))}static get watchers(){return{meeting:["meetingChanged"]}}};o([a()],c.prototype,"meeting",void 0),o([a()],c.prototype,"t",void 0),o([a()],c.prototype,"iconPack",void 0),o([a()],c.prototype,"size",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_recording_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{d as o,a,c as n}from"./p-d3bf4348.js";import{S as r}from"./p-dac97779.js";var c=function(t,i,e,s){var o,a=arguments.length,n=a<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(i,e,n):o(i,e))||n);return a>3&&n&&Object.defineProperty(i,e,n),n};const h=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=o,this.iconPack=a,this.t=n(),this.pipSupported=!1}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){var i,e,s;t&&(this.pipSupported=(null===(i=t.participants.pip)||void 0===i?void 0:i.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode)&&"LIVESTREAM"!==(null===(s=t.self.config)||void 0===s?void 0:s.viewType))}togglePip(){this.meeting.participants.pip&&(this.meeting.participants.pip.isActive?this.meeting.participants.pip.disable():this.meeting.participants.pip.enable(),this.stateUpdate.emit({activeMoreMenu:!1}))}render(){if(!this.pipSupported)return e(s,{"data-hidden":!0});const t=this.meeting.participants.pip.isActive;return e(s,{role:"log","aria-label":"Picture-in-Picture mode"},e("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.togglePip(),icon:t?this.iconPack.pip_on:this.iconPack.pip_off,label:this.t(t?"pip_off":"pip_on"),variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"]}}};c([r()],h.prototype,"meeting",void 0),c([r()],h.prototype,"states",void 0),c([r()],h.prototype,"iconPack",void 0),c([r()],h.prototype,"size",void 0),c([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{h as rtk_pip_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as e}from"./p-0ee570cd.js";import{a,c as o}from"./p-d3bf4348.js";import{d as r}from"./p-bf5ecc7c.js";import{S as n}from"./p-dac97779.js";var l=function(t,s,i,e){var a,o=arguments.length,r=o<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(s,i,r):a(s,i))||r);return o>3&&r&&Object.defineProperty(s,i,r),r};const c=class{constructor(i){t(this,i),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=r(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,s,i,e,a,o;null===(s=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===s||s.removeListener("pollsUpdate",this.onPollsUpdate),null===(e=null===(i=this.meeting)||void 0===i?void 0:i.self)||void 0===e||e.permissions.removeListener("pollsUpdate",this.updateCanView),null===(o=null===(a=this.meeting)||void 0===a?void 0:a.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var s,i;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(s=null==t?void 0:t.self)||void 0===s||s.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=r(t),null===(i=null==t?void 0:t.stage)||void 0===i||i.on("stageStatusUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pollsActive=!0===t.activeSidebar&&"polls"===t.sidebar)}togglePollsTab(){const t=this.states;this.unreadPollsCount=0,this.pollsActive=!((null==t?void 0:t.activeSidebar)&&"polls"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pollsActive,sidebar:this.pollsActive?"polls":void 0,activeMoreMenu:!1,activeAI:!1})}handlePollsActiveChange(){this.pollsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPolls)return i(e,{"data-hidden":!0});const t=this.t("polls");return i(e,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&i("div",{class:"unread-count",part:"unread-count"},i("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),i("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pollsActive},onClick:()=>this.togglePollsTab(),icon:this.iconPack.poll,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"],pollsActive:["handlePollsActiveChange"]}}};l([n()],c.prototype,"meeting",void 0),l([n()],c.prototype,"states",void 0),l([n()],c.prototype,"size",void 0),l([n()],c.prototype,"iconPack",void 0),l([n()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}";export{c as rtk_polls_toggle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as r,a}from"./p-0ee570cd.js";import{a as e,c as s}from"./p-d3bf4348.js";import{S as o}from"./p-dac97779.js";import{R as c}from"./p-c8eaa707.js";var n=function(t,i,r,a){var e,s=arguments.length,o=s<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,a);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(o=(s<3?e(o):s>3?e(i,r,o):e(i,r))||o);return s>3&&o&&Object.defineProperty(i,r,o),o};const l=class{constructor(i){t(this,i),this.iconPack=e,this.t=s(),this.hideSelf=!1,this.activeParticipants=[],this.onStageParticipants=[],this.offStageParticipants=[],this.onParticipantListUpdate=()=>{if(!this.meeting)return;let t=this.meeting.participants.active.toArray();this.hideSelf||(t=[...t,this.meeting.self]);let i=this.meeting.participants.joined.toArray().filter((i=>!t.some((t=>t.id===i.id))));this.activeParticipants=t,this.onStageParticipants=i}}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){t&&"AUDIO_ROOM"===t.self.config.viewType&&(this.onParticipantListUpdate(),t.participants.active.addListener("participantJoined",this.onParticipantListUpdate),t.participants.active.addListener("participantLeft",this.onParticipantListUpdate),t.participants.joined.addListener("participantJoined",this.onParticipantListUpdate),t.participants.joined.addListener("participantLeft",this.onParticipantListUpdate))}disconnectedCallback(){this.resizeObserver.disconnect(),this.resizeObserver=void 0,this.meeting.participants.active.removeListener("participantJoined",this.onParticipantListUpdate),this.meeting.participants.active.removeListener("participantLeft",this.onParticipantListUpdate),this.meeting.participants.joined.removeListener("participantJoined",this.onParticipantListUpdate),this.meeting.participants.joined.removeListener("participantLeft",this.onParticipantListUpdate)}renderGrid(t=[]){const r={meeting:this.meeting,size:this.size,config:this.config,t:this.t,iconPack:this.iconPack,states:this.states};return t.map((t=>i(c,{element:"rtk-audio-tile",defaults:r,props:{key:t.id,participant:t},childProps:{participant:t},deepProps:!0})))}render(){const t=this.activeParticipants.concat(this.onStageParticipants);return i(r,{key:"0547c2c61b1c1b1fc4fcc5353b9094f8c118bd83"},i("div",{key:"46dd0248db3437461bd56bd507a2f42ce05af03a",class:"content scrollbar"},i("div",{key:"98a3dc4928c3062f3e5058b50d415f147c273c26",class:"stage grid"},this.renderGrid(t)),this.offStageParticipants.length>0&&i("div",{key:"18015fe551647048c990f107ba313c5e13ba7d47",class:"waitlist-area"},i("div",{key:"50a65d4f48d94426860d808ff6151d3e0d519f4e",class:"listening-title"},this.offStageParticipants.length," ",this.t("grid.listening")),i("div",{key:"173e4ebc97425b7298236673122f76ebfae59609",class:"waitlist-grid grid"},this.renderGrid(this.offStageParticipants)))),i("slot",{key:"c92a12329a9c4c456f3506cee2aa2d73dceaa0e0"}))}get host(){return a(this)}static get watchers(){return{meeting:["meetingChanged"]}}};n([o()],l.prototype,"meeting",void 0),n([o()],l.prototype,"states",void 0),n([o()],l.prototype,"iconPack",void 0),n([o()],l.prototype,"size",void 0),n([o()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;height:100%;width:100%;box-sizing:border-box}.content{position:relative;display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.waitlist-area{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.listening-title{text-align:center;margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-4, 16px)}.waitlist-grid{flex:1 1 0%}.grid{box-sizing:border-box;flex:1 1 0%;gap:var(--rtk-space-6, 24px);display:flex;align-content:center;justify-content:center;flex-wrap:wrap}:host([size='md']) .grid{gap:var(--rtk-space-4, 16px)}:host([size='sm']) .grid{gap:var(--rtk-space-3, 12px)}rtk-audio-tile{aspect-ratio:1 / 1;flex:none;width:calc(20%);max-width:var(--rtk-space-48, 192px);transition:all 0.3s}rtk-audio-tile[size='md']{width:100%;max-width:var(--rtk-space-36, 144px)}rtk-audio-tile[size='sm']{width:100%;max-width:var(--rtk-space-24, 96px)}";export{l as rtk_audio_grid}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as r}from"./p-0ee570cd.js";import{a as s,c as o}from"./p-d3bf4348.js";import{S as i}from"./p-dac97779.js";var n=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);return o>3&&i&&Object.defineProperty(e,a,i),i};const f=class{constructor(a){t(this,a),this.stateUpdate=e(this,"rtkStateUpdate",7),this.iconPack=s,this.t=o()}render(){return a(r,{key:"6f350737bc0425eb6112badf128310e9f6a489a0"},a("slot",{key:"d8d99aaeb1277e13be9052a3136d5677113a2bc1"}))}};n([i()],f.prototype,"iconPack",void 0),n([i()],f.prototype,"t",void 0),f.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;position:relative;overflow:hidden}";export{f as rtk_stage}
|