@cloudflare/realtimekit-ui 1.1.0-staging.10 → 1.1.0-staging.12
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 → ChatHead-777e6a2d.js} +1 -1
- package/dist/cjs/{TextMessage-1dc6f8b9.js → TextMessage-b9322340.js} +2 -2
- package/dist/cjs/{chat-2ae6f058.js → chat-f1a9fd6e.js} +1 -16
- package/dist/cjs/{config-0a88d50b.js → config-86164f93.js} +2 -2
- package/dist/cjs/{debounce-b06b27ca.js → debounce-267777c1.js} +1 -1
- package/dist/cjs/index-2e5758b6.js +4403 -0
- package/dist/cjs/{index-821d14b7.js → index-6f8c1928.js} +1 -1
- package/dist/cjs/{index-e4244d7d.js → index-92947ea7.js} +2 -2
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{merge-c46cfa17.js → merge-bb096d88.js} +1 -1
- package/dist/cjs/{notification-f3750b61.js → notification-ef397c71.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +30 -3
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +5 -5
- package/dist/cjs/rtk-ai.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +5 -5
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +3 -3
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +4 -4
- package/dist/cjs/{rtk-avatar_24.cjs.entry.js → rtk-avatar_26.cjs.entry.js} +538 -555
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +8 -8
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +13 -13
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +11 -25
- package/dist/cjs/rtk-chat-message.cjs.entry.js +6 -6
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +13 -7
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +4 -4
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +9 -5
- package/dist/cjs/rtk-clock.cjs.entry.js +6 -6
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-controlbar.cjs.entry.js +5 -5
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +3 -3
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +4 -4
- package/dist/cjs/rtk-dialog.cjs.entry.js +4 -4
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +4 -4
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +14 -14
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +4 -4
- package/dist/cjs/rtk-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-header.cjs.entry.js +5 -5
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +4 -4
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +4 -4
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/rtk-leave-button.cjs.entry.js +4 -4
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2477 -1450
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-logo.cjs.entry.js +3 -3
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +3 -3
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +7 -7
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -5
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +3 -3
- package/dist/cjs/rtk-name-tag.cjs.entry.js +4 -4
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-notification.cjs.entry.js +7 -7
- package/dist/cjs/rtk-notifications.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participant-count.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participant_2.cjs.entry.js +19 -19
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-participants.cjs.entry.js +4 -4
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +7 -7
- package/dist/cjs/rtk-poll_2.cjs.entry.js +6 -6
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +4 -4
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +8 -8
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +4 -4
- package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +5 -5
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +6 -6
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-stage.cjs.entry.js +4 -4
- package/dist/cjs/rtk-transcript.cjs.entry.js +4 -4
- package/dist/cjs/rtk-transcripts.cjs.entry.js +3 -3
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +4 -4
- package/dist/cjs/{sidebar-0eb1e4ef.js → sidebar-7df66d80.js} +1 -1
- package/dist/cjs/{ui-store-6c2d680f.js → ui-store-d0e80f30.js} +113 -34
- package/dist/collection/collection-manifest.json +4 -6
- package/dist/collection/components/rtk-ai/rtk-ai.js +3 -3
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +3 -3
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +3 -3
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -4
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +4 -4
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +3 -3
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +3 -3
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +5 -5
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +4 -4
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +4 -4
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +5 -5
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +3 -3
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +3 -3
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +3 -3
- package/dist/collection/components/rtk-chat/rtk-chat.css +2 -37
- package/dist/collection/components/rtk-chat/rtk-chat.js +27 -385
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -51
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +2 -2
- package/dist/collection/components/{rtk-channel-details/rtk-channel-details.css → rtk-chat-header/rtk-chat-header.css} +28 -46
- package/dist/collection/components/rtk-chat-header/rtk-chat-header.js +32 -0
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +0 -2
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +9 -9
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +0 -2
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +6 -6
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +91 -96
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +4 -4
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.css +142 -0
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +421 -0
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +8 -4
- package/dist/collection/components/rtk-clock/rtk-clock.js +5 -5
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +4 -4
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +4 -4
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.css +0 -2
- package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +3 -3
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +3 -3
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +3 -3
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +3 -3
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +4 -4
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +3 -3
- package/dist/collection/components/rtk-dialog/rtk-dialog.css +1 -2
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +3 -3
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +3 -3
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +0 -2
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +3 -3
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +5 -5
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
- package/dist/collection/components/rtk-grid/rtk-grid.js +3 -3
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +0 -2
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +3 -3
- package/dist/collection/components/rtk-header/rtk-header.js +4 -4
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +4 -4
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +7 -7
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +4 -4
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +4 -4
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +5 -5
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +3 -3
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +3 -3
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +3 -3
- package/dist/collection/components/rtk-logo/rtk-logo.js +2 -2
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +3 -3
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +3 -3
- package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +1 -1
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +3 -3
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +3 -3
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +3 -3
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +3 -3
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +3 -3
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +5 -5
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +3 -3
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +4 -4
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +5 -5
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +4 -4
- package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +3 -3
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +4 -4
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +88 -2
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +50 -27
- package/dist/collection/components/rtk-participant/rtk-participant.js +16 -16
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +3 -3
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +5 -5
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +5 -5
- package/dist/collection/components/rtk-participants/rtk-participants.js +3 -3
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +4 -4
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +4 -4
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +3 -3
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +3 -3
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +3 -3
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +3 -3
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +4 -4
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.css +112 -0
- package/dist/collection/components/{rtk-channel-header/rtk-channel-header.js → rtk-pinned-message-selector/rtk-pinned-message-selector.js} +181 -118
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +3 -3
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +5 -5
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +4 -4
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +3 -3
- package/dist/collection/components/rtk-poll/rtk-poll.js +5 -5
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
- package/dist/collection/components/rtk-polls/rtk-polls.js +6 -6
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +3 -3
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +4 -4
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +3 -3
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +9 -9
- package/dist/collection/components/rtk-settings/rtk-settings.js +3 -3
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +3 -3
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +3 -3
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +0 -2
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +3 -3
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +3 -3
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +3 -3
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +3 -3
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +3 -3
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +5 -5
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +3 -3
- package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +3 -3
- package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +3 -3
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +5 -5
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +2 -2
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +3 -3
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +3 -3
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +4 -4
- package/dist/collection/lib/icons/default-icon-pack.js +0 -2
- package/dist/collection/lib/lang/default-language.js +2 -5
- package/dist/collection/lib/overrides.js +1 -0
- package/dist/collection/utils/chat.js +0 -4
- package/dist/collection/utils/flags.js +0 -2
- package/dist/components/index.js +8 -8
- package/dist/components/{p-e375b50d.js → p-06de876f.js} +7 -7
- package/dist/components/{p-6c02b0d0.js → p-08351fd6.js} +8 -8
- package/dist/components/{p-44c32349.js → p-0a36cb4b.js} +11 -11
- package/dist/components/{p-dab9d3d6.js → p-0db812c2.js} +1 -12
- package/dist/components/{p-f0e4633e.js → p-1099c0fe.js} +5 -5
- package/dist/components/{p-eeb37b16.js → p-12b59b72.js} +5 -5
- package/dist/components/{p-fb836f65.js → p-15156a2c.js} +2 -2
- package/dist/components/{p-43bf8953.js → p-154bed23.js} +6 -6
- package/dist/components/{p-c05530c8.js → p-1b26fbf7.js} +3 -3
- package/dist/components/{p-7bde2b2d.js → p-2232de67.js} +2482 -1455
- package/dist/components/{p-fb900e8f.js → p-22827c53.js} +6 -6
- package/dist/components/{p-ad873f2d.js → p-2305aa2d.js} +1 -1
- package/dist/components/{p-6f8d2043.js → p-2690645d.js} +3 -3
- package/dist/components/{p-e64e3cec.js → p-2976fcb0.js} +8 -8
- package/dist/components/p-321a4aef.js +86 -0
- package/dist/components/{p-586482a8.js → p-345a07e8.js} +8 -8
- package/dist/components/{p-dfb42075.js → p-401ce922.js} +5 -5
- package/dist/components/{p-72fffe3e.js → p-41bf1c3d.js} +5 -5
- package/dist/components/{p-5f1b84f7.js → p-45a9a385.js} +11 -11
- package/dist/components/{p-3972098e.js → p-469f4396.js} +15 -15
- package/dist/components/{p-92729e09.js → p-4942bfd2.js} +9 -9
- package/dist/components/{p-dd89aff2.js → p-4a1144e2.js} +8 -8
- package/dist/components/{p-46d99dd9.js → p-4a5d3b4c.js} +7 -7
- package/dist/components/{p-74356882.js → p-52d9029f.js} +9 -9
- package/dist/components/p-54e0acc1.js +463 -0
- package/dist/components/{p-da87cc71.js → p-583f9282.js} +1 -1
- package/dist/components/{p-ecb016da.js → p-6ac87493.js} +6 -6
- package/dist/components/{p-f6c2e822.js → p-6e373d96.js} +4 -4
- package/dist/components/{p-aae4c250.js → p-707dced6.js} +2 -2
- package/dist/components/{p-1afc54bb.js → p-71fb663b.js} +4 -4
- package/dist/components/{p-fefc57f9.js → p-71fbfb8b.js} +7 -7
- package/dist/components/{p-282e8e83.js → p-7384c20c.js} +9 -9
- package/dist/components/{p-35e93724.js → p-73db39b8.js} +2 -2
- package/dist/components/{p-193d8051.js → p-76c443b7.js} +3 -3
- package/dist/components/{p-44a203bd.js → p-793f074d.js} +36 -15
- package/dist/components/{p-19b037c5.js → p-7adb3504.js} +5 -5
- package/dist/components/{p-b6869c32.js → p-7f3bfc54.js} +6 -6
- package/dist/components/p-7fcbd2dd.js +236 -0
- package/dist/components/{p-7a27fdb5.js → p-862ec1f9.js} +10 -10
- package/dist/components/{p-39e8b34a.js → p-8861d5a3.js} +4 -4
- package/dist/components/{p-6392204c.js → p-88aded7d.js} +11 -11
- package/dist/components/{p-7148ec6a.js → p-8a66a347.js} +5 -5
- package/dist/components/{p-05df465d.js → p-8cea6257.js} +1 -1
- package/dist/components/{p-cf8f725b.js → p-90420dc5.js} +3 -3
- package/dist/components/{p-600579a6.js → p-95a1fa70.js} +5 -5
- package/dist/components/{p-e72a0f16.js → p-9e1478a0.js} +7 -7
- package/dist/components/{p-977f9875.js → p-9f481b70.js} +5 -5
- package/dist/components/{p-73baf5ba.js → p-a3cc7425.js} +1 -1
- package/dist/components/{p-fa5aba68.js → p-a4d13056.js} +22 -22
- package/dist/components/{p-107e55c1.js → p-a6c93f34.js} +5 -5
- package/dist/components/{p-e552dc59.js → p-a74caccd.js} +4 -4
- package/dist/components/{p-33be3c19.js → p-a8d77615.js} +16 -16
- package/dist/components/{p-2309fb19.js → p-abf952f5.js} +5 -5
- package/dist/components/{p-e57e8041.js → p-ac6a5fc5.js} +7 -7
- package/dist/components/{p-d9f6db4f.js → p-af2b1476.js} +8 -8
- package/dist/components/{p-b76e3950.js → p-b226a124.js} +7 -7
- package/dist/components/{p-1a9e3806.js → p-b2d5329f.js} +5 -5
- package/dist/components/{p-89151c7a.js → p-b3240843.js} +5 -5
- package/dist/components/{p-1da807a2.js → p-bfc86230.js} +4 -4
- package/dist/components/{p-a54b82e9.js → p-c0790538.js} +1 -1
- package/dist/components/{p-395ef9c8.js → p-c0ad28ff.js} +9 -9
- package/dist/components/{p-d188f58b.js → p-c6c4c24e.js} +4 -4
- package/dist/components/{p-9bdc24b8.js → p-c9db1b82.js} +5 -5
- package/dist/components/{p-fb7666ce.js → p-cd6656bf.js} +8 -8
- package/dist/components/{p-819cb785.js → p-cd6f04ae.js} +5 -5
- package/dist/components/{p-f7bd10f1.js → p-d029dd2f.js} +8 -8
- package/dist/components/{p-dc3143c0.js → p-d0f54eea.js} +3 -3
- package/dist/components/{p-edd12f2f.js → p-d22fc130.js} +7 -7
- package/dist/components/{p-abdff498.js → p-d2cbc2d1.js} +11 -11
- package/dist/components/{p-851b90a6.js → p-d6024528.js} +4 -4
- package/dist/components/{p-7b6356e2.js → p-d9626191.js} +6 -6
- package/dist/components/p-d9fa18db.js +218 -0
- package/dist/components/{p-0a31ef52.js → p-dacaa250.js} +3 -3
- package/dist/components/{p-e4888ccc.js → p-db5556c3.js} +81 -58
- package/dist/components/{p-7c8096c2.js → p-dd8a892e.js} +5 -5
- package/dist/components/{p-e443d803.js → p-dfdbb665.js} +5 -5
- package/dist/components/{p-524d7900.js → p-e0ef3893.js} +7 -7
- package/dist/components/{p-1391bef0.js → p-e229128b.js} +1 -1
- package/dist/components/{p-6f7c46d2.js → p-e334e15c.js} +2 -2
- package/dist/components/{p-5476e3f3.js → p-e544a590.js} +6 -6
- package/dist/components/{p-2447a26f.js → p-e7b7abfe.js} +5 -5
- package/dist/components/{p-45b4f6a1.js → p-ecbb4e46.js} +7 -7
- package/dist/components/{p-6f361314.js → p-eff3c856.js} +6 -6
- package/dist/components/{p-e847fee9.js → p-f19b4abc.js} +114 -35
- package/dist/components/{p-60fdbd75.js → p-f3c261ec.js} +1 -1
- package/dist/components/{p-6739a399.js → p-f5aecaad.js} +3 -3
- package/dist/components/{p-89eb65a9.js → p-fa8cf270.js} +3 -3
- package/dist/components/p-fdad14c9.js +4028 -0
- package/dist/components/{p-3e58e0f3.js → p-fe0d125b.js} +4 -4
- package/dist/components/rtk-ai-toggle.js +6 -6
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +6 -6
- package/dist/components/rtk-audio-grid.js +5 -5
- package/dist/components/rtk-audio-tile.js +7 -7
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +6 -6
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-button.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +7 -7
- package/dist/components/rtk-caption-toggle.js +6 -6
- package/dist/components/rtk-chat-composer-ui.js +17 -34
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/{rtk-channel-header.d.ts → rtk-chat-header.d.ts} +4 -4
- package/dist/components/rtk-chat-header.js +6 -0
- 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 +26 -20
- package/dist/components/rtk-chat-search-results.js +16 -16
- package/dist/components/rtk-chat-selector-ui.js +5 -5
- package/dist/components/{rtk-channel-creator.d.ts → rtk-chat-selector.d.ts} +4 -4
- package/dist/components/rtk-chat-selector.js +6 -0
- package/dist/components/rtk-chat-toggle.js +12 -8
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +7 -7
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +5 -5
- 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 +7 -7
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +26 -26
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +5 -5
- package/dist/components/rtk-file-dropzone.js +5 -5
- 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 +7 -7
- package/dist/components/rtk-grid.js +12 -12
- package/dist/components/rtk-header.js +5 -5
- package/dist/components/rtk-icon.js +1 -1
- package/dist/components/rtk-idle-screen.js +7 -7
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +6 -6
- package/dist/components/rtk-information-tooltip.js +5 -5
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +7 -7
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +6 -6
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +4 -4
- package/dist/components/rtk-meeting.js +59 -47
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +8 -8
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +7 -7
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +10 -10
- package/dist/components/rtk-more-toggle.js +8 -8
- package/dist/components/rtk-mute-all-button.js +7 -7
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +4 -4
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +8 -8
- 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 +4 -4
- package/dist/components/rtk-participant-setup.js +5 -5
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +7 -7
- 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 +7 -7
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +17 -17
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pinned-message-selector.d.ts +11 -0
- package/dist/components/rtk-pinned-message-selector.js +6 -0
- package/dist/components/rtk-pip-toggle.js +6 -6
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +7 -7
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +7 -7
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +5 -5
- package/dist/components/rtk-recording-toggle.js +6 -6
- package/dist/components/rtk-screen-share-toggle.js +7 -7
- package/dist/components/rtk-screenshare-view.js +11 -11
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +7 -7
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +13 -13
- package/dist/components/rtk-setup-screen.js +11 -11
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +13 -13
- package/dist/components/rtk-simple-grid.js +4 -4
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +6 -6
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +7 -7
- package/dist/components/rtk-stage.js +4 -4
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +4 -4
- package/dist/components/rtk-ui-provider.js +3 -3
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +5 -5
- package/dist/docs/docs-components.json +10739 -18036
- package/dist/docs/docs-vscode.json +46 -108
- package/dist/esm/{ChatHead-15c2f8d4.js → ChatHead-148558a8.js} +1 -1
- package/dist/esm/{TextMessage-0d8be8c5.js → TextMessage-cdf76ced.js} +2 -2
- package/dist/esm/{chat-b2bea75f.js → chat-12f27725.js} +2 -13
- package/dist/esm/{config-325caca3.js → config-74c02ff0.js} +2 -2
- package/dist/esm/{debounce-3139f9e3.js → debounce-0c6e63e9.js} +1 -1
- package/dist/esm/{index-d31a2e33.js → index-3f51790f.js} +1 -1
- package/dist/esm/index-55463a54.js +4365 -0
- package/dist/esm/{index-6eb882e7.js → index-e677f28b.js} +2 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/loader.js +6360 -3546
- package/dist/esm/{merge-bc2a0775.js → merge-df16b7d2.js} +1 -1
- package/dist/esm/{notification-4beb1e0d.js → notification-dd8b1d52.js} +1 -1
- package/dist/esm/realtimekit-ui.js +31 -4
- package/dist/esm/rtk-ai-toggle.entry.js +3 -3
- package/dist/esm/rtk-ai-transcriptions.entry.js +5 -5
- package/dist/esm/rtk-ai.entry.js +3 -3
- package/dist/esm/rtk-audio-grid.entry.js +5 -5
- package/dist/esm/rtk-audio-tile.entry.js +3 -3
- package/dist/esm/rtk-audio-visualizer_4.entry.js +4 -4
- package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_26.entry.js} +536 -555
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +8 -8
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +13 -13
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
- package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
- package/dist/esm/rtk-camera-toggle.entry.js +3 -3
- package/dist/esm/rtk-caption-toggle.entry.js +3 -3
- package/dist/esm/rtk-chat-composer-ui.entry.js +11 -25
- package/dist/esm/rtk-chat-message.entry.js +6 -6
- package/dist/esm/rtk-chat-messages-ui.entry.js +13 -7
- package/dist/esm/rtk-chat-search-results.entry.js +4 -4
- package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
- package/dist/esm/rtk-chat-toggle.entry.js +9 -5
- package/dist/esm/rtk-clock.entry.js +6 -6
- package/dist/esm/rtk-controlbar-button.entry.js +3 -3
- package/dist/esm/rtk-controlbar.entry.js +5 -5
- package/dist/esm/rtk-debugger-audio_4.entry.js +3 -3
- package/dist/esm/rtk-debugger-toggle.entry.js +4 -4
- package/dist/esm/rtk-dialog-manager.entry.js +4 -4
- package/dist/esm/rtk-dialog.entry.js +4 -4
- package/dist/esm/rtk-ended-screen.entry.js +3 -3
- package/dist/esm/rtk-file-dropzone.entry.js +4 -4
- package/dist/esm/rtk-file-message_3.entry.js +14 -14
- package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
- package/dist/esm/rtk-grid-pagination.entry.js +4 -4
- package/dist/esm/rtk-grid.entry.js +4 -4
- package/dist/esm/rtk-header.entry.js +5 -5
- package/dist/esm/rtk-idle-screen.entry.js +4 -4
- package/dist/esm/rtk-image-viewer.entry.js +4 -4
- package/dist/esm/rtk-information-tooltip.entry.js +4 -4
- package/dist/esm/rtk-leave-button.entry.js +4 -4
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2477 -1450
- package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
- package/dist/esm/rtk-logo.entry.js +3 -3
- package/dist/esm/rtk-meeting-title.entry.js +3 -3
- package/dist/esm/rtk-message-list-view.entry.js +7 -7
- package/dist/esm/rtk-mic-toggle.entry.js +3 -3
- package/dist/esm/rtk-mixed-grid.entry.js +4 -4
- package/dist/esm/rtk-more-toggle.entry.js +5 -5
- package/dist/esm/rtk-mute-all-button.entry.js +3 -3
- package/dist/esm/rtk-name-tag.entry.js +4 -4
- package/dist/esm/rtk-network-indicator.entry.js +3 -3
- package/dist/esm/rtk-notification.entry.js +7 -7
- package/dist/esm/rtk-notifications.entry.js +5 -5
- package/dist/esm/rtk-participant-count.entry.js +3 -3
- package/dist/esm/rtk-participant-setup.entry.js +5 -5
- package/dist/esm/rtk-participant_2.entry.js +19 -19
- package/dist/esm/rtk-participants-audio.entry.js +4 -4
- package/dist/esm/rtk-participants-stage-list_4.entry.js +5 -5
- package/dist/esm/rtk-participants-toggle.entry.js +4 -4
- package/dist/esm/rtk-participants.entry.js +4 -4
- package/dist/esm/rtk-pip-toggle.entry.js +3 -3
- package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
- package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
- package/dist/esm/rtk-plugins_2.entry.js +7 -7
- package/dist/esm/rtk-poll_2.entry.js +6 -6
- package/dist/esm/rtk-polls-toggle.entry.js +4 -4
- package/dist/esm/rtk-recording-indicator.entry.js +4 -4
- package/dist/esm/rtk-recording-toggle.entry.js +3 -3
- package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
- package/dist/esm/rtk-screenshare-view.entry.js +8 -8
- package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
- package/dist/esm/rtk-settings-toggle.entry.js +4 -4
- package/dist/esm/rtk-settings.entry.js +3 -3
- package/dist/esm/rtk-setup-screen.entry.js +5 -5
- package/dist/esm/rtk-sidebar-ui.entry.js +3 -3
- package/dist/esm/rtk-sidebar.entry.js +5 -5
- package/dist/esm/rtk-simple-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-grid.entry.js +6 -6
- package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
- package/dist/esm/rtk-stage-toggle.entry.js +3 -3
- package/dist/esm/rtk-stage.entry.js +4 -4
- package/dist/esm/rtk-transcript.entry.js +4 -4
- package/dist/esm/rtk-transcripts.entry.js +3 -3
- package/dist/esm/rtk-ui-provider.entry.js +3 -3
- package/dist/esm/rtk-waiting-screen.entry.js +4 -4
- package/dist/esm/{sidebar-376c9917.js → sidebar-293fd302.js} +1 -1
- package/dist/esm/{ui-store-12132d9c.js → ui-store-644e4cb0.js} +114 -35
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-01ef7b4d.entry.js +1 -0
- package/dist/realtimekit-ui/p-06dcd55e.entry.js +1 -0
- package/dist/realtimekit-ui/p-0c3f571f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-30dcb4cc.entry.js → p-0cfee5d3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-10d4354c.entry.js +1 -0
- package/dist/realtimekit-ui/p-14dc10b8.entry.js +1 -0
- package/dist/realtimekit-ui/p-1517b428.entry.js +1 -0
- package/dist/realtimekit-ui/{p-6914a616.entry.js → p-15297e89.entry.js} +1 -1
- package/dist/realtimekit-ui/p-1e16ecb3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-af58f450.entry.js → p-1feec027.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-00445029.entry.js → p-2251059d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-25f3e66a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-e0c73820.entry.js → p-26b4e422.entry.js} +1 -1
- package/dist/realtimekit-ui/p-29549a05.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a852e0cf.entry.js → p-29d3f735.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-532e1a53.entry.js → p-2b47921e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2f93d90b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-afa7211c.js → p-2ff77d78.js} +1 -1
- package/dist/realtimekit-ui/{p-c5f704a3.entry.js → p-309b8a96.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fcb7a6e2.entry.js → p-30a3007c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9b550ec4.js → p-315cd380.js} +1 -1
- package/dist/realtimekit-ui/{p-a67e2a25.entry.js → p-36f7accb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-05d1b9d5.entry.js → p-3ec85ff3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-14569a57.entry.js → p-40ab8b0f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-be5bdd0a.entry.js → p-43fa4d95.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-426bf45e.entry.js → p-4814e742.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-616dc312.entry.js → p-4a5e203d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a7172c2d.entry.js → p-4e604bf1.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4ec77793.js +1 -0
- package/dist/realtimekit-ui/{p-e78ba202.entry.js → p-50aaac81.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-323d1aa4.entry.js → p-5a425dac.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1834416c.entry.js → p-5ef7cf76.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-85b3c0c4.entry.js → p-60b3fbb2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c8773db0.entry.js → p-6573487e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-67c674d4.entry.js +1 -0
- package/dist/realtimekit-ui/p-6acdcb4f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-cb54bd67.entry.js → p-6c2ef845.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0baa78d7.entry.js → p-6f913b9b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-71393f37.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a7e0277f.js → p-77e5605f.js} +1 -1
- package/dist/realtimekit-ui/{p-f6c82f1b.entry.js → p-8329d4ae.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8778b3e6.entry.js → p-84476389.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-342b4926.entry.js → p-879459bb.entry.js} +1 -1
- package/dist/realtimekit-ui/p-8cc26ae0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-2441260e.entry.js → p-8e867ba8.entry.js} +1 -1
- package/dist/realtimekit-ui/p-8fc79c56.js +1 -0
- package/dist/realtimekit-ui/p-9599b2e4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-7d01d588.entry.js → p-975cbc2e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9ff0dfdb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f32aecbc.entry.js → p-a43a7ffb.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a599f720.js +2 -0
- package/dist/realtimekit-ui/p-abbee273.entry.js +1 -0
- package/dist/realtimekit-ui/p-ad11a64a.entry.js +1 -0
- package/dist/realtimekit-ui/p-aee32120.entry.js +1 -0
- package/dist/realtimekit-ui/{p-515a17ce.entry.js → p-b0eaeddc.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b5e5e206.js +1 -0
- package/dist/realtimekit-ui/p-bb907330.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5b00a8fa.entry.js → p-bbaf3e7d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a1408db4.entry.js → p-be0cae77.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-11a469d9.js → p-be0d2b90.js} +1 -1
- package/dist/realtimekit-ui/{p-94a37c73.entry.js → p-bea3ee08.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ebfde234.entry.js → p-c0e5ddd4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1fe6003b.entry.js → p-c794adf9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c7ddf9a9.entry.js +1 -0
- package/dist/realtimekit-ui/{p-44d69c6b.entry.js → p-c8239122.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c8f0b23e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-573187b4.entry.js → p-cbbb09a2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-80e51a73.entry.js → p-cbfe61b9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cc226b51.entry.js → p-cc71c33f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ad5e9fdb.entry.js → p-cd086077.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6896e819.entry.js → p-cedff249.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d107248e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a40cc665.entry.js → p-d10fe6c7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d1256212.entry.js +1 -0
- package/dist/realtimekit-ui/p-d24dd330.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4b33b435.entry.js → p-d3d4e6de.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d432c842.entry.js +1 -0
- package/dist/realtimekit-ui/p-d6126ff7.js +1 -0
- package/dist/realtimekit-ui/p-d8e64814.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d3e520e5.js → p-ddcb6b8b.js} +1 -1
- package/dist/realtimekit-ui/{p-4485414e.entry.js → p-de253745.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-369648b9.entry.js → p-de2fd3a4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3dd04263.entry.js → p-e6fc5935.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c8eaa707.js → p-eccb6d78.js} +1 -1
- package/dist/realtimekit-ui/p-f1c4d507.entry.js +1 -0
- package/dist/realtimekit-ui/{p-fa86682c.entry.js → p-f42001bb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a0d39ea3.entry.js → p-f423e125.entry.js} +1 -1
- package/dist/realtimekit-ui/p-f46787e0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f266302c.entry.js → p-f4e8a0b3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cd0c5440.js → p-f6fdb3c3.js} +1 -1
- package/dist/realtimekit-ui/p-f8089097.entry.js +1 -0
- package/dist/realtimekit-ui/p-fc0eb2e6.entry.js +1 -0
- package/dist/realtimekit-ui/p-ff86148c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-cd56beb7.entry.js → p-ffac36ba.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +5 -43
- package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +1 -4
- package/dist/types/components/rtk-chat-header/rtk-chat-header.d.ts +7 -0
- package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +6 -15
- package/dist/types/components/rtk-chat-selector/rtk-chat-selector.d.ts +52 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +4 -2
- package/dist/types/components/rtk-pinned-message-selector/rtk-pinned-message-selector.d.ts +40 -0
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +0 -2
- package/dist/types/components.d.ts +186 -498
- package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
- package/dist/types/lib/lang/default-language.d.ts +1 -4
- package/dist/types/lib/overrides.d.ts +5 -0
- package/dist/types/types/props.d.ts +0 -4
- package/dist/types/utils/chat.d.ts +1 -3
- package/dist/types/utils/flags.d.ts +0 -2
- package/package.json +1 -1
- package/dist/cjs/index-05554ce6.js +0 -2251
- package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
- package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
- package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
- package/dist/components/p-210862ae.js +0 -736
- package/dist/components/p-33e73313.js +0 -85
- package/dist/components/p-c3592601.js +0 -1641
- package/dist/components/p-c78c26b1.js +0 -203
- package/dist/components/rtk-channel-creator.js +0 -214
- package/dist/components/rtk-channel-details.d.ts +0 -11
- package/dist/components/rtk-channel-details.js +0 -6
- package/dist/components/rtk-channel-header.js +0 -151
- package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
- package/dist/components/rtk-channel-selector-ui.js +0 -194
- package/dist/components/rtk-channel-selector-view.d.ts +0 -11
- package/dist/components/rtk-channel-selector-view.js +0 -6
- package/dist/esm/index-c1fb98bb.js +0 -2218
- package/dist/esm/rtk-channel-creator.entry.js +0 -159
- package/dist/esm/rtk-channel-details.entry.js +0 -45
- package/dist/esm/rtk-channel-header.entry.js +0 -79
- package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
- package/dist/realtimekit-ui/p-0ee570cd.js +0 -2
- package/dist/realtimekit-ui/p-1462cbd9.entry.js +0 -1
- package/dist/realtimekit-ui/p-1669c53d.entry.js +0 -1
- package/dist/realtimekit-ui/p-21d4bb9c.entry.js +0 -1
- package/dist/realtimekit-ui/p-25c4d10f.js +0 -1
- package/dist/realtimekit-ui/p-2b054928.entry.js +0 -1
- package/dist/realtimekit-ui/p-322957ed.entry.js +0 -1
- package/dist/realtimekit-ui/p-3f4120cc.entry.js +0 -1
- package/dist/realtimekit-ui/p-43530cd3.entry.js +0 -1
- package/dist/realtimekit-ui/p-44531a97.entry.js +0 -1
- package/dist/realtimekit-ui/p-45f90b95.js +0 -1
- package/dist/realtimekit-ui/p-48c87789.entry.js +0 -1
- package/dist/realtimekit-ui/p-4b638184.entry.js +0 -1
- package/dist/realtimekit-ui/p-53680d55.entry.js +0 -1
- package/dist/realtimekit-ui/p-54a88fdf.entry.js +0 -1
- package/dist/realtimekit-ui/p-5892c1e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-5b2d97fc.js +0 -1
- package/dist/realtimekit-ui/p-612a8d25.entry.js +0 -1
- package/dist/realtimekit-ui/p-639601b7.entry.js +0 -1
- package/dist/realtimekit-ui/p-64206b62.entry.js +0 -1
- package/dist/realtimekit-ui/p-67ead213.entry.js +0 -1
- package/dist/realtimekit-ui/p-685adc5f.entry.js +0 -1
- package/dist/realtimekit-ui/p-701cdf1b.entry.js +0 -1
- package/dist/realtimekit-ui/p-7108d1cd.entry.js +0 -1
- package/dist/realtimekit-ui/p-75f53ae6.entry.js +0 -1
- package/dist/realtimekit-ui/p-7a9a226e.entry.js +0 -1
- package/dist/realtimekit-ui/p-820dad23.entry.js +0 -1
- package/dist/realtimekit-ui/p-85b45c3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-95fb25d6.entry.js +0 -1
- package/dist/realtimekit-ui/p-a5900df2.js +0 -1
- package/dist/realtimekit-ui/p-a680da64.entry.js +0 -1
- package/dist/realtimekit-ui/p-a9190330.entry.js +0 -1
- package/dist/realtimekit-ui/p-ac6c8ebe.entry.js +0 -1
- package/dist/realtimekit-ui/p-b25f7d7b.entry.js +0 -1
- package/dist/realtimekit-ui/p-b51e813e.entry.js +0 -1
- package/dist/realtimekit-ui/p-be03944b.entry.js +0 -1
- package/dist/realtimekit-ui/p-bf717b8c.entry.js +0 -1
- package/dist/realtimekit-ui/p-cda276d6.entry.js +0 -1
- package/dist/realtimekit-ui/p-d880fb69.entry.js +0 -1
- package/dist/realtimekit-ui/p-e5b426fa.entry.js +0 -1
- package/dist/realtimekit-ui/p-ec5ed8a4.entry.js +0 -1
- package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
- package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
- package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
- package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
- package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as StencilCore } from './index-55463a54.js';
|
|
2
2
|
|
|
3
3
|
const FlagsmithFeatureFlags = {
|
|
4
4
|
PLAY_PARTICIPANT_TILE_VIDEO_ON_PAUSE: 'play_participant_tile_video_on_pause',
|
|
5
5
|
FEAT_PAGINATED_CHAT: 'feat_paginated_chat',
|
|
6
6
|
LOG_PLAYING_FAILURES: 'log_playing_failures',
|
|
7
|
-
FEAT_CHANNEL_CHAT: 'feat_channel_chat',
|
|
8
7
|
DISABLE_KICKING: 'disable_kicking',
|
|
9
8
|
ADMIN_CANTREMOVE_ADMIN: 'admin_cantremove_admin',
|
|
10
9
|
CANTINVITE_VIEWER: 'cantinvite_viewer',
|
|
11
|
-
PINNED_MESSAGES: 'pinned_msgs',
|
|
12
10
|
};
|
|
13
11
|
const isBreakoutRoomsEnabled = (meeting) => meeting.connectedMeetings.supportsConnectedMeetings;
|
|
14
12
|
const disableSettingSinkId = (meeting) => {
|
|
@@ -3093,12 +3091,13 @@ function getLivestreamViewerAllowedQualityLevels({ meeting, hlsLevels, }) {
|
|
|
3093
3091
|
}
|
|
3094
3092
|
|
|
3095
3093
|
const appendToMap = (map, propName, value) => {
|
|
3096
|
-
|
|
3097
|
-
if (!
|
|
3098
|
-
|
|
3094
|
+
let refs = map.get(propName);
|
|
3095
|
+
if (!refs) {
|
|
3096
|
+
refs = [];
|
|
3097
|
+
map.set(propName, refs);
|
|
3099
3098
|
}
|
|
3100
|
-
|
|
3101
|
-
|
|
3099
|
+
if (!refs.some((ref) => ref.deref() === value)) {
|
|
3100
|
+
refs.push(new WeakRef(value));
|
|
3102
3101
|
}
|
|
3103
3102
|
};
|
|
3104
3103
|
const debounce = (fn, ms) => {
|
|
@@ -3126,33 +3125,54 @@ const debounce = (fn, ms) => {
|
|
|
3126
3125
|
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
3127
3126
|
const cleanupElements = debounce((map) => {
|
|
3128
3127
|
for (let key of map.keys()) {
|
|
3129
|
-
|
|
3128
|
+
const refs = map.get(key).filter((ref) => {
|
|
3129
|
+
const elm = ref.deref();
|
|
3130
|
+
return elm && isConnected(elm);
|
|
3131
|
+
});
|
|
3132
|
+
map.set(key, refs);
|
|
3130
3133
|
}
|
|
3131
3134
|
}, 2_000);
|
|
3135
|
+
const core = StencilCore;
|
|
3136
|
+
const forceUpdate = core.forceUpdate;
|
|
3137
|
+
const getRenderingRef = core.getRenderingRef;
|
|
3132
3138
|
const stencilSubscription = () => {
|
|
3133
|
-
if (typeof getRenderingRef !== 'function') {
|
|
3139
|
+
if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
|
|
3134
3140
|
// If we are not in a stencil project, we do nothing.
|
|
3135
3141
|
// This function is not really exported by @stencil/core.
|
|
3136
3142
|
return {};
|
|
3137
3143
|
}
|
|
3144
|
+
const ensureForceUpdate = forceUpdate;
|
|
3145
|
+
const ensureGetRenderingRef = getRenderingRef;
|
|
3138
3146
|
const elmsToUpdate = new Map();
|
|
3139
3147
|
return {
|
|
3140
3148
|
dispose: () => elmsToUpdate.clear(),
|
|
3141
3149
|
get: (propName) => {
|
|
3142
|
-
const elm =
|
|
3150
|
+
const elm = ensureGetRenderingRef();
|
|
3143
3151
|
if (elm) {
|
|
3144
3152
|
appendToMap(elmsToUpdate, propName, elm);
|
|
3145
3153
|
}
|
|
3146
3154
|
},
|
|
3147
3155
|
set: (propName) => {
|
|
3148
|
-
const
|
|
3149
|
-
if (
|
|
3150
|
-
|
|
3156
|
+
const refs = elmsToUpdate.get(propName);
|
|
3157
|
+
if (refs) {
|
|
3158
|
+
const nextRefs = refs.filter((ref) => {
|
|
3159
|
+
const elm = ref.deref();
|
|
3160
|
+
if (!elm)
|
|
3161
|
+
return false;
|
|
3162
|
+
return ensureForceUpdate(elm);
|
|
3163
|
+
});
|
|
3164
|
+
elmsToUpdate.set(propName, nextRefs);
|
|
3151
3165
|
}
|
|
3152
3166
|
cleanupElements(elmsToUpdate);
|
|
3153
3167
|
},
|
|
3154
3168
|
reset: () => {
|
|
3155
|
-
elmsToUpdate.forEach((
|
|
3169
|
+
elmsToUpdate.forEach((refs) => {
|
|
3170
|
+
refs.forEach((ref) => {
|
|
3171
|
+
const elm = ref.deref();
|
|
3172
|
+
if (elm)
|
|
3173
|
+
ensureForceUpdate(elm);
|
|
3174
|
+
});
|
|
3175
|
+
});
|
|
3156
3176
|
cleanupElements(elmsToUpdate);
|
|
3157
3177
|
},
|
|
3158
3178
|
};
|
|
@@ -3160,18 +3180,26 @@ const stencilSubscription = () => {
|
|
|
3160
3180
|
|
|
3161
3181
|
const unwrap = (val) => (typeof val === 'function' ? val() : val);
|
|
3162
3182
|
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
3163
|
-
const
|
|
3164
|
-
|
|
3183
|
+
const resolveDefaultState = () => (unwrap(defaultState) ?? {});
|
|
3184
|
+
const initialState = resolveDefaultState();
|
|
3185
|
+
let states = new Map(Object.entries(initialState));
|
|
3186
|
+
const proxyAvailable = typeof Proxy !== 'undefined';
|
|
3187
|
+
const plainState = proxyAvailable ? null : {};
|
|
3165
3188
|
const handlers = {
|
|
3166
3189
|
dispose: [],
|
|
3167
3190
|
get: [],
|
|
3168
3191
|
set: [],
|
|
3169
3192
|
reset: [],
|
|
3170
3193
|
};
|
|
3194
|
+
// Track onChange listeners to enable removeListener functionality
|
|
3195
|
+
const changeListeners = new Map();
|
|
3171
3196
|
const reset = () => {
|
|
3172
3197
|
// When resetting the state, the default state may be a function - unwrap it to invoke it.
|
|
3173
3198
|
// otherwise, the state won't be properly reset
|
|
3174
|
-
states = new Map(Object.entries(
|
|
3199
|
+
states = new Map(Object.entries(resolveDefaultState()));
|
|
3200
|
+
if (!proxyAvailable) {
|
|
3201
|
+
syncPlainStateKeys();
|
|
3202
|
+
}
|
|
3175
3203
|
handlers.reset.forEach((cb) => cb());
|
|
3176
3204
|
};
|
|
3177
3205
|
const dispose = () => {
|
|
@@ -3188,12 +3216,14 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
|
|
|
3188
3216
|
const oldValue = states.get(propName);
|
|
3189
3217
|
if (shouldUpdate(value, oldValue, propName)) {
|
|
3190
3218
|
states.set(propName, value);
|
|
3219
|
+
if (!proxyAvailable) {
|
|
3220
|
+
ensurePlainProperty(propName);
|
|
3221
|
+
}
|
|
3191
3222
|
handlers.set.forEach((cb) => cb(propName, value, oldValue));
|
|
3192
3223
|
}
|
|
3193
3224
|
};
|
|
3194
|
-
const state = (
|
|
3195
|
-
? {
|
|
3196
|
-
: new Proxy(unwrappedState, {
|
|
3225
|
+
const state = (proxyAvailable
|
|
3226
|
+
? new Proxy(initialState, {
|
|
3197
3227
|
get(_, propName) {
|
|
3198
3228
|
return get(propName);
|
|
3199
3229
|
},
|
|
@@ -3213,7 +3243,11 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
|
|
|
3213
3243
|
set(propName, value);
|
|
3214
3244
|
return true;
|
|
3215
3245
|
},
|
|
3216
|
-
})
|
|
3246
|
+
})
|
|
3247
|
+
: (() => {
|
|
3248
|
+
syncPlainStateKeys();
|
|
3249
|
+
return plainState;
|
|
3250
|
+
})());
|
|
3217
3251
|
const on = (eventName, callback) => {
|
|
3218
3252
|
handlers[eventName].push(callback);
|
|
3219
3253
|
return () => {
|
|
@@ -3221,17 +3255,24 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
|
|
|
3221
3255
|
};
|
|
3222
3256
|
};
|
|
3223
3257
|
const onChange = (propName, cb) => {
|
|
3224
|
-
const
|
|
3258
|
+
const setHandler = (key, newValue) => {
|
|
3225
3259
|
if (key === propName) {
|
|
3226
3260
|
cb(newValue);
|
|
3227
3261
|
}
|
|
3228
|
-
}
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3262
|
+
};
|
|
3263
|
+
const resetHandler = () => {
|
|
3264
|
+
const snapshot = resolveDefaultState();
|
|
3265
|
+
cb(snapshot[propName]);
|
|
3266
|
+
};
|
|
3267
|
+
// Register the handlers
|
|
3268
|
+
const unSet = on('set', setHandler);
|
|
3269
|
+
const unReset = on('reset', resetHandler);
|
|
3270
|
+
// Track the relationship between the user callback and internal handlers
|
|
3271
|
+
changeListeners.set(cb, { setHandler, resetHandler, propName });
|
|
3232
3272
|
return () => {
|
|
3233
3273
|
unSet();
|
|
3234
3274
|
unReset();
|
|
3275
|
+
changeListeners.delete(cb);
|
|
3235
3276
|
};
|
|
3236
3277
|
};
|
|
3237
3278
|
const use = (...subscriptions) => {
|
|
@@ -3256,6 +3297,47 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
|
|
|
3256
3297
|
const oldValue = states.get(key);
|
|
3257
3298
|
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
3258
3299
|
};
|
|
3300
|
+
const removeListener = (propName, listener) => {
|
|
3301
|
+
const listenerInfo = changeListeners.get(listener);
|
|
3302
|
+
if (listenerInfo && listenerInfo.propName === propName) {
|
|
3303
|
+
// Remove the specific handlers that were created for this listener
|
|
3304
|
+
removeFromArray(handlers.set, listenerInfo.setHandler);
|
|
3305
|
+
removeFromArray(handlers.reset, listenerInfo.resetHandler);
|
|
3306
|
+
changeListeners.delete(listener);
|
|
3307
|
+
}
|
|
3308
|
+
};
|
|
3309
|
+
function ensurePlainProperty(key) {
|
|
3310
|
+
if (proxyAvailable || !plainState) {
|
|
3311
|
+
return;
|
|
3312
|
+
}
|
|
3313
|
+
if (Object.prototype.hasOwnProperty.call(plainState, key)) {
|
|
3314
|
+
return;
|
|
3315
|
+
}
|
|
3316
|
+
Object.defineProperty(plainState, key, {
|
|
3317
|
+
configurable: true,
|
|
3318
|
+
enumerable: true,
|
|
3319
|
+
get() {
|
|
3320
|
+
return get(key);
|
|
3321
|
+
},
|
|
3322
|
+
set(value) {
|
|
3323
|
+
set(key, value);
|
|
3324
|
+
},
|
|
3325
|
+
});
|
|
3326
|
+
}
|
|
3327
|
+
function syncPlainStateKeys() {
|
|
3328
|
+
if (proxyAvailable || !plainState) {
|
|
3329
|
+
return;
|
|
3330
|
+
}
|
|
3331
|
+
const knownKeys = new Set(states.keys());
|
|
3332
|
+
for (const key of Object.keys(plainState)) {
|
|
3333
|
+
if (!knownKeys.has(key)) {
|
|
3334
|
+
delete plainState[key];
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
for (const key of knownKeys) {
|
|
3338
|
+
ensurePlainProperty(key);
|
|
3339
|
+
}
|
|
3340
|
+
}
|
|
3259
3341
|
return {
|
|
3260
3342
|
state,
|
|
3261
3343
|
get,
|
|
@@ -3266,6 +3348,7 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
|
|
|
3266
3348
|
dispose,
|
|
3267
3349
|
reset,
|
|
3268
3350
|
forceUpdate,
|
|
3351
|
+
removeListener,
|
|
3269
3352
|
};
|
|
3270
3353
|
};
|
|
3271
3354
|
const removeFromArray = (array, item) => {
|
|
@@ -3592,8 +3675,6 @@ const defaultLanguage = {
|
|
|
3592
3675
|
'chat.new': 'New',
|
|
3593
3676
|
'chat.max_limit_warning': 'Max Character Limit',
|
|
3594
3677
|
'chat.rate_limit_error': 'Please wait before you can send another message',
|
|
3595
|
-
'chat.new_channel': 'Create new channel',
|
|
3596
|
-
'chat.channel_name': 'Enter channel name',
|
|
3597
3678
|
'chat.member_name': 'Enter member name',
|
|
3598
3679
|
'chat.add_members': 'Add members',
|
|
3599
3680
|
'chat.delete_msg': 'Delete',
|
|
@@ -3604,7 +3685,6 @@ const defaultLanguage = {
|
|
|
3604
3685
|
'chat.send_file': 'Send a file',
|
|
3605
3686
|
'chat.send_emoji': 'Send an emoji',
|
|
3606
3687
|
'chat.update_msg': 'Update message',
|
|
3607
|
-
'chat.channel_members': 'Channel Members',
|
|
3608
3688
|
'chat.img.loading': 'Loading image',
|
|
3609
3689
|
'chat.error.img_not_found': 'Image not found',
|
|
3610
3690
|
'chat.error.empty_results': "Couldn't find a member with the specified name.",
|
|
@@ -3616,10 +3696,10 @@ const defaultLanguage = {
|
|
|
3616
3696
|
'chat.search_conversations': 'Search conversations',
|
|
3617
3697
|
'chat.start_conversation': 'Start a conversation..',
|
|
3618
3698
|
'chat.empty_search': 'No messages found',
|
|
3619
|
-
'chat.
|
|
3699
|
+
'chat.empty_chat': 'Send a message to get started',
|
|
3620
3700
|
'chat.cancel_upload': 'Cancel upload',
|
|
3621
3701
|
'chat.view_chats': 'View chats',
|
|
3622
|
-
'chat.everyone': '
|
|
3702
|
+
'chat.everyone': 'Everyone',
|
|
3623
3703
|
'chat.pinned_msgs': 'Pinned messages',
|
|
3624
3704
|
'chat.toggle_pinned_msgs': 'Toggle pinned messages',
|
|
3625
3705
|
'date.today': 'Today',
|
|
@@ -3790,8 +3870,6 @@ const defaultIconPack = {
|
|
|
3790
3870
|
horizontal_dots: '<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM18 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill="currentColor"/></svg>',
|
|
3791
3871
|
ai_sparkle: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 49 48" fill="none"><path fill="#F13E1B" d="m30.023 15.96.07.016a1.362 1.362 0 0 1 .657 2.068c-.163.23-.392.403-.658.497l-3.444 1.118a7.095 7.095 0 0 0-4.495 4.492l-1.12 3.442a1.357 1.357 0 0 1-1.267.907h-.016a1.361 1.361 0 0 1-1.283-.907l-1.12-3.442a7.091 7.091 0 0 0-4.495-4.509l-3.444-1.119a1.36 1.36 0 0 1 0-2.564l3.444-1.118a7.097 7.097 0 0 0 4.427-4.492l1.119-3.442a1.36 1.36 0 0 1 2.566 0l1.12 3.442a7.09 7.09 0 0 0 4.495 4.492l3.444 1.118Zm9.195 16.007-2.755-.894a5.678 5.678 0 0 1-3.596-3.594l-.896-2.753a1.087 1.087 0 0 0-2.053 0l-.895 2.753a5.672 5.672 0 0 1-3.541 3.594l-2.756.894a1.088 1.088 0 0 0 0 2.052l2.756.895a5.675 5.675 0 0 1 3.596 3.607l.896 2.753a1.088 1.088 0 0 0 2.052 0l.896-2.753a5.672 5.672 0 0 1 3.596-3.594l2.756-.894a1.088 1.088 0 0 0 0-2.052l-.056-.014Z"/><path fill="#2160FD" d="m39.218 31.967-2.755-.894a5.677 5.677 0 0 1-3.596-3.594l-.896-2.753a1.087 1.087 0 0 0-2.053 0l-.895 2.753a5.672 5.672 0 0 1-3.541 3.594l-2.756.894a1.088 1.088 0 0 0 0 2.052l2.756.895a5.675 5.675 0 0 1 3.596 3.607l.896 2.753a1.088 1.088 0 0 0 2.052 0l.896-2.753a5.672 5.672 0 0 1 3.596-3.594l2.756-.894a1.088 1.088 0 0 0 0-2.052l-.056-.014Z"/></svg>',
|
|
3792
3872
|
meeting_ai: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" fill="none"><path fill="#F13E1B" d="M9.111 12.888a4.98 4.98 0 0 0-1.075-.8l-.04.048a4.651 4.651 0 0 0-.903-.424l-2.446-.8a.963.963 0 0 1-.467-.356.953.953 0 0 1 0-1.116.955.955 0 0 1 .467-.352l2.446-.8A5.088 5.088 0 0 0 9.04 7.06a5.048 5.048 0 0 0 1.2-1.904l.02-.064.799-2.444A.97.97 0 0 1 11.969 2a.97.97 0 0 1 .91.648l.8 2.444a5.147 5.147 0 0 0 1.219 1.976 5.042 5.042 0 0 0 1.974 1.2l2.45.8h.048c.188.067.351.19.468.352.115.164.176.36.175.56.001.2-.06.396-.175.56a1 1 0 0 1-.468.352l-2.446.8a5.067 5.067 0 0 0-1.978 1.2 5.096 5.096 0 0 0-1.199 1.976l-.8 2.448-.023.06a1.02 1.02 0 0 1-.184.284.967.967 0 0 1-.703.3 1 1 0 0 1-.927-.644l-.8-2.448a5.11 5.11 0 0 0-.799-1.508 5.16 5.16 0 0 0-.4-.472Zm10.434 5.396a.492.492 0 0 1 .176-.236.473.473 0 0 1 .1-.048.466.466 0 0 1 .168-.04c.1 0 .197.031.28.088l.091.072a.456.456 0 0 1 .096.164l.4 1.224c.124.372.332.71.607.988.278.276.616.484.987.608l1.223.4h.028l.084.04a.536.536 0 0 1 .148.136c.056.082.087.18.088.28a.484.484 0 0 1-.32.456l-1.227.4a2.528 2.528 0 0 0-1.595 1.6l-.399 1.224a.46.46 0 0 1-.176.232.464.464 0 0 1-.28.088.475.475 0 0 1-.455-.32l-.4-1.224a2.507 2.507 0 0 0-.611-.992 2.487 2.487 0 0 0-.987-.612l-1.223-.4a.48.48 0 0 1 0-.908l1.223-.4c.367-.128.7-.337.975-.612.137-.142.257-.3.36-.468.1-.162.18-.335.24-.516l.399-1.224Z"/><path fill="currentColor" d="M19.545 18.284a.492.492 0 0 1 .176-.236.469.469 0 0 1 .1-.048.466.466 0 0 1 .168-.04c.1 0 .197.031.28.088l.091.072a.456.456 0 0 1 .096.164l.4 1.224c.124.372.332.71.607.988.279.276.616.484.988.608l1.222.4h.028l.084.04a.534.534 0 0 1 .148.136c.057.082.087.18.088.28a.484.484 0 0 1-.32.456l-1.227.4a2.528 2.528 0 0 0-1.595 1.6l-.399 1.224a.46.46 0 0 1-.175.232.464.464 0 0 1-.28.088.475.475 0 0 1-.456-.32l-.4-1.224a2.509 2.509 0 0 0-.61-.992 2.487 2.487 0 0 0-.988-.612l-1.223-.4a.48.48 0 0 1 0-.908l1.223-.4c.367-.128.7-.337.975-.612a2.7 2.7 0 0 0 .36-.468c.1-.162.18-.335.24-.516l.4-1.224Z"/></svg>',
|
|
3793
|
-
create_channel: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="currentColor" d="M2 14.75A3.25 3.25 0 0 0 5.25 18H6v2.75a1.25 1.25 0 0 0 1.999 1l2.125-1.59.396-1.583c.071-.286.177-.56.312-.82L7.5 20.252 7.499 16.5H5.25a1.75 1.75 0 0 1-1.75-1.75v-8.5c0-.966.784-1.75 1.75-1.75h13.5c.966 0 1.75.784 1.75 1.75v3.845a3.27 3.27 0 0 1 1.5.83V6.25A3.25 3.25 0 0 0 18.75 3H5.25A3.25 3.25 0 0 0 2 6.25v8.5Z"/><path fill="currentColor" d="m18.098 11.67-5.902 5.902a2.684 2.684 0 0 0-.707 1.247l-.458 1.831a1.087 1.087 0 0 0 1.319 1.318l1.83-.457a2.685 2.685 0 0 0 1.248-.707l5.902-5.902a2.285 2.285 0 1 0-3.232-3.232Z"/></svg>',
|
|
3794
|
-
create_channel_illustration: '<svg width="503" height="362" viewBox="0 0 503 362" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M93.3477 192.893C93.3477 190.684 95.1385 188.893 97.3477 188.893H476C478.209 188.893 480 190.684 480 192.893V311.824C480 314.033 478.209 315.824 476 315.824H469.354C467.145 315.824 465.354 317.615 465.354 319.824V339.364C465.354 342.928 461.045 344.712 458.525 342.193L433.328 316.996C432.578 316.245 431.561 315.824 430.5 315.824H97.3477C95.1385 315.824 93.3477 314.033 93.3477 311.824V192.893Z" fill="#282828"/> <path d="M306.606 230.9H136.121C134.648 230.9 133.453 232.095 133.453 233.568C133.453 235.041 134.648 236.236 136.121 236.236H306.606C308.079 236.236 309.274 235.041 309.274 233.568C309.274 232.095 308.079 230.9 306.606 230.9Z" fill="#2160FD"/> <path d="M437.226 249.358H136.121C134.648 249.358 133.453 250.553 133.453 252.026C133.453 253.499 134.648 254.694 136.121 254.694H437.226C438.7 254.694 439.894 253.499 439.894 252.026C439.894 250.553 438.7 249.358 437.226 249.358Z" fill="#5C5C5C"/> <path d="M436.926 267.816H136.121C134.648 267.816 133.453 269.011 133.453 270.484C133.453 271.957 134.648 273.152 136.121 273.152H436.926C438.4 273.152 439.594 271.957 439.594 270.484C439.594 269.011 438.399 267.816 436.926 267.816Z" fill="#5C5C5C"/> <path d="M411.652 23C411.652 20.7909 409.861 19 407.652 19H29C26.7909 19 25 20.7909 25 23V141.931C25 144.14 26.7909 145.931 29 145.931H35.646C37.8551 145.931 39.646 147.722 39.646 149.931V169.472C39.646 173.036 43.9546 174.82 46.4745 172.3L71.6714 147.103C72.4216 146.352 73.439 145.931 74.4999 145.931H407.652C409.861 145.931 411.652 144.14 411.652 141.931V23Z" fill="#282828"/> <path d="M241.188 61.9839H70.703C69.2296 61.9839 68.0352 63.1783 68.0352 64.6517C68.0352 66.1252 69.2296 67.3196 70.703 67.3196H241.188C242.662 67.3196 243.856 66.1252 243.856 64.6517C243.856 63.1783 242.662 61.9839 241.188 61.9839Z" fill="#2160FD"/> <path d="M371.808 80.4419H70.703C69.2296 80.4419 68.0352 81.6363 68.0352 83.1098C68.0352 84.5832 69.2296 85.7776 70.703 85.7776H371.808C373.282 85.7776 374.476 84.5832 374.476 83.1098C374.476 81.6363 373.282 80.4419 371.808 80.4419Z" fill="#5C5C5C"/> <path d="M371.508 98.8999H70.703C69.2296 98.8999 68.0352 100.094 68.0352 101.568C68.0352 103.041 69.2296 104.236 70.703 104.236H371.508C372.982 104.236 374.176 103.041 374.176 101.568C374.176 100.094 372.982 98.8999 371.508 98.8999Z" fill="#5C5C5C"/> </svg>',
|
|
3795
3873
|
captionsOn: '<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 4A3.25 3.25 0 0 1 22 7.25v9.505a3.25 3.25 0 0 1-3.25 3.25H5.25A3.25 3.25 0 0 1 2 16.755V7.25a3.25 3.25 0 0 1 3.066-3.245L5.25 4h13.5Zm0 1.5H5.25l-.144.006A1.75 1.75 0 0 0 3.5 7.25v9.505c0 .966.784 1.75 1.75 1.75h13.5a1.75 1.75 0 0 0 1.75-1.75V7.25a1.75 1.75 0 0 0-1.75-1.75ZM5.5 12c0-3.146 2.713-4.775 5.122-3.401A.75.75 0 0 1 9.878 9.9C8.481 9.104 7 9.994 7 12c0 2.005 1.484 2.896 2.88 2.103a.75.75 0 0 1 .74 1.304C8.216 16.775 5.5 15.143 5.5 12Zm7.5 0c0-3.146 2.713-4.775 5.122-3.401a.75.75 0 0 1-.744 1.302C15.981 9.104 14.5 9.994 14.5 12c0 2.005 1.484 2.896 2.88 2.103a.75.75 0 0 1 .74 1.304C15.716 16.775 13 15.143 13 12Z" fill="currentColor"/></svg>',
|
|
3796
3874
|
captionsOff: '<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.28 2.22a.75.75 0 0 0-1.06 1.06l1.25 1.25A3.247 3.247 0 0 0 2 7.25v9.505a3.25 3.25 0 0 0 3.25 3.25h13.5c.063 0 .126-.002.188-.006l1.781 1.781a.75.75 0 0 0 1.061-1.06L3.28 2.22Zm14.164 16.284H5.25a1.75 1.75 0 0 1-1.75-1.75V7.25c0-.727.443-1.35 1.074-1.615l2.828 2.828C6.292 9.043 5.5 10.3 5.5 12c0 3.143 2.715 4.775 5.12 3.406a.75.75 0 0 0-.74-1.303C8.483 14.896 7 14.005 7 12c0-1.37.69-2.22 1.573-2.366l8.87 8.87Zm2.986-1.256c.045-.157.07-.322.07-.494V7.25a1.75 1.75 0 0 0-1.75-1.75H8.682L7.182 4H18.75A3.25 3.25 0 0 1 22 7.25v9.505c0 .593-.159 1.148-.436 1.627l-1.134-1.134Zm-5.877-5.877-1.197-1.197c.813-1.888 2.882-2.65 4.766-1.575a.75.75 0 0 1-.744 1.302c-1.241-.708-2.549-.085-2.825 1.47Z" fill="currentColor"/></svg>',
|
|
3797
3875
|
play: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8 5v14l11-7z" /></svg>',
|
|
@@ -3845,6 +3923,7 @@ const chatUnreadTimestamps = {};
|
|
|
3845
3923
|
*/
|
|
3846
3924
|
const defaultOverrides = {
|
|
3847
3925
|
disableEmojiPicker: false,
|
|
3926
|
+
disablePrivateChat: false,
|
|
3848
3927
|
};
|
|
3849
3928
|
|
|
3850
3929
|
const getInitialStates = (peerId) => ({
|
|
@@ -3966,4 +4045,4 @@ function removeElement(propName, element, targetStore = uiStore) {
|
|
|
3966
4045
|
}
|
|
3967
4046
|
}
|
|
3968
4047
|
|
|
3969
|
-
export { cloneTypedArray as A, BreakoutRoomsManager as B, isArguments$1 as C, isFunction as D, initCloneObject as E, isLiveStreamHost as F, disableSettingSinkId as G, chatUnreadTimestamps as H,
|
|
4048
|
+
export { cloneTypedArray as A, BreakoutRoomsManager as B, isArguments$1 as C, isFunction as D, initCloneObject as E, isLiveStreamHost as F, disableSettingSinkId as G, chatUnreadTimestamps as H, gracefulStorage$1 as I, appendElement as J, removeElement as K, root$1 as L, canToggleBreakout as M, isLiveStreamViewer as N, showLivestream as O, clone as P, resetRoomCount as Q, participantIdentifier as R, Stack as S, PlayerState as T, getLivestreamViewerAllowedQualityLevels as U, getPreference as V, setPreference as W, getAllConnectedParticipants as X, FlagsmithFeatureFlags as Y, uiState as a, createPeerStore as b, createDefaultConfig as c, defaultConfig as d, defaultIconPack as e, defaultOverrides as f, getInitialStates as g, defaultLanguage as h, useLanguage as i, defineProperty$1 as j, isObject as k, isArrayLike as l, isIndex as m, eq as n, isObjectLike as o, baseGetTag as p, getPrototype$1 as q, baseAssignValue as r, copyObject as s, keysIn as t, uiStore as u, isArray$1 as v, isBuffer$1 as w, isTypedArray$1 as x, copyArray as y, cloneBuffer as z };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as t}from"./p-
|
|
1
|
+
import{c as t}from"./p-8fc79c56.js";export{B as BreakoutRoomsManager,c as createDefaultConfig,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-8fc79c56.js";export{p as provideRtkDesignSystem}from"./p-f6fdb3c3.js";import{g as s}from"./p-ddcb6b8b.js";export{e as extendConfig,g as generateConfig}from"./p-ddcb6b8b.js";export{R as RtkNotificationsAudio}from"./p-2ff77d78.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-b5e5e206.js";import"./p-a599f720.js";const r=(t,e)=>{if("undefined"==typeof document)return!1;const s=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:e}),composed:!0});return document.dispatchEvent(s)};function o(t){return e=>Array.isArray(e)?e[0]===t:e===t}function n(t){return e=>Array.isArray(e)?e[0]!==t:e!==t}function l(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class m{constructor(t,e,s){this.elem=t,this.config=e,this.keyString=s}add(t,e={}){var s;let i=t=l(t);return Object.keys(e).length>0&&(i=[t,e]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(o(t))?this.elem.remove=this.elem.remove.filter(n(t)):("add"in this.elem||(this.elem.add=[]),null===(s=this.elem.add)||void 0===s||s.push(i)),this}remove(t){var e;if(t=l(t),Array.isArray(this.elem)){const e=this.elem.findIndex(o(t));e>-1&&this.elem.splice(e,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(n(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((e=>e===t))?this.elem.add=this.elem.add.filter(n(t)):("remove"in this.elem||(this.elem.remove=[]),null===(e=this.elem.remove)||void 0===e||e.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,e){console.log(this.keyString,t,e)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class v{constructor(e){this.config=e||t()}find(t,e={}){t=l(t);const s=[],i=[];Object.keys(e||{}).forEach((t=>{"boolean"==typeof e[t]?s.push(t):i.push([t,e[t]])})),s.sort();const r=this.config.root;if(void 0===r)return;let o=t,a="";s.length>0&&(a=`.${s.join(".")}`,o=`${t}${a}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),s.forEach((e=>{var s,i;-1===(null===(s=r[t].states)||void 0===s?void 0:s.indexOf(e))&&(null===(i=r[t].states)||void 0===i||i.push(e))}))),i.length>0&&i.forEach((e=>{o=`${t}[${e[0]}=${e[1]}]${a}`,Array.isArray(r[t])&&(r[t]={state:e[0],children:r[t]})}));let n=r[o];return void 0===n&&(r[o]={},n=r[o]),new m(n,this.config,o)}build(){return this.config}}function y(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new v(t)))})),i}export{v as RtkUiBuilder,y as registerAddons,r as sendNotification}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as r,h as i,a}from"./p-a599f720.js";import{c as s,e,i as o}from"./p-8fc79c56.js";import{S as n}from"./p-315cd380.js";import{d as p}from"./p-d6126ff7.js";var c=function(t,r,i,a){var s,e=arguments.length,o=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(e<3?s(o):e>3?s(r,i,o):s(r,i))||o);return e>3&&o&&Object.defineProperty(r,i,o),o};const h=class{constructor(a){t(this,a),this.stateUpdate=r(this,"rtkStateUpdate",7),this.config=s(),this.iconPack=e,this.defaultParticipantsTabId="stage-list",this.t=o(),this.currentParticipantsTabId=this.defaultParticipantsTabId,this.tabs=[],this.hasRequests=!1,this.search="",this.updateParticipantCountsInTabs=p((()=>{var t;let r=(null===(t=this.meeting.participants.waitlisted)||void 0===t?void 0:t.size)||0,a=0,s=0;this.meeting.participants.joined.toArray().forEach((t=>{"ON_STAGE"===t.stageStatus&&a++,"OFF_STAGE"===t.stageStatus&&s++,"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(r++,s++),"ACCEPTED_TO_JOIN_STAGE"===t.stageStatus&&s++})),"ON_STAGE"===this.meeting.self.stageStatus&&a++,"OFF_STAGE"===this.meeting.self.stageStatus&&s++,"REQUESTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&(r++,s++),"ACCEPTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&s++;const e=[];this.shouldShowRequestsTab()&&e.push({id:"requests",name:i("span",null,this.t("requests")," ",i("span",{class:`tab-participant-count-badge ${r>0?"requests-pending":""} ${"requests"===this.currentParticipantsTabId?"selected-tab":""}`},r))}),e.push({id:"stage-list",name:i("span",null,this.t("participants")," ",i("span",{class:"tab-participant-count-badge "+("stage-list"===this.currentParticipantsTabId?"selected-tab":"")},a))}),this.shouldShowViewersTab()&&e.push({id:"viewer-list",name:i("span",null,this.t("viewers")," ",i("span",{class:"tab-participant-count-badge "+("viewer-list"===this.currentParticipantsTabId?"selected-tab":"")},s))}),this.tabs=e,this.hasRequests=r>0})),this.onSearchInput=t=>{this.search=t.target.value},this.shouldShowViewersTab=()=>{var t,r,i;return null===(i=null===(r=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===r?void 0:r.permissions)||void 0===i?void 0:i.stageEnabled},this.shouldShowRequestsTab=()=>{var t;let r=!1;return r="LIVESTREAM"!==this.meeting.meta.viewType&&(null===(t=this.meeting.self.config.waitingRoom)||void 0===t?void 0:t.isEnabled)&&this.meeting.self.permissions.acceptWaitingRequests,this.meeting.self.permissions.stageEnabled&&this.meeting.self.permissions.acceptStageRequests||r},this.viewSection=t=>{this.currentParticipantsTabId=t}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.participants.joined.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantsUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.stage.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("stageStatusUpdate",this.updateParticipantCountsInTabs))}meetingChanged(t){t&&(t.participants.joined.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.joined.on("participantsUpdate",this.updateParticipantCountsInTabs),t.participants.joined.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.joined.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.stage.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("stageStatusUpdate",this.updateParticipantCountsInTabs),this.updateParticipantCountsInTabs())}currentParticipantsTabIdChanged(){this.stateUpdate.emit({participantsTabId:this.currentParticipantsTabId}),this.updateParticipantCountsInTabs()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t};return i(a,null,i("div",{class:"search",part:"search"},i("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),i("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),onInput:this.onSearchInput,part:"search-input"})),i("slot",{name:"start"}),i("div",{class:"ctr scrollbar "+("requests"!==this.currentParticipantsTabId?"virtualised":""),part:"container"},i("rtk-sidebar-ui",{tabs:this.tabs,currentTab:this.currentParticipantsTabId,view:"full-screen",hideHeader:!0,hideCloseAction:!0,style:{position:"relative"},onTabChange:t=>{this.viewSection(t.detail),t.stopPropagation()}},(!this.currentParticipantsTabId||"stage-list"===this.currentParticipantsTabId)&&i("div",{slot:"stage-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-stage-list",Object.assign({},t,{search:this.search,hideHeader:!0}))),"requests"===this.currentParticipantsTabId&&i("div",{slot:"requests",style:{marginTop:"10px",height:"100%"}},!this.hasRequests&&i("div",{class:"no-pending-requests"},this.t("participants.no_pending_requests")),i("rtk-participants-stage-queue",Object.assign({},t)),i("rtk-participants-waiting-list",Object.assign({},t))),"viewer-list"===this.currentParticipantsTabId&&i("div",{slot:"viewer-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-viewer-list",Object.assign({},t,{search:this.search,hideHeader:!0}))))),i("slot",{name:"end"}))}static get watchers(){return{meeting:["meetingChanged"],currentParticipantsTabId:["currentParticipantsTabIdChanged"]}}};c([n()],h.prototype,"meeting",void 0),c([n()],h.prototype,"states",void 0),c([n()],h.prototype,"config",void 0),c([n()],h.prototype,"iconPack",void 0),c([n()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.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{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}*{box-sizing:border-box}.ctr{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.ctr.virtualised{overflow-y:hidden}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px)}.search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}:host([size='md']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}:host([size='sm']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}.no-pending-requests{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}";export{h as rtk_participants}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as i,h as s,a as o}from"./p-a599f720.js";import{e,i as a,M as r}from"./p-8fc79c56.js";import{S as n}from"./p-315cd380.js";var l=function(t,i,s,o){var e,a=arguments.length,r=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,o);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(r=(a<3?e(r):a>3?e(i,s,r):e(i,s))||r);return a>3&&r&&Object.defineProperty(i,s,r),r};const c=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=a(),this.canToggle=!1,this.permissionsUpdateListener=()=>{this.canToggle=r(this.meeting)},this.breakoutRoomToggle=()=>{var t,i;this.stateUpdate.emit({activeBreakoutRoomsManager:{active:!(null===(i=null===(t=this.states)||void 0===t?void 0:t.activeBreakoutRoomsManager)||void 0===i?void 0:i.active),mode:this.meeting.connectedMeetings.isActive?"view":"create"}})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i,s;null===(s=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===s||s.off("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){t&&(this.canToggle=r(t),t.self.permissions.on("permissionsUpdate",this.permissionsUpdateListener))}render(){return this.meeting?this.canToggle?s(o,{title:this.t("breakout_rooms")},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.breakoutRoomToggle,icon:this.iconPack.breakout_rooms,label:this.t("breakout_rooms"),variant:this.variant})):void 0:null}static get watchers(){return{meeting:["meetingChanged"]}}};l([n()],c.prototype,"meeting",void 0),l([n()],c.prototype,"states",void 0),l([n()],c.prototype,"iconPack",void 0),l([n()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_breakout_rooms_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,a}from"./p-a599f720.js";import{e as s,i}from"./p-8fc79c56.js";import{S as r}from"./p-315cd380.js";var o=function(t,e,a,s){var i,r=arguments.length,o=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,s);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(o=(r<3?i(o):r>3?i(e,a,o):i(e,a))||o);return r>3&&o&&Object.defineProperty(e,a,o),o};const c=class{constructor(a){t(this,a),this.iconPack=s,this.t=i(),this.pageSize=50,this.searchMessages=async(t,e,a)=>this.meeting.chat.searchMessages(this.query,{channelId:this.channelId,timestamp:t,size:e,reversed:a}),this.nodeRenderer=t=>t.map((t=>e("rtk-chat-message",{key:t.id,message:t,disableControls:!0})))}render(){return e(a,{key:"dcde089188305612e2f931128f0eedd3c06724f9"},e("rtk-paginated-list",{key:"0e73fa0aa2e8696b0aa886ca80e6e22ffb725cf5",pageSize:this.pageSize,pagesAllowed:3,fetchData:this.searchMessages,createNodes:this.nodeRenderer}))}};o([r()],c.prototype,"meeting",void 0),o([r()],c.prototype,"iconPack",void 0),o([r()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;flex-direction:column;position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}";export{c as rtk_chat_search_results}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,
|
|
1
|
+
import{r as t,d as i,h as s,a as e}from"./p-a599f720.js";import{e as a,i as r,F as n}from"./p-8fc79c56.js";import{S as h}from"./p-315cd380.js";var o=function(t,i,s,e){var a,r=arguments.length,n=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(r<3?a(n):r>3?a(i,s,n):a(i,s))||n);return r>3&&n&&Object.defineProperty(i,s,n),n};const l=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.iconPack=a,this.t=r(),this.livestreamState="IDLE",this.livestreamStateListener=t=>{this.livestreamState=t,"LIVESTREAMING"!==t&&"IDLE"!==t||this.stateUpdate.emit({activeMoreMenu:!1})},this.isLoading=()=>!this.meeting||"STARTING"===this.livestreamState||"STOPPING"===this.livestreamState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.clearListeners()}meetingChanged(t){var i,s;t&&(this.livestreamState=null===(i=this.meeting.livestream)||void 0===i?void 0:i.state,null===(s=this.meeting.livestream)||void 0===s||s.on("livestreamUpdate",this.livestreamStateListener))}async toggleLivestream(){var t,i;if("LIVESTREAMING"===this.livestreamState)try{await(null===(t=this.meeting.livestream)||void 0===t?void 0:t.stop())}catch(t){this.apiError.emit({trace:this.t("livestream.stop"),message:this.t("livestream.error.stop")})}else try{await(null===(i=this.meeting.livestream)||void 0===i?void 0:i.start())}catch(t){this.apiError.emit({trace:this.t("livestream.start"),message:this.t("livestream.error.start")})}}clearListeners(){var t;null===(t=this.meeting.livestream)||void 0===t||t.removeListener("livestreamUpdate",this.livestreamStateListener)}getLivestreamLabel(){switch(this.livestreamState){case"IDLE":return this.t("livestream.go_live");case"LIVESTREAMING":return this.t("livestream.end_live");case"WAITING_ON_MANUAL_INGESTION":return this.t("livestream.waiting_on_manual_ingestion");case"STARTING":return this.t("livestream.starting");case"STOPPING":return this.t("livestream.stopping");default:return this.t("livestream.error")}}getLivestreamIcon(){switch(this.livestreamState){case"IDLE":case"WAITING_ON_MANUAL_INGESTION":return this.iconPack.start_livestream;default:return this.iconPack.stop_livestream}}render(){return this.meeting?n(this.meeting)?s(e,null,s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,isLoading:this.isLoading(),class:{"active-livestream":"LIVESTREAMING"===this.livestreamState},onClick:()=>this.toggleLivestream(),icon:this.getLivestreamIcon(),disabled:this.isLoading(),label:this.t(this.getLivestreamLabel()),variant:this.variant})):s(e,{"data-hidden":!0}):null}static get watchers(){return{meeting:["meetingChanged"]}}};o([h()],l.prototype,"meeting",void 0),o([h()],l.prototype,"iconPack",void 0),o([h()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{l as rtk_livestream_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,d as t,e,h as a,a as i,g as r}from"./p-a599f720.js";import{e as o,i as s}from"./p-8fc79c56.js";import{i as c,r as d,e as l,a as p}from"./p-02f19345.js";import{S as h}from"./p-315cd380.js";var f=function(n,t,e,a){var i,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,t,e,a);else for(var s=n.length-1;s>=0;s--)(i=n[s])&&(o=(r<3?i(o):r>3?i(t,e,o):i(t,e))||o);return r>3&&o&&Object.defineProperty(t,e,o),o};const g=class{constructor(e){n(this,e),this.stateUpdate=t(this,"rtkStateUpdate",7),this.play=t(this,"screensharePlay",7),this.fullScreenListener=()=>{this.isFullScreen=c()},this.participantScreenshareUpdate=n=>{n.id===this.participant.id&&this.screenShareListener(n)},this.hideFullScreenButton=!1,this.nameTagPosition="bottom-left",this.variant="solid",this.iconPack=o,this.t=s(),this.videoExpanded=!1,this.screenShareEnabled=!1,this.isFullScreen=!1,this.toggleFullScreen=()=>{this.isFullScreen?(l(),this.isFullScreen=!1):(d(this.host),this.isFullScreen=!0)}}connectedCallback(){null===window||void 0===window||window.addEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.addEventListener("webkitfullscreenchange",this.fullScreenListener)}componentDidLoad(){this.participantChanged(this.participant)}disconnectedCallback(){if(!this.meeting)return;const{self:n}=this.meeting;this.participant.id===n.id&&this.screenShareListener?this.participant.removeListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.removeListener("screenShareUpdate",this.participantScreenshareUpdate),null===window||void 0===window||window.removeEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.removeEventListener("webkitfullscreenchange",this.fullScreenListener)}participantChanged(n){if(null!=n&&this.meeting){const{self:t}=this.meeting;this.screenShareListener=({screenShareEnabled:n,screenShareTracks:t})=>{const a=n&&null!=t.video;if(e((()=>{this.screenShareEnabled=a})),a){const n=new MediaStream;n.addTrack(t.video),null!=this.videoEl&&(this.videoEl.srcObject=n,this.videoEl.play())}else null!=this.videoEl&&(this.videoEl.srcObject=void 0)},this.screenShareListener(n),n.id===t.id?n.addListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.addListener("screenShareUpdate",this.participantScreenshareUpdate)}}render(){var n,t;const e=(null===(n=this.participant)||void 0===n?void 0:n.id)===(null===(t=this.meeting)||void 0===t?void 0:t.self.id),r=this.t(this.isFullScreen?"full_screen.exit":"full_screen"),o=this.isFullScreen?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize;return a(i,{key:"df55771dd36de2c1014e47c8d713b6d1d7ef08ad",class:{isSelf:e}},a("div",{key:"video-container",id:"video-container",class:{expand:this.videoExpanded}},a("video",{key:"83fe484dc37fce119266950f3584b8af79fcc14b",ref:n=>this.videoEl=n,class:{visible:this.screenShareEnabled,"fit-in-container":this.participant.supportsRemoteControl},playsInline:!0,onPlay:()=>{this.play.emit({screenshareParticipant:this.participant,participant:this.meeting.self})},autoPlay:!0,muted:!0,id:`screen-share-video-${this.participant.id}`})),a("div",{id:"controls",key:"controls"},!this.hideFullScreenButton&&!e&&p()&&a("rtk-tooltip",{key:"6b27dd39bea31267c5e3167aa3e5d922955c27cd",label:r},a("rtk-button",{key:"2421ac7332eac3ff164412adcabfad0a0260a4af",id:"full-screen-btn",kind:"icon",onClick:this.toggleFullScreen,title:r},a("rtk-icon",{key:"98480f5f702d93bdcfaa98afd317eccaa053a5d1",icon:o,"aria-hidden":!0,tabIndex:-1})))),e&&a("div",{id:"self-message",key:"self-message"},a("h3",{key:"66d58882193ac51ee9527934a9203fd66d7d7c52"},this.t("screenshare.shared")),a("div",{key:"023c29fddee876bccef4052c51197b759a6bab2e",class:"actions"},null!=this.meeting&&a("rtk-button",{key:"c267d7178808f282c7c6d275c449bcaab934bc08",variant:"danger",onClick:()=>{this.meeting.self.disableScreenShare()}},a("rtk-icon",{key:"bc63ef8e2f217a6b87e99d99e7e4098474d05b39",icon:this.iconPack.share_screen_stop,slot:"start"}),this.t("screenshare.stop")),a("rtk-button",{key:"397f312bbd347f61566df2659c75f82de34b3808",variant:"secondary",id:"expand-btn",onClick:()=>{this.videoExpanded=!this.videoExpanded}},a("rtk-icon",{key:"feaf388308067f245ec3ed422d2591db23001ba3",icon:this.videoExpanded?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,slot:"start"}),this.t(this.videoExpanded?"screenshare.min_preview":"screenshare.max_preview")))),a("slot",{key:"794b21a6d0df0eb104a56efd930e7e52ee1c5fcb"}))}get host(){return r(this)}static get watchers(){return{participant:["participantChanged"]}}};f([h()],g.prototype,"meeting",void 0),f([h()],g.prototype,"iconPack",void 0),f([h()],g.prototype,"t",void 0),g.style=":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n\n:host {\n height: 100%;\n width: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-lg, 12px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));\n container-type: inline-size;\n container-name: screentile;\n}\n\n::slotted(rtk-name-tag) {\n position: absolute;\n left: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n opacity: 0.8;\n}\n\n#video-container {\n position: absolute;\n display: block;\n height: 100%;\n width: 100%;\n}\n\n#video-container .fit-in-container {\n -o-object-fit: fill;\n object-fit: fill;\n}\n\nvideo {\n height: 100%;\n width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n:host([variant='gradient']) ::slotted(rtk-audio-visualizer) {\n position: absolute;\n top: var(--rtk-space-2, 8px);\n right: var(--rtk-space-2, 8px);\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n padding: var(--rtk-space-2, 8px);\n}\n\n:host([variant='gradient']) ::slotted(rtk-name-tag) {\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n text-align: center;\n background-color: transparent;\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n --tw-gradient-from: rgb(var(--rtk-colors-background-1000, 8 8 8));\n --tw-gradient-to: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n --tw-gradient-to: transparent;\n}\n\n:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer) {\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n}\n\nvideo.visible {\n animation: video-fadein 0.4s ease;\n}\n\n#controls {\n display: none;\n position: absolute;\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n align-items: center;\n justify-content: flex-end;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host(:hover) #controls, \n:host(:active) #controls, \n:host(:focus-visible) #controls {\n display: flex;\n}\n\n#full-screen-btn {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n}\n\n/** For self view */\n\nh3 {\n margin-top: var(--rtk-space-10, 40px);\n margin-bottom: var(--rtk-space-6, 24px);\n text-align: center;\n font-size: 20px;\n font-weight: 500;\n}\n\n:host([size='sm']) h3 {\n font-size: 16px;\n}\n\n#self-message {\n padding-left: var(--rtk-space-4, 16px);\n padding-right: var(--rtk-space-4, 16px);\n}\n\n:host(.isSelf) #self-view {\n flex: 1 1 0%;\n}\n\n:host(.isSelf) #video-container {\n position: static;\n aspect-ratio: auto;\n height: auto;\n width: 50%;\n max-width: var(--rtk-space-96, 384px);\n border-radius: var(--rtk-border-radius-md, 8px);\n transition: 0.6s ease;\n}\n\n:host(.isSelf) #video-container.expand {\n width: 60%;\n max-width: 100%;\n}\n\n.actions {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host([size='sm'].isSelf) #video-container,\n:host([size='md'].isSelf) #video-container,\n:host([size='sm'].isSelf) #expand-btn,\n:host([size='md'].isSelf) #expand-btn {\n /** Hide video, fullscreen buttons in sm and md breakpoints */\n display: none;\n}\n\n/** Remote control */\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n.remote-control {\n z-index: 10;\n height: 100%;\n max-height: 100%;\n flex: 0 1 auto;\n}\n\n#remote-control-self {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n left: 50%;\n z-index: 10;\n width: -moz-max-content;\n width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n display: flex;\n height: var(--rtk-space-8, 32px);\n align-items: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transform: translateX(-50%);\n}\n\n#remote-control-self p {\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n padding-top: var(--rtk-space-2, 8px);\n padding-bottom: var(--rtk-space-2, 8px);\n}\n\n#remote-control-self rtk-button {\n height: 100%;\n border-radius: var(--rtk-border-radius-none, 0);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));\n font-size: 12px;\n}\n\n:host([size='sm']) #remote-control-self {\n height: auto;\n flex-direction: column;\n}\n\n:host([size='sm']) #remote-control-self rtk-button {\n width: 100%;\n padding-top: var(--rtk-space-1, 4px);\n padding-bottom: var(--rtk-space-1, 4px);\n}\n\n/** Name tag positions */\n\n:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag) {\n left: auto;\n right: var(--rtk-space-3, 12px);\n}\n\n:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n}\n\n:host([name-tag-position='top-left']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n bottom: auto;\n}\n\n:host([name-tag-position='top-right']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n left: auto;\n bottom: auto;\n}\n\n:host([name-tag-position='top-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n bottom: auto;\n top: var(--rtk-space-3, 12px);\n}\n\n/** Keyframes */\n\n@keyframes video-fadein {\n 0% {\n opacity: 0;\n transform: scale(1.4) translateY(20px);\n }\n\n 100% {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n\n::slotted(rtk-network-indicator) {\n position: absolute;\n right: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n}\n\n@media only screen and (max-height: 480px) and (orientation: landscape) {\n :host([size='sm'][variant='solid']) ::slotted(rtk-name-tag), \n :host([size='sm'][variant='solid']) rtk-name-tag {\n left: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n border-radius: var(--rtk-border-radius-none, 0);\n transform-origin: 0% 110%;\n transform: scale(0.6);\n }\n}\n\n@container screentile (max-width: 400px) {\n ::slotted(rtk-name-tag) {\n transform-origin: 0 130%;\n transform: scale(0.7);\n }\n}\n";export{g as rtk_screenshare_view}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,a}from"./p-a599f720.js";import{c as r,e as i,i as c}from"./p-8fc79c56.js";import{S as o}from"./p-315cd380.js";var n=function(t,e,a,r){var i,c=arguments.length,o=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,r);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(c<3?i(o):c>3?i(e,a,o):i(e,a))||o);return c>3&&o&&Object.defineProperty(e,a,o),o};const s=class{constructor(e){t(this,e),this.config=r(),this.iconPack=i,this.t=c()}render(){return e(a,{key:"40d0feae613a4df0b10179faa2b08389305c6f93"},e("slot",{key:"ea791fce784fbd1fbd2642b3b51ebdcc8ad6ad57"},e("div",{key:"224e0e8d68c3650f923637aefd7a318186ceea5e",class:"ctr",part:"container"},e("rtk-logo",{key:"2d5c44766521abc60ba50a64f66349d5de7b19df",meeting:this.meeting,config:this.config,t:this.t,part:"logo"}),e("rtk-spinner",{key:"aa9bc5a73a4cb9d70e3a44303cb3cd96da8b4c5f","aria-label":"Idle, waiting for meeting data",part:"spinner",iconPack:this.iconPack}))))}};n([o()],s.prototype,"meeting",void 0),n([o()],s.prototype,"config",void 0),n([o()],s.prototype,"iconPack",void 0),n([o()],s.prototype,"t",void 0),s.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}rtk-spinner{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}";export{s as rtk_idle_screen}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,e as r,h as i,a,d as e}from"./p-a599f720.js";import{e as o,i as s,c as n}from"./p-8fc79c56.js";import{S as c}from"./p-315cd380.js";import{f as l,a as p}from"./p-6f211c3e.js";var h=function(t,r,i,a){var e,o=arguments.length,s=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(s=(o<3?e(s):o>3?e(r,i,s):e(r,i))||s);return o>3&&s&&Object.defineProperty(r,i,s),s};const d=class{constructor(r){t(this,r),this.iconPack=o,this.t=s(),this.canClosePlugin=!1,this.viewModeEnabled=!1,this.onIframeRef=t=>{var r;t!==this.iframeEl&&(this.iframeEl=t,null===(r=this.plugin)||void 0===r||r.addPluginView(t,"plugin-main"))},this.canInteractWithPlugin=()=>{const t=this.plugin.id;if(!t)return!0;const r=this.meeting.self.permissions.plugins.config[t];return!r||!r.accessControl||"FULL_ACCESS"===r.accessControl}}componentDidLoad(){this.meetingChanged(this.meeting),this.pluginChanged(this.plugin)}meetingChanged(t){if(!t)return;const i=this.canInteractWithPlugin();this.viewModeEnabled=!i,r((()=>{this.canClosePlugin=t.self.permissions.plugins.canClose||this.plugin.enabledBy===t.self.id}))}pluginChanged(t){this.toggleViewModeListener=t=>{this.canInteractWithPlugin()||(this.viewModeEnabled=t)},null!=t&&(this.iframeEl&&t.addPluginView(this.iframeEl,"plugin-main"),t.addListener("toggleViewMode",this.toggleViewModeListener))}disconnectedCallback(){var t,r;null===(t=this.plugin)||void 0===t||t.removePluginView("plugin-main"),null===(r=this.plugin)||void 0===r||r.removeListener("toggleViewMode",this.toggleViewModeListener)}render(){return null==this.plugin?null:i(a,null,i("header",{part:"header"},i("div",null,this.plugin.name),this.canClosePlugin&&i("div",null,i("rtk-button",{kind:"icon",onClick:()=>this.plugin.deactivate(),part:"button"},i("rtk-icon",{icon:this.iconPack.dismiss})))),i("div",{class:"iframe-container"},!this.canInteractWithPlugin()&&this.viewModeEnabled?i("div",{class:"block-inputs"}):null,i("iframe",{ref:t=>this.onIframeRef(t),part:"iframe"})))}static get watchers(){return{meeting:["meetingChanged"],plugin:["pluginChanged"]}}};h([c()],d.prototype,"meeting",void 0),h([c()],d.prototype,"iconPack",void 0),h([c()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{display:flex;height:var(--rtk-space-8, 32px);align-items:center;justify-content:space-between;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}header>div{display:flex;align-items:center}rtk-button{display:flex;height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);flex-direction:column;align-items:center;border-radius:9999px}rtk-button rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}iframe{display:block;flex:1 1 0%;margin:var(--rtk-space-0, 0px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-0, 0px);outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity))}.iframe-container{position:relative;height:100%;width:100%}.block-inputs{position:absolute;z-index:10;height:100%;width:100%;border-left-width:var(--rtk-border-width-none, 0);border-top-width:var(--rtk-border-width-lg, 4px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-border-opacity))}iframe{height:100%;width:100%}";var v=function(t,r,i,a){var e,o=arguments.length,s=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(s=(o<3?e(s):o>3?e(r,i,s):e(r,i))||s);return o>3&&s&&Object.defineProperty(r,i,s),s};const g=class{constructor(r){t(this,r),this.tabChange=e(this,"tabChange",7),this.config=n(),this.layout="row",this.iconPack=o,this.t=s(),this.tabs=[]}render(){return i(a,{key:"1c4bce26c4c5baa19cd89be862922267c408ab97"},i("rtk-spotlight-indicator",{key:"496f3634771c4b9c94ff64e23fa5695e2e1532e2",meeting:this.meeting,iconPack:this.iconPack,t:this.t,size:this.size}),this.tabs.map((t=>{var r,a,e,o,s;let n=!1;if(("plugin"===(null===(r=this.activeTab)||void 0===r?void 0:r.type)&&t.plugin&&(null===(a=this.activeTab)||void 0===a?void 0:a.plugin.id)===t.plugin.id||"screenshare"===(null===(e=this.activeTab)||void 0===e?void 0:e.type)&&t.participant&&(null===(o=this.activeTab)||void 0===o?void 0:o.participant.id)===t.participant.id)&&(n=!0),"screenshare"===t.type){const r=t.participant,a=l(r.name);return i("rtk-button",{title:`${a}'s Screen Share`,key:t.participant.id,kind:"icon",variant:n?"primary":"secondary",class:{tab:!0,active:n},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("rtk-icon",{icon:this.iconPack.share_screen_person}),i("span",{class:"name"},r.id===(null===(s=this.meeting)||void 0===s?void 0:s.self.id)?this.t("you"):p(a,6))))}if("plugin"===t.type){const r=t.plugin;return i("rtk-button",{title:r.name,key:r.id,kind:"icon",variant:n?"primary":"secondary",class:{tab:!0,active:n},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("img",{src:r.picture}),i("span",{class:"name"},p(r.name,6))))}})))}};v([c()],g.prototype,"meeting",void 0),v([c()],g.prototype,"states",void 0),v([c()],g.prototype,"config",void 0),v([c()],g.prototype,"iconPack",void 0),v([c()],g.prototype,"t",void 0),g.style=".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{box-sizing:border-box;display:flex;height:100%;width:var(--rtk-space-16, 64px);flex-direction:column;gap:var(--rtk-space-2, 8px);overflow-y:auto;font-family:var(--rtk-font-family, sans-serif)}rtk-button{z-index:10}.col{display:flex;flex-direction:column;align-items:center}.tab{display:flex;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);align-items:center;justify-content:center;margin-bottom:var(--rtk-space-2, 8px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.tab.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.tab img{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);border-radius:var(--rtk-border-radius-sm, 4px)}.tab .name{margin-top:var(--rtk-space-0\\.5, 2px)}:host([size='sm']){flex-direction:column;margin-top:var(--rtk-space-4, 16px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-x:auto}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);text-overflow:clip;min-width:100px;height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px)}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}:host([layout='column']){flex-direction:column}:host([layout='column']) .aside{flex:2;max-width:100%;width:100%}@media (orientation: portrait){:host([size='sm']){margin-top:var(--rtk-space-2, 8px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;transition:all 0.3s linear}:host([size='md']){height:var(--rtk-space-24, 96px);width:100%;flex-direction:row;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}}@media (orientation: landscape){:host([size='sm']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host([size='md']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);width:100%;text-overflow:clip;min-width:0px;min-height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-2, 8px);font-size:10px}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}}";export{d as rtk_plugin_main,g as rtk_tab_bar}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,
|
|
1
|
+
import{r as t,d as i,h as r,a as e}from"./p-a599f720.js";import{c as a,e as s,i as o}from"./p-8fc79c56.js";import{S as n}from"./p-315cd380.js";var c=function(t,i,r,e){var a,s=arguments.length,o=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(s<3?a(o):s>3?a(i,r,o):a(i,r))||o);return s>3&&o&&Object.defineProperty(i,r,o),o};const l=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=a(),this.iconPack=s,this.t=o(),this.view="sidebar",this.close=()=>{this.stateUpdate.emit({activeAI:!1})}}connectedCallback(){this.viewChanged(this.view)}disconnectedCallback(){this.keydownListener&&document.removeEventListener("keydown",this.keydownListener)}viewChanged(t){"full-screen"===t&&(this.keydownListener=t=>{"Escape"===t.key&&this.close()},document.addEventListener("keydown",this.keydownListener))}render(){var t,i,a;if(!this.meeting)return null;if(!(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions).transcriptionEnabled||!(null===(a=this.states)||void 0===a?void 0:a.activeAI))return null;const s={meeting:this.meeting,config:this.config,states:this.states,size:this.size,t:this.t,iconPack:this.iconPack};return r(e,null,r("h3",{class:"title"},this.t("ai.transcriptions")),r("rtk-button",{variant:"ghost",kind:"icon",class:"close",onClick:this.close,"aria-label":this.t("close")},r("rtk-icon",{icon:this.iconPack.dismiss})),r("rtk-ai-transcriptions",Object.assign({},s)))}static get watchers(){return{view:["viewChanged"]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"states",void 0),c([n()],l.prototype,"config",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;box-sizing:border-box;display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden}.close{position:absolute;top:var(--rtk-space-3, 12px);left:var(--rtk-space-3, 12px)}.title{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:var(--rtk-space-0, 0px);text-align:center;font-size:14px;font-weight:400}rtk-ai-transcriptions{flex:1}:host([view='sidebar']){margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host([view='full-screen']){position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:50;max-width:100%;border:none}";export{l as rtk_ai}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as r,h as o,a as e,g as a}from"./p-a599f720.js";import{e as i,i as s}from"./p-8fc79c56.js";import{S as c}from"./p-315cd380.js";var n=function(t,r,o,e){var a,i=arguments.length,s=i<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,o,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(r,o,s):a(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s};const d=class{constructor(o){t(this,o),this.stateUpdate=r(this,"rtkStateUpdate",7),this.iconPack=i,this.t=s(),this.handleKeyDown=({key:t})=>{"Escape"===t&&this.stateUpdate.emit({activeMoreMenu:!1})},this.handleOnClick=t=>{!t.composedPath().includes(this.host)&&this.states.activeMoreMenu&&this.stateUpdate.emit({activeMoreMenu:!1})},this.toggleMoreMenu=()=>{this.stateUpdate.emit({activeMoreMenu:!this.states.activeMoreMenu})}}connectedCallback(){window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("click",this.handleOnClick)}disconnectedCallback(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("click",this.handleOnClick)}render(){const t=this.t("more");return o(e,{key:"e38ef12edf602c1c0a2f747e037559d91a2bb758",title:t},this.states.activeMoreMenu&&o("div",{key:"cbe27d79e4f10a0f7d35b94c80d378b251ae9005",class:"more-menu"},o("slot",{key:"42f1083f8b554489bdf5795a595191f157048f5a",name:"more-elements"})),o("rtk-controlbar-button",{key:"d65281e925c0a77e22fb7f53518a915ddccdaf04",size:this.size,iconPack:this.iconPack,onClick:t=>{t.stopPropagation(),this.toggleMoreMenu()},icon:this.iconPack.horizontal_dots,label:t,part:"controlbar-button"}),o("slot",{key:"e2b04a67f5556cb41542ac8ca5c412f3a56db094",name:"expanded"}))}get host(){return a(this)}};n([c()],d.prototype,"states",void 0),n([c()],d.prototype,"iconPack",void 0),n([c()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:visible}.more-menu{position:absolute;right:calc(var(--rtk-space-24, 96px) * -1);bottom:var(--rtk-space-16, 64px);z-index:50;margin-bottom:var(--rtk-space-3, 12px);box-sizing:border-box;max-height:60vh;width:var(--rtk-space-64, 256px);overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;display:flex;flex-direction:column;align-items:stretch}:host([size='sm']) .more-menu{bottom:var(--rtk-space-10, 40px)}.more-menu::-webkit-scrollbar{height:var(--rtk-space-0, 0px);width:var(--rtk-space-1\\.5, 6px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.more-menu::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";export{d as rtk_more_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,
|
|
1
|
+
import{r as t,d as i,h as s,a as e}from"./p-a599f720.js";import{e as a,i as o}from"./p-8fc79c56.js";import{d as n}from"./p-be0d2b90.js";import{S as r}from"./p-315cd380.js";var l=function(t,i,s,e){var a,o=arguments.length,n=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(i,s,n):a(i,s))||n);return o>3&&n&&Object.defineProperty(i,s,n),n};const h=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=n(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s,e,a,o;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===i||i.removeListener("pollsUpdate",this.onPollsUpdate),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.self)||void 0===e||e.permissions.removeListener("pollsUpdate",this.updateCanView),null===(o=null===(a=this.meeting)||void 0===a?void 0:a.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var i,s;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(i=null==t?void 0:t.self)||void 0===i||i.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=n(t),null===(s=null==t?void 0:t.stage)||void 0===s||s.on("stageStatusUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pollsActive=!0===t.activeSidebar&&"polls"===t.sidebar)}togglePollsTab(){const t=this.states;this.unreadPollsCount=0,this.pollsActive=!((null==t?void 0:t.activeSidebar)&&"polls"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pollsActive,sidebar:this.pollsActive?"polls":void 0,activeMoreMenu:!1,activeAI:!1})}handlePollsActiveChange(){this.pollsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPolls)return s(e,{"data-hidden":!0});const t=this.t("polls");return s(e,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&s("div",{class:"unread-count",part:"unread-count"},s("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),s("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pollsActive},onClick:()=>this.togglePollsTab(),icon:this.iconPack.poll,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"],pollsActive:["handlePollsActiveChange"]}}};l([r()],h.prototype,"meeting",void 0),l([r()],h.prototype,"states",void 0),l([r()],h.prototype,"iconPack",void 0),l([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";export{h as rtk_polls_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as
|
|
1
|
+
import{r as t,h as i,a as e}from"./p-a599f720.js";import{c as r,e as a,i as o}from"./p-8fc79c56.js";import{S as s}from"./p-315cd380.js";var n=function(t,i,e,r){var a,o=arguments.length,s=o<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(s=(o<3?a(s):o>3?a(i,e,s):a(i,e))||s);return o>3&&s&&Object.defineProperty(i,e,s),s};const d=class{constructor(i){t(this,i),this.isPinned=!1,this.nameTagPosition="bottom-left",this.isPreview=!1,this.config=r(),this.variant="solid",this.iconPack=a,this.t=o(),this.onVideoUpdate=t=>{this.videoState=t}}connectedCallback(){this.participantsChanged(this.participant)}componentDidLoad(){this.videoStateChanged(this.videoState)}disconnectedCallback(){null!=this.participant&&this.participant.removeListener("videoUpdate",this.onVideoUpdate)}async participantsChanged(t){null!=t&&(this.videoState={videoEnabled:t.videoEnabled,videoTrack:t.videoTrack},this.isPinned=t.isPinned,t.addListener("videoUpdate",this.onVideoUpdate))}videoStateChanged(t){if(null!=t&&null!=this.videoEl)if(t.videoEnabled){const i=new MediaStream;i.addTrack(t.videoTrack),this.videoEl.srcObject=i}else this.videoEl.srcObject=void 0}isMirrored(){var t;if(null!=this.participant&&("preview"in this.participant||this.isPreview)){const i=this.states,e=null===(t=null==i?void 0:i.prefs)||void 0===t?void 0:t.mirrorVideo;if("boolean"==typeof e)return e}return!1}render(){var t,r,a,o;return i(e,{key:"70cefbcd224011d31984bbccef75e7c389b39c53"},i("video",{key:"e86b57ba45fe602499522ad4d2ccdb0a9206f0b8",ref:t=>this.videoEl=t,class:{visible:null===(t=this.videoState)||void 0===t?void 0:t.videoEnabled,mirror:this.isMirrored(),[null!==(o=null===(a=null===(r=this.config)||void 0===r?void 0:r.config)||void 0===a?void 0:a.videoFit)&&void 0!==o?o:"cover"]:!0},autoPlay:!0,playsInline:!0,muted:!0}),i("slot",{key:"a685f9e334d4fb351d69917212634ef04d560ce9"}))}static get watchers(){return{participant:["participantsChanged"],videoState:["videoStateChanged"]}}};n([s()],d.prototype,"states",void 0),n([s()],d.prototype,"config",void 0),n([s()],d.prototype,"iconPack",void 0),n([s()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16 / 9;height:var(--rtk-space-56, 224px);overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));transition-property:var(--rtk-transition-property, all);transition-duration:150ms}@media (prefers-reduced-motion){:host{--rtk-transition-property:none}}:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag){left:var(--rtk-space-2, 8px);bottom:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px)}video{display:none;position:absolute;height:100%;width:100%;border-radius:var(--rtk-border-radius-lg, 12px)}video.contain{-o-object-fit:contain;object-fit:contain}video.cover{-o-object-fit:cover;object-fit:cover}video.visible{display:block}video::-webkit-media-controls{display:none !important}:host([variant='gradient']) ::slotted(rtk-audio-visualizer){position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag){bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}video.mirror{transform:scaleX(-1)}@media (orientation: portrait){:host{height:var(--rtk-space-44, 176px)}}";export{d as rtk_participant_setup}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as r,e,h as a,a as i}from"./p-a599f720.js";import{e as s,i as o,I as c}from"./p-8fc79c56.js";import{r as l,h as n,d,e as p,s as h,M as b}from"./p-b5e5e206.js";import{S as k}from"./p-315cd380.js";var f=function(t,r,e,a){var i,s=arguments.length,o=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,e,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(o=(s<3?i(o):s>3?i(r,e,o):i(r,e))||o);return s>3&&o&&Object.defineProperty(r,e,o),o};const v="@",g=class{constructor(i){t(this,i),this.onNewMessage=r(this,"rtkNewMessage",7),this.onEditMessage=r(this,"rtkEditMessage",7),this.onEditCancelled=r(this,"rtkEditCancelled",7),this.canSendTextMessage=!1,this.canSendFiles=!1,this.iconPack=s,this.t=o(),this.disableEmojiPicker=!1,this.prefill={},this.members=[],this.emojiPickerActive=!1,this.mentionQuery="",this.focusedMemberIndex=0,this.filePreview=null,this.fileReader=new FileReader,this.fileToUpload=null,this.handleKeyDown=t=>{if(t.key===v&&[void 0," "].includes(this.$textArea.value.at(-1))&&(this.mentionQuery=v),"ArrowDown"===t.key&&(this.focusedMemberIndex=Math.min(this.focusedMemberIndex+1,this.getFilteredMembers().length-1)),"ArrowUp"===t.key&&(this.focusedMemberIndex=Math.max(0,this.focusedMemberIndex-1)),("Escape"===t.key||"Backspace"===t.key&&this.mentionQuery===v)&&(this.mentionQuery=""),["Enter","Tab"," "].includes(t.key)&&""!==this.mentionQuery){const r=this.getFilteredMembers()[this.focusedMemberIndex];return this.onMemberSelect(r),void t.preventDefault()}"Enter"===t.key&&t.shiftKey?this.$textArea.clientHeight<200&&(this.$textArea.style.height=this.$textArea.clientHeight+20+"px"):"Enter"===t.key?(t.preventDefault(),this.prefill.editMessage?this.handleEditMessage():this.handleSendMessage()):"Backspace"===t.key&&(this.$textArea.value.endsWith("\n")?this.$textArea.style.height=this.$textArea.clientHeight-20+"px":""===this.$textArea.value&&(this.$textArea.style.height="auto"))},this.handleKeyUp=()=>{if(""!==this.mentionQuery){const t=l(this.$textArea.value.trim()),r=t.substring(0,t.indexOf(v));this.mentionQuery=`${v}${l(r)}`}},this.onPaste=t=>{const r=t.clipboardData||t.originalEvent.clipboardData;e((()=>{r&&r.items&&r.items.length>0&&(n(r.items,this.generateFilePreview),this.$textArea.value="")}))},this.generateFilePreview=(t,r)=>{this.fileToUpload={type:t,image:r,file:r},"image"===t?this.fileReader.readAsDataURL(r):"file"===t&&(this.filePreview=r.name)},this.sendFile=()=>{this.canSendFiles&&(this.onNewMessage.emit("image"===this.fileToUpload.type?{type:"image",file:this.fileToUpload.image,image:this.fileToUpload.image}:{type:"file",file:this.fileToUpload.file}),this.cleanUpFileUpload())},this.handleSendMessage=()=>{if(!this.canSendTextMessage)return;if(null!==this.fileToUpload)return void this.sendFile();const t=this.$textArea.value.trim();t.length>0&&(this.onNewMessage.emit(this.prefill.replyMessage?{type:"text",message:t,replyTo:this.prefill.replyMessage}:{type:"text",message:t}),this.cleanup())},this.cleanup=()=>{this.mentionQuery="",this.focusedMemberIndex=0,this.$textArea.value="",this.$textArea.style.height="auto",c.setItem(this.storageKey,"")},this.handleEditMessage=()=>{var t;let r=this.$textArea.value.trim();(null===(t=this.prefill.editMessage)||void 0===t?void 0:t.message)&&d.test(this.prefill.editMessage.message)&&(r=`${p(this.prefill.editMessage.message)}\n\n${r}`),this.onEditMessage.emit({id:this.prefill.editMessage.id,message:r}),this.cleanup()},this.handleEditCancel=()=>{this.onEditCancelled.emit(),this.cleanup()},this.initializeTextField=t=>{this.$textArea=t;const r=c.getItem(this.storageKey)||"";this.$textArea.value=r},this.onMemberSelect=t=>{const r=l(this.mentionQuery),a=l(this.$textArea.value.trim()).replace(r,"");this.$textArea.value=l(a)+`${v}${t.name} `,this.mentionQuery="",this.focusedMemberIndex=0,e((()=>this.$textArea.focus()))},this.getFilteredMembers=()=>{const t=this.mentionQuery.replace(v,"");return this.members.filter((r=>r.name.toLowerCase().includes(t.toLowerCase())))},this.cleanUpFileUpload=()=>{this.filePreview=null,this.fileToUpload=null},this.renderSuggestedReplies=()=>{if(this.prefill.suggestedReplies&&0!==this.prefill.suggestedReplies.length)return a("ul",{class:"suggested-replies scrollbar"},this.prefill.suggestedReplies.map((t=>a("rtk-tooltip",{label:this.t("chat.click_to_send")},a("li",{onClick:()=>this.onNewMessage.emit({type:"text",message:t})},t)))))},this.renderMenu=()=>{if(0===this.mentionQuery.length)return;const t=this.getFilteredMembers();return 0!==t.length?a("ul",{class:"member-list scrollbar"},t.map(((t,r)=>a("li",{class:{member:!0,selected:r===this.focusedMemberIndex},onClick:()=>this.onMemberSelect(t),ref:t=>{r===this.focusedMemberIndex&&e((()=>{t&&t.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}))}},a("rtk-avatar",{participant:{name:t.name,picture:t.picture},size:"sm"}),a("span",null,t.name))))):void 0}}connectedCallback(){this.fileReader.onload=t=>{"string"==typeof t.target.result&&(this.filePreview=t.target.result)}}componentDidRender(){(this.prefill.editMessage||this.prefill.replyMessage)&&e((()=>this.$textArea.focus()))}get storageKey(){return"rtk-text-message"}uploadFile(t){const r=document.createElement("input");r.type="file","image"===t&&(r.accept="image/*"),r.onchange=r=>{const{validity:e,files:[a]}=r.target;e.valid&&this.generateFilePreview(t,a)},r.click()}renderFilePreview(){if("string"==typeof this.filePreview)return a("div",{class:"preview-overlay"},a("div",{class:"file-preview"},a("rtk-tooltip",{label:this.t("chat.cancel_upload")},a("rtk-button",{variant:"secondary",kind:"icon",onClick:this.cleanUpFileUpload},a("rtk-icon",{icon:this.iconPack.dismiss}))),"image"===this.fileToUpload.type?a("img",{class:"preview-image",src:this.filePreview}):a("div",{class:"preview-file"},a("span",null,this.filePreview))))}render(){var t;let r="";return(null===(t=this.prefill.editMessage)||void 0===t?void 0:t.message)&&(r=h(this.prefill.editMessage.message)),a(i,{key:"c1bbf529244184de2062ddb50b40a918fe6b89f0"},this.canSendTextMessage&&this.emojiPickerActive&&a("rtk-emoji-picker",{key:"62c92f177bdf7ff725a345efd948fbd07e58efda",part:"emoji-picker",onPickerClose:()=>{this.emojiPickerActive=!1},onRtkEmojiClicked:t=>{this.$textArea.value+=t.detail,this.$textArea.focus()},t:this.t}),this.renderSuggestedReplies(),a("slot",{key:"02f70148bdae1f9e3b9fc60d088c59f85af68880",name:"chat-addon"}),a("slot",{key:"0ac47b719d6c39807076f86bcd0fe4fb9b75fcd5",name:"quote-block"}),a("div",{key:"e88db8097f1615f62235c41262700c0c11bc0453",class:"chat-input",part:"chat-input"},this.renderMenu(),this.canSendTextMessage&&a("textarea",{key:"f1aa0c834b37e25a7e3093d10b6ad4531d58c0e8",class:"scrollbar",part:"textarea",ref:this.initializeTextField,autoFocus:!0,placeholder:this.fileToUpload?"":this.t("chat.message_placeholder"),value:r,onPaste:this.onPaste,maxLength:b,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onInput:t=>{c.setItem(this.storageKey,t.target.value)},disabled:!!this.filePreview}),a("div",{key:"724a8e40a0384c4f11efca4d7abf081b110a7c9f",class:"chat-buttons",part:"chat-buttons"},a("div",{key:"028b74f93d7b8ba1964460ea80ed4c63d56e5146",class:"left",part:"chat-buttons-left"},!this.prefill.editMessage&&this.canSendFiles&&[a("rtk-tooltip",{key:"e4b0edc4f6a0f8f8b91ec4925dbd661c3e3b1a32",label:this.t("chat.send_file")},a("rtk-button",{key:"53f030c9720362995342eb1959da07136c44724b",variant:"ghost",kind:"icon",onClick:()=>this.uploadFile("file"),title:this.t("chat.send_file")},a("rtk-icon",{key:"51bf45a1074886452e1c7d6ca80d8b5f9e7a61ba",icon:this.iconPack.attach}))),a("rtk-tooltip",{key:"d20a53b034f312ced9d7f5441da7574100cbb6e7",label:this.t("chat.send_img")},a("rtk-button",{key:"822413ff8636a33d2d70c7d10412a0ff5d043d86",variant:"ghost",kind:"icon",onClick:()=>this.uploadFile("image"),title:this.t("chat.send_img")},a("rtk-icon",{key:"af60e5ec42253e7780af31bc5f2fb9ad00ad6245",icon:this.iconPack.image})))],!this.prefill.editMessage&&this.canSendTextMessage&&!this.disableEmojiPicker&&a("rtk-tooltip",{key:"665bb180737c220297a9394f582ddd8d57135ed4",label:this.t("chat.send_emoji")},a("rtk-button",{key:"6550bd345555644e89a501df5838452206ea9c55",variant:"ghost",kind:"icon",class:{active:this.emojiPickerActive},title:this.t("chat.send_emoji"),onClick:()=>{this.emojiPickerActive=!this.emojiPickerActive}},a("rtk-icon",{key:"4ee0c02bf3efc309a58db7be0f51545d6d346a9c",icon:this.iconPack.emoji_multiple})))),!!this.filePreview&&this.renderFilePreview(),this.canSendTextMessage&&a("div",{key:"a7d3f27cbe43f591363d1ffd8858f30d457e6629",class:"right",part:"chat-buttons-right"},!this.prefill.editMessage&&a("rtk-tooltip",{key:"57fc69e04c29b54cfb8510914659f0b94c3944eb",variant:"primary",label:this.t("chat.send_msg"),delay:2e3},a("rtk-button",{key:"949e480cc2a243265f1268aff6396cd9bda20b03",kind:"icon",onClick:()=>this.handleSendMessage(),title:this.t("chat.send_msg")},a("rtk-icon",{key:"8fe5bc5391bef475805c86ab3fec94690bd71dfd",icon:this.iconPack.send}))),this.prefill.editMessage&&a("div",{key:"3e87dae17dcac9be10a20fe15252756d496bf924",class:"edit-buttons"},a("rtk-tooltip",{key:"201e7b44dc8a40cfc94bb299448a1e89c972ea92",variant:"secondary",label:this.t("cancel"),delay:2e3},a("rtk-button",{key:"64d5dc9e41bc87a654c760c709b7b7d378f28141",kind:"icon",variant:"secondary",onClick:()=>this.handleEditCancel(),title:this.t("cancel")},a("rtk-icon",{key:"7e75e511da878e45f88b75c2f23a855a8c191b9b",icon:this.iconPack.dismiss}))),a("rtk-tooltip",{key:"df6284b88ac9651d5cb1c736b92fb929ee5795a1",variant:"primary",label:this.t("chat.update_msg"),delay:2e3},a("rtk-button",{key:"c6b375320d193ccbf6658aa040302453ae361f91",kind:"icon",onClick:()=>this.handleEditMessage(),title:this.t("chat.send_msg")},a("rtk-icon",{key:"f047153809bc154526364f2e9a903449f83f51a9",icon:this.iconPack.checkmark}))))))))}};f([k()],g.prototype,"iconPack",void 0),f([k()],g.prototype,"t",void 0),g.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.chat-input{position:relative;margin:var(--rtk-space-2, 8px);z-index:10;box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--rtk-border-radius-md, 8px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}textarea{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));box-sizing:border-box;padding:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea{border-top-left-radius:var(--rtk-border-radius-md, 8px);border-top-right-radius:var(--rtk-border-radius-md, 8px);font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;resize:none;overflow-y:auto;border-width:var(--rtk-border-width-none, 0);border-style:none;min-height:60px;font-size:16px}.chat-buttons{border-bottom-right-radius:var(--rtk-border-radius-md, 8px);border-bottom-left-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));display:flex;height:var(--rtk-space-8, 32px);align-items:center;justify-content:space-between;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.chat-buttons .left rtk-button{margin-right:var(--rtk-space-1, 4px)}.chat-buttons .left rtk-button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-buttons .right{z-index:10}.chat-buttons .right .edit-buttons{display:flex;gap:var(--rtk-space-2, 8px)}.chat-buttons>div{display:flex;align-items:center}rtk-emoji-picker{z-index:0;position:absolute;bottom:var(--rtk-space-32, 128px);border-top:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));animation:0.3s slide-up ease}@keyframes slide-up{from{transform:translateY(100%)}to{transform:translateY(0%)}}.member-list{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);min-width:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);padding:var(--rtk-space-0, 0px);position:absolute;bottom:var(--rtk-space-28, 112px);list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-sm, 4px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.member-list .member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-4, 16px);cursor:pointer}.member-list .member rtk-avatar{flex-shrink:0;height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.member-list .member span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-list .member:hover,.member-list .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.suggested-replies{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-3, 12px);display:flex;flex-wrap:nowrap;gap:var(--rtk-space-2, 8px);list-style-type:none;overflow-x:auto}.suggested-replies rtk-tooltip{flex-shrink:0}.suggested-replies li{padding:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.75);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));cursor:pointer}.suggested-replies li:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity))}.preview-overlay{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px)}.file-preview{position:absolute;top:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);max-width:-moz-fit-content;max-width:fit-content;max-height:var(--rtk-space-20, 80px)}.file-preview:hover rtk-tooltip{display:block}.file-preview rtk-tooltip{position:absolute;top:calc(var(--rtk-space-1, 4px) * -1);left:calc(var(--rtk-space-1, 4px) * -1);display:none;margin-left:calc(var(--rtk-space-1, 4px) * -1);margin-top:calc(var(--rtk-space-1, 4px) * -1)}.file-preview rtk-button{display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));border:1px solid rgb(var(--rtk-colors-text-1000, 255 255 255))}.file-preview rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview-image{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);-o-object-fit:cover;object-fit:cover;max-height:100%;max-width:100%;overflow:clip;border-radius:var(--rtk-border-radius-md, 8px)}.preview-file{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-md, 8px);max-width:200px}@keyframes scroll-text{0%{transform:translateX(0%)}70%{transform:translateX(-100%)}80%{transform:translateX(0%)}100%{transform:translateX(0%)}}";export{g as rtk_chat_composer_ui}
|