@cloudflare/realtimekit-ui 1.1.0-staging.3 → 1.1.0-staging.4
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/loader.cjs.js +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +1 -1
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-avatar_24.cjs.entry.js +44 -34
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +9 -9
- package/dist/cjs/rtk-channel-creator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-details.cjs.entry.js +1 -1
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +1 -1
- package/dist/cjs/rtk-clock.cjs.entry.js +3 -3
- package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +8 -8
- package/dist/cjs/rtk-header.cjs.entry.js +1 -1
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +1 -1
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/rtk-leave-button.cjs.entry.js +1 -1
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +1 -1
- package/dist/cjs/rtk-notification.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +14 -14
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
- package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +29 -29
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +2 -2
- package/dist/collection/components/rtk-chat/rtk-chat.css +45 -8
- package/dist/collection/components/rtk-chat/rtk-chat.js +15 -7
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +2 -2
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +3 -3
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +3 -3
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
- package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +2 -2
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
- package/dist/collection/components/rtk-header/rtk-header.js +1 -1
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +4 -4
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +5 -1
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
- package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
- package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
- package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
- package/dist/components/{p-962c2e24.js → p-011adf66.js} +2 -2
- package/dist/components/{p-0c512fd1.js → p-020800ee.js} +1 -1
- package/dist/components/{p-5e67d672.js → p-09d1805e.js} +1 -1
- package/dist/components/{p-0d582365.js → p-0ca31fce.js} +2 -2
- package/dist/components/{p-6366df1e.js → p-0e80bae4.js} +10 -10
- package/dist/components/{p-d81ba93a.js → p-11a16ac3.js} +2 -2
- package/dist/components/{p-5248ee44.js → p-12ae623e.js} +3 -3
- package/dist/components/{p-d6146a96.js → p-157c1dc9.js} +6 -6
- package/dist/components/{p-a54ac879.js → p-20290ade.js} +2 -2
- package/dist/components/{p-94bd91b3.js → p-28d51137.js} +1 -1
- package/dist/components/{p-68af4225.js → p-2e3c0084.js} +3 -3
- package/dist/components/{p-6523d14b.js → p-2eb35b99.js} +6 -6
- package/dist/components/{p-6c20da11.js → p-35af8a84.js} +2 -2
- package/dist/components/{p-c2b64e33.js → p-3a1dbc0d.js} +2 -2
- package/dist/components/{p-93069a8c.js → p-402db72e.js} +2 -2
- package/dist/components/{p-5ac9b786.js → p-40589702.js} +1 -1
- package/dist/components/{p-471a529a.js → p-40b1fef2.js} +4 -4
- package/dist/components/{p-3bc68ec4.js → p-4a84c913.js} +9 -9
- package/dist/components/{p-ad7cabcc.js → p-4bfb4f60.js} +2 -2
- package/dist/components/{p-0e8ff1cc.js → p-520dccab.js} +1 -1
- package/dist/components/{p-b58a185f.js → p-53332481.js} +14 -14
- package/dist/components/{p-01c968b1.js → p-5739b5f1.js} +2 -2
- package/dist/components/{p-9ff37f98.js → p-578d73e5.js} +1 -1
- package/dist/components/{p-1614fe8f.js → p-597543af.js} +3 -3
- package/dist/components/{p-8b4e32b7.js → p-5b66b8f3.js} +1 -1
- package/dist/components/{p-d0c5e808.js → p-5f0f8967.js} +16 -16
- package/dist/components/{p-ba788f9e.js → p-668f57d0.js} +2 -2
- package/dist/components/{p-ad331530.js → p-6c9a833e.js} +1 -1
- package/dist/components/{p-41224895.js → p-757856f4.js} +3 -3
- package/dist/components/{p-8e160343.js → p-78f91ffe.js} +2 -2
- package/dist/components/{p-e62d961a.js → p-7965a1a6.js} +1 -1
- package/dist/components/{p-8901c589.js → p-7b344a65.js} +10 -7
- package/dist/components/{p-7e8d976d.js → p-828db489.js} +2 -2
- package/dist/components/{p-9f7b9764.js → p-8479343e.js} +6 -6
- package/dist/components/{p-fa8f6b4a.js → p-85990be7.js} +1 -1
- package/dist/components/{p-ffe562b1.js → p-86f18b68.js} +3 -3
- package/dist/components/{p-d9b1945a.js → p-89cfd513.js} +1 -1
- package/dist/components/{p-ff8753e8.js → p-8f381eef.js} +1 -1
- package/dist/components/{p-ff320cbb.js → p-95e51bef.js} +1 -1
- package/dist/components/{p-222454dc.js → p-966273a8.js} +1 -1
- package/dist/components/{p-d9845780.js → p-9936031d.js} +36 -28
- package/dist/components/{p-a94b2e67.js → p-9c3ca56e.js} +2 -2
- package/dist/components/{p-626c7a5f.js → p-9d40e041.js} +2 -2
- package/dist/components/{p-3b6af603.js → p-a0a0867a.js} +1 -1
- package/dist/components/{p-58b56794.js → p-ab842e10.js} +1 -1
- package/dist/components/{p-3a3650bd.js → p-b30f3c49.js} +1 -1
- package/dist/components/{p-a24156ce.js → p-b3447e0c.js} +1 -1
- package/dist/components/{p-94ba6c49.js → p-b74221b4.js} +2 -2
- package/dist/components/{p-bb55fa0c.js → p-b9b8697d.js} +2 -2
- package/dist/components/{p-7a04f0cc.js → p-bed61d79.js} +5 -5
- package/dist/components/{p-a48e2cf0.js → p-c544502e.js} +7 -7
- package/dist/components/{p-2e6987aa.js → p-c8583d9b.js} +2 -2
- package/dist/components/{p-9c88019e.js → p-cd790a43.js} +1 -1
- package/dist/components/{p-ef493e1b.js → p-ce77fdfc.js} +1 -1
- package/dist/components/{p-88bef213.js → p-d2ce1170.js} +1 -1
- package/dist/components/{p-f2a47b5b.js → p-d3588666.js} +5 -5
- package/dist/components/{p-1da75fdd.js → p-e31889d3.js} +2 -2
- package/dist/components/{p-c36a303c.js → p-ea6b5bf5.js} +2 -2
- package/dist/components/{p-262671ff.js → p-fef53de3.js} +1 -1
- package/dist/components/rtk-ai-toggle.js +2 -2
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +1 -1
- package/dist/components/rtk-audio-grid.js +1 -1
- package/dist/components/rtk-audio-tile.js +3 -3
- 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 +2 -2
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-toggle.js +3 -3
- package/dist/components/rtk-caption-toggle.js +2 -2
- package/dist/components/rtk-channel-creator.js +4 -4
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +4 -4
- package/dist/components/rtk-channel-selector-ui.js +4 -4
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +4 -4
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +14 -14
- package/dist/components/rtk-chat-search-results.js +11 -11
- package/dist/components/rtk-chat-toggle.js +2 -2
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +3 -3
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +1 -1
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +3 -3
- package/dist/components/rtk-dialog-manager.js +14 -14
- 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-file-dropzone.js +1 -1
- 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 +1 -1
- package/dist/components/rtk-grid.js +4 -4
- package/dist/components/rtk-header.js +1 -1
- package/dist/components/rtk-idle-screen.js +2 -2
- 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 +1 -1
- package/dist/components/rtk-information-tooltip.js +1 -1
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +3 -3
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +2 -2
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +1 -1
- package/dist/components/rtk-meeting.js +21 -21
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +4 -4
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +3 -3
- package/dist/components/rtk-mixed-grid.js +3 -3
- package/dist/components/rtk-more-toggle.js +4 -4
- package/dist/components/rtk-mute-all-button.js +3 -3
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +1 -1
- 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 +2 -2
- 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 +11 -11
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +2 -2
- package/dist/components/rtk-plugins-toggle.js +2 -2
- 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 +2 -2
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +1 -1
- package/dist/components/rtk-recording-toggle.js +2 -2
- package/dist/components/rtk-screen-share-toggle.js +3 -3
- package/dist/components/rtk-screenshare-view.js +6 -6
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +3 -3
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +3 -3
- package/dist/components/rtk-setup-screen.js +1 -1
- package/dist/components/rtk-sidebar.js +5 -5
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +2 -2
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +3 -3
- package/dist/components/rtk-stage.js +1 -1
- 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 +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +1 -1
- package/dist/docs/docs-components.json +45 -34
- package/dist/docs/docs-vscode.json +4 -0
- package/dist/esm/loader.js +136 -126
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-transcriptions.entry.js +1 -1
- package/dist/esm/rtk-audio-grid.entry.js +1 -1
- package/dist/esm/rtk-audio-visualizer_4.entry.js +1 -1
- package/dist/esm/rtk-avatar_24.entry.js +44 -34
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +4 -4
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +9 -9
- package/dist/esm/rtk-channel-creator.entry.js +2 -2
- package/dist/esm/rtk-channel-details.entry.js +1 -1
- package/dist/esm/rtk-channel-selector-ui.entry.js +2 -2
- package/dist/esm/rtk-chat-message.entry.js +2 -2
- package/dist/esm/rtk-chat-messages-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-search-results.entry.js +1 -1
- package/dist/esm/rtk-clock.entry.js +3 -3
- package/dist/esm/rtk-controlbar.entry.js +1 -1
- package/dist/esm/rtk-debugger-toggle.entry.js +1 -1
- package/dist/esm/rtk-file-dropzone.entry.js +1 -1
- package/dist/esm/rtk-file-message_3.entry.js +8 -8
- package/dist/esm/rtk-header.entry.js +1 -1
- package/dist/esm/rtk-idle-screen.entry.js +1 -1
- package/dist/esm/rtk-image-viewer.entry.js +1 -1
- package/dist/esm/rtk-information-tooltip.entry.js +1 -1
- package/dist/esm/rtk-leave-button.entry.js +1 -1
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +1 -1
- package/dist/esm/rtk-notification.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +14 -14
- package/dist/esm/rtk-participants-audio.entry.js +1 -1
- package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
- package/dist/esm/rtk-plugins_2.entry.js +4 -4
- package/dist/esm/rtk-poll_2.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +1 -1
- package/dist/esm/rtk-screenshare-view.entry.js +5 -5
- package/dist/esm/rtk-settings-toggle.entry.js +1 -1
- package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +1 -1
- package/dist/esm/rtk-transcript.entry.js +1 -1
- package/dist/esm/rtk-waiting-screen.entry.js +1 -1
- package/dist/realtimekit-ui/p-09fb29e7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b4975a33.entry.js → p-0c071f00.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6ba99cc3.entry.js → p-0e2d6b1b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-af6436dd.entry.js → p-0fed7daa.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-132fca40.entry.js → p-1dfe0269.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ed34d8a1.entry.js → p-23784be6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-260fc2ed.entry.js +1 -0
- package/dist/realtimekit-ui/p-2c71cc53.entry.js +1 -0
- package/dist/realtimekit-ui/p-32211408.entry.js +1 -0
- package/dist/realtimekit-ui/p-39410e81.entry.js +1 -0
- package/dist/realtimekit-ui/{p-3d5ebc77.entry.js → p-3e12d77a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4822dc9f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-2f6fd6de.entry.js → p-48c76360.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4d31d165.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d5144f9d.entry.js → p-51c72bc8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-844143f8.entry.js → p-61d3e2d4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b64eae39.entry.js → p-73f489be.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d2a92f27.entry.js → p-7660a4c1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f19668ba.entry.js → p-87f3b9a6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-beedd1b5.entry.js → p-9cab7a57.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-298befae.entry.js → p-9cad5a6d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-503371f7.entry.js → p-9dcd9e30.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6928aa8e.entry.js → p-a25bb0ad.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2f9211b9.entry.js → p-a62e84f9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3482a231.entry.js → p-a867b984.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b58dc07c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-42989f41.entry.js → p-bb369808.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b6cee65a.entry.js → p-bd226f59.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1a78c129.entry.js → p-c50f4cab.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-190523f5.entry.js → p-c96e2a96.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-78968008.entry.js → p-cda80e2c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c43c2382.entry.js → p-cea6c6ac.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0485834f.entry.js → p-d194317d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a849f2b3.entry.js → p-d7a78f65.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f6918dd7.entry.js → p-dded6ad0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-29c11bdb.entry.js → p-f2ce302b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9ac1b986.entry.js → p-f42c50db.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-73a56e4f.entry.js → p-fea05f1c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ff9bc5b0.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-3a4e302b.entry.js +0 -1
- package/dist/realtimekit-ui/p-447ffea0.entry.js +0 -1
- package/dist/realtimekit-ui/p-5ebc57f8.entry.js +0 -1
- package/dist/realtimekit-ui/p-6437ff4e.entry.js +0 -1
- package/dist/realtimekit-ui/p-93e9fb59.entry.js +0 -1
- package/dist/realtimekit-ui/p-a9cb6a16.entry.js +0 -1
- package/dist/realtimekit-ui/p-bf234650.entry.js +0 -1
- package/dist/realtimekit-ui/p-ce5a911d.entry.js +0 -1
- package/dist/realtimekit-ui/p-db831ab6.entry.js +0 -1
|
@@ -119,7 +119,7 @@ const RtkChannelSelectorUi = class {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: 'ebc2801952d073ebdba519f8248b2c935af387d0' }, h("div", { key: 'c80ed1798f73329422efe7552791fe92c8e3896f', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (h("rtk-button", { key: 'e088063cd35372380b6da7b66204d92e77d278b9', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: 'a6980e8cb7ce4ebcf9a93ada0db9ff04ec5cc481', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), h("slot", { key: '972a55086e2fdf3cd0b2d6b45950527e57f4aad2', name: "header" }), h("div", { key: '4d1d45847e5812cbc8143fa5bbc20f1de279b326', class: "search-wrapper" }, h("div", { key: 'e88da1214668170d3250041ef5107f856aaff49f', class: "search" }, h("input", { key: '3313f0df796f540d2177e2360e37a6d6de7ce8c1', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), h("rtk-icon", { key: '75f65423459f25c63227474930ac2b8a90e5f20c', icon: this.iconPack.search, class: "search-icon" }))), h("div", { key: 'a06f906dacfa3b9f8abdc3b067f92f9af105bd6a', class: "channel-container scrollbar", role: "list" }, this.channels
|
|
123
123
|
.filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
|
|
124
124
|
.map((channel) => {
|
|
125
125
|
return (h("div", { class: {
|
|
@@ -129,7 +129,7 @@ const RtkChannelSelectorUi = class {
|
|
|
129
129
|
}, role: "listitem", onClick: () => {
|
|
130
130
|
this.channelSelected(channel.id);
|
|
131
131
|
} }, this.renderChannelDisplayPic(channel), h("div", { class: "channel-card", "is-direct-message": channel.isDirectMessage }, h("div", { class: 'recent-message-row' }, h("span", { class: "channel-name" }, channel.displayName), channel.latestMessage && (h("span", { class: "latest-msg-time" }, this.getTimeLabel(channel.latestMessage)))), h("div", { class: 'recent-message-row' }, this.renderRecentMessage(channel), channel.unreadCount > 0 && channel.id !== this.selectedChannelId ? (h("span", { class: "new-msgs-count" }, channel.unreadCount < 99 ? channel.unreadCount : '99+')) : null))));
|
|
132
|
-
}))), !this.isHidden && (h("div", { key: '
|
|
132
|
+
}))), !this.isHidden && (h("div", { key: '55753b6d172f18f9e58e19acb9de067cef27a33d', class: "overlay-container" }, h("rtk-button", { key: 'dfa6f03b0a4571c2d6235ab84ab8796d988f6acb', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '2b3fc88ca89286d10831a9c8769537b50b9a2ab9', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
135
|
__decorate([
|
|
@@ -92,11 +92,11 @@ const RtkChatMessage = class {
|
|
|
92
92
|
} })));
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: 'a7d70a55ded6f3995de04d97e8daba066af76b46' }, h("div", { key: '1eef4376ab7952b11a9271dcf396ea950e7a06a8', class: {
|
|
96
96
|
'message-wrapper': true,
|
|
97
97
|
'align-right': this.alignRight,
|
|
98
98
|
'left-align': this.leftAlign,
|
|
99
|
-
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '
|
|
99
|
+
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '0445d70d7d5eaa81b77214e6d0c4ab49da0d9cc6', class: {
|
|
100
100
|
message: true,
|
|
101
101
|
'show-on-hover': !this.isTouchDevice(),
|
|
102
102
|
}, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
|
|
@@ -156,7 +156,7 @@ const RtkChatMessagesUi = class {
|
|
|
156
156
|
var _a;
|
|
157
157
|
let prevMessage = null;
|
|
158
158
|
let reachedFirstUnread = false;
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '178fac50ff102f6186953051af07d65e8811d2cf' }, h("div", { key: '00310e41a9d3494c3bc9c4a25594844854e240cb', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '1232aca1fc213e70bf3aa63bd13d2288ba3884a4', class: "spacer", part: "spacer" }), h("div", { key: 'f74b23005e75874224d4cf56e0286ddb4cacfe9d', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
160
160
|
if (item.type === 'chat') {
|
|
161
161
|
const { message } = item;
|
|
162
162
|
const isSelfMessage = message.userId === this.selfUserId;
|
|
@@ -175,10 +175,10 @@ const RtkChatMessagesUi = class {
|
|
|
175
175
|
} })))), message.pinned && (h("div", { class: "pin-button", part: "pin-button" }, h("rtk-tooltip", { label: this.t('unpin') }, h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
|
|
176
176
|
}
|
|
177
177
|
return null;
|
|
178
|
-
}))), h("div", { key: '
|
|
178
|
+
}))), h("div", { key: '9123c1900c65f238962a51926e750dbebeab18f4', class: "show-new-messages-ctr" }, h("rtk-button", { key: '01de40dd8bdc2c27f4512bf98a0a6ff4d42714d4', class: {
|
|
179
179
|
'show-new-messages': true,
|
|
180
180
|
active: this.showLatestMessageButton,
|
|
181
|
-
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '
|
|
181
|
+
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '68c7981e90a248d8aebb872123eaa92f2939b0af', icon: this.iconPack.chevron_down })))));
|
|
182
182
|
}
|
|
183
183
|
static get watchers() { return {
|
|
184
184
|
"messages": ["chatChanged"],
|
|
@@ -36,7 +36,7 @@ const RtkChatSearchResults = class {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'd16d67449de1e354428a96a798540b19a4a3b3b5' }, h("rtk-paginated-list", { key: '8979769039cf4f4d66e83d6cf8cb87075fbc8488', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
__decorate([
|
|
@@ -73,9 +73,9 @@ const RtkClock = class {
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const showClock = this.startedTime !== undefined;
|
|
76
|
-
return (h(Host, { key: '
|
|
77
|
-
h("rtk-icon", { key: '
|
|
78
|
-
h("span", { key: '
|
|
76
|
+
return (h(Host, { key: '39ec8f3aefb91d5314ea8d39b7ded49a1bced4f6', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
|
|
77
|
+
h("rtk-icon", { key: '76017ad292041e04dc2b420b4c3a9c1d14656706', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
|
|
78
|
+
h("span", { key: '2cd75a435089d1bd534f49b50c0ceaa6e7335f8a', part: "text" }, this.getFormattedTime()),
|
|
79
79
|
]));
|
|
80
80
|
}
|
|
81
81
|
static get watchers() { return {
|
|
@@ -39,7 +39,7 @@ const RtkControlbar = class {
|
|
|
39
39
|
iconPack: this.iconPack,
|
|
40
40
|
size: this.size,
|
|
41
41
|
};
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '0376a3a5059538d4ae60fce32813e797fae18b2a' }, !this.disableRender && (h(Render, { key: 'b6990b5966e6b270c93181ddb1d156d55b02dbde', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: 'f5130e01e8efd65a0a52e035baac2836d5102731' })));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
__decorate([
|
|
@@ -34,7 +34,7 @@ const RtkDebuggerToggle = class {
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '921018aa53c87d13bd51b20d8a98ac84f7b1c2ff', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: '043c5e9648bf9303488977554f9a1e70ca681995', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
__decorate([
|
|
@@ -42,7 +42,7 @@ const RtkFileDropzone = class {
|
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '9525e4e25630d45a8945e0cd169ac7830eb131b2' }, h("div", { key: '1be56002e1adecfaf2f9b6216e2551929bcac4e2', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: 'e7d366446b6714ad64d2b95da7f08f67a1429333', icon: this.iconPack.attach }), h("p", { key: 'ab3b2e3a048ee8bd812ece1ad5a9afcc03d00c67' }, this.t('chat.send_attachment')))));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
__decorate([
|
|
@@ -34,10 +34,10 @@ const RtkFileMessage = class {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const link = sanitizeLink(this.message.link);
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'ec44f9204c991e853665069d0181b538da15893b' }, !this.isContinued && (h(ChatHead, { key: '2ef070076e554bf6c9ebf5762f61174a54079752', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '5604b1d4d32e821b85a7535b9af2695815cb82e7', class: {
|
|
38
38
|
body: true,
|
|
39
39
|
bubble: this.showBubble,
|
|
40
|
-
}, part: "body" }, h("div", { key: '
|
|
40
|
+
}, part: "body" }, h("div", { key: '6be5586c964424d8da850f6ead3315e14c439839', class: "file" }, h("div", { key: '28efbbf493a6050d1823b08714307a09b5c5b3f0', class: "file-data" }, h("div", { key: '6e6f42e9551480e6b483db9f7ddaff7e418436e0', class: "name" }, this.message.name), h("div", { key: 'c74d0f1ddf7db3fb9152584ff5c138c3ff5da2ac', class: "file-data-split" }, h("div", { key: '8ed34a2d09a4b849a0d173e22ca9e59ca67a6ff4', class: "ext" }, getExtension(this.message.name)), h("span", { key: 'c7a817891160161ee999aabe284e83cc864cb41a', class: "divider" }), h("div", { key: '6714d486a6d5564581330d76c95d06f3475e3c56', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: 'cc0ca70894c077a4252b6a49aefc544a0b228437', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: 'a2837e81ab7452589857f1f71d8e7f1d38b5235d', icon: this.iconPack.download }))))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
__decorate$2([
|
|
@@ -77,10 +77,10 @@ const RtkImageMessage = class {
|
|
|
77
77
|
this.status = 'loading';
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '91690b290bd0fb2af8a55bea018b8b9353d60396' }, !this.isContinued && (h(ChatHead, { key: 'ef3341005308c597a2f60ec4930f2f38cf81e20a', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '96d5ad95a36ada5c67ffa93e718e89dbe2a97fbb', class: {
|
|
81
81
|
body: true,
|
|
82
82
|
bubble: this.showBubble,
|
|
83
|
-
}, part: "body" }, h("div", { key: '
|
|
83
|
+
}, part: "body" }, h("div", { key: 'ba3f2db210f343814896a2397386fbbfc7babd10', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: '3ad9f01111c8c012513dd3a300b290b439d4a96c', src: sanitizeLink(this.message.link), onLoad: () => {
|
|
84
84
|
this.status = 'loaded';
|
|
85
85
|
}, onError: () => {
|
|
86
86
|
this.status = 'errored';
|
|
@@ -88,9 +88,9 @@ const RtkImageMessage = class {
|
|
|
88
88
|
if (this.status === 'loaded') {
|
|
89
89
|
this.stateUpdate.emit({ image: this.message });
|
|
90
90
|
}
|
|
91
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
91
|
+
} }), this.status === 'loading' && (h("div", { key: '35140b999e092b083cabfa53c21a468092257b05', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '863b39fd51599ace190b75ee00af7406bbbd6d27', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '647d8f244b63ceb208b3d75bef6f5e4c7777243b', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: 'bd40ec4564ae22d65badbec458a3b1b232e46e35', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: 'bb6ff686812867825aca0fbd451e122fee19b6a0', class: "actions" }, h("rtk-button", { key: '5d9fad092c3f5d4049140dc12b73ca9f53ff1088', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
92
92
|
this.stateUpdate.emit({ image: this.message });
|
|
93
|
-
} }, h("rtk-icon", { key: '
|
|
93
|
+
} }, h("rtk-icon", { key: 'c77c89797b993d2486e53d15eb8f8bf721bc2c97', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '45974cb9f8b88a71d340c0d260b6e5daf64eec12', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '3c50dba681609dae024479493b1bcc8ee25a5ef1', icon: this.iconPack.download }))))))));
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
__decorate$1([
|
|
@@ -126,10 +126,10 @@ const RtkTextMessage = class {
|
|
|
126
126
|
this.showBubble = false;
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h(Host, { key: '
|
|
129
|
+
return (h(Host, { key: '081bf3b9c43779b29c473a6ef3119529443d435d' }, !this.isContinued && (h(ChatHead, { key: 'ce3a404dc58c8f609d338627f6a99e3ee5da52d5', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '5a0edbd3cd07b028179f3272e0d0fad31ce9e946', class: {
|
|
130
130
|
body: true,
|
|
131
131
|
bubble: this.showBubble,
|
|
132
|
-
}, part: "body" }, h("div", { key: '
|
|
132
|
+
}, part: "body" }, h("div", { key: '64dcd0208f66e7d695f4a586540e9ffe832d21cd', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '77fa15c6ea45bdb4b815c508f88ea5f1cb0acfd2', message: this.message.message })))));
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
135
|
__decorate([
|
|
@@ -39,7 +39,7 @@ const RtkHeader = class {
|
|
|
39
39
|
iconPack: this.iconPack,
|
|
40
40
|
size: this.size,
|
|
41
41
|
};
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'b027d881ec9b4b6e27750e13e9aa0ac50ce9748c' }, !this.disableRender && h(Render, { key: '7bb2e5d3b9d9b2aeb9550c5675743c5ddfeee99c', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: '66bbb8bdcbb511f3e97a17f6b3703725ed708fe4' })));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
__decorate([
|
|
@@ -26,7 +26,7 @@ const RtkIdleScreen = class {
|
|
|
26
26
|
this.t = useLanguage();
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '0d5f3eea616808cb6d59173bc875ed1e19a571eb' }, h("slot", { key: '9d647571d81e227c3deba0b131e05763f0e17bd4' }, h("div", { key: '856f24853a9d5d1a941be50ff2567083cccc2d0b', class: "ctr", part: "container" }, h("rtk-logo", { key: '0bceeddd22d96bd07f015041e5b79d5de19dac59', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), h("rtk-spinner", { key: '62841691c9f2669e3e11a4e995848a3f1df4180a', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
__decorate([
|
|
@@ -41,7 +41,7 @@ const RtkImageViewer = class {
|
|
|
41
41
|
document.removeEventListener('click', this.handleOutsideClick);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '8d935bb0caf8d693e1a689ca43aae99862170ac9', class: "scrollbar", onClick: (e) => e.stopPropagation() }, h("div", { key: '99e92847c61ae836819158df5e755a15ffc857c0', class: "header" }, h("div", { key: '00fa44b137b19e90480ab67a915d795e69d0e8d2', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', h("span", { key: 'c8cdd90cdb236581421d39f397dcb532c0052f88', class: "displayName" }, formatName(shorten(this.image.displayName)))), h("div", { key: '5c4c76c34a58598056c737cab95966014713fda1', class: "actions" }, h("rtk-button", { key: '78e4b05fc056a4924e7d795ce751d26213b7b31c', onClick: () => downloadFile(this.image.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '97f528e26b23f749597e783b15ae2b28cdb57432', icon: this.iconPack.download, slot: "start" }), "Download"), h("rtk-button", { key: '1c8db312bcdbb7b58886bd042866dce4a742b2b6', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, h("rtk-icon", { key: '91a7127dce1d432cd6ab8bbba45d37054459b6d5', icon: this.iconPack.dismiss })))), h("div", { key: 'c5389b11ee44af064e9d12c443b2986a349d02de', class: "image-ctr" }, h("img", { key: 'a6b8cfadc2f11395695358f97a285986e5dab799', src: this.image.link }))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
__decorate([
|
|
@@ -22,7 +22,7 @@ const RtkInformationTooltip = class {
|
|
|
22
22
|
this.iconPack = defaultIconPack;
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'a94703e845d2ed6757b794e5582a27790d9ffc22' }, h("div", { key: '9dba2927f2763b84127237d269bbb21bda299018', class: "tooltip-container" }, h("rtk-icon", { key: 'dda3376f2f3e0bcc61a978f6ed4d9a746243480c', icon: this.iconPack.info, size: "sm" }), h("div", { key: '87df9ff5be316f60f1b9b6445ee19f48aed6918c', class: "tooltip" }, h("slot", { key: '25cacd1c76d12aef06b7c757d6cc1580f214d938', name: "tootlip-text" })))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
__decorate([
|
|
@@ -31,7 +31,7 @@ const RtkLeaveButton = class {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const text = this.t('leave');
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '5b0ccd7eca4a3330a6bbfd377fa5cbdc050ac346', label: text }, h("rtk-controlbar-button", { key: '8dcb835fb29edad956d715c2cbe882686ccce40d', size: this.size, iconPack: this.iconPack, class: "leave red-icon", onClick: this.leave, icon: this.iconPack.call_end, label: text, variant: this.variant, part: "controlbar-button" })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
__decorate([
|
|
@@ -262,11 +262,11 @@ const RtkMessageListView = class {
|
|
|
262
262
|
this.updateTotalHeight();
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
|
-
return (h("div", { key: '
|
|
265
|
+
return (h("div", { key: '592cc96edd18a6c3f9bb18650d4a3c0969302ba9', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, h("div", { key: 'c720432351e2a051502deaeedb10e4d911776d86', class: "scroller" }, h("div", { key: '7a7aafb1dc0589059bd467258cf46640f1dc2966', style: {
|
|
266
266
|
height: `${this.totalHeight}px`,
|
|
267
|
-
} }), h("div", { key: '
|
|
267
|
+
} }), h("div", { key: 'ee9e8a1819a66d73e67860615f580511ee34b31c', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), h("div", { key: 'e055b8db2ae6796797074e26f4ca4ef564006ece', class: "content", style: {
|
|
268
268
|
transform: `translateY(${this.getRangeSize(0, this.range.start)}px)`,
|
|
269
|
-
} }, this.isFetching && (h("div", { key: '
|
|
269
|
+
} }, this.isFetching && (h("div", { key: 'fea9260948b5127ccd0e510ae55a01f4adbfcbbc', class: "loader" }, h("rtk-spinner", { key: '7af2be1f15773fdf4b467d7ceee8902c61cb8ca7', size: "md" }))), this.getVisibleItems().map((msg, index) => (h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
|
|
270
270
|
}
|
|
271
271
|
static get watchers() { return {
|
|
272
272
|
"messages": ["messagesUpdated"]
|
|
@@ -49,10 +49,10 @@ const RtkMoreToggle = class {
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
const text = this.t('more');
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '73044df7026e090e30d8f9b2f40b3c4adf5424ae', title: text }, this.states.activeMoreMenu && (h("div", { key: '0abe46d0b772ff7bef2ecbf5fa2ce372bf81fe1d', class: "more-menu" }, h("slot", { key: '8eba4b6a5fee4812ad2dcd81ba0511cddb090100', name: "more-elements" }))), h("rtk-controlbar-button", { key: 'e043fc7b60f24fbe761c442edfb38d245f84b419', size: this.size, iconPack: this.iconPack, onClick: (e) => {
|
|
53
53
|
e.stopPropagation();
|
|
54
54
|
this.toggleMoreMenu();
|
|
55
|
-
}, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), h("slot", { key: '
|
|
55
|
+
}, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), h("slot", { key: '739c90ae5b23b98dab457c3dfce24d5a19a24c67', name: "expanded" })));
|
|
56
56
|
}
|
|
57
57
|
get host() { return getElement(this); }
|
|
58
58
|
};
|
|
@@ -45,7 +45,7 @@ const RtkNameTag = class {
|
|
|
45
45
|
var _a, _b, _c;
|
|
46
46
|
const name = formatName(((_a = this.participant) === null || _a === void 0 ? void 0 : _a.name) || '');
|
|
47
47
|
const isSelf = ((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id) === ((_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self.id);
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '03a8cf176ca6a1b688f3bc9bd5c77ef22e8937d9', title: name }, h("slot", { key: 'd38164aeda8e938f49ffceb8e52e3102ddd03d11', name: "start" }), h("span", { key: '026f1cc6bbfcbd3649f73db43b2111af55fea6ee', class: "name" }, this.formatNameTag(name, isSelf)), h("slot", { key: '3a22aa050a15f452b0ec5db3cd5981dccb88aa55', name: "end" })));
|
|
49
49
|
}
|
|
50
50
|
static get watchers() { return {
|
|
51
51
|
"size": ["sizeChanged"]
|
|
@@ -47,9 +47,9 @@ const RtkNotification = class {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
var _a;
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '51e81b13584429d211648cd6b069cfeeb9786cf0' }, h("div", { key: '4cfbf9ff3fd5bc8482ef8e89384cc5b56ea06225', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '249f72bd11d1004754d4d8539d9f78aa9c16d004', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
|
|
51
51
|
this.notification.icon == null &&
|
|
52
|
-
this.imageState !== 'errored' && (h("img", { key: '
|
|
52
|
+
this.imageState !== 'errored' && (h("img", { key: 'feeb94c2e78e7506c18cc91746141d7e3a35f62d', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'b33a24ab2e00d415565005df81915a266415fdeb', class: "message" }, h(TextMessageView, { key: '1947b8c43643aa169bf4ea324fdf8a091b8b4432', message: this.notification.message })), h("div", { key: 'bc904e8c67d9a0f4dc4558a81cdc8d86fb414a3f', class: "right" }, this.notification.button != null && (h("rtk-button", { key: '1c13f1c57b9c2ffb05f7ecd51dd255fa1499d8ee', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '6ada4c78be92f5c3f9ec5a1b12255316345ac5ca', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: '9e92dd30e11a1af7a684331b5eab02a1c4cea46a', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
|
|
53
53
|
}
|
|
54
54
|
static get watchers() { return {
|
|
55
55
|
"paused": ["pausedChanged"],
|
|
@@ -86,11 +86,11 @@ const RtkParticipantSetup = class {
|
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
88
|
var _a, _b, _c, _d;
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '58684c8d6926e8992c460332d208a90c7dbbbb7d' }, h("video", { key: 'bfe2dfcfc1c94066910736eef08e676f7955d790', ref: (el) => (this.videoEl = el), class: {
|
|
90
90
|
visible: (_a = this.videoState) === null || _a === void 0 ? void 0 : _a.videoEnabled,
|
|
91
91
|
mirror: this.isMirrored(),
|
|
92
92
|
[(_d = (_c = (_b = this.config) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.videoFit) !== null && _d !== void 0 ? _d : 'cover']: true,
|
|
93
|
-
}, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '
|
|
93
|
+
}, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '9236d9897799ecf8971f097c14ebc8c85aade7b8' })));
|
|
94
94
|
}
|
|
95
95
|
static get watchers() { return {
|
|
96
96
|
"participant": ["participantsChanged"],
|
|
@@ -218,9 +218,9 @@ const RtkParticipant = class {
|
|
|
218
218
|
iconPack: this.iconPack,
|
|
219
219
|
t: this.t,
|
|
220
220
|
};
|
|
221
|
-
return (h(Host, { key: '
|
|
221
|
+
return (h(Host, { key: 'e9739f8ce0a6497a366c35c10fa157812b1ce460' }, h("div", { class: "left", key: (_e = this.participant) === null || _e === void 0 ? void 0 : _e.id }, h("rtk-avatar", { key: '9a084d51dbdabfbb887e68f4194e684d1730bc02', participant: this.participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { key: '8248aa42eaacc9a4747767b7493984b588f52f6e', class: "name", title: name }, shorten(name, 16), " ", ((_f = this.meeting) === null || _f === void 0 ? void 0 : _f.self.id) === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id) && this.t('(you)'))), this.view === 'sidebar' && (h("div", { key: '7f128593d587cdcd28089ecf08c2d18a6aceb417', class: "right" }, isActiveParticipant && (h("rtk-icon", { key: '49efc3e837c262e7eca6d0cf67b0aa0c4e04370a', class: {
|
|
222
222
|
red: !this.audioEnabled,
|
|
223
|
-
}, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: '
|
|
223
|
+
}, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: '9272d41fada7f96ea9c9ab3dc4eeac8834ea306a', class: {
|
|
224
224
|
red: !this.videoEnabled,
|
|
225
225
|
}, icon: this.videoEnabled ? this.iconPack.video_on : this.iconPack.video_off })), (showMenu ||
|
|
226
226
|
lenChildren({
|
|
@@ -229,34 +229,34 @@ const RtkParticipant = class {
|
|
|
229
229
|
childProps: {
|
|
230
230
|
participant: this.participant,
|
|
231
231
|
},
|
|
232
|
-
}) > 0) && (h("div", { key: '
|
|
232
|
+
}) > 0) && (h("div", { key: 'c650d0dd6c08b12682e4505d75229aec7eeb5205', class: "menu" }, h("span", { key: '2e6fcc465b2fe64b1775eff4c957330d9e8aa63a', id: "trigger", onClick: this.onMenuToggle }, h("rtk-button", { key: '0a8d53a93bf92b893ad9c20e930bb22772437c40', variant: "ghost", kind: "icon", slot: "trigger" }, h("rtk-icon", { key: '686fb26b00a689789c5607fc989eef29936ab854', class: "more", icon: this.iconPack.more_vertical }))), h("span", { key: '4f4a5573d13f421eae93acbca2c85837d2068941', id: "menu-list" }, this.menuOpen && (h("rtk-menu-list", { key: 'c446d3fe559257ecd40523b30ffb0033098f22ac', iconPack: this.iconPack, t: this.t }, this.canPinParticipant && isActiveParticipant && !isAudioRoom && (h("rtk-menu-item", { key: 'c51614856ff7de89184076854534eb15af430faf', onClick: () => {
|
|
233
233
|
if (this.isPinned) {
|
|
234
234
|
this.participant.unpin();
|
|
235
235
|
}
|
|
236
236
|
else {
|
|
237
237
|
this.participant.pin();
|
|
238
238
|
}
|
|
239
|
-
}, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '
|
|
239
|
+
}, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '08feaacf94982ba80f3a41a2ee945878fde688f7', icon: this.isPinned ? this.iconPack.pin_off : this.iconPack.pin, slot: "start" }), this.isPinned ? this.t('unpin') : this.t('pin'))), isSelf && (h("rtk-menu-item", { key: '3c044243847cd3fb86ed71eb93554dc9af986b57', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
240
240
|
this.isHidden
|
|
241
241
|
? this.participant.show()
|
|
242
242
|
: this.participant.hide();
|
|
243
|
-
} }, h("rtk-icon", { key: '
|
|
243
|
+
} }, h("rtk-icon", { key: '5b6f2e05cdc238aa25839b7f84b209ae8c7317f7', icon: this.isHidden ? this.iconPack.minimize : this.iconPack.maximize, slot: "start" }), !this.meeting.self.hidden ? this.t('minimize') : this.t('maximize'))), this.canDisableParticipantAudio &&
|
|
244
244
|
isActiveParticipant &&
|
|
245
|
-
this.audioEnabled && (h("rtk-menu-item", { key: '
|
|
245
|
+
this.audioEnabled && (h("rtk-menu-item", { key: '665ac23b6c7c8596a8cdf148407a4398dc3c62a1', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
246
246
|
this.participant.disableAudio();
|
|
247
|
-
} }, h("rtk-icon", { key: '
|
|
247
|
+
} }, h("rtk-icon", { key: 'd306c4b9474a32534cc6af48e9b088b5687b1b77', icon: this.iconPack.mic_off, slot: "start" }), this.t('mute'))), this.canDisableParticipantVideo &&
|
|
248
248
|
isActiveParticipant &&
|
|
249
|
-
this.videoEnabled && (h("rtk-menu-item", { key: '
|
|
249
|
+
this.videoEnabled && (h("rtk-menu-item", { key: 'b78ebe1890ed28674211f4af87a93d5a5c375930', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
250
250
|
this.participant.disableVideo();
|
|
251
|
-
} }, h("rtk-icon", { key: '
|
|
252
|
-
((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '
|
|
251
|
+
} }, h("rtk-icon", { key: 'c29624d8a917420dc372add65c82f9a756ab728a', icon: this.iconPack.video_off, slot: "start" }), this.t('participants.turn_off_video'))), this.canAllowParticipantOnStage &&
|
|
252
|
+
((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: 'abac1f63237f7ba39aad1341275674d22a454129', iconPack: this.iconPack, t: this.t, class: this.isOnStage ? 'red' : '', onClick: this.inviteToStageToggle }, h("rtk-icon", { key: 'e69b4fcb2b3e1648f2a32a4c540da9fe43d53a90', icon: this.isOnStage
|
|
253
253
|
? this.iconPack.leave_stage
|
|
254
254
|
: this.iconPack.join_stage, slot: "start" }), this.isOnStage
|
|
255
255
|
? this.t('stage.remove_from_stage')
|
|
256
|
-
: this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '
|
|
256
|
+
: this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: 'ba6f6d9d0e0187a03bc119b48e8ee1623753905c', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
|
|
257
257
|
var _a, _b;
|
|
258
258
|
(_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.kick((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id);
|
|
259
|
-
} }, h("rtk-icon", { key: '
|
|
259
|
+
} }, h("rtk-icon", { key: 'b72749badd8e1807d874846872368835f87db996', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: '4269e4842e5d9e13c14d14e4392e2a5fa9030eb3' }, h(Render, { key: 'e3a204931270526f24df842f72f8a08817c27be0', element: "rtk-participant", defaults: defaults, childProps: {
|
|
260
260
|
participant: this.participant,
|
|
261
261
|
}, deepProps: true, onlyChildren: true })))))))))));
|
|
262
262
|
}
|
|
@@ -399,12 +399,12 @@ const RtkVirtualizedParticipantList = class {
|
|
|
399
399
|
render() {
|
|
400
400
|
var _a;
|
|
401
401
|
const totalHeight = this.items.length * this.itemHeight; // Total height of the list
|
|
402
|
-
return (h("div", { key: '
|
|
402
|
+
return (h("div", { key: '0099ee96e7d04a1dc34cfe67c9e9fa5b277f23ea', class: "virtual-list-container", style: {
|
|
403
403
|
position: 'relative',
|
|
404
404
|
height: '100%',
|
|
405
405
|
overflowX: 'hidden',
|
|
406
406
|
overflowY: 'auto',
|
|
407
|
-
} }, h("div", { key: '
|
|
407
|
+
} }, h("div", { key: '6c6711e855ca31591bbed66e141d8d876a96b9b7', style: { height: `${totalHeight}px`, position: 'relative' } }, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ? this.emptyListElement : this.renderItems()), h("div", { key: 'af72c125ed812de0b089de2f5395c5eb942d5399', style: { height: `${this.itemHeight}px` } })));
|
|
408
408
|
}
|
|
409
409
|
get el() { return getElement(this); }
|
|
410
410
|
static get watchers() { return {
|
|
@@ -180,7 +180,7 @@ const RtkParticipantsAudio = class {
|
|
|
180
180
|
await this.handleEvents(meeting);
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
|
-
return (h(Host, { key: '
|
|
183
|
+
return (h(Host, { key: '8861f8007e47645f2ea4c9fe5e3e5e235db31c71' }, this.showPlayDialog && (h("rtk-dialog", { key: 'ffd0f251216fb1a4a8698838d9a1f0d8998ffe86', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: '4c7b4b054d19dd9d1c70d2d9f141a85cc1d479fa', class: "modal" }, h("h3", { key: 'd6c7372950b801b2b3f12e7957571e50eb02b87e' }, this.t('audio_playback.title')), h("p", { key: '07a7a45b8576084c093d1c3aaac031ccbffb9ef1' }, this.t('audio_playback.description')), h("rtk-button", { key: '6e98d5da5d893f35902f14f23f886bb22561c671', kind: "wide", onClick: () => {
|
|
184
184
|
this.audio.play();
|
|
185
185
|
this.onRtkDialogClose();
|
|
186
186
|
}, title: this.t('audio_playback') }, this.t('audio_playback')))))));
|
|
@@ -104,7 +104,7 @@ const RtkParticipants = class {
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: '147afb9b1ab3e6fd3807163d4fab87f15df2fb2f' }, h("div", { key: '7d2e55258fc79ee83bfa7a7ed28c68e0a0587f4d', class: "participants-container" }, !this.hideHeader && (h("div", { key: '17092c2fccb4f7ae3a85ca6b5bc488984de8fa85', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '510b482b551add0353a7c7e760241bfa62811d4e', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
|
|
108
108
|
}
|
|
109
109
|
static get watchers() { return {
|
|
110
110
|
"meeting": ["meetingChanged"],
|
|
@@ -56,7 +56,7 @@ const RtkPlugins = class {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '3b0eac37134293b6fe18b3c32a0c3a14ccb781db' }, h("ul", { key: '9de096a854ed4bcf487ff07ff1f8cdb47345cb45', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
60
60
|
plugin.activate();
|
|
61
61
|
this.close();
|
|
62
62
|
}, "aria-label": `${this.t('activate')} ${plugin.name}` }, h("rtk-icon", { icon: this.iconPack.rocket, tabIndex: -1, "aria-hidden": true })))), this.activatedPluginsId.includes(plugin.id) && this.canClosePlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
@@ -149,14 +149,14 @@ const RtkPolls = class {
|
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
151
|
var _a, _b;
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: 'b005e3087c9e53b28273a3f0d247840a86fcdb58' }, h("div", { key: 'cbdfdc504bc64dc4e08ba1b930bb6bb50a72fcfb', class: "ctr", part: "container" }, h("div", { key: '1bb4d10ca7046662112af38d1c3e2f0bf2f7c8d4', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (h("div", { key: '91c6405125fabda281ed8fea021a68bff22f8ebf', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
|
|
153
153
|
var _a;
|
|
154
154
|
return (h("rtk-poll", { key: item.id, poll: item, onRtkVotePoll: (e) => {
|
|
155
155
|
this.onVote(e.detail.id, e.detail.index);
|
|
156
156
|
}, self: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId, iconPack: this.iconPack, t: this.t, permissions: this.permissions }));
|
|
157
|
-
}), this.create && (h("rtk-poll-form", { key: '
|
|
157
|
+
}), this.create && (h("rtk-poll-form", { key: '75d0c1c606cca4404e79c4bc5fc4626edace0348', part: "poll-form", onRtkCreatePoll: (e) => {
|
|
158
158
|
this.onCreate(e.detail);
|
|
159
|
-
}, iconPack: this.iconPack, t: this.t }))), ((_b = (_a = this.permissions) === null || _a === void 0 ? void 0 : _a.polls) === null || _b === void 0 ? void 0 : _b.canCreate) && (h("rtk-button", { key: '
|
|
159
|
+
}, iconPack: this.iconPack, t: this.t }))), ((_b = (_a = this.permissions) === null || _a === void 0 ? void 0 : _a.polls) === null || _b === void 0 ? void 0 : _b.canCreate) && (h("rtk-button", { key: '7dfb67d8e6d52e02d6f009d72b5742bb3a7fe163', kind: "wide", onClick: () => this.toggleCreateState(), variant: this.create ? 'secondary' : 'primary', part: "button" }, this.create ? this.t('polls.cancel') : this.t('polls.create'))))));
|
|
160
160
|
}
|
|
161
161
|
static get watchers() { return {
|
|
162
162
|
"meeting": ["meetingChanged"]
|
|
@@ -36,7 +36,7 @@ const RtkPolls = class {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const hasVoted = this.poll.voted.includes(this.self);
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '8a0875c47199f47c8c4cc663b3a1ec8b1110cd31' }, h("div", { key: 'f3e92e2f74d95baf9eb2d4d3a5cddaa54a580570', class: "ctr" }, h("p", { key: '4760866707225ede17d6b656449b670c77e3894f', class: "poll-title" }, this.t('polls.by'), " ", shorten(formatName(this.poll.createdBy), 20)), h("div", { key: '9dcbf0ca0f3113be0fcd6346f4caf4ec4cf277cd', class: "poll" }, h("p", { key: 'a656bd0f4cc4871637a0181a465e7db53875c865', class: "poll-question" }, this.poll.question), h("div", { key: 'cb76578023adc5ecb740190f22c8774ee6663f8b', class: "poll-answers" }, h("span", { key: '05c18d6517feff755db9a62fb0dd233a6f394c4f' }, this.t('polls.answers')), h("span", { key: '33102ea7299c24e1eb4d2682ebb7ca08bf6bab90' }, this.poll.voted.length)), this.poll.options.map((item, index) => (h("div", { class: {
|
|
40
40
|
active: item.votes.some((x) => x.id === this.self),
|
|
41
41
|
'open-vote': this.permissions.polls.canVote && !hasVoted,
|
|
42
42
|
'poll-option': true,
|
|
@@ -120,10 +120,10 @@ const RtkPoll = class {
|
|
|
120
120
|
this.onCreate.emit(pollObject);
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: '1f4b974280bdec6397d15bc52999c4315e632157' }, h("div", { key: '9fb661dbed5bd632e0b4fcb6b947d1b5d36b10bc', class: "create-poll" }, h("p", { key: 'b9c81e7bd5d12e1780181cabf0a067fc7035cdad' }, this.t('polls.question')), h("textarea", { key: 'b73ee86a22ec71e1bd6ac6a2bb57e118115774dd', onInput: () => {
|
|
124
124
|
if (this.error && this.error.code === 0)
|
|
125
125
|
this.error = undefined;
|
|
126
|
-
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: '
|
|
126
|
+
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: 'f6f0e23db7186e3e223fe2992e388f9d6618fb32', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '92b966f4beccd5334d6f6f7659af801fd27bfc64' }, h("input", { key: '454840f62da0e0a028dd7f7f9c3585f0d480d9ab', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: '4cd2a60b6c710816a76a8c53d122323d519153e4' }, h("input", { key: '21d01f8caf3ee5e451e6d8fdf654c82e10b36b54', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), h("rtk-button", { key: '34ffc871cdeac29c1f2f4ccf3860faace48709c7', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: 'c0f503daffb8c911b443a356943ff88bbb40805d', class: "error-text" }, this.error.message))));
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
__decorate([
|
|
@@ -43,7 +43,7 @@ const RtkRecordingIndicator = class {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'edc0246112ee48a4197cd2cd7581a8f8f4b9d2bc', "data-hidden": !this.isRecording }, this.isRecording && (h("div", { key: '5e30947cec1cfe79c3b9868ac93aa8958d0b058e', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, h("rtk-icon", { key: '7cb31ee410ff44d939f346fc8c5cf180c96d8160', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), h("span", { key: '4a0c8ebcfc06b8ce30b7e5de5fb7a9e00af596b3' }, this.t('recording.label'))))));
|
|
47
47
|
}
|
|
48
48
|
static get watchers() { return {
|
|
49
49
|
"meeting": ["meetingChanged"]
|
|
@@ -105,7 +105,7 @@ const RtkScreenshareView = class {
|
|
|
105
105
|
const icon = this.isFullScreen
|
|
106
106
|
? this.iconPack.full_screen_minimize
|
|
107
107
|
: this.iconPack.full_screen_maximize;
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '89b80a7eafe99830a360d30b2565c238ba1b4b3f', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: '88b2c8f5a5abff2f247800768846383eb9e72e78', ref: (el) => (this.videoEl = el), class: {
|
|
109
109
|
visible: this.screenShareEnabled,
|
|
110
110
|
'fit-in-container': this.participant.supportsRemoteControl,
|
|
111
111
|
}, playsInline: true, onPlay: () => {
|
|
@@ -113,15 +113,15 @@ const RtkScreenshareView = class {
|
|
|
113
113
|
screenshareParticipant: this.participant,
|
|
114
114
|
participant: this.meeting.self,
|
|
115
115
|
});
|
|
116
|
-
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: '
|
|
116
|
+
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: '0a26414307d9622b7469810389994f2d73d9cb6d', label: text }, h("rtk-button", { key: 'ed5a5a827b261e78b4397e7ef57de895c3e83e27', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: 'd29d300b05a610e83900216080717adc60419d18', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '70ff28db0d44d32a3777b3998e2f70137e5305eb' }, this.t('screenshare.shared')), h("div", { key: '70676921a19f0c7ae34a10b8a4abf85219e29def', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '5178c6868ff869bb6ca5a634d4d49675fb4a7315', variant: "danger", onClick: () => {
|
|
117
117
|
this.meeting.self.disableScreenShare();
|
|
118
|
-
} }, h("rtk-icon", { key: '
|
|
118
|
+
} }, h("rtk-icon", { key: '5b942500b72c5b51269967fe2cd62da95ad703af', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), h("rtk-button", { key: '9ba6b88e20ee1f3d36e95ff46f403f7535679da5', variant: "secondary", id: "expand-btn", onClick: () => {
|
|
119
119
|
this.videoExpanded = !this.videoExpanded;
|
|
120
|
-
} }, h("rtk-icon", { key: '
|
|
120
|
+
} }, h("rtk-icon", { key: '1bc4ad47774672d2a364c961dae6d8b85b7e2bba', icon: this.videoExpanded
|
|
121
121
|
? this.iconPack.full_screen_minimize
|
|
122
122
|
: this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
|
|
123
123
|
? this.t('screenshare.min_preview')
|
|
124
|
-
: this.t('screenshare.max_preview'))))), h("slot", { key: '
|
|
124
|
+
: this.t('screenshare.max_preview'))))), h("slot", { key: '752ff972908fc7b488803deb25309dc702091bd9' })));
|
|
125
125
|
}
|
|
126
126
|
get host() { return getElement(this); }
|
|
127
127
|
static get watchers() { return {
|
|
@@ -33,7 +33,7 @@ const RtkSettingsToggle = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const text = this.t('settings');
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'f8b07580094990d31d3538abbe40ca85f81c2e46', title: text }, h("rtk-controlbar-button", { key: '92b3a3c8c24b2a8cd56d7caf5cff077f8adfa7bd', part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: () => this.toggleSettings(), icon: this.iconPack.settings, label: text, variant: this.variant })));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
__decorate([
|