@cloudflare/realtimekit-ui 1.0.9-staging.1 → 1.0.9-staging.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/ChatHead-e13f3b0e.js +13 -0
- package/dist/cjs/{TextMessage-23aacf34.js → TextMessage-7bb3e1fd.js} +1 -1
- package/dist/cjs/{chat-e37da504.js → chat-717e517d.js} +2 -2
- package/dist/cjs/{notification-822d615a.js → config-8c9ac89a.js} +2 -37
- package/dist/cjs/{ChatHead-6416d6cf.js → date-61ffcd0a.js} +0 -10
- package/dist/cjs/{debounce-5ee900cc.js → debounce-a3e0d9e7.js} +1 -1
- package/dist/cjs/index-05554ce6.js +62 -2
- package/dist/cjs/{index-fb18156f.js → index-8d07e125.js} +1 -1
- package/dist/cjs/index.cjs.js +13 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{merge-ca0928c5.js → merge-73e2770b.js} +1 -1
- package/dist/cjs/notification-567fe887.js +39 -0
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -3
- package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-avatar_24.cjs.entry.js +2568 -0
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +397 -0
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +986 -0
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-creator.cjs.entry.js +163 -0
- package/dist/cjs/rtk-channel-details.cjs.entry.js +49 -0
- package/dist/cjs/rtk-channel-header.cjs.entry.js +83 -0
- 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-message.cjs.entry.js +118 -0
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +200 -0
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +57 -0
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +10 -14
- package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +686 -0
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +154 -0
- package/dist/cjs/rtk-dialog.cjs.entry.js +93 -0
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +148 -0
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-header.cjs.entry.js +2 -2
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-logo.cjs.entry.js +77 -0
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-notification.cjs.entry.js +71 -0
- package/dist/cjs/rtk-notifications.cjs.entry.js +588 -0
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
- package/dist/cjs/{sidebar-89748c6c.js → sidebar-2ad915b1.js} +1 -1
- package/dist/cjs/{ui-store-e096fdc6.js → ui-store-1cb28da8.js} +72 -79
- package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +2 -2
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +2 -2
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +2 -2
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +7 -11
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -2
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +6 -3
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +3 -2
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +2 -1
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +6 -3
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +3 -3
- package/dist/collection/components/rtk-chat/rtk-chat.js +7 -104
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +4 -3
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +14 -5
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +5 -3
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +3 -2
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +7 -9
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -7
- 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 +1 -1
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +4 -3
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +2 -2
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
- package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
- package/dist/collection/components/rtk-header/rtk-header.js +1 -1
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +6 -5
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
- 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 +1 -1
- package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
- package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
- 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-view/rtk-message-view.css +26 -12
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
- 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 +2 -2
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +2 -2
- package/dist/collection/components/rtk-notification/rtk-notification.js +1 -1
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +2 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +4 -20
- package/dist/collection/components/rtk-participant/rtk-participant.js +2 -2
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +3 -3
- package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
- package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +2 -2
- 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 +1 -1
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +2 -0
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +1 -1
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
- 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 +4 -3
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
- package/dist/collection/utils/chat.js +1 -1
- package/dist/collection/utils/flags.js +1 -7
- package/dist/components/index.js +7 -7
- package/dist/components/{p-c7ca0840.js → p-013ffc19.js} +3 -3
- package/dist/components/{p-cfbd1c8a.js → p-024ef28a.js} +2 -2
- package/dist/components/{p-7827c27d.js → p-027ec380.js} +6 -6
- package/dist/components/{p-d926df40.js → p-06e20f42.js} +2 -2
- package/dist/components/{p-9db751ca.js → p-08382c59.js} +5 -5
- package/dist/components/{p-dcb240cb.js → p-0bbd0056.js} +2 -2
- package/dist/components/{p-9cc8f284.js → p-102b6df8.js} +2 -2
- package/dist/components/{p-517eed51.js → p-121e073d.js} +2 -2
- package/dist/components/{p-bcd9ae7c.js → p-1f320625.js} +48 -325
- package/dist/components/{p-bdb2d1f9.js → p-244cbe7b.js} +2 -2
- package/dist/components/{p-073066d9.js → p-2508ac98.js} +2 -2
- package/dist/components/{p-b3f547d5.js → p-2590f470.js} +3 -3
- package/dist/components/{p-59bdb49b.js → p-25ca06f2.js} +2 -2
- package/dist/components/{p-4ac416da.js → p-27fea689.js} +4 -4
- package/dist/components/{p-5183c437.js → p-2d08ab28.js} +2 -2
- package/dist/components/{p-68ea23a4.js → p-2ea7652f.js} +2 -2
- package/dist/components/{p-8aa0a20a.js → p-30ac9705.js} +6 -21
- package/dist/components/{p-750e6dd1.js → p-31c44fed.js} +6 -6
- package/dist/components/{p-c46fca60.js → p-32609f9f.js} +12 -9
- package/dist/components/{p-0599a377.js → p-32bf6a44.js} +4 -4
- package/dist/components/{p-a05c75f3.js → p-335f937c.js} +2 -2
- package/dist/components/{p-f7bea1a7.js → p-33a87325.js} +2 -2
- package/dist/components/{p-a960414f.js → p-3d3fa677.js} +2 -2
- package/dist/components/{p-a3948b63.js → p-3fa8f1e1.js} +2 -2
- package/dist/components/{p-bbe38af7.js → p-47c25f64.js} +1 -1
- package/dist/components/{p-e16baa62.js → p-498c01a6.js} +2 -2
- package/dist/components/{p-aceb63f7.js → p-4b542718.js} +2 -2
- package/dist/components/{p-4db644b9.js → p-4c7f1a19.js} +2 -2
- package/dist/components/{p-3de94128.js → p-51de7af3.js} +1 -1
- package/dist/components/{p-cc3e758a.js → p-52d1525c.js} +2 -2
- package/dist/components/{p-f5f0b499.js → p-560e7a4f.js} +1 -1
- package/dist/components/{p-93e1439e.js → p-566c1155.js} +1 -1
- package/dist/components/{p-9c762c7c.js → p-5b03154d.js} +3 -3
- package/dist/components/{p-21caffae.js → p-5f26bba3.js} +2 -2
- package/dist/components/{p-42672814.js → p-63953295.js} +2 -2
- package/dist/components/{p-f92f9ef2.js → p-6756b222.js} +2 -2
- package/dist/components/{p-53ff409b.js → p-68c9100f.js} +2 -2
- package/dist/components/{p-34688fcf.js → p-6c1b380d.js} +12 -12
- package/dist/components/{p-00d593e1.js → p-6cbaf90a.js} +2 -2
- package/dist/components/{p-4163391e.js → p-6eabd1ad.js} +3 -3
- package/dist/components/{p-92738209.js → p-6f340109.js} +1 -1
- package/dist/components/{p-ba1f008f.js → p-724074c4.js} +5 -5
- package/dist/components/{p-82b52967.js → p-7481511c.js} +2 -2
- package/dist/components/{p-6f1af797.js → p-78b61cce.js} +1 -1
- package/dist/components/{p-f45ff21a.js → p-7a322c43.js} +3 -3
- package/dist/components/{p-bf700149.js → p-7fc0dc2f.js} +73 -79
- package/dist/components/{p-e727691a.js → p-82c678d6.js} +7 -7
- package/dist/components/{p-4a194b9f.js → p-82f8c924.js} +2 -2
- package/dist/components/{p-b15d2763.js → p-84e5b453.js} +2 -2
- package/dist/components/{p-0a74af4f.js → p-88e50eea.js} +17 -15
- package/dist/components/{p-a234bf1a.js → p-97e1e186.js} +2 -2
- package/dist/components/{p-ac19035c.js → p-9c2c0760.js} +7 -7
- package/dist/components/{p-26a20701.js → p-9e87b2c9.js} +2 -2
- package/dist/components/{p-4d154773.js → p-9fd18352.js} +2 -2
- package/dist/components/{p-c46abf5d.js → p-a0c8422f.js} +4 -4
- package/dist/components/{p-484bc00f.js → p-a10b9faa.js} +2 -2
- package/dist/components/{p-0ebf838c.js → p-a159952c.js} +2 -2
- package/dist/components/{p-dbdc62e6.js → p-a29c01fc.js} +2 -2
- package/dist/components/{p-54c33b11.js → p-a4b26604.js} +4 -4
- package/dist/components/{p-a2f4f9e3.js → p-aae4c250.js} +1 -1
- package/dist/components/{p-8c5e42ea.js → p-afe77b50.js} +2 -2
- package/dist/components/{p-9645c983.js → p-b1338b4f.js} +3 -3
- package/dist/components/{p-47230f49.js → p-b397a600.js} +10 -14
- package/dist/components/{p-8dd72d80.js → p-b6ee1a32.js} +2 -2
- package/dist/components/{p-00cddac4.js → p-b762cf1e.js} +11 -11
- package/dist/components/{p-3260a0fe.js → p-bb8f2597.js} +6 -6
- package/dist/components/{p-bfd30b77.js → p-be9fe914.js} +7 -7
- package/dist/components/{p-176c5195.js → p-c078ae06.js} +2 -2
- package/dist/components/{p-00b48a12.js → p-c07e3e6d.js} +2 -2
- package/dist/components/{p-221a4186.js → p-c515acba.js} +2 -2
- package/dist/components/{p-61e6e7be.js → p-cf503999.js} +2 -2
- package/dist/components/{p-66eda965.js → p-d06d1eac.js} +2 -2
- package/dist/components/{p-0abe4b8a.js → p-dab9d3d6.js} +1 -1
- package/dist/components/{p-58e7fbf9.js → p-e48cd596.js} +4 -4
- package/dist/components/{p-963afa79.js → p-e732b5ee.js} +4 -4
- package/dist/components/{p-e248d815.js → p-e87b68de.js} +5 -5
- package/dist/components/{p-1425697e.js → p-eb7df0eb.js} +6 -6
- package/dist/components/{p-1fb97660.js → p-ef71b75e.js} +5 -5
- package/dist/components/{p-1d32657e.js → p-fa7412e2.js} +2 -2
- package/dist/components/{p-23ab84b1.js → p-fc21299d.js} +2 -2
- package/dist/components/{p-2ecff14a.js → p-fdb67d1f.js} +2 -2
- package/dist/components/rtk-ai-toggle.js +4 -4
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +3 -3
- package/dist/components/rtk-audio-grid.js +2 -2
- package/dist/components/rtk-audio-tile.js +5 -5
- 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 +4 -4
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +4 -4
- package/dist/components/rtk-caption-toggle.js +4 -4
- package/dist/components/rtk-channel-creator.js +209 -1
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +146 -1
- package/dist/components/rtk-channel-selector-ui.js +7 -7
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +6 -6
- 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 +302 -1
- package/dist/components/rtk-chat-search-results.js +146 -1
- package/dist/components/rtk-chat-selector-ui.js +3 -3
- package/dist/components/rtk-chat-toggle.js +12 -16
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +2 -2
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +2 -2
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +4 -4
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +305 -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 +3 -3
- package/dist/components/rtk-file-dropzone.js +2 -2
- 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 +2 -2
- package/dist/components/rtk-grid.js +8 -8
- package/dist/components/rtk-header.js +2 -2
- package/dist/components/rtk-idle-screen.js +4 -4
- 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 +2 -2
- package/dist/components/rtk-information-tooltip.js +2 -2
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +4 -4
- 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 +4 -4
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +2 -2
- package/dist/components/rtk-meeting.js +46 -226
- 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 +3 -3
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +4 -4
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +5 -5
- package/dist/components/rtk-more-toggle.js +4 -4
- package/dist/components/rtk-mute-all-button.js +4 -4
- 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 +2 -2
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +629 -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 +2 -2
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +3 -3
- 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 +5 -5
- 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 +12 -12
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +4 -4
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +5 -5
- 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 +5 -5
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +2 -2
- package/dist/components/rtk-recording-toggle.js +4 -4
- package/dist/components/rtk-screen-share-toggle.js +4 -4
- package/dist/components/rtk-screenshare-view.js +2 -2
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +4 -4
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +10 -10
- package/dist/components/rtk-setup-screen.js +6 -6
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +9 -9
- package/dist/components/rtk-simple-grid.js +2 -2
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +2 -2
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +4 -4
- package/dist/components/rtk-stage.js +2 -2
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +3 -3
- package/dist/components/rtk-ui-provider.js +2 -2
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-waiting-screen.js +3 -3
- package/dist/docs/docs-components.json +2362 -2606
- package/dist/docs/docs-vscode.json +17 -13
- package/dist/esm/ChatHead-15c2f8d4.js +11 -0
- package/dist/esm/{TextMessage-5f73acf3.js → TextMessage-ca92045e.js} +1 -1
- package/dist/esm/{chat-d13dedd6.js → chat-ff185374.js} +2 -2
- package/dist/esm/{notification-b6d024c7.js → config-e684aa4d.js} +3 -37
- package/dist/esm/{ChatHead-11b92a26.js → date-b1f78dea.js} +1 -10
- package/dist/esm/{debounce-6e6d522e.js → debounce-3ea4df36.js} +1 -1
- package/dist/esm/{file-849468c1.js → file-6114f1a9.js} +1 -1
- package/dist/esm/index-c1fb98bb.js +62 -2
- package/dist/esm/{index-e1ee8258.js → index-e65afca5.js} +1 -1
- package/dist/esm/index.js +7 -6
- package/dist/esm/loader.js +13463 -13501
- package/dist/esm/{merge-783d3076.js → merge-7ffc04b3.js} +1 -1
- package/dist/esm/notification-78afaabf.js +37 -0
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +5 -4
- package/dist/esm/rtk-ai.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
- package/dist/esm/rtk-avatar_24.entry.js +2541 -0
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +391 -0
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +974 -0
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/{components/p-9de3508b.js → esm/rtk-channel-creator.entry.js} +12 -64
- package/dist/esm/rtk-channel-details.entry.js +45 -0
- package/dist/{components/p-5d3d3990.js → esm/rtk-channel-header.entry.js} +9 -78
- 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-message.entry.js +114 -0
- package/dist/{components/p-2e3b02b3.js → esm/rtk-chat-messages-ui.entry.js} +14 -122
- package/dist/esm/rtk-chat-search-results.entry.js +53 -0
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +10 -14
- package/dist/esm/rtk-clock.entry.js +2 -2
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-audio_4.entry.js +679 -0
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- package/dist/{components/p-99a61e45.js → esm/rtk-dialog-manager.entry.js} +10 -179
- package/dist/esm/rtk-dialog.entry.js +89 -0
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +2 -2
- package/dist/esm/rtk-file-message_3.entry.js +142 -0
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +2 -2
- package/dist/esm/rtk-grid.entry.js +2 -2
- package/dist/esm/rtk-header.entry.js +2 -2
- package/dist/esm/rtk-idle-screen.entry.js +2 -2
- package/dist/esm/rtk-image-viewer.entry.js +4 -4
- package/dist/esm/rtk-information-tooltip.entry.js +2 -2
- package/dist/esm/rtk-leave-button.entry.js +2 -2
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-logo.entry.js +73 -0
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-mic-toggle.entry.js +2 -2
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +3 -3
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +67 -0
- package/dist/{components/p-2ec901a0.js → esm/rtk-notifications.entry.js} +13 -60
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +4 -4
- package/dist/esm/rtk-participants-audio.entry.js +2 -2
- package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
- package/dist/esm/rtk-participants-toggle.entry.js +3 -3
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
- package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugins_2.entry.js +2 -2
- package/dist/esm/rtk-poll_2.entry.js +3 -3
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +2 -2
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +2 -2
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +2 -2
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +3 -3
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +4 -4
- package/dist/esm/rtk-simple-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +2 -2
- package/dist/esm/rtk-transcript.entry.js +2 -2
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +2 -2
- package/dist/esm/rtk-waiting-screen.entry.js +2 -2
- package/dist/esm/{sidebar-11ec6514.js → sidebar-030fff49.js} +1 -1
- package/dist/esm/{string-5e8dab07.js → string-068ce30a.js} +1 -1
- package/dist/esm/{ui-store-db94a9fe.js → ui-store-9e486e1b.js} +73 -79
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-02c21f58.entry.js → p-013ae8ca.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-072435bb.entry.js → p-0689d68b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b6b382fb.js → p-084b6f30.js} +1 -1
- package/dist/realtimekit-ui/{p-02af251d.entry.js → p-0898c8ee.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-68b7d8b8.entry.js → p-09869644.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c2ee481a.entry.js → p-11c964cf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-30f406f2.entry.js → p-124eb1c7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2158fcad.js → p-12e4cb4a.js} +1 -1
- package/dist/realtimekit-ui/{p-b8b1abc1.entry.js → p-158b1b0c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f79c9388.entry.js → p-17c6d2fa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-695de0a5.entry.js → p-2b373e53.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2d7b969d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-fd9eecef.entry.js → p-32030329.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3369f405.entry.js +1 -0
- package/dist/realtimekit-ui/p-382270d8.js +1 -0
- package/dist/realtimekit-ui/{p-55db56a1.entry.js → p-38aec474.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-13b16cf1.entry.js → p-3a325310.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-66923aef.entry.js → p-3b8de127.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ba7da0d6.entry.js → p-3d0c4257.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6d0a4f84.entry.js → p-3e02ec0b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-40be18ee.js +1 -0
- package/dist/realtimekit-ui/{p-e8b1dd81.entry.js → p-4554a674.entry.js} +1 -1
- package/dist/realtimekit-ui/p-474ba04f.entry.js +1 -0
- package/dist/realtimekit-ui/p-487e808a.entry.js +1 -0
- package/dist/realtimekit-ui/p-4ab26f1f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b026c868.entry.js → p-4eba1baa.entry.js} +1 -1
- package/dist/realtimekit-ui/p-50157a65.entry.js +1 -0
- package/dist/realtimekit-ui/p-51e949d6.entry.js +1 -0
- package/dist/realtimekit-ui/{p-2e3dfcc9.entry.js → p-53ac3d30.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7adbebd6.entry.js → p-54a31e02.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1667420d.entry.js → p-5a2d8313.entry.js} +1 -1
- package/dist/realtimekit-ui/p-5b2d97fc.js +1 -0
- package/dist/realtimekit-ui/{p-2ce32db5.entry.js → p-5bbfdabe.entry.js} +1 -1
- package/dist/realtimekit-ui/p-60a29b69.entry.js +1 -0
- package/dist/realtimekit-ui/{p-36ac26b8.entry.js → p-60b39e38.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8aa0ba79.entry.js → p-61d3f74f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bcd4a3a3.entry.js → p-62e0a141.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6fd30714.entry.js → p-643194e4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-6a45f305.js +1 -0
- package/dist/realtimekit-ui/{p-8ce4ce1e.entry.js → p-6adb2de4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-efabd2ce.js → p-6f211c3e.js} +1 -1
- package/dist/realtimekit-ui/{p-af6545ce.entry.js → p-74e1b5a6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-7786e9a7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-02e2abe9.entry.js → p-77e04fb7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ded15279.entry.js → p-788f26c4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-78d19559.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f547518b.entry.js → p-7b999408.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-09c73782.js → p-80c856cd.js} +1 -1
- package/dist/realtimekit-ui/{p-99b12b35.entry.js → p-871d8fbf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-24e68e61.entry.js → p-882d07c9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-601b236f.entry.js → p-8b189438.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5c98d979.entry.js → p-8c55a630.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-94478817.entry.js → p-8f512d69.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-87bc8bbd.js → p-91ea043c.js} +1 -1
- package/dist/realtimekit-ui/{p-141c5a96.js → p-91fd286c.js} +1 -1
- package/dist/realtimekit-ui/p-930f0255.entry.js +1 -0
- package/dist/realtimekit-ui/p-93b84c22.js +1 -0
- package/dist/realtimekit-ui/{p-388ea8ba.entry.js → p-941f159e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f51eda1c.entry.js → p-949b2b6a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-73eccbf9.entry.js → p-986e7389.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e32f2f7d.entry.js → p-98ee3341.entry.js} +1 -1
- package/dist/realtimekit-ui/p-99801804.entry.js +1 -0
- package/dist/realtimekit-ui/{p-6d2d135b.entry.js → p-9ad2c746.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9c1f42dd.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5c7cacf3.entry.js → p-9cbf286a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-04057bfb.entry.js → p-9d3cf603.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e2a6c7ca.entry.js → p-a0563ab4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1c0dc0e4.entry.js → p-a319e81f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2735b1d8.entry.js → p-a4372f65.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2e91528d.entry.js → p-a9126c12.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-433b1cf8.entry.js → p-a9dd63ef.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8191b1a0.entry.js → p-aa757cd3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0ee296a5.entry.js → p-ad26f7fd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9aa52462.entry.js → p-ad887be1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-008ff55b.entry.js → p-ae7319ac.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b387e9a1.entry.js +1 -0
- package/dist/realtimekit-ui/{p-cbcb71ff.entry.js → p-b388b4c6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7f6469ed.entry.js → p-bbf76104.entry.js} +1 -1
- package/dist/realtimekit-ui/p-bc1a2b04.entry.js +1 -0
- package/dist/realtimekit-ui/p-c1d026d1.entry.js +1 -0
- package/dist/realtimekit-ui/{p-850768a7.entry.js → p-c5c965b8.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c7711712.entry.js +1 -0
- package/dist/realtimekit-ui/p-cdacd242.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c83bb4db.entry.js → p-cdf8bc21.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3950823a.entry.js → p-d0384d90.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6602bcb7.entry.js → p-d0bba739.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d8962ea0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-38c285b6.entry.js → p-d95ce443.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c878323a.entry.js → p-d9cad67f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4bc037d7.entry.js → p-dbd07824.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-83cc0429.entry.js → p-de75d48d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cfaf19a1.entry.js → p-e62593a2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fdb4f92c.js → p-e720b51e.js} +1 -1
- package/dist/realtimekit-ui/{p-9e75367a.entry.js → p-e7b83772.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e87928f7.js +1 -0
- package/dist/realtimekit-ui/{p-3a58bc75.entry.js → p-e925ca8a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a3fb7ff3.entry.js → p-f0f6c282.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d403ae25.entry.js → p-f775be53.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d369eb4f.entry.js → p-fee7bd4f.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +3 -0
- package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +1 -0
- package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +1 -0
- package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +3 -0
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +0 -9
- package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +1 -0
- package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +3 -0
- package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
- package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +1 -0
- package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +1 -0
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
- package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +1 -0
- package/dist/types/components.d.ts +104 -0
- package/dist/types/types/props.d.ts +1 -0
- package/dist/types/utils/chat.d.ts +1 -1
- package/dist/types/utils/flags.d.ts +15 -0
- package/package.json +1 -1
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +0 -6421
- package/dist/components/p-d9e57455.js +0 -148
- package/dist/esm/rtk-avatar_54.entry.js +0 -6364
- package/dist/realtimekit-ui/p-173457a5.js +0 -1
- package/dist/realtimekit-ui/p-47314bc7.js +0 -1
- package/dist/realtimekit-ui/p-4ec9d2bb.entry.js +0 -1
- package/dist/realtimekit-ui/p-5e4404d2.entry.js +0 -1
- package/dist/realtimekit-ui/p-5e510bd4.entry.js +0 -1
- package/dist/realtimekit-ui/p-89ebff3d.js +0 -1
- package/dist/realtimekit-ui/p-b0debce4.js +0 -1
- package/dist/realtimekit-ui/p-d3717b05.entry.js +0 -1
|
@@ -0,0 +1,686 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index$1 = require('./index-05554ce6.js');
|
|
6
|
+
const uiStore = require('./ui-store-1cb28da8.js');
|
|
7
|
+
const index = require('./index-8d07e125.js');
|
|
8
|
+
|
|
9
|
+
/** Method to return media health based on the media & network stats */
|
|
10
|
+
function getNetworkBasedMediaHealth({ stats, }) {
|
|
11
|
+
if (!stats || !stats.length) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
let networkHealth = 'Good';
|
|
15
|
+
const allStatsHealths = stats.map((statsObj) => statsObj.verdict);
|
|
16
|
+
if (allStatsHealths.includes('Poor')) {
|
|
17
|
+
networkHealth = 'Poor';
|
|
18
|
+
}
|
|
19
|
+
else if (allStatsHealths.includes('Average')) {
|
|
20
|
+
networkHealth = 'Average';
|
|
21
|
+
}
|
|
22
|
+
return networkHealth;
|
|
23
|
+
}
|
|
24
|
+
/** Gives verdict based on the packet loss */
|
|
25
|
+
function getPacketLossVerdict({ packetLossPercentage, }) {
|
|
26
|
+
let verdict = 'Good';
|
|
27
|
+
if (packetLossPercentage > 4) {
|
|
28
|
+
verdict = 'Poor';
|
|
29
|
+
}
|
|
30
|
+
else if (packetLossPercentage >= 1 && packetLossPercentage <= 4) {
|
|
31
|
+
verdict = 'Average';
|
|
32
|
+
}
|
|
33
|
+
return verdict;
|
|
34
|
+
}
|
|
35
|
+
/** Gives verdict based on the jitter */
|
|
36
|
+
function getJitterVerdict({ jitterInMS }) {
|
|
37
|
+
let verdict = 'Good';
|
|
38
|
+
if (jitterInMS > 100) {
|
|
39
|
+
verdict = 'Poor';
|
|
40
|
+
}
|
|
41
|
+
else if (jitterInMS >= 50 && jitterInMS <= 100) {
|
|
42
|
+
verdict = 'Average';
|
|
43
|
+
}
|
|
44
|
+
return verdict;
|
|
45
|
+
}
|
|
46
|
+
/** Gives verdict based on the jitter */
|
|
47
|
+
function getBitrateVerdict({ bitrate, }) {
|
|
48
|
+
let verdict = 'Good';
|
|
49
|
+
const bitrateInKbps = Math.round(bitrate / 1024); // it is Kilo bits
|
|
50
|
+
if (bitrateInKbps === 0) {
|
|
51
|
+
verdict = 'Poor';
|
|
52
|
+
}
|
|
53
|
+
return verdict;
|
|
54
|
+
}
|
|
55
|
+
function getOverallBatteryVerdict({ stats }) {
|
|
56
|
+
if (!stats || !stats.length) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
let networkHealth = 'Good';
|
|
60
|
+
const allStatsHealths = stats.map((statsObj) => statsObj.verdict);
|
|
61
|
+
if (allStatsHealths.includes('Poor')) {
|
|
62
|
+
networkHealth = 'Poor';
|
|
63
|
+
}
|
|
64
|
+
else if (allStatsHealths.includes('Average')) {
|
|
65
|
+
networkHealth = 'Average';
|
|
66
|
+
}
|
|
67
|
+
return networkHealth;
|
|
68
|
+
}
|
|
69
|
+
function getBatteryLevelVerdict({ batteryLevelPercentage, }) {
|
|
70
|
+
let batteryLevelVerdict = 'Good';
|
|
71
|
+
if (batteryLevelPercentage < 20) {
|
|
72
|
+
batteryLevelVerdict = 'Poor';
|
|
73
|
+
}
|
|
74
|
+
else if (batteryLevelPercentage < 50) {
|
|
75
|
+
batteryLevelVerdict = 'Average';
|
|
76
|
+
}
|
|
77
|
+
return batteryLevelVerdict;
|
|
78
|
+
}
|
|
79
|
+
function getBatteryChargingVerdict({ charging, dischargingTimeInSeconds, batteryLevelPercentage, }) {
|
|
80
|
+
const MINS_30 = 30 * 60;
|
|
81
|
+
if (batteryLevelPercentage < 20) {
|
|
82
|
+
return 'Poor';
|
|
83
|
+
}
|
|
84
|
+
if (charging) {
|
|
85
|
+
return 'Good';
|
|
86
|
+
}
|
|
87
|
+
if (dischargingTimeInSeconds < MINS_30) {
|
|
88
|
+
return 'Poor';
|
|
89
|
+
}
|
|
90
|
+
return 'Average';
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const rtkDebuggerAudioCss = ":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;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{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))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-audio{display:flex;flex-direction:column}";
|
|
94
|
+
const RtkDebuggerAudioStyle0 = rtkDebuggerAudioCss;
|
|
95
|
+
|
|
96
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
97
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
98
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
99
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
100
|
+
else
|
|
101
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
102
|
+
if (d = decorators[i])
|
|
103
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
104
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
105
|
+
};
|
|
106
|
+
const RtkDebuggerAudio = class {
|
|
107
|
+
constructor(hostRef) {
|
|
108
|
+
index$1.registerInstance(this, hostRef);
|
|
109
|
+
/** Icon pack */
|
|
110
|
+
this.iconPack = uiStore.defaultIconPack;
|
|
111
|
+
/** Language */
|
|
112
|
+
this.t = uiStore.useLanguage();
|
|
113
|
+
/** Is Network section expanded */
|
|
114
|
+
this.isNetworkOpen = true;
|
|
115
|
+
/** Is Devices section expanded */
|
|
116
|
+
this.isDevicesOpen = false;
|
|
117
|
+
/** Stats as formatted array to display */
|
|
118
|
+
this.audioProducerFormattedStats = [];
|
|
119
|
+
/** Last raw audio score stats obj */
|
|
120
|
+
this.audioProducerScoreStats = null;
|
|
121
|
+
/** Summarised health of network stats */
|
|
122
|
+
this.networkBasedMediaHealth = null;
|
|
123
|
+
/** Summarised health of devices */
|
|
124
|
+
this.devicesHealth = null;
|
|
125
|
+
// private toggleSection(section: string) {
|
|
126
|
+
// if (section === 'network') this.isNetworkOpen = !this.isNetworkOpen;
|
|
127
|
+
// else if (section === 'devices') this.isDevicesOpen = !this.isDevicesOpen;
|
|
128
|
+
// }
|
|
129
|
+
this.mediaScoreUpdateListener = ({ kind, isScreenshare, scoreStats, }) => {
|
|
130
|
+
if (kind === 'audio' && !isScreenshare) {
|
|
131
|
+
this.audioProducerScoreStats = scoreStats;
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
this.deviceListUpdateListener = async () => {
|
|
135
|
+
const audioDevices = await this.meeting.self.getAudioDevices();
|
|
136
|
+
this.devicesHealth = (audioDevices === null || audioDevices === void 0 ? void 0 : audioDevices.length) > 0 ? 'Good' : 'Poor';
|
|
137
|
+
};
|
|
138
|
+
this.audioUpdateListener = () => {
|
|
139
|
+
if (!this.meeting.self.audioEnabled) {
|
|
140
|
+
this.audioProducerScoreStats = null;
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
async audioProducerScoreStatsChanged(newAudioProducerScoreStats) {
|
|
145
|
+
if (!newAudioProducerScoreStats) {
|
|
146
|
+
this.audioProducerFormattedStats = [];
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const statsObj = newAudioProducerScoreStats;
|
|
150
|
+
const newStatsList = [];
|
|
151
|
+
newStatsList.push({
|
|
152
|
+
name: this.t('debugger.stats.bitrate.label'),
|
|
153
|
+
value: `${Math.round(statsObj.bitrate / 1024)} kbps`,
|
|
154
|
+
description: this.t('debugger.stats.bitrate.description'),
|
|
155
|
+
verdict: getBitrateVerdict({
|
|
156
|
+
bitrate: statsObj.bitrate,
|
|
157
|
+
kind: 'audio',
|
|
158
|
+
isScreenshare: false,
|
|
159
|
+
}),
|
|
160
|
+
});
|
|
161
|
+
newStatsList.push({
|
|
162
|
+
name: this.t('debugger.stats.packet_loss.label'),
|
|
163
|
+
value: `${statsObj.packetsLostPercentage}%`,
|
|
164
|
+
description: this.t('debugger.stats.packet_loss.description'),
|
|
165
|
+
verdict: getPacketLossVerdict({ packetLossPercentage: statsObj.packetsLostPercentage }),
|
|
166
|
+
});
|
|
167
|
+
newStatsList.push({
|
|
168
|
+
name: this.t('debugger.stats.jitter.label'),
|
|
169
|
+
value: `${Math.round(statsObj.jitter * 1000)} ms`,
|
|
170
|
+
description: this.t('debugger.stats.jitter.description'),
|
|
171
|
+
verdict: getJitterVerdict({ jitterInMS: statsObj.jitter * 1000 }),
|
|
172
|
+
});
|
|
173
|
+
this.audioProducerFormattedStats = newStatsList;
|
|
174
|
+
this.networkBasedMediaHealth = getNetworkBasedMediaHealth({
|
|
175
|
+
kind: 'audio',
|
|
176
|
+
isScreenshare: false,
|
|
177
|
+
stats: newStatsList,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
connectedCallback() {
|
|
181
|
+
this.meetingChanged(this.meeting);
|
|
182
|
+
}
|
|
183
|
+
disconnectedCallback() {
|
|
184
|
+
if (!this.meeting) {
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
this.meeting.self.off('mediaScoreUpdate', this.mediaScoreUpdateListener);
|
|
188
|
+
this.meeting.self.off('audioUpdate', this.audioUpdateListener);
|
|
189
|
+
this.meeting.self.off('deviceListUpdate', this.deviceListUpdateListener);
|
|
190
|
+
}
|
|
191
|
+
async meetingChanged(meeting) {
|
|
192
|
+
if (!meeting)
|
|
193
|
+
return;
|
|
194
|
+
meeting.self.on('mediaScoreUpdate', this.mediaScoreUpdateListener);
|
|
195
|
+
meeting.self.on('audioUpdate', this.audioUpdateListener);
|
|
196
|
+
meeting.self.on('deviceListUpdate', this.deviceListUpdateListener);
|
|
197
|
+
await this.deviceListUpdateListener();
|
|
198
|
+
}
|
|
199
|
+
render() {
|
|
200
|
+
var _a, _b;
|
|
201
|
+
if (!this.meeting) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
// const defaults = {
|
|
205
|
+
// meeting: this.meeting,
|
|
206
|
+
// states: this.states || storeState,
|
|
207
|
+
// iconPack: this.iconPack,
|
|
208
|
+
// t: this.t,
|
|
209
|
+
// };
|
|
210
|
+
return (index$1.h(index$1.Host, null, index$1.h("div", { id: "header" }), index$1.h("div", { class: "tab-body" }, index$1.h("div", { class: "status-container" }, index$1.h("div", { class: "status-section" }, index$1.h("div", { class: `section-header ${!this.networkBasedMediaHealth ? 'only-child' : ''}` }, index$1.h("span", null, this.t('debugger.audio.sections.network_media')), this.networkBasedMediaHealth && (index$1.h("span", { class: `status ${(_a = this.networkBasedMediaHealth) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = this.networkBasedMediaHealth) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)))), this.isNetworkOpen && !this.audioProducerFormattedStats.length && (index$1.h("div", { class: "section-body missing-stats" }, this.meeting.self.audioEnabled ? (index$1.h("span", null, this.t('debugger.audio.messages.generating_report'))) : (index$1.h("span", null, this.t('debugger.audio.messages.enable_media'))))), this.isNetworkOpen && !!this.audioProducerFormattedStats.length && (index$1.h("div", { class: "section-body network-table" }, this.audioProducerFormattedStats.map((formattedStatsObj) => {
|
|
211
|
+
var _a, _b;
|
|
212
|
+
return (index$1.h("div", { class: "network-row" }, index$1.h("div", { class: "network-cell label" }, index$1.h("strong", null, formattedStatsObj.name), index$1.h("span", { class: "description" }, formattedStatsObj.description)), index$1.h("div", { class: "network-cell value" }, index$1.h("span", { class: `status ${(_a = formattedStatsObj.verdict) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = formattedStatsObj.verdict) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)), index$1.h("span", { class: "value" }, formattedStatsObj.value))));
|
|
213
|
+
}))))))));
|
|
214
|
+
}
|
|
215
|
+
static get watchers() { return {
|
|
216
|
+
"audioProducerScoreStats": ["audioProducerScoreStatsChanged"],
|
|
217
|
+
"meeting": ["meetingChanged"]
|
|
218
|
+
}; }
|
|
219
|
+
};
|
|
220
|
+
__decorate$3([
|
|
221
|
+
index.SyncWithStore()
|
|
222
|
+
], RtkDebuggerAudio.prototype, "meeting", void 0);
|
|
223
|
+
__decorate$3([
|
|
224
|
+
index.SyncWithStore()
|
|
225
|
+
], RtkDebuggerAudio.prototype, "states", void 0);
|
|
226
|
+
__decorate$3([
|
|
227
|
+
index.SyncWithStore()
|
|
228
|
+
], RtkDebuggerAudio.prototype, "iconPack", void 0);
|
|
229
|
+
__decorate$3([
|
|
230
|
+
index.SyncWithStore()
|
|
231
|
+
], RtkDebuggerAudio.prototype, "t", void 0);
|
|
232
|
+
RtkDebuggerAudio.style = RtkDebuggerAudioStyle0;
|
|
233
|
+
|
|
234
|
+
const rtkDebuggerScreenshareCss = ":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;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{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))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}";
|
|
235
|
+
const RtkDebuggerScreenshareStyle0 = rtkDebuggerScreenshareCss;
|
|
236
|
+
|
|
237
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
238
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
239
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
240
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
241
|
+
else
|
|
242
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
243
|
+
if (d = decorators[i])
|
|
244
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
245
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
246
|
+
};
|
|
247
|
+
const RtkDebuggerScreenShare = class {
|
|
248
|
+
constructor(hostRef) {
|
|
249
|
+
index$1.registerInstance(this, hostRef);
|
|
250
|
+
/** Icon pack */
|
|
251
|
+
this.iconPack = uiStore.defaultIconPack;
|
|
252
|
+
/** Language */
|
|
253
|
+
this.t = uiStore.useLanguage();
|
|
254
|
+
/** Is Network section expanded */
|
|
255
|
+
this.isNetworkOpen = true;
|
|
256
|
+
/** Is Devices section expanded */
|
|
257
|
+
this.isDevicesOpen = false;
|
|
258
|
+
/** Stats as formatted array to display */
|
|
259
|
+
this.videoProducerFormattedStats = [];
|
|
260
|
+
/** Last raw video score stats obj */
|
|
261
|
+
this.videoProducerScoreStats = null;
|
|
262
|
+
/** Stats as formatted array to display */
|
|
263
|
+
this.audioProducerFormattedStats = [];
|
|
264
|
+
/** Last raw video score stats obj */
|
|
265
|
+
this.audioProducerScoreStats = null;
|
|
266
|
+
/** Summarised health of network stats */
|
|
267
|
+
this.networkBasedMediaHealth = null;
|
|
268
|
+
// private toggleSection(section: string) {
|
|
269
|
+
// if (section === 'network') this.isNetworkOpen = !this.isNetworkOpen;
|
|
270
|
+
// else if (section === 'devices') this.isDevicesOpen = !this.isDevicesOpen;
|
|
271
|
+
// }
|
|
272
|
+
this.mediaScoreUpdateListener = ({ kind, isScreenshare, scoreStats, }) => {
|
|
273
|
+
if (kind === 'video' && isScreenshare) {
|
|
274
|
+
this.videoProducerScoreStats = scoreStats;
|
|
275
|
+
}
|
|
276
|
+
if (kind === 'audio' && isScreenshare) {
|
|
277
|
+
this.audioProducerScoreStats = scoreStats;
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
this.screenShareUpdateListener = () => {
|
|
281
|
+
if (!this.meeting.self.screenShareEnabled) {
|
|
282
|
+
this.videoProducerScoreStats = null;
|
|
283
|
+
this.audioProducerScoreStats = null;
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
async videoProducerScoreStatsChanged(newVideoProducerScoreStats) {
|
|
288
|
+
if (!newVideoProducerScoreStats) {
|
|
289
|
+
this.videoProducerFormattedStats = [];
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
const statsObj = newVideoProducerScoreStats;
|
|
293
|
+
const newStatsList = [];
|
|
294
|
+
newStatsList.push({
|
|
295
|
+
name: this.t('debugger.stats.cpu_limitations.label'),
|
|
296
|
+
value: statsObj.cpuLimitations ? 'Yes' : 'No',
|
|
297
|
+
description: this.t('debugger.stats.cpu_limitations.description'),
|
|
298
|
+
verdict: statsObj.cpuLimitations ? 'Poor' : 'Good',
|
|
299
|
+
});
|
|
300
|
+
newStatsList.push({
|
|
301
|
+
name: this.t('debugger.stats.bandwidth_limitations.label'),
|
|
302
|
+
value: statsObj.bandwidthLimitations ? 'Yes' : 'No',
|
|
303
|
+
description: this.t('debugger.stats.bandwidth_limitations.description'),
|
|
304
|
+
verdict: statsObj.bandwidthLimitations ? 'Poor' : 'Good',
|
|
305
|
+
});
|
|
306
|
+
newStatsList.push({
|
|
307
|
+
name: this.t('debugger.stats.bitrate.label'),
|
|
308
|
+
value: `${Math.round(statsObj.bitrate / 1024)} kbps`,
|
|
309
|
+
description: this.t('debugger.stats.bitrate.description'),
|
|
310
|
+
verdict: getBitrateVerdict({
|
|
311
|
+
bitrate: statsObj.bitrate,
|
|
312
|
+
kind: 'video',
|
|
313
|
+
isScreenshare: false,
|
|
314
|
+
}),
|
|
315
|
+
});
|
|
316
|
+
newStatsList.push({
|
|
317
|
+
name: this.t('debugger.stats.packet_loss.label'),
|
|
318
|
+
value: `${statsObj.packetsLostPercentage}%`,
|
|
319
|
+
description: this.t('debugger.stats.packet_loss.description'),
|
|
320
|
+
verdict: getPacketLossVerdict({ packetLossPercentage: statsObj.packetsLostPercentage }),
|
|
321
|
+
});
|
|
322
|
+
newStatsList.push({
|
|
323
|
+
name: this.t('debugger.stats.jitter.label'),
|
|
324
|
+
value: `${Math.round(statsObj.jitter * 1000)} ms`,
|
|
325
|
+
description: this.t('debugger.stats.jitter.description'),
|
|
326
|
+
verdict: getJitterVerdict({ jitterInMS: statsObj.jitter * 1000 }),
|
|
327
|
+
});
|
|
328
|
+
this.videoProducerFormattedStats = newStatsList;
|
|
329
|
+
this.networkBasedMediaHealth = getNetworkBasedMediaHealth({
|
|
330
|
+
kind: 'video',
|
|
331
|
+
isScreenshare: false,
|
|
332
|
+
stats: newStatsList,
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
async audioProducerScoreStatsChanged(newAudioProducerScoreStats) {
|
|
336
|
+
if (!newAudioProducerScoreStats) {
|
|
337
|
+
this.audioProducerFormattedStats = [];
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
const statsObj = newAudioProducerScoreStats;
|
|
341
|
+
const newStatsList = [];
|
|
342
|
+
newStatsList.push({
|
|
343
|
+
name: this.t('debugger.stats.bitrate.label'),
|
|
344
|
+
value: `${Math.round(statsObj.bitrate / 1024)} kbps`,
|
|
345
|
+
description: this.t('debugger.stats.bitrate.description'),
|
|
346
|
+
verdict: getBitrateVerdict({
|
|
347
|
+
bitrate: statsObj.bitrate,
|
|
348
|
+
kind: 'audio',
|
|
349
|
+
isScreenshare: true,
|
|
350
|
+
}),
|
|
351
|
+
});
|
|
352
|
+
newStatsList.push({
|
|
353
|
+
name: this.t('debugger.stats.packet_loss.label'),
|
|
354
|
+
value: `${statsObj.packetsLostPercentage}%`,
|
|
355
|
+
description: this.t('debugger.stats.packet_loss.description'),
|
|
356
|
+
verdict: getPacketLossVerdict({ packetLossPercentage: statsObj.packetsLostPercentage }),
|
|
357
|
+
});
|
|
358
|
+
newStatsList.push({
|
|
359
|
+
name: this.t('debugger.stats.jitter.label'),
|
|
360
|
+
value: `${Math.round(statsObj.jitter * 1000)} ms`,
|
|
361
|
+
description: this.t('debugger.stats.jitter.description'),
|
|
362
|
+
verdict: getJitterVerdict({ jitterInMS: statsObj.jitter * 1000 }),
|
|
363
|
+
});
|
|
364
|
+
this.audioProducerFormattedStats = newStatsList;
|
|
365
|
+
/** Only screenshare video is deciding the media health currently */
|
|
366
|
+
// this.networkBasedMediaHealth = getNetworkBasedMediaHealth({
|
|
367
|
+
// kind: 'audio',
|
|
368
|
+
// isScreenshare: true,
|
|
369
|
+
// stats: newStatsList,
|
|
370
|
+
// });
|
|
371
|
+
}
|
|
372
|
+
connectedCallback() {
|
|
373
|
+
this.meetingChanged(this.meeting);
|
|
374
|
+
}
|
|
375
|
+
disconnectedCallback() {
|
|
376
|
+
if (!this.meeting) {
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
379
|
+
this.meeting.self.off('mediaScoreUpdate', this.mediaScoreUpdateListener);
|
|
380
|
+
this.meeting.self.off('screenShareUpdate', this.screenShareUpdateListener);
|
|
381
|
+
}
|
|
382
|
+
async meetingChanged(meeting) {
|
|
383
|
+
if (!meeting)
|
|
384
|
+
return;
|
|
385
|
+
meeting.self.on('mediaScoreUpdate', this.mediaScoreUpdateListener);
|
|
386
|
+
meeting.self.on('screenShareUpdate', this.screenShareUpdateListener);
|
|
387
|
+
}
|
|
388
|
+
render() {
|
|
389
|
+
var _a, _b;
|
|
390
|
+
if (!this.meeting) {
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
return (index$1.h(index$1.Host, null, index$1.h("div", { id: "header" }), index$1.h("div", { class: "tab-body" }, index$1.h("div", { class: "status-container" }, index$1.h("div", { class: "status-section" }, index$1.h("div", { class: `section-header ${!this.networkBasedMediaHealth ? 'only-child' : ''}` }, index$1.h("span", null, this.t('debugger.screenshare.sections.network_media')), this.networkBasedMediaHealth && (index$1.h("span", { class: `status ${(_a = this.networkBasedMediaHealth) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = this.networkBasedMediaHealth) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)))), this.isNetworkOpen && !this.videoProducerFormattedStats.length && (index$1.h("div", { class: "section-body missing-stats" }, this.meeting.self.screenShareEnabled ? (index$1.h("span", null, this.t('debugger.screenshare.messages.generating_report'))) : (index$1.h("span", null, this.t('debugger.screenshare.messages.enable_media'))))), this.isNetworkOpen && !!this.videoProducerFormattedStats.length && (index$1.h("div", { class: "section-body network-table" }, this.videoProducerFormattedStats.map((formattedStatsObj) => {
|
|
394
|
+
var _a, _b;
|
|
395
|
+
return (index$1.h("div", { class: "network-row" }, index$1.h("div", { class: "network-cell label" }, index$1.h("strong", null, formattedStatsObj.name), index$1.h("span", { class: "description" }, formattedStatsObj.description)), index$1.h("div", { class: "network-cell value" }, index$1.h("span", { class: `status ${(_a = formattedStatsObj.verdict) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = formattedStatsObj.verdict) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)), index$1.h("span", { class: "value" }, formattedStatsObj.value))));
|
|
396
|
+
}))))))));
|
|
397
|
+
}
|
|
398
|
+
static get watchers() { return {
|
|
399
|
+
"videoProducerScoreStats": ["videoProducerScoreStatsChanged"],
|
|
400
|
+
"audioProducerScoreStats": ["audioProducerScoreStatsChanged"],
|
|
401
|
+
"meeting": ["meetingChanged"]
|
|
402
|
+
}; }
|
|
403
|
+
};
|
|
404
|
+
__decorate$2([
|
|
405
|
+
index.SyncWithStore()
|
|
406
|
+
], RtkDebuggerScreenShare.prototype, "meeting", void 0);
|
|
407
|
+
__decorate$2([
|
|
408
|
+
index.SyncWithStore()
|
|
409
|
+
], RtkDebuggerScreenShare.prototype, "states", void 0);
|
|
410
|
+
__decorate$2([
|
|
411
|
+
index.SyncWithStore()
|
|
412
|
+
], RtkDebuggerScreenShare.prototype, "iconPack", void 0);
|
|
413
|
+
__decorate$2([
|
|
414
|
+
index.SyncWithStore()
|
|
415
|
+
], RtkDebuggerScreenShare.prototype, "t", void 0);
|
|
416
|
+
RtkDebuggerScreenShare.style = RtkDebuggerScreenshareStyle0;
|
|
417
|
+
|
|
418
|
+
const rtkDebuggerSystemCss = ":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;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{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))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.battery-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.battery-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.battery-row:last-child{border-bottom:none}.battery-cell{display:flex;flex-direction:column}.battery-cell.label strong{font-size:14px}.battery-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.battery-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}";
|
|
419
|
+
const RtkDebuggerSystemStyle0 = rtkDebuggerSystemCss;
|
|
420
|
+
|
|
421
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
422
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
423
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
424
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
425
|
+
else
|
|
426
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
427
|
+
if (d = decorators[i])
|
|
428
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
429
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
430
|
+
};
|
|
431
|
+
const RtkDebuggerSystem = class {
|
|
432
|
+
constructor(hostRef) {
|
|
433
|
+
index$1.registerInstance(this, hostRef);
|
|
434
|
+
/** Icon pack */
|
|
435
|
+
this.iconPack = uiStore.defaultIconPack;
|
|
436
|
+
/** Language */
|
|
437
|
+
this.t = uiStore.useLanguage();
|
|
438
|
+
/** Is Network section expanded */
|
|
439
|
+
this.isBatterySectionOpen = true;
|
|
440
|
+
/** Summarised health of network stats */
|
|
441
|
+
this.batterySectionHealth = null;
|
|
442
|
+
/** Battery manager */
|
|
443
|
+
this.battery = null;
|
|
444
|
+
/** Stats as formatted array to display */
|
|
445
|
+
this.batteryFormattedStats = [];
|
|
446
|
+
this.batteryUpdateListener = () => {
|
|
447
|
+
const batteryLevelPercentage = Math.round(this.battery.level * 100);
|
|
448
|
+
const newBatteryStats = [];
|
|
449
|
+
newBatteryStats.push({
|
|
450
|
+
name: this.t('debugger.system.battery.level.label'),
|
|
451
|
+
value: `${batteryLevelPercentage}%`,
|
|
452
|
+
description: this.t('debugger.system.battery.level.description'),
|
|
453
|
+
verdict: getBatteryLevelVerdict({
|
|
454
|
+
batteryLevelPercentage,
|
|
455
|
+
}),
|
|
456
|
+
});
|
|
457
|
+
newBatteryStats.push({
|
|
458
|
+
name: this.t('debugger.system.battery.charging.label'),
|
|
459
|
+
value: `${this.battery.charging
|
|
460
|
+
? this.t('debugger.system.battery.charging.is_charging')
|
|
461
|
+
: this.t('debugger.system.battery.charging.is_not_charging')}`,
|
|
462
|
+
description: this.t('debugger.system.battery.charging.description'),
|
|
463
|
+
verdict: getBatteryChargingVerdict({
|
|
464
|
+
batteryLevelPercentage,
|
|
465
|
+
chargingTimeInSeconds: this.battery.chargingTime,
|
|
466
|
+
dischargingTimeInSeconds: this.battery.dischargingTime,
|
|
467
|
+
charging: this.battery.charging,
|
|
468
|
+
}),
|
|
469
|
+
});
|
|
470
|
+
this.batterySectionHealth = getOverallBatteryVerdict({
|
|
471
|
+
stats: newBatteryStats,
|
|
472
|
+
});
|
|
473
|
+
this.batteryFormattedStats = newBatteryStats;
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
toggleSection(section) {
|
|
477
|
+
if (section === 'battery')
|
|
478
|
+
this.isBatterySectionOpen = !this.isBatterySectionOpen;
|
|
479
|
+
}
|
|
480
|
+
connectedCallback() {
|
|
481
|
+
this.meetingChanged(this.meeting);
|
|
482
|
+
}
|
|
483
|
+
disconnectedCallback() {
|
|
484
|
+
if (!this.meeting) {
|
|
485
|
+
return;
|
|
486
|
+
}
|
|
487
|
+
if (this.battery) {
|
|
488
|
+
this.battery.removeEventListener('levelchange', this.batteryUpdateListener);
|
|
489
|
+
this.battery.removeEventListener('chargingchange', this.batteryUpdateListener);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
async meetingChanged(meeting) {
|
|
493
|
+
if (!meeting)
|
|
494
|
+
return;
|
|
495
|
+
if (typeof navigator.getBattery !== 'undefined') {
|
|
496
|
+
this.battery = await navigator.getBattery();
|
|
497
|
+
this.battery.addEventListener('levelchange', this.batteryUpdateListener);
|
|
498
|
+
this.battery.addEventListener('chargingchange', this.batteryUpdateListener);
|
|
499
|
+
this.batteryUpdateListener();
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
render() {
|
|
503
|
+
var _a, _b;
|
|
504
|
+
if (!this.meeting) {
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
return (index$1.h(index$1.Host, null, index$1.h("div", { id: "header" }), index$1.h("div", { class: "tab-body" }, index$1.h("div", { class: "status-container" }, index$1.h("div", { class: "status-section" }, index$1.h("div", { class: "section-header", onClick: () => this.toggleSection('battery') }, index$1.h("span", null, this.t('debugger.system.sections.battery')), this.batterySectionHealth && (index$1.h("span", { class: `status ${(_a = this.batterySectionHealth) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = this.batterySectionHealth) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)))), this.isBatterySectionOpen && !!this.batteryFormattedStats.length && (index$1.h("div", { class: "section-body battery-table" }, this.batteryFormattedStats.map((formattedStatsObj) => {
|
|
508
|
+
var _a, _b;
|
|
509
|
+
return (index$1.h("div", { class: "battery-row" }, index$1.h("div", { class: "battery-cell label" }, index$1.h("strong", null, formattedStatsObj.name), index$1.h("span", { class: "description" }, formattedStatsObj.description)), index$1.h("div", { class: "battery-cell value" }, index$1.h("span", { class: `status ${(_a = formattedStatsObj.verdict) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = formattedStatsObj.verdict) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)), index$1.h("span", { class: "value" }, formattedStatsObj.value))));
|
|
510
|
+
}))))))));
|
|
511
|
+
}
|
|
512
|
+
static get watchers() { return {
|
|
513
|
+
"meeting": ["meetingChanged"]
|
|
514
|
+
}; }
|
|
515
|
+
};
|
|
516
|
+
__decorate$1([
|
|
517
|
+
index.SyncWithStore()
|
|
518
|
+
], RtkDebuggerSystem.prototype, "meeting", void 0);
|
|
519
|
+
__decorate$1([
|
|
520
|
+
index.SyncWithStore()
|
|
521
|
+
], RtkDebuggerSystem.prototype, "states", void 0);
|
|
522
|
+
__decorate$1([
|
|
523
|
+
index.SyncWithStore()
|
|
524
|
+
], RtkDebuggerSystem.prototype, "iconPack", void 0);
|
|
525
|
+
__decorate$1([
|
|
526
|
+
index.SyncWithStore()
|
|
527
|
+
], RtkDebuggerSystem.prototype, "t", void 0);
|
|
528
|
+
RtkDebuggerSystem.style = RtkDebuggerSystemStyle0;
|
|
529
|
+
|
|
530
|
+
const rtkDebuggerVideoCss = ":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;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{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))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}";
|
|
531
|
+
const RtkDebuggerVideoStyle0 = rtkDebuggerVideoCss;
|
|
532
|
+
|
|
533
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
534
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
535
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
536
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
537
|
+
else
|
|
538
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
539
|
+
if (d = decorators[i])
|
|
540
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
541
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
542
|
+
};
|
|
543
|
+
const RtkDebuggerVideo = class {
|
|
544
|
+
constructor(hostRef) {
|
|
545
|
+
index$1.registerInstance(this, hostRef);
|
|
546
|
+
/** Icon pack */
|
|
547
|
+
this.iconPack = uiStore.defaultIconPack;
|
|
548
|
+
/** Language */
|
|
549
|
+
this.t = uiStore.useLanguage();
|
|
550
|
+
/** Is Network section expanded */
|
|
551
|
+
this.isNetworkOpen = true;
|
|
552
|
+
/** Is Devices section expanded */
|
|
553
|
+
this.isDevicesOpen = false;
|
|
554
|
+
/** Stats as formatted array to display */
|
|
555
|
+
this.videoProducerFormattedStats = [];
|
|
556
|
+
/** Last raw video score stats obj */
|
|
557
|
+
this.videoProducerScoreStats = null;
|
|
558
|
+
/** Summarised health of network stats */
|
|
559
|
+
this.networkBasedMediaHealth = null;
|
|
560
|
+
/** Summarised health of devices */
|
|
561
|
+
this.devicesHealth = null;
|
|
562
|
+
// private toggleSection(section: string) {
|
|
563
|
+
// if (section === 'network') this.isNetworkOpen = !this.isNetworkOpen;
|
|
564
|
+
// else if (section === 'devices') this.isDevicesOpen = !this.isDevicesOpen;
|
|
565
|
+
// }
|
|
566
|
+
this.mediaScoreUpdateListener = ({ kind, isScreenshare, scoreStats, }) => {
|
|
567
|
+
if (kind === 'video' && !isScreenshare) {
|
|
568
|
+
this.videoProducerScoreStats = scoreStats;
|
|
569
|
+
}
|
|
570
|
+
};
|
|
571
|
+
this.deviceListUpdateListener = async () => {
|
|
572
|
+
const videoDevices = await this.meeting.self.getVideoDevices();
|
|
573
|
+
this.devicesHealth = (videoDevices === null || videoDevices === void 0 ? void 0 : videoDevices.length) > 0 ? 'Good' : 'Poor';
|
|
574
|
+
};
|
|
575
|
+
this.videoUpdateListener = () => {
|
|
576
|
+
if (!this.meeting.self.videoEnabled) {
|
|
577
|
+
this.videoProducerScoreStats = null;
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
async videoProducerScoreStatsChanged(newVideoProducerScoreStats) {
|
|
582
|
+
if (!newVideoProducerScoreStats) {
|
|
583
|
+
this.videoProducerFormattedStats = [];
|
|
584
|
+
return;
|
|
585
|
+
}
|
|
586
|
+
const statsObj = newVideoProducerScoreStats;
|
|
587
|
+
const newStatsList = [];
|
|
588
|
+
newStatsList.push({
|
|
589
|
+
name: this.t('debugger.stats.cpu_limitations.label'),
|
|
590
|
+
value: statsObj.cpuLimitations ? 'Yes' : 'No',
|
|
591
|
+
description: this.t('debugger.stats.cpu_limitations.description'),
|
|
592
|
+
verdict: statsObj.cpuLimitations ? 'Poor' : 'Good',
|
|
593
|
+
});
|
|
594
|
+
newStatsList.push({
|
|
595
|
+
name: this.t('debugger.stats.bandwidth_limitations.label'),
|
|
596
|
+
value: statsObj.bandwidthLimitations ? 'Yes' : 'No',
|
|
597
|
+
description: this.t('debugger.stats.bandwidth_limitations.description'),
|
|
598
|
+
verdict: statsObj.bandwidthLimitations ? 'Poor' : 'Good',
|
|
599
|
+
});
|
|
600
|
+
newStatsList.push({
|
|
601
|
+
name: this.t('debugger.stats.bitrate.label'),
|
|
602
|
+
value: `${Math.round(statsObj.bitrate / 1024)} kbps`,
|
|
603
|
+
description: this.t('debugger.stats.bitrate.description'),
|
|
604
|
+
verdict: getBitrateVerdict({
|
|
605
|
+
bitrate: statsObj.bitrate,
|
|
606
|
+
kind: 'video',
|
|
607
|
+
isScreenshare: false,
|
|
608
|
+
}),
|
|
609
|
+
});
|
|
610
|
+
newStatsList.push({
|
|
611
|
+
name: this.t('debugger.stats.packet_loss.label'),
|
|
612
|
+
value: `${statsObj.packetsLostPercentage}%`,
|
|
613
|
+
description: this.t('debugger.stats.packet_loss.description'),
|
|
614
|
+
verdict: getPacketLossVerdict({ packetLossPercentage: statsObj.packetsLostPercentage }),
|
|
615
|
+
});
|
|
616
|
+
newStatsList.push({
|
|
617
|
+
name: this.t('debugger.stats.jitter.label'),
|
|
618
|
+
value: `${Math.round(statsObj.jitter * 1000)} ms`,
|
|
619
|
+
description: this.t('debugger.stats.jitter.description'),
|
|
620
|
+
verdict: getJitterVerdict({ jitterInMS: statsObj.jitter * 1000 }),
|
|
621
|
+
});
|
|
622
|
+
this.videoProducerFormattedStats = newStatsList;
|
|
623
|
+
this.networkBasedMediaHealth = getNetworkBasedMediaHealth({
|
|
624
|
+
kind: 'video',
|
|
625
|
+
isScreenshare: false,
|
|
626
|
+
stats: newStatsList,
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
connectedCallback() {
|
|
630
|
+
this.meetingChanged(this.meeting);
|
|
631
|
+
}
|
|
632
|
+
disconnectedCallback() {
|
|
633
|
+
if (!this.meeting) {
|
|
634
|
+
return;
|
|
635
|
+
}
|
|
636
|
+
this.meeting.self.off('mediaScoreUpdate', this.mediaScoreUpdateListener);
|
|
637
|
+
this.meeting.self.off('videoUpdate', this.videoUpdateListener);
|
|
638
|
+
this.meeting.self.off('deviceListUpdate', this.deviceListUpdateListener);
|
|
639
|
+
}
|
|
640
|
+
async meetingChanged(meeting) {
|
|
641
|
+
if (!meeting)
|
|
642
|
+
return;
|
|
643
|
+
meeting.self.on('mediaScoreUpdate', this.mediaScoreUpdateListener);
|
|
644
|
+
meeting.self.on('videoUpdate', this.videoUpdateListener);
|
|
645
|
+
meeting.self.on('deviceListUpdate', this.deviceListUpdateListener);
|
|
646
|
+
await this.deviceListUpdateListener();
|
|
647
|
+
}
|
|
648
|
+
render() {
|
|
649
|
+
var _a, _b;
|
|
650
|
+
if (!this.meeting) {
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
653
|
+
// const defaults = {
|
|
654
|
+
// meeting: this.meeting,
|
|
655
|
+
// states: this.states || storeState,
|
|
656
|
+
// iconPack: this.iconPack,
|
|
657
|
+
// t: this.t,
|
|
658
|
+
// };
|
|
659
|
+
return (index$1.h(index$1.Host, null, index$1.h("div", { id: "header" }), index$1.h("div", { class: "tab-body" }, index$1.h("div", { class: "status-container" }, index$1.h("div", { class: "status-section" }, index$1.h("div", { class: `section-header ${!this.networkBasedMediaHealth ? 'only-child' : ''}` }, index$1.h("span", null, this.t('debugger.video.sections.network_media')), this.networkBasedMediaHealth && (index$1.h("span", { class: `status ${(_a = this.networkBasedMediaHealth) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = this.networkBasedMediaHealth) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)))), this.isNetworkOpen && !this.videoProducerFormattedStats.length && (index$1.h("div", { class: "section-body missing-stats" }, this.meeting.self.videoEnabled ? (index$1.h("span", null, this.t('debugger.video.messages.generating_report'))) : (index$1.h("span", null, this.t('debugger.video.messages.enable_media'))))), this.isNetworkOpen && !!this.videoProducerFormattedStats.length && (index$1.h("div", { class: "section-body network-table" }, this.videoProducerFormattedStats.map((formattedStatsObj) => {
|
|
660
|
+
var _a, _b;
|
|
661
|
+
return (index$1.h("div", { class: "network-row" }, index$1.h("div", { class: "network-cell label" }, index$1.h("strong", null, formattedStatsObj.name), index$1.h("span", { class: "description" }, formattedStatsObj.description)), index$1.h("div", { class: "network-cell value" }, index$1.h("span", { class: `status ${(_a = formattedStatsObj.verdict) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` }, this.t(`debugger.quality.${(_b = formattedStatsObj.verdict) === null || _b === void 0 ? void 0 : _b.toLowerCase()}`)), index$1.h("span", { class: "value" }, formattedStatsObj.value))));
|
|
662
|
+
}))))))));
|
|
663
|
+
}
|
|
664
|
+
static get watchers() { return {
|
|
665
|
+
"videoProducerScoreStats": ["videoProducerScoreStatsChanged"],
|
|
666
|
+
"meeting": ["meetingChanged"]
|
|
667
|
+
}; }
|
|
668
|
+
};
|
|
669
|
+
__decorate([
|
|
670
|
+
index.SyncWithStore()
|
|
671
|
+
], RtkDebuggerVideo.prototype, "meeting", void 0);
|
|
672
|
+
__decorate([
|
|
673
|
+
index.SyncWithStore()
|
|
674
|
+
], RtkDebuggerVideo.prototype, "states", void 0);
|
|
675
|
+
__decorate([
|
|
676
|
+
index.SyncWithStore()
|
|
677
|
+
], RtkDebuggerVideo.prototype, "iconPack", void 0);
|
|
678
|
+
__decorate([
|
|
679
|
+
index.SyncWithStore()
|
|
680
|
+
], RtkDebuggerVideo.prototype, "t", void 0);
|
|
681
|
+
RtkDebuggerVideo.style = RtkDebuggerVideoStyle0;
|
|
682
|
+
|
|
683
|
+
exports.rtk_debugger_audio = RtkDebuggerAudio;
|
|
684
|
+
exports.rtk_debugger_screenshare = RtkDebuggerScreenShare;
|
|
685
|
+
exports.rtk_debugger_system = RtkDebuggerSystem;
|
|
686
|
+
exports.rtk_debugger_video = RtkDebuggerVideo;
|